xref: /freebsd/sys/contrib/dev/acpica/changes.txt (revision 5ab1c5846ff41be24b1f6beb0317bf8258cd4409)
1----------------------------------------
218 October 2019. Summary of changes for version 20191018:
3
4
51) ACPICA kernel-resident subsystem:
6
7Debugger: added a new command: ?Fields [address space ID]?. This command
8dumps the contents of all field units that are defined within the
9namespace with a particular address space ID.
10
11Modified the external interface AcpiLoadTable() to return a table index.
12This table index can be used for unloading a table for debugging.
13    ACPI_STATUS
14    AcpiLoadTable (
15        ACPI_TABLE_HEADER       *Table,
16        UINT32                  *TableIndex))
17
18Implemented a new external interface: AcpiUnloadTable() This new function
19takes a table index as an argument and unloads the table. Useful for
20debugging only.
21    ACPI_STATUS
22    AcpiUnloadTable (
23        UINT32                  TableIndex))
24
25Ported the AcpiNames utility to use the new table initialization
26sequence. The utility was broken before this change. Also, it was
27required to include most of the AML interpreter into the utility in order
28to process table initialization (module-level code execution.)
29
30Update for results from running Clang V8.0.1. This fixes all "dead
31assignment" warnings. There are still several "Dereference of NULL
32pointer" warnings, but these have been found to be false positive
33warnings.
34
35
362) iASL Compiler/Disassembler and ACPICA tools:
37
38iASL: numerous table compiler changes to ensure that the usage of
39yacc/bison syntax is POSIX-compliant.
40
41iASL/disassembler: several simple bug fixes in the data table
42disassembler.
43
44Acpiexec: expanded the initialization file (the -fi option) to initialize
45strings, buffers, packages, and field units.
46
47
48----------------------------------------
4916 August 2019. Summary of changes for version 20190816:
50
51This release is available at https://acpica.org/downloads
52
53
541) ACPICA kernel-resident subsystem:
55
56Modified the OwnerId mechanism to allow for more Owner Ids. The previous
57limit was 256 Ids, now it is 4096 Ids. This prevents OWNER_ID_LIMIT
58exceptions on machines with a large number of initialization threads,
59many CPU cores and nested initialization control methods.
60
61Introduced acpi_dispatch_gpe() as a wrapper around AcpiEvDetectGpe() for
62checking if the given GPE (as represented by a GPE device handle and a
63GPE number) is currently active and dispatching it (if that's the case)
64outside of interrupt context.
65
66Table load: exit the interpreter before initializing objects within the
67new table This prevents re-acquiring the interpreter lock when loading
68tables
69
70Added the "Windows 2019" string to the _OSI support (version 1903). Jung-
71uk Kim
72
73Macros: removed pointer math on a null pointer. Causes warnings on some
74compilers and/or tools. Changed ACPI_TO_POINTER to use ACPI_CAST_PTR
75instead of using arithmetic.
76
77Fully deployed the ACPI_PRINTF_LIKE macro. This macro was not being used
78across all "printf-like" internal functions. Also, cleanup all calls to
79such functions (both in 32-bit mode and 64-bit mode) now that they are
80analyzed by the gcc compiler via ACPI_PRINTF_LIKE.
81
82
832) iASL Compiler/Disassembler and ACPICA tools:
84
85iASL: implemented a new data table compiler flex/bison front-end. This
86change is internal and is not intended to result in changes to the
87compiled code. This new compiler front-end can be invoked using the -tp
88option for now, until the old mechanism is removed.
89
90ASLTS: Implemented a new data table compiler test suite. This test suite
91generates all table templates and compile/disassemble/re-compile/binary-
92compare each file.
93
94iASL: return -1 if AML files were not generated due to compiler errors
95
96iASL: added a warning on use of the now-legacy ASL Processor () keyword.
97
98iASL: added an error on _UID object declaration that returns a String
99within a Processor () declaration. A _UID for a processor must be an
100Integer.
101
102iASL: added a null terminator to name strings that consist only of
103multiple parent prefixes (^)
104
105iASL: added support to compile both ASL and data table files in a single
106command.
107
108Updated the tool generation project files that were recently migrated to
109MSVC 2017 to eliminate all new warnings. The new project files appear in
110the directory \acpica\generate\msvc2017. This change effectively
111deprecates the older project files in \acpica\generate\msvc9.
112
113
114----------------------------------------
11503 July 2019. Summary of changes for version 20190703:
116
117
1181) ACPICA kernel-resident subsystem:
119
120Remove legacy module-level support code. There were still some remnants
121of the legacy module-level code executions. Since we no longer support
122this option, this is essentially dead code and has been removed from the
123ACPICA source.
124
125iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root
126scope. If these named objects are declared outside the root scope, they
127will not be invoked by any host Operating System.
128
129Clear status of GPEs on first direct enable. ACPI GPEs (other than the EC
130one) can be enabled in two situations. First, the GPEs with existing _Lxx
131and _Exx methods are enabled implicitly by ACPICA during system
132initialization.  Second, the GPEs without these methods (like GPEs listed
133by _PRW objects for wakeup devices) need to be enabled directly by the
134code that is going to use them (e.g. ACPI power management or device
135drivers).
136
137In the former case, if the status of a given GPE is set to start with,
138its handler method (either _Lxx or _Exx) needs to be invoked to take care
139of the events (possibly) signaled before the GPE was enabled. In the
140latter case, however, the first caller of AcpiEnableGpe() for a given GPE
141should not be expected to care about any events that might be signaled
142through it earlier.  In that case, it is better to clear the status of
143the GPE before enabling it, to prevent stale events from triggering
144unwanted actions (like spurious system resume, for example).
145
146For this reason, modify AcpiEvAddGpeReference() to take an additional
147boolean argument indicating whether or not the GPE status needs to be
148cleared when its reference counter changes from zero to one and make
149AcpiEnableGpe() pass TRUE to it through that new argument.
150
151
1522) iASL Compiler/Disassembler and ACPICA tools:
153
154The tool generation process has been migrated to MSVC 2017, and all
155project files have been upgraded. The new project files appear in the
156directory \acpica\generate\msvc2017. This change effectively deprecates
157the older project files in \acpica\generate\msvc9.
158
159iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root
160scope. If these named objects are declared outside the root scope, they
161will not be invoked by any host Operating System
162
163----------------------------------------
16409 May 2019. Summary of changes for version 20190509:
165
166
1671) ACPICA kernel-resident subsystem:
168
169Revert commit  6c43e1a ("ACPICA: Clear status of GPEs before enabling
170them") that causes problems with Thunderbolt controllers to occur if a
171dock device is connected at init time (the xhci_hcd and thunderbolt
172modules crash which prevents peripherals connected through them from
173working). Commit 6c43e1a effectively causes commit ecc1165b8b74 ("ACPICA:
174Dispatch active GPEs at init time") to get undone, so the problem
175addressed by commit ecc1165b8b74 appears again as a result of it.
176
177
1782) iASL Compiler/Disassembler and ACPICA tools:
179
180Reverted iASL: Additional forward reference detection. This change
181reverts forward reference detection for field declarations. The feature
182unintentionally emitted AML bytecode with incorrect package lengths for
183some ASL code related to Fields and OperationRegions. This malformed AML
184can cause systems to crash
185during boot. The malformed AML bytecode is emitted in iASL version
18620190329 and 20190405.
187
188iASL: improve forward reference detection. This change improves forward
189reference detection for named objects inside of scopes. If a parse object
190has the OP_NOT_FOUND_DURING_LOAD set, it means that Op is a reference to
191a named object that is declared later in the AML bytecode. This is
192allowed if the reference is inside of a method and the declaration is
193outside of a method like so:
194
195DefinitionBlock(...)
196{
197    Method (TEST)
198    {
199        Return (NUM0)
200    }
201    Name (NUM0,0)
202}
203
204However, if the declaration and reference are both in the same method or
205outside any methods, this is a forward reference and should be marked as
206an error because it would result in runtime errors.
207
208DefinitionBlock(...)
209{
210    Name (BUFF, Buffer (NUM0) {}) // Forward reference
211    Name (NUM0, 0x0)
212
213    Method (TEST)
214    {
215        Local0 = NUM1
216        Name (NUM1, 0x1) // Forward reference
217        return (Local0)
218    }
219}
220
221iASL: Implemented additional buffer overflow analysis for BufferField
222declarations. Check if a buffer index argument to a create buffer field
223operation is beyond the end of the target buffer.
224
225This affects these AML operators:
226
227   AML_CREATE_FIELD_OP
228   AML_CREATE_BIT_FIELD_OP
229   AML_CREATE_BYTE_FIELD_OP
230   AML_CREATE_WORD_FIELD_OP
231   AML_CREATE_DWORD_FIELD_OP
232   AML_CREATE_QWORD_FIELD_OP
233
234 There are three conditions that must be satisfied in order to allow this
235validation at compile time:
236
237   1) The length of the target buffer must be an integer constant
238   2) The index specified in the create* must be an integer constant
239   3) For CreateField, the bit length argument must be non-zero.
240
241Example:
242    Name (BUF1, Buffer() {1,2})
243    CreateField (BUF1, 7, 9, CF03)  // 3: ERR
244
245dsdt.asl     14:     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
246Error    6165 -                           ^ Buffer index beyond end of
247target buffer
248
249
250----------------------------------------
25105 April 2019. Summary of changes for version 20190405:
252
253
2541) ACPICA kernel-resident subsystem:
255
256Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop
257unconditionally clearing ACPI IRQs during suspend/resume") was added
258earlier to stop clearing of event status bits unconditionally on suspend
259and resume paths. Though this change fixed an issue on suspend path, it
260introduced regressions on several resume paths. In the case of S0ix,
261events are enabled as part of device suspend path. If status bits for the
262events are set when they are enabled, it could result in premature wake
263from S0ix. If status is cleared for any event that is being enabled so
264that any stale events are cleared out. In case of S0ix, events are
265enabled as part of device suspend path. If status bits for the events are
266set when they are enabled, it could result in premature wake from S0ix.
267
268This change ensures that status is cleared for any event that is being
269enabled so that any stale events are cleared out.
270
271
2722) iASL Compiler/Disassembler and ACPICA tools:
273
274iASL: Implemented an enhanced multiple file compilation that combines
275named objects from all input files to a single namespace. With this
276feature, any unresolved external declarations as well as duplicate named
277object declarations can be detected during compilation rather than
278generating errors much later at runtime. The following commands are
279examples that utilize this feature:
280    iasl dsdt.asl ssdt.asl
281    iasl dsdt.asl ssdt1.asl ssdt2.asl
282    iasl dsdt.asl ssdt*.asl
283
284----------------------------------------
28529 March 2019. Summary of changes for version 20190329:
286
287
2881) ACPICA kernel-resident subsystem:
289
290Namespace support: Remove the address nodes from global list after method
291termination. The global address list contains pointers to namespace nodes
292that represent Operation Regions. This change properly removes Operation
293Region namespace nodes that are declared dynamically during method
294execution.
295
296Linux: Use a different debug default than ACPICA. There was a divergence
297between Linux and the ACPICA codebases. In order to resolve this
298divergence, Linux now declares its own debug default in aclinux.h
299
300Renamed some internal macros to improve code understanding and
301maintenance. The macros below all operate on single 4-character ACPI
302NameSegs, not generic strings (old -> new):
303    ACPI_NAME_SIZE    -> ACPI_NAMESEG_SIZE
304    ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
305    ACPI_MOVE_NAME    -> ACPI_COPY_NAMESEG
306
307Fix for missing comma in array declaration for the AcpiGbl_GenericNotify
308table.
309
310Test suite: Update makefiles, add PCC operation region support
311
312
3132) iASL Compiler/Disassembler and Tools:
314
315iASL: Implemented additional illegal forward reference detection. Now
316detect and emit an error upon detection of a forward reference from a
317Field to an Operation Region. This will fail at runtime if allowed to
318pass the compiler.
319
320AcpiExec: Add an address list check for dynamic Operation Regions. This
321feature performs a sanity test for each node the global address list.
322This is done in order to ensure that all dynamic operation regions are
323properly removed from the global address list and no dangling pointers
324are left behind.
325
326Disassembler: Improved generation of resource pathnames. This change
327improves the code that generates resource descriptor and resource tag
328pathnames. The original code used a bunch of str* C library functions
329that caused warnings on some compilers.
330
331iASL: Removed some uses of strncpy and replaced with memmove. The strncpy
332function can overwrite buffers if the calling code is not very careful.
333In the case of generating a module/table header, use of memmove is a
334better implementation.
335
336
3373) Status of new features that have not been completed at this time:
338
339iASL: Implementing an enhanced multiple file compilation into a single
340namespace feature (Status): This feature will be released soon, and
341allows multiple ASL files to be compiled into the same single namespace.
342By doing so, any unresolved external declarations as well as duplicate
343named object declarations can be detected during compilation (rather than
344later during runtime). The following commands are examples that utilize
345this feature:
346    iasl dsdt.asl ssdt.asl
347    iasl dsdt.asl ssdt1.asl ssdt2.asl
348    iasl dsdt.asl ssdt*.asl
349
350ASL tutorial status: Feedback is being gathered internally and the
351current plan is to publish this tutorial on the ACPICA website after a
352final review by a tech writer.
353
354----------------------------------------
35515 February 2019. Summary of changes for version 20190215:
356
357
3580) Support for ACPI specification version 6.3:
359
360Add PCC operation region support for the AML interpreter. This adds PCC
361operation region support in the AML interpreter and a default handler for
362acpiexec. The change also renames the PCC region address space keyword to
363PlatformCommChannel.
364
365Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG.
366These methods provide OSPM with health information and device boot
367status.
368
369PDTT: Add TriggerOrder to the PCC Identifier structure. The field value
370defines if the trigger needs to be invoked by OSPM before or at the end
371of kernel crash dump processing/handling operation.
372
373SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT
374is used for describing devices such as heterogeneous processors,
375accelerators, GPUs, and IO devices with integrated compute or DMA
376engines.
377
378MADT: Add support for statistical profiling in GICC. Statistical
379profiling extension (SPE) is an architecture-specific feature for ARM.
380
381MADT: Add online capable flag. If this bit is set, system hardware
382supports enabling this processor during OS runtime.
383
384New Error Disconnect Recover Notification value. There are a number of
385scenarios where system Firmware in collaboration with hardware may
386disconnect one or more devices from the rest of the system for purposes
387of error containment. Firmware can use this new notification value to
388alert OSPM of such a removal.
389
390PPTT: New additional fields in Processor Structure Flags. These flags
391provide more information about processor topology.
392
393NFIT/Disassembler: Change a field name from "Address Range" to "Region
394Type".
395
396HMAT updates: make several existing fields to be reserved as well as
397rename subtable 0 to "memory proximity domain attributes".
398
399GTDT: Add support for new GTDT Revision 3. This revision adds information
400for the EL2 timer.
401
402iASL: Update the HMAT example template for new fields.
403
404iASL: Add support for the new revision of the GTDT (Rev 3).
405
406
4071) ACPICA kernel-resident subsystem:
408
409AML Parser: fix the main AML parse loop to correctly skip erroneous
410extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
411byte extended opcodes. If an error occurs during an AML table load, the
412AML parser will continue loading the table by skipping the offending
413opcode. This implements a "load table at any cost" philosophy.
414
415
4162) iASL Compiler/Disassembler and Tools:
417
418iASL: Add checks for illegal object references, such as a reference
419outside of method to an object within a method. Such an object is only
420temporary.
421
422iASL: Emit error for creation of a zero-length operation region. Such a
423region is rather pointless. If encountered, a runtime error is also
424implemented in the interpeter.
425
426Debugger: Fix a possible fault with the "test objects" command.
427
428iASL: Makefile: support parent directory filenames containing embedded
429spaces.
430
431iASL: Update the TPM2 template to revision 4.
432
433iASL: Add the ability to report specific warnings or remarks as errors.
434
435Disassembler: Disassemble OEMx tables as actual AML byte code.
436Previously, these tables were treated as "unknown table".
437
438iASL: Add definition and disassembly for TPM2 revision 3.
439
440iASL: Add support for TPM2 rev 3 compilation.
441
442
443----------------------------------------
44408 January 2019. Summary of changes for version 20190108:
445
446
4471) ACPICA kernel-resident subsystem:
448
449Updated all copyrights to 2019. This affects all source code modules.
450
451
4522) iASL Compiler/Disassembler and Tools:
453
454ASL test suite (ASLTS): Updated all copyrights to 2019.
455
456Tools: Updated all signon copyrights to 2019.
457
458AcpiExec: Added a new option to dump extra information concerning any
459memory leaks detected by the internal object/cache tracking mechanism. -
460va
461
462iASL: Updated the table template for the TPM2 table to the newest version
463of the table (Revision 4)
464
465
466----------------------------------------
46713 December 2018. Summary of changes for version 20181213:
468
469
4701) ACPICA Kernel-resident Subsystem:
471
472Fixed some buffer length issues with the GenericSerialBus, related to two
473of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes,
474which are rarely seen in the field. For these, the LEN field of the ASL
475buffer is now ignored. Hans de Goede
476
477Implemented a new object evaluation trace mechanism for control methods
478and data objects. This includes nested control methods. It is
479particularly useful for examining the ACPI execution during system
480initialization since the output is relatively terse. The flag below
481enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
482   #define ACPI_LV_EVALUATION          0x00080000
483
484Examples:
485   Enter evaluation       :  _SB.PCI0._INI (Method)
486   Exit evaluation        :  _SB.PCI0._INI
487   Enter evaluation       :  _OSI (Method)
488   Exit evaluation        :  _OSI
489   Enter evaluation       :  _SB.PCI0.TEST (Method)
490   Nested method call     :     _SB.PCI0.NST1
491   Exit nested method     :     _SB.PCI0.NST1
492   Exit evaluation        :  _SB.PCI0.TEST
493
494Added two recently-defined _OSI strings. See
495https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
496osi.
497   "Windows 2018"
498   "Windows 2018.2"
499
500Update for buffer-to-string conversions via the ToHexString ASL operator.
501A "0x" is now prepended to each of the hex values in the output string.
502This provides compatibility with other ACPI implementations. The ACPI
503specification is somewhat vague on this issue.
504   Example output string after conversion:
505"0x01,0x02,0x03,0x04,0x05,0x06"
506
507Return a run-time error for TermArg expressions within individual package
508elements. Although this is technically supported by the ASL grammar,
509other ACPI implementations do not support this either. Also, this fixes a
510fault if this type of construct is ever encountered (it never has been).
511
512
5132) iASL Compiler/Disassembler and Tools:
514
515iASL: Implemented a new compile option (-ww) that will promote individual
516warnings and remarks to errors. This is intended to enhance the firmware
517build process.
518
519AcpiExec: Implemented a new command-line option (-eo) to support the new
520object evaluation trace mechanism described above.
521
522Disassembler: Added support to disassemble OEMx tables as AML/ASL tables
523instead of a "unknown table" message.
524
525AcpiHelp: Improved support for the "special" predefined names such as
526_Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be
527used for "xx" and "x".
528
529----------------------------------------
53031 October 2018. Summary of changes for version 20181031:
531
532
533An Operation Region regression was fixed by properly adding address
534ranges to a global list during initialization. This allows OS to
535accurately check for overlapping regions between native devices (such as
536PCI) and Operation regions as well as checking for region conflicts
537between two Operation Regions.
538
539Added support for the 2-byte extended opcodes in the code/feature that
540attempts to continue parsing during the table load phase. Skip parsing
541Device declarations (and other extended opcodes) when an error occurs
542during parsing. Previously, only single-byte opcodes were supported.
543
544Cleanup: Simplified the module-level code support by eliminating a
545useless global variable (AcpiGbl_GroupModuleLeveCode).
546
547
5482) iASL Compiler/Disassembler and Tools:
549
550iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE
551could cause a fault in the preprocessor. This was an inadvertent side-
552effect from moving more allocations/frees to the local cache/memory
553mechanism.
554
555iASL: Enhanced error detection by validating that all NameSeg elements
556within a NamePatch actually exist. The previous behavior was spotty at
557best, and such errors could be improperly ignored at compiler time (never
558at runtime, however. There are two new error messages, as shown in the
559examples below:
560
561dsdt.asl     33:     CreateByteField (TTTT.BXXX, 1, CBF1)
562Error    6161 -                              ^ One or more objects within
563the Pathname do not exist (TTTT.BXXX)
564
565dsdt.asl     34:     CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
566Error    6160 -        One or more prefix Scopes do not exist ^
567(BBBB.CBF1)
568
569iASL: Disassembler/table-compiler: Added support for the static data
570table TPM2 revision 3 (an older version of TPM2). The support has been
571added for the compiler and the disassembler.
572
573Fixed compilation of DOS format data table file on Unix/Linux systems.
574iASL now properly detects line continuations (\) for DOS format data
575table definition language files on when executing on Unix/Linux.
576
577----------------------------------------
57803 October 2018. Summary of changes for version 20181003:
579
580
5812) iASL Compiler/Disassembler and Tools:
582
583Fixed a regression introduced in version 20180927 that could cause the
584compiler to fault, especially with NamePaths containing one or more
585carats (^). Such as: ^^_SB_PCI0
586
587Added a new remark for the Sleep() operator when the sleep time operand
588is larger than one second. This is a very long time for the ASL/BIOS code
589and may not be what was intended by the ASL writer.
590
591----------------------------------------
59227 September 2018. Summary of changes for version 20180927:
593
594
5951) ACPICA kernel-resident subsystem:
596
597Updated the GPE support to clear the status of all ACPI events when
598entering any/all sleep states in order to avoid premature wakeups. In
599theory, this may cause some wakeup events to be missed, but the
600likelihood of this is small. This change restores the original behavior
601of the ACPICA code in order to fix a regression seen from the previous
602"Stop unconditionally clearing ACPI IRQs during suspend/resume" change.
603This regression could cause some systems to incorrectly wake immediately.
604
605Updated the execution of the _REG methods during initialization and
606namespace loading to bring the behavior into closer conformance to the
607ACPI specification and other ACPI implementations:
608
609From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
610    "Control methods must assume all operation regions are inaccessible
611until the _REG(RegionSpace, 1) method is executed"
612
613    "The exceptions to this rule are:
6141.  OSPM must guarantee that the following operation regions are always
615accessible:
616    SystemIO operation regions.
617    SystemMemory operation regions when accessing memory returned by the
618System Address Map reporting interfaces."
619
620Since the state of both the SystemIO and SystemMemory address spaces are
621defined by the specification to never change, this ACPICA change ensures
622that now _REG is never called on them. This solves some problems seen in
623the field and provides compatibility with other ACPI implementations. An
624update to the upcoming new version of the ACPI specification will help
625clarify this behavior.
626
627Updated the implementation of support for the Generic Serial Bus. For the
628"bidirectional" protocols, the internal implementation now automatically
629creates a return data buffer of the maximum size (255). This handles the
630worst-case for data that is returned from the serial bus handler, and
631fixes some problems seen in the field. This new buffer is directly
632returned to the ASL. As such, there is no true "bidirectional" buffer,
633which matches the ACPI specification. This is the reason for the "double
634store" seen in the example ASL code in the specification, shown below:
635
636Word Process Call (AttribProcessCall):
637    OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
638    Field(TOP1, BufferAcc, NoLock, Preserve)
639    {
640        FLD1, 8, // Virtual register at command value 1.
641    }
642
643    Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
644                             // as BUFF
645    CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
646
647    Store(0x5416, DATA)               // Save 0x5416 into the data buffer
648    Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call
649transaction
650                           // This is the "double store". The write to
651                           // FLD1 returns a new buffer, which is stored
652                           // back into BUFF with the second Store.
653
654
6552) iASL Compiler/Disassembler and Tools:
656
657iASL: Implemented detection of extraneous/redundant uses of the Offset()
658operator within a Field Unit list. A remark is now issued for these. For
659example, the first two of the Offset() operators below are extraneous.
660Because both the compiler and the interpreter track the offsets
661automatically, these Offsets simply refer to the current offset and are
662unnecessary. Note, when optimization is enabled, the iASL compiler will
663in fact remove the redundant Offset operators and will not emit any AML
664code for them.
665
666    OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
667    Field (OPR1)
668    {
669        Offset (0),     // Never needed
670        FLD1, 32,
671        Offset (4),     // Redundant, offset is already 4 (bytes)
672        FLD2, 8,
673        Offset (64),    // OK use of Offset.
674        FLD3, 16,
675    }
676dsdt.asl     14:         Offset (0),
677Remark   2158 -                 ^ Unnecessary/redundant use of Offset
678operator
679
680dsdt.asl     16:         Offset (4),
681Remark   2158 -                 ^ Unnecessary/redundant use of Offset
682operator
683
684----------------------------------------
68510 August 2018. Summary of changes for version 20180810:
686
687
6881) ACPICA kernel-resident subsystem:
689
690Initial ACPI table loading: Attempt to continue loading ACPI tables
691regardless of malformed AML. Since migrating table initialization to the
692new module-level code support, the AML interpreter rejected tables upon
693any ACPI error encountered during table load. This is a problem because
694non-serious ACPI errors during table load do not necessarily mean that
695the entire definition block (DSDT or SSDT) is invalid. This change
696improves the table loading by ignoring some types of errors that can be
697generated by incorrect AML. This can range from object type errors, scope
698errors, and index errors.
699
700Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs
701during suspend/resume. The status of ACPI events is no longer cleared
702when entering the ACPI S5 system state (power off) which caused some
703systems to power up immediately after turning off power in certain
704situations. This was a functional regression. It was fixed by clearing
705the status of all ACPI events again when entering S5 (for system-wide
706suspend or hibernation the clearing of the status of all events is not
707desirable, as it might cause the kernel to miss wakeup events sometimes).
708Rafael Wysocki.
709
710
7112) iASL Compiler/Disassembler and Tools:
712
713AcpiExec: Enhanced the -fi option (Namespace initialization file). Field
714elements listed in the initialization file were previously initialized
715after the table load and before executing module-level code blocks.
716Recent changes in the module-level code support means that the table load
717becomes a large control method execution. If fields are used within
718module-level code and we are executing with the -fi option, the
719initialization values were used to initialize the namespace object(s)
720only after the table was finished loading. This change Provides an early
721initialization of objects specified in the initialization file so that
722field unit values are populated during the table load (not after the
723load).
724
725AcpiExec: Fixed a small memory leak regression that could result in
726warnings during exit of the utility. These warnings were similar to
727these:
728    0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
729    0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
730
731----------------------------------------
73229 June 2018. Summary of changes for version 20180629:
733
734
7351) iASL Compiler/Disassembler and Tools:
736
737iASL: Fixed a regression related to the use of the ASL External
738statement. Error checking for the use of the External() statement has
739been relaxed. Previously, a restriction on the use of External meant that
740the referenced named object was required to be defined in a different
741table (an SSDT). Thus it would be an error to declare an object as an
742external and then define the same named object in the same table. For
743example:
744    DefinitionBlock (...)
745    {
746        External (DEV1)
747        Device (DEV1){...} // This was an error
748    }
749However, this behavior has caused regressions in some existing ASL code,
750because there is code that depends on named objects and externals (with
751the same name) being declared in the same table. This change will allow
752the ASL code above to compile without errors or warnings.
753
754iASL: Implemented ASL language extensions for four operators to make some
755of their arguments optional instead of required:
756    1) Field (RegionName, AccessType, LockRule, UpdateRule)
757    2) BankField (RegionName, BankName, BankValue,
758                AccessType, LockRule, UpdateRule)
759    3) IndexField (IndexName, DataName,
760                AccessType, LockRule, UpdateRule)
761For the Field operators above, the AccessType, LockRule, and UpdateRule
762are now optional arguments. The default values are:
763        AccessType: AnyAcc
764        LockRule:   NoLock
765        UpdateRule: Preserve
766    4) Mutex (MutexName, SyncLevel)
767For this operator, the SyncLevel argument is now optional. This argument
768is rarely used in any meaningful way by ASL code, and thus it makes sense
769to make it optional. The default value is:
770        SyncLevel:  0
771
772iASL: Attempted use of the ASL Unload() operator now results in the
773following warning:
774    "Unload is not supported by all operating systems"
775This is in fact very true, and the Unload operator may be completely
776deprecated in the near future.
777
778AcpiExec: Fixed a regression for the -fi option (Namespace initialization
779file. Recent changes in the ACPICA module-level code support altered the
780table load/initialization sequence . This means that the table load has
781become a large method execution of the table itself. If Operation Region
782Fields are used within any module-level code and the -fi option was
783specified, the initialization values were populated only after the table
784had completely finished loading (and thus the module-level code had
785already been executed). This change moves the initialization of objects
786listed in the initialization file to before the table is executed as a
787method. Field unit values are now initialized before the table execution
788is performed.
789
790----------------------------------------
79131 May 2018. Summary of changes for version 20180531:
792
793
7941) ACPICA kernel-resident Subsystem:
795
796Implemented additional support to help ensure that a DSDT or SSDT is
797fully loaded even if errors are incurred during the load. The majority of
798the problems that are seen is the failure of individual AML operators
799that occur during execution of any module-level code (MLC) existing in
800the table. This support adds a mechanism to abort the current ASL
801statement (AML opcode), emit an error message, and to simply move on to
802the next opcode -- instead of aborting the entire table load. This is
803different than the execution of a control method where the entire method
804is aborted upon any error. The goal is to perform a very "best effort" to
805load the ACPI tables. The most common MLC errors that have been seen in
806the field are direct references to unresolved ASL/AML symbols (referenced
807directly without the use of the CondRefOf operator to validate the
808symbol). This new ACPICA behavior is now compatible with other ACPI
809implementations.
810
811Interpreter: The Unload AML operator is no longer supported for the
812reasons below. An AE_NOT_IMPLEMENTED exception is returned.
8131) A correct implementation on at least some hosts may not be possible.
8142) Other ACPI implementations do not correctly/fully support it.
8153) It requires host device driver support which is not known to exist.
816    (To properly support namespace unload out from underneath.)
8174) This AML operator has never been seen in the field.
818
819Parser: Added a debug option to dump AML parse sub-trees as they are
820being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is
821ACPI_DB_PARSE_TREES.
822
823Debugger: Reduced the verbosity for errors incurred during table load and
824module-level code execution.
825
826Completed an investigation into adding a namespace node "owner list"
827instead of the current "owner ID" associated with namespace nodes. This
828list would link together all nodes that are owned by an individual
829control method. The purpose would be to enhance control method execution
830by speeding up cleanup during method exit (all namespace nodes created by
831a method are deleted upon method termination.) Currently, the entire
832namespace must be searched for matching owner IDs if (and only if) the
833method creates named objects outside of the local scope. However, by far
834the most common case is that methods create objects locally, not outside
835the method scope. There is already an ACPICA optimization in place that
836only searches the entire namespace in the rare case of a method creating
837objects elsewhere in the namespace. Therefore, it is felt that the
838overhead of adding an additional pointer to each namespace node to
839implement the owner list makes this feature unnecessary.
840
841
8422) iASL Compiler/Disassembler and Tools:
843
844iASL, Disassembler, and Template generator: Implemented support for
845Revision D of the IORT table. Adds a new subtable that is used to specify
846SMMUv3 PMCGs. rmurphy-arm.
847
848Disassembler: Restored correct table header validation for the "special"
849ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI
850table header and must be special-cased. This was a regression that has
851been present for apparently a long time.
852
853AcpiExec: Reduced verbosity of the local exception handler implemented
854within acpiexec. This handler is invoked by ACPICA upon any exceptions
855generated during control method execution. A new option was added: -vh
856restores the original verbosity level if desired.
857
858AcpiExec: Changed the default base from decimal to hex for the -x option
859(set debug level). This simplifies the use of this option and matches the
860behavior of the corresponding iASL -x option.
861
862AcpiExec: Restored a force-exit on multiple control-c (sigint)
863interrupts. This allows program termination even if other issues cause
864the control-c to fail.
865
866ASL test suite (ASLTS): Added tests for the recently implemented package
867element resolution mechanism that allows forward references to named
868objects from individual package elements (this mechanism provides
869compatibility with other ACPI implementations.)
870
871
872----------------------------------------
8738 May 2018. Summary of changes for version 20180508:
874
875
8761) ACPICA kernel-resident subsystem:
877
878Completed the new (recently deployed) package resolution mechanism for
879the Load and LoadTable ASL/AML operators. This fixes a regression that
880was introduced in version 20180209 that could result in an
881AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table
882(SSDT) that contains package objects.
883
884
8852) iASL Compiler/Disassembler and Tools:
886
887AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than
8881 MB. This change allows for table offsets within the acpidump file to be
889up to 8 characters. These changes are backwards compatible with existing
890acpidump files.
891
892
893----------------------------------------
89427 April 2018. Summary of changes for version 20180427:
895
896
8971) ACPICA kernel-resident subsystem:
898
899Debugger: Added support for Package objects in the "Test Objects"
900command. This command walks the entire namespace and evaluates all named
901data objects (Integers, Strings, Buffers, and now Packages).
902
903Improved error messages for the namespace root node. Originally, the root
904was referred to by the confusing string "\___". This has been replaced by
905"Namespace Root" for clarification.
906
907Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin
908Ian King <colin.king@canonical.com>.
909
910
9112) iASL Compiler/Disassembler and Tools:
912
913iASL: Implemented support to detect and flag illegal forward references.
914For compatibility with other ACPI implementations, these references are
915now illegal at the root level of the DSDT or SSDTs. Forward references
916have always been illegal within control methods. This change should not
917affect existing ASL/AML code because of the fact that these references
918have always been illegal in the other ACPI implementation.
919
920iASL: Added error messages for the case where a table OEM ID and OEM
921TABLE ID strings are longer than the ACPI-defined length. Previously,
922these strings were simply silently truncated.
923
924iASL: Enhanced the -tc option (which creates an AML hex file in C,
925suitable for import into a firmware project):
926  1) Create a unique name for the table, to simplify use of multiple
927SSDTs.
928  2) Add a protection #ifdef in the file, similar to a .h header file.
929With assistance from Sami Mujawar, sami.mujawar@arm.com and Evan Lloyd,
930evan.lloyd@arm.com
931
932AcpiExec: Added a new option, -df, to disable the local fault handler.
933This is useful during debugging, where it may be desired to drop into a
934debugger on a fault.
935
936----------------------------------------
93713 March 2018. Summary of changes for version 20180313:
938
939
9401) ACPICA kernel-resident subsystem:
941
942Implemented various improvements to the GPE support:
943
9441) Dispatch all active GPEs at initialization time so that no GPEs are
945lost.
9462) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled
947before devices are enumerated.
9483) Don't unconditionally clear ACPI IRQs during suspend/resume, so that
949IRQs are not lost.
9504) Add parallel GPE handling to eliminate the possibility of dispatching
951the same GPE twice.
9525) Dispatch any pending GPEs after enabling for the first time.
953
954AcpiGetObjectInfo - removed support for the _STA method. This was causing
955problems on some platforms.
956
957Added a new _OSI string, "Windows 2017.2".
958
959Cleaned up and simplified the module-level code support. These changes
960are in preparation for the eventual removal of the legacy MLC support
961(deferred execution), replaced by the new MLC architecture which executes
962the MLC as a table is loaded (DSDT/SSDTs).
963
964Changed a compile-time option to a runtime option. Changes the option to
965ignore ACPI table load-time package resolution errors into a runtime
966option. Used only for platforms that generate many AE_NOT_FOUND errors
967during boot. AcpiGbl_IgnorePackageResolutionErrors.
968
969Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some
970ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid
971compilation errors from unused variables (seen with some compilers).
972
973
9742) iASL Compiler/Disassembler and Tools:
975
976ASLTS: parallelized execution in order to achieve an (approximately) 2X
977performance increase.
978
979ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves
980error reporting.
981
982----------------------------------------
98309 February 2018. Summary of changes for version 20180209:
984
985
9861) ACPICA kernel-resident subsystem:
987
988Completed the final integration of the recent changes to Package Object
989handling and the module-level AML code support. This allows forward
990references from individual package elements when the package object is
991declared from within module-level code blocks. Provides compatibility
992with other ACPI implementations.
993
994The new architecture for the AML module-level code has been completed and
995is now the default for the ACPICA code. This new architecture executes
996the module-level code in-line as the ACPI table is loaded/parsed instead
997of the previous architecture which deferred this code until after the
998table was fully loaded. This solves some ASL code ordering issues and
999provides compatibility with other ACPI implementations. At this time,
1000there is an option to fallback to the earlier architecture, but this
1001support is deprecated and is planned to be completely removed later this
1002year.
1003
1004Added a compile-time option to ignore AE_NOT_FOUND exceptions during
1005resolution of named reference elements within Package objects. Although
1006this is potentially a serious problem, it can generate a lot of
1007noise/errors on platforms whose firmware carries around a bunch of unused
1008Package objects. To disable these errors, define
1009ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All
1010errors are always reported for ACPICA applications such as AcpiExec.
1011
1012Fixed a regression related to the explicit type-conversion AML operators
1013(ToXXXX). The regression was introduced early in 2017 but was not seen
1014until recently because these operators are not fully supported by other
1015ACPI implementations and are thus rarely used by firmware developers. The
1016operators are defined by the ACPI specification to not implement the
1017"implicit result object conversion". The regression incorrectly
1018introduced this object conversion for the following explicit conversion
1019operators:
1020    ToInteger
1021    ToString
1022    ToBuffer
1023    ToDecimalString
1024    ToHexString
1025    ToBCD
1026    FromBCD
1027
1028
10292) iASL Compiler/Disassembler and Tools:
1030
1031iASL: Fixed a problem with the compiler constant folding feature as
1032related to the ToXXXX explicit conversion operators. These operators do
1033not support the "implicit result object conversion" by definition. Thus,
1034ASL expressions that use these operators cannot be folded to a simple
1035Store operator because Store implements the implicit conversion. This
1036change uses the CopyObject operator for the ToXXXX operator folding
1037instead. CopyObject is defined to not implement implicit result
1038conversions and is thus appropriate for folding the ToXXXX operators.
1039
1040iASL: Changed the severity of an error condition to a simple warning for
1041the case where a symbol is declared both locally and as an external
1042symbol. This accommodates existing ASL code.
1043
1044AcpiExec: The -ep option to enable the new architecture for module-level
1045code has been removed. It is replaced by the -dp option which instead has
1046the opposite effect: it disables the new architecture (the default) and
1047enables the legacy architecture. When the legacy code is removed in the
1048future, the -dp option will be removed also.
1049
1050----------------------------------------
105105 January 2018. Summary of changes for version 20180105:
1052
1053
10541) ACPICA kernel-resident subsystem:
1055
1056Updated all copyrights to 2018. This affects all source code modules.
1057
1058Fixed a possible build error caused by an unresolved reference to the
1059AcpiUtSafeStrncpy function.
1060
1061Removed NULL pointer arithmetic in the various pointer manipulation
1062macros. All "(void *) NULL" constructs are converted to "(void *) 0".
1063This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
1064
1065Added support for A32 ABI compilation, which uses the ILP32 model. Anuj
1066Mittal.
1067
1068
10692) iASL Compiler/Disassembler and Tools:
1070
1071ASLTS: Updated all copyrights to 2018.
1072
1073Tools: Updated all signon copyrights to 2018.
1074
1075AcpiXtract: Fixed a regression related to ACPI table signatures where the
1076signature was truncated to 3 characters (instead of 4).
1077
1078AcpiExec: Restore the original terminal mode after the use of the -v and
1079-vd options.
1080
1081ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
1082
1083----------------------------------------
108414 December 2017. Summary of changes for version 20171214:
1085
1086
10871) ACPICA kernel-resident subsystem:
1088
1089Fixed a regression in the external (public) AcpiEvaluateObjectTyped
1090interface where the optional "pathname" argument had inadvertently become
1091a required argument returning an error if omitted (NULL pointer
1092argument).
1093
1094Fixed two possible memory leaks related to the recently developed "late
1095resolution" of reference objects within ASL Package Object definitions.
1096
1097Added two recently defined _OSI strings: "Windows 2016" and "Windows
10982017". Mario Limonciello.
1099
1100Implemented and deployed a safer version of the C library function
1101strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the
1102creation of unterminated strings as a possible result of a standard
1103strncpy.
1104
1105Cleaned up and restructured the global variable file (acglobal.h). There
1106are many changes, but no functional changes.
1107
1108
11092) iASL Compiler/Disassembler and Tools:
1110
1111iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the
1112optional OemData field at the end of the table was incorrectly required
1113for proper compilation. It is now correctly an optional field.
1114
1115ASLTS: The entire suite was converted from standard ASL to the ASL+
1116language, using the ASL-to-ASL+ converter which is integrated into the
1117iASL compiler. A binary compare of all output files has verified the
1118correctness of the conversion.
1119
1120iASL: Fixed the source code build for platforms where "char" is unsigned.
1121This affected the iASL lexer only. Jung-uk Kim.
1122
1123----------------------------------------
112410 November 2017. Summary of changes for version 20171110:
1125
1126
11271) ACPICA kernel-resident subsystem:
1128
1129This release implements full support for ACPI 6.2A:
1130    NFIT - Added a new subtable, "Platform Capabilities Structure"
1131No other changes to ACPICA were required, since ACPI 6.2A is primarily an
1132errata release of the specification.
1133
1134Other ACPI table changes:
1135    IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
1136    PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy
1137Linton
1138
1139Utilities: Modified the string/integer conversion functions to use
1140internal 64-bit divide support instead of a native divide. On 32-bit
1141platforms, a 64-bit divide typically requires a library function which
1142may not be present in the build (kernel or otherwise).
1143
1144Implemented a targeted error message for timeouts returned from the
1145Embedded Controller device driver. This is seen frequently enough to
1146special-case an AE_TIME returned from an EC operation region access:
1147    "Timeout from EC hardware or EC device driver"
1148
1149Changed the "ACPI Exception" message prefix to "ACPI Error" so that all
1150runtime error messages have the identical prefix.
1151
1152
11532) iASL Compiler/Disassembler and Tools:
1154
1155AcpiXtract: Fixed a problem with table header detection within the
1156acpidump file. Processing a table could be ended early if a 0x40 (@)
1157appears in the original binary table, resulting in the @ symbol appearing
1158in the decoded ASCII field at the end of the acpidump text line. The
1159symbol caused acpixtract to incorrectly think it had reached the end of
1160the current table and the beginning of a new table.
1161
1162AcpiXtract: Added an option (-f) to ignore some errors during table
1163extraction. This initial implementation ignores non-ASCII and non-
1164printable characters found in the acpidump text file.
1165
1166TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics
1167for ASLTS. This feature is used to track memory allocations from
1168different memory caches within the ACPICA code. At the end of an ASLTS
1169run, these memory statistics are recorded and stored in a log file.
1170
1171Debugger (user-space version): Implemented a simple "Background" command.
1172Creates a new thread to execute a control method in the background, while
1173control returns to the debugger prompt to allow additional commands.
1174    Syntax: Background <Namepath> [Arguments]
1175
1176----------------------------------------
117729 September 2017. Summary of changes for version 20170929:
1178
1179
11801) ACPICA kernel-resident subsystem:
1181
1182Redesigned and implemented an improved ASL While() loop timeout
1183mechanism. This mechanism is used to prevent infinite loops in the kernel
1184AML interpreter caused by either non-responsive hardware or incorrect AML
1185code. The new implementation uses AcpiOsGetTimer instead of a simple
1186maximum loop count, and is thus more accurate and constant across
1187different machines. The default timeout is currently 30 seconds, but this
1188may be adjusted later.
1189
1190Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to
1191better reflect the new implementation of the loop timeout mechanism.
1192
1193Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support
1194and to fix an off-by-one error. Jung-uk Kim.
1195
1196Fixed an EFI build problem by updating the makefiles to for a new file
1197that was added, utstrsuppt.c
1198
1199
12002) iASL Compiler/Disassembler and Tools:
1201
1202Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This
1203includes support in the table disassembler, compiler, and template
1204generator.
1205
1206iASL: Added an exception for an illegal type of recursive method
1207invocation. If a method creates named objects, the first recursive call
1208will fail at runtime. This change adds an error detection at compile time
1209to catch the problem up front. Note: Marking such a method as
1210"serialized" will not help with this problem, because the same thread can
1211acquire the method mutex more than once. Example compiler and runtime
1212output:
1213
1214    Method (MTH1)
1215    {
1216        Name (INT1, 1)
1217        MTH1 ()
1218    }
1219
1220    dsdt.asl     22: MTH1 ()
1221    Error    6152 -  ^ Illegal recursive call to method
1222                       that creates named objects (MTH1)
1223
1224Previous runtime exception:
1225    ACPI Error: [INT1] Namespace lookup failure,
1226    AE_ALREADY_EXISTS (20170831/dswload2-465)
1227
1228iASL: Updated support for External() opcodes to improve namespace
1229management and error detection. These changes are related to issues seen
1230with multiple-segment namespace pathnames within External declarations,
1231such as below:
1232
1233    External(\_SB.PCI0.GFX0, DeviceObj)
1234    External(\_SB.PCI0.GFX0.ALSI)
1235
1236iASL: Implemented support for multi-line error/warning messages. This
1237enables more detailed and helpful error messages as below, from the
1238initial deployment for the duplicate names error:
1239
1240    DSDT.iiii   1692:       Device(PEG2) {
1241    Error    6074 -                  ^ Name already exists in scope
1242(PEG2)
1243
1244        Original name creation/declaration below:
1245        DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
1246
1247AcpiXtract: Added additional flexibility to support differing input hex
1248dump formats. Specifically, hex dumps that contain partial disassembly
1249and/or comments within the ACPI table data definition. There exist some
1250dump utilities seen in the field that create this type of hex dump (such
1251as Simics). For example:
1252
1253    DSDT @ 0xdfffd0c0 (10999 bytes)
1254        Signature DSDT
1255        Length 10999
1256        Revision 1
1257        Checksum 0xf3 (Ok)
1258        OEM_ID BXPC
1259        OEM_table_id BXDSDT
1260        OEM_revision 1
1261        Creator_id 1280593481
1262        Creator_revision 537399345
1263      0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
1264      ...
1265      2af0: 5f 4c 30 46 00 a4 01
1266
1267Test suite: Miscellaneous changes/fixes:
1268    More cleanup and simplification of makefiles
1269    Continue compilation of test cases after a compile failure
1270    Do not perform binary compare unless both files actually exist
1271
1272iASL: Performed some code/module restructuring. Moved all memory
1273allocation functions to new modules. Two new files, aslallocate.c and
1274aslcache.c
1275
1276----------------------------------------
127731 August 2017. Summary of changes for version 20170831:
1278
1279
12801) ACPICA kernel-resident subsystem:
1281
1282Implemented internal support for full 64-bit addresses that appear in all
1283Generic Address Structure (GAS) structures. Previously, only the lower 32
1284bits were used. Affects the use of GAS structures in the FADT and other
1285tables, as well as the GAS structures passed to the AcpiRead and
1286AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
1287
1288Added header support for the PDTT ACPI table (Processor Debug Trigger
1289Table). Full support in the iASL Data Table Compiler and disassembler is
1290forthcoming.
1291
1292
12932) iASL Compiler/Disassembler and Tools:
1294
1295iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor
1296Properties Topology Table) where a flag bit was specified in the wrong
1297bit position ("Line Size Valid", bit 6).
1298
1299iASL: Implemented support for Octal integer constants as defined by the
1300ASL language grammar, per the ACPI specification. Any integer constant
1301that starts with a zero is an octal constant. For example,
1302    Store (037777, Local0) /* Octal constant */
1303    Store (0x3FFF, Local0) /* Hex equivalent */
1304    Store (16383,  Local0) /* Decimal equivalent */
1305
1306iASL: Improved overflow detection for 64-bit string conversions during
1307compilation of integer constants. "Overflow" in this case means a string
1308that represents an integer that is too large to fit into a 64-bit value.
1309Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to
1310the low-order 32 bits with a warning, as previously implemented. Several
1311new exceptions are defined that indicate a 64-bit overflow, as well as
1312the base (radix) that was used during the attempted conversion. Examples:
1313    Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
1314    Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
1315    Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
1316
1317iASL: Added a warning for the case where a ResourceTemplate is declared
1318with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In
1319this case, the resulting template is created with a single END_TAG
1320descriptor, which is essentially useless.
1321
1322iASL: Expanded the -vw option (ignore specific warnings/remarks) to
1323include compilation error codes as well.
1324
1325----------------------------------------
132628 July 2017. Summary of changes for version 20170728:
1327
1328
13291) ACPICA kernel-resident subsystem:
1330
1331Fixed a regression seen with small resource descriptors that could cause
1332an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
1333
1334AML interpreter: Implemented a new feature that allows forward references
1335from individual named references within package objects that are
1336contained within blocks of "module-level code". This provides
1337compatibility with other ACPI implementations and supports existing
1338firmware that depends on this feature. Example:
1339
1340    Name (ABCD, 1)
1341    If (ABCD)                       /* An If() at module-level */
1342    {
1343        Name (PKG1, Package()
1344        {
1345            INT1                    /* Forward reference to object INT1
1346*/
1347        })
1348        Name (INT1, 0x1234)
1349    }
1350
1351AML Interpreter: Fixed a problem with the Alias() operator where aliases
1352to some ASL objects were not handled properly. Objects affected are:
1353Mutex, Event, and OperationRegion.
1354
1355AML Debugger: Enhanced to properly handle AML Alias objects. These
1356objects have one level of indirection which was not fully supported by
1357the debugger.
1358
1359Table Manager: Added support to detect and ignore duplicate SSDTs within
1360the XSDT/RSDT. This error in the XSDT has been seen in the field.
1361
1362EFI and EDK2 support:
1363    Enabled /WX flag for MSVC builds
1364    Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
1365    Added local support for 64-bit multiply and shift operations
1366    Added support to compile acpidump.efi on Windows
1367    Added OSL function stubs for interfaces not used under EFI
1368
1369Added additional support for the _DMA predefined name. _DMA returns a
1370buffer containing a resource template. This change add support within the
1371resource manager (AcpiWalkResourceBuffer) to walk and parse this list of
1372resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
1373
1374
13752) iASL Compiler/Disassembler and Tools:
1376
1377iASL: Fixed a problem where the internal input line buffer(s) could
1378overflow if there are very long lines in the input ASL source code file.
1379Implemented buffer management that automatically increases the size of
1380the buffers as necessary.
1381
1382iASL: Added an option (-vx) to "expect" particular remarks, warnings and
1383errors. If the specified exception is not raised during compilation, the
1384compiler emits an error. This is intended to support the ASL test suite,
1385but may be useful in other contexts.
1386
1387iASL: Implemented a new predefined macro, __METHOD__, which returns a
1388string containing the name of the current control method that is being
1389compiled.
1390
1391iASL: Implemented debugger and table compiler support for the SDEI ACPI
1392table (Software Delegated Exception Interface). James Morse
1393<james.morse@arm.com>
1394
1395Unix/Linux makefiles: Added an option to disable compile optimizations.
1396The disable occurs when the NOOPT flag is set to TRUE.
1397theracermaster@gmail.com
1398
1399Acpidump: Added support for multiple DSDT and FACS tables. This can occur
1400when there are different tables for 32-bit versus 64-bit.
1401
1402Enhanced error reporting for the ASL test suite (ASLTS) by removing
1403unnecessary/verbose text, and emit the actual line number where an error
1404has occurred. These changes are intended to improve the usefulness of the
1405test suite.
1406
1407----------------------------------------
140829 June 2017. Summary of changes for version 20170629:
1409
1410
14111) ACPICA kernel-resident subsystem:
1412
1413Tables: Implemented a deferred ACPI table verification. This is useful
1414for operating systems where the tables cannot be verified in the early
1415initialization stage due to early memory mapping limitations on some
1416architectures. Lv Zheng.
1417
1418Tables: Removed the signature validation for dynamically loaded tables.
1419Provides compatibility with other ACPI implementations. Previously, only
1420SSDT tables were allowed, as per the ACPI specification. Now, any table
1421signature can be used via the Load() operator. Lv Zheng.
1422
1423Tables: Fixed several mutex issues that could cause errors during table
1424acquisition. Lv Zheng.
1425
1426Tables: Fixed a problem where an ACPI warning could be generated if a
1427null pointer was passed to the AcpiPutTable interface. Lv Zheng.
1428
1429Tables: Added a mechanism to handle imbalances for the AcpiGetTable and
1430AcpiPutTable interfaces. This applies to the "late stage" table loading
1431when the use of AcpiPutTable is no longer required (since the system
1432memory manager is fully running and available). Lv Zheng.
1433
1434Fixed/Reverted a regression during processing of resource descriptors
1435that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG
1436exception in this case.
1437
1438Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the
1439I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
1440
1441Interpreter: Fixed a possible fault if an Alias operator with an invalid
1442or duplicate target is encountered during Alias creation in
1443AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
1444
1445Added an option to use designated initializers for function pointers.
1446Kees Cook <keescook@google.com>
1447
1448
14492) iASL Compiler/Disassembler and Tools:
1450
1451iASL: Allow compilation of External declarations with target pathnames
1452that refer to existing named objects within the table. Erik Schmauss.
1453
1454iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a
1455FieldUnit name also is declared via External in the same table. Erik
1456Schmauss.
1457
1458iASL: Allow existing scope names within pathnames used in External
1459statements. For example:
1460    External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
1461    Device (ABCD)
1462
1463iASL: IORT ACPI table: Implemented changes required to decode the new
1464Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table
1465compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
1466
1467Disassembler: Don't abort disassembly on errors from External()
1468statements. Erik Schmauss.
1469
1470Disassembler: fixed a possible fault when one of the Create*Field
1471operators references a Resource Template. ACPICA Bugzilla 1396.
1472
1473iASL: In the source code, resolved some naming inconsistences across the
1474parsing support. Fixes confusion between "Parse Op" and "Parse Node".
1475Adds a new file, aslparseop.c
1476
1477----------------------------------------
147831 May 2017. Summary of changes for version 20170531:
1479
1480
14810) ACPI 6.2 support:
1482
1483The ACPI specification version 6.2 has been released and is available at
1484http://uefi.org/specifications
1485
1486This version of ACPICA fully supports the ACPI 6.2 specification. Changes
1487are summarized below.
1488
1489New ACPI tables (Table Compiler/Disassembler/Templates):
1490    HMAT (Heterogeneous Memory Attributes Table)
1491    WSMT (Windows SMM Security Mitigation Table)
1492    PPTT (Processor Properties Topology Table)
1493
1494New subtables for existing ACPI tables:
1495    HEST (New subtable, Arch-deferred machine check)
1496    SRAT (New subtable, Arch-specific affinity structure)
1497    PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
1498
1499Simple updates for existing ACPI tables:
1500    BGRT (two new flag bits)
1501    HEST (New bit defined for several subtables, GHES_ASSIST)
1502
1503New Resource Descriptors and Resource macros (Compiler/Disassembler):
1504    PinConfig()
1505    PinFunction()
1506    PinGroup()
1507    PinGroupConfig()
1508    PinGroupFunction()
1509    New type for hardware error notification (section 18.3.2.9)
1510
1511New predefined names/methods (Compiler/Interpreter):
1512    _HMA (Heterogeneous Memory Attributes)
1513    _LSI (Label Storage Information)
1514    _LSR (Label Storage Read)
1515    _LSW (Label Storage Write)
1516
1517ASL grammar/macro changes (Compiler):
1518    For() ASL macro, implemented with the AML while operator
1519    Extensions to Concatenate operator
1520    Support for multiple definition blocks in same ASL file
1521    Clarification for Buffer operator
1522    Allow executable AML code underneath all scopes (Devices, etc.)
1523    Clarification/change for the _OSI return value
1524    ASL grammar update for reference operators
1525    Allow a zero-length string for AML filename in DefinitionBlock
1526
1527Miscellaneous:
1528    New device object notification value
1529    Remove a notify value (0x0C) for graceful shutdown
1530    New UUIDs for processor/cache properties and
1531        physical package property
1532    New _HID, ACPI0014 (Wireless Power Calibration Device)
1533
1534
15351) ACPICA kernel-resident subsystem:
1536
1537Added support to disable ACPI events on hardware-reduced platforms.
1538Eliminates error messages of the form "Could not enable fixed event". Lv
1539Zheng
1540
1541Fixed a problem using Device/Thermal objects with the ObjectType and
1542DerefOf ASL operators. This support had not been fully/properly
1543implemented.
1544
1545Fixed a problem where if a Buffer object containing a resource template
1546was longer than the actual resource template, an error was generated --
1547even though the AML is legal. This case has been seen in the field.
1548
1549Fixed a problem with the header definition of the MADT PCAT_COMPAT flag.
1550The values for DUAL_PIC and MULTIPLE_APIC were reversed.
1551
1552Added header file changes for the TPM2 ACPI table. Update to new version
1553of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
1554
1555Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex.
1556These interfaces are intended to be used only in conjunction with the
1557predefined _DLM method (Device Lock Method). "This object appears in a
1558device scope when AML access to the device must be synchronized with the
1559OS environment".
1560
1561Example Code and Data Size: These are the sizes for the OS-independent
1562acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1563debug version of the code includes the debug output trace mechanism and
1564has a much larger code and data size.
1565
1566  Current Release:
1567    Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
1568    Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
1569  Previous Release:
1570    Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1571    Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1572
1573
15742) iASL Compiler/Disassembler and Tools:
1575
1576iASL: Fixed a problem where an External() declaration could not refer to
1577a Field Unit. Erik Schmauss.
1578
1579Disassembler: Improved support for the Switch/Case operators. This
1580feature will disassemble AML code back to the original Switch operators
1581when possible, instead of an If..Else sequence. David Box
1582
1583iASL and disassembler: Improved the handling of multiple extraneous
1584parentheses for both ASL input and disassembled ASL output.
1585
1586Improved the behavior of the iASL compiler and disassembler to detect
1587improper use of external declarations
1588
1589Disassembler: Now aborts immediately upon detection of an unknown AML
1590opcode. The AML parser has no real way to recover from this, and can
1591result in the creation of an ill-formed parse tree that causes errors
1592later during the disassembly.
1593
1594All tools: Fixed a problem where the Unix application OSL did not handle
1595control-c correctly. For example, a control-c could incorrectly wake the
1596debugger.
1597
1598AcpiExec: Improved the Control-C handling and added a handler for
1599segmentation faults (SIGSEGV). Supports both Windows and Unix-like
1600environments.
1601
1602Reduced the verbosity of the generic unix makefiles. Previously, each
1603compilation displayed the full set of compiler options. This has been
1604eliminated as the options are easily inspected within the makefiles. Each
1605compilation now results in a single line of output.
1606
1607----------------------------------------
160803 March 2017. Summary of changes for version 20170303:
1609
1610
16110) ACPICA licensing:
1612
1613The licensing information at the start of each source code module has
1614been updated. In addition to the Intel license, the dual GPLv2/BSD
1615license has been added for completeness. Now, a single version of the
1616source code should be suitable for all ACPICA customers. This is the
1617major change for this release since it affects all source code modules.
1618
1619
16201) ACPICA kernel-resident subsystem:
1621
1622Fixed two issues with the common asltypes.h header that could cause
1623problems in some environments: (Kim Jung-uk)
1624    Removed typedef for YY_BUFFER_STATE ?
1625       Fixes an error with earlier versions of Flex.
1626    Removed use of FILE typedef (which is only defined in stdio.h)
1627
1628
16292) iASL Compiler/Disassembler and Tools:
1630
1631Disassembler: fixed a regression introduced in 20170224. A fix for a
1632memory leak related to resource descriptor tags (names) could fault when
1633the disassembler was generated with 64-bit compilers.
1634
1635The ASLTS test suite has been updated to implement a new testing
1636architecture. During generation of the suite from ASL source, both the
1637ASL and ASL+ compilers are now validated, as well as the disassembler
1638itself (Erik Schmauss). The architecture executes as follows:
1639
1640    For every ASL source module:
1641        Compile (legacy ASL compilation)
1642        Disassemble the resulting AML to ASL+ source code
1643        Compile the new ASL+ module
1644        Perform a binary compare on the legacy AML and the new ASL+ AML
1645    The ASLTS suite then executes normally using the AML binaries.
1646
1647----------------------------------------
164824 February 2017. Summary of changes for version 20170224:
1649
1650
16511) ACPICA kernel-resident subsystem:
1652
1653Interpreter: Fixed two issues with the control method return value auto-
1654repair feature, where an attempt to double-delete an internal object
1655could result in an ACPICA warning (for _CID repair and others). No fault
1656occurs, however, because the attempted deletion (actually a release to an
1657internal cache) is detected and ignored via object poisoning.
1658
1659Debugger: Fixed an AML interpreter mutex issue during the single stepping
1660of control methods. If certain debugger commands are executed during
1661stepping, a mutex acquire/release error could occur. Lv Zheng.
1662
1663Fixed some issues generating ACPICA with the Intel C compiler by
1664restoring the original behavior and compiler-specific include file in
1665acenv.h. Lv Zheng.
1666
1667Example Code and Data Size: These are the sizes for the OS-independent
1668acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1669debug version of the code includes the debug output trace mechanism and
1670has a much larger code and data size.
1671
1672  Current Release:
1673    Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1674    Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1675  Previous Release:
1676    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1677    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1678
1679
16802) iASL Compiler/Disassembler and Tools:
1681
1682iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
1683tool has been designed, implemented, and included in this release. The
1684key feature of this utility is that the original comments within the
1685input ASL file are preserved during the conversion process, and included
1686within the converted ASL+ file -- thus creating a transparent conversion
1687of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
1688
1689    Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with
1690converted code
1691
1692iASL/Disassembler: Improved the detection and correct disassembly of
1693Switch/Case operators. This feature detects sequences of if/elseif/else
1694operators that originated from ASL Switch/Case/Default operators and
1695emits the original operators. David Box.
1696
1697iASL: Improved the IORT ACPI table support in the following areas. Lv
1698Zheng:
1699    Clear MappingOffset if the MappingCount is zero.
1700    Fix the disassembly of the SMMU GSU interrupt offset.
1701    Update the template file for the IORT table.
1702
1703Disassembler: Enhanced the detection and disassembly of resource
1704template/descriptor within a Buffer object. An EndTag descriptor is now
1705required to have a zero second byte, since all known ASL compilers emit
1706this. This helps eliminate incorrect decisions when a buffer is
1707disassembled (false positives on resource templates).
1708
1709----------------------------------------
171019 January 2017. Summary of changes for version 20170119:
1711
1712
17131) General ACPICA software:
1714
1715Entire source code base: Added the 2017 copyright to all source code
1716legal/licensing module headers and utility/tool signons. This includes
1717the standard Linux dual-license header. This affects virtually every file
1718in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and
1719the ACPICA test suite.
1720
1721
17222) iASL Compiler/Disassembler and Tools:
1723
1724iASL: Removed/fixed an inadvertent remark when a method argument
1725containing a reference is used as a target operand within the method (and
1726never used as a simple argument), as in the example below. Jeffrey Hugo.
1727
1728    dsdt.asl   1507:    Store(0x1, Arg0)
1729    Remark   2146 -                ^ Method Argument is never used (Arg0)
1730
1731All tools: Removed the bit width of the compiler that generated the tool
1732from the common signon for all user space tools. This proved to be
1733confusing and unnecessary. This includes similar removal of HARDWARE_NAME
1734from the generic makefiles (Thomas Petazzoni). Example below.
1735
1736    Old:
1737    ASL+ Optimizing Compiler version 20170119-32
1738    ASL+ Optimizing Compiler version 20170119-64
1739
1740    New:
1741    ASL+ Optimizing Compiler version 20170119
1742
1743----------------------------------------
174422 December 2016. Summary of changes for version 20161222:
1745
1746
17471) ACPICA kernel-resident subsystem:
1748
1749AML Debugger: Implemented a new mechanism to simplify and enhance
1750debugger integration into all environments, including kernel debuggers
1751and user-space utilities, as well as remote debug services. This
1752mechanism essentially consists of new OSL interfaces to support debugger
1753initialization/termination, as well as wait/notify interfaces to perform
1754the debugger handshake with the host. Lv Zheng.
1755
1756    New OSL interfaces:
1757        AcpiOsInitializeDebugger (void)
1758        AcpiOsTerminateDebugger (void)
1759        AcpiOsWaitCommandReady (void)
1760        AcpiOsNotifyCommandComplete (void)
1761
1762    New OS services layer:
1763        osgendbg.c -- Example implementation, and used for AcpiExec
1764
1765Update for Generic Address Space (GAS) support: Although the AccessWidth
1766and/or BitOffset fields of the GAS are not often used, this change now
1767fully supports these fields. This affects the internal support for FADT
1768registers, registers in other ACPI data tables, and the AcpiRead and
1769AcpiWrite public interfaces. Lv Zheng.
1770
1771Sleep support: In order to simplify integration of ACPI sleep for the
1772various host operating systems, a new OSL interface has been introduced.
1773AcpiOsEnterSleep allows the host to perform any required operations
1774before the final write to the sleep control register(s) is performed by
1775ACPICA. Lv Zheng.
1776
1777    New OSL interface:
1778        AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
1779
1780    Called from these internal interfaces:
1781        AcpiHwLegacySleep
1782        AcpiHwExtendedSleep
1783
1784EFI support: Added a very small EFI/ACPICA example application. Provides
1785a simple demo for EFI integration, as well as assisting with resolution
1786of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
1787
1788    source/tools/efihello/efihello.c
1789
1790Local C library: Implemented several new functions to enhance ACPICA
1791portability, for environments where these clib functions are not
1792available (such as EFI). Lv Zheng:
1793    putchar
1794    getchar
1795    strpbrk
1796    strtok
1797    memmove
1798
1799Fixed a regression where occasionally a valid resource descriptor was
1800incorrectly detected as invalid at runtime, and a
1801AE_AML_NO_RESOURCE_END_TAG was returned.
1802
1803Fixed a problem with the recently implemented support that enables
1804control method invocations as Target operands to many ASL operators.
1805Warnings of this form: "Needed type [Reference], found [Processor]" were
1806seen at runtime for some method invocations.
1807
1808Example Code and Data Size: These are the sizes for the OS-independent
1809acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1810debug version of the code includes the debug output trace mechanism and
1811has a much larger code and data size.
1812
1813  Current Release:
1814    Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
1815    Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
1816  Previous Release:
1817    Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1818    Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1819
1820
18212) iASL Compiler/Disassembler and Tools:
1822
1823Disassembler: Enhanced output by adding the capability to detect and
1824disassemble ASL Switch/Case statements back to the original ASL source
1825code instead of if/else blocks. David Box.
1826
1827AcpiHelp: Split a large file into separate files based upon
1828functionality/purpose. New files are:
1829    ahaml.c
1830    ahasl.c
1831
1832----------------------------------------
183317 November 2016. Summary of changes for version 20161117:
1834
1835
18361) ACPICA kernel-resident subsystem:
1837
1838Table Manager: Fixed a regression introduced in 20160729, "FADT support
1839cleanup". This was an attempt to remove all references in the source to
1840the FADT version 2, which never was a legal version number. It was
1841skipped because it was an early version of 64-bit support that was
1842eventually abandoned for the current 64-bit support.
1843
1844Interpreter: Fixed a problem where runtime implicit conversion was
1845incorrectly disabled for the ASL operators below. This brings the
1846behavior into compliance with the ACPI specification:
1847    FromBCD
1848    ToBCD
1849    ToDecimalString
1850    ToHexString
1851    ToInteger
1852    ToBuffer
1853
1854Table Manager: Added a new public interface, AcpiPutTable, used to
1855release and free an ACPI table returned by AcpiGetTable and related
1856interfaces. Lv Zheng.
1857
1858Example Code and Data Size: These are the sizes for the OS-independent
1859acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1860debug version of the code includes the debug output trace mechanism and
1861has a much larger code and data size.
1862
1863  Current Release:
1864    Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1865    Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1866  Previous Release:
1867    Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1868    Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1869
1870
18712) iASL Compiler/Disassembler and Tools:
1872
1873Disassembler: Fixed a regression for disassembly of Resource Template.
1874Detection of templates in the AML stream missed some types of templates.
1875
1876iASL: Fixed a problem where an Access Size error was returned for the PCC
1877address space when the AccessSize of the GAS register is greater than a
1878DWORD. Hoan Tran.
1879
1880iASL: Implemented several grammar changes for the operators below. These
1881changes are slated for the next version of the ACPI specification:
1882    RefOf        - Disallow method invocation as an operand
1883    CondRefOf    - Disallow method invocation as an operand
1884    DerefOf      - Disallow operands that use the result from operators
1885that
1886                   do not return a reference (Changed TermArg to
1887SuperName).
1888
1889iASL: Control method invocations are now allowed for Target operands, as
1890per the ACPI specification. Removed error for using a control method
1891invocation as a Target operand.
1892
1893Disassembler: Improved detection of Resource Templates, Unicode, and
1894Strings within Buffer objects. These subtypes do not contain a specific
1895opcode to indicate the originating ASL code, and they must be detected by
1896other means within the disassembler.
1897
1898iASL: Implemented an optimization improvement for 32-bit ACPI tables
1899(DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode
1900only after 64-bit to 32-bit truncation. A truncation warning message is
1901still emitted, however.
1902
1903AcpiXtract: Implemented handling for both types of line terminators (LF
1904or CR/LF) so that it can accept AcpiDump output files from any system.
1905Peter Wu.
1906
1907AcpiBin: Added two new options for comparing AML files:
1908    -a: compare and display ALL mismatches
1909    -o: start compare at this offset into the second file
1910
1911----------------------------------------
191230 September 2016. Summary of changes for version 20160930:
1913
1914
19151) ACPICA kernel-resident subsystem:
1916
1917Fixed a regression in the internal AcpiTbFindTable function where a non
1918AE_OK exception could inadvertently be returned even if the function did
1919not fail. This problem affects the following operators:
1920    DataTableRegion
1921    LoadTable
1922
1923Fixed a regression in the LoadTable operator where a load to any
1924namespace location other than the root no longer worked properly.
1925
1926Increased the maximum loop count value that will result in the
1927AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to
1928prevent infinite loops within the AML interpreter and thus the host OS
1929kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to
19301,048,575).
1931
1932Moved the AcpiGbl_MaxLoopIterations configuration variable to the public
1933acpixf.h file. This allows hosts to easily configure the maximum loop
1934count at runtime.
1935
1936Removed an illegal character in the strtoul64.c file. This character
1937caused errors with some C compilers.
1938
1939Example Code and Data Size: These are the sizes for the OS-independent
1940acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1941debug version of the code includes the debug output trace mechanism and
1942has a much larger code and data size.
1943
1944  Current Release:
1945    Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1946    Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1947  Previous Release:
1948    Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
1949    Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1950
1951
19522) iASL Compiler/Disassembler and Tools:
1953
1954Disassembler: Fixed a problem with the conversion of Else{If{ blocks into
1955the simpler ASL ElseIf keyword. During the conversion, a trailing If
1956block could be lost and missing from the disassembled output.
1957
1958iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+,
1959the missing rule caused a parse error when using the Index operator as an
1960operand to ObjectType. This construct now compiles properly. Example:
1961    ObjectType(PKG1[4]).
1962
1963iASL: Correctly handle unresolved symbols in the hardware map file (-lm
1964option). Previously, unresolved symbols could cause a protection fault.
1965Such symbols are now marked as unresolved in the map file.
1966
1967iASL: Implemented support to allow control method invocations as an
1968operand to the ASL DeRefOf operator. Example:
1969    DeRefOf(MTH1(Local0))
1970
1971Disassembler: Improved support for the ToPLD ASL macro. Detection of a
1972possible _PLD buffer now includes examination of both the normal buffer
1973length (16 or 20) as well as the surrounding AML package length.
1974
1975Disassembler: Fixed a problem with the decoding of complex expressions
1976within the Divide operator for ASL+. For the case where both the quotient
1977and remainder targets are specified, the entire statement cannot be
1978disassembled. Previously, the output incorrectly contained a mix of ASL-
1979and ASL+ operators. This mixed statement causes a syntax error when
1980compiled. Example:
1981    Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly
1982disassembled to:
1983    Divide (INT1 + 6, 128, RSLT, QUOT)
1984
1985iASL/Tools: Added support to process AML and non-AML ACPI tables
1986consistently. For the disassembler and AcpiExec, allow all types of ACPI
1987tables (AML and data tables). For the iASL -e option, allow only AML
1988tables (DSDT/SSDT).
1989
1990----------------------------------------
199131 August 2016. Summary of changes for version 20160831:
1992
1993
19941) ACPICA kernel-resident subsystem:
1995
1996Improve support for the so-called "module-level code", which is defined
1997to be math, logical and control AML opcodes that appear outside of any
1998control method. This change improves the support by adding more opcodes
1999that can be executed in the manner. Some other issues have been solved,
2000and the ASL grammar changes to support such code under all scope
2001operators (Device, etc.) are complete. Lv Zheng.
2002
2003UEFI support: these OSL functions have been implemented. This is an
2004additional step toward supporting the AcpiExec utility natively (with
2005full hardware access) under UEFI. Marcelo Ferreira.
2006    AcpiOsReadPciConfiguration
2007    AcpiOsWritePciConfiguration
2008
2009Fixed a possible mutex error during control method auto-serialization. Lv
2010Zheng.
2011
2012Updated support for the Generic Address Structure by fully implementing
2013all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv
2014Zheng.
2015
2016Updated the return value for the internal _OSI method. Instead of
20170xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF
2018for 64-bit ACPI tables. This fixes an incompatibility with other ACPI
2019implementations, and will be reflected and clarified in the next version
2020of the ACPI specification.
2021
2022Implemented two new table events that can be passed to an ACPICA table
2023handler. These events are used to indicate a table installation or
2024uninstallation. These events are used in addition to existed table load
2025and unload events. Lv Zheng.
2026
2027Implemented a cleanup for all internal string-to-integer conversions.
2028Consolidate multiple versions of this functionality and limit possible
2029bases to either 10 or 16 to simplify the code. Adds a new file,
2030utstrtoul64.
2031
2032Cleanup the inclusion order of the various compiler-specific headers.
2033This simplifies build configuration management. The compiler-specific
2034headers are now split out from the host-specific headers. Lv Zheng.
2035
2036Example Code and Data Size: These are the sizes for the OS-independent
2037acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2038debug version of the code includes the debug output trace mechanism and
2039has a much larger code and data size.
2040
2041  Current Release:
2042    Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
2043    Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
2044
2045
20462) iASL Compiler/Disassembler and Tools:
2047
2048iASL/AcpiExec: Added a command line option to display the build date/time
2049of the tool (-vd). This can be useful to verify that the correct version
2050of the tools are being used.
2051
2052AML Debugger: Implemented a new subcommand ("execute predef") to execute
2053all predefined control methods and names within the current namespace.
2054This can be useful for debugging problems with ACPI tables and the ACPI
2055namespace.
2056
2057----------------------------------------
205829 July 2016. Summary of changes for version 20160729:
2059
2060
20611) ACPICA kernel-resident subsystem:
2062
2063Implemented basic UEFI support for the various ACPICA tools. This
2064includes:
20651) An OSL to implement the various AcpiOs* interfaces on UEFI.
20662) Support to obtain the ACPI tables on UEFI.
20673) Local implementation of required C library functions not available on
2068UEFI.
20694) A front-end (main) function for the tools for UEFI-related
2070initialization.
2071
2072The initial deployment of this support is the AcpiDump utility executing
2073as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit").
2074Current environments supported are Linux/Unix. MSVC generation is not
2075supported at this time. See the generate/efi/README file for build
2076instructions. Lv Zheng.
2077
2078Future plans include porting the AcpiExec utility to execute natively on
2079the platform with I/O and memory access. This will allow viewing/dump of
2080the platform namespace and native execution of ACPI control methods that
2081access the actual hardware. To fully implement this support, the OSL
2082functions below must be implemented with UEFI interfaces. Any community
2083help in the implementation of these functions would be appreciated:
2084    AcpiOsReadPort
2085    AcpiOsWritePort
2086    AcpiOsReadMemory
2087    AcpiOsWriteMemory
2088    AcpiOsReadPciConfiguration
2089    AcpiOsWritePciConfiguration
2090
2091Restructured and standardized the C library configuration for ACPICA,
2092resulting in the various configuration options below. This includes a
2093global restructuring of the compiler-dependent and platform-dependent
2094include files. These changes may affect the existing platform-dependent
2095configuration files on some hosts. Lv Zheng.
2096
2097The current C library configuration options appear below. For any issues,
2098it may be helpful to examine the existing compiler-dependent and
2099platform-dependent files as examples. Lv Zheng.
2100
21011) Linux kernel:
2102    ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
2103library.
2104    ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
21052) Unix/Windows/BSD applications:
2106    ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C
2107library.
2108    ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
21093) UEFI applications:
2110    ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
2111library.
2112    ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
21134) UEFI applications (EDK2/StdLib):
2114    ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
2115    ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
2116
2117
2118AML interpreter: "module-level code" support. Allows for execution of so-
2119called "executable" AML code (math/logical operations, etc.) outside of
2120control methods not just at the module level (top level) but also within
2121any scope declared outside of a control method - Scope{}, Device{},
2122Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng.
2123
2124Simplified the configuration of the "maximum AML loops" global option by
2125adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be
2126modified at runtime.
2127
2128
2129Example Code and Data Size: These are the sizes for the OS-independent
2130acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2131debug version of the code includes the debug output trace mechanism and
2132has a much larger code and data size.
2133
2134  Current Release:
2135    Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
2136    Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
2137
2138
21392) iASL Compiler/Disassembler and Tools:
2140
2141iASL: Add full support for the RASF ACPI table (RAS Features Table).
2142Includes disassembler, data table compiler, and header support.
2143
2144iASL Expand "module-level code" support. Allows for
2145compilation/disassembly of so-called "executable" AML code (math/logical
2146operations, etc.) outside of control methods not just at the module level
2147(top level) but also within any scope declared outside of a control
2148method - Scope{}, Device{}, Processor{}, PowerResource{}, and
2149ThermalZone{}.
2150
2151AcpiDump: Added support for dumping all SSDTs on newer versions of
2152Windows. These tables are now easily available -- SSDTs are not available
2153through the registry on older versions.
2154
2155----------------------------------------
215627 May 2016. Summary of changes for version 20160527:
2157
2158
21591) ACPICA kernel-resident subsystem:
2160
2161Temporarily reverted the new arbitrary bit length/alignment support in
2162AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
2163a number of regressions with the new code that need to be fully resolved
2164and tested before this support can be finally integrated into ACPICA.
2165Apologies for any inconveniences these issues may have caused.
2166
2167The ACPI message macros are not configurable (ACPI_MSG_ERROR,
2168ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
2169and ACPI_MSG_BIOS_WARNING). Lv Zheng.
2170
2171Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
2172option. Adds a new return macro, return_STR. Junk-uk Kim.
2173
2174Example Code and Data Size: These are the sizes for the OS-independent
2175acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2176debug version of the code includes the debug output trace mechanism and
2177has a much larger code and data size.
2178
2179  Current Release:
2180    Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
2181    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
2182  Previous Release:
2183    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
2184    Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
2185
2186----------------------------------------
218722 April 2016. Summary of changes for version 20160422:
2188
21891) ACPICA kernel-resident subsystem:
2190
2191Fixed a regression in the GAS (generic address structure) arbitrary bit
2192support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
2193and incorrect return values. Lv Zheng. ACPICA BZ 1270.
2194
2195ACPI 6.0: Added support for new/renamed resource macros. One new argument
2196was added to each of these macros, and the original name has been
2197deprecated. The AML disassembler will always disassemble to the new
2198names. Support for the new macros was added to iASL, disassembler,
2199resource manager, and the acpihelp utility. ACPICA BZ 1274.
2200
2201    I2cSerialBus  -> I2cSerialBusV2
2202    SpiSerialBus  -> SpiSerialBusV2
2203    UartSerialBus -> UartSerialBusV2
2204
2205ACPI 6.0: Added support for a new integer field that was appended to the
2206package object returned by the _BIX method. This adds iASL compile-time
2207and AML runtime error checking. ACPICA BZ 1273.
2208
2209ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
2210Subspace Type2" (Headers, Disassembler, and data table compiler).
2211
2212Example Code and Data Size: These are the sizes for the OS-independent
2213acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2214debug version of the code includes the debug output trace mechanism and
2215has a much larger code and data size.
2216
2217  Current Release:
2218    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
2219    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
2220  Previous Release:
2221    Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
2222    Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
2223
2224
22252) iASL Compiler/Disassembler and Tools:
2226
2227iASL: Implemented an ASL grammar extension to allow/enable executable
2228"module-level code" to be created and executed under the various
2229operators that create new scopes. This type of AML code is already
2230supported in all known AML interpreters, and the grammar change will
2231appear in the next version of the ACPI specification. Simplifies the
2232conditional runtime creation of named objects under these object types:
2233
2234    Device
2235    PowerResource
2236    Processor
2237    Scope
2238    ThermalZone
2239
2240iASL: Implemented a new ASL extension, a "For" loop macro to add greater
2241ease-of-use to the ASL language. The syntax is similar to the
2242corresponding C operator, and is implemented with the existing AML While
2243opcode -- thus requiring no changes to existing AML interpreters.
2244
2245    For (Initialize, Predicate, Update) {TermList}
2246
2247Grammar:
2248    ForTerm :=
2249        For (
2250            Initializer    // Nothing | TermArg => ComputationalData
2251            Predicate      // Nothing | TermArg => ComputationalData
2252            Update         // Nothing | TermArg => ComputationalData
2253        ) {TermList}
2254
2255
2256iASL: The _HID/_ADR detection and validation has been enhanced to search
2257under conditionals in order to allow these objects to be conditionally
2258created at runtime.
2259
2260iASL: Fixed several issues with the constant folding feature. The
2261improvement allows better detection and resolution of statements that can
2262be folded at compile time. ACPICA BZ 1266.
2263
2264iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
2265conversion to the ASL ElseIf operator where incorrect ASL code could be
2266generated.
2267
2268iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
2269sometimes an extra (and extraneous) set of parentheses were emitted for
2270some combinations of operators. Although this did not cause any problems
2271with recompilation of the disassembled code, it made the code more
2272difficult to read. David Box. ACPICA BZ 1231.
2273
2274iASL: Changed to ignore the unreferenced detection for predefined names
2275of resource descriptor elements, when the resource descriptor is
2276created/defined within a control method.
2277
2278iASL: Disassembler: Fix a possible fault with externally declared Buffer
2279objects.
2280
2281----------------------------------------
228218 March 2016. Summary of changes for version 20160318:
2283
22841) ACPICA kernel-resident subsystem:
2285
2286Added support for arbitrary bit lengths and bit offsets for registers
2287defined by the Generic Address Structure. Previously, only aligned bit
2288lengths of 8/16/32/64 were supported. This was sufficient for many years,
2289but recently some machines have been seen that require arbitrary bit-
2290level support. ACPICA BZ 1240. Lv Zheng.
2291
2292Fixed an issue where the \_SB._INI method sometimes must be evaluated
2293before any _REG methods are evaluated. Lv Zheng.
2294
2295Implemented several changes related to ACPI table support
2296(Headers/Disassembler/TableCompiler):
2297NFIT: For ACPI 6.1, updated to add some additional new fields and
2298constants.
2299FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
23006).
2301DMAR: Added new constants per the 10/2014 DMAR spec.
2302IORT: Added new subtable per the 10/2015 IORT spec.
2303HEST: For ACPI 6.1, added new constants and new subtable.
2304DBG2: Added new constants per the 12/2015 DBG2 spec.
2305FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
2306ACPICA BZ 1249.
2307ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
2308
2309Updated header support for the DMAR table to match the current version of
2310the related spec.
2311
2312Added extensions to the ASL Concatenate operator to allow any ACPI object
2313to be passed as an operand. Any object other than Integer/String/Buffer
2314simply returns a string containing the object type. This extends the
2315usefulness of the Printf macros. Previously, Concatenate would abort the
2316control method if a non-data object was encountered.
2317
2318ACPICA source code: Deployed the C "const" keyword across the source code
2319where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
2320
2321Example Code and Data Size: These are the sizes for the OS-independent
2322acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2323debug version of the code includes the debug output trace mechanism and
2324has a much larger code and data size.
2325
2326  Current Release:
2327    Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
2328    Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
2329  Previous Release:
2330    Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
2331    Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
2332
2333
23342) iASL Compiler/Disassembler and Tools:
2335
2336iASL/Disassembler: Improved the heuristic used to determine the number of
2337arguments for an externally defined control method (a method in another
2338table). Although this is an improvement, there is no deterministic way to
2339"guess" the number of method arguments. Only the ACPI 6.0 External opcode
2340will completely solve this problem as it is deployed (automatically) in
2341newer BIOS code.
2342
2343iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
2344statements that could cause errors when the disassembled file is
2345compiled. ACPICA BZ 1243. David Box.
2346
2347iASL: Fixed a regression caused by the merger of the two versions of the
2348local strtoul64. Because of a dependency on a global variable, strtoul64
2349could return an error for integers greater than a 32-bit value. ACPICA BZ
23501260.
2351
2352iASL: Fixed a regression where a fault could occur for an ASL Return
2353statement if it invokes a control method that is not resolved. ACPICA BZ
23541264.
2355
2356AcpiXtract: Improved input file validation: detection of binary files and
2357non-acpidump text files.
2358
2359----------------------------------------
236012 February 2016. Summary of changes for version 20160212:
2361
23621) ACPICA kernel-resident subsystem:
2363
2364Implemented full support for the ACPI 6.1 specification (released in
2365January). This version of the specification is available at:
2366http://www.uefi.org/specifications
2367
2368Only a relatively small number of changes were required in ACPICA to
2369support ACPI 6.1, in these areas:
2370- New predefined names
2371- New _HID values
2372- A new subtable for HEST
2373- A few other header changes for new values
2374
2375Ensure \_SB_._INI is executed before any _REG methods are executed. There
2376appears to be existing BIOS code that relies on this behavior. Lv Zheng.
2377
2378Reverted a change made in version 20151218 which enabled method
2379invocations to be targets of various ASL operators (SuperName and Target
2380grammar elements). While the new behavior is supported by the ACPI
2381specification, other AML interpreters do not support this behavior and
2382never will. The ACPI specification will be updated for ACPI 6.2 to remove
2383this support. Therefore, the change was reverted to the original ACPICA
2384behavior.
2385
2386ACPICA now supports the GCC 6 compiler.
2387
2388Current Release: (Note: build changes increased sizes)
2389    Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
2390    Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
2391Previous Release:
2392    Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2393    Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
2394
2395
23962) iASL Compiler/Disassembler and Tools:
2397
2398Completed full support for the ACPI 6.0 External() AML opcode. The
2399compiler emits an external AML opcode for each ASL External statement.
2400This opcode is used by the disassembler to assist with the disassembly of
2401external control methods by specifying the required number of arguments
2402for the method. AML interpreters do not use this opcode. To ensure that
2403interpreters do not even see the opcode, a block of one or more external
2404opcodes is surrounded by an "If(0)" construct. As this feature becomes
2405commonly deployed in BIOS code, the ability of disassemblers to correctly
2406disassemble AML code will be greatly improved. David Box.
2407
2408iASL: Implemented support for an optional cross-reference output file.
2409The -lx option will create a the cross-reference file with the suffix
2410"xrf". Three different types of cross-reference are created in this file:
2411- List of object references made from within each control method
2412- Invocation (caller) list for each user-defined control method
2413- List of references to each non-method object in the namespace
2414
2415iASL: Method invocations as ASL Target operands are now disallowed and
2416flagged as errors in preparation for ACPI 6.2 (see the description of the
2417problem above).
2418
2419----------------------------------------
24208 January 2016. Summary of changes for version 20160108:
2421
24221) ACPICA kernel-resident subsystem:
2423
2424Updated all ACPICA copyrights and signons to 2016: Added the 2016
2425copyright to all source code module headers and utility/tool signons.
2426This includes the standard Linux dual-license header. This affects
2427virtually every file in the ACPICA core subsystem, iASL compiler, all
2428ACPICA utilities, and the ACPICA test suite.
2429
2430Fixed a regression introduced in version 20151218 concerning the
2431execution of so-called module-level ASL/AML code. Namespace objects
2432created under a module-level If() construct were not properly/fully
2433entered into the namespace and could cause an interpreter fault when
2434accessed.
2435
2436Example Code and Data Size: These are the sizes for the OS-independent
2437acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2438debug version of the code includes the debug output trace mechanism and
2439has a much larger code and data size.
2440
2441Current Release:
2442    Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2443    Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
2444  Previous Release:
2445    Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2446    Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
2447
2448
24492) iASL Compiler/Disassembler and Tools:
2450
2451Fixed a problem with the compilation of the GpioIo and GpioInt resource
2452descriptors. The _PIN field name was incorrectly defined to be an array
2453of 32-bit values, but the _PIN values are in fact 16 bits each. This
2454would cause incorrect bit width warnings when using Word (16-bit) fields
2455to access the descriptors.
2456
2457
2458----------------------------------------
245918 December 2015. Summary of changes for version 20151218:
2460
24611) ACPICA kernel-resident subsystem:
2462
2463Implemented per-AML-table execution of "module-level code" as individual
2464ACPI tables are loaded into the namespace during ACPICA initialization.
2465In other words, any module-level code within an AML table is executed
2466immediately after the table is loaded, instead of batched and executed
2467after all of the tables have been loaded. This provides compatibility
2468with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
2469David Box.
2470
2471To fully support the feature above, the default operation region handlers
2472for the SystemMemory, SystemIO, and PCI_Config address spaces are now
2473installed before any ACPI tables are loaded. This enables module-level
2474code to access these address spaces during the table load and module-
2475level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
2476Box.
2477
2478Implemented several changes to the internal _REG support in conjunction
2479with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
2480utilities for the changes above. Although these tools were changed, host
2481operating systems that simply use the default handlers for SystemMemory,
2482SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
2483
2484For example, in the code below, DEV1 is conditionally added to the
2485namespace by the DSDT via module-level code that accesses an operation
2486region. The SSDT references DEV1 via the Scope operator. DEV1 must be
2487created immediately after the DSDT is loaded in order for the SSDT to
2488successfully reference DEV1. Previously, this code would cause an
2489AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
2490fully supported by ACPICA.
2491
2492    DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
2493    {
2494        OperationRegion (OPR1, SystemMemory, 0x400, 32)
2495        Field (OPR1, AnyAcc, NoLock, Preserve)
2496        {
2497            FLD1, 1
2498        }
2499        If (FLD1)
2500        {
2501            Device (\DEV1)
2502            {
2503            }
2504        }
2505    }
2506    DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
2507    {
2508        External (\DEV1, DeviceObj)
2509        Scope (\DEV1)
2510        {
2511        }
2512    }
2513
2514Fixed an AML interpreter problem where control method invocations were
2515not handled correctly when the invocation was itself a SuperName argument
2516to another ASL operator. In these cases, the method was not invoked.
2517ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
2518argument:
2519    Store
2520    Acquire, Wait
2521    CondRefOf, RefOf
2522    Decrement, Increment
2523    Load, Unload
2524    Notify
2525    Signal, Release, Reset
2526    SizeOf
2527
2528Implemented automatic String-to-ObjectReference conversion support for
2529packages returned by predefined names (such as _DEP). A common BIOS error
2530is to add double quotes around an ObjectReference namepath, which turns
2531the reference into an unexpected string object. This support detects the
2532problem and corrects it before the package is returned to the caller that
2533invoked the method. Lv Zheng.
2534
2535Implemented extensions to the Concatenate operator. Concatenate now
2536accepts any type of object, it is not restricted to simply
2537Integer/String/Buffer. For objects other than these 3 basic data types,
2538the argument is treated as a string containing the name of the object
2539type. This expands the utility of Concatenate and the Printf/Fprintf
2540macros. ACPICA BZ 1222.
2541
2542Cleaned up the output of the ASL Debug object. The timer() value is now
2543optional and no longer emitted by default. Also, the basic data types of
2544Integer/String/Buffer are simply emitted as their values, without a data
2545type string -- since the data type is obvious from the output. ACPICA BZ
25461221.
2547
2548Example Code and Data Size: These are the sizes for the OS-independent
2549acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2550debug version of the code includes the debug output trace mechanism and
2551has a much larger code and data size.
2552
2553  Current Release:
2554    Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2555    Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
2556  Previous Release:
2557    Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2558    Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2559
2560
25612) iASL Compiler/Disassembler and Tools:
2562
2563iASL: Fixed some issues with the ASL Include() operator. This operator
2564was incorrectly defined in the iASL parser rules, causing a new scope to
2565be opened for the code within the include file. This could lead to
2566several issues, including allowing ASL code that is technically illegal
2567and not supported by AML interpreters. Note, this does not affect the
2568related #include preprocessor operator. ACPICA BZ 1212.
2569
2570iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
2571operator is essentially an ASL macro since there is no AML opcode
2572associated with it. The code emitted by the iASL compiler for ElseIf is
2573an Else opcode followed immediately by an If opcode. The disassembler
2574will now emit an ElseIf if it finds an Else immediately followed by an
2575If. This simplifies the decoded ASL, especially for deeply nested
2576If..Else and large Switch constructs. Thus, the disassembled code more
2577closely follows the original source ASL. ACPICA BZ 1211. Example:
2578
2579    Old disassembly:
2580        Else
2581        {
2582            If (Arg0 == 0x02)
2583            {
2584                Local0 = 0x05
2585            }
2586        }
2587
2588    New disassembly:
2589        ElseIf (Arg0 == 0x02)
2590        {
2591            Local0 = 0x05
2592        }
2593
2594AcpiExec: Added support for the new module level code behavior and the
2595early region installation. This required a small change to the
2596initialization, since AcpiExec must install its own operation region
2597handlers.
2598
2599AcpiExec: Added support to make the debug object timer optional. Default
2600is timer disabled. This cleans up the debug object output -- the timer
2601data is rarely used.
2602
2603AcpiExec: Multiple ACPI tables are now loaded in the order that they
2604appear on the command line. This can be important when there are
2605interdependencies/references between the tables.
2606
2607iASL/Templates. Add support to generate template files with multiple
2608SSDTs within a single output file. Also added ommand line support to
2609specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
26101223, 1225.
2611
2612
2613----------------------------------------
261424 November 2015. Summary of changes for version 20151124:
2615
26161) ACPICA kernel-resident subsystem:
2617
2618Fixed a possible regression for a previous update to FADT handling. The
2619FADT no longer has a fixed table ID, causing some issues with code that
2620was hardwired to a specific ID. Lv Zheng.
2621
2622Fixed a problem where the method auto-serialization could interfere with
2623the current SyncLevel. This change makes the auto-serialization support
2624transparent to the SyncLevel support and management.
2625
2626Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
2627interface is intended for early access to the namespace during the
2628initial namespace device discovery walk. The _SUB method has been seen to
2629access operation regions in some cases, causing errors because the
2630operation regions are not fully initialized.
2631
2632AML Debugger: Fixed some issues with the terminate/quit/exit commands
2633that can cause faults. Lv Zheng.
2634
2635AML Debugger: Add thread ID support so that single-step mode only applies
2636to the AML Debugger thread. This prevents runtime errors within some
2637kernels. Lv Zheng.
2638
2639Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
2640methods that are invoked by this interface are optional, removed warnings
2641emitted for the case where one or more of these methods do not exist.
2642ACPICA BZ 1208, original change by Prarit Bhargava.
2643
2644Made a major pass through the entire ACPICA source code base to
2645standardize formatting that has diverged a bit over time. There are no
2646functional changes, but this will of course cause quite a few code
2647differences from the previous ACPICA release.
2648
2649Example Code and Data Size: These are the sizes for the OS-independent
2650acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2651debug version of the code includes the debug output trace mechanism and
2652has a much larger code and data size.
2653
2654  Current Release:
2655    Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2656    Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2657  Previous Release:
2658    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2659    Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2660
2661
26622) iASL Compiler/Disassembler and Tools:
2663
2664iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
2665definition blocks within a single ASL file and the resulting AML file.
2666Support for this type of file was also added to the various tools that
2667use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
2668example code below shows two definition blocks within the same file:
2669
2670    DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
26710x12345678)
2672    {
2673    }
2674    DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
2675    {
2676    }
2677
2678iASL: Enhanced typechecking for the Name() operator. All expressions for
2679the value of the named object must be reduced/folded to a single constant
2680at compile time, as per the ACPI specification (the AML definition of
2681Name()).
2682
2683iASL: Fixed some code indentation issues for the -ic and -ia options (C
2684and assembly headers). Now all emitted code correctly begins in column 1.
2685
2686iASL: Added an error message for an attempt to open a Scope() on an
2687object defined in an SSDT. The DSDT is always loaded into the namespace
2688first, so any attempt to open a Scope on an SSDT object will fail at
2689runtime.
2690
2691
2692----------------------------------------
269330 September 2015. Summary of changes for version 20150930:
2694
26951) ACPICA kernel-resident subsystem:
2696
2697Debugger: Implemented several changes and bug fixes to assist support for
2698the in-kernel version of the AML debugger. Lv Zheng.
2699- Fix the "predefined" command for in-kernel debugger.
2700- Do not enter debug command loop for the help and version commands.
2701- Disallow "execute" command during execution/single-step of a method.
2702
2703Interpreter: Updated runtime typechecking for all operators that have
2704target operands. The operand is resolved and validated that it is legal.
2705For example, the target cannot be a non-data object such as a Device,
2706Mutex, ThermalZone, etc., as per the ACPI specification.
2707
2708Debugger: Fixed the double-mutex user I/O handshake to work when local
2709deadlock detection is enabled.
2710
2711Debugger: limited display of method locals and arguments (LocalX and
2712ArgX) to only those that have actually been initialized. This prevents
2713lines of extraneous output.
2714
2715Updated the definition of the NFIT table to correct the bit polarity of
2716one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
2717
2718Example Code and Data Size: These are the sizes for the OS-independent
2719acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2720debug version of the code includes the debug output trace mechanism and
2721has a much larger code and data size.
2722
2723  Current Release:
2724    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2725    Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2726  Previous Release:
2727    Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2728    Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2729
2730
27312) iASL Compiler/Disassembler and Tools:
2732
2733iASL: Improved the compile-time typechecking for operands of many of the
2734ASL operators:
2735
2736-- Added an option to disable compiler operand/operator typechecking (-
2737ot).
2738
2739-- For the following operators, the TermArg operands are now validated
2740when possible to be Integer data objects: BankField, OperationRegion,
2741DataTableRegion, Buffer, and Package.
2742
2743-- Store (Source, Target): Both the source and target operands are
2744resolved and checked that the operands are both legal. For example,
2745neither operand can be a non-data object such as a Device, Mutex,
2746ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
2747operator can be used to store an object to any type of target object.
2748
2749-- Store (Source, Target): If the source is a Package object, the target
2750must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
2751is a Package, the source must also be a Package.
2752
2753-- Store (Source, Target): A warning is issued if the source and target
2754resolve to the identical named object.
2755
2756-- Store (Source, <method invocation>): An error is generated for the
2757target method invocation, as this construct is not supported by the AML
2758interpreter.
2759
2760-- For all ASL math and logic operators, the target operand must be a
2761data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
2762includes the function return value also.
2763
2764-- External declarations are also included in the typechecking where
2765possible. External objects defined using the UnknownObj keyword cannot be
2766typechecked, however.
2767
2768iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
2769operator:
2770- Legacy code: Index(PKG1, 3)
2771- New ASL+ code: PKG1[3]
2772This completes the ACPI 6.0 ASL+ support as it was the only operator not
2773supported.
2774
2775iASL: Fixed the file suffix for the preprocessor output file (.i). Two
2776spaces were inadvertently appended to the filename, causing file access
2777and deletion problems on some systems.
2778
2779ASL Test Suite (ASLTS): Updated the master makefile to generate all
2780possible compiler output files when building the test suite -- thus
2781exercising these features of the compiler. These files are automatically
2782deleted when the test suite exits.
2783
2784
2785----------------------------------------
278618 August 2015. Summary of changes for version 20150818:
2787
27881) ACPICA kernel-resident subsystem:
2789
2790Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
2791Zheng. ACPICA BZ 1186.
2792
2793Completed development to ensure that the ACPICA Disassembler and Debugger
2794are fully standalone components of ACPICA. Removed cross-component
2795dependences. Lv Zheng.
2796
2797The max-number-of-AML-loops is now runtime configurable (previously was
2798compile-time only). This is essentially a loop timeout to force-abort
2799infinite AML loops. ACPCIA BZ 1192.
2800
2801Debugger: Cleanup output to dump ACPI names and namepaths without any
2802trailing underscores. Lv Zheng. ACPICA BZ 1135.
2803
2804Removed unnecessary conditional compilations across the Debugger and
2805Disassembler components where entire modules could be left uncompiled.
2806
2807The aapits test is deprecated and has been removed from the ACPICA git
2808tree. The test has never been completed and has not been maintained, thus
2809becoming rather useless. ACPICA BZ 1015, 794.
2810
2811A batch of small changes to close bugzilla and other reports:
2812- Remove duplicate code for _PLD processing. ACPICA BZ 1176.
2813- Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
2814- iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
2815- ACPI table support: general cleanup and simplification. Lv Zheng, Bob
2816Moore.
2817- ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
2818ACPICA BZ 1184.
2819- Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
2820operators.
2821- Debugger: Split debugger initialization/termination interfaces. Lv
2822Zheng.
2823- AcpiExec: Emit OemTableId for SSDTs during the load phase for table
2824identification.
2825- AcpiExec: Add debug message during _REG method phase during table
2826load/init.
2827- AcpiNames: Fix a regression where some output was missing and no longer
2828emitted.
2829- Debugger: General cleanup and simplification. Lv Zheng.
2830- Disassembler: Cleanup use of several global option variables. Lv Zheng.
2831
2832Example Code and Data Size: These are the sizes for the OS-independent
2833acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2834debug version of the code includes the debug output trace mechanism and
2835has a much larger code and data size.
2836
2837  Current Release:
2838    Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2839    Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2840  Previous Release:
2841    Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2842    Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2843
2844
28452) iASL Compiler/Disassembler and Tools:
2846
2847AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
2848were not handled properly and caused load errors. Now, properly invoke
2849and use the ACPICA auto-reallocate mechanism for ACPI table data
2850structures. ACPICA BZ 1188
2851
2852AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
2853BZ 1190.
2854
2855AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
2856AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
2857executed during initialization. ACPICA BZ 1187, 1189.
2858
2859iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
2860that corresponds to each disassembled ASL statement, to simplify
2861debugging. ACPICA BZ 1191.
2862
2863Debugger: Add option to the "objects" command to display a summary of the
2864current namespace objects (Object type and count). This is displayed if
2865the command is entered with no arguments.
2866
2867AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
2868
2869
2870----------------------------------------
287117 July 2015. Summary of changes for version 20150717:
2872
28731) ACPICA kernel-resident subsystem:
2874
2875Improved the partitioning between the Debugger and Disassembler
2876components. This allows the Debugger to be used standalone within kernel
2877code without the Disassembler (which is used for single stepping also).
2878This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
2879
2880Debugger: Implemented a new command to trace the execution of control
2881methods (Trace). This is especially useful for the in-kernel version of
2882the debugger when file I/O may not be available for method trace output.
2883See the ACPICA reference for more information. Lv Zheng.
2884
2885Moved all C library prototypes (used for the local versions of these
2886functions when requested) to a new header, acclib.h
2887Cleaned up the use of non-ANSI C library functions. These functions are
2888implemented locally in ACPICA. Moved all such functions to a common
2889source file, utnonansi.c
2890
2891Debugger: Fixed a problem with the "!!" command (get last command
2892executed) where the debugger could enter an infinite loop and eventually
2893crash.
2894
2895Removed the use of local macros that were used for some of the standard C
2896library functions to automatically cast input parameters. This mostly
2897affected the is* functions where the input parameter is defined to be an
2898int. This required a few modifications to the main ACPICA source code to
2899provide casting for these functions and eliminate possible compiler
2900warnings for these parameters.
2901
2902Across the source code, added additional status/error checking to resolve
2903issues discovered by static source code analysis tools such as Coverity.
2904
2905Example Code and Data Size: These are the sizes for the OS-independent
2906acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2907debug version of the code includes the debug output trace mechanism and
2908has a much larger code and data size.
2909
2910  Current Release:
2911    Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2912    Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2913  Previous Release:
2914    Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2915    Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2916
2917
29182) iASL Compiler/Disassembler and Tools:
2919
2920iASL: Fixed a regression where the device map file feature no longer
2921worked properly when used in conjunction with the disassembler. It only
2922worked properly with the compiler itself.
2923
2924iASL: Implemented a new warning for method LocalX variables that are set
2925but never used (similar to a C compiler such as gcc). This also applies
2926to ArgX variables that are not defined by the parent method, and are
2927instead (legally) used as local variables.
2928
2929iASL/Preprocessor: Finished the pass-through of line numbers from the
2930preprocessor to the compiler. This ensures that compiler errors/warnings
2931have the correct original line numbers and filenames, regardless of any
2932#include files.
2933
2934iASL/Preprocessor: Fixed a couple of issues with comment handling and the
2935pass-through of comments to the preprocessor output file (which becomes
2936the compiler input file). Also fixed a problem with // comments that
2937appear after a math expression.
2938
2939iASL: Added support for the TCPA server table to the table compiler and
2940template generator. (The client table was already previously supported)
2941
2942iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
2943identify the iASL compiler.
2944
2945Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
2946multiple times. The new names are ACPI_SIGN_NEGATIVE and
2947ACPI_SIGN_POSITIVE.
2948
2949AcpiHelp: Update to expand help messages for the iASL preprocessor
2950directives.
2951
2952
2953----------------------------------------
295419 June 2015. Summary of changes for version 20150619:
2955
2956Two regressions in version 20150616 have been addressed:
2957
2958Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
2959etc.) This update changes ACPICA to only use the standard headers for
2960functions, or the prototypes for the local versions of the C library
2961functions. Across the source code, this required some additional casts
2962for some Clib invocations for portability. Moved all local prototypes to
2963a new file, acclib.h
2964
2965Fixes several problems with recent changes to the handling of the FACS
2966table that could cause some systems not to boot.
2967
2968
2969----------------------------------------
297016 June 2015. Summary of changes for version 20150616:
2971
2972
29731) ACPICA kernel-resident subsystem:
2974
2975Across the entire ACPICA source code base, the various macros for the C
2976library functions (such as ACPI_STRLEN, etc.) have been removed and
2977replaced by the standard C library names (strlen, etc.) The original
2978purpose for these macros is no longer applicable. This simplification
2979reduces the number of macros used in the ACPICA source code
2980significantly, improving readability and maintainability.
2981
2982Implemented support for a new ACPI table, the OSDT. This table, the
2983"override" SDT, can be loaded directly by the host OS at boot time. It
2984enables the replacement of existing namespace objects that were installed
2985via the DSDT and/or SSDTs. The primary purpose for this is to replace
2986buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
2987for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
2988Moore.
2989
2990Added support for systems with (improperly) two FACS tables -- a "32-bit"
2991table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
2992X field). This change will support both automatically. There continues to
2993be systems found with this issue. This support requires a change to the
2994AcpiSetFirmwareWakingVector interface. Also, a public global variable has
2995been added to allow the host to select which FACS is desired
2996(AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
2997details Lv Zheng.
2998
2999Added a new feature to allow for systems that do not contain an FACS.
3000Although this is already supported on hardware-reduced platforms, the
3001feature has been extended for all platforms. The reasoning is that we do
3002not want to abort the entire ACPICA initialization just because the
3003system is seriously buggy and has no FACS.
3004
3005Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
3006not correctly transcribed from the ACPI specification in ACPICA version
300720150515.
3008
3009Implemented support for the _CLS object in the AcpiGetObjectInfo external
3010interface.
3011
3012Updated the definitions of the TCPA and TPM2 ACPI tables to the more
3013recent TCG ACPI Specification, December 14, 2014. Table disassembler and
3014compiler also updated. Note: The TCPA "server" table is not supported by
3015the disassembler/table-compiler at this time.
3016
3017ACPI 6.0: Added definitions for the new GIC version field in the MADT.
3018
3019Example Code and Data Size: These are the sizes for the OS-independent
3020acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3021debug version of the code includes the debug output trace mechanism and
3022has a much larger code and data size.
3023
3024  Current Release:
3025    Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
3026    Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
3027  Previous Release:
3028    Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
3029    Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
3030
3031
30322) iASL Compiler/Disassembler and Tools:
3033
3034Disassembler: Fixed a problem with the new symbolic operator disassembler
3035where incorrect ASL code could be emitted in some cases for the "non-
3036commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
3037ShiftRight. The actual problem cases seem to be rather unusual in common
3038ASL code, however. David Box.
3039
3040Modified the linux version of acpidump to obtain ACPI tables from not
3041just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
3042Zheng.
3043
3044iASL: Fixed a problem where the user preprocessor output file (.i)
3045contained extra data that was not expected. The compiler was using this
3046file as a temporary file and passed through #line directives in order to
3047keep compiler error messages in sync with the input file and line number
3048across multiple include files. The (.i) is no longer a temporary file as
3049the compiler uses a new, different file for the original purpose.
3050
3051iASL: Fixed a problem where comments within the original ASL source code
3052file were not passed through to the preprocessor output file, nor any
3053listing files.
3054
3055iASL: Fixed some issues for the handling of the "#include" preprocessor
3056directive and the similar (but not the same) "Include" ASL operator.
3057
3058iASL: Add support for the new OSDT in both the disassembler and compiler.
3059
3060iASL: Fixed a problem with the constant folding support where a Buffer
3061object could be incorrectly generated (incorrectly formed) during a
3062conversion to a Store() operator.
3063
3064AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
3065description text for the _REV predefined name. _REV now permanently
3066returns 2, as per the ACPI 6.0 specification.
3067
3068Debugger: Enhanced the output of the Debug ASL object for references
3069produced by the Index operator. For Buffers and strings, only output the
3070actual byte pointed to by the index. For packages, only print the single
3071package element decoded by the index. Previously, the entire
3072buffer/string/package was emitted.
3073
3074iASL/Table-compiler: Fixed a regression where the "generic" data types
3075were no longer recognized, causing errors.
3076
3077
3078----------------------------------------
307915 May 2015. Summary of changes for version 20150515:
3080
3081This release implements most of ACPI 6.0 as described below.
3082
30831) ACPICA kernel-resident subsystem:
3084
3085Implemented runtime argument checking and return value checking for all
3086new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
3087_MTL, _PRR, _RDI, _RST, _TFP, _TSN.
3088
3089Example Code and Data Size: These are the sizes for the OS-independent
3090acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3091debug version of the code includes the debug output trace mechanism and
3092has a much larger code and data size.
3093
3094  Current Release:
3095    Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
3096    Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
3097  Previous Release:
3098    Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
3099    Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
3100
3101
31022) iASL Compiler/Disassembler and Tools:
3103
3104iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
3105names (argument count validation and return value typechecking.)
3106
3107iASL disassembler and table compiler: implemented support for all new
3108ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
3109
3110iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
3111tables: FADT, MADT.
3112
3113iASL preprocessor: Added a new directive to enable inclusion of binary
3114blobs into ASL code. The new directive is #includebuffer. It takes a
3115binary file as input and emits a named ascii buffer object into the ASL
3116code.
3117
3118AcpiHelp: Added support for all new ACPI 6.0 predefined names.
3119
3120AcpiHelp: Added a new option, -d, to display all iASL preprocessor
3121directives.
3122
3123AcpiHelp: Added a new option, -t, to display all known/supported ACPI
3124tables.
3125
3126
3127----------------------------------------
312810 April 2015. Summary of changes for version 20150410:
3129
3130Reverted a change introduced in version 20150408 that caused
3131a regression in the disassembler where incorrect operator
3132symbols could be emitted.
3133
3134
3135----------------------------------------
313608 April 2015. Summary of changes for version 20150408:
3137
3138
31391) ACPICA kernel-resident subsystem:
3140
3141Permanently set the return value for the _REV predefined name. It now
3142returns 2 (was 5). This matches other ACPI implementations. _REV will be
3143deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
3144for ACPI 2.0 and later. It should never be used to differentiate or
3145identify operating systems.
3146
3147Added the "Windows 2015" string to the _OSI support. ACPICA will now
3148return TRUE to a query with this string.
3149
3150Fixed several issues with the local version of the printf function.
3151
3152Added the C99 compiler option (-std=c99) to the Unix makefiles.
3153
3154  Current Release:
3155    Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
3156    Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
3157  Previous Release:
3158    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
3159    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
3160
3161
31622) iASL Compiler/Disassembler and Tools:
3163
3164iASL: Implemented an enhancement to the constant folding feature to
3165transform the parse tree to a simple Store operation whenever possible:
3166    Add (2, 3, X) ==> is converted to: Store (5, X)
3167    X = 2 + 3     ==> is converted to: Store (5, X)
3168
3169Updated support for the SLIC table (Software Licensing Description Table)
3170in both the Data Table compiler and the disassembler. The SLIC table
3171support now conforms to "Microsoft Software Licensing Tables (SLIC and
3172MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
3173following the ACPI header is now defined to be "Proprietary Data", and as
3174such, can only be entered or displayed as a hex data block.
3175
3176Implemented full support for the MSDM table as described in the document
3177above. Note: The format of MSDM is similar to SLIC. Any MSDM data
3178following the ACPI header is defined to be "Proprietary Data", and can
3179only be entered or displayed as a hex data block.
3180
3181Implemented the -Pn option for the iASL Table Compiler (was only
3182implemented for the ASL compiler). This option disables the iASL
3183preprocessor.
3184
3185Disassembler: For disassembly of Data Tables, added a comment field
3186around the Ascii equivalent data that is emitted as part of the "Raw
3187Table Data" block. This prevents the iASL Preprocessor from possible
3188confusion if/when the table is compiled.
3189
3190Disassembler: Added an option (-df) to force the disassembler to assume
3191that the table being disassembled contains valid AML. This feature is
3192useful for disassembling AML files that contain ACPI signatures other
3193than DSDT or SSDT (such as OEMx or other signatures).
3194
3195Changes for the EFI version of the tools:
31961) Fixed a build error/issue
31972) Fixed a cast warning
3198
3199iASL: Fixed a path issue with the __FILE__ operator by making the
3200directory prefix optional within the internal SplitInputFilename
3201function.
3202
3203Debugger: Removed some unused global variables.
3204
3205Tests: Updated the makefile for proper generation of the AAPITS suite.
3206
3207
3208----------------------------------------
320904 February 2015. Summary of changes for version 20150204:
3210
3211ACPICA kernel-resident subsystem:
3212
3213Updated all ACPICA copyrights and signons to 2014. Added the 2014
3214copyright to all module headers and signons, including the standard Linux
3215header. This affects virtually every file in the ACPICA core subsystem,
3216iASL compiler, all ACPICA utilities, and the test suites.
3217
3218Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
3219A raw gpe handling mechanism was created to allow better handling of GPE
3220storms that aren't easily managed by the normal handler. The raw handler
3221allows disabling/renabling of the the GPE so that interrupt storms can be
3222avoided in cases where events cannot be timely serviced. In this
3223scenario, handlers should use the AcpiSetGpe() API to disable/enable the
3224GPE. This API will leave the reference counts undisturbed, thereby
3225preventing unintentional clearing of the GPE when the intent in only to
3226temporarily disable it. Raw handlers allow enabling and disabling of a
3227GPE by removing GPE register locking. As such, raw handlers much provide
3228their own locks while using GPE API's to protect access to GPE data
3229structures.
3230Lv Zheng
3231
3232Events: Always modify GPE registers under the GPE lock.
3233Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
3234values. Reported as bug by joe.liu@apple.com.
3235
3236Unix makefiles: Separate option to disable optimizations and
3237_FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
3238NOOPT disable option and creates a separate flag (NOFORTIFY) for this
3239purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
3240errors when building ACPICA. This allows disabling the option without
3241also having to disable optimazations.
3242David Box
3243
3244  Current Release:
3245    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
3246    Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
3247
3248--
3249--------------------------------------
325007 November 2014. Summary of changes for version 20141107:
3251
3252This release is available at https://acpica.org/downloads
3253
3254This release introduces and implements language extensions to ASL that
3255provide support for symbolic ("C-style") operators and expressions. These
3256language extensions are known collectively as ASL+.
3257
3258
32591) iASL Compiler/Disassembler and Tools:
3260
3261Disassembler: Fixed a problem with disassembly of the UartSerialBus
3262macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
3263Box.
3264
3265Disassembler: Fixed the Unicode macro support to add escape sequences.
3266All non-printable ASCII values are emitted as escape sequences, as well
3267as the standard escapes for quote and backslash. Ensures that the
3268disassembled macro can be correctly recompiled.
3269
3270iASL: Added Printf/Fprintf macros for formatted output. These macros are
3271translated to existing AML Concatenate and Store operations. Printf
3272writes to the ASL Debug object. Fprintf allows the specification of an
3273ASL name as the target. Only a single format specifier is required, %o,
3274since the AML interpreter dynamically converts objects to the required
3275type. David E. Box.
3276
3277    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
3278                 (Concatenate (Concatenate (Concatenate ("", Arg0),
3279                 ": Unexpected value for "), Arg1), ", "), Arg2),
3280                 " at line "), Arg3), Debug)
3281
3282    (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
3283                 Arg0, Arg1, Arg2, Arg3)
3284
3285    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
3286                 ("", Arg1), ": "), Arg0), " Successful"), STR1)
3287
3288    (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
3289
3290iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
3291ASL parse tree before the AML code is generated. This allows blocks of
3292ASL code to be removed in order to help locate and identify problem
3293devices and/or code. David E. Box.
3294
3295AcpiExec: Added support (-fi) for an optional namespace object
3296initialization file. This file specifies initial values for namespace
3297objects as necessary for debugging and testing different ASL code paths
3298that may be taken as a result of BIOS options.
3299
3300
33012) Overview of symbolic operator support for ASL (ASL+)
3302-------------------------------------------------------
3303
3304As an extension to the ASL language, iASL implements support for symbolic
3305(C-style) operators for math and logical expressions. This can greatly
3306simplify ASL code as well as improve both readability and
3307maintainability. These language extensions can exist concurrently with
3308all legacy ASL code and expressions.
3309
3310The symbolic extensions are 100% compatible with existing AML
3311interpreters, since no new AML opcodes are created. To implement the
3312extensions, the iASL compiler transforms the symbolic expressions into
3313the legacy ASL/AML equivalents at compile time.
3314
3315Full symbolic expressions are supported, along with the standard C
3316precedence and associativity rules.
3317
3318Full disassembler support for the symbolic expressions is provided, and
3319creates an automatic migration path for existing ASL code to ASL+ code
3320via the disassembly process. By default, the disassembler now emits ASL+
3321code with symbolic expressions. An option (-dl) is provided to force the
3322disassembler to emit legacy ASL code if desired.
3323
3324Below is the complete list of the currently supported symbolic operators
3325with examples. See the iASL User Guide for additional information.
3326
3327
3328ASL+ Syntax      Legacy ASL Equivalent
3329-----------      ---------------------
3330
3331    // Math operators
3332
3333Z = X + Y        Add (X, Y, Z)
3334Z = X - Y        Subtract (X, Y, Z)
3335Z = X * Y        Multiply (X, Y, Z)
3336Z = X / Y        Divide (X, Y, , Z)
3337Z = X % Y        Mod (X, Y, Z)
3338Z = X << Y       ShiftLeft (X, Y, Z)
3339Z = X >> Y       ShiftRight (X, Y, Z)
3340Z = X & Y        And (X, Y, Z)
3341Z = X | Y        Or (X, Y, Z)
3342Z = X ^ Y        Xor (X, Y, Z)
3343Z = ~X           Not (X, Z)
3344X++              Increment (X)
3345X--              Decrement (X)
3346
3347    // Logical operators
3348
3349(X == Y)         LEqual (X, Y)
3350(X != Y)         LNotEqual (X, Y)
3351(X < Y)          LLess (X, Y)
3352(X > Y)          LGreater (X, Y)
3353(X <= Y)         LLessEqual (X, Y)
3354(X >= Y)         LGreaterEqual (X, Y)
3355(X && Y)         LAnd (X, Y)
3356(X || Y)         LOr (X, Y)
3357(!X)             LNot (X)
3358
3359    // Assignment and compound assignment operations
3360
3361X = Y           Store (Y, X)
3362X += Y          Add (X, Y, X)
3363X -= Y          Subtract (X, Y, X)
3364X *= Y          Multiply (X, Y, X)
3365X /= Y          Divide (X, Y, , X)
3366X %= Y          Mod (X, Y, X)
3367X <<= Y         ShiftLeft (X, Y, X)
3368X >>= Y         ShiftRight (X, Y, X)
3369X &= Y          And (X, Y, X)
3370X |= Y          Or (X, Y, X)
3371X ^= Y          Xor (X, Y, X)
3372
3373
33743) ASL+ Examples:
3375-----------------
3376
3377Legacy ASL:
3378        If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
3379            And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
33800x03FB),
3381            0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
3382        {
3383            And (MEMB, 0xFFFFFFF0, SRMB)
3384            Store (MEMB, Local2)
3385            Store (PDBM, Local1)
3386            And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
3387            Store (SRMB, MEMB)
3388            Or (PDBM, 0x02, PDBM)
3389        }
3390
3391ASL+ version:
3392        If (((R510 & 0x03FB) == 0x02E0) ||
3393            ((R520 & 0x03FB) == 0x02E0) ||
3394            ((R530 & 0x03FB) == 0x02E0) ||
3395            ((R540 & 0x03FB) == 0x02E0))
3396        {
3397            SRMB = (MEMB & 0xFFFFFFF0)
3398            Local2 = MEMB
3399            Local1 = PDBM
3400            PDBM &= 0xFFFFFFFFFFFFFFF9
3401            MEMB = SRMB
3402            PDBM |= 0x02
3403        }
3404
3405Legacy ASL:
3406        Store (0x1234, Local1)
3407        Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
3408        Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
3409        Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
3410        Store (Index (PKG1, 0x03), Local6)
3411        Store (Add (Local3, Local2), Debug)
3412        Add (Local1, 0x0F, Local2)
3413        Add (Local1, Multiply (Local2, Local3), Local2)
3414        Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
3415
3416ASL+ version:
3417        Local1 = 0x1234
3418        Local3 = (((Local1 + TEST) + 0x20) * Local2)
3419        Local3 = (Local2 * ((Local1 + TEST) + 0x20))
3420        Local3 = (Local1 + (TEST + (0x20 * Local2)))
3421        Local6 = Index (PKG1, 0x03)
3422        Debug = (Local3 + Local2)
3423        Local2 = (Local1 + 0x0F)
3424        Local2 = (Local1 + (Local2 * Local3))
3425        Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
3426
3427
3428----------------------------------------
342926 September 2014. Summary of changes for version 20140926:
3430
34311) ACPICA kernel-resident subsystem:
3432
3433Updated the GPIO operation region handler interface (GeneralPurposeIo).
3434In order to support GPIO Connection objects with multiple pins, along
3435with the related Field objects, the following changes to the interface
3436have been made: The Address is now defined to be the offset in bits of
3437the field unit from the previous invocation of a Connection. It can be
3438viewed as a "Pin Number Index" into the connection resource descriptor.
3439The BitWidth is the exact bit width of the field. It is usually one bit,
3440but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
3441additional information and examples.
3442
3443GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
3444corresponding _Lxx/_Exx methods are disabled (they may have been enabled
3445by the firmware), so that they cannot fire until they are enabled via
3446AcpiUpdateAllGpes. Rafael J. Wysocki.
3447
3448Added a new return flag for the Event/GPE status interfaces --
3449AcpiGetEventStatus and AcpiGetGpeStatus. The new
3450ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
3451GPE currently has a handler associated with it, and can thus actually
3452affect the system. Lv Zheng.
3453
3454Example Code and Data Size: These are the sizes for the OS-independent
3455acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3456debug version of the code includes the debug output trace mechanism and
3457has a much larger code and data size.
3458
3459  Current Release:
3460    Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
3461    Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
3462  Previous Release:
3463    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
3464    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
3465
34662) iASL Compiler/Disassembler and Tools:
3467
3468iASL: Fixed a memory allocation/free regression introduced in 20140828
3469that could cause the compiler to crash. This was introduced inadvertently
3470during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
34711113.
3472
3473iASL: Removed two error messages that have been found to create false
3474positives, until they can be fixed and fully validated (ACPICA BZ 1112):
34751) Illegal forward reference within a method
34762) Illegal reference across two methods
3477
3478iASL: Implemented a new option (-lm) to create a hardware mapping file
3479that summarizes all GPIO, I2C, SPI, and UART connections. This option
3480works for both the compiler and disassembler. See the iASL compiler user
3481guide for additional information and examples (section 6.4.6).
3482
3483AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
3484version 2. This corrects the AE_BAD_HEADER exception seen on systems with
3485a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
3486
3487AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
3488unless STDIN is actually a terminal. Assists with batch-mode processing.
3489ACPICA BZ 1114.
3490
3491Disassembler/AcpiHelp: Added another large group of recognized _HID
3492values.
3493
3494
3495----------------------------------------
349628 August 2014. Summary of changes for version 20140828:
3497
34981) ACPICA kernel-resident subsystem:
3499
3500Fixed a problem related to the internal use of the Timer() operator where
3501a 64-bit divide could cause an attempted link to a double-precision math
3502library. This divide is not actually necessary, so the code was
3503restructured to eliminate it. Lv Zheng.
3504
3505ACPI 5.1: Added support for the runtime validation of the _DSD package
3506(similar to the iASL support).
3507
3508ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
3509SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
3510
3511Example Code and Data Size: These are the sizes for the OS-independent
3512acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3513debug version of the code includes the debug output trace mechanism and
3514has a much larger code and data size.
3515
3516  Current Release:
3517    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
3518    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
3519  Previous Release:
3520    Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
3521    Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3522
35232) iASL Compiler/Disassembler and Tools:
3524
3525AcpiExec: Fixed a problem on unix systems where the original terminal
3526state was not always properly restored upon exit. Seen when using the -v
3527option. ACPICA BZ 1104.
3528
3529iASL: Fixed a problem with the validation of the ranges/length within the
3530Memory24 resource descriptor. There was a boundary condition when the
3531range was equal to the (length -1) caused by the fact that these values
3532are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
3533
3534Disassembler: Fixed a problem with the GpioInt descriptor interrupt
3535polarity
3536flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
3537is
3538now supported properly.
3539
3540ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
3541in the disassembler, data table compiler, and table template generator.
3542
3543iASL: Added a requirement for Device() objects that one of either a _HID
3544or _ADR must exist within the scope of a Device, as per the ACPI
3545specification. Remove a similar requirement that was incorrectly in place
3546for the _DSD object.
3547
3548iASL: Added error detection for illegal named references within control
3549methods that would cause runtime failures. Now trapped as errors are: 1)
3550References to objects within a non-parent control method. 2) Forward
3551references (within a method) -- for control methods, AML interpreters use
3552a one-pass parse of control methods. ACPICA BZ 1008.
3553
3554iASL: Added error checking for dependencies related to the _PSx power
3555methods. ACPICA BZ 1029.
35561) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
3557_PS3.
35582) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
3559scope.
3560
3561iASL and table compiler: Cleanup miscellaneous memory leaks by fully
3562deploying the existing object and string caches and adding new caches for
3563the table compiler.
3564
3565iASL: Split the huge parser source file into multiple subfiles to improve
3566manageability. Generation now requires the M4 macro preprocessor, which
3567is part of the Bison distribution on both unix and windows platforms.
3568
3569AcpiSrc: Fixed and removed all extraneous warnings generated during
3570entire ACPICA source code scan and/or conversion.
3571
3572
3573----------------------------------------
3574
357524 July 2014. Summary of changes for version 20140724:
3576
3577The ACPI 5.1 specification has been released and is available at:
3578http://uefi.org/specs/access
3579
3580
35810) ACPI 5.1 support in ACPICA:
3582
3583ACPI 5.1 is fully supported in ACPICA as of this release.
3584
3585New predefined names. Support includes iASL and runtime ACPICA
3586validation.
3587    _CCA (Cache Coherency Attribute).
3588    _DSD (Device-Specific Data). David Box.
3589
3590Modifications to existing ACPI tables. Support includes headers, iASL
3591Data Table compiler, disassembler, and the template generator.
3592    FADT - New fields and flags. Graeme Gregory.
3593    GTDT - One new subtable and new fields. Tomasz Nowicki.
3594    MADT - Two new subtables. Tomasz Nowicki.
3595    PCCT - One new subtable.
3596
3597Miscellaneous.
3598    New notification type for System Resource Affinity change events.
3599
3600
36011) ACPICA kernel-resident subsystem:
3602
3603Fixed a regression introduced in 20140627 where a fault can happen during
3604the deletion of Alias AML namespace objects. The problem affected both
3605the core ACPICA and the ACPICA tools including iASL and AcpiExec.
3606
3607Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
3608simple mechanism to enable wake GPEs that have no associated handler or
3609control method. Rafael Wysocki.
3610
3611Updated the AcpiEnableGpe interface to disallow the enable if there is no
3612handler or control method associated with the particular GPE. This will
3613help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
3614
3615Updated GPE handling and dispatch by disabling the GPE before clearing
3616the status bit for edge-triggered GPEs. Lv Zheng.
3617
3618Added Timer() support to the AML Debug object. The current timer value is
3619now displayed with each invocation of (Store to) the debug object to
3620enable simple generation of execution times for AML code (method
3621execution for example.) ACPICA BZ 1093.
3622
3623Example Code and Data Size: These are the sizes for the OS-independent
3624acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3625debug version of the code includes the debug output trace mechanism and
3626has a much larger code and data size.
3627
3628  Current Release:
3629    Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
3630    Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3631  Previous Release:
3632    Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3633    Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3634
3635
36362) iASL Compiler/Disassembler and Tools:
3637
3638Fixed an issue with the recently added local printf implementation,
3639concerning width/precision specifiers that could cause incorrect output.
3640Lv Zheng. ACPICA BZ 1094.
3641
3642Disassembler: Added support to detect buffers that contain UUIDs and
3643disassemble them to an invocation of the ToUUID operator. Also emit
3644commented descriptions of known ACPI-related UUIDs.
3645
3646AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
3647-u. Adds three new files.
3648
3649iASL: Update table compiler and disassembler for DMAR table changes that
3650were introduced in September 2013. With assistance by David Woodhouse.
3651
3652----------------------------------------
365327 June 2014. Summary of changes for version 20140627:
3654
36551) ACPICA kernel-resident subsystem:
3656
3657Formatted Output: Implemented local versions of standard formatted output
3658utilities such as printf, etc. Over time, it has been discovered that
3659there are in fact many portability issues with printf, and the addition
3660of this feature will fix/prevent these issues once and for all. Some
3661known issues are summarized below:
3662
36631) Output of 64-bit values is not portable. For example, UINT64 is %ull
3664for the Linux kernel and is %uI64 for some MSVC versions.
36652) Invoking printf consistently in a manner that is portable across both
366632-bit and 64-bit platforms is difficult at best in many situations.
36673) The output format for pointers varies from system to system (leading
3668zeros especially), and leads to inconsistent output from ACPICA across
3669platforms.
36704) Certain platform-specific printf formats may conflict with ACPICA use.
36715) If there is no local C library available, ACPICA now has local support
3672for printf.
3673
3674-- To address these printf issues in a complete manner, ACPICA now
3675directly implements a small subset of printf format specifiers, only
3676those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
3677
3678Implemented support for ACPICA generation within the EFI environment.
3679Initially, the AcpiDump utility is supported in the UEFI shell
3680environment. Lv Zheng.
3681
3682Added a new external interface, AcpiLogError, to improve ACPICA
3683portability. This allows the host to redirect error messages from the
3684ACPICA utilities. Lv Zheng.
3685
3686Added and deployed new OSL file I/O interfaces to improve ACPICA
3687portability:
3688  AcpiOsOpenFile
3689  AcpiOsCloseFile
3690  AcpiOsReadFile
3691  AcpiOsWriteFile
3692  AcpiOsGetFileOffset
3693  AcpiOsSetFileOffset
3694There are C library implementations of these functions in the new file
3695service_layers/oslibcfs.c -- however, the functions can be implemented by
3696the local host in any way necessary. Lv Zheng.
3697
3698Implemented a mechanism to disable/enable ACPI table checksum validation
3699at runtime. This can be useful when loading tables very early during OS
3700initialization when it may not be possible to map the entire table in
3701order to compute the checksum. Lv Zheng.
3702
3703Fixed a buffer allocation issue for the Generic Serial Bus support.
3704Originally, a fixed buffer length was used. This change allows for
3705variable-length buffers based upon the protocol indicated by the field
3706access attributes. Reported by Lan Tianyu. Lv Zheng.
3707
3708Fixed a problem where an object detached from a namespace node was not
3709properly terminated/cleared and could cause a circular list problem if
3710reattached. ACPICA BZ 1063. David Box.
3711
3712Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
3713
3714Fixed a possible memory leak in an error return path within the function
3715AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
3716
3717Example Code and Data Size: These are the sizes for the OS-independent
3718acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3719debug version of the code includes the debug output trace mechanism and
3720has a much larger code and data size.
3721
3722  Current Release:
3723    Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3724    Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3725  Previous Release:
3726    Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3727    Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3728
3729
37302) iASL Compiler/Disassembler and Tools:
3731
3732Disassembler: Add dump of ASCII equivalent text within a comment at the
3733end of each line of the output for the Buffer() ASL operator.
3734
3735AcpiDump: Miscellaneous changes:
3736  Fixed repetitive table dump in -n mode.
3737  For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
3738the ACPI 2.0 GUID fails.
3739
3740iASL: Fixed a problem where the compiler could fault if incorrectly given
3741an acpidump output file as input. ACPICA BZ 1088. David Box.
3742
3743AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
3744they are invoked without any arguments.
3745
3746Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
37471086. Colin Ian King.
3748
3749Disassembler: Cleaned up a block of code that extracts a parent Op
3750object. Added a comment that explains that the parent is guaranteed to be
3751valid in this case. ACPICA BZ 1069.
3752
3753
3754----------------------------------------
375524 April 2014. Summary of changes for version 20140424:
3756
37571) ACPICA kernel-resident subsystem:
3758
3759Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
3760Some of these tables are known to contain a trailing NULL entry. Lv
3761Zheng.
3762
3763Removed an extraneous error message for the case where there are a large
3764number of system GPEs (> 124). This was the "32-bit FADT register is too
3765long to convert to GAS struct" message, which is irrelevant for GPEs
3766since the GPEx_BLK_LEN fields of the FADT are always used instead of the
3767(limited capacity) GAS bit length. Also, several changes to ensure proper
3768support for GPE numbers > 255, where some "GPE number" fields were 8-bits
3769internally.
3770
3771Implemented and deployed additional configuration support for the public
3772ACPICA external interfaces. Entire classes of interfaces can now be
3773easily modified or configured out, replaced by stubbed inline functions
3774by default. Lv Zheng.
3775
3776Moved all public ACPICA runtime configuration globals to the public
3777ACPICA external interface file for convenience. Also, removed some
3778obsolete/unused globals. See the file acpixf.h. Lv Zheng.
3779
3780Documentation: Added a new section to the ACPICA reference describing the
3781maximum number of GPEs that can be supported by the FADT-defined GPEs in
3782block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
3783reference.
3784
3785Example Code and Data Size: These are the sizes for the OS-independent
3786acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3787debug version of the code includes the debug output trace mechanism and
3788has a much larger code and data size.
3789
3790  Current Release:
3791    Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3792    Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3793  Previous Release:
3794    Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3795    Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3796
3797
37982) iASL Compiler/Disassembler and Tools:
3799
3800iASL and disassembler: Add full support for the LPIT table (Low Power
3801Idle Table). Includes support in the disassembler, data table compiler,
3802and template generator.
3803
3804AcpiDump utility:
38051) Add option to force the use of the RSDT (over the XSDT).
38062) Improve validation of the RSDP signature (use 8 chars instead of 4).
3807
3808iASL: Add check for predefined packages that are too large.  For
3809predefined names that contain subpackages, check if each subpackage is
3810too large. (Check for too small already exists.)
3811
3812Debugger: Updated the GPE command (which simulates a GPE by executing the
3813GPE code paths in ACPICA). The GPE device is now optional, and defaults
3814to the GPE 0/1 FADT-defined blocks.
3815
3816Unix application OSL: Update line-editing support. Add additional error
3817checking and take care not to reset terminal attributes on exit if they
3818were never set. This should help guarantee that the terminal is always
3819left in the previous state on program exit.
3820
3821
3822----------------------------------------
382325 March 2014. Summary of changes for version 20140325:
3824
38251) ACPICA kernel-resident subsystem:
3826
3827Updated the auto-serialize feature for control methods. This feature
3828automatically serializes all methods that create named objects in order
3829to prevent runtime errors. The update adds support to ignore the
3830currently executing AML SyncLevel when invoking such a method, in order
3831to prevent disruption of any existing SyncLevel priorities that may exist
3832in the AML code. Although the use of SyncLevels is relatively rare, this
3833change fixes a regression where an AE_AML_MUTEX_ORDER exception can
3834appear on some machines starting with the 20140214 release.
3835
3836Added a new external interface to allow the host to install ACPI tables
3837very early, before the namespace is even created. AcpiInstallTable gives
3838the host additional flexibility for ACPI table management. Tables can be
3839installed directly by the host as if they had originally appeared in the
3840XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
3841(anything except the DSDT and FACS). Adds a new file, tbdata.c, along
3842with additional internal restructuring and cleanup. See the ACPICA
3843Reference for interface details. Lv Zheng.
3844
3845Added validation of the checksum for all incoming dynamically loaded
3846tables (via external interfaces or via AML Load/LoadTable operators). Lv
3847Zheng.
3848
3849Updated the use of the AcpiOsWaitEventsComplete interface during Notify
3850and GPE handler removal. Restructured calls to eliminate possible race
3851conditions. Lv Zheng.
3852
3853Added a warning for the use/execution of the ASL/AML Unload (table)
3854operator. This will help detect and identify machines that use this
3855operator if and when it is ever used. This operator has never been seen
3856in the field and the usage model and possible side-effects of the drastic
3857runtime action of a full table removal are unknown.
3858
3859Reverted the use of #pragma push/pop which was introduced in the 20140214
3860release. It appears that push and pop are not implemented by enough
3861compilers to make the use of this feature feasible for ACPICA at this
3862time. However, these operators may be deployed in a future ACPICA
3863release.
3864
3865Added the missing EXPORT_SYMBOL macros for the install and remove SCI
3866handler interfaces.
3867
3868Source code generation:
38691) Disabled the use of the "strchr" macro for the gcc-specific
3870generation. For some versions of gcc, this macro can periodically expose
3871a compiler bug which in turn causes compile-time error(s).
38722) Added support for PPC64 compilation. Colin Ian King.
3873
3874Example Code and Data Size: These are the sizes for the OS-independent
3875acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3876debug version of the code includes the debug output trace mechanism and
3877has a much larger code and data size.
3878
3879  Current Release:
3880    Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3881    Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3882  Previous Release:
3883    Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3884    Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3885
3886
38872) iASL Compiler/Disassembler and Tools:
3888
3889Disassembler: Added several new features to improve the readability of
3890the resulting ASL code. Extra information is emitted within comment
3891fields in the ASL code:
38921) Known _HID/_CID values are decoded to descriptive text.
38932) Standard values for the Notify() operator are decoded to descriptive
3894text.
38953) Target operands are expanded to full pathnames (in a comment) when
3896possible.
3897
3898Disassembler: Miscellaneous updates for extern() handling:
38991) Abort compiler if file specified by -fe option does not exist.
39002) Silence unnecessary warnings about argument count mismatches.
39013) Update warning messages concerning unresolved method externals.
39024) Emit "UnknownObj" keyword for externals whose type cannot be
3903determined.
3904
3905AcpiHelp utility:
39061) Added the -a option to display both the ASL syntax and the AML
3907encoding for an input ASL operator. This effectively displays all known
3908information about an ASL operator with one AcpiHelp invocation.
39092) Added substring match support (similar to a wildcard) for the -i
3910(_HID/PNP IDs) option.
3911
3912iASL/Disassembler: Since this tool does not yet support execution on big-
3913endian machines, added detection of endianness and an error message if
3914execution is attempted on big-endian. Support for big-endian within iASL
3915is a feature that is on the ACPICA to-be-done list.
3916
3917AcpiBin utility:
39181) Remove option to extract binary files from an acpidump; this function
3919is made obsolete by the AcpiXtract utility.
39202) General cleanup of open files and allocated buffers.
3921
3922
3923----------------------------------------
392414 February 2014. Summary of changes for version 20140214:
3925
39261) ACPICA kernel-resident subsystem:
3927
3928Implemented a new mechanism to proactively prevent problems with ill-
3929behaved reentrant control methods that create named ACPI objects. This
3930behavior is illegal as per the ACPI specification, but is nonetheless
3931frequently seen in the field. Previously, this could lead to an
3932AE_ALREADY_EXISTS exception if the method was actually entered by more
3933than one thread. This new mechanism detects such methods at table load
3934time and marks them "serialized" to prevent reentrancy. A new global
3935option, AcpiGbl_AutoSerializeMethods, has been added to disable this
3936feature if desired. This mechanism and global option obsoletes and
3937supersedes the previous AcpiGbl_SerializeAllMethods option.
3938
3939Added the "Windows 2013" string to the _OSI support. ACPICA will now
3940respond TRUE to _OSI queries with this string. It is the stated policy of
3941ACPICA to add new strings to the _OSI support as soon as possible after
3942they are defined. See the full ACPICA _OSI policy which has been added to
3943the utilities/utosi.c file.
3944
3945Hardened/updated the _PRT return value auto-repair code:
39461) Do not abort the repair on a single subpackage failure, continue to
3947check all subpackages.
39482) Add check for the minimum subpackage length (4).
39493) Properly handle extraneous NULL package elements.
3950
3951Added support to avoid the possibility of infinite loops when traversing
3952object linked lists. Never allow an infinite loop, even in the face of
3953corrupted object lists.
3954
3955ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
3956pack(pop) directives to ensure that the ACPICA headers are independent of
3957compiler settings or other host headers.
3958
3959Example Code and Data Size: These are the sizes for the OS-independent
3960acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3961debug version of the code includes the debug output trace mechanism and
3962has a much larger code and data size.
3963
3964  Current Release:
3965    Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3966    Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3967  Previous Release:
3968    Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3969    Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3970
3971
39722) iASL Compiler/Disassembler and Tools:
3973
3974iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
3975first reserved field was incorrectly forced to have a value of zero. This
3976change correctly forces the field to have a value of one. ACPICA BZ 1081.
3977
3978Debugger: Added missing support for the "Extra" and "Data" subobjects
3979when displaying object data.
3980
3981Debugger: Added support to display entire object linked lists when
3982displaying object data.
3983
3984iASL: Removed the obsolete -g option to obtain ACPI tables from the
3985Windows registry. This feature has been superseded by the acpidump
3986utility.
3987
3988
3989----------------------------------------
399014 January 2014. Summary of changes for version 20140114:
3991
39921) ACPICA kernel-resident subsystem:
3993
3994Updated all ACPICA copyrights and signons to 2014. Added the 2014
3995copyright to all module headers and signons, including the standard Linux
3996header. This affects virtually every file in the ACPICA core subsystem,
3997iASL compiler, all ACPICA utilities, and the test suites.
3998
3999Improved parameter validation for AcpiInstallGpeBlock. Added the
4000following checks:
40011) The incoming device handle refers to type ACPI_TYPE_DEVICE.
40022) There is not already a GPE block attached to the device.
4003Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
4004device.
4005
4006Correctly support "references" in the ACPI_OBJECT. This change fixes the
4007support to allow references (namespace nodes) to be passed as arguments
4008to control methods via the evaluate object interface. This is probably
4009most useful for testing purposes, however.
4010
4011Improved support for 32/64 bit physical addresses in printf()-like
4012output. This change improves the support for physical addresses in printf
4013debug statements and other output on both 32-bit and 64-bit hosts. It
4014consistently outputs the appropriate number of bytes for each host. The
4015%p specifier is unsatisfactory since it does not emit uniform output on
4016all hosts/clib implementations (on some, leading zeros are not supported,
4017leading to difficult-to-read output).
4018
4019Example Code and Data Size: These are the sizes for the OS-independent
4020acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4021debug version of the code includes the debug output trace mechanism and
4022has a much larger code and data size.
4023
4024  Current Release:
4025    Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
4026    Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
4027  Previous Release:
4028    Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
4029    Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
4030
4031
40322) iASL Compiler/Disassembler and Tools:
4033
4034iASL: Fix a possible fault when using the Connection() operator. Fixes a
4035problem if the parent Field definition for the Connection operator refers
4036to an operation region that does not exist. ACPICA BZ 1064.
4037
4038AcpiExec: Load of local test tables is now optional. The utility has the
4039capability to load some various tables to test features of ACPICA.
4040However, there are enough of them that the output of the utility became
4041confusing. With this change, only the required local tables are displayed
4042(RSDP, XSDT, etc.) along with the actual tables loaded via the command
4043line specification. This makes the default output simler and easier to
4044understand. The -el command line option restores the original behavior
4045for testing purposes.
4046
4047AcpiExec: Added support for overlapping operation regions. This change
4048expands the simulation of operation regions by supporting regions that
4049overlap within the given address space. Supports SystemMemory and
4050SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
4051
4052AcpiExec: Added region handler support for PCI_Config and EC spaces. This
4053allows AcpiExec to simulate these address spaces, similar to the current
4054support for SystemMemory and SystemIO.
4055
4056Debugger: Added new command to read/write/compare all namespace objects.
4057The command "test objects" will exercise the entire namespace by writing
4058new values to each data object, and ensuring that the write was
4059successful. The original value is then restored and verified.
4060
4061Debugger: Added the "test predefined" command. This change makes this
4062test public and puts it under the new "test" command. The test executes
4063each and every predefined name within the current namespace.
4064
4065
4066----------------------------------------
406718 December 2013. Summary of changes for version 20131218:
4068
4069Global note: The ACPI 5.0A specification was released this month. There
4070are no changes needed for ACPICA since this release of ACPI is an
4071errata/clarification release. The specification is available at
4072acpi.info.
4073
4074
40751) ACPICA kernel-resident subsystem:
4076
4077Added validation of the XSDT root table if it is present. Some older
4078platforms contain an XSDT that is ill-formed or otherwise invalid (such
4079as containing some or all entries that are NULL pointers). This change
4080adds a new function to validate the XSDT before actually using it. If the
4081XSDT is found to be invalid, ACPICA will now automatically fall back to
4082using the RSDT instead. Original implementation by Zhao Yakui. Ported to
4083ACPICA and enhanced by Lv Zheng and Bob Moore.
4084
4085Added a runtime option to ignore the XSDT and force the use of the RSDT.
4086This change adds a runtime option that will force ACPICA to use the RSDT
4087instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
4088requires that an XSDT be used instead of the RSDT, the XSDT has been
4089found to be corrupt or ill-formed on some machines. Lv Zheng.
4090
4091Added a runtime option to favor 32-bit FADT register addresses over the
409264-bit addresses. This change adds an option to favor 32-bit FADT
4093addresses when there is a conflict between the 32-bit and 64-bit versions
4094of the same register. The default behavior is to use the 64-bit version
4095in accordance with the ACPI specification. This can now be overridden via
4096the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
4097
4098During the change above, the internal "Convert FADT" and "Verify FADT"
4099functions have been merged to simplify the code, making it easier to
4100understand and maintain. ACPICA BZ 933.
4101
4102Improve exception reporting and handling for GPE block installation.
4103Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
4104status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
4105
4106Added helper macros to extract bus/segment numbers from the HEST table.
4107This change adds two macros to extract the encoded bus and segment
4108numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
4109Betty Dall <betty.dall@hp.com>
4110
4111Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
4112by ACPICA. It is not a public macro, so it should have no effect on
4113existing OSV code. Lv Zheng.
4114
4115Example Code and Data Size: These are the sizes for the OS-independent
4116acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4117debug version of the code includes the debug output trace mechanism and
4118has a much larger code and data size.
4119
4120  Current Release:
4121    Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
4122    Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
4123  Previous Release:
4124    Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
4125    Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
4126
4127
41282) iASL Compiler/Disassembler and Tools:
4129
4130Disassembler: Improved pathname support for emitted External()
4131statements. This change adds full pathname support for external names
4132that have been resolved internally by the inclusion of additional ACPI
4133tables (via the iASL -e option). Without this change, the disassembler
4134can emit multiple externals for the same object, or it become confused
4135when the Scope() operator is used on an external object. Overall, greatly
4136improves the ability to actually recompile the emitted ASL code when
4137objects a referenced across multiple ACPI tables. Reported by Michael
4138Tsirkin (mst@redhat.com).
4139
4140Tests/ASLTS: Updated functional control suite to execute with no errors.
4141David Box. Fixed several errors related to the testing of the interpreter
4142slack mode. Lv Zheng.
4143
4144iASL: Added support to detect names that are declared within a control
4145method, but are unused (these are temporary names that are only valid
4146during the time the method is executing). A remark is issued for these
4147cases. ACPICA BZ 1022.
4148
4149iASL: Added full support for the DBG2 table. Adds full disassembler,
4150table compiler, and template generator support for the DBG2 table (Debug
4151Port 2 table).
4152
4153iASL: Added full support for the PCCT table, update the table definition.
4154Updates the PCCT table definition in the actbl3.h header and adds table
4155compiler and template generator support.
4156
4157iASL: Added an option to emit only error messages (no warnings/remarks).
4158The -ve option will enable only error messages, warnings and remarks are
4159suppressed. This can simplify debugging when only the errors are
4160important, such as when an ACPI table is disassembled and there are many
4161warnings and remarks -- but only the actual errors are of real interest.
4162
4163Example ACPICA code (source/tools/examples): Updated the example code so
4164that it builds to an actual working program, not just example code. Added
4165ACPI tables and execution of an example control method in the DSDT. Added
4166makefile support for Unix generation.
4167
4168
4169----------------------------------------
417015 November 2013. Summary of changes for version 20131115:
4171
4172This release is available at https://acpica.org/downloads
4173
4174
41751) ACPICA kernel-resident subsystem:
4176
4177Resource Manager: Fixed loop termination for the "get AML length"
4178function. The loop previously had an error termination on a NULL resource
4179pointer, which can never happen since the loop simply increments a valid
4180resource pointer. This fix changes the loop to terminate with an error on
4181an invalid end-of-buffer condition. The problem can be seen as an
4182infinite loop by callers to AcpiSetCurrentResources with an invalid or
4183corrupted resource descriptor, or a resource descriptor that is missing
4184an END_TAG descriptor. Reported by Dan Carpenter
4185<dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
4186
4187Table unload and ACPICA termination: Delete all attached data objects
4188during namespace node deletion. This fix updates namespace node deletion
4189to delete the entire list of attached objects (attached via
4190AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
41911024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
4192
4193ACPICA termination: Added support to delete all objects attached to the
4194root namespace node. This fix deletes any and all objects that have been
4195attached to the root node via AcpiAttachData. Previously, none of these
4196objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
4197
4198Debug output: Do not emit the function nesting level for the in-kernel
4199build. The nesting level is really only useful during a single-thread
4200execution. Therefore, only enable this output for the AcpiExec utility.
4201Also, only emit the thread ID when executing under AcpiExec (Context
4202switches are still always detected and a message is emitted). ACPICA BZ
4203972.
4204
4205Example Code and Data Size: These are the sizes for the OS-independent
4206acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4207debug version of the code includes the debug output trace mechanism and
4208has a much larger code and data size.
4209
4210  Current Release:
4211    Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
4212    Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
4213  Previous Release:
4214    Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
4215    Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
4216
4217
42182) iASL Compiler/Disassembler and Tools:
4219
4220AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
4221correct portable POSIX header for terminal control functions.
4222
4223Disassembler: Fixed control method invocation issues related to the use
4224of the CondRefOf() operator. The problem is seen in the disassembly where
4225control method invocations may not be disassembled properly if the
4226control method name has been used previously as an argument to CondRefOf.
4227The solution is to not attempt to emit an external declaration for the
4228CondRefOf target (it is not necessary in the first place). This prevents
4229disassembler object type confusion. ACPICA BZ 988.
4230
4231Unix Makefiles: Added an option to disable compiler optimizations and the
4232_FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
4233with optimizations (reportedly, gcc 4.4 for example). This change adds a
4234command line option for make (NOOPT) that disables all compiler
4235optimizations and the _FORTIFY_SOURCE compiler flag. The default
4236optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
42371034. Lv Zheng, Bob Moore.
4238
4239Tests/ASLTS: Added options to specify individual test cases and modes.
4240This allows testers running aslts.sh to optionally specify individual
4241test modes and test cases. Also added an option to disable the forced
4242generation of the ACPICA tools from source if desired. Lv Zheng.
4243
4244----------------------------------------
424527 September 2013. Summary of changes for version 20130927:
4246
4247This release is available at https://acpica.org/downloads
4248
4249
42501) ACPICA kernel-resident subsystem:
4251
4252Fixed a problem with store operations to reference objects. This change
4253fixes a problem where a Store operation to an ArgX object that contained
4254a
4255reference to a field object did not complete the automatic dereference
4256and
4257then write to the actual field object. Instead, the object type of the
4258field object was inadvertently changed to match the type of the source
4259operand. The new behavior will actually write to the field object (buffer
4260field or field unit), thus matching the correct ACPI-defined behavior.
4261
4262Implemented support to allow the host to redefine individual OSL
4263prototypes. This change enables the host to redefine OSL prototypes found
4264in the acpiosxf.h file. This allows the host to implement OSL interfaces
4265with a macro or inlined function. Further, it allows the host to add any
4266additional required modifiers such as __iomem, __init, __exit, etc., as
4267necessary on a per-interface basis. Enables maximum flexibility for the
4268OSL interfaces. Lv Zheng.
4269
4270Hardcoded the access width for the FADT-defined reset register. The ACPI
4271specification requires the reset register width to be 8 bits. ACPICA now
4272hardcodes the width to 8 and ignores the FADT width value. This provides
4273compatibility with other ACPI implementations that have allowed BIOS code
4274with bad register width values to go unnoticed. Matthew Garett, Bob
4275Moore,
4276Lv Zheng.
4277
4278Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
4279used
4280in the OSL header (acpiosxf). The change modifies the position of this
4281macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
4282build issues if the OSL defines the implementation of the interface to be
4283an inline stub function. Lv Zheng.
4284
4285Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
4286initialization interfaces. This change adds a new macro for the main init
4287and terminate external interfaces in order to support hosts that require
4288additional or different processing for these functions. Changed from
4289ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
4290Zheng, Bob Moore.
4291
4292Cleaned up the memory allocation macros for configurability. In the
4293common
4294case, the ACPI_ALLOCATE and related macros now resolve directly to their
4295respective AcpiOs* OSL interfaces. Two options:
42961) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
4297default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
42982) For AcpiExec (and for debugging), the macros can optionally be
4299resolved
4300to the local ACPICA interfaces that track each allocation (local tracking
4301is used to immediately detect memory leaks).
4302Lv Zheng.
4303
4304Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
4305to predefine this macro to either TRUE or FALSE during the system build.
4306
4307Replaced __FUNCTION_ with __func__ in the gcc-specific header.
4308
4309Example Code and Data Size: These are the sizes for the OS-independent
4310acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4311debug version of the code includes the debug output trace mechanism and
4312has a much larger code and data size.
4313
4314  Current Release:
4315    Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
4316    Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
4317  Previous Release:
4318    Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
4319    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
4320
4321
43222) iASL Compiler/Disassembler and Tools:
4323
4324iASL: Implemented wildcard support for the -e option. This simplifies use
4325when there are many SSDTs that must be included to resolve external
4326method
4327declarations. ACPICA BZ 1041. Example:
4328    iasl -e ssdt*.dat -d dsdt.dat
4329
4330AcpiExec: Add history/line-editing for Unix/Linux systems. This change
4331adds a portable module that implements full history and limited line
4332editing for Unix and Linux systems. It does not use readline() due to
4333portability issues. Instead it uses the POSIX termio interface to put the
4334terminal in raw input mode so that the various special keys can be
4335trapped
4336(such as up/down-arrow for history support and left/right-arrow for line
4337editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
4338
4339AcpiXtract: Add support to handle (ignore) "empty" lines containing only
4340one or more spaces. This provides compatible with early or different
4341versions of the AcpiDump utility. ACPICA BZ 1044.
4342
4343AcpiDump: Do not ignore tables that contain only an ACPI table header.
4344Apparently, some BIOSs create SSDTs that contain an ACPI table header but
4345no other data. This change adds support to dump these tables. Any tables
4346shorter than the length of an ACPI table header remain in error (an error
4347message is emitted). Reported by Yi Li.
4348
4349Debugger: Echo actual command along with the "unknown command" message.
4350
4351----------------------------------------
435223 August 2013. Summary of changes for version 20130823:
4353
43541) ACPICA kernel-resident subsystem:
4355
4356Implemented support for host-installed System Control Interrupt (SCI)
4357handlers. Certain ACPI functionality requires the host to handle raw
4358SCIs. For example, the "SCI Doorbell" that is defined for memory power
4359state support requires the host device driver to handle SCIs to examine
4360if the doorbell has been activated. Multiple SCI handlers can be
4361installed to allow for future expansion. New external interfaces are
4362AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
4363details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
4364
4365Operation region support: Never locally free the handler "context"
4366pointer. This change removes some dangerous code that attempts to free
4367the handler context pointer in some (rare) circumstances. The owner of
4368the handler owns this pointer and the ACPICA code should never touch it.
4369Although not seen to be an issue in any kernel, it did show up as a
4370problem (fault) under AcpiExec. Also, set the internal storage field for
4371the context pointer to zero when the region is deactivated, simply for
4372sanity. David Box. ACPICA BZ 1039.
4373
4374AcpiRead: On error, do not modify the return value target location. If an
4375error happens in the middle of a split 32/32 64-bit I/O operation, do not
4376modify the target of the return value pointer. Makes the code consistent
4377with the rest of ACPICA. Bjorn Helgaas.
4378
4379Example Code and Data Size: These are the sizes for the OS-independent
4380acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4381debug version of the code includes the debug output trace mechanism and
4382has a much larger code and data size.
4383
4384  Current Release:
4385    Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
4386    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
4387  Previous Release:
4388    Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
4389    Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
4390
4391
43922) iASL Compiler/Disassembler and Tools:
4393
4394AcpiDump: Implemented several new features and fixed some problems:
43951) Added support to dump the RSDP, RSDT, and XSDT tables.
43962) Added support for multiple table instances (SSDT, UEFI).
43973) Added option to dump "customized" (overridden) tables (-c).
43984) Fixed a problem where some table filenames were improperly
4399constructed.
44005) Improved some error messages, removed some unnecessary messages.
4401
4402iASL: Implemented additional support for disassembly of ACPI tables that
4403contain invocations of external control methods. The -fe<file> option
4404allows the import of a file that specifies the external methods along
4405with the required number of arguments for each -- allowing for the
4406correct disassembly of the table. This is a workaround for a limitation
4407of AML code where the disassembler often cannot determine the number of
4408arguments required for an external control method and generates incorrect
4409ASL code. See the iASL reference for details. ACPICA BZ 1030.
4410
4411Debugger: Implemented a new command (paths) that displays the full
4412pathnames (namepaths) and object types of all objects in the namespace.
4413This is an alternative to the namespace command.
4414
4415Debugger: Implemented a new command (sci) that invokes the SCI dispatch
4416mechanism and any installed handlers.
4417
4418iASL: Fixed a possible segfault for "too many parent prefixes" condition.
4419This can occur if there are too many parent prefixes in a namepath (for
4420example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
4421
4422Application OSLs: Set the return value for the PCI read functions. These
4423functions simply return AE_OK, but should set the return value to zero
4424also. This change implements this. ACPICA BZ 1038.
4425
4426Debugger: Prevent possible command line buffer overflow. Increase the
4427size of a couple of the debugger line buffers, and ensure that overflow
4428cannot happen. ACPICA BZ 1037.
4429
4430iASL: Changed to abort immediately on serious errors during the parsing
4431phase. Due to the nature of ASL, there is no point in attempting to
4432compile these types of errors, and they typically end up causing a
4433cascade of hundreds of errors which obscure the original problem.
4434
4435----------------------------------------
443625 July 2013. Summary of changes for version 20130725:
4437
44381) ACPICA kernel-resident subsystem:
4439
4440Fixed a problem with the DerefOf operator where references to FieldUnits
4441and BufferFields incorrectly returned the parent object, not the actual
4442value of the object. After this change, a dereference of a FieldUnit
4443reference results in a read operation on the field to get the value, and
4444likewise, the appropriate BufferField value is extracted from the target
4445buffer.
4446
4447Fixed a problem where the _WAK method could cause a fault under these
4448circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
4449method returned no value. The problem is rarely seen because most kernels
4450run ACPICA in slack mode.
4451
4452For the DerefOf operator, a fatal error now results if an attempt is made
4453to dereference a reference (created by the Index operator) to a NULL
4454package element. Provides compatibility with other ACPI implementations,
4455and this behavior will be added to a future version of the ACPI
4456specification.
4457
4458The ACPI Power Management Timer (defined in the FADT) is now optional.
4459This provides compatibility with other ACPI implementations and will
4460appear in the next version of the ACPI specification. If there is no PM
4461Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
4462zero in the FADT indicates no PM timer.
4463
4464Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
4465allows the host to globally enable/disable all vendor strings, all
4466feature strings, or both. Intended to be primarily used for debugging
4467purposes only. Lv Zheng.
4468
4469Expose the collected _OSI data to the host via a global variable. This
4470data tracks the highest level vendor ID that has been invoked by the BIOS
4471so that the host (and potentially ACPICA itself) can change behaviors
4472based upon the age of the BIOS.
4473
4474Example Code and Data Size: These are the sizes for the OS-independent
4475acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4476debug version of the code includes the debug output trace mechanism and
4477has a much larger code and data size.
4478
4479  Current Release:
4480    Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
4481    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
4482  Previous Release:
4483    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
4484    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
4485
4486
44872) iASL Compiler/Disassembler and Tools:
4488
4489iASL: Created the following enhancements for the -so option (create
4490offset table):
44911)Add offsets for the last nameseg in each namepath for every supported
4492object type
44932)Add support for Processor, Device, Thermal Zone, and Scope objects
44943)Add the actual AML opcode for the parent object of every supported
4495object type
44964)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
4497
4498Disassembler: Emit all unresolved external symbols in a single block.
4499These are external references to control methods that could not be
4500resolved, and thus, the disassembler had to make a guess at the number of
4501arguments to parse.
4502
4503iASL: The argument to the -T option (create table template) is now
4504optional. If not specified, the default table is a DSDT, typically the
4505most common case.
4506
4507----------------------------------------
450826 June 2013. Summary of changes for version 20130626:
4509
45101) ACPICA kernel-resident subsystem:
4511
4512Fixed an issue with runtime repair of the _CST object. Null or invalid
4513elements were not always removed properly. Lv Zheng.
4514
4515Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
4516FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
4517the maximum number of GPEs is 1016. Use of multiple GPE block devices
4518makes the system-wide number of GPEs essentially unlimited.
4519
4520Example Code and Data Size: These are the sizes for the OS-independent
4521acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4522debug version of the code includes the debug output trace mechanism and
4523has a much larger code and data size.
4524
4525  Current Release:
4526    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
4527    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
4528  Previous Release:
4529    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4530    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4531
4532
45332) iASL Compiler/Disassembler and Tools:
4534
4535Portable AcpiDump: Implemented full support for the Linux and FreeBSD
4536hosts. Now supports Linux, FreeBSD, and Windows.
4537
4538Disassembler: Added some missing types for the HEST and EINJ tables: "Set
4539Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
4540
4541iASL/Preprocessor: Implemented full support for nested
4542#if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
4543
4544Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
4545max. The original purpose of this constraint was to limit the amount of
4546debug output. However, the string function in question (UtPrintString) is
4547now used for the disassembler also, where 256 bytes is insufficient.
4548Reported by RehabMan@GitHub.
4549
4550iASL/DataTables: Fixed some problems and issues with compilation of DMAR
4551tables. ACPICA BZ 999. Lv Zheng.
4552
4553iASL: Fixed a couple of error exit issues that could result in a "Could
4554not delete <file>" message during ASL compilation.
4555
4556AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
4557the actual signatures for these tables are "FACP" and "APIC",
4558respectively.
4559
4560AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
4561tables are allowed to have multiple instances.
4562
4563----------------------------------------
456417 May 2013. Summary of changes for version 20130517:
4565
45661) ACPICA kernel-resident subsystem:
4567
4568Fixed a regression introduced in version 20130328 for _INI methods. This
4569change fixes a problem introduced in 20130328 where _INI methods are no
4570longer executed properly because of a memory block that was not
4571initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
4572<tomasz.nowicki@linaro.org>.
4573
4574Fixed a possible problem with the new extended sleep registers in the
4575ACPI
45765.0 FADT. Do not use these registers (even if populated) unless the HW-
4577reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
45781020. Lv Zheng.
4579
4580Implemented return value repair code for _CST predefined objects: Sort
4581the
4582list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
4583
4584Implemented a debug-only option to disable loading of SSDTs from the
4585RSDT/XSDT during ACPICA initialization. This can be useful for debugging
4586ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
4587acglobal.h - ACPICA BZ 1005. Lv Zheng.
4588
4589Fixed some issues in the ACPICA initialization and termination code:
4590Tomasz Nowicki <tomasz.nowicki@linaro.org>
45911) Clear events initialized flag upon event component termination. ACPICA
4592BZ 1013.
45932) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
45943) Delete global lock pending lock during termination. ACPICA BZ 1012.
45954) Clear debug buffer global on termination to prevent possible multiple
4596delete. ACPICA BZ 1010.
4597
4598Standardized all switch() blocks across the entire source base. After
4599many
4600years, different formatting for switch() had crept in. This change makes
4601the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
4602
4603Split some files to enhance ACPICA modularity and configurability:
46041) Split buffer dump routines into utilities/utbuffer.c
46052) Split internal error message routines into utilities/uterror.c
46063) Split table print utilities into tables/tbprint.c
46074) Split iASL command-line option processing into asloptions.c
4608
4609Makefile enhancements:
46101) Support for all new files above.
46112) Abort make on errors from any subcomponent. Chao Guan.
46123) Add build support for Apple Mac OS X. Liang Qi.
4613
4614Example Code and Data Size: These are the sizes for the OS-independent
4615acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4616debug version of the code includes the debug output trace mechanism and
4617has a much larger code and data size.
4618
4619  Current Release:
4620    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4621    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4622  Previous Release:
4623    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4624    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4625
4626
46272) iASL Compiler/Disassembler and Tools:
4628
4629New utility: Implemented an easily portable version of the acpidump
4630utility to extract ACPI tables from the system (or a file) in an ASCII
4631hex
4632dump format. The top-level code implements the various command line
4633options, file I/O, and table dump routines. To port to a new host, only
4634three functions need to be implemented to get tables -- since this
4635functionality is OS-dependent. See the tools/acpidump/apmain.c module and
4636the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
46371) The Windows version obtains the ACPI tables from the Registry.
46382) The Linux version is under development.
46393) Other hosts - If an OS-dependent module is submitted, it will be
4640distributed with ACPICA.
4641
4642iASL: Fixed a regression for -D preprocessor option (define symbol). A
4643restructuring/change to the initialization sequence caused this option to
4644no longer work properly.
4645
4646iASL: Implemented a mechanism to disable specific warnings and remarks.
4647Adds a new command line option, "-vw <messageid> as well as "#pragma
4648disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
4649
4650iASL: Fix for too-strict package object validation. The package object
4651validation for return values from the predefined names is a bit too
4652strict, it does not allow names references within the package (which will
4653be resolved at runtime.) These types of references cannot be validated at
4654compile time. This change ignores named references within package objects
4655for names that return or define static packages.
4656
4657Debugger: Fixed the 80-character command line limitation for the History
4658command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
4659
4660iASL: Added control method and package support for the -so option
4661(generates AML offset table for BIOS support.)
4662
4663iASL: issue a remark if a non-serialized method creates named objects. If
4664a thread blocks within the method for any reason, and another thread
4665enters the method, the method will fail because an attempt will be made
4666to
4667create the same (named) object twice. In this case, issue a remark that
4668the method should be marked serialized. NOTE: may become a warning later.
4669ACPICA BZ 909.
4670
4671----------------------------------------
467218 April 2013. Summary of changes for version 20130418:
4673
46741) ACPICA kernel-resident subsystem:
4675
4676Fixed a possible buffer overrun during some rare but specific field unit
4677read operations. This overrun can only happen if the DSDT version is 1 --
4678meaning that all AML integers are 32 bits -- and the field length is
4679between 33 and 55 bits long. During the read, an internal buffer object
4680is
4681created for the field unit because the field is larger than an integer
4682(32
4683bits). However, in this case, the buffer will be incorrectly written
4684beyond the end because the buffer length is less than the internal
4685minimum
4686of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
4687long, but a full 8 bytes will be written.
4688
4689Updated the Embedded Controller "orphan" _REG method support. This refers
4690to _REG methods under the EC device that have no corresponding operation
4691region. This is allowed by the ACPI specification. This update removes a
4692dependency on the existence an ECDT table. It will execute an orphan _REG
4693method as long as the operation region handler for the EC is installed at
4694the EC device node and not the namespace root. Rui Zhang (original
4695update), Bob Moore (update/integrate).
4696
4697Implemented run-time argument typechecking for all predefined ACPI names
4698(_STA, _BIF, etc.) This change performs object typechecking on all
4699incoming arguments for all predefined names executed via
4700AcpiEvaluateObject. This ensures that ACPI-related device drivers are
4701passing correct object types as well as the correct number of arguments
4702(therefore identifying any issues immediately). Also, the ASL/namespace
4703definition of the predefined name is checked against the ACPI
4704specification for the proper argument count. Adds one new file,
4705nsarguments.c
4706
4707Changed an exception code for the ASL UnLoad() operator. Changed the
4708exception code for the case where the input DdbHandle is invalid, from
4709AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
4710
4711Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
4712global makefile. The use of this flag causes compiler errors on earlier
4713versions of GCC, so it has been removed for compatibility.
4714
4715Miscellaneous cleanup:
47161) Removed some unused/obsolete macros
47172) Fixed a possible memory leak in the _OSI support
47183) Removed an unused variable in the predefined name support
47194) Windows OSL: remove obsolete reference to a memory list field
4720
4721Example Code and Data Size: These are the sizes for the OS-independent
4722acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4723debug version of the code includes the debug output trace mechanism and
4724has a much larger code and data size.
4725
4726  Current Release:
4727    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4728    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4729  Previous Release:
4730    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4731    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4732
4733
47342) iASL Compiler/Disassembler and Tools:
4735
4736AcpiExec: Added installation of a handler for the SystemCMOS address
4737space. This prevents control method abort if a method accesses this
4738space.
4739
4740AcpiExec: Added support for multiple EC devices, and now install EC
4741operation region handler(s) at the actual EC device instead of the
4742namespace root. This reflects the typical behavior of host operating
4743systems.
4744
4745AcpiExec: Updated to ensure that all operation region handlers are
4746installed before the _REG methods are executed. This prevents a _REG
4747method from aborting if it accesses an address space has no handler.
4748AcpiExec installs a handler for every possible address space.
4749
4750Debugger: Enhanced the "handlers" command to display non-root handlers.
4751This change enhances the handlers command to display handlers associated
4752with individual devices throughout the namespace, in addition to the
4753currently supported display of handlers associated with the root
4754namespace
4755node.
4756
4757ASL Test Suite: Several test suite errors have been identified and
4758resolved, reducing the total error count during execution. Chao Guan.
4759
4760----------------------------------------
476128 March 2013. Summary of changes for version 20130328:
4762
47631) ACPICA kernel-resident subsystem:
4764
4765Fixed several possible race conditions with the internal object reference
4766counting mechanism. Some of the external ACPICA interfaces update object
4767reference counts without holding the interpreter or namespace lock. This
4768change adds a spinlock to protect reference count updates on the internal
4769ACPICA objects. Reported by and with assistance from Andriy Gapon
4770(avg@FreeBSD.org).
4771
4772FADT support: Removed an extraneous warning for very large GPE register
4773sets. This change removes a size mismatch warning if the legacy length
4774field for a GPE register set is larger than the 64-bit GAS structure can
4775accommodate. GPE register sets can be larger than the 255-bit width
4776limitation of the GAS structure. Linn Crosetto (linn@hp.com).
4777
4778_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
4779return from this interface. Handles a possible timeout case if
4780ACPI_WAIT_FOREVER is modified by the host to be a value less than
4781"forever". Jung-uk Kim.
4782
4783Predefined name support: Add allowed/required argument type information
4784to
4785the master predefined info table. This change adds the infrastructure to
4786enable typechecking on incoming arguments for all predefined
4787methods/objects. It does not actually contain the code that will fully
4788utilize this information, this is still under development. Also condenses
4789some duplicate code for the predefined names into a new module,
4790utilities/utpredef.c
4791
4792Example Code and Data Size: These are the sizes for the OS-independent
4793acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4794debug version of the code includes the debug output trace mechanism and
4795has a much larger code and data size.
4796
4797  Previous Release:
4798    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4799    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4800  Current Release:
4801    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4802    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4803
4804
48052) iASL Compiler/Disassembler and Tools:
4806
4807iASL: Implemented a new option to simplify the development of ACPI-
4808related
4809BIOS code. Adds support for a new "offset table" output file. The -so
4810option will create a C table containing the AML table offsets of various
4811named objects in the namespace so that BIOS code can modify them easily
4812at
4813boot time. This can simplify BIOS runtime code by eliminating expensive
4814searches for "magic values", enhancing boot times and adding greater
4815reliability. With assistance from Lee Hamel.
4816
4817iASL: Allow additional predefined names to return zero-length packages.
4818Now, all predefined names that are defined by the ACPI specification to
4819return a "variable-length package of packages" are allowed to return a
4820zero length top-level package. This allows the BIOS to tell the host that
4821the requested feature is not supported, and supports existing BIOS/ASL
4822code and practices.
4823
4824iASL: Changed the "result not used" warning to an error. This is the case
4825where an ASL operator is effectively a NOOP because the result of the
4826operation is not stored anywhere. For example:
4827    Add (4, Local0)
4828There is no target (missing 3rd argument), nor is the function return
4829value used. This is potentially a very serious problem -- since the code
4830was probably intended to do something, but for whatever reason, the value
4831was not stored. Therefore, this issue has been upgraded from a warning to
4832an error.
4833
4834AcpiHelp: Added allowable/required argument types to the predefined names
4835info display. This feature utilizes the recent update to the predefined
4836names table (above).
4837
4838----------------------------------------
483914 February 2013. Summary of changes for version 20130214:
4840
48411) ACPICA Kernel-resident Subsystem:
4842
4843Fixed a possible regression on some hosts: Reinstated the safe return
4844macros (return_ACPI_STATUS, etc.) that ensure that the argument is
4845evaluated only once. Although these macros are not needed for the ACPICA
4846code itself, they are often used by ACPI-related host device drivers
4847where
4848the safe feature may be necessary.
4849
4850Fixed several issues related to the ACPI 5.0 reduced hardware support
4851(SOC): Now ensure that if the platform declares itself as hardware-
4852reduced
4853via the FADT, the following functions become NOOPs (and always return
4854AE_OK) because ACPI is always enabled by definition on these machines:
4855  AcpiEnable
4856  AcpiDisable
4857  AcpiHwGetMode
4858  AcpiHwSetMode
4859
4860Dynamic Object Repair: Implemented additional runtime repairs for
4861predefined name return values. Both of these repairs can simplify code in
4862the related device drivers that invoke these methods:
48631) For the _STR and _MLS names, automatically repair/convert an ASCII
4864string to a Unicode buffer.
48652) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
4866a
4867lone end tag descriptor in the following cases: A Return(0) was executed,
4868a null buffer was returned, or no object at all was returned (non-slack
4869mode only). Adds a new file, nsconvert.c
4870ACPICA BZ 998. Bob Moore, Lv Zheng.
4871
4872Resource Manager: Added additional code to prevent possible infinite
4873loops
4874while traversing corrupted or ill-formed resource template buffers. Check
4875for zero-length resource descriptors in all code that loops through
4876resource templates (the length field is used to index through the
4877template). This change also hardens the external AcpiWalkResources and
4878AcpiWalkResourceBuffer interfaces.
4879
4880Local Cache Manager: Enhanced the main data structure to eliminate an
4881unnecessary mechanism to access the next object in the list. Actually
4882provides a small performance enhancement for hosts that use the local
4883ACPICA cache manager. Jung-uk Kim.
4884
4885Example Code and Data Size: These are the sizes for the OS-independent
4886acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4887debug version of the code includes the debug output trace mechanism and
4888has a much larger code and data size.
4889
4890  Previous Release:
4891    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4892    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4893  Current Release:
4894    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4895    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4896
4897
48982) iASL Compiler/Disassembler and Tools:
4899
4900iASL/Disassembler: Fixed several issues with the definition of the ACPI
49015.0 RASF table (RAS Feature Table). This change incorporates late changes
4902that were made to the ACPI 5.0 specification.
4903
4904iASL/Disassembler: Added full support for the following new ACPI tables:
4905  1) The MTMR table (MID Timer Table)
4906  2) The VRTC table (Virtual Real Time Clock Table).
4907Includes header file, disassembler, table compiler, and template support
4908for both tables.
4909
4910iASL: Implemented compile-time validation of package objects returned by
4911predefined names. This new feature validates static package objects
4912returned by the various predefined names defined to return packages. Both
4913object types and package lengths are validated, for both parent packages
4914and sub-packages, if any. The code is similar in structure and behavior
4915to
4916the runtime repair mechanism within the AML interpreter and uses the
4917existing predefined name information table. Adds a new file, aslprepkg.c.
4918ACPICA BZ 938.
4919
4920iASL: Implemented auto-detection of binary ACPI tables for disassembly.
4921This feature detects a binary file with a valid ACPI table header and
4922invokes the disassembler automatically. Eliminates the need to
4923specifically invoke the disassembler with the -d option. ACPICA BZ 862.
4924
4925iASL/Disassembler: Added several warnings for the case where there are
4926unresolved control methods during the disassembly. This can potentially
4927cause errors when the output file is compiled, because the disassembler
4928assumes zero method arguments in these cases (it cannot determine the
4929actual number of arguments without resolution/definition of the method).
4930
4931Debugger: Added support to display all resources with a single command.
4932Invocation of the resources command with no arguments will now display
4933all
4934resources within the current namespace.
4935
4936AcpiHelp: Added descriptive text for each ACPICA exception code displayed
4937via the -e option.
4938
4939----------------------------------------
494017 January 2013. Summary of changes for version 20130117:
4941
49421) ACPICA Kernel-resident Subsystem:
4943
4944Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
4945return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
4946objects to return a package containing one integer, most BIOS code
4947returns
4948two integers and the previous code reflects that. However, we also need
4949to
4950support BIOS code that actually implements to the ACPI spec, and this
4951change reflects this.
4952
4953Fixed two issues with the ACPI_DEBUG_PRINT macros:
49541) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
4955C compilers that require this support.
49562) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
4957ACPI_DEBUG is already used by many of the various hosts.
4958
4959Updated all ACPICA copyrights and signons to 2013. Added the 2013
4960copyright to all module headers and signons, including the standard Linux
4961header. This affects virtually every file in the ACPICA core subsystem,
4962iASL compiler, all ACPICA utilities, and the test suites.
4963
4964Example Code and Data Size: These are the sizes for the OS-independent
4965acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4966debug version of the code includes the debug output trace mechanism and
4967has a much larger code and data size.
4968
4969  Previous Release:
4970    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4971    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4972  Current Release:
4973    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4974    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4975
4976
49772) iASL Compiler/Disassembler and Tools:
4978
4979Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
4980prevent a possible fault on some hosts. Some C libraries modify the arg
4981pointer parameter to vfprintf making it difficult to call it twice in the
4982AcpiOsVprintf function. Use a local buffer to workaround this issue. This
4983does not affect the Windows OSL since the Win C library does not modify
4984the arg pointer. Chao Guan, Bob Moore.
4985
4986iASL: Fixed a possible infinite loop when the maximum error count is
4987reached. If an output file other than the .AML file is specified (such as
4988a listing file), and the maximum number of errors is reached, do not
4989attempt to flush data to the output file(s) as the compiler is aborting.
4990This can cause an infinite loop as the max error count code essentially
4991keeps calling itself.
4992
4993iASL/Disassembler: Added an option (-in) to ignore NOOP
4994opcodes/operators.
4995Implemented for both the compiler and the disassembler. Often, the NOOP
4996opcode is used as padding for packages that are changed dynamically by
4997the
4998BIOS. When disassembled and recompiled, these NOOPs will cause syntax
4999errors. This option causes the disassembler to ignore all NOOP opcodes
5000(0xA3), and it also causes the compiler to ignore all ASL source code
5001NOOP
5002statements as well.
5003
5004Debugger: Enhanced the Sleep command to execute all sleep states. This
5005change allows Sleep to be invoked with no arguments and causes the
5006debugger to execute all of the sleep states, 0-5, automatically.
5007
5008----------------------------------------
500920 December 2012. Summary of changes for version 20121220:
5010
50111) ACPICA Kernel-resident Subsystem:
5012
5013Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
5014alternate entry point for AcpiWalkResources and improves the usability of
5015the resource manager by accepting as input a buffer containing the output
5016of either a _CRS, _PRS, or _AEI method. The key functionality is that the
5017input buffer is not deleted by this interface so that it can be used by
5018the host later. See the ACPICA reference for details.
5019
5020Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
5021(DSDT version < 2). The constant will be truncated and this warning
5022reflects that behavior.
5023
5024Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
5025ExtendedInterrupt, and GpioInt descriptors. This change adds support to
5026both get and set the new wake bit in these descriptors, separately from
5027the existing share bit. Reported by Aaron Lu.
5028
5029Interpreter: Fix Store() when an implicit conversion is not possible. For
5030example, in the cases such as a store of a string to an existing package
5031object, implement the store as a CopyObject(). This is a small departure
5032from the ACPI specification which states that the control method should
5033be
5034aborted in this case. However, the ASLTS suite depends on this behavior.
5035
5036Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
5037macros: check if debug output is currently enabled as soon as possible to
5038minimize performance impact if debug is in fact not enabled.
5039
5040Source code restructuring: Cleanup to improve modularity. The following
5041new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
5042psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
5043Associated makefiles and project files have been updated.
5044
5045Changed an exception code for LoadTable operator. For the case where one
5046of the input strings is too long, change the returned exception code from
5047AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
5048
5049Fixed a possible memory leak in dispatcher error path. On error, delete
5050the mutex object created during method mutex creation. Reported by
5051tim.gardner@canonical.com.
5052
5053Example Code and Data Size: These are the sizes for the OS-independent
5054acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5055debug version of the code includes the debug output trace mechanism and
5056has a much larger code and data size.
5057
5058  Previous Release:
5059    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
5060    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
5061  Current Release:
5062    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
5063    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
5064
5065
50662) iASL Compiler/Disassembler and Tools:
5067
5068iASL: Disallow a method call as argument to the ObjectType ASL operator.
5069This change tracks an errata to the ACPI 5.0 document. The AML grammar
5070will not allow the interpreter to differentiate between a method and a
5071method invocation when these are used as an argument to the ObjectType
5072operator. The ACPI specification change is to disallow a method
5073invocation
5074(UserTerm) for the ObjectType operator.
5075
5076Finish support for the TPM2 and CSRT tables in the headers, table
5077compiler, and disassembler.
5078
5079Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
5080always expires immediately if the semaphore is not available. The
5081original
5082code was using a relative-time timeout, but sem_timedwait requires the
5083use
5084of an absolute time.
5085
5086iASL: Added a remark if the Timer() operator is used within a 32-bit
5087table. This operator returns a 64-bit time value that will be truncated
5088within a 32-bit table.
5089
5090iASL Source code restructuring: Cleanup to improve modularity. The
5091following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
5092aslmethod.c, and aslfileio.c. Associated makefiles and project files have
5093been updated.
5094
5095
5096----------------------------------------
509714 November 2012. Summary of changes for version 20121114:
5098
50991) ACPICA Kernel-resident Subsystem:
5100
5101Implemented a performance enhancement for ACPI/AML Package objects. This
5102change greatly increases the performance of Package objects within the
5103interpreter. It changes the processing of reference counts for packages
5104by
5105optimizing for the most common case where the package sub-objects are
5106either Integers, Strings, or Buffers. Increases the overall performance
5107of
5108the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
51092X.)
5110Chao Guan. ACPICA BZ 943.
5111
5112Implemented and deployed common macros to extract flag bits from resource
5113descriptors. Improves readability and maintainability of the code. Fixes
5114a
5115problem with the UART serial bus descriptor for the number of data bits
5116flags (was incorrectly 2 bits, should be 3).
5117
5118Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
5119of the macros and changed the SETx macros to the style of (destination,
5120source). Also added ACPI_CASTx companion macros. Lv Zheng.
5121
5122Example Code and Data Size: These are the sizes for the OS-independent
5123acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5124debug version of the code includes the debug output trace mechanism and
5125has a much larger code and data size.
5126
5127  Previous Release:
5128    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
5129    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
5130  Current Release:
5131    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
5132    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
5133
5134
51352) iASL Compiler/Disassembler and Tools:
5136
5137Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
5138adds the ShareAndWake and ExclusiveAndWake flags which were added to the
5139Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
5140
5141Disassembler: Fixed a problem with external declaration generation. Fixes
5142a problem where an incorrect pathname could be generated for an external
5143declaration if the original reference to the object includes leading
5144carats (^). ACPICA BZ 984.
5145
5146Debugger: Completed a major update for the Disassemble<method> command.
5147This command was out-of-date and did not properly disassemble control
5148methods that had any reasonable complexity. This fix brings the command
5149up
5150to the same level as the rest of the disassembler. Adds one new file,
5151dmdeferred.c, which is existing code that is now common with the main
5152disassembler and the debugger disassemble command. ACPICA MZ 978.
5153
5154iASL: Moved the parser entry prototype to avoid a duplicate declaration.
5155Newer versions of Bison emit this prototype, so moved the prototype out
5156of
5157the iASL header to where it is actually used in order to avoid a
5158duplicate
5159declaration.
5160
5161iASL/Tools: Standardized use of the stream I/O functions:
5162  1) Ensure check for I/O error after every fopen/fread/fwrite
5163  2) Ensure proper order of size/count arguments for fread/fwrite
5164  3) Use test of (Actual != Requested) after all fwrite, and most fread
5165  4) Standardize I/O error messages
5166Improves reliability and maintainability of the code. Bob Moore, Lv
5167Zheng.
5168ACPICA BZ 981.
5169
5170Disassembler: Prevent duplicate External() statements. During generation
5171of external statements, detect similar pathnames that are actually
5172duplicates such as these:
5173  External (\ABCD)
5174  External (ABCD)
5175Remove all leading '\' characters from pathnames during the external
5176statement generation so that duplicates will be detected and tossed.
5177ACPICA BZ 985.
5178
5179Tools: Replace low-level I/O with stream I/O functions. Replace
5180open/read/write/close with the stream I/O equivalents
5181fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
5182Moore.
5183
5184AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
5185name header so that AcpiXtract recognizes the output file/table.
5186
5187iASL: Remove obsolete -2 option flag. Originally intended to force the
5188compiler/disassembler into an ACPI 2.0 mode, this was never implemented
5189and the entire concept is now obsolete.
5190
5191----------------------------------------
519218 October 2012. Summary of changes for version 20121018:
5193
5194
51951) ACPICA Kernel-resident Subsystem:
5196
5197Updated support for the ACPI 5.0 MPST table. Fixes some problems
5198introduced by late changes to the table as it was added to the ACPI 5.0
5199specification. Includes header, disassembler, and data table compiler
5200support as well as a new version of the MPST template.
5201
5202AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
52035.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
5204methods: _HID, _CID, and _UID.
5205
5206Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
5207ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
5208name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
5209names for their various drivers. Affects the AcpiGetObjectInfo external
5210interface, and other internal interfaces as well.
5211
5212Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
5213This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
5214on machines that support non-aligned transfers. Optimizes for this case
5215rather than using a strncpy. With assistance from Zheng Lv.
5216
5217Resource Manager: Small fix for buffer size calculation. Fixed a one byte
5218error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
5219
5220Added a new debug print message for AML mutex objects that are force-
5221released. At control method termination, any currently acquired mutex
5222objects are force-released. Adds a new debug-only message for each one
5223that is released.
5224
5225Audited/updated all ACPICA return macros and the function debug depth
5226counter: 1) Ensure that all functions that use the various TRACE macros
5227also use the appropriate ACPICA return macros. 2) Ensure that all normal
5228return statements surround the return expression (value) with parens to
5229ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
5230Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
5231
5232Global source code changes/maintenance: All extra lines at the start and
5233end of each source file have been removed for consistency. Also, within
5234comments, all new sentences start with a single space instead of a double
5235space, again for consistency across the code base.
5236
5237Example Code and Data Size: These are the sizes for the OS-independent
5238acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5239debug version of the code includes the debug output trace mechanism and
5240has a much larger code and data size.
5241
5242  Previous Release:
5243    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
5244    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
5245  Current Release:
5246    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
5247    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
5248
5249
52502) iASL Compiler/Disassembler and Tools:
5251
5252AcpiExec: Improved the algorithm used for memory leak/corruption
5253detection. Added some intelligence to the code that maintains the global
5254list of allocated memory. The list is now ordered by allocated memory
5255address, significantly improving performance. When running AcpiExec on
5256the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
5257on the platform and/or the environment. Note, this performance
5258enhancement affects the AcpiExec utility only, not the kernel-resident
5259ACPICA code.
5260
5261Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
5262the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
5263incorrect table offset reported for invalid opcodes. Report the original
526432-bit value for bad ACPI_NAMEs (as well as the repaired name.)
5265
5266Disassembler: Enhanced the -vt option to emit the binary table data in
5267hex format to assist with debugging.
5268
5269Fixed a potential filename buffer overflow in osunixdir.c. Increased the
5270size of file structure. Colin Ian King.
5271
5272----------------------------------------
527313 September 2012. Summary of changes for version 20120913:
5274
5275
52761) ACPICA Kernel-resident Subsystem:
5277
5278ACPI 5.0: Added two new notify types for the Hardware Error Notification
5279Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
5280and
5281MCE(6).
5282
5283Table Manager: Merged/removed duplicate code in the root table resize
5284functions. One function is external, the other is internal. Lv Zheng,
5285ACPICA
5286BZ 846.
5287
5288Makefiles: Completely removed the obsolete "Linux" makefiles under
5289acpica/generate/linux. These makefiles are obsolete and have been
5290replaced
5291by
5292the generic unix makefiles under acpica/generate/unix.
5293
5294Makefiles: Ensure that binary files always copied properly. Minor rule
5295change
5296to ensure that the final binary output files are always copied up to the
5297appropriate binary directory (bin32 or bin64.)
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:
5307    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
5308    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
5309  Current Release:
5310    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
5311    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
5312
5313
53142) iASL Compiler/Disassembler and Tools:
5315
5316Disassembler: Fixed a possible fault during the disassembly of resource
5317descriptors when a second parse is required because of the invocation of
5318external control methods within the table. With assistance from
5319adq@lidskialf.net. ACPICA BZ 976.
5320
5321iASL: Fixed a namepath optimization problem. An error can occur if the
5322parse
5323node that contains the namepath to be optimized does not have a parent
5324node
5325that is a named object. This change fixes the problem.
5326
5327iASL: Fixed a regression where the AML file is not deleted on errors. The
5328AML
5329output file should be deleted if there are any errors during the
5330compiler.
5331The
5332only exception is if the -f (force output) option is used. ACPICA BZ 974.
5333
5334iASL: Added a feature to automatically increase internal line buffer
5335sizes.
5336Via realloc(), automatically increase the internal line buffer sizes as
5337necessary to support very long source code lines. The current version of
5338the
5339preprocessor requires a buffer long enough to contain full source code
5340lines.
5341This change increases the line buffer(s) if the input lines go beyond the
5342current buffer size. This eliminates errors that occurred when a source
5343code
5344line was longer than the buffer.
5345
5346iASL: Fixed a problem with constant folding in method declarations. The
5347SyncLevel term is a ByteConstExpr, and incorrect code would be generated
5348if a
5349Type3 opcode was used.
5350
5351Debugger: Improved command help support. For incorrect argument count,
5352display
5353full help for the command. For help command itself, allow an argument to
5354specify a command.
5355
5356Test Suites: Several bug fixes for the ASLTS suite reduces the number of
5357errors during execution of the suite. Guan Chao.
5358
5359----------------------------------------
536016 August 2012. Summary of changes for version 20120816:
5361
5362
53631) ACPICA Kernel-resident Subsystem:
5364
5365Removed all use of the deprecated _GTS and _BFS predefined methods. The
5366_GTS
5367(Going To Sleep) and _BFS (Back From Sleep) methods are essentially
5368deprecated and will probably be removed from the ACPI specification.
5369Windows
5370does not invoke them, and reportedly never will. The final nail in the
5371coffin
5372is that the ACPI specification states that these methods must be run with
5373interrupts off, which is not going to happen in a kernel interpreter.
5374Note:
5375Linux has removed all use of the methods also. It was discovered that
5376invoking these functions caused failures on some machines, probably
5377because
5378they were never tested since Windows does not call them. Affects two
5379external
5380interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
5381ACPICA BZ 969.
5382
5383Implemented support for complex bit-packed buffers returned from the _PLD
5384(Physical Location of Device) predefined method. Adds a new external
5385interface, AcpiDecodePldBuffer that parses the buffer into a more usable
5386C
5387structure. Note: C Bitfields cannot be used for this type of predefined
5388structure since the memory layout of individual bitfields is not defined
5389by
5390the C language. In addition, there are endian concerns where a compiler
5391will
5392change the bitfield ordering based on the machine type. The new ACPICA
5393interface eliminates these issues, and should be called after _PLD is
5394executed. ACPICA BZ 954.
5395
5396Implemented a change to allow a scope change to root (via "Scope (\)")
5397during
5398execution of module-level ASL code (code that is executed at table load
5399time.) Lin Ming.
5400
5401Added the Windows8/Server2012 string for the _OSI method. This change
5402adds
5403a
5404new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
54052012.
5406
5407Added header support for the new ACPI tables DBG2 (Debug Port Table Type
54082)
5409and CSRT (Core System Resource Table).
5410
5411Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
5412names. This simplifies access to the buffers returned by these predefined
5413names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
5414
5415GPE support: Removed an extraneous parameter from the various low-level
5416internal GPE functions. Tang Feng.
5417
5418Removed the linux makefiles from the unix packages. The generate/linux
5419makefiles are obsolete and have been removed from the unix tarball
5420release
5421packages. The replacement makefiles are under generate/unix, and there is
5422a
5423top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
5424
5425Updates for Unix makefiles:
54261) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
54272) Update linker flags (move to end of command line) for AcpiExec
5428utility.
5429Guan Chao.
5430
5431Split ACPICA initialization functions to new file, utxfinit.c. Split from
5432utxface.c to improve modularity and reduce file size.
5433
5434Example Code and Data Size: These are the sizes for the OS-independent
5435acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5436debug version of the code includes the debug output trace mechanism and
5437has a
5438much larger code and data size.
5439
5440  Previous Release:
5441    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
5442    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
5443  Current Release:
5444    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
5445    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
5446
5447
54482) iASL Compiler/Disassembler and Tools:
5449
5450iASL: Fixed a problem with constant folding for fixed-length constant
5451expressions. The constant-folding code was not being invoked for constant
5452expressions that allow the use of type 3/4/5 opcodes to generate
5453constants
5454for expressions such as ByteConstExpr, WordConstExpr, etc. This could
5455result
5456in the generation of invalid AML bytecode. ACPICA BZ 970.
5457
5458iASL: Fixed a generation issue on newer versions of Bison. Newer versions
5459apparently automatically emit some of the necessary externals. This
5460change
5461handles these versions in order to eliminate generation warnings.
5462
5463Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
5464
5465Disassembler: Add support to decode _PLD buffers. The decoded buffer
5466appears
5467within comments in the output file.
5468
5469Debugger: Fixed a regression with the "Threads" command where
5470AE_BAD_PARAMETER was always returned.
5471
5472----------------------------------------
547311 July 2012. Summary of changes for version 20120711:
5474
54751) ACPICA Kernel-resident Subsystem:
5476
5477Fixed a possible fault in the return package object repair code. Fixes a
5478problem that can occur when a lone package object is wrapped with an
5479outer
5480package object in order to force conformance to the ACPI specification.
5481Can
5482affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
5483_DLM,
5484_CSD, _PSD, _TSD.
5485
5486Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
5487PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
5488ARB_DIS bit must be implemented in the host-dependent C3 processor power
5489state
5490support. Note, ARB_DIS is obsolete and only applies to older chipsets,
5491both
5492Intel and other vendors. (for Intel: ICH4-M and earlier)
5493
5494This change removes the code to disable/enable bus master arbitration
5495during
5496suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
5497causes
5498resume problems on some machines. The change has been in use for over
5499seven
5500years within Linux.
5501
5502Implemented two new external interfaces to support host-directed dynamic
5503ACPI
5504table load and unload. They are intended to simplify the host
5505implementation
5506of hot-plug support:
5507  AcpiLoadTable: Load an SSDT from a buffer into the namespace.
5508  AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
5509table.
5510See the ACPICA reference for additional details. Adds one new file,
5511components/tables/tbxfload.c
5512
5513Implemented and deployed two new interfaces for errors and warnings that
5514are
5515known to be caused by BIOS/firmware issues:
5516  AcpiBiosError: Prints "ACPI Firmware Error" message.
5517  AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
5518Deployed these new interfaces in the ACPICA Table Manager code for ACPI
5519table
5520and FADT errors. Additional deployment to be completed as appropriate in
5521the
5522future. The associated conditional macros are ACPI_BIOS_ERROR and
5523ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
5524ACPICA
5525BZ
5526843.
5527
5528Implicit notify support: ensure that no memory allocation occurs within a
5529critical region. This fix moves a memory allocation outside of the time
5530that a
5531spinlock is held. Fixes issues on systems that do not allow this
5532behavior.
5533Jung-uk Kim.
5534
5535Split exception code utilities and tables into a new file,
5536utilities/utexcep.c
5537
5538Example Code and Data Size: These are the sizes for the OS-independent
5539acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5540debug
5541version of the code includes the debug output trace mechanism and has a
5542much
5543larger code and data size.
5544
5545  Previous Release:
5546    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5547    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5548  Current Release:
5549    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
5550    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
5551
5552
55532) iASL Compiler/Disassembler and Tools:
5554
5555iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
5556of
55570. Jung-uk Kim.
5558
5559Debugger: Enhanced the "tables" command to emit additional information
5560about
5561the current set of ACPI tables, including the owner ID and flags decode.
5562
5563Debugger: Reimplemented the "unload" command to use the new
5564AcpiUnloadParentTable external interface. This command was disable
5565previously
5566due to need for an unload interface.
5567
5568AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
5569option
5570will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
5571
5572----------------------------------------
557320 June 2012. Summary of changes for version 20120620:
5574
5575
55761) ACPICA Kernel-resident Subsystem:
5577
5578Implemented support to expand the "implicit notify" feature to allow
5579multiple
5580devices to be notified by a single GPE. This feature automatically
5581generates a
5582runtime device notification in the absence of a BIOS-provided GPE control
5583method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
5584notify is
5585provided by ACPICA for Windows compatibility, and is a workaround for
5586BIOS
5587AML
5588code errors. See the description of the AcpiSetupGpeForWake interface in
5589the
5590APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
5591
5592Changed some comments and internal function names to simplify and ensure
5593correctness of the Linux code translation. No functional changes.
5594
5595Example Code and Data Size: These are the sizes for the OS-independent
5596acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5597debug
5598version of the code includes the debug output trace mechanism and has a
5599much
5600larger code and data size.
5601
5602  Previous Release:
5603    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5604    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5605  Current Release:
5606    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5607    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5608
5609
56102) iASL Compiler/Disassembler and Tools:
5611
5612Disassembler: Added support to emit short, commented descriptions for the
5613ACPI
5614predefined names in order to improve the readability of the disassembled
5615output. ACPICA BZ 959. Changes include:
5616  1) Emit descriptions for all standard predefined names (_INI, _STA,
5617_PRW,
5618etc.)
5619  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
5620  3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
5621etc.)
5622
5623AcpiSrc: Fixed several long-standing Linux code translation issues.
5624Argument
5625descriptions in function headers are now translated properly to lower
5626case
5627and
5628underscores. ACPICA BZ 961. Also fixes translation problems such as
5629these:
5630(old -> new)
5631  i_aSL -> iASL
5632  00-7_f -> 00-7F
5633  16_k -> 16K
5634  local_fADT -> local_FADT
5635  execute_oSI -> execute_OSI
5636
5637iASL: Fixed a problem where null bytes were inadvertently emitted into
5638some
5639listing files.
5640
5641iASL: Added the existing debug options to the standard help screen. There
5642are
5643no longer two different help screens. ACPICA BZ 957.
5644
5645AcpiHelp: Fixed some typos in the various predefined name descriptions.
5646Also
5647expand some of the descriptions where appropriate.
5648
5649iASL: Fixed the -ot option (display compile times/statistics). Was not
5650working
5651properly for standard output; only worked for the debug file case.
5652
5653----------------------------------------
565418 May 2012. Summary of changes for version 20120518:
5655
5656
56571) ACPICA Core Subsystem:
5658
5659Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
5660defined
5661to block until asynchronous events such as notifies and GPEs have
5662completed.
5663Within ACPICA, it is only called before a notify or GPE handler is
5664removed/uninstalled. It also may be useful for the host OS within related
5665drivers such as the Embedded Controller driver. See the ACPICA reference
5666for
5667additional information. ACPICA BZ 868.
5668
5669ACPI Tables: Added a new error message for a possible overflow failure
5670during
5671the conversion of FADT 32-bit legacy register addresses to internal
5672common
567364-
5674bit GAS structure representation. The GAS has a one-byte "bit length"
5675field,
5676thus limiting the register length to 255 bits. ACPICA BZ 953.
5677
5678Example Code and Data Size: These are the sizes for the OS-independent
5679acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5680debug
5681version of the code includes the debug output trace mechanism and has a
5682much
5683larger code and data size.
5684
5685  Previous Release:
5686    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5687    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5688  Current Release:
5689    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5690    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5691
5692
56932) iASL Compiler/Disassembler and Tools:
5694
5695iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
5696macro.
5697This keyword was added late in the ACPI 5.0 release cycle and was not
5698implemented until now.
5699
5700Disassembler: Added support for Operation Region externals. Adds missing
5701support for operation regions that are defined in another table, and
5702referenced locally via a Field or BankField ASL operator. Now generates
5703the
5704correct External statement.
5705
5706Disassembler: Several additional fixes for the External() statement
5707generation
5708related to some ASL operators. Also, order the External() statements
5709alphabetically in the disassembler output. Fixes the External()
5710generation
5711for
5712the Create* field, Alias, and Scope operators:
5713 1) Create* buffer field operators - fix type mismatch warning on
5714disassembly
5715 2) Alias - implement missing External support
5716 3) Scope - fix to make sure all necessary externals are emitted.
5717
5718iASL: Improved pathname support. For include files, merge the prefix
5719pathname
5720with the file pathname and eliminate unnecessary components. Convert
5721backslashes in all pathnames to forward slashes, for readability. Include
5722file
5723pathname changes affect both #include and Include() type operators.
5724
5725iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
5726end
5727of a valid line by inserting a newline and then returning the EOF during
5728the
5729next call to GetNextLine. Prevents the line from being ignored due to EOF
5730condition.
5731
5732iASL: Implemented some changes to enhance the IDE support (-vi option.)
5733Error
5734and Warning messages are now correctly recognized for both the source
5735code
5736browser and the global error and warning counts.
5737
5738----------------------------------------
573920 April 2012. Summary of changes for version 20120420:
5740
5741
57421) ACPICA Core Subsystem:
5743
5744Implemented support for multiple notify handlers. This change adds
5745support
5746to
5747allow multiple system and device notify handlers on Device, Thermal Zone,
5748and
5749Processor objects. This can simplify the host OS notification
5750implementation.
5751Also re-worked and restructured the entire notify support code to
5752simplify
5753handler installation, handler removal, notify event queuing, and notify
5754dispatch to handler(s). Note: there can still only be two global notify
5755handlers - one for system notifies and one for device notifies. There are
5756no
5757changes to the existing handler install/remove interfaces. Lin Ming, Bob
5758Moore, Rafael Wysocki.
5759
5760Fixed a regression in the package repair code where the object reference
5761count was calculated incorrectly. Regression was introduced in the commit
5762"Support to add Package wrappers".
5763
5764Fixed a couple possible memory leaks in the AML parser, in the error
5765recovery
5766path. Jesper Juhl, Lin Ming.
5767
5768Example Code and Data Size: These are the sizes for the OS-independent
5769acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5770debug version of the code includes the debug output trace mechanism and
5771has a
5772much larger code and data size.
5773
5774  Previous Release:
5775    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5776    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5777  Current Release:
5778    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5779    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5780
5781
57822) iASL Compiler/Disassembler and Tools:
5783
5784iASL: Fixed a problem with the resource descriptor support where the
5785length
5786of the StartDependentFn and StartDependentFnNoPrio descriptors were not
5787included in cumulative descriptor offset, resulting in incorrect values
5788for
5789resource tags within resource descriptors appearing after a
5790StartDependent*
5791descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
5792
5793iASL and Preprocessor: Implemented full support for the #line directive
5794to
5795correctly track original source file line numbers through the .i
5796preprocessor
5797output file - for error and warning messages.
5798
5799iASL: Expand the allowable byte constants for address space IDs.
5800Previously,
5801the allowable range was 0x80-0xFF (user-defined spaces), now the range is
58020x0A-0xFF to allow for custom and new IDs without changing the compiler.
5803
5804iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
5805
5806iASL: Add option to completely disable the preprocessor (-Pn).
5807
5808iASL: Now emit all error/warning messages to standard error (stderr) by
5809default (instead of the previous stdout).
5810
5811ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
5812Update
5813for resource descriptor offset fix above. Update/cleanup error output
5814routines. Enable and send iASL errors/warnings to an error logfile
5815(error.txt). Send all other iASL output to a logfile (compiler.txt).
5816Fixed
5817several extraneous "unrecognized operator" messages.
5818
5819----------------------------------------
582020 March 2012. Summary of changes for version 20120320:
5821
5822
58231) ACPICA Core Subsystem:
5824
5825Enhanced the sleep/wake interfaces to optionally execute the _GTS method
5826(Going To Sleep) and the _BFS method (Back From Sleep). Windows
5827apparently
5828does not execute these methods, and therefore these methods are often
5829untested. It has been seen on some systems where the execution of these
5830methods causes errors and also prevents the machine from entering S5. It
5831is
5832therefore suggested that host operating systems do not execute these
5833methods
5834by default. In the future, perhaps these methods can be optionally
5835executed
5836based on the age of the system and/or what is the newest version of
5837Windows
5838that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
5839and
5840AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
5841Ming.
5842
5843Fixed a problem where the length of the local/common FADT was set too
5844early.
5845The local FADT table length cannot be set to the common length until the
5846original length has been examined. There is code that checks the table
5847length
5848and sets various fields appropriately. This can affect older machines
5849with
5850early FADT versions. For example, this can cause inadvertent writes to
5851the
5852CST_CNT register. Julian Anastasov.
5853
5854Fixed a mapping issue related to a physical table override. Use the
5855deferred
5856mapping mechanism for tables loaded via the physical override OSL
5857interface.
5858This allows for early mapping before the virtual memory manager is
5859available.
5860Thomas Renninger, Bob Moore.
5861
5862Enhanced the automatic return-object repair code: Repair a common problem
5863with
5864predefined methods that are defined to return a variable-length Package
5865of
5866sub-objects. If there is only one sub-object, some BIOS ASL code
5867mistakenly
5868simply returns the single object instead of a Package with one sub-
5869object.
5870This new support will repair this error by wrapping a Package object
5871around
5872the original object, creating the correct and expected Package with one
5873sub-
5874object. Names that can be repaired in this manner include: _ALR, _CSD,
5875_HPX,
5876_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
5877939.
5878
5879Changed the exception code returned for invalid ACPI paths passed as
5880parameters to external interfaces such as AcpiEvaluateObject. Was
5881AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
5882
5883Example Code and Data Size: These are the sizes for the OS-independent
5884acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5885debug
5886version of the code includes the debug output trace mechanism and has a
5887much
5888larger code and data size.
5889
5890  Previous Release:
5891    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5892    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5893  Current Release:
5894    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5895    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5896
5897
58982) iASL Compiler/Disassembler and Tools:
5899
5900iASL: Added the infrastructure and initial implementation of a integrated
5901C-
5902like preprocessor. This will simplify BIOS development process by
5903eliminating
5904the need for a separate preprocessing step during builds. On Windows, it
5905also
5906eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
5907features including full #define() macro support are still under
5908development.
5909These preprocessor directives are supported:
5910    #define
5911    #elif
5912    #else
5913    #endif
5914    #error
5915    #if
5916    #ifdef
5917    #ifndef
5918    #include
5919    #pragma message
5920    #undef
5921    #warning
5922In addition, these new command line options are supported:
5923    -D <symbol> Define symbol for preprocessor use
5924    -li         Create preprocessed output file (*.i)
5925    -P          Preprocess only and create preprocessor output file (*.i)
5926
5927Table Compiler: Fixed a problem where the equals operator within an
5928expression
5929did not work properly.
5930
5931Updated iASL to use the current versions of Bison/Flex. Updated the
5932Windows
5933project file to invoke these tools from the standard location. ACPICA BZ
5934904.
5935Versions supported:
5936    Flex for Windows:  V2.5.4
5937    Bison for Windows: V2.4.1
5938
5939----------------------------------------
594015 February 2012. Summary of changes for version 20120215:
5941
5942
59431) ACPICA Core Subsystem:
5944
5945There have been some major changes to the sleep/wake support code, as
5946described below (a - e).
5947
5948a) The AcpiLeaveSleepState has been split into two interfaces, similar to
5949AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
5950AcpiLeaveSleepStatePrep. This allows the host to perform actions between
5951the
5952time the _BFS method is called and the _WAK method is called. NOTE: all
5953hosts
5954must update their wake/resume code or else sleep/wake will not work
5955properly.
5956Rafael Wysocki.
5957
5958b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
5959_WAK
5960method. Some machines require that the GPEs are enabled before the _WAK
5961method
5962is executed. Thomas Renninger.
5963
5964c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
5965bit.
5966Some BIOS code assumes that WAK_STS will be cleared on resume and use it
5967to
5968determine whether the system is rebooting or resuming. Matthew Garrett.
5969
5970d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
5971Sleep) to
5972match the ACPI specification requirement. Rafael Wysocki.
5973
5974e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
5975registers within the V5 FADT. This support adds two new files:
5976hardware/hwesleep.c implements the support for the new registers. Moved
5977all
5978sleep/wake external interfaces to hardware/hwxfsleep.c.
5979
5980
5981Added a new OSL interface for ACPI table overrides,
5982AcpiOsPhysicalTableOverride. This interface allows the host to override a
5983table via a physical address, instead of the logical address required by
5984AcpiOsTableOverride. This simplifies the host implementation. Initial
5985implementation by Thomas Renninger. The ACPICA implementation creates a
5986single
5987shared function for table overrides that attempts both a logical and a
5988physical override.
5989
5990Expanded the OSL memory read/write interfaces to 64-bit data
5991(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
5992transfer support for GAS register structures passed to AcpiRead and
5993AcpiWrite.
5994
5995Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
5996custom
5997build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
5998model.
5999See the ACPICA reference for details. ACPICA BZ 942. This option removes
6000about
600110% of the code and 5% of the static data, and the following hardware
6002ACPI
6003features become unavailable:
6004    PM Event and Control registers
6005    SCI interrupt (and handler)
6006    Fixed Events
6007    General Purpose Events (GPEs)
6008    Global Lock
6009    ACPI PM timer
6010    FACS table (Waking vectors and Global Lock)
6011
6012Updated the unix tarball directory structure to match the ACPICA git
6013source
6014tree. This ensures that the generic unix makefiles work properly (in
6015generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ
6016867.
6017
6018Updated the return value of the _REV predefined method to integer value 5
6019to
6020reflect ACPI 5.0 support.
6021
6022Moved the external ACPI PM timer interface prototypes to the public
6023acpixf.h
6024file where they belong.
6025
6026Example Code and Data Size: These are the sizes for the OS-independent
6027acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6028debug
6029version of the code includes the debug output trace mechanism and has a
6030much
6031larger code and data size.
6032
6033  Previous Release:
6034    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
6035    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
6036  Current Release:
6037    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
6038    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
6039
6040
60412) iASL Compiler/Disassembler and Tools:
6042
6043Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
6044descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
6045incorrectly displayed.
6046
6047AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
6048specification.
6049
6050----------------------------------------
605111 January 2012. Summary of changes for version 20120111:
6052
6053
60541) ACPICA Core Subsystem:
6055
6056Implemented a new mechanism to allow host device drivers to check for
6057address
6058range conflicts with ACPI Operation Regions. Both SystemMemory and
6059SystemIO
6060address spaces are supported. A new external interface,
6061AcpiCheckAddressRange,
6062allows drivers to check an address range against the ACPI namespace. See
6063the
6064ACPICA reference for additional details. Adds one new file,
6065utilities/utaddress.c. Lin Ming, Bob Moore.
6066
6067Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
6068Control
6069and
6070Status registers, update the ACPI 5.0 flags, and update internal data
6071structures to handle an FADT larger than 256 bytes. The size of the ACPI
60725.0
6073FADT is 268 bytes.
6074
6075Updated all ACPICA copyrights and signons to 2012. Added the 2012
6076copyright to
6077all module headers and signons, including the standard Linux header. This
6078affects virtually every file in the ACPICA core subsystem, iASL compiler,
6079and
6080all ACPICA utilities.
6081
6082Example Code and Data Size: These are the sizes for the OS-independent
6083acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6084debug
6085version of the code includes the debug output trace mechanism and has a
6086much
6087larger code and data size.
6088
6089  Previous Release:
6090    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
6091    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
6092  Current Release:
6093    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
6094    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
6095
6096
60972) iASL Compiler/Disassembler and Tools:
6098
6099Disassembler: fixed a problem with the automatic resource tag generation
6100support. Fixes a problem where the resource tags are inadvertently not
6101constructed if the table being disassembled contains external references
6102to
6103control methods. Moved the actual construction of the tags to after the
6104final
6105namespace is constructed (after 2nd parse is invoked due to external
6106control
6107method references.) ACPICA BZ 941.
6108
6109Table Compiler: Make all "generic" operators caseless. These are the
6110operators
6111like UINT8, String, etc. Making these caseless improves ease-of-use.
6112ACPICA BZ
6113934.
6114
6115----------------------------------------
611623 November 2011. Summary of changes for version 20111123:
6117
61180) ACPI 5.0 Support:
6119
6120This release contains full support for the ACPI 5.0 specification, as
6121summarized below.
6122
6123Reduced Hardware Support:
6124-------------------------
6125
6126This support allows for ACPI systems without the usual ACPI hardware.
6127This
6128support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
6129will
6130not attempt to initialize or use any of the usual ACPI hardware. Note,
6131when
6132this flag is set, all of the following ACPI hardware is assumed to be not
6133present and is not initialized or accessed:
6134
6135    General Purpose Events (GPEs)
6136    Fixed Events (PM1a/PM1b and PM Control)
6137    Power Management Timer and Console Buttons (power/sleep)
6138    Real-time Clock Alarm
6139    Global Lock
6140    System Control Interrupt (SCI)
6141    The FACS is assumed to be non-existent
6142
6143ACPI Tables:
6144------------
6145
6146All new tables and updates to existing tables are fully supported in the
6147ACPICA headers (for use by device drivers), the disassembler, and the
6148iASL
6149Data Table Compiler. ACPI 5.0 defines these new tables:
6150
6151    BGRT        /* Boot Graphics Resource Table */
6152    DRTM        /* Dynamic Root of Trust for Measurement table */
6153    FPDT        /* Firmware Performance Data Table */
6154    GTDT        /* Generic Timer Description Table */
6155    MPST        /* Memory Power State Table */
6156    PCCT        /* Platform Communications Channel Table */
6157    PMTT        /* Platform Memory Topology Table */
6158    RASF        /* RAS Feature table */
6159
6160Operation Regions/SpaceIDs:
6161---------------------------
6162
6163All new operation regions are fully supported by the iASL compiler, the
6164disassembler, and the ACPICA runtime code (for dispatch to region
6165handlers.)
6166The new operation region Space IDs are:
6167
6168    GeneralPurposeIo
6169    GenericSerialBus
6170
6171Resource Descriptors:
6172---------------------
6173
6174All new ASL resource descriptors are fully supported by the iASL
6175compiler,
6176the
6177ASL/AML disassembler, and the ACPICA runtime Resource Manager code
6178(including
6179all new predefined resource tags). New descriptors are:
6180
6181    FixedDma
6182    GpioIo
6183    GpioInt
6184    I2cSerialBus
6185    SpiSerialBus
6186    UartSerialBus
6187
6188ASL/AML Operators, New and Modified:
6189------------------------------------
6190
6191One new operator is added, the Connection operator, which is used to
6192associate
6193a GeneralPurposeIo or GenericSerialBus resource descriptor with
6194individual
6195field objects within an operation region. Several new protocols are
6196associated
6197with the AccessAs operator. All are fully supported by the iASL compiler,
6198disassembler, and runtime ACPICA AML interpreter:
6199
6200    Connection                      // Declare Field Connection
6201attributes
6202    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
6203    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes
6204Protocol
6205    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
6206    RawDataBuffer                       // Data type for Vendor Data
6207fields
6208
6209Predefined ASL/AML Objects:
6210---------------------------
6211
6212All new predefined objects/control-methods are supported by the iASL
6213compiler
6214and the ACPICA runtime validation/repair (arguments and return values.)
6215New
6216predefined names include the following:
6217
6218Standard Predefined Names (Objects or Control Methods):
6219    _AEI, _CLS, _CPC, _CWS, _DEP,
6220    _DLM, _EVT, _GCP, _CRT, _GWS,
6221    _HRV, _PRE, _PSE, _SRT, _SUB.
6222
6223Resource Tags (Names used to access individual fields within resource
6224descriptors):
6225    _DBT, _DPL, _DRS, _END, _FLC,
6226    _IOR, _LIN, _MOD, _PAR, _PHA,
6227    _PIN, _PPI, _POL, _RXL, _SLV,
6228    _SPE, _STB, _TXL, _VEN.
6229
6230ACPICA External Interfaces:
6231---------------------------
6232
6233Several new interfaces have been defined for use by ACPI-related device
6234drivers and other host OS services:
6235
6236AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
6237to
6238acquire and release AML mutexes that are defined in the DSDT/SSDT tables
6239provided by the BIOS. They are intended to be used in conjunction with
6240the
6241ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
6242mutual exclusion with the AML code/interpreter.
6243
6244AcpiGetEventResources: Returns the (formatted) resource descriptors as
6245defined
6246by the ACPI 5.0 _AEI object (ACPI Event Information).  This object
6247provides
6248resource descriptors associated with hardware-reduced platform events,
6249similar
6250to the AcpiGetCurrentResources interface.
6251
6252Operation Region Handlers: For General Purpose IO and Generic Serial Bus
6253operation regions, information about the Connection() object and any
6254optional
6255length information is passed to the region handler within the Context
6256parameter.
6257
6258AcpiBufferToResource: This interface converts a raw AML buffer containing
6259a
6260resource template or resource descriptor to the ACPI_RESOURCE internal
6261format
6262suitable for use by device drivers. Can be used by an operation region
6263handler
6264to convert the Connection() buffer object into a ACPI_RESOURCE.
6265
6266Miscellaneous/Tools/TestSuites:
6267-------------------------------
6268
6269Support for extended _HID names (Four alpha characters instead of three).
6270Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
6271Support for ACPI 5.0 features in the ASLTS test suite.
6272Fully updated documentation (ACPICA and iASL reference documents.)
6273
6274ACPI Table Definition Language:
6275-------------------------------
6276
6277Support for this language was implemented and released as a subsystem of
6278the
6279iASL compiler in 2010. (See the iASL compiler User Guide.)
6280
6281
6282Non-ACPI 5.0 changes for this release:
6283--------------------------------------
6284
62851) ACPICA Core Subsystem:
6286
6287Fix a problem with operation region declarations where a failure can
6288occur
6289if
6290the region name and an argument that evaluates to an object (such as the
6291region address) are in different namespace scopes. Lin Ming, ACPICA BZ
6292937.
6293
6294Do not abort an ACPI table load if an invalid space ID is found within.
6295This
6296will be caught later if the offending method is executed. ACPICA BZ 925.
6297
6298Fixed an issue with the FFixedHW space ID where the ID was not always
6299recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
6300
6301Fixed a problem with the 32-bit generation of the unix-specific OSL
6302(osunixxf.c). Lin Ming, ACPICA BZ 936.
6303
6304Several changes made to enable generation with the GCC 4.6 compiler.
6305ACPICA BZ
6306935.
6307
6308New error messages: Unsupported I/O requests (not 8/16/32 bit), and
6309Index/Bank
6310field registers out-of-range.
6311
63122) iASL Compiler/Disassembler and Tools:
6313
6314iASL: Implemented the __PATH__ operator, which returns the full pathname
6315of
6316the current source file.
6317
6318AcpiHelp: Automatically display expanded keyword information for all ASL
6319operators.
6320
6321Debugger: Add "Template" command to disassemble/dump resource template
6322buffers.
6323
6324Added a new master script to generate and execute the ASLTS test suite.
6325Automatically handles 32- and 64-bit generation. See tests/aslts.sh
6326
6327iASL: Fix problem with listing generation during processing of the
6328Switch()
6329operator where AML listing was disabled until the entire Switch block was
6330completed.
6331
6332iASL: Improve support for semicolon statement terminators. Fix "invalid
6333character" message for some cases when the semicolon is used. Semicolons
6334are
6335now allowed after every <Term> grammar element. ACPICA BZ 927.
6336
6337iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
6338923.
6339
6340Disassembler: Fix problem with disassembly of the DataTableRegion
6341operator
6342where an inadvertent "Unhandled deferred opcode" message could be
6343generated.
6344
63453) Example Code and Data Size
6346
6347These are the sizes for the OS-independent acpica.lib produced by the
6348Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
6349includes the debug output trace mechanism and has a much larger code and
6350data
6351size.
6352
6353  Previous Release:
6354    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6355    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6356  Current Release:
6357    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
6358    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
6359
6360----------------------------------------
636122 September 2011. Summary of changes for version 20110922:
6362
63630) ACPI 5.0 News:
6364
6365Support for ACPI 5.0 in ACPICA has been underway for several months and
6366will
6367be released at the same time that ACPI 5.0 is officially released.
6368
6369The ACPI 5.0 specification is on track for release in the next few
6370months.
6371
63721) ACPICA Core Subsystem:
6373
6374Fixed a problem where the maximum sleep time for the Sleep() operator was
6375intended to be limited to two seconds, but was inadvertently limited to
637620
6377seconds instead.
6378
6379Linux and Unix makefiles: Added header file dependencies to ensure
6380correct
6381generation of ACPICA core code and utilities. Also simplified the
6382makefiles
6383considerably through the use of the vpath variable to specify search
6384paths.
6385ACPICA BZ 924.
6386
63872) iASL Compiler/Disassembler and Tools:
6388
6389iASL: Implemented support to check the access length for all fields
6390created to
6391access named Resource Descriptor fields. For example, if a resource field
6392is
6393defined to be two bits, a warning is issued if a CreateXxxxField() is
6394used
6395with an incorrect bit length. This is implemented for all current
6396resource
6397descriptor names. ACPICA BZ 930.
6398
6399Disassembler: Fixed a byte ordering problem with the output of 24-bit and
640056-
6401bit integers.
6402
6403iASL: Fixed a couple of issues associated with variable-length package
6404objects. 1) properly handle constants like One, Ones, Zero -- do not make
6405a
6406VAR_PACKAGE when these are used as a package length. 2) Allow the
6407VAR_PACKAGE
6408opcode (in addition to PACKAGE) when validating object types for
6409predefined
6410names.
6411
6412iASL: Emit statistics for all output files (instead of just the ASL input
6413and
6414AML output). Includes listings, hex files, etc.
6415
6416iASL: Added -G option to the table compiler to allow the compilation of
6417custom
6418ACPI tables. The only part of a table that is required is the standard
641936-
6420byte
6421ACPI header.
6422
6423AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
6424headers),
6425which also adds correct 64-bit support. Also, now all output filenames
6426are
6427completely lower case.
6428
6429AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
6430loading table files. A warning is issued for any such tables. The only
6431exception is an FADT. This also fixes a possible fault when attempting to
6432load
6433non-AML tables. ACPICA BZ 932.
6434
6435AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
6436a
6437missing table terminator could cause a fault when using the -p option.
6438
6439AcpiSrc: Fixed a possible divide-by-zero fault when generating file
6440statistics.
6441
64423) Example Code and Data Size
6443
6444These are the sizes for the OS-independent acpica.lib produced by the
6445Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
6446includes the debug output trace mechanism and has a much larger code and
6447data
6448size.
6449
6450  Previous Release (VC 9.0):
6451    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6452    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6453  Current Release (VC 9.0):
6454    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6455    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6456
6457
6458----------------------------------------
645923 June 2011. Summary of changes for version 20110623:
6460
64611) ACPI CA Core Subsystem:
6462
6463Updated the predefined name repair mechanism to not attempt repair of a
6464_TSS
6465return object if a _PSS object is present. We can only sort the _TSS
6466return
6467package if there is no _PSS within the same scope. This is because if
6468_PSS
6469is
6470present, the ACPI specification dictates that the _TSS Power Dissipation
6471field
6472is to be ignored, and therefore some BIOSs leave garbage values in the
6473_TSS
6474Power field(s). In this case, it is best to just return the _TSS package
6475as-
6476is. Reported by, and fixed with assistance from Fenghua Yu.
6477
6478Added an option to globally disable the control method return value
6479validation
6480and repair. This runtime option can be used to disable return value
6481repair
6482if
6483this is causing a problem on a particular machine. Also added an option
6484to
6485AcpiExec (-dr) to set this disable flag.
6486
6487All makefiles and project files: Major changes to improve generation of
6488ACPICA
6489tools. ACPICA BZ 912:
6490    Reduce default optimization levels to improve compatibility
6491    For Linux, add strict-aliasing=0 for gcc 4
6492    Cleanup and simplify use of command line defines
6493    Cleanup multithread library support
6494    Improve usage messages
6495
6496Linux-specific header: update handling of THREAD_ID and pthread. For the
649732-
6498bit case, improve casting to eliminate possible warnings, especially with
6499the
6500acpica tools.
6501
6502Example Code and Data Size: These are the sizes for the OS-independent
6503acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6504debug
6505version of the code includes the debug output trace mechanism and has a
6506much
6507larger code and data size.
6508
6509  Previous Release (VC 9.0):
6510    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6511    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6512  Current Release (VC 9.0):
6513    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6514    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6515
65162) iASL Compiler/Disassembler and Tools:
6517
6518With this release, a new utility named "acpihelp" has been added to the
6519ACPICA
6520package. This utility summarizes the ACPI specification chapters for the
6521ASL
6522and AML languages. It generates under Linux/Unix as well as Windows, and
6523provides the following functionality:
6524    Find/display ASL operator(s) -- with description and syntax.
6525    Find/display ASL keyword(s) -- with exact spelling and descriptions.
6526    Find/display ACPI predefined name(s) -- with description, number
6527        of arguments, and the return value data type.
6528    Find/display AML opcode name(s) -- with opcode, arguments, and
6529grammar.
6530    Decode/display AML opcode -- with opcode name, arguments, and
6531grammar.
6532
6533Service Layers: Make multi-thread support configurable. Conditionally
6534compile
6535the multi-thread support so that threading libraries will not be linked
6536if
6537not
6538necessary. The only tool that requires multi-thread support is AcpiExec.
6539
6540iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
6541of
6542Bison appear to want the interface to yyerror to be a const char * (or at
6543least this is a problem when generating iASL on some systems.) ACPICA BZ
6544923
6545Pierre Lejeune.
6546
6547Tools: Fix for systems where O_BINARY is not defined. Only used for
6548Windows
6549versions of the tools.
6550
6551----------------------------------------
655227 May 2011. Summary of changes for version 20110527:
6553
65541) ACPI CA Core Subsystem:
6555
6556ASL Load() operator: Reinstate most restrictions on the incoming ACPI
6557table
6558signature. Now, only allow SSDT, OEMx, and a null signature. History:
6559    1) Originally, we checked the table signature for "SSDT" or "PSDT".
6560       (PSDT is now obsolete.)
6561    2) We added support for OEMx tables, signature "OEM" plus a fourth
6562       "don't care" character.
6563    3) Valid tables were encountered with a null signature, so we just
6564       gave up on validating the signature, (05/2008).
6565    4) We encountered non-AML tables such as the MADT, which caused
6566       interpreter errors and kernel faults. So now, we once again allow
6567       only SSDT, OEMx, and now, also a null signature. (05/2011).
6568
6569Added the missing _TDL predefined name to the global name list in order
6570to
6571enable validation. Affects both the core ACPICA code and the iASL
6572compiler.
6573
6574Example Code and Data Size: These are the sizes for the OS-independent
6575acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6576debug
6577version of the code includes the debug output trace mechanism and has a
6578much
6579larger code and data size.
6580
6581  Previous Release (VC 9.0):
6582    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6583    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6584  Current Release (VC 9.0):
6585    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6586    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6587
65882) iASL Compiler/Disassembler and Tools:
6589
6590Debugger/AcpiExec: Implemented support for "complex" method arguments on
6591the
6592debugger command line. This adds support beyond simple integers --
6593including
6594Strings, Buffers, and Packages. Includes support for nested packages.
6595Increased the default command line buffer size to accommodate these
6596arguments.
6597See the ACPICA reference for details and syntax. ACPICA BZ 917.
6598
6599Debugger/AcpiExec: Implemented support for "default" method arguments for
6600the
6601Execute/Debug command. Now, the debugger will always invoke a control
6602method
6603with the required number of arguments -- even if the command line
6604specifies
6605none or insufficient arguments. It uses default integer values for any
6606missing
6607arguments. Also fixes a bug where only six method arguments maximum were
6608supported instead of the required seven.
6609
6610Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
6611and
6612also return status in order to prevent buffer overruns. See the ACPICA
6613reference for details and syntax. ACPICA BZ 921
6614
6615iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
6616makefiles to simplify support for the two different but similar parser
6617generators, bison and yacc.
6618
6619Updated the generic unix makefile for gcc 4. The default gcc version is
6620now
6621expected to be 4 or greater, since options specific to gcc 4 are used.
6622
6623----------------------------------------
662413 April 2011. Summary of changes for version 20110413:
6625
66261) ACPI CA Core Subsystem:
6627
6628Implemented support to execute a so-called "orphan" _REG method under the
6629EC
6630device. This change will force the execution of a _REG method underneath
6631the
6632EC
6633device even if there is no corresponding operation region of type
6634EmbeddedControl. Fixes a problem seen on some machines and apparently is
6635compatible with Windows behavior. ACPICA BZ 875.
6636
6637Added more predefined methods that are eligible for automatic NULL
6638package
6639element removal. This change adds another group of predefined names to
6640the
6641list
6642of names that can be repaired by having NULL package elements dynamically
6643removed. This group are those methods that return a single variable-
6644length
6645package containing simple data types such as integers, buffers, strings.
6646This
6647includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
6648_PSL,
6649_Sx,
6650and _TZD. ACPICA BZ 914.
6651
6652Split and segregated all internal global lock functions to a new file,
6653evglock.c.
6654
6655Updated internal address SpaceID for DataTable regions. Moved this
6656internal
6657space
6658id in preparation for ACPI 5.0 changes that will include some new space
6659IDs.
6660This
6661change should not affect user/host code.
6662
6663Example Code and Data Size: These are the sizes for the OS-independent
6664acpica.lib
6665produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
6666version of
6667the code includes the debug output trace mechanism and has a much larger
6668code
6669and
6670data size.
6671
6672  Previous Release (VC 9.0):
6673    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6674    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6675  Current Release (VC 9.0):
6676    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6677    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6678
66792) iASL Compiler/Disassembler and Tools:
6680
6681iASL/DTC: Major update for new grammar features. Allow generic data types
6682in
6683custom ACPI tables. Field names are now optional. Any line can be split
6684to
6685multiple lines using the continuation char (\). Large buffers now use
6686line-
6687continuation character(s) and no colon on the continuation lines. See the
6688grammar
6689update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
6690Moore.
6691
6692iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
6693statements.
6694Since the parser stuffs a "zero" as the return value for these statements
6695(due
6696to
6697the underlying AML grammar), they were seen as "return with value" by the
6698iASL
6699semantic checking. They are now seen correctly as "null" return
6700statements.
6701
6702iASL: Check if a_REG declaration has a corresponding Operation Region.
6703Adds a
6704check for each _REG to ensure that there is in fact a corresponding
6705operation
6706region declaration in the same scope. If not, the _REG method is not very
6707useful
6708since it probably won't be executed. ACPICA BZ 915.
6709
6710iASL/DTC: Finish support for expression evaluation. Added a new
6711expression
6712parser
6713that implements c-style operator precedence and parenthesization. ACPICA
6714bugzilla
6715908.
6716
6717Disassembler/DTC: Remove support for () and <> style comments in data
6718tables.
6719Now
6720that DTC has full expression support, we don't want to have comment
6721strings
6722that
6723start with a parentheses or a less-than symbol. Now, only the standard /*
6724and
6725//
6726comments are supported, as well as the bracket [] comments.
6727
6728AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
6729"unusual"
6730headers in the acpidump file. Update the header validation to support
6731these
6732tables. Problem introduced in previous AcpiXtract version in the change
6733to
6734support "wrong checksum" error messages emitted by acpidump utility.
6735
6736iASL: Add a * option to generate all template files (as a synonym for
6737ALL)
6738as
6739in
6740"iasl -T *" or "iasl -T ALL".
6741
6742iASL/DTC: Do not abort compiler on fatal errors. We do not want to
6743completely
6744abort the compiler on "fatal" errors, simply should abort the current
6745compile.
6746This allows multiple compiles with a single (possibly wildcard) compiler
6747invocation.
6748
6749----------------------------------------
675016 March 2011. Summary of changes for version 20110316:
6751
67521) ACPI CA Core Subsystem:
6753
6754Fixed a problem caused by a _PRW method appearing at the namespace root
6755scope
6756during the setup of wake GPEs. A fault could occur if a _PRW directly
6757under
6758the
6759root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
6760
6761Implemented support for "spurious" Global Lock interrupts. On some
6762systems, a
6763global lock interrupt can occur without the pending flag being set. Upon
6764a
6765GL
6766interrupt, we now ensure that a thread is actually waiting for the lock
6767before
6768signaling GL availability. Rafael Wysocki, Bob Moore.
6769
6770Example Code and Data Size: These are the sizes for the OS-independent
6771acpica.lib
6772produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
6773version of
6774the code includes the debug output trace mechanism and has a much larger
6775code
6776and
6777data size.
6778
6779  Previous Release (VC 9.0):
6780    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6781    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6782  Current Release (VC 9.0):
6783    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6784    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6785
67862) iASL Compiler/Disassembler and Tools:
6787
6788Implemented full support for the "SLIC" ACPI table. Includes support in
6789the
6790header files, disassembler, table compiler, and template generator. Bob
6791Moore,
6792Lin Ming.
6793
6794AcpiXtract: Correctly handle embedded comments and messages from
6795AcpiDump.
6796Apparently some or all versions of acpidump will occasionally emit a
6797comment
6798like
6799"Wrong checksum", etc., into the dump file. This was causing problems for
6800AcpiXtract. ACPICA BZ 905.
6801
6802iASL: Fix the Linux makefile by removing an inadvertent double file
6803inclusion.
6804ACPICA BZ 913.
6805
6806AcpiExec: Update installation of operation region handlers. Install one
6807handler
6808for a user-defined address space. This is used by the ASL test suite
6809(ASLTS).
6810
6811----------------------------------------
681211 February 2011. Summary of changes for version 20110211:
6813
68141) ACPI CA Core Subsystem:
6815
6816Added a mechanism to defer _REG methods for some early-installed
6817handlers.
6818Most user handlers should be installed before call to
6819AcpiEnableSubsystem.
6820However, Event handlers and region handlers should be installed after
6821AcpiInitializeObjects. Override handlers for the "default" regions should
6822be
6823installed early, however. This change executes all _REG methods for the
6824default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
6825chicken/egg issues between them. ACPICA BZ 848.
6826
6827Implemented an optimization for GPE detection. This optimization will
6828simply
6829ignore GPE registers that contain no enabled GPEs -- there is no need to
6830read the register since this information is available internally. This
6831becomes more important on machines with a large GPE space. ACPICA
6832bugzilla
6833884. Lin Ming. Suggestion from Joe Liu.
6834
6835Removed all use of the highly unreliable FADT revision field. The
6836revision
6837number in the FADT has been found to be completely unreliable and cannot
6838be
6839trusted. Only the actual table length can be used to infer the version.
6840This
6841change updates the ACPICA core and the disassembler so that both no
6842longer
6843even look at the FADT version and instead depend solely upon the FADT
6844length.
6845
6846Fix an unresolved name issue for the no-debug and no-error-message source
6847generation cases. The _AcpiModuleName was left undefined in these cases,
6848but
6849it is actually needed as a parameter to some interfaces. Define
6850_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
6851
6852Split several large files (makefiles and project files updated)
6853  utglobal.c   -> utdecode.c
6854  dbcomds.c    -> dbmethod.c dbnames.c
6855  dsopcode.c   -> dsargs.c dscontrol.c
6856  dsload.c     -> dsload2.c
6857  aslanalyze.c -> aslbtypes.c aslwalks.c
6858
6859Example Code and Data Size: These are the sizes for the OS-independent
6860acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6861debug version of the code includes the debug output trace mechanism and
6862has
6863a much larger code and data size.
6864
6865  Previous Release (VC 9.0):
6866    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6867    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6868  Current Release (VC 9.0):
6869    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6870    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6871
68722) iASL Compiler/Disassembler and Tools:
6873
6874iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
6875These are useful C-style macros with the standard definitions. ACPICA
6876bugzilla 898.
6877
6878iASL/DTC: Added support for integer expressions and labels. Support for
6879full
6880expressions for all integer fields in all ACPI tables. Support for labels
6881in
6882"generic" portions of tables such as UEFI. See the iASL reference manual.
6883
6884Debugger: Added a command to display the status of global handlers. The
6885"handlers" command will display op region, fixed event, and miscellaneous
6886global handlers. installation status -- and for op regions, whether
6887default
6888or user-installed handler will be used.
6889
6890iASL: Warn if reserved method incorrectly returns a value. Many
6891predefined
6892names are defined such that they do not return a value. If implemented as
6893a
6894method, issue a warning if such a name explicitly returns a value. ACPICA
6895Bugzilla 855.
6896
6897iASL: Added detection of GPE method name conflicts. Detects a conflict
6898where
6899there are two GPE methods of the form _Lxy and _Exy in the same scope.
6900(For
6901example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
6902
6903iASL/DTC: Fixed a couple input scanner issues with comments and line
6904numbers. Comment remover could get confused and miss a comment ending.
6905Fixed
6906a problem with line counter maintenance.
6907
6908iASL/DTC: Reduced the severity of some errors from fatal to error. There
6909is
6910no need to abort on simple errors within a field definition.
6911
6912Debugger: Simplified the output of the help command. All help output now
6913in
6914a single screen, instead of help subcommands. ACPICA Bugzilla 897.
6915
6916----------------------------------------
691712 January 2011. Summary of changes for version 20110112:
6918
69191) ACPI CA Core Subsystem:
6920
6921Fixed a race condition between method execution and namespace walks that
6922can
6923possibly cause a fault. The problem was apparently introduced in version
692420100528 as a result of a performance optimization that reduces the
6925number
6926of
6927namespace walks upon method exit by using the delete_namespace_subtree
6928function instead of the delete_namespace_by_owner function used
6929previously.
6930Bug is a missing namespace lock in the delete_namespace_subtree function.
6931dana.myers@oracle.com
6932
6933Fixed several issues and a possible fault with the automatic "serialized"
6934method support. History: This support changes a method to "serialized" on
6935the
6936fly if the method generates an AE_ALREADY_EXISTS error, indicating the
6937possibility that it cannot handle reentrancy. This fix repairs a couple
6938of
6939issues seen in the field, especially on machines with many cores:
6940
6941    1) Delete method children only upon the exit of the last thread,
6942       so as to not delete objects out from under other running threads
6943      (and possibly causing a fault.)
6944    2) Set the "serialized" bit for the method only upon the exit of the
6945       Last thread, so as to not cause deadlock when running threads
6946       attempt to exit.
6947    3) Cleanup the use of the AML "MethodFlags" and internal method flags
6948       so that there is no longer any confusion between the two.
6949
6950    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
6951
6952Debugger: Now lock the namespace for duration of a namespace dump.
6953Prevents
6954issues if the namespace is changing dynamically underneath the debugger.
6955Especially affects temporary namespace nodes, since the debugger displays
6956these also.
6957
6958Updated the ordering of include files. The ACPICA headers should appear
6959before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
6960set
6961any necessary compiler-specific defines, etc. Affects the ACPI-related
6962tools
6963and utilities.
6964
6965Updated all ACPICA copyrights and signons to 2011. Added the 2011
6966copyright
6967to all module headers and signons, including the Linux header. This
6968affects
6969virtually every file in the ACPICA core subsystem, iASL compiler, and all
6970utilities.
6971
6972Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
6973project files for VC++ 6.0 are now obsolete. New project files can be
6974found
6975under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
6976details.
6977
6978Example Code and Data Size: These are the sizes for the OS-independent
6979acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6980debug version of the code includes the debug output trace mechanism and
6981has a
6982much larger code and data size.
6983
6984  Previous Release (VC 6.0):
6985    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6986    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6987  Current Release (VC 9.0):
6988    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6989    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6990
69912) iASL Compiler/Disassembler and Tools:
6992
6993iASL: Added generic data types to the Data Table compiler. Add "generic"
6994data
6995types such as UINT32, String, Unicode, etc., to simplify the generation
6996of
6997platform-defined tables such as UEFI. Lin Ming.
6998
6999iASL: Added listing support for the Data Table Compiler. Adds listing
7000support
7001(-l) to display actual binary output for each line of input code.
7002
7003----------------------------------------
700409 December 2010. Summary of changes for version 20101209:
7005
70061) ACPI CA Core Subsystem:
7007
7008Completed the major overhaul of the GPE support code that was begun in
7009July
70102010. Major features include: removal of _PRW execution in ACPICA (host
7011executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
7012changes to existing interfaces, simplification of GPE handler operation,
7013and
7014a handful of new interfaces:
7015
7016    AcpiUpdateAllGpes
7017    AcpiFinishGpe
7018    AcpiSetupGpeForWake
7019    AcpiSetGpeWakeMask
7020    One new file, evxfgpe.c to consolidate all external GPE interfaces.
7021
7022See the ACPICA Programmer Reference for full details and programming
7023information. See the new section 4.4 "General Purpose Event (GPE)
7024Support"
7025for a full overview, and section 8.7 "ACPI General Purpose Event
7026Management"
7027for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
7028Ming,
7029Bob Moore, Rafael Wysocki.
7030
7031Implemented a new GPE feature for Windows compatibility, the "Implicit
7032Wake
7033GPE Notify". This feature will automatically issue a Notify(2) on a
7034device
7035when a Wake GPE is received if there is no corresponding GPE method or
7036handler. ACPICA BZ 870.
7037
7038Fixed a problem with the Scope() operator during table parse and load
7039phase.
7040During load phase (table load or method execution), the scope operator
7041should
7042not enter the target into the namespace. Instead, it should open a new
7043scope
7044at the target location. Linux BZ 19462, ACPICA BZ 882.
7045
7046Example Code and Data Size: These are the sizes for the OS-independent
7047acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7048debug version of the code includes the debug output trace mechanism and
7049has a
7050much larger code and data size.
7051
7052  Previous Release:
7053    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
7054    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
7055  Current Release:
7056    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
7057    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
7058
70592) iASL Compiler/Disassembler and Tools:
7060
7061iASL: Relax the alphanumeric restriction on _CID strings. These strings
7062are
7063"bus-specific" per the ACPI specification, and therefore any characters
7064are
7065acceptable. The only checks that can be performed are for a null string
7066and
7067perhaps for a leading asterisk. ACPICA BZ 886.
7068
7069iASL: Fixed a problem where a syntax error that caused a premature EOF
7070condition on the source file emitted a very confusing error message. The
7071premature EOF is now detected correctly. ACPICA BZ 891.
7072
7073Disassembler: Decode the AccessSize within a Generic Address Structure
7074(byte
7075access, word access, etc.) Note, this field does not allow arbitrary bit
7076access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
7077
7078New: AcpiNames utility - Example namespace dump utility. Shows an example
7079of
7080ACPICA configuration for a minimal namespace dump utility. Uses table and
7081namespace managers, but no AML interpreter. Does not add any
7082functionality
7083over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
7084partition and configure ACPICA. ACPICA BZ 883.
7085
7086AML Debugger: Increased the debugger buffer size for method return
7087objects.
7088Was 4K, increased to 16K. Also enhanced error messages for debugger
7089method
7090execution, including the buffer overflow case.
7091
7092----------------------------------------
709313 October 2010. Summary of changes for version 20101013:
7094
70951) ACPI CA Core Subsystem:
7096
7097Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
7098now
7099clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
7100HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
7101
7102Changed the type of the predefined namespace object _TZ from ThermalZone
7103to
7104Device. This was found to be confusing to the host software that
7105processes
7106the various thermal zones, since _TZ is not really a ThermalZone.
7107However,
7108a
7109Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
7110Zhang.
7111
7112Added Windows Vista SP2 to the list of supported _OSI strings. The actual
7113string is "Windows 2006 SP2".
7114
7115Eliminated duplicate code in AcpiUtExecute* functions. Now that the
7116nsrepair
7117code automatically repairs _HID-related strings, this type of code is no
7118longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
7119878.
7120
7121Example Code and Data Size: These are the sizes for the OS-independent
7122acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7123debug version of the code includes the debug output trace mechanism and
7124has a
7125much larger code and data size.
7126
7127  Previous Release:
7128    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
7129    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
7130  Current Release:
7131    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
7132    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
7133
71342) iASL Compiler/Disassembler and Tools:
7135
7136iASL: Implemented additional compile-time validation for _HID strings.
7137The
7138non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
7139length
7140of
7141the string must be exactly seven or eight characters. For both _HID and
7142_CID
7143strings, all characters must be alphanumeric. ACPICA BZ 874.
7144
7145iASL: Allow certain "null" resource descriptors. Some BIOS code creates
7146descriptors that are mostly or all zeros, with the expectation that they
7147will
7148be filled in at runtime. iASL now allows this as long as there is a
7149"resource
7150tag" (name) associated with the descriptor, which gives the ASL a handle
7151needed to modify the descriptor. ACPICA BZ 873.
7152
7153Added single-thread support to the generic Unix application OSL.
7154Primarily
7155for iASL support, this change removes the use of semaphores in the
7156single-
7157threaded ACPICA tools/applications - increasing performance. The
7158_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
7159option. ACPICA BZ 879.
7160
7161AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
7162support
7163for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
7164
7165iASL: Moved all compiler messages to a new file, aslmessages.h.
7166
7167----------------------------------------
716815 September 2010. Summary of changes for version 20100915:
7169
71701) ACPI CA Core Subsystem:
7171
7172Removed the AcpiOsDerivePciId OSL interface. The various host
7173implementations
7174of this function were not OS-dependent and are now obsolete and can be
7175removed from all host OSLs. This function has been replaced by
7176AcpiHwDerivePciId, which is now part of the ACPICA core code.
7177AcpiHwDerivePciId has been implemented without recursion. Adds one new
7178module, hwpci.c. ACPICA BZ 857.
7179
7180Implemented a dynamic repair for _HID and _CID strings. The following
7181problems are now repaired at runtime: 1) Remove a leading asterisk in the
7182string, and 2) the entire string is uppercased. Both repairs are in
7183accordance with the ACPI specification and will simplify host driver
7184code.
7185ACPICA BZ 871.
7186
7187The ACPI_THREAD_ID type is no longer configurable, internally it is now
7188always UINT64. This simplifies the ACPICA code, especially any printf
7189output.
7190UINT64 is the only common data type for all thread_id types across all
7191operating systems. It is now up to the host OSL to cast the native
7192thread_id
7193type to UINT64 before returning the value to ACPICA (via
7194AcpiOsGetThreadId).
7195Lin Ming, Bob Moore.
7196
7197Added the ACPI_INLINE type to enhance the ACPICA configuration. The
7198"inline"
7199keyword is not standard across compilers, and this type allows inline to
7200be
7201configured on a per-compiler basis. Lin Ming.
7202
7203Made the system global AcpiGbl_SystemAwakeAndRunning publicly
7204available.
7205Added an extern for this boolean in acpixf.h. Some hosts utilize this
7206value
7207during suspend/restore operations. ACPICA BZ 869.
7208
7209All code that implements error/warning messages with the "ACPI:" prefix
7210has
7211been moved to a new module, utxferror.c.
7212
7213The UINT64_OVERLAY was moved to utmath.c, which is the only module where
7214it
7215is used. ACPICA BZ 829. Lin Ming, Bob Moore.
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:  89.1K Code, 19.0K Data, 108.1K Total
7225    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
7226  Current Release:
7227    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
7228    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
7229
72302) iASL Compiler/Disassembler and Tools:
7231
7232iASL/Disassembler: Write ACPI errors to stderr instead of the output
7233file.
7234This keeps the output files free of random error messages that may
7235originate
7236from within the namespace/interpreter code. Used this opportunity to
7237merge
7238all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
7239866. Lin Ming, Bob Moore.
7240
7241Tools: update some printfs for ansi warnings on size_t. Handle width
7242change
7243of size_t on 32-bit versus 64-bit generations. Lin Ming.
7244
7245----------------------------------------
724606 August 2010. Summary of changes for version 20100806:
7247
72481) ACPI CA Core Subsystem:
7249
7250Designed and implemented a new host interface to the _OSI support code.
7251This
7252will allow the host to dynamically add or remove multiple _OSI strings,
7253as
7254well as install an optional handler that is called for each _OSI
7255invocation.
7256Also added a new AML debugger command, 'osi' to display and modify the
7257global
7258_OSI string table, and test support in the AcpiExec utility. See the
7259ACPICA
7260reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
7261New Functions:
7262    AcpiInstallInterface - Add an _OSI string.
7263    AcpiRemoveInterface - Delete an _OSI string.
7264    AcpiInstallInterfaceHandler - Install optional _OSI handler.
7265Obsolete Functions:
7266    AcpiOsValidateInterface - no longer used.
7267New Files:
7268    source/components/utilities/utosi.c
7269
7270Re-introduced the support to enable multi-byte transfers for Embedded
7271Controller (EC) operation regions. A reported problem was found to be a
7272bug
7273in the host OS, not in the multi-byte support. Previously, the maximum
7274data
7275size passed to the EC operation region handler was a single byte. There
7276are
7277often EC Fields larger than one byte that need to be transferred, and it
7278is
7279useful for the EC driver to lock these as a single transaction. This
7280change
7281enables single transfers larger than 8 bits. This effectively changes the
7282access to the EC space from ByteAcc to AnyAcc, and will probably require
7283changes to the host OS Embedded Controller driver to enable 16/32/64/256-
7284bit
7285transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
7286
7287Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
7288prototype in acpiosxf.h had the output value pointer as a (void *).
7289It should be a (UINT64 *). This may affect some host OSL code.
7290
7291Fixed a couple problems with the recently modified Linux makefiles for
7292iASL
7293and AcpiExec. These new makefiles place the generated object files in the
7294local directory so that there can be no collisions between the files that
7295are
7296shared between them that are compiled with different options.
7297
7298Example Code and Data Size: These are the sizes for the OS-independent
7299acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7300debug version of the code includes the debug output trace mechanism and
7301has a
7302much larger code and data size.
7303
7304  Previous Release:
7305    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7306    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
7307  Current Release:
7308    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
7309    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
7310
73112) iASL Compiler/Disassembler and Tools:
7312
7313iASL/Disassembler: Added a new option (-da, "disassemble all") to load
7314the
7315namespace from and disassemble an entire group of AML files. Useful for
7316loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
7317and
7318disassembling with one simple command. ACPICA BZ 865. Lin Ming.
7319
7320iASL: Allow multiple invocations of -e option. This change allows
7321multiple
7322uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
7323834.
7324Lin Ming.
7325
7326----------------------------------------
732702 July 2010. Summary of changes for version 20100702:
7328
73291) ACPI CA Core Subsystem:
7330
7331Implemented several updates to the recently added GPE reference count
7332support. The model for "wake" GPEs is changing to give the host OS
7333complete
7334control of these GPEs. Eventually, the ACPICA core will not execute any
7335_PRW
7336methods, since the host already must execute them. Also, additional
7337changes
7338were made to help ensure that the reference counts are kept in proper
7339synchronization with reality. Rafael J. Wysocki.
7340
73411) Ensure that GPEs are not enabled twice during initialization.
73422) Ensure that GPE enable masks stay in sync with the reference count.
73433) Do not inadvertently enable GPEs when writing GPE registers.
73444) Remove the internal wake reference counter and add new AcpiGpeWakeup
7345interface. This interface will set or clear individual GPEs for wakeup.
73465) Remove GpeType argument from AcpiEnable and AcpiDisable. These
7347interfaces
7348are now used for "runtime" GPEs only.
7349
7350Changed the behavior of the GPE install/remove handler interfaces. The
7351GPE
7352is
7353no longer disabled during this process, as it was found to cause problems
7354on
7355some machines. Rafael J. Wysocki.
7356
7357Reverted a change introduced in version 20100528 to enable Embedded
7358Controller multi-byte transfers. This change was found to cause problems
7359with
7360Index Fields and possibly Bank Fields. It will be reintroduced when these
7361problems have been resolved.
7362
7363Fixed a problem with references to Alias objects within Package Objects.
7364A
7365reference to an Alias within the definition of a Package was not always
7366resolved properly. Aliases to objects like Processors, Thermal zones,
7367etc.
7368were resolved to the actual object instead of a reference to the object
7369as
7370it
7371should be. Package objects are only allowed to contain integer, string,
7372buffer, package, and reference objects. Redhat bugzilla 608648.
7373
7374Example Code and Data Size: These are the sizes for the OS-independent
7375acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7376debug version of the code includes the debug output trace mechanism and
7377has a
7378much larger code and data size.
7379
7380  Previous Release:
7381    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7382    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
7383  Current Release:
7384    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7385    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
7386
73872) iASL Compiler/Disassembler and Tools:
7388
7389iASL: Implemented a new compiler subsystem to allow definition and
7390compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
7391These
7392are called "ACPI Data Tables", and the new compiler is the "Data Table
7393Compiler". This compiler is intended to simplify the existing error-prone
7394process of creating these tables for the BIOS, as well as allowing the
7395disassembly, modification, recompilation, and override of existing ACPI
7396data
7397tables. See the iASL User Guide for detailed information.
7398
7399iASL: Implemented a new Template Generator option in support of the new
7400Data
7401Table Compiler. This option will create examples of all known ACPI tables
7402that can be used as the basis for table development. See the iASL
7403documentation and the -T option.
7404
7405Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
7406Descriptor Table).
7407
7408Updated the Linux makefiles for iASL and AcpiExec to place the generated
7409object files in the local directory so that there can be no collisions
7410between the shared files between them that are generated with different
7411options.
7412
7413Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
7414Use
7415the #define __APPLE__ to enable this support.
7416
7417----------------------------------------
741828 May 2010. Summary of changes for version 20100528:
7419
7420Note: The ACPI 4.0a specification was released on April 5, 2010 and is
7421available at www.acpi.info. This is primarily an errata release.
7422
74231) ACPI CA Core Subsystem:
7424
7425Undefined ACPI tables: We are looking for the definitions for the
7426following
7427ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
7428
7429Implemented support to enable multi-byte transfers for Embedded
7430Controller
7431(EC) operation regions. Previously, the maximum data size passed to the
7432EC
7433operation region handler was a single byte. There are often EC Fields
7434larger
7435than one byte that need to be transferred, and it is useful for the EC
7436driver
7437to lock these as a single transaction. This change enables single
7438transfers
7439larger than 8 bits. This effectively changes the access to the EC space
7440from
7441ByteAcc to AnyAcc, and will probably require changes to the host OS
7442Embedded
7443Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
7444bit
7445transfers. Alexey Starikovskiy, Lin Ming
7446
7447Implemented a performance enhancement for namespace search and access.
7448This
7449change enhances the performance of namespace searches and walks by adding
7450a
7451backpointer to the parent in each namespace node. On large namespaces,
7452this
7453change can improve overall ACPI performance by up to 9X. Adding a pointer
7454to
7455each namespace node increases the overall size of the internal namespace
7456by
7457about 5%, since each namespace entry usually consists of both a namespace
7458node and an ACPI operand object. However, this is the first growth of the
7459namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
7460
7461Implemented a performance optimization that reduces the number of
7462namespace
7463walks. On control method exit, only walk the namespace if the method is
7464known
7465to have created namespace objects outside of its local scope. Previously,
7466the
7467entire namespace was traversed on each control method exit. This change
7468can
7469improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
7470Moore.
7471
7472Added support to truncate I/O addresses to 16 bits for Windows
7473compatibility.
7474Some ASL code has been seen in the field that inadvertently has bits set
7475above bit 15. This feature is optional and is enabled if the BIOS
7476requests
7477any Windows OSI strings. It can also be enabled by the host OS. Matthew
7478Garrett, Bob Moore.
7479
7480Added support to limit the maximum time for the ASL Sleep() operator. To
7481prevent accidental deep sleeps, limit the maximum time that Sleep() will
7482actually sleep. Configurable, the default maximum is two seconds. ACPICA
7483bugzilla 854.
7484
7485Added run-time validation support for the _WDG and_WED Microsoft
7486predefined
7487methods. These objects are defined by "Windows Instrumentation", and are
7488not
7489part of the ACPI spec. ACPICA BZ 860.
7490
7491Expanded all statistic counters used during namespace and device
7492initialization from 16 to 32 bits in order to support very large
7493namespaces.
7494
7495Replaced all instances of %d in printf format specifiers with %u since
7496nearly
7497all integers in ACPICA are unsigned.
7498
7499Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
7500returned
7501as AE_NO_HANDLER.
7502
7503Example Code and Data Size: These are the sizes for the OS-independent
7504acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7505debug version of the code includes the debug output trace mechanism and
7506has a
7507much larger code and data size.
7508
7509  Previous Release:
7510    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
7511    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7512  Current Release:
7513    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7514    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
7515
75162) iASL Compiler/Disassembler and Tools:
7517
7518iASL: Added compiler support for the _WDG and_WED Microsoft predefined
7519methods. These objects are defined by "Windows Instrumentation", and are
7520not
7521part of the ACPI spec. ACPICA BZ 860.
7522
7523AcpiExec: added option to disable the memory tracking mechanism. The -dt
7524option will disable the tracking mechanism, which improves performance
7525considerably.
7526
7527AcpiExec: Restructured the command line options into -d (disable) and -e
7528(enable) options.
7529
7530----------------------------------------
753128 April 2010. Summary of changes for version 20100428:
7532
75331) ACPI CA Core Subsystem:
7534
7535Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
7536including FADT-based and GPE Block Devices, execute any _PRW methods in
7537the
7538new table, and process any _Lxx/_Exx GPE methods in the new table. Any
7539runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
7540immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
7541Devices. Provides compatibility with other ACPI implementations. Two new
7542files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
7543Moore.
7544
7545Fixed a regression introduced in version 20100331 within the table
7546manager
7547where initial table loading could fail. This was introduced in the fix
7548for
7549AcpiReallocateRootTable. Also, renamed some of fields in the table
7550manager
7551data structures to clarify their meaning and use.
7552
7553Fixed a possible allocation overrun during internal object copy in
7554AcpiUtCopySimpleObject. The original code did not correctly handle the
7555case
7556where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
7557847.
7558
7559Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
7560possible access beyond end-of-allocation. Also, now fully validate
7561descriptor
7562(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
7563
7564Example Code and Data Size: These are the sizes for the OS-independent
7565acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7566debug version of the code includes the debug output trace mechanism and
7567has a
7568much larger code and data size.
7569
7570  Previous Release:
7571    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7572    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7573  Current Release:
7574    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
7575    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7576
75772) iASL Compiler/Disassembler and Tools:
7578
7579iASL: Implemented Min/Max/Len/Gran validation for address resource
7580descriptors. This change implements validation for the address fields
7581that
7582are common to all address-type resource descriptors. These checks are
7583implemented: Checks for valid Min/Max, length within the Min/Max window,
7584valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
7585per
7586table 6-40 in the ACPI 4.0a specification. Also split the large
7587aslrestype1.c
7588and aslrestype2.c files into five new files. ACPICA BZ 840.
7589
7590iASL: Added support for the _Wxx predefined names. This support was
7591missing
7592and these names were not recognized by the compiler as valid predefined
7593names. ACPICA BZ 851.
7594
7595iASL: Added an error for all predefined names that are defined to return
7596no
7597value and thus must be implemented as Control Methods. These include all
7598of
7599the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
7600names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
7601
7602iASL: Implemented the -ts option to emit hex AML data in ASL format, as
7603an
7604ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
7605be
7606dynamically loaded via the Load() operator. Also cleaned up output for
7607the
7608-
7609ta and -tc options. ACPICA BZ 853.
7610
7611Tests: Added a new file with examples of extended iASL error checking.
7612Demonstrates the advanced error checking ability of the iASL compiler.
7613Available at tests/misc/badcode.asl.
7614
7615----------------------------------------
761631 March 2010. Summary of changes for version 20100331:
7617
76181) ACPI CA Core Subsystem:
7619
7620Completed a major update for the GPE support in order to improve support
7621for
7622shared GPEs and to simplify both host OS and ACPICA code. Added a
7623reference
7624count mechanism to support shared GPEs that require multiple device
7625drivers.
7626Several external interfaces have changed. One external interface has been
7627removed. One new external interface was added. Most of the GPE external
7628interfaces now use the GPE spinlock instead of the events mutex (and the
7629Flags parameter for many GPE interfaces has been removed.) See the
7630updated
7631ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
7632Rafael
7633Wysocki. ACPICA BZ 831.
7634
7635Changed:
7636    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
7637Removed:
7638    AcpiSetGpeType
7639New:
7640    AcpiSetGpe
7641
7642Implemented write support for DataTable operation regions. These regions
7643are
7644defined via the DataTableRegion() operator. Previously, only read support
7645was
7646implemented. The ACPI specification allows DataTableRegions to be
7647read/write,
7648however.
7649
7650Implemented a new subsystem option to force a copy of the DSDT to local
7651memory. Optionally copy the entire DSDT to local memory (instead of
7652simply
7653mapping it.) There are some (albeit very rare) BIOSs that corrupt or
7654replace
7655the original DSDT, creating the need for this option. Default is FALSE,
7656do
7657not copy the DSDT.
7658
7659Implemented detection of a corrupted or replaced DSDT. This change adds
7660support to detect a DSDT that has been corrupted and/or replaced from
7661outside
7662the OS (by firmware). This is typically catastrophic for the system, but
7663has
7664been seen on some machines. Once this problem has been detected, the DSDT
7665copy option can be enabled via system configuration. Lin Ming, Bob Moore.
7666
7667Fixed two problems with AcpiReallocateRootTable during the root table
7668copy.
7669When copying the root table to the new allocation, the length used was
7670incorrect. The new size was used instead of the current table size,
7671meaning
7672too much data was copied. Also, the count of available slots for ACPI
7673tables
7674was not set correctly. Alexey Starikovskiy, Bob Moore.
7675
7676Example Code and Data Size: These are the sizes for the OS-independent
7677acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7678debug version of the code includes the debug output trace mechanism and
7679has a
7680much larger code and data size.
7681
7682  Previous Release:
7683    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7684    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7685  Current Release:
7686    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7687    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7688
76892) iASL Compiler/Disassembler and Tools:
7690
7691iASL: Implement limited typechecking for values returned from predefined
7692control methods. The type of any returned static (unnamed) object is now
7693validated. For example, Return(1). ACPICA BZ 786.
7694
7695iASL: Fixed a predefined name object verification regression. Fixes a
7696problem
7697introduced in version 20100304. An error is incorrectly generated if a
7698predefined name is declared as a static named object with a value defined
7699using the keywords "Zero", "One", or "Ones". Lin Ming.
7700
7701iASL: Added Windows 7 support for the -g option (get local ACPI tables)
7702by
7703reducing the requested registry access rights. ACPICA BZ 842.
7704
7705Disassembler: fixed a possible fault when generating External()
7706statements.
7707Introduced in commit ae7d6fd: Properly handle externals with parent-
7708prefix
7709(carat). Fixes a string length allocation calculation. Lin Ming.
7710
7711----------------------------------------
771204 March 2010. Summary of changes for version 20100304:
7713
77141) ACPI CA Core Subsystem:
7715
7716Fixed a possible problem with the AML Mutex handling function
7717AcpiExReleaseMutex where the function could fault under the very rare
7718condition when the interpreter has blocked, the interpreter lock is
7719released,
7720the interpreter is then reentered via the same thread, and attempts to
7721acquire an AML mutex that was previously acquired. FreeBSD report 140979.
7722Lin
7723Ming.
7724
7725Implemented additional configuration support for the AML "Debug Object".
7726Output from the debug object can now be enabled via a global variable,
7727AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
7728debugging.
7729This debug output is now available in the release version of ACPICA
7730instead
7731of just the debug version. Also, the entire debug output module can now
7732be
7733configured out of the ACPICA build if desired. One new file added,
7734executer/exdebug.c. Lin Ming, Bob Moore.
7735
7736Added header support for the ACPI MCHI table (Management Controller Host
7737Interface Table). This table was added in ACPI 4.0, but the defining
7738document
7739has only recently become available.
7740
7741Standardized output of integer values for ACPICA warnings/errors. Always
7742use
77430x prefix for hex output, always use %u for unsigned integer decimal
7744output.
7745Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
7746400
7747invocations.) These invocations were converted from the original
7748ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
7749
7750Example Code and Data Size: These are the sizes for the OS-independent
7751acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7752debug version of the code includes the debug output trace mechanism and
7753has a
7754much larger code and data size.
7755
7756  Previous Release:
7757    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7758    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7759  Current Release:
7760    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7761    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7762
77632) iASL Compiler/Disassembler and Tools:
7764
7765iASL: Implemented typechecking support for static (non-control method)
7766predefined named objects that are declared with the Name() operator. For
7767example, the type of this object is now validated to be of type Integer:
7768Name(_BBN, 1). This change migrates the compiler to using the core
7769predefined
7770name table instead of maintaining a local version. Added a new file,
7771aslpredef.c. ACPICA BZ 832.
7772
7773Disassembler: Added support for the ACPI 4.0 MCHI table.
7774
7775----------------------------------------
777621 January 2010. Summary of changes for version 20100121:
7777
77781) ACPI CA Core Subsystem:
7779
7780Added the 2010 copyright to all module headers and signons. This affects
7781virtually every file in the ACPICA core subsystem, the iASL compiler, the
7782tools/utilities, and the test suites.
7783
7784Implemented a change to the AcpiGetDevices interface to eliminate
7785unnecessary
7786invocations of the _STA method. In the case where a specific _HID is
7787requested, do not run _STA until a _HID match is found. This eliminates
7788potentially dozens of _STA calls during a search for a particular
7789device/HID,
7790which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
7791
7792Implemented an additional repair for predefined method return values.
7793Attempt
7794to repair unexpected NULL elements within returned Package objects.
7795Create
7796an
7797Integer of value zero, a NULL String, or a zero-length Buffer as
7798appropriate.
7799ACPICA BZ 818. Lin Ming, Bob Moore.
7800
7801Removed the obsolete ACPI_INTEGER data type. This type was introduced as
7802the
7803code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
7804(with
780564-bit AML integers). It is now obsolete and this change removes it from
7806the
7807ACPICA code base, replaced by UINT64. The original typedef has been
7808retained
7809for now for compatibility with existing device driver code. ACPICA BZ
7810824.
7811
7812Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
7813in
7814the parse tree object.
7815
7816Added additional warning options for the gcc-4 generation. Updated the
7817source
7818accordingly. This includes some code restructuring to eliminate
7819unreachable
7820code, elimination of some gotos, elimination of unused return values,
7821some
7822additional casting, and removal of redundant declarations.
7823
7824Example Code and Data Size: These are the sizes for the OS-independent
7825acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7826debug version of the code includes the debug output trace mechanism and
7827has a
7828much larger code and data size.
7829
7830  Previous Release:
7831    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7832    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7833  Current Release:
7834    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7835    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7836
78372) iASL Compiler/Disassembler and Tools:
7838
7839No functional changes for this release.
7840
7841----------------------------------------
784214 December 2009. Summary of changes for version 20091214:
7843
78441) ACPI CA Core Subsystem:
7845
7846Enhanced automatic data type conversions for predefined name repairs.
7847This
7848change expands the automatic repairs/conversions for predefined name
7849return
7850values to make Integers, Strings, and Buffers fully interchangeable.
7851Also,
7852a
7853Buffer can be converted to a Package of Integers if necessary. The
7854nsrepair.c
7855module was completely restructured. Lin Ming, Bob Moore.
7856
7857Implemented automatic removal of null package elements during predefined
7858name
7859repairs. This change will automatically remove embedded and trailing NULL
7860package elements from returned package objects that are defined to
7861contain
7862a
7863variable number of sub-packages. The driver is then presented with a
7864package
7865with no null elements to deal with. ACPICA BZ 819.
7866
7867Implemented a repair for the predefined _FDE and _GTM names. The expected
7868return value for both names is a Buffer of 5 DWORDs. This repair fixes
7869two
7870possible problems (both seen in the field), where a package of integers
7871is
7872returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
7873Kim.
7874
7875Implemented additional module-level code support. This change will
7876properly
7877execute module-level code that is not at the root of the namespace (under
7878a
7879Device object, etc.). Now executes the code within the current scope
7880instead
7881of the root. ACPICA BZ 762. Lin Ming.
7882
7883Fixed possible mutex acquisition errors when running _REG methods. Fixes
7884a
7885problem where mutex errors can occur when running a _REG method that is
7886in
7887the same scope as a method-defined operation region or an operation
7888region
7889under a module-level IF block. This type of code is rare, so the problem
7890has
7891not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
7892
7893Fixed a possible memory leak during module-level code execution. An
7894object
7895could be leaked for each block of executed module-level code if the
7896interpreter slack mode is enabled This change deletes any implicitly
7897returned
7898object from the module-level code block. Lin Ming.
7899
7900Removed messages for successful predefined repair(s). The repair
7901mechanism
7902was considered too wordy. Now, messages are only unconditionally emitted
7903if
7904the return object cannot be repaired. Existing messages for successful
7905repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
7906827.
7907
7908Example Code and Data Size: These are the sizes for the OS-independent
7909acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7910debug version of the code includes the debug output trace mechanism and
7911has a
7912much larger code and data size.
7913
7914  Previous Release:
7915    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7916    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7917  Current Release:
7918    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7919    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7920
79212) iASL Compiler/Disassembler and Tools:
7922
7923iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
7924files
7925were no longer automatically removed at the termination of the compile.
7926
7927acpiexec: Implemented the -f option to specify default region fill value.
7928This option specifies the value used to initialize buffers that simulate
7929operation regions. Default value is zero. Useful for debugging problems
7930that
7931depend on a specific initial value for a region or field.
7932
7933----------------------------------------
793412 November 2009. Summary of changes for version 20091112:
7935
79361) ACPI CA Core Subsystem:
7937
7938Implemented a post-order callback to AcpiWalkNamespace. The existing
7939interface only has a pre-order callback. This change adds an additional
7940parameter for a post-order callback which will be more useful for bus
7941scans.
7942ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
7943
7944Modified the behavior of the operation region memory mapping cache for
7945SystemMemory. Ensure that the memory mappings created for operation
7946regions
7947do not cross 4K page boundaries. Crossing a page boundary while mapping
7948regions can cause kernel warnings on some hosts if the pages have
7949different
7950attributes. Such regions are probably BIOS bugs, and this is the
7951workaround.
7952Linux BZ 14445. Lin Ming.
7953
7954Implemented an automatic repair for predefined methods that must return
7955sorted lists. This change will repair (by sorting) packages returned by
7956_ALR,
7957_PSS, and _TSS. Drivers can now assume that the packages are correctly
7958sorted
7959and do not contain NULL package elements. Adds one new file,
7960namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
7961
7962Fixed a possible fault during predefined name validation if a return
7963Package
7964object contains NULL elements. Also adds a warning if a NULL element is
7965followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
7966may
7967include repair or removal of all such NULL elements where possible.
7968
7969Implemented additional module-level executable AML code support. This
7970change
7971will execute module-level code that is not at the root of the namespace
7972(under a Device object, etc.) at table load time. Module-level executable
7973AML
7974code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
7975
7976Implemented a new internal function to create Integer objects. This
7977function
7978simplifies miscellaneous object creation code. ACPICA BZ 823.
7979
7980Reduced the severity of predefined repair messages, Warning to Info.
7981Since
7982the object was successfully repaired, a warning is too severe. Reduced to
7983an
7984info message for now. These messages may eventually be changed to debug-
7985only.
7986ACPICA BZ 812.
7987
7988Example Code and Data Size: These are the sizes for the OS-independent
7989acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7990debug version of the code includes the debug output trace mechanism and
7991has a
7992much larger code and data size.
7993
7994  Previous Release:
7995    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7996    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7997  Current Release:
7998    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7999    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
8000
80012) iASL Compiler/Disassembler and Tools:
8002
8003iASL: Implemented Switch() with While(1) so that Break works correctly.
8004This
8005change correctly implements the Switch operator with a surrounding
8006While(1)
8007so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
8008
8009iASL: Added a message if a package initializer list is shorter than
8010package
8011length. Adds a new remark for a Package() declaration if an initializer
8012list
8013exists, but is shorter than the declared length of the package. Although
8014technically legal, this is probably a coding error and it is seen in the
8015field. ACPICA BZ 815. Lin Ming, Bob Moore.
8016
8017iASL: Fixed a problem where the compiler could fault after the maximum
8018number
8019of errors was reached (200).
8020
8021acpixtract: Fixed a possible warning for pointer cast if the compiler
8022warning
8023level set very high.
8024
8025----------------------------------------
802613 October 2009. Summary of changes for version 20091013:
8027
80281) ACPI CA Core Subsystem:
8029
8030Fixed a problem where an Operation Region _REG method could be executed
8031more
8032than once. If a custom address space handler is installed by the host
8033before
8034the "initialize operation regions" phase of the ACPICA initialization,
8035any
8036_REG methods for that address space could be executed twice. This change
8037fixes the problem. ACPICA BZ 427. Lin Ming.
8038
8039Fixed a possible memory leak for the Scope() ASL operator. When the exact
8040invocation of "Scope(\)" is executed (change scope to root), one internal
8041operand object was leaked. Lin Ming.
8042
8043Implemented a run-time repair for the _MAT predefined method. If the _MAT
8044return value is defined as a Field object in the AML, and the field
8045size is less than or equal to the default width of an integer (32 or
804664),_MAT
8047can incorrectly return an Integer instead of a Buffer. ACPICA now
8048automatically repairs this problem. ACPICA BZ 810.
8049
8050Implemented a run-time repair for the _BIF and _BIX predefined methods.
8051The
8052"OEM Information" field is often incorrectly returned as an Integer with
8053value zero if the field is not supported by the platform. This is due to
8054an
8055ambiguity in the ACPI specification. The field should always be a string.
8056ACPICA now automatically repairs this problem by returning a NULL string
8057within the returned Package. ACPICA BZ 807.
8058
8059Example Code and Data Size: These are the sizes for the OS-independent
8060acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8061debug version of the code includes the debug output trace mechanism and
8062has a
8063much larger code and data size.
8064
8065  Previous Release:
8066    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
8067    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
8068  Current Release:
8069    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
8070    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
8071
80722) iASL Compiler/Disassembler and Tools:
8073
8074Disassembler: Fixed a problem where references to external symbols that
8075contained one or more parent-prefixes (carats) were not handled
8076correctly,
8077possibly causing a fault. ACPICA BZ 806. Lin Ming.
8078
8079Disassembler: Restructured the code so that all functions that handle
8080external symbols are in a single module. One new file is added,
8081common/dmextern.c.
8082
8083AML Debugger: Added a max count argument for the Batch command (which
8084executes multiple predefined methods within the namespace.)
8085
8086iASL: Updated the compiler documentation (User Reference.) Available at
8087http://www.acpica.org/documentation/. ACPICA BZ 750.
8088
8089AcpiXtract: Updated for Lint and other formatting changes. Close all open
8090files.
8091
8092----------------------------------------
809303 September 2009. Summary of changes for version 20090903:
8094
80951) ACPI CA Core Subsystem:
8096
8097For Windows Vista compatibility, added the automatic execution of an _INI
8098method located at the namespace root (\_INI). This method is executed at
8099table load time. This support is in addition to the automatic execution
8100of
8101\_SB._INI. Lin Ming.
8102
8103Fixed a possible memory leak in the interpreter for AML package objects
8104if
8105the package initializer list is longer than the defined size of the
8106package.
8107This apparently can only happen if the BIOS changes the package size on
8108the
8109fly (seen in a _PSS object), as ASL compilers do not allow this. The
8110interpreter will truncate the package to the defined size (and issue an
8111error
8112message), but previously could leave the extra objects undeleted if they
8113were
8114pre-created during the argument processing (such is the case if the
8115package
8116consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
8117
8118Fixed a problem seen when a Buffer or String is stored to itself via ASL.
8119This has been reported in the field. Previously, ACPICA would zero out
8120the
8121buffer/string. Now, the operation is treated as a noop. Provides Windows
8122compatibility. ACPICA BZ 803. Lin Ming.
8123
8124Removed an extraneous error message for ASL constructs of the form
8125Store(LocalX,LocalX) when LocalX is uninitialized. These curious
8126statements
8127are seen in many BIOSs and are once again treated as NOOPs and no error
8128is
8129emitted when they are encountered. ACPICA BZ 785.
8130
8131Fixed an extraneous warning message if a _DSM reserved method returns a
8132Package object. _DSM can return any type of object, so validation on the
8133return type cannot be performed. ACPICA BZ 802.
8134
8135Example Code and Data Size: These are the sizes for the OS-independent
8136acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8137debug version of the code includes the debug output trace mechanism and
8138has a
8139much larger code and data size.
8140
8141  Previous Release:
8142    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
8143    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
8144  Current Release:
8145    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
8146    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
8147
81482) iASL Compiler/Disassembler and Tools:
8149
8150iASL: Fixed a problem with the use of the Alias operator and Resource
8151Templates. The correct alias is now constructed and no error is emitted.
8152ACPICA BZ 738.
8153
8154iASL: Implemented the -I option to specify additional search directories
8155for
8156include files. Allows multiple additional search paths for include files.
8157Directories are searched in the order specified on the command line
8158(after
8159the local directory is searched.) ACPICA BZ 800.
8160
8161iASL: Fixed a problem where the full pathname for include files was not
8162emitted for warnings/errors. This caused the IDE support to not work
8163properly. ACPICA BZ 765.
8164
8165iASL: Implemented the -@ option to specify a Windows-style response file
8166containing additional command line options. ACPICA BZ 801.
8167
8168AcpiExec: Added support to load multiple AML files simultaneously (such
8169as
8170a
8171DSDT and multiple SSDTs). Also added support for wildcards within the AML
8172pathname. These features allow all machine tables to be easily loaded and
8173debugged together. ACPICA BZ 804.
8174
8175Disassembler: Added missing support for disassembly of HEST table Error
8176Bank
8177subtables.
8178
8179----------------------------------------
818030 July 2009. Summary of changes for version 20090730:
8181
8182The ACPI 4.0 implementation for ACPICA is complete with this release.
8183
81841) ACPI CA Core Subsystem:
8185
8186ACPI 4.0: Added header file support for all new and changed ACPI tables.
8187Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
8188new
8189for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
8190BERT,
8191EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
8192There
8193have been some ACPI 4.0 changes to other existing tables. Split the large
8194actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
8195
8196ACPI 4.0: Implemented predefined name validation for all new names. There
8197are
819831 new names in ACPI 4.0. The predefined validation module was split into
8199two
8200files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
8201
8202Implemented support for so-called "module-level executable code". This is
8203executable AML code that exists outside of any control method and is
8204intended
8205to be executed at table load time. Although illegal since ACPI 2.0, this
8206type
8207of code still exists and is apparently still being created. Blocks of
8208this
8209code are now detected and executed as intended. Currently, the code
8210blocks
8211must exist under either an If, Else, or While construct; these are the
8212typical cases seen in the field. ACPICA BZ 762. Lin Ming.
8213
8214Implemented an automatic dynamic repair for predefined names that return
8215nested Package objects. This applies to predefined names that are defined
8216to
8217return a variable-length Package of sub-packages. If the number of sub-
8218packages is one, BIOS code is occasionally seen that creates a simple
8219single
8220package with no sub-packages. This code attempts to fix the problem by
8221wrapping a new package object around the existing package. These methods
8222can
8223be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
8224BZ
8225790.
8226
8227Fixed a regression introduced in 20090625 for the AcpiGetDevices
8228interface.
8229The _HID/_CID matching was broken and no longer matched IDs correctly.
8230ACPICA
8231BZ 793.
8232
8233Fixed a problem with AcpiReset where the reset would silently fail if the
8234register was one of the protected I/O ports. AcpiReset now bypasses the
8235port
8236validation mechanism. This may eventually be driven into the
8237AcpiRead/Write
8238interfaces.
8239
8240Fixed a regression related to the recent update of the AcpiRead/Write
8241interfaces. A sleep/suspend could fail if the optional PM2 Control
8242register
8243does not exist during an attempt to write the Bus Master Arbitration bit.
8244(However, some hosts already delete the code that writes this bit, and
8245the
8246code may in fact be obsolete at this date.) ACPICA BZ 799.
8247
8248Fixed a problem where AcpiTerminate could fault if inadvertently called
8249twice
8250in succession. ACPICA BZ 795.
8251
8252Example Code and Data Size: These are the sizes for the OS-independent
8253acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8254debug version of the code includes the debug output trace mechanism and
8255has a
8256much larger code and data size.
8257
8258  Previous Release:
8259    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
8260    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
8261  Current Release:
8262    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
8263    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
8264
82652) iASL Compiler/Disassembler and Tools:
8266
8267ACPI 4.0: Implemented disassembler support for all new ACPI tables and
8268changes to existing tables. ACPICA BZ 775.
8269
8270----------------------------------------
827125 June 2009. Summary of changes for version 20090625:
8272
8273The ACPI 4.0 Specification was released on June 16 and is available at
8274www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
8275continue for the next few releases.
8276
82771) ACPI CA Core Subsystem:
8278
8279ACPI 4.0: Implemented interpreter support for the IPMI operation region
8280address space. Includes support for bi-directional data buffers and an
8281IPMI
8282address space handler (to be installed by an IPMI device driver.) ACPICA
8283BZ
8284773. Lin Ming.
8285
8286ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
8287Includes
8288support in both the header files and the disassembler.
8289
8290Completed a major update for the AcpiGetObjectInfo external interface.
8291Changes include:
8292 - Support for variable, unlimited length HID, UID, and CID strings.
8293 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
8294etc.)
8295 - Call the _SxW power methods on behalf of a device object.
8296 - Determine if a device is a PCI root bridge.
8297 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
8298These changes will require an update to all callers of this interface.
8299See
8300the updated ACPICA Programmer Reference for details. One new source file
8301has
8302been added - utilities/utids.c. ACPICA BZ 368, 780.
8303
8304Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
8305transfers. The Value parameter has been extended from 32 bits to 64 bits
8306in
8307order to support new ACPI 4.0 tables. These changes will require an
8308update
8309to
8310all callers of these interfaces. See the ACPICA Programmer Reference for
8311details. ACPICA BZ 768.
8312
8313Fixed several problems with AcpiAttachData. The handler was not invoked
8314when
8315the host node was deleted. The data sub-object was not automatically
8316deleted
8317when the host node was deleted. The interface to the handler had an
8318unused
8319parameter, this was removed. ACPICA BZ 778.
8320
8321Enhanced the function that dumps ACPI table headers. All non-printable
8322characters in the string fields are now replaced with '?' (Signature,
8323OemId,
8324OemTableId, and CompilerId.) ACPI tables with non-printable characters in
8325these fields are occasionally seen in the field. ACPICA BZ 788.
8326
8327Fixed a problem with predefined method repair code where the code that
8328attempts to repair/convert an object of incorrect type is only executed
8329on
8330the first time the predefined method is called. The mechanism that
8331disables
8332warnings on subsequent calls was interfering with the repair mechanism.
8333ACPICA BZ 781.
8334
8335Fixed a possible memory leak in the predefined validation/repair code
8336when
8337a
8338buffer is automatically converted to an expected string object.
8339
8340Removed obsolete 16-bit files from the distribution and from the current
8341git
8342tree head. ACPICA BZ 776.
8343
8344Example Code and Data Size: These are the sizes for the OS-independent
8345acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8346debug version of the code includes the debug output trace mechanism and
8347has a
8348much larger code and data size.
8349
8350  Previous Release:
8351    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
8352    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
8353  Current Release:
8354    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
8355    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
8356
83572) iASL Compiler/Disassembler and Tools:
8358
8359ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
8360operation region keyword. ACPICA BZ 771, 772. Lin Ming.
8361
8362ACPI 4.0: iASL - implemented compile-time validation support for all new
8363predefined names and control methods (31 total). ACPICA BZ 769.
8364
8365----------------------------------------
836621 May 2009. Summary of changes for version 20090521:
8367
83681) ACPI CA Core Subsystem:
8369
8370Disabled the preservation of the SCI enable bit in the PM1 control
8371register.
8372The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
8373to
8374be
8375a "preserved" bit - "OSPM always preserves this bit position", section
83764.7.3.2.1. However, some machines fail if this bit is in fact preserved
8377because the bit needs to be explicitly set by the OS as a workaround. No
8378machines fail if the bit is not preserved. Therefore, ACPICA no longer
8379attempts to preserve this bit.
8380
8381Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
8382incorrectly formed _PRT package could cause a fault. Added validation to
8383ensure that each package element is actually a sub-package.
8384
8385Implemented a new interface to install or override a single control
8386method,
8387AcpiInstallMethod. This interface is useful when debugging in order to
8388repair
8389an existing method or to install a missing method without having to
8390override
8391the entire ACPI table. See the ACPICA Programmer Reference for use and
8392examples. Lin Ming, Bob Moore.
8393
8394Fixed several reference count issues with the DdbHandle object that is
8395created from a Load or LoadTable operator. Prevent premature deletion of
8396the
8397object. Also, mark the object as invalid once the table has been
8398unloaded.
8399This is needed because the handle itself may not be deleted after the
8400table
8401unload, depending on whether it has been stored in a named object by the
8402caller. Lin Ming.
8403
8404Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
8405mutexes of the same sync level are acquired but then not released in
8406strict
8407opposite order, the internally maintained Current Sync Level becomes
8408confused
8409and can cause subsequent execution errors. ACPICA BZ 471.
8410
8411Changed the allowable release order for ASL mutex objects. The ACPI 4.0
8412specification has been changed to make the SyncLevel for mutex objects
8413more
8414useful. When releasing a mutex, the SyncLevel of the mutex must now be
8415the
8416same as the current sync level. This makes more sense than the previous
8417rule
8418(SyncLevel less than or equal). This change updates the code to match the
8419specification.
8420
8421Fixed a problem with the local version of the AcpiOsPurgeCache function.
8422The
8423(local) cache must be locked during all cache object deletions. Andrew
8424Baumann.
8425
8426Updated the Load operator to use operation region interfaces. This
8427replaces
8428direct memory mapping with region access calls. Now, all region accesses
8429go
8430through the installed region handler as they should.
8431
8432Simplified and optimized the NsGetNextNode function. Reduced parameter
8433count
8434and reduced code for this frequently used function.
8435
8436Example Code and Data Size: These are the sizes for the OS-independent
8437acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8438debug version of the code includes the debug output trace mechanism and
8439has a
8440much larger code and data size.
8441
8442  Previous Release:
8443    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
8444    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
8445  Current Release:
8446    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
8447    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
8448
84492) iASL Compiler/Disassembler and Tools:
8450
8451Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
8452problems
8453with sub-table disassembly and handling invalid sub-tables. Attempt
8454recovery
8455after an invalid sub-table ID.
8456
8457----------------------------------------
845822 April 2009. Summary of changes for version 20090422:
8459
84601) ACPI CA Core Subsystem:
8461
8462Fixed a compatibility issue with the recently released I/O port
8463protection
8464mechanism. For windows compatibility, 1) On a port protection violation,
8465simply ignore the request and do not return an exception (allow the
8466control
8467method to continue execution.) 2) If only part of the request overlaps a
8468protected port, read/write the individual ports that are not protected.
8469Linux
8470BZ 13036. Lin Ming
8471
8472Enhanced the execution of the ASL/AML BreakPoint operator so that it
8473actually
8474breaks into the AML debugger if the debugger is present. This matches the
8475ACPI-defined behavior.
8476
8477Fixed several possible warnings related to the use of the configurable
8478ACPI_THREAD_ID. This type can now be configured as either an integer or a
8479pointer with no warnings. Also fixes several warnings in printf-like
8480statements for the 64-bit build when the type is configured as a pointer.
8481ACPICA BZ 766, 767.
8482
8483Fixed a number of possible warnings when compiling with gcc 4+ (depending
8484on
8485warning options.) Examples include printf formats, aliasing, unused
8486globals,
8487missing prototypes, missing switch default statements, use of non-ANSI
8488library functions, use of non-ANSI constructs. See generate/unix/Makefile
8489for
8490a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
8491
8492Example Code and Data Size: These are the sizes for the OS-independent
8493acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8494debug version of the code includes the debug output trace mechanism and
8495has a
8496much larger code and data size.
8497
8498  Previous Release:
8499    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8500    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8501  Current Release:
8502    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
8503    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
8504
85052) iASL Compiler/Disassembler and Tools:
8506
8507iASL: Fixed a generation warning from Bison 2.3 and fixed several
8508warnings
8509on
8510the 64-bit build.
8511
8512iASL: Fixed a problem where the Unix/Linux versions of the compiler could
8513not
8514correctly digest Windows/DOS formatted files (with CR/LF).
8515
8516iASL: Added a new option for "quiet mode" (-va) that produces only the
8517compilation summary, not individual errors and warnings. Useful for large
8518batch compilations.
8519
8520AcpiExec: Implemented a new option (-z) to enable a forced
8521semaphore/mutex
8522timeout that can be used to detect hang conditions during execution of
8523AML
8524code (includes both internal semaphores and AML-defined mutexes and
8525events.)
8526
8527Added new makefiles for the generation of acpica in a generic unix-like
8528environment. These makefiles are intended to generate the acpica tools
8529and
8530utilities from the original acpica git source tree structure.
8531
8532Test Suites: Updated and cleaned up the documentation files. Updated the
8533copyrights to 2009, affecting all source files. Use the new version of
8534iASL
8535with quiet mode. Increased the number of available semaphores in the
8536Windows
8537OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
8538added
8539an alternate implementation of the semaphore timeout to allow aslts to
8540execute fully on Cygwin.
8541
8542----------------------------------------
854320 March 2009. Summary of changes for version 20090320:
8544
85451) ACPI CA Core Subsystem:
8546
8547Fixed a possible race condition between AcpiWalkNamespace and dynamic
8548table
8549unloads. Added a reader/writer locking mechanism to allow multiple
8550concurrent
8551namespace walks (readers), but block a dynamic table unload until it can
8552gain
8553exclusive write access to the namespace. This fixes a problem where a
8554table
8555unload could (possibly catastrophically) delete the portion of the
8556namespace
8557that is currently being examined by a walk. Adds a new file, utlock.c,
8558that
8559implements the reader/writer lock mechanism. ACPICA BZ 749.
8560
8561Fixed a regression introduced in version 20090220 where a change to the
8562FADT
8563handling could cause the ACPICA subsystem to access non-existent I/O
8564ports.
8565
8566Modified the handling of FADT register and table (FACS/DSDT) addresses.
8567The
8568FADT can contain both 32-bit and 64-bit versions of these addresses.
8569Previously, the 64-bit versions were favored, meaning that if both 32 and
857064
8571versions were valid, but not equal, the 64-bit version was used. This was
8572found to cause some machines to fail. Now, in this case, the 32-bit
8573version
8574is used instead. This now matches the Windows behavior.
8575
8576Implemented a new mechanism to protect certain I/O ports. Provides
8577Microsoft
8578compatibility and protects the standard PC I/O ports from access via AML
8579code. Adds a new file, hwvalid.c
8580
8581Fixed a possible extraneous warning message from the FADT support. The
8582message warns of a 32/64 length mismatch between the legacy and GAS
8583definitions for a register.
8584
8585Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
8586is
8587made obsolete by the port protection mechanism above. It was previously
8588used
8589to validate the entire address range of an operation region, which could
8590be
8591incorrect if the range included illegal ports, but fields within the
8592operation region did not actually access those ports. Validation is now
8593performed on a per-field basis instead of the entire region.
8594
8595Modified the handling of the PM1 Status Register ignored bit (bit 11.)
8596Ignored bits must be "preserved" according to the ACPI spec. Usually,
8597this
8598means a read/modify/write when writing to the register. However, for
8599status
8600registers, writing a one means clear the event. Writing a zero means
8601preserve
8602the event (do not clear.) This behavior is clarified in the ACPI 4.0
8603spec,
8604and the ACPICA code now simply always writes a zero to the ignored bit.
8605
8606Modified the handling of ignored bits for the PM1 A/B Control Registers.
8607As
8608per the ACPI specification, for the control registers, preserve
8609(read/modify/write) all bits that are defined as either reserved or
8610ignored.
8611
8612Updated the handling of write-only bits in the PM1 A/B Control Registers.
8613When reading the register, zero the write-only bits as per the ACPI spec.
8614ACPICA BZ 443. Lin Ming.
8615
8616Removed "Linux" from the list of supported _OSI strings. Linux no longer
8617wants to reply true to this request. The Windows strings are the only
8618paths
8619through the AML that are tested and known to work properly.
8620
8621  Previous Release:
8622    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8623    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8624  Current Release:
8625    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8626    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8627
86282) iASL Compiler/Disassembler and Tools:
8629
8630Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
8631and
8632aetables.c
8633
8634----------------------------------------
863520 February 2009. Summary of changes for version 20090220:
8636
86371) ACPI CA Core Subsystem:
8638
8639Optimized the ACPI register locking. Removed locking for reads from the
8640ACPI
8641bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
8642is
8643not required when reading the single-bit registers. The
8644AcpiGetRegisterUnlocked function is no longer needed and has been
8645removed.
8646This will improve performance for reads on these registers. ACPICA BZ
8647760.
8648
8649Fixed the parameter validation for AcpiRead/Write. Now return
8650AE_BAD_PARAMETER if the input register pointer is null, and
8651AE_BAD_ADDRESS
8652if
8653the register has an address of zero. Previously, these cases simply
8654returned
8655AE_OK. For optional registers such as PM1B status/enable/control, the
8656caller
8657should check for a valid register address before calling. ACPICA BZ 748.
8658
8659Renamed the external ACPI bit register access functions. Renamed
8660AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
8661functions. The new names are AcpiReadBitRegister and
8662AcpiWriteBitRegister.
8663Also, restructured the code for these functions by simplifying the code
8664path
8665and condensing duplicate code to reduce code size.
8666
8667Added new functions to transparently handle the possibly split PM1 A/B
8668registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
8669functions
8670now handle the split registers for PM1 Status, Enable, and Control.
8671ACPICA
8672BZ
8673746.
8674
8675Added a function to handle the PM1 control registers,
8676AcpiHwWritePm1Control.
8677This function writes both of the PM1 control registers (A/B). These
8678registers
8679are different than the PM1 A/B status and enable registers in that
8680different
8681values can be written to the A/B registers. Most notably, the SLP_TYP
8682bits
8683can be different, as per the values returned from the _Sx predefined
8684methods.
8685
8686Removed an extra register write within AcpiHwClearAcpiStatus. This
8687function
8688was writing an optional PM1B status register twice. The existing call to
8689the
8690low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
8691A/B
8692register. ACPICA BZ 751.
8693
8694Split out the PM1 Status registers from the FADT. Added new globals for
8695these
8696registers (A/B), similar to the way the PM1 Enable registers are handled.
8697Instead of overloading the FADT Event Register blocks. This makes the
8698code
8699clearer and less prone to error.
8700
8701Fixed the warning message for when the platform contains too many ACPI
8702tables
8703for the default size of the global root table data structure. The
8704calculation
8705for the truncation value was incorrect.
8706
8707Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
8708obsolete macro, since it is now a simple reference to ->common.type.
8709There
8710were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
8711
8712Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
8713TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
8714simply SLEEP_TYPE. ACPICA BZ 754.
8715
8716Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
8717function is only needed on 64-bit host operating systems and is thus not
8718included for 32-bit hosts.
8719
8720Debug output: print the input and result for invocations of the _OSI
8721reserved
8722control method via the ACPI_LV_INFO debug level. Also, reduced some of
8723the
8724verbosity of this debug level. Len Brown.
8725
8726Example Code and Data Size: These are the sizes for the OS-independent
8727acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8728debug version of the code includes the debug output trace mechanism and
8729has a
8730much larger code and data size.
8731
8732  Previous Release:
8733    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8734    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8735  Current Release:
8736    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8737    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8738
87392) iASL Compiler/Disassembler and Tools:
8740
8741Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
8742various legal performance profiles.
8743
8744----------------------------------------
874523 January 2009. Summary of changes for version 20090123:
8746
87471) ACPI CA Core Subsystem:
8748
8749Added the 2009 copyright to all module headers and signons. This affects
8750virtually every file in the ACPICA core subsystem, the iASL compiler, and
8751the tools/utilities.
8752
8753Implemented a change to allow the host to override any ACPI table,
8754including
8755dynamically loaded tables. Previously, only the DSDT could be replaced by
8756the
8757host. With this change, the AcpiOsTableOverride interface is called for
8758each
8759table found in the RSDT/XSDT during ACPICA initialization, and also
8760whenever
8761a table is dynamically loaded via the AML Load operator.
8762
8763Updated FADT flag definitions, especially the Boot Architecture flags.
8764
8765Debugger: For the Find command, automatically pad the input ACPI name
8766with
8767underscores if the name is shorter than 4 characters. This enables a
8768match
8769with the actual namespace entry which is itself padded with underscores.
8770
8771Example Code and Data Size: These are the sizes for the OS-independent
8772acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8773debug version of the code includes the debug output trace mechanism and
8774has a
8775much larger code and data size.
8776
8777  Previous Release:
8778    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8779    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8780  Current Release:
8781    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8782    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8783
87842) iASL Compiler/Disassembler and Tools:
8785
8786Fix build error under Bison-2.4.
8787
8788Dissasembler: Enhanced FADT support. Added decoding of the Boot
8789Architecture
8790flags. Now decode all flags, regardless of the FADT version. Flag output
8791includes the FADT version which first defined each flag.
8792
8793The iASL -g option now dumps the RSDT to a file (in addition to the FADT
8794and
8795DSDT). Windows only.
8796
8797----------------------------------------
879804 December 2008. Summary of changes for version 20081204:
8799
88001) ACPI CA Core Subsystem:
8801
8802The ACPICA Programmer Reference has been completely updated and revamped
8803for
8804this release. This includes updates to the external interfaces, OSL
8805interfaces, the overview sections, and the debugger reference.
8806
8807Several new ACPICA interfaces have been implemented and documented in the
8808programmer reference:
8809AcpiReset - Writes the reset value to the FADT-defined reset register.
8810AcpiDisableAllGpes - Disable all available GPEs.
8811AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
8812AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
8813AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
8814AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
8815AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
8816
8817Most of the public ACPI hardware-related interfaces have been moved to a
8818new
8819file, components/hardware/hwxface.c
8820
8821Enhanced the FADT parsing and low-level ACPI register access: The ACPI
8822register lengths within the FADT are now used, and the low level ACPI
8823register access no longer hardcodes the ACPI register lengths. Given that
8824there may be some risk in actually trusting the FADT register lengths, a
8825run-
8826time option was added to fall back to the default hardcoded lengths if
8827the
8828FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
8829option is set to true for now, and a warning is issued if a suspicious
8830FADT
8831register length is overridden with the default value.
8832
8833Fixed a reference count issue in NsRepairObject. This problem was
8834introduced
8835in version 20081031 as part of a fix to repair Buffer objects within
8836Packages. Lin Ming.
8837
8838Added semaphore support to the Linux/Unix application OS-services layer
8839(OSL). ACPICA BZ 448. Lin Ming.
8840
8841Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
8842will
8843be implemented in the OSL, or will binary semaphores be used instead.
8844
8845Example Code and Data Size: These are the sizes for the OS-independent
8846acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8847debug version of the code includes the debug output trace mechanism and
8848has a
8849much larger code and data size.
8850
8851  Previous Release:
8852    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8853    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8854  Current Release:
8855    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8856    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8857
88582) iASL Compiler/Disassembler and Tools:
8859
8860iASL: Completed the '-e' option to include additional ACPI tables in
8861order
8862to
8863aid with disassembly and External statement generation. ACPICA BZ 742.
8864Lin
8865Ming.
8866
8867iASL: Removed the "named object in while loop" error. The compiler cannot
8868determine how many times a loop will execute. ACPICA BZ 730.
8869
8870Disassembler: Implemented support for FADT revision 2 (MS extension).
8871ACPICA
8872BZ 743.
8873
8874Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
8875MCFG).
8876
8877----------------------------------------
887831 October 2008. Summary of changes for version 20081031:
8879
88801) ACPI CA Core Subsystem:
8881
8882Restructured the ACPICA header files into public/private. acpi.h now
8883includes
8884only the "public" acpica headers. All other acpica headers are "private"
8885and
8886should not be included by acpica users. One new file, accommon.h is used
8887to
8888include the commonly used private headers for acpica code generation.
8889Future
8890plans include moving all private headers to a new subdirectory.
8891
8892Implemented an automatic Buffer->String return value conversion for
8893predefined ACPI methods. For these methods (such as _BIF), added
8894automatic
8895conversion for return objects that are required to be a String, but a
8896Buffer
8897was found instead. This can happen when reading string battery data from
8898an
8899operation region, because it used to be difficult to convert the data
8900from
8901buffer to string from within the ASL. Ensures that the host OS is
8902provided
8903with a valid null-terminated string. Linux BZ 11822.
8904
8905Updated the FACS waking vector interfaces. Split
8906AcpiSetFirmwareWakingVector
8907into two: one for the 32-bit vector, another for the 64-bit vector. This
8908is
8909required because the host OS must setup the wake much differently for
8910each
8911vector (real vs. protected mode, etc.) and the interface itself should
8912not
8913be
8914deciding which vector to use. Also, eliminated the
8915GetFirmwareWakingVector
8916interface, as it served no purpose (only the firmware reads the vector,
8917OS
8918only writes the vector.) ACPICA BZ 731.
8919
8920Implemented a mechanism to escape infinite AML While() loops. Added a
8921loop
8922counter to force exit from AML While loops if the count becomes too
8923large.
8924This can occur in poorly written AML when the hardware does not respond
8925within a while loop and the loop does not implement a timeout. The
8926maximum
8927loop count is configurable. A new exception code is returned when a loop
8928is
8929broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
8930
8931Optimized the execution of AML While loops. Previously, a control state
8932object was allocated and freed for each execution of the loop. The
8933optimization is to simply reuse the control state for each iteration.
8934This
8935speeds up the raw loop execution time by about 5%.
8936
8937Enhanced the implicit return mechanism. For Windows compatibility, return
8938an
8939implicit integer of value zero for methods that contain no executable
8940code.
8941Such methods are seen in the field as stubs (presumably), and can cause
8942drivers to fail if they expect a return value. Lin Ming.
8943
8944Allow multiple backslashes as root prefixes in namepaths. In a fully
8945qualified namepath, allow multiple backslash prefixes. This can happen
8946(and
8947is seen in the field) because of the use of a double-backslash in strings
8948(since backslash is the escape character) causing confusion. ACPICA BZ
8949739
8950Lin Ming.
8951
8952Emit a warning if two different FACS or DSDT tables are discovered in the
8953FADT. Checks if there are two valid but different addresses for the FACS
8954and
8955DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
8956
8957Consolidated the method argument count validation code. Merged the code
8958that
8959validates control method argument counts into the predefined validation
8960module. Eliminates possible multiple warnings for incorrect argument
8961counts.
8962
8963Implemented ACPICA example code. Includes code for ACPICA initialization,
8964handler installation, and calling a control method. Available at
8965source/tools/examples.
8966
8967Added a global pointer for FACS table to simplify internal FACS access.
8968Use
8969the global pointer instead of using AcpiGetTableByIndex for each FACS
8970access.
8971This simplifies the code for the Global Lock and the Firmware Waking
8972Vector(s).
8973
8974Example Code and Data Size: These are the sizes for the OS-independent
8975acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8976debug version of the code includes the debug output trace mechanism and
8977has a
8978much larger code and data size.
8979
8980  Previous Release:
8981    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8982    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8983  Current Release:
8984    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8985    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8986
89872) iASL Compiler/Disassembler and Tools:
8988
8989iASL: Improved disassembly of external method calls. Added the -e option
8990to
8991allow the inclusion of additional ACPI tables to help with the
8992disassembly
8993of
8994method invocations and the generation of external declarations during the
8995disassembly. Certain external method invocations cannot be disassembled
8996properly without the actual declaration of the method. Use the -e option
8997to
8998include the table where the external method(s) are actually declared.
8999Most
9000useful for disassembling SSDTs that make method calls back to the master
9001DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl
9002-d
9003-e dsdt.aml ssdt1.aml
9004
9005iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
9006problem where the use of an alias within a namepath would result in a not
9007found error or cause the compiler to fault. Also now allows forward
9008references from the Alias operator itself. ACPICA BZ 738.
9009
9010----------------------------------------
901126 September 2008. Summary of changes for version 20080926:
9012
90131) ACPI CA Core Subsystem:
9014
9015Designed and implemented a mechanism to validate predefined ACPI methods
9016and
9017objects. This code validates the predefined ACPI objects (objects whose
9018names
9019start with underscore) that appear in the namespace, at the time they are
9020evaluated. The argument count and the type of the returned object are
9021validated against the ACPI specification. The purpose of this validation
9022is
9023to detect problems with the BIOS-implemented predefined ACPI objects
9024before
9025the results are returned to the ACPI-related drivers. Future enhancements
9026may
9027include actual repair of incorrect return objects where possible. Two new
9028files are nspredef.c and acpredef.h.
9029
9030Fixed a fault in the AML parser if a memory allocation fails during the
9031Op
9032completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
9033
9034Fixed an issue with implicit return compatibility. This change improves
9035the
9036implicit return mechanism to be more compatible with the MS interpreter.
9037Lin
9038Ming, ACPICA BZ 349.
9039
9040Implemented support for zero-length buffer-to-string conversions. Allow
9041zero
9042length strings during interpreter buffer-to-string conversions. For
9043example,
9044during the ToDecimalString and ToHexString operators, as well as implicit
9045conversions. Fiodor Suietov, ACPICA BZ 585.
9046
9047Fixed two possible memory leaks in the error exit paths of
9048AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
9049are
9050similar in that they use a stack of state objects in order to eliminate
9051recursion. The stack must be fully unwound and deallocated if an error
9052occurs. Lin Ming. ACPICA BZ 383.
9053
9054Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
9055global
9056ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
9057Moore ACPICA BZ 442.
9058
9059Removed the obsolete version number in module headers. Removed the
9060"$Revision" number that appeared in each module header. This version
9061number
9062was useful under SourceSafe and CVS, but has no meaning under git. It is
9063not
9064only incorrect, it could also be misleading.
9065
9066Example Code and Data Size: These are the sizes for the OS-independent
9067acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9068debug version of the code includes the debug output trace mechanism and
9069has a
9070much larger code and data size.
9071
9072  Previous Release:
9073    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
9074    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
9075  Current Release:
9076    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
9077    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
9078
9079----------------------------------------
908029 August 2008. Summary of changes for version 20080829:
9081
90821) ACPI CA Core Subsystem:
9083
9084Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
9085Reference. Changes include the elimination of cheating on the Object
9086field
9087for the DdbHandle subtype, addition of a reference class field to
9088differentiate the various reference types (instead of an AML opcode), and
9089the
9090cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
9091
9092Reduce an error to a warning for an incorrect method argument count.
9093Previously aborted with an error if too few arguments were passed to a
9094control method via the external ACPICA interface. Now issue a warning
9095instead
9096and continue. Handles the case where the method inadvertently declares
9097too
9098many arguments, but does not actually use the extra ones. Applies mainly
9099to
9100the predefined methods. Lin Ming. Linux BZ 11032.
9101
9102Disallow the evaluation of named object types with no intrinsic value.
9103Return
9104AE_TYPE for objects that have no value and therefore evaluation is
9105undefined:
9106Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
9107of
9108these types were allowed, but an exception would be generated at some
9109point
9110during the evaluation. Now, the error is generated up front.
9111
9112Fixed a possible memory leak in the AcpiNsGetExternalPathname function
9113(nsnames.c). Fixes a leak in the error exit path.
9114
9115Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
9116debug
9117levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
9118ACPI_EXCEPTION
9119interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
9120ACPI_LV_EVENTS.
9121
9122Removed obsolete and/or unused exception codes from the acexcep.h header.
9123There is the possibility that certain device drivers may be affected if
9124they
9125use any of these exceptions.
9126
9127The ACPICA documentation has been added to the public git source tree,
9128under
9129acpica/documents. Included are the ACPICA programmer reference, the iASL
9130compiler reference, and the changes.txt release logfile.
9131
9132Example Code and Data Size: These are the sizes for the OS-independent
9133acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9134debug version of the code includes the debug output trace mechanism and
9135has a
9136much larger code and data size.
9137
9138  Previous Release:
9139    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
9140    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
9141  Current Release:
9142    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
9143    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
9144
91452) iASL Compiler/Disassembler and Tools:
9146
9147Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
9148defines _SCP with 3 arguments. Previous versions defined it with only 1
9149argument. iASL now allows both definitions.
9150
9151iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
9152zero-
9153length subtables when disassembling ACPI tables. Also fixed a couple of
9154errors where a full 16-bit table type field was not extracted from the
9155input
9156properly.
9157
9158acpisrc: Improve comment counting mechanism for generating source code
9159statistics. Count first and last lines of multi-line comments as
9160whitespace,
9161not comment lines. Handle Linux legal header in addition to standard
9162acpica
9163header.
9164
9165----------------------------------------
9166
916729 July 2008. Summary of changes for version 20080729:
9168
91691) ACPI CA Core Subsystem:
9170
9171Fix a possible deadlock in the GPE dispatch. Remove call to
9172AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
9173attempt
9174to acquire the GPE lock but can deadlock since the GPE lock is already
9175held
9176at dispatch time. This code was introduced in version 20060831 as a
9177response
9178to Linux BZ 6881 and has since been removed from Linux.
9179
9180Add a function to dereference returned reference objects. Examines the
9181return
9182object from a call to AcpiEvaluateObject. Any Index or RefOf references
9183are
9184automatically dereferenced in an attempt to return something useful
9185(these
9186reference types cannot be converted into an external ACPI_OBJECT.)
9187Provides
9188MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
9189
9190x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
9191subtables for the MADT and one new subtable for the SRAT. Includes
9192disassembler and AcpiSrc support. Data from the Intel 64 Architecture
9193x2APIC
9194Specification, June 2008.
9195
9196Additional error checking for pathname utilities. Add error check after
9197all
9198calls to AcpiNsGetPathnameLength. Add status return from
9199AcpiNsBuildExternalPath and check after all calls. Add parameter
9200validation
9201to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
9202
9203Return status from the global init function AcpiUtGlobalInitialize. This
9204is
9205used by both the kernel subsystem and the utilities such as iASL
9206compiler.
9207The function could possibly fail when the caches are initialized. Yang
9208Yi.
9209
9210Add a function to decode reference object types to strings. Created for
9211improved error messages.
9212
9213Improve object conversion error messages. Better error messages during
9214object
9215conversion from internal to the external ACPI_OBJECT. Used for external
9216calls
9217to AcpiEvaluateObject.
9218
9219Example Code and Data Size: These are the sizes for the OS-independent
9220acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9221debug version of the code includes the debug output trace mechanism and
9222has a
9223much larger code and data size.
9224
9225  Previous Release:
9226    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
9227    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
9228  Current Release:
9229    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
9230    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
9231
92322) iASL Compiler/Disassembler and Tools:
9233
9234Debugger: fix a possible hang when evaluating non-methods. Fixes a
9235problem
9236introduced in version 20080701. If the object being evaluated (via
9237execute
9238command) is not a method, the debugger can hang while trying to obtain
9239non-
9240existent parameters.
9241
9242iASL: relax error for using reserved "_T_x" identifiers. These names can
9243appear in a disassembled ASL file if they were emitted by the original
9244compiler. Instead of issuing an error or warning and forcing the user to
9245manually change these names, issue a remark instead.
9246
9247iASL: error if named object created in while loop. Emit an error if any
9248named
9249object is created within a While loop. If allowed, this code will
9250generate
9251a
9252run-time error on the second iteration of the loop when an attempt is
9253made
9254to
9255create the same named object twice. ACPICA bugzilla 730.
9256
9257iASL: Support absolute pathnames for include files. Add support for
9258absolute
9259pathnames within the Include operator. previously, only relative
9260pathnames
9261were supported.
9262
9263iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
9264Descriptor.
9265The ACPI spec requires one interrupt minimum. BZ 423
9266
9267iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
9268Handles the case for the Interrupt Resource Descriptor where
9269the ResourceSource argument is omitted but ResourceSourceIndex
9270is present. Now leave room for the Index. BZ 426
9271
9272iASL: Prevent error message if CondRefOf target does not exist. Fixes
9273cases
9274where an error message is emitted if the target does not exist. BZ 516
9275
9276iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
9277(get ACPI tables on Windows). This was apparently broken in version
927820070919.
9279
9280AcpiXtract: Handle EOF while extracting data. Correctly handle the case
9281where
9282the EOF happens immediately after the last table in the input file. Print
9283completion message. Previously, no message was displayed in this case.
9284
9285----------------------------------------
928601 July 2008. Summary of changes for version 20080701:
9287
92880) Git source tree / acpica.org
9289
9290Fixed a problem where a git-clone from http would not transfer the entire
9291source tree.
9292
92931) ACPI CA Core Subsystem:
9294
9295Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
9296enable bit. Now performs a read-change-write of the enable register
9297instead
9298of simply writing out the cached enable mask. This will prevent
9299inadvertent
9300enabling of GPEs if a rogue GPE is received during initialization (before
9301GPE
9302handlers are installed.)
9303
9304Implemented a copy for dynamically loaded tables. Previously, dynamically
9305loaded tables were simply mapped - but on some machines this memory is
9306corrupted after suspend. Now copy the table to a local buffer. For the
9307OpRegion case, added checksum verify. Use the table length from the table
9308header, not the region length. For the Buffer case, use the table length
9309also. Dennis Noordsij, Bob Moore. BZ 10734
9310
9311Fixed a problem where the same ACPI table could not be dynamically loaded
9312and
9313unloaded more than once. Without this change, a table cannot be loaded
9314again
9315once it has been loaded/unloaded one time. The current mechanism does not
9316unregister a table upon an unload. During a load, if the same table is
9317found,
9318this no longer returns an exception. BZ 722
9319
9320Fixed a problem where the wrong descriptor length was calculated for the
9321EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
9322EndTag
9323are calculated as 12 bytes long, but the actual length in the internal
9324descriptor is 16 because of the round-up to 8 on the 64-bit build.
9325Reported
9326by Linn Crosetto. BZ 728
9327
9328Fixed a possible memory leak in the Unload operator. The DdbHandle
9329returned
9330by Load() did not have its reference count decremented during unload,
9331leading
9332to a memory leak. Lin Ming. BZ 727
9333
9334Fixed a possible memory leak when deleting thermal/processor objects. Any
9335associated notify handlers (and objects) were not being deleted. Fiodor
9336Suietov. BZ 506
9337
9338Fixed the ordering of the ASCII names in the global mutex table to match
9339the
9340actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
9341only.
9342Vegard Nossum. BZ 726
9343
9344Enhanced the AcpiGetObjectInfo interface to return the number of required
9345arguments if the object is a control method. Added this call to the
9346debugger
9347so the proper number of default arguments are passed to a method. This
9348prevents a warning when executing methods from AcpiExec.
9349
9350Added a check for an invalid handle in AcpiGetObjectInfo. Return
9351AE_BAD_PARAMETER if input handle is invalid. BZ 474
9352
9353Fixed an extraneous warning from exconfig.c on the 64-bit build.
9354
9355Example Code and Data Size: These are the sizes for the OS-independent
9356acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9357debug version of the code includes the debug output trace mechanism and
9358has a
9359much larger code and data size.
9360
9361  Previous Release:
9362    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
9363    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
9364  Current Release:
9365    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
9366    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
9367
93682) iASL Compiler/Disassembler and Tools:
9369
9370iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
9371resource descriptor names.
9372
9373iASL: Detect invalid ASCII characters in input (windows version). Removed
9374the
9375"-CF" flag from the flex compile, enables correct detection of non-ASCII
9376characters in the input. BZ 441
9377
9378iASL: Eliminate warning when result of LoadTable is not used. Eliminate
9379the
9380"result of operation not used" warning when the DDB handle returned from
9381LoadTable is not used. The warning is not needed. BZ 590
9382
9383AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
9384method
9385to
9386pass address of table to the AML. Added option to disable OpRegion
9387simulation
9388to allow creation of an OpRegion with a real address that was passed to
9389_CFG.
9390All of this allows testing of the Load and Unload operators from
9391AcpiExec.
9392
9393Debugger: update tables command for unloaded tables. Handle unloaded
9394tables
9395and use the standard table header output routine.
9396
9397----------------------------------------
939809 June 2008. Summary of changes for version 20080609:
9399
94001) ACPI CA Core Subsystem:
9401
9402Implemented a workaround for reversed _PRT entries. A significant number
9403of
9404BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
9405change dynamically detects and repairs this problem. Provides
9406compatibility
9407with MS ACPI. BZ 6859
9408
9409Simplified the internal ACPI hardware interfaces to eliminate the locking
9410flag parameter from Register Read/Write. Added a new external interface,
9411AcpiGetRegisterUnlocked.
9412
9413Fixed a problem where the invocation of a GPE control method could hang.
9414This
9415was a regression introduced in 20080514. The new method argument count
9416validation mechanism can enter an infinite loop when a GPE method is
9417dispatched. Problem fixed by removing the obsolete code that passed GPE
9418block
9419information to the notify handler via the control method parameter
9420pointer.
9421
9422Fixed a problem where the _SST execution status was incorrectly returned
9423to
9424the caller of AcpiEnterSleepStatePrep. This was a regression introduced
9425in
942620080514. _SST is optional and a NOT_FOUND exception should never be
9427returned. BZ 716
9428
9429Fixed a problem where a deleted object could be accessed from within the
9430AML
9431parser. This was a regression introduced in version 20080123 as a fix for
9432the
9433Unload operator. Lin Ming. BZ 10669
9434
9435Cleaned up the debug operand dump mechanism. Eliminated unnecessary
9436operands
9437and eliminated the use of a negative index in a loop. Operands are now
9438displayed in the correct order, not backwards. This also fixes a
9439regression
9440introduced in 20080514 on 64-bit systems where the elimination of
9441ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
9442715
9443
9444Fixed a possible memory leak in EvPciConfigRegionSetup where the error
9445exit
9446path did not delete a locally allocated structure.
9447
9448Updated definitions for the DMAR and SRAT tables to synchronize with the
9449current specifications. Includes disassembler support.
9450
9451Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
9452loop termination value was used. Loop terminated on iteration early,
9453missing
9454one mutex. Linn Crosetto
9455
9456Example Code and Data Size: These are the sizes for the OS-independent
9457acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9458debug version of the code includes the debug output trace mechanism and
9459has a
9460much larger code and data size.
9461
9462  Previous Release:
9463    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
9464    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
9465  Current Release:
9466    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
9467    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
9468
94692) iASL Compiler/Disassembler and Tools:
9470
9471Disassembler: Implemented support for EisaId() within _CID objects. Now
9472disassemble integer _CID objects back to EisaId invocations, including
9473multiple integers within _CID packages. Includes single-step support for
9474debugger also.
9475
9476Disassembler: Added support for DMAR and SRAT table definition changes.
9477
9478----------------------------------------
947914 May 2008. Summary of changes for version 20080514:
9480
94811) ACPI CA Core Subsystem:
9482
9483Fixed a problem where GPEs were enabled too early during the ACPICA
9484initialization. This could lead to "handler not installed" errors on some
9485machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
9486This
9487ensures that all operation regions and devices throughout the namespace
9488have
9489been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
9490
9491Implemented a change to the enter sleep code. Moved execution of the _GTS
9492method to just before setting sleep enable bit. The execution was moved
9493from
9494AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
9495immediately before the SLP_EN bit is set, as per the ACPI specification.
9496Luming Yu, BZ 1653.
9497
9498Implemented a fix to disable unknown GPEs (2nd version). Now always
9499disable
9500the GPE, even if ACPICA thinks that that it is already disabled. It is
9501possible that the AML or some other code has enabled the GPE unbeknownst
9502to
9503the ACPICA code.
9504
9505Fixed a problem with the Field operator where zero-length fields would
9506return
9507an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
9508ASL
9509field declarations in Field(), BankField(), and IndexField(). BZ 10606.
9510
9511Implemented a fix for the Load operator, now load the table at the
9512namespace
9513root. This reverts a change introduced in version 20071019. The table is
9514now
9515loaded at the namespace root even though this goes against the ACPI
9516specification. This provides compatibility with other ACPI
9517implementations.
9518The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
9519Ming.
9520
9521Fixed a problem where ACPICA would not Load() tables with unusual
9522signatures.
9523Now ignore ACPI table signature for Load() operator. Only "SSDT" is
9524acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
9525Therefore, signature validation is worthless. Apparently MS ACPI accepts
9526such
9527signatures, ACPICA must be compatible. BZ 10454.
9528
9529Fixed a possible negative array index in AcpiUtValidateException. Added
9530NULL
9531fields to the exception string arrays to eliminate a -1 subtraction on
9532the
9533SubStatus field.
9534
9535Updated the debug tracking macros to reduce overall code and data size.
9536Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
9537instead of pointers to static strings. Jan Beulich and Bob Moore.
9538
9539Implemented argument count checking in control method invocation via
9540AcpiEvaluateObject. Now emit an error if too few arguments, warning if
9541too
9542many. This applies only to extern programmatic control method execution,
9543not
9544method-to-method calls within the AML. Lin Ming.
9545
9546Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
9547no
9548longer needed, especially with the removal of 16-bit support. It was
9549replaced
9550mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
9551bit
9552on
955332/64-bit platforms is required.
9554
9555Added the C const qualifier for appropriate string constants -- mostly
9556MODULE_NAME and printf format strings. Jan Beulich.
9557
9558Example Code and Data Size: These are the sizes for the OS-independent
9559acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9560debug version of the code includes the debug output trace mechanism and
9561has a
9562much larger code and data size.
9563
9564  Previous Release:
9565    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9566    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9567  Current Release:
9568    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
9569    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
9570
95712) iASL Compiler/Disassembler and Tools:
9572
9573Implemented ACPI table revision ID validation in the disassembler. Zero
9574is
9575always invalid. For DSDTs, the ID controls the interpreter integer width.
95761
9577means 32-bit and this is unusual. 2 or greater is 64-bit.
9578
9579----------------------------------------
958021 March 2008. Summary of changes for version 20080321:
9581
95821) ACPI CA Core Subsystem:
9583
9584Implemented an additional change to the GPE support in order to suppress
9585spurious or stray GPEs. The AcpiEvDisableGpe function will now
9586permanently
9587disable incoming GPEs that are neither enabled nor disabled -- meaning
9588that
9589the GPE is unknown to the system. This should prevent future interrupt
9590floods
9591from that GPE. BZ 6217 (Zhang Rui)
9592
9593Fixed a problem where NULL package elements were not returned to the
9594AcpiEvaluateObject interface correctly. The element was simply ignored
9595instead of returning a NULL ACPI_OBJECT package element, potentially
9596causing
9597a buffer overflow and/or confusing the caller who expected a fixed number
9598of
9599elements. BZ 10132 (Lin Ming, Bob Moore)
9600
9601Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
9602Dword,
9603Qword), Field, BankField, and IndexField operators when invoked from
9604inside
9605an executing control method. In this case, these operators created
9606namespace
9607nodes that were incorrectly left marked as permanent nodes instead of
9608temporary nodes. This could cause a problem if there is race condition
9609between an exiting control method and a running namespace walk. (Reported
9610by
9611Linn Crosetto)
9612
9613Fixed a problem where the CreateField and CreateXXXField operators would
9614incorrectly allow duplicate names (the name of the field) with no
9615exception
9616generated.
9617
9618Implemented several changes for Notify handling. Added support for new
9619Notify
9620values (ACPI 2.0+) and improved the Notify debug output. Notify on
9621PowerResource objects is no longer allowed, as per the ACPI
9622specification.
9623(Bob Moore, Zhang Rui)
9624
9625All Reference Objects returned via the AcpiEvaluateObject interface are
9626now
9627marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
9628for
9629NULL objects - either NULL package elements or unresolved named
9630references.
9631
9632Fixed a problem where an extraneous debug message was produced for
9633package
9634objects (when debugging enabled). The message "Package List length larger
9635than NumElements count" is now produced in the correct case, and is now
9636an
9637error message rather than a debug message. Added a debug message for the
9638opposite case, where NumElements is larger than the Package List (the
9639package
9640will be padded out with NULL elements as per the ACPI spec.)
9641
9642Implemented several improvements for the output of the ASL "Debug" object
9643to
9644clarify and keep all data for a given object on one output line.
9645
9646Fixed two size calculation issues with the variable-length Start
9647Dependent
9648resource descriptor.
9649
9650Example Code and Data Size: These are the sizes for the OS-independent
9651acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9652debug version of the code includes the debug output trace mechanism and
9653has
9654a much larger code and data size.
9655
9656  Previous Release:
9657    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9658    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9659  Current Release:
9660    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9661    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9662
96632) iASL Compiler/Disassembler and Tools:
9664
9665Fixed a problem with the use of the Switch operator where execution of
9666the
9667containing method by multiple concurrent threads could cause an
9668AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
9669actual Switch opcode, it must be simulated with local named temporary
9670variables and if/else pairs. The solution chosen was to mark any method
9671that
9672uses Switch as Serialized, thus preventing multiple thread entries. BZ
9673469.
9674
9675----------------------------------------
967613 February 2008. Summary of changes for version 20080213:
9677
96781) ACPI CA Core Subsystem:
9679
9680Implemented another MS compatibility design change for GPE/Notify
9681handling.
9682GPEs are now cleared/enabled asynchronously to allow all pending notifies
9683to
9684complete first. It is expected that the OSL will queue the enable request
9685behind all pending notify requests (may require changes to the local host
9686OSL
9687in AcpiOsExecute). Alexey Starikovskiy.
9688
9689Fixed a problem where buffer and package objects passed as arguments to a
9690control method via the external AcpiEvaluateObject interface could cause
9691an
9692AE_AML_INTERNAL exception depending on the order and type of operators
9693executed by the target control method.
9694
9695Fixed a problem where resource descriptor size optimization could cause a
9696problem when a _CRS resource template is passed to a _SRS method. The
9697_SRS
9698resource template must use the same descriptors (with the same size) as
9699returned from _CRS. This change affects the following resource
9700descriptors:
9701IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
97029487)
9703
9704Fixed a problem where a CopyObject to RegionField, BankField, and
9705IndexField
9706objects did not perform an implicit conversion as it should. These types
9707must
9708retain their initial type permanently as per the ACPI specification.
9709However,
9710a CopyObject to all other object types should not perform an implicit
9711conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
9712
9713Fixed a problem with the AcpiGetDevices interface where the mechanism to
9714match device CIDs did not examine the entire list of available CIDs, but
9715instead aborted on the first non-matching CID. Andrew Patterson.
9716
9717Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
9718was
9719inadvertently changed to return a 16-bit value instead of a 32-bit value,
9720truncating the upper dword of a 64-bit value. This macro is only used to
9721display debug output, so no incorrect calculations were made. Also,
9722reimplemented the macro so that a 64-bit shift is not performed by
9723inefficient compilers.
9724
9725Added missing va_end statements that should correspond with each va_start
9726statement.
9727
9728Example Code and Data Size: These are the sizes for the OS-independent
9729acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9730debug version of the code includes the debug output trace mechanism and
9731has
9732a much larger code and data size.
9733
9734  Previous Release:
9735    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9736    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9737  Current Release:
9738    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9739    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9740
97412) iASL Compiler/Disassembler and Tools:
9742
9743Implemented full disassembler support for the following new ACPI tables:
9744BERT, EINJ, and ERST. Implemented partial disassembler support for the
9745complicated HEST table. These tables support the Windows Hardware Error
9746Architecture (WHEA).
9747
9748----------------------------------------
974923 January 2008. Summary of changes for version 20080123:
9750
97511) ACPI CA Core Subsystem:
9752
9753Added the 2008 copyright to all module headers and signons. This affects
9754virtually every file in the ACPICA core subsystem, the iASL compiler, and
9755the tools/utilities.
9756
9757Fixed a problem with the SizeOf operator when used with Package and
9758Buffer
9759objects. These objects have deferred execution for some arguments, and
9760the
9761execution is now completed before the SizeOf is executed. This problem
9762caused
9763unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
9764BZ
97659558
9766
9767Implemented an enhancement to the interpreter "slack mode". In the
9768absence
9769of
9770an explicit return or an implicitly returned object from the last
9771executed
9772opcode, a control method will now implicitly return an integer of value 0
9773for
9774Microsoft compatibility. (Lin Ming) BZ 392
9775
9776Fixed a problem with the Load operator where an exception was not
9777returned
9778in
9779the case where the table is already loaded. (Lin Ming) BZ 463
9780
9781Implemented support for the use of DDBHandles as an Indexed Reference, as
9782per
9783the ACPI spec. (Lin Ming) BZ 486
9784
9785Implemented support for UserTerm (Method invocation) for the Unload
9786operator
9787as per the ACPI spec. (Lin Ming) BZ 580
9788
9789Fixed a problem with the LoadTable operator where the OemId and
9790OemTableId
9791input strings could cause unexpected failures if they were shorter than
9792the
9793maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
9794
9795Implemented support for UserTerm (Method invocation) for the Unload
9796operator
9797as per the ACPI spec. (Lin Ming) BZ 580
9798
9799Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
9800HEST,
9801IBFT, UEFI, WDAT. Disassembler support is forthcoming.
9802
9803Example Code and Data Size: These are the sizes for the OS-independent
9804acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9805debug version of the code includes the debug output trace mechanism and
9806has
9807a much larger code and data size.
9808
9809  Previous Release:
9810    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9811    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9812  Current Release:
9813    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9814    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9815
98162) iASL Compiler/Disassembler and Tools:
9817
9818Implemented support in the disassembler for checksum validation on
9819incoming
9820binary DSDTs and SSDTs. If incorrect, a message is displayed within the
9821table
9822header dump at the start of the disassembly.
9823
9824Implemented additional debugging information in the namespace listing
9825file
9826created during compilation. In addition to the namespace hierarchy, the
9827full
9828pathname to each namespace object is displayed.
9829
9830Fixed a problem with the disassembler where invalid ACPI tables could
9831cause
9832faults or infinite loops.
9833
9834Fixed an unexpected parse error when using the optional "parameter types"
9835list in a control method declaration. (Lin Ming) BZ 397
9836
9837Fixed a problem where two External declarations with the same name did
9838not
9839cause an error (Lin Ming) BZ 509
9840
9841Implemented support for full TermArgs (adding Argx, Localx and method
9842invocation) for the ParameterData parameter to the LoadTable operator.
9843(Lin
9844Ming) BZ 583,587
9845
9846----------------------------------------
984719 December 2007. Summary of changes for version 20071219:
9848
98491) ACPI CA Core Subsystem:
9850
9851Implemented full support for deferred execution for the TermArg string
9852arguments for DataTableRegion. This enables forward references and full
9853operand resolution for the three string arguments. Similar to
9854OperationRegion
9855deferred argument execution.) Lin Ming. BZ 430
9856
9857Implemented full argument resolution support for the BankValue argument
9858to
9859BankField. Previously, only constants were supported, now any TermArg may
9860be
9861used. Lin Ming BZ 387, 393
9862
9863Fixed a problem with AcpiGetDevices where the search of a branch of the
9864device tree could be terminated prematurely. In accordance with the ACPI
9865specification, the search down the current branch is terminated if a
9866device
9867is both not present and not functional (instead of just not present.)
9868Yakui
9869Zhao.
9870
9871Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
9872if
9873the underlying AML code changed the GPE enable registers. Now, any
9874unknown
9875incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
9876disabled
9877instead of simply ignored. Rui Zhang.
9878
9879Fixed a problem with Index Fields where the Index register was
9880incorrectly
9881limited to a maximum of 32 bits. Now any size may be used.
9882
9883Fixed a couple memory leaks associated with "implicit return" objects
9884when
9885the AML Interpreter slack mode is enabled. Lin Ming BZ 349
9886
9887Example Code and Data Size: These are the sizes for the OS-independent
9888acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9889debug version of the code includes the debug output trace mechanism and
9890has
9891a much larger code and data size.
9892
9893  Previous Release:
9894    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9895    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9896  Current Release:
9897    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9898    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9899
9900----------------------------------------
990114 November 2007. Summary of changes for version 20071114:
9902
99031) ACPI CA Core Subsystem:
9904
9905Implemented event counters for each of the Fixed Events, the ACPI SCI
9906(interrupt) itself, and control methods executed. Named
9907AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
9908These
9909should be useful for debugging and statistics.
9910
9911Implemented a new external interface, AcpiGetStatistics, to retrieve the
9912contents of the various event counters. Returns the current values for
9913AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
9914AcpiMethodCount. The interface can be expanded in the future if new
9915counters
9916are added. Device drivers should use this interface rather than access
9917the
9918counters directly.
9919
9920Fixed a problem with the FromBCD and ToBCD operators. With some
9921compilers,
9922the ShortDivide function worked incorrectly, causing problems with the
9923BCD
9924functions with large input values. A truncation from 64-bit to 32-bit
9925inadvertently occurred. Internal BZ 435. Lin Ming
9926
9927Fixed a problem with Index references passed as method arguments.
9928References
9929passed as arguments to control methods were dereferenced immediately
9930(before
9931control was passed to the called method). The references are now
9932correctly
9933passed directly to the called method. BZ 5389. Lin Ming
9934
9935Fixed a problem with CopyObject used in conjunction with the Index
9936operator.
9937The reference was incorrectly dereferenced before the copy. The reference
9938is
9939now correctly copied. BZ 5391. Lin Ming
9940
9941Fixed a problem with Control Method references within Package objects.
9942These
9943references are now correctly generated. This completes the package
9944construction overhaul that began in version 20071019.
9945
9946Example Code and Data Size: These are the sizes for the OS-independent
9947acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9948debug version of the code includes the debug output trace mechanism and
9949has
9950a much larger code and data size.
9951
9952  Previous Release:
9953    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9954    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9955  Current Release:
9956    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9957    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9958
9959
99602) iASL Compiler/Disassembler and Tools:
9961
9962The AcpiExec utility now installs handlers for all of the predefined
9963Operation Region types. New types supported are: PCI_Config, CMOS, and
9964PCIBARTarget.
9965
9966Fixed a problem with the 64-bit version of AcpiExec where the extended
9967(64-
9968bit) address fields for the DSDT and FACS within the FADT were not being
9969used, causing truncation of the upper 32-bits of these addresses. Lin
9970Ming
9971and Bob Moore
9972
9973----------------------------------------
997419 October 2007. Summary of changes for version 20071019:
9975
99761) ACPI CA Core Subsystem:
9977
9978Fixed a problem with the Alias operator when the target of the alias is a
9979named ASL operator that opens a new scope -- Scope, Device,
9980PowerResource,
9981Processor, and ThermalZone. In these cases, any children of the original
9982operator could not be accessed via the alias, potentially causing
9983unexpected
9984AE_NOT_FOUND exceptions. (BZ 9067)
9985
9986Fixed a problem with the Package operator where all named references were
9987created as object references and left otherwise unresolved. According to
9988the
9989ACPI specification, a Package can only contain Data Objects or references
9990to
9991control methods. The implication is that named references to Data Objects
9992(Integer, Buffer, String, Package, BufferField, Field) should be resolved
9993immediately upon package creation. This is the approach taken with this
9994change. References to all other named objects (Methods, Devices, Scopes,
9995etc.) are all now properly created as reference objects. (BZ 5328)
9996
9997Reverted a change to Notify handling that was introduced in version
999820070508. This version changed the Notify handling from asynchronous to
9999fully synchronous (Device driver Notify handling with respect to the
10000Notify
10001ASL operator). It was found that this change caused more problems than it
10002solved and was removed by most users.
10003
10004Fixed a problem with the Increment and Decrement operators where the type
10005of
10006the target object could be unexpectedly and incorrectly changed. (BZ 353)
10007Lin Ming.
10008
10009Fixed a problem with the Load and LoadTable operators where the table
10010location within the namespace was ignored. Instead, the table was always
10011loaded into the root or current scope. Lin Ming.
10012
10013Fixed a problem with the Load operator when loading a table from a buffer
10014object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
10015
10016Fixed a problem with the Debug object where a store of a DdbHandle
10017reference
10018object to the Debug object could cause a fault.
10019
10020Added a table checksum verification for the Load operator, in the case
10021where
10022the load is from a buffer. (BZ 578).
10023
10024Implemented additional parameter validation for the LoadTable operator.
10025The
10026length of the input strings SignatureString, OemIdString, and OemTableId
10027are
10028now checked for maximum lengths. (BZ 582) Lin Ming.
10029
10030Example Code and Data Size: These are the sizes for the OS-independent
10031acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10032debug version of the code includes the debug output trace mechanism and
10033has
10034a much larger code and data size.
10035
10036  Previous Release:
10037    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
10038    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
10039  Current Release:
10040    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
10041    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
10042
10043
100442) iASL Compiler/Disassembler:
10045
10046Fixed a problem where if a single file was specified and the file did not
10047exist, no error message was emitted. (Introduced with wildcard support in
10048version 20070917.)
10049
10050----------------------------------------
1005119 September 2007. Summary of changes for version 20070919:
10052
100531) ACPI CA Core Subsystem:
10054
10055Designed and implemented new external interfaces to install and remove
10056handlers for ACPI table-related events. Current events that are defined
10057are
10058LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
10059they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
10060AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
10061
10062Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
10063(acpi_serialized option on Linux) could cause some systems to hang during
10064initialization. (Bob Moore) BZ 8171
10065
10066Fixed a problem where objects of certain types (Device, ThermalZone,
10067Processor, PowerResource) can be not found if they are declared and
10068referenced from within the same control method (Lin Ming) BZ 341
10069
10070Example Code and Data Size: These are the sizes for the OS-independent
10071acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10072debug version of the code includes the debug output trace mechanism and
10073has
10074a much larger code and data size.
10075
10076  Previous Release:
10077    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
10078    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
10079  Current Release:
10080    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
10081    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
10082
10083
100842) iASL Compiler/Disassembler:
10085
10086Implemented support to allow multiple files to be compiled/disassembled
10087in
10088a
10089single invocation. This includes command line wildcard support for both
10090the
10091Windows and Unix versions of the compiler. This feature simplifies the
10092disassembly and compilation of multiple ACPI tables in a single
10093directory.
10094
10095----------------------------------------
1009608 May 2007. Summary of changes for version 20070508:
10097
100981) ACPI CA Core Subsystem:
10099
10100Implemented a Microsoft compatibility design change for the handling of
10101the
10102Notify AML operator. Previously, notify handlers were dispatched and
10103executed completely asynchronously in a deferred thread. The new design
10104still executes the notify handlers in a different thread, but the
10105original
10106thread that executed the Notify() now waits at a synchronization point
10107for
10108the notify handler to complete. Some machines depend on a synchronous
10109Notify
10110operator in order to operate correctly.
10111
10112Implemented support to allow Package objects to be passed as method
10113arguments to the external AcpiEvaluateObject interface. Previously, this
10114would return the AE_NOT_IMPLEMENTED exception. This feature had not been
10115implemented since there were no reserved control methods that required it
10116until recently.
10117
10118Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
10119that
10120contained invalid non-zero values in reserved fields could cause later
10121failures because these fields have meaning in later revisions of the
10122FADT.
10123For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
10124fields
10125are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
10126
10127Fixed a problem where the Global Lock handle was not properly updated if
10128a
10129thread that acquired the Global Lock via executing AML code then
10130attempted
10131to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
10132Joe
10133Liu.
10134
10135Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
10136could be corrupted if the interrupt being removed was at the head of the
10137list. Reported by Linn Crosetto.
10138
10139Example Code and Data Size: These are the sizes for the OS-independent
10140acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10141debug version of the code includes the debug output trace mechanism and
10142has
10143a much larger code and data size.
10144
10145  Previous Release:
10146    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10147    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
10148  Current Release:
10149    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
10150    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
10151
10152----------------------------------------
1015320 March 2007. Summary of changes for version 20070320:
10154
101551) ACPI CA Core Subsystem:
10156
10157Implemented a change to the order of interpretation and evaluation of AML
10158operand objects within the AML interpreter. The interpreter now evaluates
10159operands in the order that they appear in the AML stream (and the
10160corresponding ASL code), instead of in the reverse order (after the
10161entire
10162operand list has been parsed). The previous behavior caused several
10163subtle
10164incompatibilities with the Microsoft AML interpreter as well as being
10165somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
10166
10167Implemented a change to the ACPI Global Lock support. All interfaces to
10168the
10169global lock now allow the same thread to acquire the lock multiple times.
10170This affects the AcpiAcquireGlobalLock external interface to the global
10171lock
10172as well as the internal use of the global lock to support AML fields -- a
10173control method that is holding the global lock can now simultaneously
10174access
10175AML fields that require global lock protection. Previously, in both
10176cases,
10177this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
10178to
10179AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
10180Controller. There is no change to the behavior of the AML Acquire
10181operator,
10182as this can already be used to acquire a mutex multiple times by the same
10183thread. BZ 8066. With assistance from Alexey Starikovskiy.
10184
10185Fixed a problem where invalid objects could be referenced in the AML
10186Interpreter after error conditions. During operand evaluation, ensure
10187that
10188the internal "Return Object" field is cleared on error and only valid
10189pointers are stored there. Caused occasional access to deleted objects
10190that
10191resulted in "large reference count" warning messages. Valery Podrezov.
10192
10193Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
10194on
10195deeply nested control method invocations. BZ 7873, local BZ 487. Valery
10196Podrezov.
10197
10198Fixed an internal problem with the handling of result objects on the
10199interpreter result stack. BZ 7872. Valery Podrezov.
10200
10201Removed obsolete code that handled the case where AML_NAME_OP is the
10202target
10203of a reference (Reference.Opcode). This code was no longer necessary. BZ
102047874. Valery Podrezov.
10205
10206Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
10207was
10208a
10209remnant from the previously discontinued 16-bit support.
10210
10211Example Code and Data Size: These are the sizes for the OS-independent
10212acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10213debug version of the code includes the debug output trace mechanism and
10214has
10215a much larger code and data size.
10216
10217  Previous Release:
10218    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10219    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
10220  Current Release:
10221    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10222    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
10223
10224----------------------------------------
1022526 January 2007. Summary of changes for version 20070126:
10226
102271) ACPI CA Core Subsystem:
10228
10229Added the 2007 copyright to all module headers and signons. This affects
10230virtually every file in the ACPICA core subsystem, the iASL compiler, and
10231the utilities.
10232
10233Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
10234during a table load. A bad pointer was passed in the case where the DSDT
10235is
10236overridden, causing a fault in this case.
10237
10238Example Code and Data Size: These are the sizes for the OS-independent
10239acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10240debug version of the code includes the debug output trace mechanism and
10241has
10242a much larger code and data size.
10243
10244  Previous Release:
10245    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10246    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
10247  Current Release:
10248    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10249    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
10250
10251----------------------------------------
1025215 December 2006. Summary of changes for version 20061215:
10253
102541) ACPI CA Core Subsystem:
10255
10256Support for 16-bit ACPICA has been completely removed since it is no
10257longer
10258necessary and it clutters the code. All 16-bit macros, types, and
10259conditional compiles have been removed, cleaning up and simplifying the
10260code
10261across the entire subsystem. DOS support is no longer needed since the
10262bootable Linux firmware kit is now available.
10263
10264The handler for the Global Lock is now removed during AcpiTerminate to
10265enable a clean subsystem restart, via the implementation of the
10266AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
10267HP)
10268
10269Implemented enhancements to the multithreading support within the
10270debugger
10271to enable improved multithreading debugging and evaluation of the
10272subsystem.
10273(Valery Podrezov)
10274
10275Debugger: Enhanced the Statistics/Memory command to emit the total
10276(maximum)
10277memory used during the execution, as well as the maximum memory consumed
10278by
10279each of the various object types. (Valery Podrezov)
10280
10281Example Code and Data Size: These are the sizes for the OS-independent
10282acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10283debug version of the code includes the debug output trace mechanism and
10284has
10285a much larger code and data size.
10286
10287  Previous Release:
10288    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
10289    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
10290  Current Release:
10291    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10292    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
10293
10294
102952) iASL Compiler/Disassembler and Tools:
10296
10297AcpiExec: Implemented a new option (-m) to display full memory use
10298statistics upon subsystem/program termination. (Valery Podrezov)
10299
10300----------------------------------------
1030109 November 2006. Summary of changes for version 20061109:
10302
103031) ACPI CA Core Subsystem:
10304
10305Optimized the Load ASL operator in the case where the source operand is
10306an
10307operation region. Simply map the operation region memory, instead of
10308performing a bytewise read. (Region must be of type SystemMemory, see
10309below.)
10310
10311Fixed the Load ASL operator for the case where the source operand is a
10312region field. A buffer object is also allowed as the source operand. BZ
10313480
10314
10315Fixed a problem where the Load ASL operator allowed the source operand to
10316be
10317an operation region of any type. It is now restricted to regions of type
10318SystemMemory, as per the ACPI specification. BZ 481
10319
10320Additional cleanup and optimizations for the new Table Manager code.
10321
10322AcpiEnable will now fail if all of the required ACPI tables are not
10323loaded
10324(FADT, FACS, DSDT). BZ 477
10325
10326Added #pragma pack(8/4) to acobject.h to ensure that the structures in
10327this
10328header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
10329manually optimized to be aligned and will not work if it is byte-packed.
10330
10331Example Code and Data Size: These are the sizes for the OS-independent
10332acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10333debug version of the code includes the debug output trace mechanism and
10334has
10335a much larger code and data size.
10336
10337  Previous Release:
10338    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
10339    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
10340  Current Release:
10341    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
10342    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
10343
10344
103452) iASL Compiler/Disassembler and Tools:
10346
10347Fixed a problem where the presence of the _OSI predefined control method
10348within complex expressions could cause an internal compiler error.
10349
10350AcpiExec: Implemented full region support for multiple address spaces.
10351SpaceId is now part of the REGION object. BZ 429
10352
10353----------------------------------------
1035411 October 2006. Summary of changes for version 20061011:
10355
103561) ACPI CA Core Subsystem:
10357
10358Completed an AML interpreter performance enhancement for control method
10359execution. Previously a 2-pass parse/execution, control methods are now
10360completely parsed and executed in a single pass. This improves overall
10361interpreter performance by ~25%, reduces code size, and reduces CPU stack
10362use. (Valery Podrezov + interpreter changes in version 20051202 that
10363eliminated namespace loading during the pass one parse.)
10364
10365Implemented _CID support for PCI Root Bridge detection. If the _HID does
10366not
10367match the predefined PCI Root Bridge IDs, the _CID list (if present) is
10368now
10369obtained and also checked for an ID match.
10370
10371Implemented additional support for the PCI _ADR execution: upsearch until
10372a
10373device scope is found before executing _ADR. This allows PCI_Config
10374operation regions to be declared locally within control methods
10375underneath
10376PCI device objects.
10377
10378Fixed a problem with a possible race condition between threads executing
10379AcpiWalkNamespace and the AML interpreter. This condition was removed by
10380modifying AcpiWalkNamespace to (by default) ignore all temporary
10381namespace
10382entries created during any concurrent control method execution. An
10383additional namespace race condition is known to exist between
10384AcpiWalkNamespace and the Load/Unload ASL operators and is still under
10385investigation.
10386
10387Restructured the AML ParseLoop function, breaking it into several
10388subfunctions in order to reduce CPU stack use and improve
10389maintainability.
10390(Mikhail Kouzmich)
10391
10392AcpiGetHandle: Fix for parameter validation to detect invalid
10393combinations
10394of prefix handle and pathname. BZ 478
10395
10396Example Code and Data Size: These are the sizes for the OS-independent
10397acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10398debug version of the code includes the debug output trace mechanism and
10399has
10400a much larger code and data size.
10401
10402  Previous Release:
10403    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10404    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
10405  Current Release:
10406    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
10407    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
10408
104092) iASL Compiler/Disassembler and Tools:
10410
10411Ported the -g option (get local ACPI tables) to the new ACPICA Table
10412Manager
10413to restore original behavior.
10414
10415----------------------------------------
1041627 September 2006. Summary of changes for version 20060927:
10417
104181) ACPI CA Core Subsystem:
10419
10420Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
10421These functions now use a spinlock for mutual exclusion and the interrupt
10422level indication flag is not needed.
10423
10424Fixed a problem with the Global Lock where the lock could appear to be
10425obtained before it is actually obtained. The global lock semaphore was
10426inadvertently created with one unit instead of zero units. (BZ 464)
10427Fiodor
10428Suietov.
10429
10430Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
10431during
10432a read from a buffer or region field. (BZ 458) Fiodor Suietov.
10433
10434Example Code and Data Size: These are the sizes for the OS-independent
10435acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10436debug version of the code includes the debug output trace mechanism and
10437has
10438a much larger code and data size.
10439
10440  Previous Release:
10441    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10442    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
10443  Current Release:
10444    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10445    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
10446
10447
104482) iASL Compiler/Disassembler and Tools:
10449
10450Fixed a compilation problem with the pre-defined Resource Descriptor
10451field
10452names where an "object does not exist" error could be incorrectly
10453generated
10454if the parent ResourceTemplate pathname places the template within a
10455different namespace scope than the current scope. (BZ 7212)
10456
10457Fixed a problem where the compiler could hang after syntax errors
10458detected
10459in an ElseIf construct. (BZ 453)
10460
10461Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
10462operator. An incorrect output filename was produced when this parameter
10463was
10464a null string (""). Now, the original input filename is used as the AML
10465output filename, with an ".aml" extension.
10466
10467Implemented a generic batch command mode for the AcpiExec utility
10468(execute
10469any AML debugger command) (Valery Podrezov).
10470
10471----------------------------------------
1047212 September 2006. Summary of changes for version 20060912:
10473
104741) ACPI CA Core Subsystem:
10475
10476Enhanced the implementation of the "serialized mode" of the interpreter
10477(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
10478specified, instead of creating a serialization semaphore per control
10479method,
10480the interpreter lock is simply no longer released before a blocking
10481operation during control method execution. This effectively makes the AML
10482Interpreter single-threaded. The overhead of a semaphore per-method is
10483eliminated.
10484
10485Fixed a regression where an error was no longer emitted if a control
10486method
10487attempts to create 2 objects of the same name. This once again returns
10488AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
10489that
10490will dynamically serialize the control method to possible prevent future
10491errors. (BZ 440)
10492
10493Integrated a fix for a problem with PCI Express HID detection in the PCI
10494Config Space setup procedure. (BZ 7145)
10495
10496Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
10497AcpiHwInitialize function - the FADT registers are now validated when the
10498table is loaded.
10499
10500Added two new warnings during FADT verification - 1) if the FADT is
10501larger
10502than the largest known FADT version, and 2) if there is a mismatch
10503between
10504a
1050532-bit block address and the 64-bit X counterpart (when both are non-
10506zero.)
10507
10508Example Code and Data Size: These are the sizes for the OS-independent
10509acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10510debug version of the code includes the debug output trace mechanism and
10511has
10512a much larger code and data size.
10513
10514  Previous Release:
10515    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10516    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10517  Current Release:
10518    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10519    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
10520
10521
105222) iASL Compiler/Disassembler and Tools:
10523
10524Fixed a problem with the implementation of the Switch() operator where
10525the
10526temporary variable was declared too close to the actual Switch, instead
10527of
10528at method level. This could cause a problem if the Switch() operator is
10529within a while loop, causing an error on the second iteration. (BZ 460)
10530
10531Disassembler - fix for error emitted for unknown type for target of scope
10532operator. Now, ignore it and continue.
10533
10534Disassembly of an FADT now verifies the input FADT and reports any errors
10535found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
10536
10537Disassembly of raw data buffers with byte initialization data now
10538prefixes
10539each output line with the current buffer offset.
10540
10541Disassembly of ASF! table now includes all variable-length data fields at
10542the end of some of the subtables.
10543
10544The disassembler now emits a comment if a buffer appears to be a
10545ResourceTemplate, but cannot be disassembled as such because the EndTag
10546does
10547not appear at the very end of the buffer.
10548
10549AcpiExec - Added the "-t" command line option to enable the serialized
10550mode
10551of the AML interpreter.
10552
10553----------------------------------------
1055431 August 2006. Summary of changes for version 20060831:
10555
105561) ACPI CA Core Subsystem:
10557
10558Miscellaneous fixes for the Table Manager:
10559- Correctly initialize internal common FADT for all 64-bit "X" fields
10560- Fixed a couple table mapping issues during table load
10561- Fixed a couple alignment issues for IA64
10562- Initialize input array to zero in AcpiInitializeTables
10563- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
10564AcpiGetTableByIndex
10565
10566Change for GPE support: when a "wake" GPE is received, all wake GPEs are
10567now
10568immediately disabled to prevent the waking GPE from firing again and to
10569prevent other wake GPEs from interrupting the wake process.
10570
10571Added the AcpiGpeCount global that tracks the number of processed GPEs,
10572to
10573be used for debugging systems with a large number of ACPI interrupts.
10574
10575Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
10576both the ACPICA headers and the disassembler.
10577
10578Example Code and Data Size: These are the sizes for the OS-independent
10579acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10580debug version of the code includes the debug output trace mechanism and
10581has
10582a much larger code and data size.
10583
10584  Previous Release:
10585    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10586    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10587  Current Release:
10588    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10589    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10590
10591
105922) iASL Compiler/Disassembler and Tools:
10593
10594Disassembler support for the DMAR ACPI table.
10595
10596----------------------------------------
1059723 August 2006. Summary of changes for version 20060823:
10598
105991) ACPI CA Core Subsystem:
10600
10601The Table Manager component has been completely redesigned and
10602reimplemented. The new design is much simpler, and reduces the overall
10603code
10604and data size of the kernel-resident ACPICA by approximately 5%. Also, it
10605is
10606now possible to obtain the ACPI tables very early during kernel
10607initialization, even before dynamic memory management is initialized.
10608(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
10609
10610Obsolete ACPICA interfaces:
10611
10612- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
10613init
10614time).
10615- AcpiLoadTable: Not needed.
10616- AcpiUnloadTable: Not needed.
10617
10618New ACPICA interfaces:
10619
10620- AcpiInitializeTables: Must be called before the table manager can be
10621used.
10622- AcpiReallocateRootTable: Used to transfer the root table to dynamically
10623allocated memory after it becomes available.
10624- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
10625tables
10626in the RSDT/XSDT.
10627
10628Other ACPICA changes:
10629
10630- AcpiGetTableHeader returns the actual mapped table header, not a copy.
10631Use
10632AcpiOsUnmapMemory to free this mapping.
10633- AcpiGetTable returns the actual mapped table. The mapping is managed
10634internally and must not be deleted by the caller. Use of this interface
10635causes no additional dynamic memory allocation.
10636- AcpiFindRootPointer: Support for physical addressing has been
10637eliminated,
10638it appeared to be unused.
10639- The interface to AcpiOsMapMemory has changed to be consistent with the
10640other allocation interfaces.
10641- The interface to AcpiOsGetRootPointer has changed to eliminate
10642unnecessary
10643parameters.
10644- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
1064564-
10646bit platforms. Was previously 64 bits on all platforms.
10647- The interface to the ACPI Global Lock acquire/release macros have
10648changed
10649slightly since ACPICA no longer keeps a local copy of the FACS with a
10650constructed pointer to the actual global lock.
10651
10652Porting to the new table manager:
10653
10654- AcpiInitializeTables: Must be called once, and can be called anytime
10655during the OS initialization process. It allows the host to specify an
10656area
10657of memory to be used to store the internal version of the RSDT/XSDT (root
10658table). This allows the host to access ACPI tables before memory
10659management
10660is initialized and running.
10661- AcpiReallocateRootTable: Can be called after memory management is
10662running
10663to copy the root table to a dynamically allocated array, freeing up the
10664scratch memory specified in the call to AcpiInitializeTables.
10665- AcpiSubsystemInitialize: This existing interface is independent of the
10666Table Manager, and does not have to be called before the Table Manager
10667can
10668be used, it only must be called before the rest of ACPICA can be used.
10669- ACPI Tables: Some changes have been made to the names and structure of
10670the
10671actbl.h and actbl1.h header files and may require changes to existing
10672code.
10673For example, bitfields have been completely removed because of their lack
10674of
10675portability across C compilers.
10676- Update interfaces to the Global Lock acquire/release macros if local
10677versions are used. (see acwin.h)
10678
10679Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
10680
10681New files: tbfind.c
10682
10683Example Code and Data Size: These are the sizes for the OS-independent
10684acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10685debug version of the code includes the debug output trace mechanism and
10686has
10687a much larger code and data size.
10688
10689  Previous Release:
10690    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10691    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10692  Current Release:
10693    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10694    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10695
10696
106972) iASL Compiler/Disassembler and Tools:
10698
10699No changes for this release.
10700
10701----------------------------------------
1070221 July 2006. Summary of changes for version 20060721:
10703
107041) ACPI CA Core Subsystem:
10705
10706The full source code for the ASL test suite used to validate the iASL
10707compiler and the ACPICA core subsystem is being released with the ACPICA
10708source for the first time. The source is contained in a separate package
10709and
10710consists of over 1100 files that exercise all ASL/AML operators. The
10711package
10712should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
10713Fiodor
10714Suietov)
10715
10716Completed a new design and implementation for support of the ACPI Global
10717Lock. On the OS side, the global lock is now treated as a standard AML
10718mutex. Previously, multiple OS threads could "acquire" the global lock
10719simultaneously. However, this could cause the BIOS to be starved out of
10720the
10721lock - especially in cases such as the Embedded Controller driver where
10722there is a tight coupling between the OS and the BIOS.
10723
10724Implemented an optimization for the ACPI Global Lock interrupt mechanism.
10725The Global Lock interrupt handler no longer queues the execution of a
10726separate thread to signal the global lock semaphore. Instead, the
10727semaphore
10728is signaled directly from the interrupt handler.
10729
10730Implemented support within the AML interpreter for package objects that
10731contain a larger AML length (package list length) than the package
10732element
10733count. In this case, the length of the package is truncated to match the
10734package element count. Some BIOS code apparently modifies the package
10735length
10736on the fly, and this change supports this behavior. Provides
10737compatibility
10738with the MS AML interpreter. (With assistance from Fiodor Suietov)
10739
10740Implemented a temporary fix for the BankValue parameter of a Bank Field
10741to
10742support all constant values, now including the Zero and One opcodes.
10743Evaluation of this parameter must eventually be converted to a full
10744TermArg
10745evaluation. A not-implemented error is now returned (temporarily) for
10746non-
10747constant values for this parameter.
10748
10749Fixed problem reports (Fiodor Suietov) integrated:
10750- Fix for premature object deletion after CopyObject on Operation Region
10751(BZ
10752350)
10753
10754Example Code and Data Size: These are the sizes for the OS-independent
10755acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10756debug version of the code includes the debug output trace mechanism and
10757has
10758a much larger code and data size.
10759
10760  Previous Release:
10761    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
10762    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
10763  Current Release:
10764    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10765    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10766
10767
107682) iASL Compiler/Disassembler and Tools:
10769
10770No changes for this release.
10771
10772----------------------------------------
1077307 July 2006. Summary of changes for version 20060707:
10774
107751) ACPI CA Core Subsystem:
10776
10777Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
10778that do not allow the initialization of address pointers within packed
10779structures - even though the hardware itself may support misaligned
10780transfers. Some of the debug data structures are packed by default to
10781minimize size.
10782
10783Added an error message for the case where AcpiOsGetThreadId() returns
10784zero.
10785A non-zero value is required by the core ACPICA code to ensure the proper
10786operation of AML mutexes and recursive control methods.
10787
10788The DSDT is now the only ACPI table that determines whether the AML
10789interpreter is in 32-bit or 64-bit mode. Not really a functional change,
10790but
10791the hooks for per-table 32/64 switching have been removed from the code.
10792A
10793clarification to the ACPI specification is forthcoming in ACPI 3.0B.
10794
10795Fixed a possible leak of an OwnerID in the error path of
10796AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
10797deletion to a single place in AcpiTbUninstallTable to correct possible
10798leaks
10799when using the AcpiTbDeleteTablesByType interface (with assistance from
10800Lance Ortiz.)
10801
10802Fixed a problem with Serialized control methods where the semaphore
10803associated with the method could be over-signaled after multiple method
10804invocations.
10805
10806Fixed two issues with the locking of the internal namespace data
10807structure.
10808Both the Unload() operator and AcpiUnloadTable interface now lock the
10809namespace during the namespace deletion associated with the table unload
10810(with assistance from Linn Crosetto.)
10811
10812Fixed problem reports (Valery Podrezov) integrated:
10813- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
10814
10815Fixed problem reports (Fiodor Suietov) integrated:
10816- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
10817- On Address Space handler deletion, needless deactivation call (BZ 374)
10818- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
10819375)
10820- Possible memory leak, Notify sub-objects of Processor, Power,
10821ThermalZone
10822(BZ 376)
10823- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
10824- Minimum Length of RSDT should be validated (BZ 379)
10825- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
10826Handler (BZ (380)
10827- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
10828loaded
10829(BZ 381)
10830
10831Example Code and Data Size: These are the sizes for the OS-independent
10832acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10833debug version of the code includes the debug output trace mechanism and
10834has
10835a much larger code and data size.
10836
10837  Previous Release:
10838    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10839    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10840  Current Release:
10841    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10842    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10843
10844
108452) iASL Compiler/Disassembler and Tools:
10846
10847Fixed problem reports:
10848Compiler segfault when ASL contains a long (>1024) String declaration (BZ
10849436)
10850
10851----------------------------------------
1085223 June 2006. Summary of changes for version 20060623:
10853
108541) ACPI CA Core Subsystem:
10855
10856Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
10857allows the type to be customized to the host OS for improved efficiency
10858(since a spinlock is usually a very small object.)
10859
10860Implemented support for "ignored" bits in the ACPI registers. According
10861to
10862the ACPI specification, these bits should be preserved when writing the
10863registers via a read/modify/write cycle. There are 3 bits preserved in
10864this
10865manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
10866
10867Implemented the initial deployment of new OSL mutex interfaces. Since
10868some
10869host operating systems have separate mutex and semaphore objects, this
10870feature was requested. The base code now uses mutexes (and the new mutex
10871interfaces) wherever a binary semaphore was used previously. However, for
10872the current release, the mutex interfaces are defined as macros to map
10873them
10874to the existing semaphore interfaces. Therefore, no OSL changes are
10875required
10876at this time. (See acpiosxf.h)
10877
10878Fixed several problems with the support for the control method SyncLevel
10879parameter. The SyncLevel now works according to the ACPI specification
10880and
10881in concert with the Mutex SyncLevel parameter, since the current
10882SyncLevel
10883is a property of the executing thread. Mutual exclusion for control
10884methods
10885is now implemented with a mutex instead of a semaphore.
10886
10887Fixed three instances of the use of the C shift operator in the bitfield
10888support code (exfldio.c) to avoid the use of a shift value larger than
10889the
10890target data width. The behavior of C compilers is undefined in this case
10891and
10892can cause unpredictable results, and therefore the case must be detected
10893and
10894avoided. (Fiodor Suietov)
10895
10896Added an info message whenever an SSDT or OEM table is loaded dynamically
10897via the Load() or LoadTable() ASL operators. This should improve
10898debugging
10899capability since it will show exactly what tables have been loaded
10900(beyond
10901the tables present in the RSDT/XSDT.)
10902
10903Example Code and Data Size: These are the sizes for the OS-independent
10904acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10905debug version of the code includes the debug output trace mechanism and
10906has
10907a much larger code and data size.
10908
10909  Previous Release:
10910    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10911    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10912  Current Release:
10913    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10914    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10915
10916
109172) iASL Compiler/Disassembler and Tools:
10918
10919No changes for this release.
10920
10921----------------------------------------
1092208 June 2006. Summary of changes for version 20060608:
10923
109241) ACPI CA Core Subsystem:
10925
10926Converted the locking mutex used for the ACPI hardware to a spinlock.
10927This
10928change should eliminate all problems caused by attempting to acquire a
10929semaphore at interrupt level, and it means that all ACPICA external
10930interfaces that directly access the ACPI hardware can be safely called
10931from
10932interrupt level. OSL code that implements the semaphore interfaces should
10933be
10934able to eliminate any workarounds for being called at interrupt level.
10935
10936Fixed a regression introduced in 20060526 where the ACPI device
10937initialization could be prematurely aborted with an AE_NOT_FOUND if a
10938device
10939did not have an optional _INI method.
10940
10941Fixed an IndexField issue where a write to the Data Register should be
10942limited in size to the AccessSize (width) of the IndexField itself. (BZ
10943433,
10944Fiodor Suietov)
10945
10946Fixed problem reports (Valery Podrezov) integrated:
10947- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
10948
10949Fixed problem reports (Fiodor Suietov) integrated:
10950- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
10951
10952Removed four global mutexes that were obsolete and were no longer being
10953used.
10954
10955Example Code and Data Size: These are the sizes for the OS-independent
10956acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10957debug version of the code includes the debug output trace mechanism and
10958has
10959a much larger code and data size.
10960
10961  Previous Release:
10962    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10963    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10964  Current Release:
10965    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10966    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10967
10968
109692) iASL Compiler/Disassembler and Tools:
10970
10971Fixed a fault when using -g option (get tables from registry) on Windows
10972machines.
10973
10974Fixed problem reports integrated:
10975- Generate error if CreateField NumBits parameter is zero. (BZ 405)
10976- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
10977Suietov)
10978- Global table revision override (-r) is ignored (BZ 413)
10979
10980----------------------------------------
1098126 May 2006. Summary of changes for version 20060526:
10982
109831) ACPI CA Core Subsystem:
10984
10985Restructured, flattened, and simplified the internal interfaces for
10986namespace object evaluation - resulting in smaller code, less CPU stack
10987use,
10988and fewer interfaces. (With assistance from Mikhail Kouzmich)
10989
10990Fixed a problem with the CopyObject operator where the first parameter
10991was
10992not typed correctly for the parser, interpreter, compiler, and
10993disassembler.
10994Caused various errors and unexpected behavior.
10995
10996Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
10997produced incorrect results with some C compilers. Since the behavior of C
10998compilers when the shift value is larger than the datatype width is
10999apparently not well defined, the interpreter now detects this condition
11000and
11001simply returns zero as expected in all such cases. (BZ 395)
11002
11003Fixed problem reports (Valery Podrezov) integrated:
11004- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
11005- Allow interpreter to handle nested method declarations (BZ 5361)
11006
11007Fixed problem reports (Fiodor Suietov) integrated:
11008- AcpiTerminate doesn't free debug memory allocation list objects (BZ
11009355)
11010- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
11011356)
11012- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
11013- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
11014- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
11015- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
11016- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
11017- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
11018- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
11019365)
11020- Status of the Global Initialization Handler call not used (BZ 366)
11021- Incorrect object parameter to Global Initialization Handler (BZ 367)
11022
11023Example Code and Data Size: These are the sizes for the OS-independent
11024acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11025debug version of the code includes the debug output trace mechanism and
11026has
11027a much larger code and data size.
11028
11029  Previous Release:
11030    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
11031    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
11032  Current Release:
11033    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
11034    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
11035
11036
110372) iASL Compiler/Disassembler and Tools:
11038
11039Modified the parser to allow the names IO, DMA, and IRQ to be used as
11040namespace identifiers with no collision with existing resource descriptor
11041macro names. This provides compatibility with other ASL compilers and is
11042most useful for disassembly/recompilation of existing tables without
11043parse
11044errors. (With assistance from Thomas Renninger)
11045
11046Disassembler: fixed an incorrect disassembly problem with the
11047DataTableRegion and CopyObject operators. Fixed a possible fault during
11048disassembly of some Alias operators.
11049
11050----------------------------------------
1105112 May 2006. Summary of changes for version 20060512:
11052
110531) ACPI CA Core Subsystem:
11054
11055Replaced the AcpiOsQueueForExecution interface with a new interface named
11056AcpiOsExecute. The major difference is that the new interface does not
11057have
11058a Priority parameter, this appeared to be useless and has been replaced
11059by
11060a
11061Type parameter. The Type tells the host what type of execution is being
11062requested, such as global lock handler, notify handler, GPE handler, etc.
11063This allows the host to queue and execute the request as appropriate for
11064the
11065request type, possibly using different work queues and different
11066priorities
11067for the various request types. This enables fixes for multithreading
11068deadlock problems such as BZ #5534, and will require changes to all
11069existing
11070OS interface layers. (Alexey Starikovskiy and Bob Moore)
11071
11072Fixed a possible memory leak associated with the support for the so-
11073called
11074"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
11075Suietov)
11076
11077Fixed a problem with the Load() operator where a table load from an
11078operation region could overwrite an internal table buffer by up to 7
11079bytes
11080and cause alignment faults on IPF systems. (With assistance from Luming
11081Yu)
11082
11083Example Code and Data Size: These are the sizes for the OS-independent
11084acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11085debug version of the code includes the debug output trace mechanism and
11086has
11087a much larger code and data size.
11088
11089  Previous Release:
11090    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
11091    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
11092  Current Release:
11093    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
11094    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
11095
11096
11097
110982) iASL Compiler/Disassembler and Tools:
11099
11100Disassembler: Implemented support to cross reference the internal
11101namespace
11102and automatically generate ASL External() statements for symbols not
11103defined
11104within the current table being disassembled. This will simplify the
11105disassembly and recompilation of interdependent tables such as SSDTs
11106since
11107these statements will no longer have to be added manually.
11108
11109Disassembler: Implemented experimental support to automatically detect
11110invocations of external control methods and generate appropriate
11111External()
11112statements. This is problematic because the AML cannot be correctly
11113parsed
11114until the number of arguments for each control method is known.
11115Currently,
11116standalone method invocations and invocations as the source operand of a
11117Store() statement are supported.
11118
11119Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
11120LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
11121LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
11122more readable and likely closer to the original ASL source.
11123
11124----------------------------------------
1112521 April 2006. Summary of changes for version 20060421:
11126
111271) ACPI CA Core Subsystem:
11128
11129Removed a device initialization optimization introduced in 20051216 where
11130the _STA method was not run unless an _INI was also present for the same
11131device. This optimization could cause problems because it could allow
11132_INI
11133methods to be run within a not-present device subtree. (If a not-present
11134device had no _INI, _STA would not be run, the not-present status would
11135not
11136be discovered, and the children of the device would be incorrectly
11137traversed.)
11138
11139Implemented a new _STA optimization where namespace subtrees that do not
11140contain _INI are identified and ignored during device initialization.
11141Selectively running _STA can significantly improve boot time on large
11142machines (with assistance from Len Brown.)
11143
11144Implemented support for the device initialization case where the returned
11145_STA flags indicate a device not-present but functioning. In this case,
11146_INI
11147is not run, but the device children are examined for presence, as per the
11148ACPI specification.
11149
11150Implemented an additional change to the IndexField support in order to
11151conform to MS behavior. The value written to the Index Register is not
11152simply a byte offset, it is a byte offset in units of the access width of
11153the parent Index Field. (Fiodor Suietov)
11154
11155Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
11156interface is called during the creation of all AML operation regions, and
11157allows the host OS to exert control over what addresses it will allow the
11158AML code to access. Operation Regions whose addresses are disallowed will
11159cause a runtime exception when they are actually accessed (will not
11160affect
11161or abort table loading.) See oswinxf or osunixxf for an example
11162implementation.
11163
11164Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
11165interface allows the host OS to match the various "optional"
11166interface/behavior strings for the _OSI predefined control method as
11167appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
11168for an example implementation.
11169
11170Restructured and corrected various problems in the exception handling
11171code
11172paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
11173(with assistance from Takayoshi Kochi.)
11174
11175Modified the Linux source converter to ignore quoted string literals
11176while
11177converting identifiers from mixed to lower case. This will correct
11178problems
11179with the disassembler and other areas where such strings must not be
11180modified.
11181
11182The ACPI_FUNCTION_* macros no longer require quotes around the function
11183name. This allows the Linux source converter to convert the names, now
11184that
11185the converter ignores quoted strings.
11186
11187Example Code and Data Size: These are the sizes for the OS-independent
11188acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11189debug version of the code includes the debug output trace mechanism and
11190has
11191a much larger code and data size.
11192
11193  Previous Release:
11194
11195    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
11196    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
11197  Current Release:
11198    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
11199    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
11200
11201
112022) iASL Compiler/Disassembler and Tools:
11203
11204Implemented 3 new warnings for iASL, and implemented multiple warning
11205levels
11206(w2 flag).
11207
112081) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
11209not
11210WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
11211check for the possible timeout, a warning is issued.
11212
112132) Useless operators: If an ASL operator does not specify an optional
11214target
11215operand and it also does not use the function return value from the
11216operator, a warning is issued since the operator effectively does
11217nothing.
11218
112193) Unreferenced objects: If a namespace object is created, but never
11220referenced, a warning is issued. This is a warning level 2 since there
11221are
11222cases where this is ok, such as when a secondary table is loaded that
11223uses
11224the unreferenced objects. Even so, care is taken to only flag objects
11225that
11226don't look like they will ever be used. For example, the reserved methods
11227(starting with an underscore) are usually not referenced because it is
11228expected that the OS will invoke them.
11229
11230----------------------------------------
1123131 March 2006. Summary of changes for version 20060331:
11232
112331) ACPI CA Core Subsystem:
11234
11235Implemented header file support for the following additional ACPI tables:
11236ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
11237support,
11238all current and known ACPI tables are now defined in the ACPICA headers
11239and
11240are available for use by device drivers and other software.
11241
11242Implemented support to allow tables that contain ACPI names with invalid
11243characters to be loaded. Previously, this would cause the table load to
11244fail, but since there are several known cases of such tables on existing
11245machines, this change was made to enable ACPI support for them. Also,
11246this
11247matches the behavior of the Microsoft ACPI implementation.
11248
11249Fixed a couple regressions introduced during the memory optimization in
11250the
1125120060317 release. The namespace node definition required additional
11252reorganization and an internal datatype that had been changed to 8-bit
11253was
11254restored to 32-bit. (Valery Podrezov)
11255
11256Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
11257could be passed through to AcpiOsReleaseObject which is unexpected. Such
11258null pointers are now trapped and ignored, matching the behavior of the
11259previous implementation before the deployment of AcpiOsReleaseObject.
11260(Valery Podrezov, Fiodor Suietov)
11261
11262Fixed a memory mapping leak during the deletion of a SystemMemory
11263operation
11264region where a cached memory mapping was not deleted. This became a
11265noticeable problem for operation regions that are defined within
11266frequently
11267used control methods. (Dana Meyers)
11268
11269Reorganized the ACPI table header files into two main files: one for the
11270ACPI tables consumed by the ACPICA core, and another for the
11271miscellaneous
11272ACPI tables that are consumed by the drivers and other software. The
11273various
11274FADT definitions were merged into one common section and three different
11275tables (ACPI 1.0, 1.0+, and 2.0)
11276
11277Example Code and Data Size: These are the sizes for the OS-independent
11278acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11279debug version of the code includes the debug output trace mechanism and
11280has
11281a much larger code and data size.
11282
11283  Previous Release:
11284    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
11285    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
11286  Current Release:
11287    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
11288    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
11289
11290
112912) iASL Compiler/Disassembler and Tools:
11292
11293Disassembler: Implemented support to decode and format all non-AML ACPI
11294tables (tables other than DSDTs and SSDTs.) This includes the new tables
11295added to the ACPICA headers, therefore all current and known ACPI tables
11296are
11297supported.
11298
11299Disassembler: The change to allow ACPI names with invalid characters also
11300enables the disassembly of such tables. Invalid characters within names
11301are
11302changed to '*' to make the name printable; the iASL compiler will still
11303generate an error for such names, however, since this is an invalid ACPI
11304character.
11305
11306Implemented an option for AcpiXtract (-a) to extract all tables found in
11307the
11308input file. The default invocation extracts only the DSDTs and SSDTs.
11309
11310Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
11311makefile for the AcpiXtract utility.
11312
11313----------------------------------------
1131417 March 2006. Summary of changes for version 20060317:
11315
113161) ACPI CA Core Subsystem:
11317
11318Implemented the use of a cache object for all internal namespace nodes.
11319Since there are about 1000 static nodes in a typical system, this will
11320decrease memory use for cache implementations that minimize per-
11321allocation
11322overhead (such as a slab allocator.)
11323
11324Removed the reference count mechanism for internal namespace nodes, since
11325it
11326was deemed unnecessary. This reduces the size of each namespace node by
11327about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
11328case,
11329and 32 bytes for the 64-bit case.
11330
11331Optimized several internal data structures to reduce object size on 64-
11332bit
11333platforms by packing data within the 64-bit alignment. This includes the
11334frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
11335instances corresponding to the namespace objects.
11336
11337Added two new strings for the predefined _OSI method: "Windows 2001.1
11338SP1"
11339and "Windows 2006".
11340
11341Split the allocation tracking mechanism out to a separate file, from
11342utalloc.c to uttrack.c. This mechanism appears to be only useful for
11343application-level code. Kernels may wish to not include uttrack.c in
11344distributions.
11345
11346Removed all remnants of the obsolete ACPI_REPORT_* macros and the
11347associated
11348code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
11349macros.)
11350
11351Code and Data Size: These are the sizes for the acpica.lib produced by
11352the
11353Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11354ACPI
11355driver or OSPM code. The debug version of the code includes the debug
11356output
11357trace mechanism and has a much larger code and data size. Note that these
11358values will vary depending on the efficiency of the compiler and the
11359compiler options used during generation.
11360
11361  Previous Release:
11362    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11363    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
11364  Current Release:
11365    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
11366    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
11367
11368
113692) iASL Compiler/Disassembler and Tools:
11370
11371Implemented an ANSI C version of the acpixtract utility. This version
11372will
11373automatically extract the DSDT and all SSDTs from the input acpidump text
11374file and dump the binary output to separate files. It can also display a
11375summary of the input file including the headers for each table found and
11376will extract any single ACPI table, with any signature. (See
11377source/tools/acpixtract)
11378
11379----------------------------------------
1138010 March 2006. Summary of changes for version 20060310:
11381
113821) ACPI CA Core Subsystem:
11383
11384Tagged all external interfaces to the subsystem with the new
11385ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
11386assist
11387kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
11388macro. The default definition is NULL.
11389
11390Added the ACPI_THREAD_ID type for the return value from
11391AcpiOsGetThreadId.
11392This allows the host to define this as necessary to simplify kernel
11393integration. The default definition is ACPI_NATIVE_UINT.
11394
11395Fixed two interpreter problems related to error processing, the deletion
11396of
11397objects, and placing invalid pointers onto the internal operator result
11398stack. BZ 6028, 6151 (Valery Podrezov)
11399
11400Increased the reference count threshold where a warning is emitted for
11401large
11402reference counts in order to eliminate unnecessary warnings on systems
11403with
11404large namespaces (especially 64-bit.) Increased the value from 0x400 to
114050x800.
11406
11407Due to universal disagreement as to the meaning of the 'c' in the
11408calloc()
11409function, the ACPI_MEM_CALLOCATE macro has been renamed to
11410ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
11411ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
11412ACPI_FREE.
11413
11414Code and Data Size: These are the sizes for the acpica.lib produced by
11415the
11416Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11417ACPI
11418driver or OSPM code. The debug version of the code includes the debug
11419output
11420trace mechanism and has a much larger code and data size. Note that these
11421values will vary depending on the efficiency of the compiler and the
11422compiler options used during generation.
11423
11424  Previous Release:
11425    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
11426    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
11427  Current Release:
11428    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11429    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
11430
11431
114322) iASL Compiler/Disassembler:
11433
11434Disassembler: implemented support for symbolic resource descriptor
11435references. If a CreateXxxxField operator references a fixed offset
11436within
11437a
11438resource descriptor, a name is assigned to the descriptor and the offset
11439is
11440translated to the appropriate resource tag and pathname. The addition of
11441this support brings the disassembled code very close to the original ASL
11442source code and helps eliminate run-time errors when the disassembled
11443code
11444is modified (and recompiled) in such a way as to invalidate the original
11445fixed offsets.
11446
11447Implemented support for a Descriptor Name as the last parameter to the
11448ASL
11449Register() macro. This parameter was inadvertently left out of the ACPI
11450specification, and will be added for ACPI 3.0b.
11451
11452Fixed a problem where the use of the "_OSI" string (versus the full path
11453"\_OSI") caused an internal compiler error. ("No back ptr to op")
11454
11455Fixed a problem with the error message that occurs when an invalid string
11456is
11457used for a _HID object (such as one with an embedded asterisk:
11458"*PNP010A".)
11459The correct message is now displayed.
11460
11461----------------------------------------
1146217 February 2006. Summary of changes for version 20060217:
11463
114641) ACPI CA Core Subsystem:
11465
11466Implemented a change to the IndexField support to match the behavior of
11467the
11468Microsoft AML interpreter. The value written to the Index register is now
11469a
11470byte offset, no longer an index based upon the width of the Data
11471register.
11472This should fix IndexField problems seen on some machines where the Data
11473register is not exactly one byte wide. The ACPI specification will be
11474clarified on this point.
11475
11476Fixed a problem where several resource descriptor types could overrun the
11477internal descriptor buffer due to size miscalculation: VendorShort,
11478VendorLong, and Interrupt. This was noticed on IA64 machines, but could
11479affect all platforms.
11480
11481Fixed a problem where individual resource descriptors were misaligned
11482within
11483the internal buffer, causing alignment faults on IA64 platforms.
11484
11485Code and Data Size: These are the sizes for the acpica.lib produced by
11486the
11487Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11488ACPI
11489driver or OSPM code. The debug version of the code includes the debug
11490output
11491trace mechanism and has a much larger code and data size. Note that these
11492values will vary depending on the efficiency of the compiler and the
11493compiler options used during generation.
11494
11495  Previous Release:
11496    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11497    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
11498  Current Release:
11499    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
11500    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
11501
11502
115032) iASL Compiler/Disassembler:
11504
11505Implemented support for new reserved names: _WDG and _WED are Microsoft
11506extensions for Windows Instrumentation Management, _TDL is a new ACPI-
11507defined method (Throttling Depth Limit.)
11508
11509Fixed a problem where a zero-length VendorShort or VendorLong resource
11510descriptor was incorrectly emitted as a descriptor of length one.
11511
11512----------------------------------------
1151310 February 2006. Summary of changes for version 20060210:
11514
115151) ACPI CA Core Subsystem:
11516
11517Removed a couple of extraneous ACPI_ERROR messages that appeared during
11518normal execution. These became apparent after the conversion from
11519ACPI_DEBUG_PRINT.
11520
11521Fixed a problem where the CreateField operator could hang if the BitIndex
11522or
11523NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
11524
11525Fixed a problem where a DeRefOf operation on a buffer object incorrectly
11526failed with an exception. This also fixes a couple of related RefOf and
11527DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
11528
11529Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
11530of
11531AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
11532BZ
115335480)
11534
11535Implemented a memory cleanup at the end of the execution of each
11536iteration
11537of an AML While() loop, preventing the accumulation of outstanding
11538objects.
11539(Valery Podrezov, BZ 5427)
11540
11541Eliminated a chunk of duplicate code in the object resolution code.
11542(Valery
11543Podrezov, BZ 5336)
11544
11545Fixed several warnings during the 64-bit code generation.
11546
11547The AcpiSrc source code conversion tool now inserts one line of
11548whitespace
11549after an if() statement that is followed immediately by a comment,
11550improving
11551readability of the Linux code.
11552
11553Code and Data Size: The current and previous library sizes for the core
11554subsystem are shown below. These are the code and data sizes for the
11555acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11556These
11557values do not include any ACPI driver or OSPM code. The debug version of
11558the
11559code includes the debug output trace mechanism and has a much larger code
11560and data size. Note that these values will vary depending on the
11561efficiency
11562of the compiler and the compiler options used during generation.
11563
11564  Previous Release:
11565    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11566    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11567  Current Release:
11568    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11569    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
11570
11571
115722) iASL Compiler/Disassembler:
11573
11574Fixed a problem with the disassembly of a BankField operator with a
11575complex
11576expression for the BankValue parameter.
11577
11578----------------------------------------
1157927 January 2006. Summary of changes for version 20060127:
11580
115811) ACPI CA Core Subsystem:
11582
11583Implemented support in the Resource Manager to allow unresolved
11584namestring
11585references within resource package objects for the _PRT method. This
11586support
11587is in addition to the previously implemented unresolved reference support
11588within the AML parser. If the interpreter slack mode is enabled, these
11589unresolved references will be passed through to the caller as a NULL
11590package
11591entry.
11592
11593Implemented and deployed new macros and functions for error and warning
11594messages across the subsystem. These macros are simpler and generate less
11595code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
11596ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
11597macros remain defined to allow ACPI drivers time to migrate to the new
11598macros.
11599
11600Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
11601the
11602Acquire/Release Lock OSL interfaces.
11603
11604Fixed a problem where Alias ASL operators are sometimes not correctly
11605resolved, in both the interpreter and the iASL compiler.
11606
11607Fixed several problems with the implementation of the
11608ConcatenateResTemplate
11609ASL operator. As per the ACPI specification, zero length buffers are now
11610treated as a single EndTag. One-length buffers always cause a fatal
11611exception. Non-zero length buffers that do not end with a full 2-byte
11612EndTag
11613cause a fatal exception.
11614
11615Fixed a possible structure overwrite in the AcpiGetObjectInfo external
11616interface. (With assistance from Thomas Renninger)
11617
11618Code and Data Size: The current and previous library sizes for the core
11619subsystem are shown below. These are the code and data sizes for the
11620acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11621These
11622values do not include any ACPI driver or OSPM code. The debug version of
11623the
11624code includes the debug output trace mechanism and has a much larger code
11625and data size. Note that these values will vary depending on the
11626efficiency
11627of the compiler and the compiler options used during generation.
11628
11629  Previous Release:
11630    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11631    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11632  Current Release:
11633    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11634    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11635
11636
116372) iASL Compiler/Disassembler:
11638
11639Fixed an internal error that was generated for any forward references to
11640ASL
11641Alias objects.
11642
11643----------------------------------------
1164413 January 2006. Summary of changes for version 20060113:
11645
116461) ACPI CA Core Subsystem:
11647
11648Added 2006 copyright to all module headers and signons. This affects
11649virtually every file in the ACPICA core subsystem, iASL compiler, and the
11650utilities.
11651
11652Enhanced the ACPICA error reporting in order to simplify user migration
11653to
11654the non-debug version of ACPICA. Replaced all instances of the
11655ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
11656debug
11657levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
11658respectively. This preserves all error and warning messages in the non-
11659debug
11660version of the ACPICA code (this has been referred to as the "debug lite"
11661option.) Over 200 cases were converted to create a total of over 380
11662error/warning messages across the ACPICA code. This increases the code
11663and
11664data size of the default non-debug version of the code somewhat (about
1166513K),
11666but all error/warning reporting may be disabled if desired (and code
11667eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
11668configuration option. The size of the debug version of ACPICA remains
11669about
11670the same.
11671
11672Fixed a memory leak within the AML Debugger "Set" command. One object was
11673not properly deleted for every successful invocation of the command.
11674
11675Code and Data Size: The current and previous library sizes for the core
11676subsystem are shown below. These are the code and data sizes for the
11677acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11678These
11679values do not include any ACPI driver or OSPM code. The debug version of
11680the
11681code includes the debug output trace mechanism and has a much larger code
11682and data size. Note that these values will vary depending on the
11683efficiency
11684of the compiler and the compiler options used during generation.
11685
11686  Previous Release:
11687    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11688    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11689  Current Release:
11690    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11691    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11692
11693
116942) iASL Compiler/Disassembler:
11695
11696The compiler now officially supports the ACPI 3.0a specification that was
11697released on December 30, 2005. (Specification is available at
11698www.acpi.info)
11699
11700----------------------------------------
1170116 December 2005. Summary of changes for version 20051216:
11702
117031) ACPI CA Core Subsystem:
11704
11705Implemented optional support to allow unresolved names within ASL Package
11706objects. A null object is inserted in the package when a named reference
11707cannot be located in the current namespace. Enabled via the interpreter
11708slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
11709machines
11710that contain such code.
11711
11712Implemented an optimization to the initialization sequence that can
11713improve
11714boot time. During ACPI device initialization, the _STA method is now run
11715if
11716and only if the _INI method exists. The _STA method is used to determine
11717if
11718the device is present; An _INI can only be run if _STA returns present,
11719but
11720it is a waste of time to run the _STA method if the _INI does not exist.
11721(Prototype and assistance from Dong Wei)
11722
11723Implemented use of the C99 uintptr_t for the pointer casting macros if it
11724is
11725available in the current compiler. Otherwise, the default (void *) cast
11726is
11727used as before.
11728
11729Fixed some possible memory leaks found within the execution path of the
11730Break, Continue, If, and CreateField operators. (Valery Podrezov)
11731
11732Fixed a problem introduced in the 20051202 release where an exception is
11733generated during method execution if a control method attempts to declare
11734another method.
11735
11736Moved resource descriptor string constants that are used by both the AML
11737disassembler and AML debugger to the common utilities directory so that
11738these components are independent.
11739
11740Implemented support in the AcpiExec utility (-e switch) to globally
11741ignore
11742exceptions during control method execution (method is not aborted.)
11743
11744Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
11745generation.
11746
11747Code and Data Size: The current and previous library sizes for the core
11748subsystem are shown below. These are the code and data sizes for the
11749acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11750These
11751values do not include any ACPI driver or OSPM code. The debug version of
11752the
11753code includes the debug output trace mechanism and has a much larger code
11754and data size. Note that these values will vary depending on the
11755efficiency
11756of the compiler and the compiler options used during generation.
11757
11758  Previous Release:
11759    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11760    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11761  Current Release:
11762    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11763    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11764
11765
117662) iASL Compiler/Disassembler:
11767
11768Fixed a problem where a CPU stack overflow fault could occur if a
11769recursive
11770method call was made from within a Return statement.
11771
11772----------------------------------------
1177302 December 2005. Summary of changes for version 20051202:
11774
117751) ACPI CA Core Subsystem:
11776
11777Modified the parsing of control methods to no longer create namespace
11778objects during the first pass of the parse. Objects are now created only
11779during the execute phase, at the moment the namespace creation operator
11780is
11781encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
11782This
11783should eliminate ALREADY_EXISTS exceptions seen on some machines where
11784reentrant control methods are protected by an AML mutex. The mutex will
11785now
11786correctly block multiple threads from attempting to create the same
11787object
11788more than once.
11789
11790Increased the number of available Owner Ids for namespace object tracking
11791from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
11792on
11793some machines with a large number of ACPI tables (either static or
11794dynamic).
11795
11796Fixed a problem with the AcpiExec utility where a fault could occur when
11797the
11798-b switch (batch mode) is used.
11799
11800Enhanced the namespace dump routine to output the owner ID for each
11801namespace object.
11802
11803Code and Data Size: The current and previous library sizes for the core
11804subsystem are shown below. These are the code and data sizes for the
11805acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11806These
11807values do not include any ACPI driver or OSPM code. The debug version of
11808the
11809code includes the debug output trace mechanism and has a much larger code
11810and data size. Note that these values will vary depending on the
11811efficiency
11812of the compiler and the compiler options used during generation.
11813
11814  Previous Release:
11815    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11816    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11817  Current Release:
11818    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11819    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11820
11821
118222) iASL Compiler/Disassembler:
11823
11824Fixed a parse error during compilation of certain Switch/Case constructs.
11825To
11826simplify the parse, the grammar now allows for multiple Default
11827statements
11828and this error is now detected and flagged during the analysis phase.
11829
11830Disassembler: The disassembly now includes the contents of the original
11831table header within a comment at the start of the file. This includes the
11832name and version of the original ASL compiler.
11833
11834----------------------------------------
1183517 November 2005. Summary of changes for version 20051117:
11836
118371) ACPI CA Core Subsystem:
11838
11839Fixed a problem in the AML parser where the method thread count could be
11840decremented below zero if any errors occurred during the method parse
11841phase.
11842This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
11843machines.
11844This also fixed a related regression with the mechanism that detects and
11845corrects methods that cannot properly handle reentrancy (related to the
11846deployment of the new OwnerId mechanism.)
11847
11848Eliminated the pre-parsing of control methods (to detect errors) during
11849table load. Related to the problem above, this was causing unwind issues
11850if
11851any errors occurred during the parse, and it seemed to be overkill. A
11852table
11853load should not be aborted if there are problems with any single control
11854method, thus rendering this feature rather pointless.
11855
11856Fixed a problem with the new table-driven resource manager where an
11857internal
11858buffer overflow could occur for small resource templates.
11859
11860Implemented a new external interface, AcpiGetVendorResource. This
11861interface
11862will find and return a vendor-defined resource descriptor within a _CRS
11863or
11864_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
11865Helgaas.
11866
11867Removed the length limit (200) on string objects as per the upcoming ACPI
118683.0A specification. This affects the following areas of the interpreter:
118691)
11870any implicit conversion of a Buffer to a String, 2) a String object
11871result
11872of the ASL Concatenate operator, 3) the String object result of the ASL
11873ToString operator.
11874
11875Fixed a problem in the Windows OS interface layer (OSL) where a
11876WAIT_FOREVER
11877on a semaphore object would incorrectly timeout. This allows the
11878multithreading features of the AcpiExec utility to work properly under
11879Windows.
11880
11881Updated the Linux makefiles for the iASL compiler and AcpiExec to include
11882the recently added file named "utresrc.c".
11883
11884Code and Data Size: The current and previous library sizes for the core
11885subsystem are shown below. These are the code and data sizes for the
11886acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11887These
11888values do not include any ACPI driver or OSPM code. The debug version of
11889the
11890code includes the debug output trace mechanism and has a much larger code
11891and data size. Note that these values will vary depending on the
11892efficiency
11893of the compiler and the compiler options used during generation.
11894
11895  Previous Release:
11896    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11897    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11898  Current Release:
11899    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11900    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11901
11902
119032) iASL Compiler/Disassembler:
11904
11905Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
11906specification. For the iASL compiler, this means that string literals
11907within
11908the source ASL can be of any length.
11909
11910Enhanced the listing output to dump the AML code for resource descriptors
11911immediately after the ASL code for each descriptor, instead of in a block
11912at
11913the end of the entire resource template.
11914
11915Enhanced the compiler debug output to dump the entire original parse tree
11916constructed during the parse phase, before any transforms are applied to
11917the
11918tree. The transformed tree is dumped also.
11919
11920----------------------------------------
1192102 November 2005. Summary of changes for version 20051102:
11922
119231) ACPI CA Core Subsystem:
11924
11925Modified the subsystem initialization sequence to improve GPE support.
11926The
11927GPE initialization has been split into two parts in order to defer
11928execution
11929of the _PRW methods (Power Resources for Wake) until after the hardware
11930is
11931fully initialized and the SCI handler is installed. This allows the _PRW
11932methods to access fields protected by the Global Lock. This will fix
11933systems
11934where a NO_GLOBAL_LOCK exception has been seen during initialization.
11935
11936Converted the ACPI internal object disassemble and display code within
11937the
11938AML debugger to fully table-driven operation, reducing code size and
11939increasing maintainability.
11940
11941Fixed a regression with the ConcatenateResTemplate() ASL operator
11942introduced
11943in the 20051021 release.
11944
11945Implemented support for "local" internal ACPI object types within the
11946debugger "Object" command and the AcpiWalkNamespace external interfaces.
11947These local types include RegionFields, BankFields, IndexFields, Alias,
11948and
11949reference objects.
11950
11951Moved common AML resource handling code into a new file, "utresrc.c".
11952This
11953code is shared by both the Resource Manager and the AML Debugger.
11954
11955Code and Data Size: The current and previous library sizes for the core
11956subsystem are shown below. These are the code and data sizes for the
11957acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11958These
11959values do not include any ACPI driver or OSPM code. The debug version of
11960the
11961code includes the debug output trace mechanism and has a much larger code
11962and data size. Note that these values will vary depending on the
11963efficiency
11964of the compiler and the compiler options used during generation.
11965
11966  Previous Release:
11967    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11968    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11969  Current Release:
11970    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11971    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11972
11973
119742) iASL Compiler/Disassembler:
11975
11976Fixed a problem with very large initializer lists (more than 4000
11977elements)
11978for both Buffer and Package objects where the parse stack could overflow.
11979
11980Enhanced the pre-compile source code scan for non-ASCII characters to
11981ignore
11982characters within comment fields. The scan is now always performed and is
11983no
11984longer optional, detecting invalid characters within a source file
11985immediately rather than during the parse phase or later.
11986
11987Enhanced the ASL grammar definition to force early reductions on all
11988list-
11989style grammar elements so that the overall parse stack usage is greatly
11990reduced. This should improve performance and reduce the possibility of
11991parse
11992stack overflow.
11993
11994Eliminated all reduce/reduce conflicts in the iASL parser generation.
11995Also,
11996with the addition of a %expected statement, the compiler generates from
11997source with no warnings.
11998
11999Fixed a possible segment fault in the disassembler if the input filename
12000does not contain a "dot" extension (Thomas Renninger).
12001
12002----------------------------------------
1200321 October 2005. Summary of changes for version 20051021:
12004
120051) ACPI CA Core Subsystem:
12006
12007Implemented support for the EM64T and other x86-64 processors. This
12008essentially entails recognizing that these processors support non-aligned
12009memory transfers. Previously, all 64-bit processors were assumed to lack
12010hardware support for non-aligned transfers.
12011
12012Completed conversion of the Resource Manager to nearly full table-driven
12013operation. Specifically, the resource conversion code (convert AML to
12014internal format and the reverse) and the debug code to dump internal
12015resource descriptors are fully table-driven, reducing code and data size
12016and
12017improving maintainability.
12018
12019The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
12020word
12021on 64-bit processors instead of a fixed 32-bit word. (With assistance
12022from
12023Alexey Starikovskiy)
12024
12025Implemented support within the resource conversion code for the Type-
12026Specific byte within the various ACPI 3.0 *WordSpace macros.
12027
12028Fixed some issues within the resource conversion code for the type-
12029specific
12030flags for both Memory and I/O address resource descriptors. For Memory,
12031implemented support for the MTP and TTP flags. For I/O, split the TRS and
12032TTP flags into two separate fields.
12033
12034Code and Data Size: The current and previous library sizes for the core
12035subsystem are shown below. These are the code and data sizes for the
12036acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12037These
12038values do not include any ACPI driver or OSPM code. The debug version of
12039the
12040code includes the debug output trace mechanism and has a much larger code
12041and data size. Note that these values will vary depending on the
12042efficiency
12043of the compiler and the compiler options used during generation.
12044
12045  Previous Release:
12046    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
12047    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
12048  Current Release:
12049    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
12050    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
12051
12052
12053
120542) iASL Compiler/Disassembler:
12055
12056Relaxed a compiler restriction that disallowed a ResourceIndex byte if
12057the
12058corresponding ResourceSource string was not also present in a resource
12059descriptor declaration. This restriction caused problems with existing
12060AML/ASL code that includes the Index byte without the string. When such
12061AML
12062was disassembled, it could not be compiled without modification. Further,
12063the modified code created a resource template with a different size than
12064the
12065original, breaking code that used fixed offsets into the resource
12066template
12067buffer.
12068
12069Removed a recent feature of the disassembler to ignore a lone
12070ResourceIndex
12071byte. This byte is now emitted if present so that the exact AML can be
12072reproduced when the disassembled code is recompiled.
12073
12074Improved comments and text alignment for the resource descriptor code
12075emitted by the disassembler.
12076
12077Implemented disassembler support for the ACPI 3.0 AccessSize field within
12078a
12079Register() resource descriptor.
12080
12081----------------------------------------
1208230 September 2005. Summary of changes for version 20050930:
12083
120841) ACPI CA Core Subsystem:
12085
12086Completed a major overhaul of the Resource Manager code - specifically,
12087optimizations in the area of the AML/internal resource conversion code.
12088The
12089code has been optimized to simplify and eliminate duplicated code, CPU
12090stack
12091use has been decreased by optimizing function parameters and local
12092variables, and naming conventions across the manager have been
12093standardized
12094for clarity and ease of maintenance (this includes function, parameter,
12095variable, and struct/typedef names.) The update may force changes in some
12096driver code, depending on how resources are handled by the host OS.
12097
12098All Resource Manager dispatch and information tables have been moved to a
12099single location for clarity and ease of maintenance. One new file was
12100created, named "rsinfo.c".
12101
12102The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
12103guarantee that the argument is not evaluated twice, making them less
12104prone
12105to macro side-effects. However, since there exists the possibility of
12106additional stack use if a particular compiler cannot optimize them (such
12107as
12108in the debug generation case), the original macros are optionally
12109available.
12110Note that some invocations of the return_VALUE macro may now cause size
12111mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
12112to
12113eliminate these. (From Randy Dunlap)
12114
12115Implemented a new mechanism to enable debug tracing for individual
12116control
12117methods. A new external interface, AcpiDebugTrace, is provided to enable
12118this mechanism. The intent is to allow the host OS to easily enable and
12119disable tracing for problematic control methods. This interface can be
12120easily exposed to a user or debugger interface if desired. See the file
12121psxface.c for details.
12122
12123AcpiUtCallocate will now return a valid pointer if a length of zero is
12124specified - a length of one is used and a warning is issued. This matches
12125the behavior of AcpiUtAllocate.
12126
12127Code and Data Size: The current and previous library sizes for the core
12128subsystem are shown below. These are the code and data sizes for the
12129acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12130These
12131values do not include any ACPI driver or OSPM code. The debug version of
12132the
12133code includes the debug output trace mechanism and has a much larger code
12134and data size. Note that these values will vary depending on the
12135efficiency
12136of the compiler and the compiler options used during generation.
12137
12138  Previous Release:
12139    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
12140    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
12141  Current Release:
12142    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
12143    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
12144
12145
121462) iASL Compiler/Disassembler:
12147
12148A remark is issued if the effective compile-time length of a package or
12149buffer is zero. Previously, this was a warning.
12150
12151----------------------------------------
1215216 September 2005. Summary of changes for version 20050916:
12153
121541) ACPI CA Core Subsystem:
12155
12156Fixed a problem within the Resource Manager where support for the Generic
12157Register descriptor was not fully implemented. This descriptor is now
12158fully
12159recognized, parsed, disassembled, and displayed.
12160
12161Completely restructured the Resource Manager code to utilize table-driven
12162dispatch and lookup, eliminating many of the large switch() statements.
12163This
12164reduces overall subsystem code size and code complexity. Affects the
12165resource parsing and construction, disassembly, and debug dump output.
12166
12167Cleaned up and restructured the debug dump output for all resource
12168descriptors. Improved readability of the output and reduced code size.
12169
12170Fixed a problem where changes to internal data structures caused the
12171optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
12172
12173Code and Data Size: The current and previous library sizes for the core
12174subsystem are shown below. These are the code and data sizes for the
12175acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12176These
12177values do not include any ACPI driver or OSPM code. The debug version of
12178the
12179code includes the debug output trace mechanism and has a much larger code
12180and data size. Note that these values will vary depending on the
12181efficiency
12182of the compiler and the compiler options used during generation.
12183
12184  Previous Release:
12185    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
12186    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
12187  Current Release:
12188    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
12189    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
12190
12191
121922) iASL Compiler/Disassembler:
12193
12194Updated the disassembler to automatically insert an EndDependentFn()
12195macro
12196into the ASL stream if this macro is missing in the original AML code,
12197simplifying compilation of the resulting ASL module.
12198
12199Fixed a problem in the disassembler where a disassembled ResourceSource
12200string (within a large resource descriptor) was not surrounded by quotes
12201and
12202not followed by a comma, causing errors when the resulting ASL module was
12203compiled. Also, escape sequences within a ResourceSource string are now
12204handled correctly (especially "\\")
12205
12206----------------------------------------
1220702 September 2005. Summary of changes for version 20050902:
12208
122091) ACPI CA Core Subsystem:
12210
12211Fixed a problem with the internal Owner ID allocation and deallocation
12212mechanisms for control method execution and recursive method invocation.
12213This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
12214messages seen on some systems. Recursive method invocation depth is
12215currently limited to 255. (Alexey Starikovskiy)
12216
12217Completely eliminated all vestiges of support for the "module-level
12218executable code" until this support is fully implemented and debugged.
12219This
12220should eliminate the NO_RETURN_VALUE exceptions seen during table load on
12221some systems that invoke this support.
12222
12223Fixed a problem within the resource manager code where the transaction
12224flags
12225for a 64-bit address descriptor were handled incorrectly in the type-
12226specific flag byte.
12227
12228Consolidated duplicate code within the address descriptor resource
12229manager
12230code, reducing overall subsystem code size.
12231
12232Fixed a fault when using the AML debugger "disassemble" command to
12233disassemble individual control methods.
12234
12235Removed references to the "release_current" directory within the Unix
12236release package.
12237
12238Code and Data Size: The current and previous core subsystem library sizes
12239are shown below. These are the code and data sizes for the acpica.lib
12240produced by the Microsoft Visual C++ 6.0 compiler. These values do not
12241include any ACPI driver or OSPM code. The debug version of the code
12242includes
12243the debug output trace mechanism and has a much larger code and data
12244size.
12245Note that these values will vary depending on the efficiency of the
12246compiler
12247and the compiler options used during generation.
12248
12249  Previous Release:
12250    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
12251    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
12252  Current Release:
12253    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
12254    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
12255
12256
122572) iASL Compiler/Disassembler:
12258
12259Implemented an error check for illegal duplicate values in the interrupt
12260and
12261dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
12262Interrupt().
12263
12264Implemented error checking for the Irq() and IrqNoFlags() macros to
12265detect
12266too many values in the interrupt list (16 max) and invalid values in the
12267list (range 0 - 15)
12268
12269The maximum length string literal within an ASL file is now restricted to
12270200 characters as per the ACPI specification.
12271
12272Fixed a fault when using the -ln option (generate namespace listing).
12273
12274Implemented an error check to determine if a DescriptorName within a
12275resource descriptor has already been used within the current scope.
12276
12277----------------------------------------
1227815 August 2005.  Summary of changes for version 20050815:
12279
122801) ACPI CA Core Subsystem:
12281
12282Implemented a full bytewise compare to determine if a table load request
12283is
12284attempting to load a duplicate table. The compare is performed if the
12285table
12286signatures and table lengths match. This will allow different tables with
12287the same OEM Table ID and revision to be loaded - probably against the
12288ACPI
12289specification, but discovered in the field nonetheless.
12290
12291Added the changes.txt logfile to each of the zipped release packages.
12292
12293Code and Data Size: Current and previous core subsystem library sizes are
12294shown below. These are the code and data sizes for the acpica.lib
12295produced
12296by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12297any ACPI driver or OSPM code. The debug version of the code includes the
12298debug output trace mechanism and has a much larger code and data size.
12299Note
12300that these values will vary depending on the efficiency of the compiler
12301and
12302the compiler options used during generation.
12303
12304  Previous Release:
12305    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
12306    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
12307  Current Release:
12308    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
12309    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
12310
12311
123122) iASL Compiler/Disassembler:
12313
12314Fixed a problem where incorrect AML code could be generated for Package
12315objects if optimization is disabled (via the -oa switch).
12316
12317Fixed a problem with where incorrect AML code is generated for variable-
12318length packages when the package length is not specified and the number
12319of
12320initializer values is greater than 255.
12321
12322
12323----------------------------------------
1232429 July 2005.  Summary of changes for version 20050729:
12325
123261) ACPI CA Core Subsystem:
12327
12328Implemented support to ignore an attempt to install/load a particular
12329ACPI
12330table more than once. Apparently there exists BIOS code that repeatedly
12331attempts to load the same SSDT upon certain events. With assistance from
12332Venkatesh Pallipadi.
12333
12334Restructured the main interface to the AML parser in order to correctly
12335handle all exceptional conditions. This will prevent leakage of the
12336OwnerId
12337resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
12338some
12339machines. With assistance from Alexey Starikovskiy.
12340
12341Support for "module level code" has been disabled in this version due to
12342a
12343number of issues that have appeared on various machines. The support can
12344be
12345enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
12346compilation. When the issues are fully resolved, the code will be enabled
12347by
12348default again.
12349
12350Modified the internal functions for debug print support to define the
12351FunctionName parameter as a (const char *) for compatibility with
12352compiler
12353built-in macros such as __FUNCTION__, etc.
12354
12355Linted the entire ACPICA source tree for both 32-bit and 64-bit.
12356
12357Implemented support to display an object count summary for the AML
12358Debugger
12359commands Object and Methods.
12360
12361Code and Data Size: Current and previous core subsystem library sizes are
12362shown below. These are the code and data sizes for the acpica.lib
12363produced
12364by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12365any ACPI driver or OSPM code. The debug version of the code includes the
12366debug output trace mechanism and has a much larger code and data size.
12367Note
12368that these values will vary depending on the efficiency of the compiler
12369and
12370the compiler options used during generation.
12371
12372  Previous Release:
12373    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
12374    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
12375  Current Release:
12376    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
12377    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
12378
12379
123802) iASL Compiler/Disassembler:
12381
12382Fixed a regression that appeared in the 20050708 version of the compiler
12383where an error message was inadvertently emitted for invocations of the
12384_OSI
12385reserved control method.
12386
12387----------------------------------------
1238808 July 2005.  Summary of changes for version 20050708:
12389
123901) ACPI CA Core Subsystem:
12391
12392The use of the CPU stack in the debug version of the subsystem has been
12393considerably reduced. Previously, a debug structure was declared in every
12394function that used the debug macros. This structure has been removed in
12395favor of declaring the individual elements as parameters to the debug
12396functions. This reduces the cumulative stack use during nested execution
12397of
12398ACPI function calls at the cost of a small increase in the code size of
12399the
12400debug version of the subsystem. With assistance from Alexey Starikovskiy
12401and
12402Len Brown.
12403
12404Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
12405headers to define a macro that will return the current function name at
12406runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
12407by
12408the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
12409compiler-dependent header, the function name is saved on the CPU stack
12410(one
12411pointer per function.) This mechanism is used because apparently there
12412exists no standard ANSI-C defined macro that that returns the function
12413name.
12414
12415Redesigned and reimplemented the "Owner ID" mechanism used to track
12416namespace objects created/deleted by ACPI tables and control method
12417execution. A bitmap is now used to allocate and free the IDs, thus
12418solving
12419the wraparound problem present in the previous implementation. The size
12420of
12421the namespace node descriptor was reduced by 2 bytes as a result (Alexey
12422Starikovskiy).
12423
12424Removed the UINT32_BIT and UINT16_BIT types that were used for the
12425bitfield
12426flag definitions within the headers for the predefined ACPI tables. These
12427have been replaced by UINT8_BIT in order to increase the code portability
12428of
12429the subsystem. If the use of UINT8 remains a problem, we may be forced to
12430eliminate bitfields entirely because of a lack of portability.
12431
12432Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
12433This
12434is a frequently used function and this improvement increases the
12435performance
12436of the entire subsystem (Alexey Starikovskiy).
12437
12438Fixed several possible memory leaks and the inverse - premature object
12439deletion (Alexey Starikovskiy).
12440
12441Code and Data Size: Current and previous core subsystem library sizes are
12442shown below. These are the code and data sizes for the acpica.lib
12443produced
12444by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12445any ACPI driver or OSPM code. The debug version of the code includes the
12446debug output trace mechanism and has a much larger code and data size.
12447Note
12448that these values will vary depending on the efficiency of the compiler
12449and
12450the compiler options used during generation.
12451
12452  Previous Release:
12453    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
12454    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
12455  Current Release:
12456    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
12457    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
12458
12459----------------------------------------
1246024 June 2005.  Summary of changes for version 20050624:
12461
124621) ACPI CA Core Subsystem:
12463
12464Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
12465the host-defined cache object. This allows the OSL implementation to
12466define
12467and type this object in any manner desired, simplifying the OSL
12468implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
12469Linux, and should be defined in the OS-specific header file for other
12470operating systems as required.
12471
12472Changed the interface to AcpiOsAcquireObject to directly return the
12473requested object as the function return (instead of ACPI_STATUS.) This
12474change was made for performance reasons, since this is the purpose of the
12475interface in the first place. AcpiOsAcquireObject is now similar to the
12476AcpiOsAllocate interface.
12477
12478Implemented a new AML debugger command named Businfo. This command
12479displays
12480information about all devices that have an associate _PRT object. The
12481_ADR,
12482_HID, _UID, and _CID are displayed for these devices.
12483
12484Modified the initialization sequence in AcpiInitializeSubsystem to call
12485the
12486OSL interface AcpiOslInitialize first, before any local initialization.
12487This
12488change was required because the global initialization now calls OSL
12489interfaces.
12490
12491Enhanced the Dump command to display the entire contents of Package
12492objects
12493(including all sub-objects and their values.)
12494
12495Restructured the code base to split some files because of size and/or
12496because the code logically belonged in a separate file. New files are
12497listed
12498below. All makefiles and project files included in the ACPI CA release
12499have
12500been updated.
12501    utilities/utcache.c           /* Local cache interfaces */
12502    utilities/utmutex.c           /* Local mutex support */
12503    utilities/utstate.c           /* State object support */
12504    interpreter/parser/psloop.c   /* Main AML parse loop */
12505
12506Code and Data Size: Current and previous core subsystem library sizes are
12507shown below. These are the code and data sizes for the acpica.lib
12508produced
12509by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12510any ACPI driver or OSPM code. The debug version of the code includes the
12511debug output trace mechanism and has a much larger code and data size.
12512Note
12513that these values will vary depending on the efficiency of the compiler
12514and
12515the compiler options used during generation.
12516
12517  Previous Release:
12518    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12519    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12520  Current Release:
12521    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
12522    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
12523
12524
125252) iASL Compiler/Disassembler:
12526
12527Fixed a regression introduced in version 20050513 where the use of a
12528Package
12529object within a Case() statement caused a compile time exception. The
12530original behavior has been restored (a Match() operator is emitted.)
12531
12532----------------------------------------
1253317 June 2005.  Summary of changes for version 20050617:
12534
125351) ACPI CA Core Subsystem:
12536
12537Moved the object cache operations into the OS interface layer (OSL) to
12538allow
12539the host OS to handle these operations if desired (for example, the Linux
12540OSL will invoke the slab allocator). This support is optional; the
12541compile
12542time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
12543cache
12544code in the ACPI CA core. The new OSL interfaces are shown below. See
12545utalloc.c for an example implementation, and acpiosxf.h for the exact
12546interface definitions. With assistance from Alexey Starikovskiy.
12547    AcpiOsCreateCache
12548    AcpiOsDeleteCache
12549    AcpiOsPurgeCache
12550    AcpiOsAcquireObject
12551    AcpiOsReleaseObject
12552
12553Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
12554return
12555and restore a flags parameter. This fits better with many OS lock models.
12556Note: the current execution state (interrupt handler or not) is no longer
12557passed to these interfaces. If necessary, the OSL must determine this
12558state
12559by itself, a simple and fast operation. With assistance from Alexey
12560Starikovskiy.
12561
12562Fixed a problem in the ACPI table handling where a valid XSDT was assumed
12563present if the revision of the RSDP was 2 or greater. According to the
12564ACPI
12565specification, the XSDT is optional in all cases, and the table manager
12566therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
12567Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
12568contain
12569only the RSDT.
12570
12571Fixed an interpreter problem with the Mid() operator in the case of an
12572input
12573string where the resulting output string is of zero length. It now
12574correctly
12575returns a valid, null terminated string object instead of a string object
12576with a null pointer.
12577
12578Fixed a problem with the control method argument handling to allow a
12579store
12580to an Arg object that already contains an object of type Device. The
12581Device
12582object is now correctly overwritten. Previously, an error was returned.
12583
12584
12585Enhanced the debugger Find command to emit object values in addition to
12586the
12587found object pathnames. The output format is the same as the dump
12588namespace
12589command.
12590
12591Enhanced the debugger Set command. It now has the ability to set the
12592value
12593of any Named integer object in the namespace (Previously, only method
12594locals
12595and args could be set.)
12596
12597Code and Data Size: Current and previous core subsystem library sizes are
12598shown below. These are the code and data sizes for the acpica.lib
12599produced
12600by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12601any ACPI driver or OSPM code. The debug version of the code includes the
12602debug output trace mechanism and has a much larger code and data size.
12603Note
12604that these values will vary depending on the efficiency of the compiler
12605and
12606the compiler options used during generation.
12607
12608  Previous Release:
12609    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12610    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12611  Current Release:
12612    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12613    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12614
12615
126162) iASL Compiler/Disassembler:
12617
12618Fixed a regression in the disassembler where if/else/while constructs
12619were
12620output incorrectly. This problem was introduced in the previous release
12621(20050526). This problem also affected the single-step disassembly in the
12622debugger.
12623
12624Fixed a problem where compiling the reserved _OSI method would randomly
12625(but
12626rarely) produce compile errors.
12627
12628Enhanced the disassembler to emit compilable code in the face of
12629incorrect
12630AML resource descriptors. If the optional ResourceSourceIndex is present,
12631but the ResourceSource is not, do not emit the ResourceSourceIndex in the
12632disassembly. Otherwise, the resulting code cannot be compiled without
12633errors.
12634
12635----------------------------------------
1263626 May 2005.  Summary of changes for version 20050526:
12637
126381) ACPI CA Core Subsystem:
12639
12640Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
12641the module level (not within a control method.) These opcodes are
12642executed
12643exactly once at the time the table is loaded. This type of code was legal
12644up
12645until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
12646in
12647order to provide backwards compatibility with earlier BIOS
12648implementations.
12649This eliminates the "Encountered executable code at module level" warning
12650that was previously generated upon detection of such code.
12651
12652Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
12653inadvertently be generated during the lookup of namespace objects in the
12654second pass parse of ACPI tables and control methods. It appears that
12655this
12656problem could occur during the resolution of forward references to
12657namespace
12658objects.
12659
12660Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
12661corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
12662allows the deadlock detection debug code to be compiled out in the normal
12663case, improving mutex performance (and overall subsystem performance)
12664considerably.
12665
12666Implemented a handful of miscellaneous fixes for possible memory leaks on
12667error conditions and error handling control paths. These fixes were
12668suggested by FreeBSD and the Coverity Prevent source code analysis tool.
12669
12670Added a check for a null RSDT pointer in AcpiGetFirmwareTable
12671(tbxfroot.c)
12672to prevent a fault in this error case.
12673
12674Code and Data Size: Current and previous core subsystem library sizes are
12675shown below. These are the code and data sizes for the acpica.lib
12676produced
12677by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12678any ACPI driver or OSPM code. The debug version of the code includes the
12679debug output trace mechanism and has a much larger code and data size.
12680Note
12681that these values will vary depending on the efficiency of the compiler
12682and
12683the compiler options used during generation.
12684
12685  Previous Release:
12686    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12687    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12688  Current Release:
12689    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12690    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12691
12692
126932) iASL Compiler/Disassembler:
12694
12695Implemented support to allow Type 1 and Type 2 ASL operators to appear at
12696the module level (not within a control method.) These operators will be
12697executed once at the time the table is loaded. This type of code was
12698legal
12699up until the release of ACPI 2.0B (2002) and is now supported by the iASL
12700compiler in order to provide backwards compatibility with earlier BIOS
12701ASL
12702code.
12703
12704The ACPI integer width (specified via the table revision ID or the -r
12705override, 32 or 64 bits) is now used internally during compile-time
12706constant
12707folding to ensure that constants are truncated to 32 bits if necessary.
12708Previously, the revision ID value was only emitted in the AML table
12709header.
12710
12711An error message is now generated for the Mutex and Method operators if
12712the
12713SyncLevel parameter is outside the legal range of 0 through 15.
12714
12715Fixed a problem with the Method operator ParameterTypes list handling
12716(ACPI
127173.0). Previously, more than 2 types or 2 arguments generated a syntax
12718error.
12719The actual underlying implementation of method argument typechecking is
12720still under development, however.
12721
12722----------------------------------------
1272313 May 2005.  Summary of changes for version 20050513:
12724
127251) ACPI CA Core Subsystem:
12726
12727Implemented support for PCI Express root bridges -- added support for
12728device
12729PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
12730
12731The interpreter now automatically truncates incoming 64-bit constants to
1273232
12733bits if currently executing out of a 32-bit ACPI table (Revision < 2).
12734This
12735also affects the iASL compiler constant folding. (Note: as per below, the
12736iASL compiler no longer allows 64-bit constants within 32-bit tables.)
12737
12738Fixed a problem where string and buffer objects with "static" pointers
12739(pointers to initialization data within an ACPI table) were not handled
12740consistently. The internal object copy operation now always copies the
12741data
12742to a newly allocated buffer, regardless of whether the source object is
12743static or not.
12744
12745Fixed a problem with the FromBCD operator where an implicit result
12746conversion was improperly performed while storing the result to the
12747target
12748operand. Since this is an "explicit conversion" operator, the implicit
12749conversion should never be performed on the output.
12750
12751Fixed a problem with the CopyObject operator where a copy to an existing
12752named object did not always completely overwrite the existing object
12753stored
12754at name. Specifically, a buffer-to-buffer copy did not delete the
12755existing
12756buffer.
12757
12758Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
12759and
12760structs for consistency.
12761
12762Code and Data Size: Current and previous core subsystem library sizes are
12763shown below. These are the code and data sizes for the acpica.lib
12764produced
12765by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12766any ACPI driver or OSPM code. The debug version of the code includes the
12767debug output trace mechanism and has a much larger code and data size.
12768Note
12769that these values will vary depending on the efficiency of the compiler
12770and
12771the compiler options used during generation.
12772
12773  Previous Release:
12774    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12775    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12776  Current Release: (Same sizes)
12777    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12778    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12779
12780
127812) iASL Compiler/Disassembler:
12782
12783The compiler now emits a warning if an attempt is made to generate a 64-
12784bit
12785integer constant from within a 32-bit ACPI table (Revision < 2). The
12786integer
12787is truncated to 32 bits.
12788
12789Fixed a problem with large package objects: if the static length of the
12790package is greater than 255, the "variable length package" opcode is
12791emitted. Previously, this caused an error. This requires an update to the
12792ACPI spec, since it currently (incorrectly) states that packages larger
12793than
12794255 elements are not allowed.
12795
12796The disassembler now correctly handles variable length packages and
12797packages
12798larger than 255 elements.
12799
12800----------------------------------------
1280108 April 2005.  Summary of changes for version 20050408:
12802
128031) ACPI CA Core Subsystem:
12804
12805Fixed three cases in the interpreter where an "index" argument to an ASL
12806function was still (internally) 32 bits instead of the required 64 bits.
12807This was the Index argument to the Index, Mid, and Match operators.
12808
12809The "strupr" function is now permanently local (AcpiUtStrupr), since this
12810is
12811not a POSIX-defined function and not present in most kernel-level C
12812libraries. All references to the C library strupr function have been
12813removed
12814from the headers.
12815
12816Completed the deployment of static functions/prototypes. All prototypes
12817with
12818the static attribute have been moved from the headers to the owning C
12819file.
12820
12821Implemented an extract option (-e) for the AcpiBin utility (AML binary
12822utility). This option allows the utility to extract individual ACPI
12823tables
12824from the output of AcpiDmp. It provides the same functionality of the
12825acpixtract.pl perl script without the worry of setting the correct perl
12826options. AcpiBin runs on Windows and has not yet been generated/validated
12827in
12828the Linux/Unix environment (but should be soon).
12829
12830Updated and fixed the table dump option for AcpiBin (-d). This option
12831converts a single ACPI table to a hex/ascii file, similar to the output
12832of
12833AcpiDmp.
12834
12835Code and Data Size: Current and previous core subsystem library sizes are
12836shown below. These are the code and data sizes for the acpica.lib
12837produced
12838by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12839any ACPI driver or OSPM code. The debug version of the code includes the
12840debug output trace mechanism and has a much larger code and data size.
12841Note
12842that these values will vary depending on the efficiency of the compiler
12843and
12844the compiler options used during generation.
12845
12846  Previous Release:
12847    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12848    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12849  Current Release:
12850    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12851    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12852
12853
128542) iASL Compiler/Disassembler:
12855
12856Disassembler fix: Added a check to ensure that the table length found in
12857the
12858ACPI table header within the input file is not longer than the actual
12859input
12860file size. This indicates some kind of file or table corruption.
12861
12862----------------------------------------
1286329 March 2005.  Summary of changes for version 20050329:
12864
128651) ACPI CA Core Subsystem:
12866
12867An error is now generated if an attempt is made to create a Buffer Field
12868of
12869length zero (A CreateField with a length operand of zero.)
12870
12871The interpreter now issues a warning whenever executable code at the
12872module
12873level is detected during ACPI table load. This will give some idea of the
12874prevalence of this type of code.
12875
12876Implemented support for references to named objects (other than control
12877methods) within package objects.
12878
12879Enhanced package object output for the debug object. Package objects are
12880now
12881completely dumped, showing all elements.
12882
12883Enhanced miscellaneous object output for the debug object. Any object can
12884now be written to the debug object (for example, a device object can be
12885written, and the type of the object will be displayed.)
12886
12887The "static" qualifier has been added to all local functions across both
12888the
12889core subsystem and the iASL compiler.
12890
12891The number of "long" lines (> 80 chars) within the source has been
12892significantly reduced, by about 1/3.
12893
12894Cleaned up all header files to ensure that all CA/iASL functions are
12895prototyped (even static functions) and the formatting is consistent.
12896
12897Two new header files have been added, acopcode.h and acnames.h.
12898
12899Removed several obsolete functions that were no longer used.
12900
12901Code and Data Size: Current and previous core subsystem library sizes are
12902shown below. These are the code and data sizes for the acpica.lib
12903produced
12904by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12905any ACPI driver or OSPM code. The debug version of the code includes the
12906debug output trace mechanism and has a much larger code and data size.
12907Note
12908that these values will vary depending on the efficiency of the compiler
12909and
12910the compiler options used during generation.
12911
12912  Previous Release:
12913    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12914    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12915  Current Release:
12916    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12917    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12918
12919
12920
129212) iASL Compiler/Disassembler:
12922
12923Fixed a problem with the resource descriptor generation/support. For the
12924ResourceSourceIndex and the ResourceSource fields, both must be present,
12925or
12926both must be not present - can't have one without the other.
12927
12928The compiler now returns non-zero from the main procedure if any errors
12929have
12930occurred during the compilation.
12931
12932
12933----------------------------------------
1293409 March 2005.  Summary of changes for version 20050309:
12935
129361) ACPI CA Core Subsystem:
12937
12938The string-to-buffer implicit conversion code has been modified again
12939after
12940a change to the ACPI specification.  In order to match the behavior of
12941the
12942other major ACPI implementation, the target buffer is no longer truncated
12943if
12944the source string is smaller than an existing target buffer. This change
12945requires an update to the ACPI spec, and should eliminate the recent
12946AE_AML_BUFFER_LIMIT issues.
12947
12948The "implicit return" support was rewritten to a new algorithm that
12949solves
12950the general case. Rather than attempt to determine when a method is about
12951to
12952exit, the result of every ASL operator is saved momentarily until the
12953very
12954next ASL operator is executed. Therefore, no matter how the method exits,
12955there will always be a saved implicit return value. This feature is only
12956enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
12957eliminate
12958AE_AML_NO_RETURN_VALUE errors when enabled.
12959
12960Implemented implicit conversion support for the predicate (operand) of
12961the
12962If, Else, and While operators. String and Buffer arguments are
12963automatically
12964converted to Integers.
12965
12966Changed the string-to-integer conversion behavior to match the new ACPI
12967errata: "If no integer object exists, a new integer is created. The ASCII
12968string is interpreted as a hexadecimal constant. Each string character is
12969interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
12970with the first character as the most significant digit, and ending with
12971the
12972first non-hexadecimal character or end-of-string." This means that the
12973first
12974non-hex character terminates the conversion and this is the code that was
12975changed.
12976
12977Fixed a problem where the ObjectType operator would fail (fault) when
12978used
12979on an Index of a Package which pointed to a null package element. The
12980operator now properly returns zero (Uninitialized) in this case.
12981
12982Fixed a problem where the While operator used excessive memory by not
12983properly popping the result stack during execution. There was no memory
12984leak
12985after execution, however. (Code provided by Valery Podrezov.)
12986
12987Fixed a problem where references to control methods within Package
12988objects
12989caused the method to be invoked, instead of producing a reference object
12990pointing to the method.
12991
12992Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
12993to
12994improve performance and reduce code size. (Code provided by Alexey
12995Starikovskiy.)
12996
12997Code and Data Size: Current and previous core subsystem library sizes are
12998shown below. These are the code and data sizes for the acpica.lib
12999produced
13000by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13001any ACPI driver or OSPM code. The debug version of the code includes the
13002debug output trace mechanism and has a much larger code and data size.
13003Note
13004that these values will vary depending on the efficiency of the compiler
13005and
13006the compiler options used during generation.
13007
13008  Previous Release:
13009    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
13010    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
13011  Current Release:
13012    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
13013    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
13014
13015
130162) iASL Compiler/Disassembler:
13017
13018Fixed a problem with the Return operator with no arguments. Since the AML
13019grammar for the byte encoding requires an operand for the Return opcode,
13020the
13021compiler now emits a Return(Zero) for this case.  An ACPI specification
13022update has been written for this case.
13023
13024For tables other than the DSDT, namepath optimization is automatically
13025disabled. This is because SSDTs can be loaded anywhere in the namespace,
13026the
13027compiler has no knowledge of where, and thus cannot optimize namepaths.
13028
13029Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
13030inadvertently omitted from the ACPI specification, and will require an
13031update to the spec.
13032
13033The source file scan for ASCII characters is now optional (-a). This
13034change
13035was made because some vendors place non-ascii characters within comments.
13036However, the scan is simply a brute-force byte compare to ensure all
13037characters in the file are in the range 0x00 to 0x7F.
13038
13039Fixed a problem with the CondRefOf operator where the compiler was
13040inappropriately checking for the existence of the target. Since the point
13041of
13042the operator is to check for the existence of the target at run-time, the
13043compiler no longer checks for the target existence.
13044
13045Fixed a problem where errors generated from the internal AML interpreter
13046during constant folding were not handled properly, causing a fault.
13047
13048Fixed a problem with overly aggressive range checking for the Stall
13049operator. The valid range (max 255) is now only checked if the operand is
13050of
13051type Integer. All other operand types cannot be statically checked.
13052
13053Fixed a problem where control method references within the RefOf,
13054DeRefOf,
13055and ObjectType operators were not treated properly. They are now treated
13056as
13057actual references, not method invocations.
13058
13059Fixed and enhanced the "list namespace" option (-ln). This option was
13060broken
13061a number of releases ago.
13062
13063Improved error handling for the Field, IndexField, and BankField
13064operators.
13065The compiler now cleanly reports and recovers from errors in the field
13066component (FieldUnit) list.
13067
13068Fixed a disassembler problem where the optional ResourceDescriptor fields
13069TRS and TTP were not always handled correctly.
13070
13071Disassembler - Comments in output now use "//" instead of "/*"
13072
13073----------------------------------------
1307428 February 2005.  Summary of changes for version 20050228:
13075
130761) ACPI CA Core Subsystem:
13077
13078Fixed a problem where the result of an Index() operator (an object
13079reference) must increment the reference count on the target object for
13080the
13081life of the object reference.
13082
13083Implemented AML Interpreter and Debugger support for the new ACPI 3.0
13084Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
13085WordSpace
13086resource descriptors.
13087
13088Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
13089Space Descriptor" string, indicating interpreter support for the
13090descriptors
13091above.
13092
13093Implemented header support for the new ACPI 3.0 FADT flag bits.
13094
13095Implemented header support for the new ACPI 3.0 PCI Express bits for the
13096PM1
13097status/enable registers.
13098
13099Updated header support for the MADT processor local Apic struct and MADT
13100platform interrupt source struct for new ACPI 3.0 fields.
13101
13102Implemented header support for the SRAT and SLIT ACPI tables.
13103
13104Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
13105flag
13106at runtime.
13107
13108Code and Data Size: Current and previous core subsystem library sizes are
13109shown below. These are the code and data sizes for the acpica.lib
13110produced
13111by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13112any ACPI driver or OSPM code. The debug version of the code includes the
13113debug output trace mechanism and has a much larger code and data size.
13114Note
13115that these values will vary depending on the efficiency of the compiler
13116and
13117the compiler options used during generation.
13118
13119  Previous Release:
13120    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
13121    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
13122  Current Release:
13123    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
13124    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
13125
13126
131272) iASL Compiler/Disassembler:
13128
13129Fixed a problem with the internal 64-bit String-to-integer conversion
13130with
13131strings less than two characters long.
13132
13133Fixed a problem with constant folding where the result of the Index()
13134operator can not be considered a constant. This means that Index() cannot
13135be
13136a type3 opcode and this will require an update to the ACPI specification.
13137
13138Disassembler: Implemented support for the TTP, MTP, and TRS resource
13139descriptor fields. These fields were inadvertently ignored and not output
13140in
13141the disassembly of the resource descriptor.
13142
13143
13144 ----------------------------------------
1314511 February 2005.  Summary of changes for version 20050211:
13146
131471) ACPI CA Core Subsystem:
13148
13149Implemented ACPI 3.0 support for implicit conversion within the Match()
13150operator. MatchObjects can now be of type integer, buffer, or string
13151instead
13152of just type integer.  Package elements are implicitly converted to the
13153type
13154of the MatchObject. This change aligns the behavior of Match() with the
13155behavior of the other logical operators (LLess(), etc.) It also requires
13156an
13157errata change to the ACPI specification as this support was intended for
13158ACPI 3.0, but was inadvertently omitted.
13159
13160Fixed a problem with the internal implicit "to buffer" conversion.
13161Strings
13162that are converted to buffers will cause buffer truncation if the string
13163is
13164smaller than the target buffer. Integers that are converted to buffers
13165will
13166not cause buffer truncation, only zero extension (both as per the ACPI
13167spec.) The problem was introduced when code was added to truncate the
13168buffer, but this should not be performed in all cases, only the string
13169case.
13170
13171Fixed a problem with the Buffer and Package operators where the
13172interpreter
13173would get confused if two such operators were used as operands to an ASL
13174operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
13175stack was not being popped after the execution of these operators,
13176resulting
13177in an AE_NO_RETURN_VALUE exception.
13178
13179Fixed a problem with constructs of the form Store(Index(...),...). The
13180reference object returned from Index was inadvertently resolved to an
13181actual
13182value. This problem was introduced in version 20050114 when the behavior
13183of
13184Store() was modified to restrict the object types that can be used as the
13185source operand (to match the ACPI specification.)
13186
13187Reduced excessive stack use within the AcpiGetObjectInfo procedure.
13188
13189Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
13190
13191Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
13192
13193Code and Data Size: Current and previous core subsystem library sizes are
13194shown below. These are the code and data sizes for the acpica.lib
13195produced
13196by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13197any ACPI driver or OSPM code. The debug version of the code includes the
13198debug output trace mechanism and has a much larger code and data size.
13199Note
13200that these values will vary depending on the efficiency of the compiler
13201and
13202the compiler options used during generation.
13203
13204  Previous Release:
13205    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
13206    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
13207  Current Release:
13208    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
13209    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
13210
13211
132122) iASL Compiler/Disassembler:
13213
13214Fixed a code generation problem in the constant folding optimization code
13215where incorrect code was generated if a constant was reduced to a buffer
13216object (i.e., a reduced type 5 opcode.)
13217
13218Fixed a typechecking problem for the ToBuffer operator. Caused by an
13219incorrect return type in the internal opcode information table.
13220
13221----------------------------------------
1322225 January 2005.  Summary of changes for version 20050125:
13223
132241) ACPI CA Core Subsystem:
13225
13226Fixed a recently introduced problem with the Global Lock where the
13227underlying semaphore was not created.  This problem was introduced in
13228version 20050114, and caused an AE_AML_NO_OPERAND exception during an
13229Acquire() operation on _GL.
13230
13231The local object cache is now optional, and is disabled by default. Both
13232AcpiExec and the iASL compiler enable the cache because they run in user
13233mode and this enhances their performance. #define
13234ACPI_ENABLE_OBJECT_CACHE
13235to enable the local cache.
13236
13237Fixed an issue in the internal function AcpiUtEvaluateObject concerning
13238the
13239optional "implicit return" support where an error was returned if no
13240return
13241object was expected, but one was implicitly returned. AE_OK is now
13242returned
13243in this case and the implicitly returned object is deleted.
13244AcpiUtEvaluateObject is only occasionally used, and only to execute
13245reserved
13246methods such as _STA and _INI where the return type is known up front.
13247
13248Fixed a few issues with the internal convert-to-integer code. It now
13249returns
13250an error if an attempt is made to convert a null string, a string of only
13251blanks/tabs, or a zero-length buffer. This affects both implicit
13252conversion
13253and explicit conversion via the ToInteger() operator.
13254
13255The internal debug code in AcpiUtAcquireMutex has been commented out. It
13256is
13257not needed for normal operation and should increase the performance of
13258the
13259entire subsystem. The code remains in case it is needed for debug
13260purposes
13261again.
13262
13263The AcpiExec source and makefile are included in the Unix/Linux package
13264for
13265the first time.
13266
13267Code and Data Size: Current and previous core subsystem library sizes are
13268shown below. These are the code and data sizes for the acpica.lib
13269produced
13270by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13271any ACPI driver or OSPM code. The debug version of the code includes the
13272debug output trace mechanism and has a much larger code and data size.
13273Note
13274that these values will vary depending on the efficiency of the compiler
13275and
13276the compiler options used during generation.
13277
13278  Previous Release:
13279    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
13280    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
13281  Current Release:
13282    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
13283    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
13284
132852) iASL Compiler/Disassembler:
13286
13287Switch/Case support: A warning is now issued if the type of the Switch
13288value
13289cannot be determined at compile time. For example, Switch(Arg0) will
13290generate the warning, and the type is assumed to be an integer. As per
13291the
13292ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
13293the
13294warning.
13295
13296Switch/Case support: Implemented support for buffer and string objects as
13297the switch value.  This is an ACPI 3.0 feature, now that LEqual supports
13298buffers and strings.
13299
13300Switch/Case support: The emitted code for the LEqual() comparisons now
13301uses
13302the switch value as the first operand, not the second. The case value is
13303now
13304the second operand, and this allows the case value to be implicitly
13305converted to the type of the switch value, not the other way around.
13306
13307Switch/Case support: Temporary variables are now emitted immediately
13308within
13309the control method, not at the global level. This means that there are
13310now
1331136 temps available per-method, not 36 temps per-module as was the case
13312with
13313the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
13314
13315----------------------------------------
1331614 January 2005.  Summary of changes for version 20050114:
13317
13318Added 2005 copyright to all module headers.  This affects every module in
13319the core subsystem, iASL compiler, and the utilities.
13320
133211) ACPI CA Core Subsystem:
13322
13323Fixed an issue with the String-to-Buffer conversion code where the string
13324null terminator was not included in the buffer after conversion, but
13325there
13326is existing ASL that assumes the string null terminator is included. This
13327is
13328the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
13329introduced in the previous version when the code was updated to correctly
13330set the converted buffer size as per the ACPI specification. The ACPI
13331spec
13332is ambiguous and will be updated to specify that the null terminator must
13333be
13334included in the converted buffer. This also affects the ToBuffer() ASL
13335operator.
13336
13337Fixed a problem with the Mid() ASL/AML operator where it did not work
13338correctly on Buffer objects. Newly created sub-buffers were not being
13339marked
13340as initialized.
13341
13342
13343Fixed a problem in AcpiTbFindTable where incorrect string compares were
13344performed on the OemId and OemTableId table header fields.  These fields
13345are
13346not null terminated, so strncmp is now used instead of strcmp.
13347
13348Implemented a restriction on the Store() ASL/AML operator to align the
13349behavior with the ACPI specification.  Previously, any object could be
13350used
13351as the source operand.  Now, the only objects that may be used are
13352Integers,
13353Buffers, Strings, Packages, Object References, and DDB Handles.  If
13354necessary, the original behavior can be restored by enabling the
13355EnableInterpreterSlack flag.
13356
13357Enhanced the optional "implicit return" support to allow an implicit
13358return
13359value from methods that are invoked externally via the AcpiEvaluateObject
13360interface.  This enables implicit returns from the _STA and _INI methods,
13361for example.
13362
13363Changed the Revision() ASL/AML operator to return the current version of
13364the
13365AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
13366returned
13367the supported ACPI version (This is the function of the _REV method).
13368
13369Updated the _REV predefined method to return the currently supported
13370version
13371of ACPI, now 3.
13372
13373Implemented batch mode option for the AcpiExec utility (-b).
13374
13375Code and Data Size: Current and previous core subsystem library sizes are
13376shown below. These are the code and data sizes for the acpica.lib
13377produced
13378by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13379any ACPI driver or OSPM code. The debug version of the code includes the
13380debug output trace mechanism and has a much larger code and data size.
13381Note
13382that these values will vary depending on the efficiency of the compiler
13383and
13384the compiler options used during generation.
13385
13386  Previous Release:
13387    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13388    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
13389  Current Release:
13390    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
13391    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
13392
13393----------------------------------------
1339410 December 2004.  Summary of changes for version 20041210:
13395
13396ACPI 3.0 support is nearing completion in both the iASL compiler and the
13397ACPI CA core subsystem.
13398
133991) ACPI CA Core Subsystem:
13400
13401Fixed a problem in the ToDecimalString operator where the resulting
13402string
13403length was incorrectly calculated. The length is now calculated exactly,
13404eliminating incorrect AE_STRING_LIMIT exceptions.
13405
13406Fixed a problem in the ToHexString operator to allow a maximum 200
13407character
13408string to be produced.
13409
13410Fixed a problem in the internal string-to-buffer and buffer-to-buffer
13411copy
13412routine where the length of the resulting buffer was not truncated to the
13413new size (if the target buffer already existed).
13414
13415Code and Data Size: Current and previous core subsystem library sizes are
13416shown below. These are the code and data sizes for the acpica.lib
13417produced
13418by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13419any ACPI driver or OSPM code. The debug version of the code includes the
13420debug output trace mechanism and has a much larger code and data size.
13421Note
13422that these values will vary depending on the efficiency of the compiler
13423and
13424the compiler options used during generation.
13425
13426  Previous Release:
13427    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13428    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
13429  Current Release:
13430    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13431    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
13432
13433
134342) iASL Compiler/Disassembler:
13435
13436Implemented the new ACPI 3.0 resource template macros - DWordSpace,
13437ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
13438Includes support in the disassembler.
13439
13440Implemented support for the new (ACPI 3.0) parameter to the Register
13441macro,
13442AccessSize.
13443
13444Fixed a problem where the _HE resource name for the Interrupt macro was
13445referencing bit 0 instead of bit 1.
13446
13447Implemented check for maximum 255 interrupts in the Interrupt macro.
13448
13449Fixed a problem with the predefined resource descriptor names where
13450incorrect AML code was generated if the offset within the resource buffer
13451was 0 or 1.  The optimizer shortened the AML code to a single byte opcode
13452but did not update the surrounding package lengths.
13453
13454Changes to the Dma macro:  All channels within the channel list must be
13455in
13456the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is
13457optional (default is BusMaster).
13458
13459Implemented check for maximum 7 data bytes for the VendorShort macro.
13460
13461The ReadWrite parameter is now optional for the Memory32 and similar
13462macros.
13463
13464----------------------------------------
1346503 December 2004.  Summary of changes for version 20041203:
13466
134671) ACPI CA Core Subsystem:
13468
13469The low-level field insertion/extraction code (exfldio) has been
13470completely
13471rewritten to eliminate unnecessary complexity, bugs, and boundary
13472conditions.
13473
13474Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
13475ToDecimalString
13476operators where the input operand could be inadvertently deleted if no
13477conversion was necessary (e.g., if the input to ToInteger was an Integer
13478object.)
13479
13480Fixed a problem with the ToDecimalString and ToHexString where an
13481incorrect
13482exception code was returned if the resulting string would be > 200 chars.
13483AE_STRING_LIMIT is now returned.
13484
13485Fixed a problem with the Concatenate operator where AE_OK was always
13486returned, even if the operation failed.
13487
13488Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
13489semaphores to be allocated.
13490
13491Code and Data Size: Current and previous core subsystem library sizes are
13492shown below. These are the code and data sizes for the acpica.lib
13493produced
13494by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13495any ACPI driver or OSPM code. The debug version of the code includes the
13496debug output trace mechanism and has a much larger code and data size.
13497Note
13498that these values will vary depending on the efficiency of the compiler
13499and
13500the compiler options used during generation.
13501
13502  Previous Release:
13503    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13504    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13505  Current Release:
13506    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13507    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
13508
13509
135102) iASL Compiler/Disassembler:
13511
13512Fixed typechecking for the ObjectType and SizeOf operators.  Problem was
13513recently introduced in 20041119.
13514
13515Fixed a problem with the ToUUID macro where the upper nybble of each
13516buffer
13517byte was inadvertently set to zero.
13518
13519----------------------------------------
1352019 November 2004.  Summary of changes for version 20041119:
13521
135221) ACPI CA Core Subsystem:
13523
13524Fixed a problem in the internal ConvertToInteger routine where new
13525integers
13526were not truncated to 32 bits for 32-bit ACPI tables. This routine
13527converts
13528buffers and strings to integers.
13529
13530Implemented support to store a value to an Index() on a String object.
13531This
13532is an ACPI 2.0 feature that had not yet been implemented.
13533
13534Implemented new behavior for storing objects to individual package
13535elements
13536(via the Index() operator). The previous behavior was to invoke the
13537implicit
13538conversion rules if an object was already present at the index.  The new
13539behavior is to simply delete any existing object and directly store the
13540new
13541object. Although the ACPI specification seems unclear on this subject,
13542other
13543ACPI implementations behave in this manner.  (This is the root of the
13544AE_BAD_HEX_CONSTANT issue.)
13545
13546Modified the RSDP memory scan mechanism to support the extended checksum
13547for
13548ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
13549RSDP signature is found with a valid checksum.
13550
13551Code and Data Size: Current and previous core subsystem library sizes are
13552shown below. These are the code and data sizes for the acpica.lib
13553produced
13554by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13555any ACPI driver or OSPM code. The debug version of the code includes the
13556debug output trace mechanism and has a much larger code and data size.
13557Note
13558that these values will vary depending on the efficiency of the compiler
13559and
13560the compiler options used during generation.
13561
13562  Previous Release:
13563    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13564    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13565  Current Release:
13566    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13567    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13568
13569
135702) iASL Compiler/Disassembler:
13571
13572Fixed a missing semicolon in the aslcompiler.y file.
13573
13574----------------------------------------
1357505 November 2004.  Summary of changes for version 20041105:
13576
135771) ACPI CA Core Subsystem:
13578
13579Implemented support for FADT revision 2.  This was an interim table
13580(between
13581ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
13582
13583Implemented optional support to allow uninitialized LocalX and ArgX
13584variables in a control method.  The variables are initialized to an
13585Integer
13586object with a value of zero.  This support is enabled by setting the
13587AcpiGbl_EnableInterpreterSlack flag to TRUE.
13588
13589Implemented support for Integer objects for the SizeOf operator.  Either
135904
13591or 8 is returned, depending on the current integer size (32-bit or 64-
13592bit,
13593depending on the parent table revision).
13594
13595Fixed a problem in the implementation of the SizeOf and ObjectType
13596operators
13597where the operand was resolved to a value too early, causing incorrect
13598return values for some objects.
13599
13600Fixed some possible memory leaks during exceptional conditions.
13601
13602Code and Data Size: Current and previous core subsystem library sizes are
13603shown below. These are the code and data sizes for the acpica.lib
13604produced
13605by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13606any ACPI driver or OSPM code. The debug version of the code includes the
13607debug output trace mechanism and has a much larger code and data size.
13608Note
13609that these values will vary depending on the efficiency of the compiler
13610and
13611the compiler options used during generation.
13612
13613  Previous Release:
13614    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13615    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13616  Current Release:
13617    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13618    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13619
13620
136212) iASL Compiler/Disassembler:
13622
13623Implemented support for all ACPI 3.0 reserved names and methods.
13624
13625Implemented all ACPI 3.0 grammar elements in the front-end, including
13626support for semicolons.
13627
13628Implemented the ACPI 3.0 Function() and ToUUID() macros
13629
13630Fixed a problem in the disassembler where a Scope() operator would not be
13631emitted properly if the target of the scope was in another table.
13632
13633----------------------------------------
1363415 October 2004.  Summary of changes for version 20041015:
13635
13636Note:  ACPI CA is currently undergoing an in-depth and complete formal
13637evaluation to test/verify the following areas. Other suggestions are
13638welcome. This will result in an increase in the frequency of releases and
13639the number of bug fixes in the next few months.
13640  - Functional tests for all ASL/AML operators
13641  - All implicit/explicit type conversions
13642  - Bit fields and operation regions
13643  - 64-bit math support and 32-bit-only "truncated" math support
13644  - Exceptional conditions, both compiler and interpreter
13645  - Dynamic object deletion and memory leaks
13646  - ACPI 3.0 support when implemented
13647  - External interfaces to the ACPI subsystem
13648
13649
136501) ACPI CA Core Subsystem:
13651
13652Fixed two alignment issues on 64-bit platforms - within debug statements
13653in
13654AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
13655Address
13656field within the non-aligned ACPI generic address structure.
13657
13658Fixed a problem in the Increment and Decrement operators where incorrect
13659operand resolution could result in the inadvertent modification of the
13660original integer when the integer is passed into another method as an
13661argument and the arg is then incremented/decremented.
13662
13663Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
13664bit
13665BCD number were truncated during conversion.
13666
13667Fixed a problem in the ToDecimal operator where the length of the
13668resulting
13669string could be set incorrectly too long if the input operand was a
13670Buffer
13671object.
13672
13673Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
13674(0)
13675within a buffer would prematurely terminate a compare between buffer
13676objects.
13677
13678Added a check for string overflow (>200 characters as per the ACPI
13679specification) during the Concatenate operator with two string operands.
13680
13681Code and Data Size: Current and previous core subsystem library sizes are
13682shown below. These are the code and data sizes for the acpica.lib
13683produced
13684by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13685any ACPI driver or OSPM code. The debug version of the code includes the
13686debug output trace mechanism and has a much larger code and data size.
13687Note
13688that these values will vary depending on the efficiency of the compiler
13689and
13690the compiler options used during generation.
13691
13692  Previous Release:
13693    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13694    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13695  Current Release:
13696    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13697    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13698
13699
13700
137012) iASL Compiler/Disassembler:
13702
13703Allow the use of the ObjectType operator on uninitialized Locals and Args
13704(returns 0 as per the ACPI specification).
13705
13706Fixed a problem where the compiler would fault if there was a syntax
13707error
13708in the FieldName of all of the various CreateXXXField operators.
13709
13710Disallow the use of lower case letters within the EISAID macro, as per
13711the
13712ACPI specification.  All EISAID strings must be of the form "UUUNNNN"
13713Where
13714U is an uppercase letter and N is a hex digit.
13715
13716
13717----------------------------------------
1371806 October 2004.  Summary of changes for version 20041006:
13719
137201) ACPI CA Core Subsystem:
13721
13722Implemented support for the ACPI 3.0 Timer operator. This ASL function
13723implements a 64-bit timer with 100 nanosecond granularity.
13724
13725Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
13726implement the ACPI 3.0 Timer operator.  This allows the host OS to
13727implement
13728the timer with the best clock available. Also, it keeps the core
13729subsystem
13730out of the clock handling business, since the host OS (usually) performs
13731this function.
13732
13733Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
13734functions use a 64-bit address which is part of the packed ACPI Generic
13735Address Structure. Since the structure is non-aligned, the alignment
13736macros
13737are now used to extract the address to a local variable before use.
13738
13739Fixed a problem where the ToInteger operator assumed all input strings
13740were
13741hexadecimal. The operator now handles both decimal strings and hex
13742strings
13743(prefixed with "0x").
13744
13745Fixed a problem where the string length in the string object created as a
13746result of the internal ConvertToString procedure could be incorrect. This
13747potentially affected all implicit conversions and also the
13748ToDecimalString
13749and ToHexString operators.
13750
13751Fixed two problems in the ToString operator. If the length parameter was
13752zero, an incorrect string object was created and the value of the input
13753length parameter was inadvertently changed from zero to Ones.
13754
13755Fixed a problem where the optional ResourceSource string in the
13756ExtendedIRQ
13757resource macro was ignored.
13758
13759Simplified the interfaces to the internal division functions, reducing
13760code
13761size and complexity.
13762
13763Code and Data Size: Current and previous core subsystem library sizes are
13764shown below. These are the code and data sizes for the acpica.lib
13765produced
13766by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13767any ACPI driver or OSPM code. The debug version of the code includes the
13768debug output trace mechanism and has a much larger code and data size.
13769Note
13770that these values will vary depending on the efficiency of the compiler
13771and
13772the compiler options used during generation.
13773
13774  Previous Release:
13775    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13776    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13777  Current Release:
13778    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13779    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13780
13781
137822) iASL Compiler/Disassembler:
13783
13784Implemented support for the ACPI 3.0 Timer operator.
13785
13786Fixed a problem where the Default() operator was inadvertently ignored in
13787a
13788Switch/Case block.  This was a problem in the translation of the Switch
13789statement to If...Else pairs.
13790
13791Added support to allow a standalone Return operator, with no parentheses
13792(or
13793operands).
13794
13795Fixed a problem with code generation for the ElseIf operator where the
13796translated Else...If parse tree was improperly constructed leading to the
13797loss of some code.
13798
13799----------------------------------------
1380022 September 2004.  Summary of changes for version 20040922:
13801
138021) ACPI CA Core Subsystem:
13803
13804Fixed a problem with the implementation of the LNot() operator where
13805"Ones"
13806was not returned for the TRUE case. Changed the code to return Ones
13807instead
13808of (!Arg) which was usually 1. This change affects iASL constant folding
13809for
13810this operator also.
13811
13812Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
13813not
13814initialized properly -- Now zero the entire buffer in this case where the
13815buffer already exists.
13816
13817Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
13818Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
13819related code considerably. This will require changes/updates to all OS
13820interface layers (OSLs.)
13821
13822Implemented a new external interface, AcpiInstallExceptionHandler, to
13823allow
13824a system exception handler to be installed. This handler is invoked upon
13825any
13826run-time exception that occurs during control method execution.
13827
13828Added support for the DSDT in AcpiTbFindTable. This allows the
13829DataTableRegion() operator to access the local copy of the DSDT.
13830
13831Code and Data Size: Current and previous core subsystem library sizes are
13832shown below. These are the code and data sizes for the acpica.lib
13833produced
13834by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13835any ACPI driver or OSPM code. The debug version of the code includes the
13836debug output trace mechanism and has a much larger code and data size.
13837Note
13838that these values will vary depending on the efficiency of the compiler
13839and
13840the compiler options used during generation.
13841
13842  Previous Release:
13843    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13844    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13845  Current Release:
13846    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13847    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13848
13849
138502) iASL Compiler/Disassembler:
13851
13852Fixed a problem with constant folding and the LNot operator. LNot was
13853returning 1 in the TRUE case, not Ones as per the ACPI specification.
13854This
13855could result in the generation of an incorrect folded/reduced constant.
13856
13857End-Of-File is now allowed within a "//"-style comment.  A parse error no
13858longer occurs if such a comment is at the very end of the input ASL
13859source
13860file.
13861
13862Implemented the "-r" option to override the Revision in the table header.
13863The initial use of this option will be to simplify the evaluation of the
13864AML
13865interpreter by allowing a single ASL source module to be compiled for
13866either
1386732-bit or 64-bit integers.
13868
13869
13870----------------------------------------
1387127 August 2004.  Summary of changes for version 20040827:
13872
138731) ACPI CA Core Subsystem:
13874
13875- Implemented support for implicit object conversion in the non-numeric
13876logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
13877and
13878LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used;
13879the second operand is implicitly converted on the fly to match the type
13880of
13881the first operand.  For example:
13882
13883    LEqual (Source1, Source2)
13884
13885Source1 and Source2 must each evaluate to an integer, a string, or a
13886buffer.
13887The data type of Source1 dictates the required type of Source2. Source2
13888is
13889implicitly converted if necessary to match the type of Source1.
13890
13891- Updated and corrected the behavior of the string conversion support.
13892The
13893rules concerning conversion of buffers to strings (according to the ACPI
13894specification) are as follows:
13895
13896ToDecimalString - explicit byte-wise conversion of buffer to string of
13897decimal values (0-255) separated by commas. ToHexString - explicit byte-
13898wise
13899conversion of buffer to string of hex values (0-FF) separated by commas.
13900ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
13901byte
13902copy with no transform except NULL terminated. Any other implicit buffer-
13903to-
13904string conversion - byte-wise conversion of buffer to string of hex
13905values
13906(0-FF) separated by spaces.
13907
13908- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
13909
13910- Fixed a problem in AcpiNsGetPathnameLength where the returned length
13911was
13912one byte too short in the case of a node in the root scope.  This could
13913cause a fault during debug output.
13914
13915- Code and Data Size: Current and previous core subsystem library sizes
13916are
13917shown below.  These are the code and data sizes for the acpica.lib
13918produced
13919by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13920any ACPI driver or OSPM code.  The debug version of the code includes the
13921debug output trace mechanism and has a much larger code and data size.
13922Note
13923that these values will vary depending on the efficiency of the compiler
13924and
13925the compiler options used during generation.
13926
13927  Previous Release:
13928    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13929    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13930  Current Release:
13931    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13932    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13933
13934
139352) iASL Compiler/Disassembler:
13936
13937- Fixed a Linux generation error.
13938
13939
13940----------------------------------------
1394116 August 2004.  Summary of changes for version 20040816:
13942
139431) ACPI CA Core Subsystem:
13944
13945Designed and implemented support within the AML interpreter for the so-
13946called "implicit return".  This support returns the result of the last
13947ASL
13948operation within a control method, in the absence of an explicit Return()
13949operator.  A few machines depend on this behavior, even though it is not
13950explicitly supported by the ASL language.  It is optional support that
13951can
13952be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
13953
13954Removed support for the PCI_Config address space from the internal low
13955level
13956hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This
13957support was not used internally, and would not work correctly anyway
13958because
13959the PCI bus number and segment number were not supported.  There are
13960separate interfaces for PCI configuration space access because of the
13961unique
13962interface.
13963
13964Code and Data Size: Current and previous core subsystem library sizes are
13965shown below.  These are the code and data sizes for the acpica.lib
13966produced
13967by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13968any ACPI driver or OSPM code.  The debug version of the code includes the
13969debug output trace mechanism and has a much larger code and data size.
13970Note
13971that these values will vary depending on the efficiency of the compiler
13972and
13973the compiler options used during generation.
13974
13975  Previous Release:
13976    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13977    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13978  Current Release:
13979    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13980    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13981
13982
139832) iASL Compiler/Disassembler:
13984
13985Fixed a problem where constants in ASL expressions at the root level (not
13986within a control method) could be inadvertently truncated during code
13987generation.  This problem was introduced in the 20040715 release.
13988
13989
13990----------------------------------------
1399115 July 2004.  Summary of changes for version 20040715:
13992
139931) ACPI CA Core Subsystem:
13994
13995Restructured the internal HW GPE interfaces to pass/track the current
13996state
13997of interrupts (enabled/disabled) in order to avoid possible deadlock and
13998increase flexibility of the interfaces.
13999
14000Implemented a "lexicographical compare" for String and Buffer objects
14001within
14002the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
14003-
14004as per further clarification to the ACPI specification.  Behavior is
14005similar
14006to C library "strcmp".
14007
14008Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
14009external function.  In the 32-bit non-debug case, the stack use has been
14010reduced from 168 bytes to 32 bytes.
14011
14012Deployed a new run-time configuration flag,
14013AcpiGbl_EnableInterpreterSlack,
14014whose purpose is to allow the AML interpreter to forgive certain bad AML
14015constructs.  Default setting is FALSE.
14016
14017Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
14018IO
14019support code.  If enabled, it allows field access to go beyond the end of
14020a
14021region definition if the field is within the region length rounded up to
14022the
14023next access width boundary (a common coding error.)
14024
14025Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
14026ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also,
14027these
14028symbols are lowercase by the latest version of the AcpiSrc tool.
14029
14030The prototypes for the PCI interfaces in acpiosxf.h have been updated to
14031rename "Register" to simply "Reg" to prevent certain compilers from
14032complaining.
14033
14034Code and Data Size: Current and previous core subsystem library sizes are
14035shown below.  These are the code and data sizes for the acpica.lib
14036produced
14037by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14038any ACPI driver or OSPM code.  The debug version of the code includes the
14039debug output trace mechanism and has a much larger code and data size.
14040Note
14041that these values will vary depending on the efficiency of the compiler
14042and
14043the compiler options used during generation.
14044
14045  Previous Release:
14046    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
14047    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
14048  Current Release:
14049    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
14050    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
14051
14052
140532) iASL Compiler/Disassembler:
14054
14055Implemented full support for Package objects within the Case() operator.
14056Note: The Break() operator is currently not supported within Case blocks
14057(TermLists) as there is some question about backward compatibility with
14058ACPI
140591.0 interpreters.
14060
14061
14062Fixed a problem where complex terms were not supported properly within
14063the
14064Switch() operator.
14065
14066Eliminated extraneous warning for compiler-emitted reserved names of the
14067form "_T_x".  (Used in Switch/Case operators.)
14068
14069Eliminated optimization messages for "_T_x" objects and small constants
14070within the DefinitionBlock operator.
14071
14072
14073----------------------------------------
1407415 June 2004.  Summary of changes for version 20040615:
14075
140761) ACPI CA Core Subsystem:
14077
14078Implemented support for Buffer and String objects (as per ACPI 2.0) for
14079the
14080following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
14081LLessEqual.
14082
14083All directory names in the entire source package are lower case, as they
14084were in earlier releases.
14085
14086Implemented "Disassemble" command in the AML debugger that will
14087disassemble
14088a single control method.
14089
14090Code and Data Size: Current and previous core subsystem library sizes are
14091shown below.  These are the code and data sizes for the acpica.lib
14092produced
14093by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14094any ACPI driver or OSPM code.  The debug version of the code includes the
14095debug output trace mechanism and has a much larger code and data size.
14096Note
14097that these values will vary depending on the efficiency of the compiler
14098and
14099the compiler options used during generation.
14100
14101  Previous Release:
14102    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
14103    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
14104
14105  Current Release:
14106    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
14107    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
14108
14109
141102) iASL Compiler/Disassembler:
14111
14112Implemented support for Buffer and String objects (as per ACPI 2.0) for
14113the
14114following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
14115LLessEqual.
14116
14117All directory names in the entire source package are lower case, as they
14118were in earlier releases.
14119
14120Fixed a fault when using the -g or -d<nofilename> options if the FADT was
14121not found.
14122
14123Fixed an issue with the Windows version of the compiler where later
14124versions
14125of Windows place the FADT in the registry under the name "FADT" and not
14126"FACP" as earlier versions did.  This applies when using the -g or -
14127d<nofilename> options.  The compiler now looks for both strings as
14128necessary.
14129
14130Fixed a problem with compiler namepath optimization where a namepath
14131within
14132the Scope() operator could not be optimized if the namepath was a subpath
14133of
14134the current scope path.
14135
14136----------------------------------------
1413727 May 2004.  Summary of changes for version 20040527:
14138
141391) ACPI CA Core Subsystem:
14140
14141Completed a new design and implementation for EBDA (Extended BIOS Data
14142Area)
14143support in the RSDP scan code.  The original code improperly scanned for
14144the
14145EBDA by simply scanning from memory location 0 to 0x400.  The correct
14146method
14147is to first obtain the EBDA pointer from within the BIOS data area, then
14148scan 1K of memory starting at the EBDA pointer.  There appear to be few
14149if
14150any machines that place the RSDP in the EBDA, however.
14151
14152Integrated a fix for a possible fault during evaluation of BufferField
14153arguments.  Obsolete code that was causing the problem was removed.
14154
14155Found and fixed a problem in the Field Support Code where data could be
14156corrupted on a bit field read that starts on an aligned boundary but does
14157not end on an aligned boundary.  Merged the read/write "datum length"
14158calculation code into a common procedure.
14159
14160Rolled in a couple of changes to the FreeBSD-specific header.
14161
14162
14163Code and Data Size: Current and previous core subsystem library sizes are
14164shown below.  These are the code and data sizes for the acpica.lib
14165produced
14166by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14167any ACPI driver or OSPM code.  The debug version of the code includes the
14168debug output trace mechanism and has a much larger code and data size.
14169Note
14170that these values will vary depending on the efficiency of the compiler
14171and
14172the compiler options used during generation.
14173
14174  Previous Release:
14175    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
14176    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
14177  Current Release:
14178    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
14179    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
14180
14181
141822) iASL Compiler/Disassembler:
14183
14184Fixed a generation warning produced by some overly-verbose compilers for
14185a
1418664-bit constant.
14187
14188----------------------------------------
1418914 May 2004.  Summary of changes for version 20040514:
14190
141911) ACPI CA Core Subsystem:
14192
14193Fixed a problem where hardware GPE enable bits sometimes not set properly
14194during and after GPE method execution.  Result of 04/27 changes.
14195
14196Removed extra "clear all GPEs" when sleeping/waking.
14197
14198Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
14199AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
14200to
14201the new AcpiEv* calls as appropriate.
14202
14203ACPI_OS_NAME was removed from the OS-specific headers.  The default name
14204is
14205now "Microsoft Windows NT" for maximum compatibility.  However this can
14206be
14207changed by modifying the acconfig.h file.
14208
14209Allow a single invocation of AcpiInstallNotifyHandler for a handler that
14210traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag.
14211
14212Run _INI methods on ThermalZone objects.  This is against the ACPI
14213specification, but there is apparently ASL code in the field that has
14214these
14215_INI methods, and apparently "other" AML interpreters execute them.
14216
14217Performed a full 16/32/64 bit lint that resulted in some small changes.
14218
14219Added a sleep simulation command to the AML debugger to test sleep code.
14220
14221Code and Data Size: Current and previous core subsystem library sizes are
14222shown below.  These are the code and data sizes for the acpica.lib
14223produced
14224by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14225any ACPI driver or OSPM code.  The debug version of the code includes the
14226debug output trace mechanism and has a much larger code and data size.
14227Note
14228that these values will vary depending on the efficiency of the compiler
14229and
14230the compiler options used during generation.
14231
14232  Previous Release:
14233    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
14234    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
14235  Current Release:
14236    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
14237    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
14238
14239----------------------------------------
1424027 April 2004.  Summary of changes for version 20040427:
14241
142421) ACPI CA Core Subsystem:
14243
14244Completed a major overhaul of the GPE handling within ACPI CA.  There are
14245now three types of GPEs:  wake-only, runtime-only, and combination
14246wake/run.
14247The only GPEs allowed to be combination wake/run are for button-style
14248devices such as a control-method power button, control-method sleep
14249button,
14250or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are
14251not
14252referenced by any _PRW methods are marked for "runtime" and hardware
14253enabled.  Any GPE that is referenced by a _PRW method is marked for
14254"wake"
14255(and disabled at runtime).  However, at sleep time, only those GPEs that
14256have been specifically enabled for wake via the AcpiEnableGpe interface
14257will
14258actually be hardware enabled.
14259
14260A new external interface has been added, AcpiSetGpeType(), that is meant
14261to
14262be used by device drivers to force a GPE to a particular type.  It will
14263be
14264especially useful for the drivers for the button devices mentioned above.
14265
14266Completed restructuring of the ACPI CA initialization sequence so that
14267default operation region handlers are installed before GPEs are
14268initialized
14269and the _PRW methods are executed.  This will prevent errors when the
14270_PRW
14271methods attempt to access system memory or I/O space.
14272
14273GPE enable/disable no longer reads the GPE enable register.  We now keep
14274the
14275enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We
14276thus no longer depend on the hardware to maintain these bits.
14277
14278Always clear the wake status and fixed/GPE status bits before sleep, even
14279for state S5.
14280
14281Improved the AML debugger output for displaying the GPE blocks and their
14282current status.
14283
14284Added new strings for the _OSI method, of the form "Windows 2001 SPx"
14285where
14286x = 0,1,2,3,4.
14287
14288Fixed a problem where the physical address was incorrectly calculated
14289when
14290the Load() operator was used to directly load from an Operation Region
14291(vs.
14292loading from a Field object.)  Also added check for minimum table length
14293for
14294this case.
14295
14296Fix for multiple mutex acquisition.  Restore original thread SyncLevel on
14297mutex release.
14298
14299Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
14300consistency with the other fields returned.
14301
14302Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such
14303structure for each GPE in the system, so the size of this structure is
14304important.
14305
14306CPU stack requirement reduction:  Cleaned up the method execution and
14307object
14308evaluation paths so that now a parameter structure is passed, instead of
14309copying the various method parameters over and over again.
14310
14311In evregion.c:  Correctly exit and reenter the interpreter region if and
14312only if dispatching an operation region request to a user-installed
14313handler.
14314Do not exit/reenter when dispatching to a default handler (e.g., default
14315system memory or I/O handlers)
14316
14317
14318Notes for updating drivers for the new GPE support.  The following
14319changes
14320must be made to ACPI-related device drivers that are attached to one or
14321more
14322GPEs: (This information will be added to the ACPI CA Programmer
14323Reference.)
14324
143251) AcpiInstallGpeHandler no longer automatically enables the GPE, you
14326must
14327explicitly call AcpiEnableGpe.
143282) There is a new interface called AcpiSetGpeType. This should be called
14329before enabling the GPE.  Also, this interface will automatically disable
14330the GPE if it is currently enabled.
143313) AcpiEnableGpe no longer supports a GPE type flag.
14332
14333Specific drivers that must be changed:
143341) EC driver:
14335    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
14336AeGpeHandler, NULL);
14337    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
14338    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
14339
143402) Button Drivers (Power, Lid, Sleep):
14341Run _PRW method under parent device
14342If _PRW exists: /* This is a control-method button */
14343    Extract GPE number and possibly GpeDevice
14344    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
14345    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
14346
14347For all other devices that have _PRWs, we automatically set the GPE type
14348to
14349ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
14350This
14351must be done on a selective basis, usually requiring some kind of user
14352app
14353to allow the user to pick the wake devices.
14354
14355
14356Code and Data Size: Current and previous core subsystem library sizes are
14357shown below.  These are the code and data sizes for the acpica.lib
14358produced
14359by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14360any ACPI driver or OSPM code.  The debug version of the code includes the
14361debug output trace mechanism and has a much larger code and data size.
14362Note
14363that these values will vary depending on the efficiency of the compiler
14364and
14365the compiler options used during generation.
14366
14367  Previous Release:
14368    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
14369    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
14370  Current Release:
14371
14372    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
14373    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
14374
14375
14376
14377----------------------------------------
1437802 April 2004.  Summary of changes for version 20040402:
14379
143801) ACPI CA Core Subsystem:
14381
14382Fixed an interpreter problem where an indirect store through an ArgX
14383parameter was incorrectly applying the "implicit conversion rules" during
14384the store.  From the ACPI specification: "If the target is a method local
14385or
14386argument (LocalX or ArgX), no conversion is performed and the result is
14387stored directly to the target".  The new behavior is to disable implicit
14388conversion during ALL stores to an ArgX.
14389
14390Changed the behavior of the _PRW method scan to ignore any and all errors
14391returned by a given _PRW.  This prevents the scan from aborting from the
14392failure of any single _PRW.
14393
14394Moved the runtime configuration parameters from the global init procedure
14395to
14396static variables in acglobal.h.  This will allow the host to override the
14397default values easily.
14398
14399Code and Data Size: Current and previous core subsystem library sizes are
14400shown below.  These are the code and data sizes for the acpica.lib
14401produced
14402by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14403any ACPI driver or OSPM code.  The debug version of the code includes the
14404debug output trace mechanism and has a much larger code and data size.
14405Note
14406that these values will vary depending on the efficiency of the compiler
14407and
14408the compiler options used during generation.
14409
14410  Previous Release:
14411    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
14412    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
14413  Current Release:
14414    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
14415    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
14416
14417
144182) iASL Compiler/Disassembler:
14419
14420iASL now fully disassembles SSDTs.  However, External() statements are
14421not
14422generated automatically for unresolved symbols at this time.  This is a
14423planned feature for future implementation.
14424
14425Fixed a scoping problem in the disassembler that occurs when the type of
14426the
14427target of a Scope() operator is overridden.  This problem caused an
14428incorrectly nested internal namespace to be constructed.
14429
14430Any warnings or errors that are emitted during disassembly are now
14431commented
14432out automatically so that the resulting file can be recompiled without
14433any
14434hand editing.
14435
14436----------------------------------------
1443726 March 2004.  Summary of changes for version 20040326:
14438
144391) ACPI CA Core Subsystem:
14440
14441Implemented support for "wake" GPEs via interaction between GPEs and the
14442_PRW methods.  Every GPE that is pointed to by one or more _PRWs is
14443identified as a WAKE GPE and by default will no longer be enabled at
14444runtime.  Previously, we were blindly enabling all GPEs with a
14445corresponding
14446_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
14447We
14448believe this has been the cause of thousands of "spurious" GPEs on some
14449systems.
14450
14451This new GPE behavior is can be reverted to the original behavior (enable
14452ALL GPEs at runtime) via a runtime flag.
14453
14454Fixed a problem where aliased control methods could not access objects
14455properly.  The proper scope within the namespace was not initialized
14456(transferred to the target of the aliased method) before executing the
14457target method.
14458
14459Fixed a potential race condition on internal object deletion on the
14460return
14461object in AcpiEvaluateObject.
14462
14463Integrated a fix for resource descriptors where both _MEM and _MTP were
14464being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too
14465wide, 0x0F instead of 0x03.)
14466
14467Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
14468preventing
14469a
14470fault in some cases.
14471
14472Updated Notify() values for debug statements in evmisc.c
14473
14474Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
14475
14476Code and Data Size: Current and previous core subsystem library sizes are
14477shown below.  These are the code and data sizes for the acpica.lib
14478produced
14479by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14480any ACPI driver or OSPM code.  The debug version of the code includes the
14481debug output trace mechanism and has a much larger code and data size.
14482Note
14483that these values will vary depending on the efficiency of the compiler
14484and
14485the compiler options used during generation.
14486
14487  Previous Release:
14488
14489    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
14490    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
14491  Current Release:
14492    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
14493    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
14494
14495----------------------------------------
1449611 March 2004.  Summary of changes for version 20040311:
14497
144981) ACPI CA Core Subsystem:
14499
14500Fixed a problem where errors occurring during the parse phase of control
14501method execution did not abort cleanly.  For example, objects created and
14502installed in the namespace were not deleted.  This caused all subsequent
14503invocations of the method to return the AE_ALREADY_EXISTS exception.
14504
14505Implemented a mechanism to force a control method to "Serialized"
14506execution
14507if the method attempts to create namespace objects. (The root of the
14508AE_ALREADY_EXISTS problem.)
14509
14510Implemented support for the predefined _OSI "internal" control method.
14511Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
14512and
14513"Windows 2001.1", and can be easily upgraded for new strings as
14514necessary.
14515This feature will allow "other" operating systems to execute the fully
14516tested, "Windows" code path through the ASL code
14517
14518Global Lock Support:  Now allows multiple acquires and releases with any
14519internal thread.  Removed concept of "owning thread" for this special
14520mutex.
14521
14522Fixed two functions that were inappropriately declaring large objects on
14523the
14524CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage
14525during
14526method execution considerably.
14527
14528Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
14529S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
14530
14531Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
14532defined on the machine.
14533
14534Implemented two runtime options:  One to force all control method
14535execution
14536to "Serialized" to mimic Windows behavior, another to disable _OSI
14537support
14538if it causes problems on a given machine.
14539
14540Code and Data Size: Current and previous core subsystem library sizes are
14541shown below.  These are the code and data sizes for the acpica.lib
14542produced
14543by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14544any ACPI driver or OSPM code.  The debug version of the code includes the
14545debug output trace mechanism and has a much larger code and data size.
14546Note
14547that these values will vary depending on the efficiency of the compiler
14548and
14549the compiler options used during generation.
14550
14551  Previous Release:
14552    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14553    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14554  Current Release:
14555    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
14556    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
14557
145582) iASL Compiler/Disassembler:
14559
14560Fixed an array size problem for FreeBSD that would cause the compiler to
14561fault.
14562
14563----------------------------------------
1456420 February 2004.  Summary of changes for version 20040220:
14565
14566
145671) ACPI CA Core Subsystem:
14568
14569Implemented execution of _SxD methods for Device objects in the
14570GetObjectInfo interface.
14571
14572Fixed calls to _SST method to pass the correct arguments.
14573
14574Added a call to _SST on wake to restore to "working" state.
14575
14576Check for End-Of-Buffer failure case in the WalkResources interface.
14577
14578Integrated fix for 64-bit alignment issue in acglobal.h by moving two
14579structures to the beginning of the file.
14580
14581After wake, clear GPE status register(s) before enabling GPEs.
14582
14583After wake, clear/enable power button.  (Perhaps we should clear/enable
14584all
14585fixed events upon wake.)
14586
14587Fixed a couple of possible memory leaks in the Namespace manager.
14588
14589Integrated latest acnetbsd.h file.
14590
14591----------------------------------------
1459211 February 2004.  Summary of changes for version 20040211:
14593
14594
145951) ACPI CA Core Subsystem:
14596
14597Completed investigation and implementation of the call-by-reference
14598mechanism for control method arguments.
14599
14600Fixed a problem where a store of an object into an indexed package could
14601fail if the store occurs within a different method than the method that
14602created the package.
14603
14604Fixed a problem where the ToDecimal operator could return incorrect
14605results.
14606
14607Fixed a problem where the CopyObject operator could fail on some of the
14608more
14609obscure objects (e.g., Reference objects.)
14610
14611Improved the output of the Debug object to display buffer, package, and
14612index objects.
14613
14614Fixed a problem where constructs of the form "RefOf (ArgX)" did not
14615return
14616the expected result.
14617
14618Added permanent ACPI_REPORT_ERROR macros for all instances of the
14619ACPI_AML_INTERNAL exception.
14620
14621Integrated latest version of acfreebsd.h
14622
14623----------------------------------------
1462416 January 2004.  Summary of changes for version 20040116:
14625
14626The purpose of this release is primarily to update the copyright years in
14627each module, thus causing a huge number of diffs.  There are a few small
14628functional changes, however.
14629
146301) ACPI CA Core Subsystem:
14631
14632Improved error messages when there is a problem finding one or more of
14633the
14634required base ACPI tables
14635
14636Reintroduced the definition of APIC_HEADER in actbl.h
14637
14638Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
14639
14640Removed extraneous reference to NewObj in dsmthdat.c
14641
146422) iASL compiler
14643
14644Fixed a problem introduced in December that disabled the correct
14645disassembly
14646of Resource Templates
14647
14648
14649----------------------------------------
1465003 December 2003.  Summary of changes for version 20031203:
14651
146521) ACPI CA Core Subsystem:
14653
14654Changed the initialization of Operation Regions during subsystem
14655init to perform two entire walks of the ACPI namespace; The first
14656to initialize the regions themselves, the second to execute the
14657_REG methods.  This fixed some interdependencies across _REG
14658methods found on some machines.
14659
14660Fixed a problem where a Store(Local0, Local1) could simply update
14661the object reference count, and not create a new copy of the
14662object if the Local1 is uninitialized.
14663
14664Implemented support for the _SST reserved method during sleep
14665transitions.
14666
14667Implemented support to clear the SLP_TYP and SLP_EN bits when
14668waking up, this is apparently required by some machines.
14669
14670When sleeping, clear the wake status only if SleepState is not S5.
14671
14672Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
14673pointer arithmetic advanced a string pointer too far.
14674
14675Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
14676could be returned if the requested table has not been loaded.
14677
14678Within the support for IRQ resources, restructured the handling of
14679the active and edge/level bits.
14680
14681Fixed a few problems in AcpiPsxExecute() where memory could be
14682leaked under certain error conditions.
14683
14684Improved error messages for the cases where the ACPI mode could
14685not be entered.
14686
14687Code and Data Size: Current and previous core subsystem library
14688sizes are shown below.  These are the code and data sizes for the
14689acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14690these values do not include any ACPI driver or OSPM code.  The
14691debug version of the code includes the debug output trace
14692mechanism and has a much larger code and data size.  Note that
14693these values will vary depending on the efficiency of the compiler
14694and the compiler options used during generation.
14695
14696  Previous Release (20031029):
14697    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14698    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14699  Current Release:
14700    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14701    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14702
147032) iASL Compiler/Disassembler:
14704
14705Implemented a fix for the iASL disassembler where a bad index was
14706generated.  This was most noticeable on 64-bit platforms
14707
14708
14709----------------------------------------
1471029 October 2003.  Summary of changes for version 20031029:
14711
147121) ACPI CA Core Subsystem:
14713
14714
14715Fixed a problem where a level-triggered GPE with an associated
14716_Lxx control method was incorrectly cleared twice.
14717
14718Fixed a problem with the Field support code where an access can
14719occur beyond the end-of-region if the field is non-aligned but
14720extends to the very end of the parent region (resulted in an
14721AE_AML_REGION_LIMIT exception.)
14722
14723Fixed a problem with ACPI Fixed Events where an RT Clock handler
14724would not get invoked on an RTC event.  The RTC event bitmasks for
14725the PM1 registers were not being initialized properly.
14726
14727Implemented support for executing _STA and _INI methods for
14728Processor objects.  Although this is currently not part of the
14729ACPI specification, there is existing ASL code that depends on the
14730init-time execution of these methods.
14731
14732Implemented and deployed a GetDescriptorName function to decode
14733the various types of internal descriptors.  Guards against null
14734descriptors during debug output also.
14735
14736Implemented and deployed a GetNodeName function to extract the 4-
14737character namespace node name.  This function simplifies the debug
14738and error output, as well as guarding against null pointers during
14739output.
14740
14741Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
14742simplify the debug and error output of 64-bit integers.  This
14743macro replaces the HIDWORD and LODWORD macros for dumping these
14744integers.
14745
14746Updated the implementation of the Stall() operator to only call
14747AcpiOsStall(), and also return an error if the operand is larger
14748than 255.  This preserves the required behavior of not
14749relinquishing the processor, as would happen if AcpiOsSleep() was
14750called for "long stalls".
14751
14752Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
14753initialized are now treated as NOOPs.
14754
14755Cleaned up a handful of warnings during 64-bit generation.
14756
14757Fixed a reported error where and incorrect GPE number was passed
14758to the GPE dispatch handler.  This value is only used for error
14759output, however.  Used this opportunity to clean up and streamline
14760the GPE dispatch code.
14761
14762Code and Data Size: Current and previous core subsystem library
14763sizes are shown below.  These are the code and data sizes for the
14764acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14765these values do not include any ACPI driver or OSPM code.  The
14766
14767debug version of the code includes the debug output trace
14768mechanism and has a much larger code and data size.  Note that
14769these values will vary depending on the efficiency of the compiler
14770and the compiler options used during generation.
14771
14772  Previous Release (20031002):
14773    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14774    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14775  Current Release:
14776    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14777    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14778
14779
147802) iASL Compiler/Disassembler:
14781
14782Updated the iASL compiler to return an error if the operand to the
14783Stall() operator is larger than 255.
14784
14785
14786----------------------------------------
1478702 October 2003.  Summary of changes for version 20031002:
14788
14789
147901) ACPI CA Core Subsystem:
14791
14792Fixed a problem with Index Fields where the index was not
14793incremented for fields that require multiple writes to the
14794index/data registers (Fields that are wider than the data
14795register.)
14796
14797Fixed a problem with all Field objects where a write could go
14798beyond the end-of-field if the field was larger than the access
14799granularity and therefore required multiple writes to complete the
14800request.  An extra write beyond the end of the field could happen
14801inadvertently.
14802
14803Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
14804would incorrectly be returned if the width of the Data Register
14805was larger than the specified field access width.
14806
14807Completed fixes for LoadTable() and Unload() and verified their
14808operation.  Implemented full support for the "DdbHandle" object
14809throughout the ACPI CA subsystem.
14810
14811Implemented full support for the MADT and ECDT tables in the ACPI
14812CA header files.  Even though these tables are not directly
14813consumed by ACPI CA, the header definitions are useful for ACPI
14814device drivers.
14815
14816Integrated resource descriptor fixes posted to the Linux ACPI
14817list.  This included checks for minimum descriptor length, and
14818support for trailing NULL strings within descriptors that have
14819optional string elements.
14820
14821Code and Data Size: Current and previous core subsystem library
14822sizes are shown below.  These are the code and data sizes for the
14823acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14824these values do not include any ACPI driver or OSPM code.  The
14825debug version of the code includes the debug output trace
14826mechanism and has a much larger code and data size.  Note that
14827these values will vary depending on the efficiency of the compiler
14828and the compiler options used during generation.
14829
14830  Previous Release (20030918):
14831    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14832    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14833  Current Release:
14834    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14835    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14836
14837
148382) iASL Compiler:
14839
14840Implemented detection of non-ASCII characters within the input
14841source ASL file.  This catches attempts to compile binary (AML)
14842files early in the compile, with an informative error message.
14843
14844Fixed a problem where the disassembler would fault if the output
14845filename could not be generated or if the output file could not be
14846opened.
14847
14848----------------------------------------
1484918 September 2003.  Summary of changes for version 20030918:
14850
14851
148521) ACPI CA Core Subsystem:
14853
14854Found and fixed a longstanding problem with the late execution of
14855the various deferred AML opcodes (such as Operation Regions,
14856Buffer Fields, Buffers, and Packages).  If the name string
14857specified for the name of the new object placed the object in a
14858scope other than the current scope, the initialization/execution
14859of the opcode failed.  The solution to this problem was to
14860implement a mechanism where the late execution of such opcodes
14861does not attempt to lookup/create the name a second time in an
14862incorrect scope.  This fixes the "region size computed
14863incorrectly" problem.
14864
14865Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
14866Global Lock AE_BAD_PARAMETER error.
14867
14868Fixed several 64-bit issues with prototypes, casting and data
14869types.
14870
14871Removed duplicate prototype from acdisasm.h
14872
14873Fixed an issue involving EC Operation Region Detach (Shaohua Li)
14874
14875Code and Data Size: Current and previous core subsystem library
14876sizes are shown below.  These are the code and data sizes for the
14877acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14878these values do not include any ACPI driver or OSPM code.  The
14879debug version of the code includes the debug output trace
14880mechanism and has a much larger code and data size.  Note that
14881these values will vary depending on the efficiency of the compiler
14882and the compiler options used during generation.
14883
14884  Previous Release:
14885
14886    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14887    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14888  Current Release:
14889    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14890    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14891
14892
148932) Linux:
14894
14895Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
14896correct sleep time in seconds.
14897
14898----------------------------------------
1489914 July 2003.  Summary of changes for version 20030619:
14900
149011) ACPI CA Core Subsystem:
14902
14903Parse SSDTs in order discovered, as opposed to reverse order
14904(Hrvoje Habjanic)
14905
14906Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
14907Klausner,
14908   Nate Lawson)
14909
14910
149112) Linux:
14912
14913Dynamically allocate SDT list (suggested by Andi Kleen)
14914
14915proc function return value cleanups (Andi Kleen)
14916
14917Correctly handle NMI watchdog during long stalls (Andrew Morton)
14918
14919Make it so acpismp=force works (reported by Andrew Morton)
14920
14921
14922----------------------------------------
1492319 June 2003.  Summary of changes for version 20030619:
14924
149251) ACPI CA Core Subsystem:
14926
14927Fix To/FromBCD, eliminating the need for an arch-specific #define.
14928
14929Do not acquire a semaphore in the S5 shutdown path.
14930
14931Fix ex_digits_needed for 0. (Takayoshi Kochi)
14932
14933Fix sleep/stall code reversal. (Andi Kleen)
14934
14935Revert a change having to do with control method calling
14936semantics.
14937
149382) Linux:
14939
14940acpiphp update (Takayoshi Kochi)
14941
14942Export acpi_disabled for sonypi (Stelian Pop)
14943
14944Mention acpismp=force in config help
14945
14946Re-add acpitable.c and acpismp=force. This improves backwards
14947
14948compatibility and also cleans up the code to a significant degree.
14949
14950Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
14951
14952----------------------------------------
1495322 May 2003.  Summary of changes for version 20030522:
14954
149551) ACPI CA Core Subsystem:
14956
14957Found and fixed a reported problem where an AE_NOT_FOUND error
14958occurred occasionally during _BST evaluation.  This turned out to
14959be an Owner ID allocation issue where a called method did not get
14960a new ID assigned to it.  Eventually, (after 64k calls), the Owner
14961ID UINT16 would wraparound so that the ID would be the same as the
14962caller's and the called method would delete the caller's
14963namespace.
14964
14965Implemented extended error reporting for control methods that are
14966aborted due to a run-time exception.  Output includes the exact
14967AML instruction that caused the method abort, a dump of the method
14968locals and arguments at the time of the abort, and a trace of all
14969nested control method calls.
14970
14971Modified the interpreter to allow the creation of buffers of zero
14972length from the AML code. Implemented new code to ensure that no
14973attempt is made to actually allocate a memory buffer (of length
14974zero) - instead, a simple buffer object with a NULL buffer pointer
14975and length zero is created.  A warning is no longer issued when
14976the AML attempts to create a zero-length buffer.
14977
14978Implemented a workaround for the "leading asterisk issue" in
14979_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
14980asterisk is automatically removed if present in any HID, UID, or
14981CID strings.  The iASL compiler will still flag this asterisk as
14982an error, however.
14983
14984Implemented full support for _CID methods that return a package of
14985multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
14986now additionally returns a device _CID list if present.  This
14987required a change to the external interface in order to pass an
14988ACPI_BUFFER object as a parameter since the _CID list is of
14989variable length.
14990
14991Fixed a problem with the new AE_SAME_HANDLER exception where
14992handler initialization code did not know about this exception.
14993
14994Code and Data Size: Current and previous core subsystem library
14995sizes are shown below.  These are the code and data sizes for the
14996acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14997these values do not include any ACPI driver or OSPM code.  The
14998debug version of the code includes the debug output trace
14999mechanism and has a much larger code and data size.  Note that
15000these values will vary depending on the efficiency of the compiler
15001and the compiler options used during generation.
15002
15003  Previous Release (20030509):
15004    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
15005    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
15006  Current Release:
15007    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
15008    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
15009
15010
150112) Linux:
15012
15013Fixed a bug in which we would reinitialize the ACPI interrupt
15014after it was already working, thus disabling all ACPI and the IRQs
15015for any other device sharing the interrupt. (Thanks to Stian
15016Jordet)
15017
15018Toshiba driver update (John Belmonte)
15019
15020Return only 0 or 1 for our interrupt handler status (Andrew
15021Morton)
15022
15023
150243) iASL Compiler:
15025
15026Fixed a reported problem where multiple (nested) ElseIf()
15027statements were not handled correctly by the compiler, resulting
15028in incorrect warnings and incorrect AML code.  This was a problem
15029in both the ASL parser and the code generator.
15030
15031
150324) Documentation:
15033
15034Added changes to existing interfaces, new exception codes, and new
15035text concerning reference count object management versus garbage
15036collection.
15037
15038----------------------------------------
1503909 May 2003.  Summary of changes for version 20030509.
15040
15041
150421) ACPI CA Core Subsystem:
15043
15044Changed the subsystem initialization sequence to hold off
15045installation of address space handlers until the hardware has been
15046initialized and the system has entered ACPI mode.  This is because
15047the installation of space handlers can cause _REG methods to be
15048run.  Previously, the _REG methods could potentially be run before
15049ACPI mode was enabled.
15050
15051Fixed some memory leak issues related to address space handler and
15052notify handler installation.  There were some problems with the
15053reference count mechanism caused by the fact that the handler
15054objects are shared across several namespace objects.
15055
15056Fixed a reported problem where reference counts within the
15057namespace were not properly updated when named objects created by
15058method execution were deleted.
15059
15060Fixed a reported problem where multiple SSDTs caused a deletion
15061issue during subsystem termination.  Restructured the table data
15062structures to simplify the linked lists and the related code.
15063
15064Fixed a problem where the table ID associated with secondary
15065tables (SSDTs) was not being propagated into the namespace objects
15066created by those tables.  This would only present a problem for
15067tables that are unloaded at run-time, however.
15068
15069Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
15070type as the length parameter (instead of UINT32).
15071
15072Solved a long-standing problem where an ALREADY_EXISTS error
15073appears on various systems.  This problem could happen when there
15074are multiple PCI_Config operation regions under a single PCI root
15075bus.  This doesn't happen very frequently, but there are some
15076systems that do this in the ASL.
15077
15078Fixed a reported problem where the internal DeleteNode function
15079was incorrectly handling the case where a namespace node was the
15080first in the parent's child list, and had additional peers (not
15081the only child, but first in the list of children.)
15082
15083Code and Data Size: Current core subsystem library sizes are shown
15084below.  These are the code and data sizes for the acpica.lib
15085produced by the Microsoft Visual C++ 6.0 compiler, and these
15086values do not include any ACPI driver or OSPM code.  The debug
15087version of the code includes the debug output trace mechanism and
15088has a much larger code and data size.  Note that these values will
15089vary depending on the efficiency of the compiler and the compiler
15090options used during generation.
15091
15092  Previous Release
15093    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
15094    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
15095  Current Release:
15096    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
15097    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
15098
15099
151002) Linux:
15101
15102Allow ":" in OS override string (Ducrot Bruno)
15103
15104Kobject fix (Greg KH)
15105
15106
151073 iASL Compiler/Disassembler:
15108
15109Fixed a problem in the generation of the C source code files (AML
15110is emitted in C source statements for BIOS inclusion) where the
15111Ascii dump that appears within a C comment at the end of each line
15112could cause a compile time error if the AML sequence happens to
15113have an open comment or close comment sequence embedded.
15114
15115
15116----------------------------------------
1511724 April 2003.  Summary of changes for version 20030424.
15118
15119
151201) ACPI CA Core Subsystem:
15121
15122Support for big-endian systems has been implemented.  Most of the
15123support has been invisibly added behind big-endian versions of the
15124ACPI_MOVE_* macros.
15125
15126Fixed a problem in AcpiHwDisableGpeBlock() and
15127AcpiHwClearGpeBlock() where an incorrect offset was passed to the
15128low level hardware write routine.  The offset parameter was
15129actually eliminated from the low level read/write routines because
15130they had become obsolete.
15131
15132Fixed a problem where a handler object was deleted twice during
15133the removal of a fixed event handler.
15134
15135
151362) Linux:
15137
15138A fix for SMP systems with link devices was contributed by
15139
15140Compaq's Dan Zink.
15141
15142(2.5) Return whether we handled the interrupt in our IRQ handler.
15143(Linux ISRs no longer return void, so we can propagate the handler
15144return value from the ACPI CA core back to the OS.)
15145
15146
15147
151483) Documentation:
15149
15150The ACPI CA Programmer Reference has been updated to reflect new
15151interfaces and changes to existing interfaces.
15152
15153----------------------------------------
1515428 March 2003.  Summary of changes for version 20030328.
15155
151561) ACPI CA Core Subsystem:
15157
15158The GPE Block Device support has been completed.  New interfaces
15159are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
15160interfaces (enable, disable, clear, getstatus) have been split
15161into separate interfaces for Fixed Events and General Purpose
15162Events (GPEs) in order to support GPE Block Devices properly.
15163
15164Fixed a problem where the error message "Failed to acquire
15165semaphore" would appear during operations on the embedded
15166controller (EC).
15167
15168Code and Data Size: Current core subsystem library sizes are shown
15169below.  These are the code and data sizes for the acpica.lib
15170produced by the Microsoft Visual C++ 6.0 compiler, and these
15171values do not include any ACPI driver or OSPM code.  The debug
15172version of the code includes the debug output trace mechanism and
15173has a much larger code and data size.  Note that these values will
15174vary depending on the efficiency of the compiler and the compiler
15175options used during generation.
15176
15177  Previous Release
15178    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
15179    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
15180  Current Release:
15181    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
15182    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
15183
15184
15185----------------------------------------
1518628 February 2003.  Summary of changes for version 20030228.
15187
15188
151891) ACPI CA Core Subsystem:
15190
15191The GPE handling and dispatch code has been completely overhauled
15192in preparation for support of GPE Block Devices (ID ACPI0006).
15193This affects internal data structures and code only; there should
15194be no differences visible externally.  One new file has been
15195added, evgpeblk.c
15196
15197The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
15198fields that are used to determine the GPE block lengths.  The
15199REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
15200structures are ignored.  This is per the ACPI specification but it
15201isn't very clear.  The full 256 Block 0/1 GPEs are now supported
15202(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
15203
15204In the SCI interrupt handler, removed the read of the PM1_CONTROL
15205register to look at the SCI_EN bit.  On some machines, this read
15206causes an SMI event and greatly slows down SCI events.  (This may
15207in fact be the cause of slow battery status response on some
15208systems.)
15209
15210Fixed a problem where a store of a NULL string to a package object
15211could cause the premature deletion of the object.  This was seen
15212during execution of the battery _BIF method on some systems,
15213resulting in no battery data being returned.
15214
15215Added AcpiWalkResources interface to simplify parsing of resource
15216lists.
15217
15218Code and Data Size: Current core subsystem library sizes are shown
15219below.  These are the code and data sizes for the acpica.lib
15220produced by the Microsoft Visual C++ 6.0 compiler, and these
15221values do not include any ACPI driver or OSPM code.  The debug
15222version of the code includes the debug output trace mechanism and
15223has a much larger code and data size.  Note that these values will
15224vary depending on the efficiency of the compiler and the compiler
15225options used during generation.
15226
15227  Previous Release
15228    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
15229    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
15230  Current Release:
15231    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
15232    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
15233
15234
152352) Linux
15236
15237S3 fixes (Ole Rohne)
15238
15239Update ACPI PHP driver with to use new acpi_walk_resource API
15240(Bjorn Helgaas)
15241
15242Add S4BIOS support (Pavel Machek)
15243
15244Map in entire table before performing checksum (John Stultz)
15245
15246Expand the mem= cmdline to allow the specification of reserved and
15247ACPI DATA blocks (Pavel Machek)
15248
15249Never use ACPI on VISWS
15250
15251Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
15252
15253Revert a change that allowed P_BLK lengths to be 4 or 5. This is
15254causing us to think that some systems support C2 when they really
15255don't.
15256
15257Do not count processor objects for non-present CPUs (Thanks to
15258Dominik Brodowski)
15259
15260
152613) iASL Compiler:
15262
15263Fixed a problem where ASL include files could not be found and
15264opened.
15265
15266Added support for the _PDC reserved name.
15267
15268
15269----------------------------------------
1527022 January 2003.  Summary of changes for version 20030122.
15271
15272
152731) ACPI CA Core Subsystem:
15274
15275Added a check for constructs of the form:  Store (Local0, Local0)
15276where Local0 is not initialized.  Apparently, some BIOS
15277programmers believe that this is a NOOP.  Since this store doesn't
15278do anything anyway, the new prototype behavior will ignore this
15279error.  This is a case where we can relax the strict checking in
15280the interpreter in the name of compatibility.
15281
15282
152832) Linux
15284
15285The AcpiSrc Source Conversion Utility has been released with the
15286Linux package for the first time.  This is the utility that is
15287used to convert the ACPI CA base source code to the Linux version.
15288
15289(Both) Handle P_BLK lengths shorter than 6 more gracefully
15290
15291(Both) Move more headers to include/acpi, and delete an unused
15292header.
15293
15294(Both) Move drivers/acpi/include directory to include/acpi
15295
15296(Both) Boot functions don't use cmdline, so don't pass it around
15297
15298(Both) Remove include of unused header (Adrian Bunk)
15299
15300(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
15301the
15302former now also includes the latter, acpiphp.h only needs the one,
15303now.
15304
15305(2.5) Make it possible to select method of bios restoring after S3
15306resume. [=> no more ugly ifdefs] (Pavel Machek)
15307
15308(2.5) Make proc write interfaces work (Pavel Machek)
15309
15310(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
15311
15312(2.5) Break out ACPI Perf code into its own module, under cpufreq
15313(Dominik Brodowski)
15314
15315(2.4) S4BIOS support (Ducrot Bruno)
15316
15317(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
15318Visinoni)
15319
15320
153213) iASL Compiler:
15322
15323Added support to disassemble SSDT and PSDTs.
15324
15325Implemented support to obtain SSDTs from the Windows registry if
15326available.
15327
15328
15329----------------------------------------
1533009 January 2003.  Summary of changes for version 20030109.
15331
153321) ACPI CA Core Subsystem:
15333
15334Changed the behavior of the internal Buffer-to-String conversion
15335function.  The current ACPI specification states that the contents
15336of the buffer are "converted to a string of two-character
15337hexadecimal numbers, each separated by a space".  Unfortunately,
15338this definition is not backwards compatible with existing ACPI 1.0
15339implementations (although the behavior was not defined in the ACPI
153401.0 specification).  The new behavior simply copies data from the
15341buffer to the string until a null character is found or the end of
15342the buffer is reached.  The new String object is always null
15343terminated.  This problem was seen during the generation of _BIF
15344battery data where incorrect strings were returned for battery
15345type, etc.  This will also require an errata to the ACPI
15346specification.
15347
15348Renamed all instances of NATIVE_UINT and NATIVE_INT to
15349ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
15350
15351Copyright in all module headers (both Linux and non-Linux) has be
15352updated to 2003.
15353
15354Code and Data Size: Current core subsystem library sizes are shown
15355below.  These are the code and data sizes for the acpica.lib
15356produced by the Microsoft Visual C++ 6.0 compiler, and these
15357values do not include any ACPI driver or OSPM code.  The debug
15358version of the code includes the debug output trace mechanism and
15359has a much larger code and data size.  Note that these values will
15360vary depending on the efficiency of the compiler and the compiler
15361options used during generation.
15362
15363  Previous Release
15364    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
15365    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
15366  Current Release:
15367    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
15368    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
15369
15370
153712) Linux
15372
15373Fixed an oops on module insertion/removal (Matthew Tippett)
15374
15375(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
15376
15377(2.5) Replace pr_debug (Randy Dunlap)
15378
15379(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
15380
15381(Both) Eliminate spawning of thread from timer callback, in favor
15382of schedule_work()
15383
15384(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
15385
15386(Both) Added define for Fixed Function HW region (Matthew Wilcox)
15387
15388(Both) Add missing statics to button.c (Pavel Machek)
15389
15390Several changes have been made to the source code translation
15391utility that generates the Linux Code in order to make the code
15392more "Linux-like":
15393
15394All typedefs on structs and unions have been removed in keeping
15395with the Linux coding style.
15396
15397Removed the non-Linux SourceSafe module revision number from each
15398module header.
15399
15400Completed major overhaul of symbols to be lowercase for linux.
15401Doubled the number of symbols that are lowercase.
15402
15403Fixed a problem where identifiers within procedure headers and
15404within quotes were not fully lower cased (they were left with a
15405starting capital.)
15406
15407Some C macros whose only purpose is to allow the generation of 16-
15408bit code are now completely removed in the Linux code, increasing
15409readability and maintainability.
15410
15411----------------------------------------
15412
1541312 December 2002.  Summary of changes for version 20021212.
15414
15415
154161) ACPI CA Core Subsystem:
15417
15418Fixed a problem where the creation of a zero-length AML Buffer
15419would cause a fault.
15420
15421Fixed a problem where a Buffer object that pointed to a static AML
15422buffer (in an ACPI table) could inadvertently be deleted, causing
15423memory corruption.
15424
15425Fixed a problem where a user buffer (passed in to the external
15426ACPI CA interfaces) could be overwritten if the buffer was too
15427small to complete the operation, causing memory corruption.
15428
15429Fixed a problem in the Buffer-to-String conversion code where a
15430string of length one was always returned, regardless of the size
15431of the input Buffer object.
15432
15433Removed the NATIVE_CHAR data type across the entire source due to
15434lack of need and lack of consistent use.
15435
15436Code and Data Size: Current core subsystem library sizes are shown
15437below.  These are the code and data sizes for the acpica.lib
15438produced by the Microsoft Visual C++ 6.0 compiler, and these
15439values do not include any ACPI driver or OSPM code.  The debug
15440version of the code includes the debug output trace mechanism and
15441has a much larger code and data size.  Note that these values will
15442vary depending on the efficiency of the compiler and the compiler
15443options used during generation.
15444
15445  Previous Release
15446    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
15447    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
15448  Current Release:
15449    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
15450    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
15451
15452
15453----------------------------------------
1545405 December 2002.  Summary of changes for version 20021205.
15455
154561) ACPI CA Core Subsystem:
15457
15458Fixed a problem where a store to a String or Buffer object could
15459cause corruption of the DSDT if the object type being stored was
15460the same as the target object type and the length of the object
15461being stored was equal to or smaller than the original (existing)
15462target object.  This was seen to cause corruption of battery _BIF
15463buffers if the _BIF method modified the buffer on the fly.
15464
15465Fixed a problem where an internal error was generated if a control
15466method invocation was used in an OperationRegion, Buffer, or
15467Package declaration.  This was caused by the deferred parsing of
15468the control method and thus the deferred creation of the internal
15469method object.  The solution to this problem was to create the
15470internal method object at the moment the method is encountered in
15471the first pass - so that subsequent references to the method will
15472able to obtain the required parameter count and thus properly
15473parse the method invocation.  This problem presented itself as an
15474AE_AML_INTERNAL during the pass 1 parse phase during table load.
15475
15476Fixed a problem where the internal String object copy routine did
15477not always allocate sufficient memory for the target String object
15478and caused memory corruption.  This problem was seen to cause
15479"Allocation already present in list!" errors as memory allocation
15480became corrupted.
15481
15482Implemented a new function for the evaluation of namespace objects
15483that allows the specification of the allowable return object
15484types.  This simplifies a lot of code that checks for a return
15485object of one or more specific objects returned from the
15486evaluation (such as _STA, etc.)  This may become and external
15487function if it would be useful to ACPI-related drivers.
15488
15489Completed another round of prefixing #defines with "ACPI_" for
15490clarity.
15491
15492Completed additional code restructuring to allow more modular
15493linking for iASL compiler and AcpiExec.  Several files were split
15494creating new files.  New files:  nsparse.c dsinit.c evgpe.c
15495
15496Implemented an abort mechanism to terminate an executing control
15497method via the AML debugger.  This feature is useful for debugging
15498control methods that depend (wait) for specific hardware
15499responses.
15500
15501Code and Data Size: Current core subsystem library sizes are shown
15502below.  These are the code and data sizes for the acpica.lib
15503produced by the Microsoft Visual C++ 6.0 compiler, and these
15504values do not include any ACPI driver or OSPM code.  The debug
15505version of the code includes the debug output trace mechanism and
15506has a much larger code and data size.  Note that these values will
15507vary depending on the efficiency of the compiler and the compiler
15508options used during generation.
15509
15510  Previous Release
15511    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15512    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15513  Current Release:
15514    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
15515    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
15516
15517
155182) iASL Compiler/Disassembler
15519
15520Fixed a compiler code generation problem for "Interrupt" Resource
15521Descriptors.  If specified in the ASL, the optional "Resource
15522Source Index" and "Resource Source" fields were not inserted into
15523the correct location within the AML resource descriptor, creating
15524an invalid descriptor.
15525
15526Fixed a disassembler problem for "Interrupt" resource descriptors.
15527The optional "Resource Source Index" and "Resource Source" fields
15528were ignored.
15529
15530
15531----------------------------------------
1553222 November 2002.  Summary of changes for version 20021122.
15533
15534
155351) ACPI CA Core Subsystem:
15536
15537Fixed a reported problem where an object stored to a Method Local
15538or Arg was not copied to a new object during the store - the
15539object pointer was simply copied to the Local/Arg.  This caused
15540all subsequent operations on the Local/Arg to also affect the
15541original source of the store operation.
15542
15543Fixed a problem where a store operation to a Method Local or Arg
15544was not completed properly if the Local/Arg contained a reference
15545(from RefOf) to a named field.  The general-purpose store-to-
15546namespace-node code is now used so that this case is handled
15547automatically.
15548
15549Fixed a problem where the internal object copy routine would cause
15550a protection fault if the object being copied was a Package and
15551contained either 1) a NULL package element or 2) a nested sub-
15552package.
15553
15554Fixed a problem with the GPE initialization that resulted from an
15555ambiguity in the ACPI specification.  One section of the
15556specification states that both the address and length of the GPE
15557block must be zero if the block is not supported.  Another section
15558implies that only the address need be zero if the block is not
15559supported.  The code has been changed so that both the address and
15560the length must be non-zero to indicate a valid GPE block (i.e.,
15561if either the address or the length is zero, the GPE block is
15562invalid.)
15563
15564Code and Data Size: Current core subsystem library sizes are shown
15565below.  These are the code and data sizes for the acpica.lib
15566produced by the Microsoft Visual C++ 6.0 compiler, and these
15567values do not include any ACPI driver or OSPM code.  The debug
15568version of the code includes the debug output trace mechanism and
15569has a much larger code and data size.  Note that these values will
15570vary depending on the efficiency of the compiler and the compiler
15571options used during generation.
15572
15573  Previous Release
15574    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15575    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15576  Current Release:
15577    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15578    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15579
15580
155812) Linux
15582
15583Cleaned up EC driver. Exported an external EC read/write
15584interface. By going through this, other drivers (most notably
15585sonypi) will be able to serialize access to the EC.
15586
15587
155883) iASL Compiler/Disassembler
15589
15590Implemented support to optionally generate include files for both
15591ASM and C (the -i switch).  This simplifies BIOS development by
15592automatically creating include files that contain external
15593declarations for the symbols that are created within the
15594
15595(optionally generated) ASM and C AML source files.
15596
15597
15598----------------------------------------
1559915 November 2002.  Summary of changes for version 20021115.
15600
156011) ACPI CA Core Subsystem:
15602
15603Fixed a memory leak problem where an error during resolution of
15604
15605method arguments during a method invocation from another method
15606failed to cleanup properly by deleting all successfully resolved
15607argument objects.
15608
15609Fixed a problem where the target of the Index() operator was not
15610correctly constructed if the source object was a package.  This
15611problem has not been detected because the use of a target operand
15612with Index() is very rare.
15613
15614Fixed a problem with the Index() operator where an attempt was
15615made to delete the operand objects twice.
15616
15617Fixed a problem where an attempt was made to delete an operand
15618twice during execution of the CondRefOf() operator if the target
15619did not exist.
15620
15621Implemented the first of perhaps several internal create object
15622functions that create and initialize a specific object type.  This
15623consolidates duplicated code wherever the object is created, thus
15624shrinking the size of the subsystem.
15625
15626Implemented improved debug/error messages for errors that occur
15627during nested method invocations.  All executing method pathnames
15628are displayed (with the error) as the call stack is unwound - thus
15629simplifying debug.
15630
15631Fixed a problem introduced in the 10/02 release that caused
15632premature deletion of a buffer object if a buffer was used as an
15633ASL operand where an integer operand is required (Thus causing an
15634implicit object conversion from Buffer to Integer.)  The change in
15635the 10/02 release was attempting to fix a memory leak (albeit
15636incorrectly.)
15637
15638Code and Data Size: Current core subsystem library sizes are shown
15639below.  These are the code and data sizes for the acpica.lib
15640produced by the Microsoft Visual C++ 6.0 compiler, and these
15641values do not include any ACPI driver or OSPM code.  The debug
15642version of the code includes the debug output trace mechanism and
15643has a much larger code and data size.  Note that these values will
15644vary depending on the efficiency of the compiler and the compiler
15645options used during generation.
15646
15647  Previous Release
15648    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15649    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15650  Current Release:
15651    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15652    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15653
15654
156552) Linux
15656
15657Changed the implementation of the ACPI semaphores to use down()
15658instead of down_interruptable().  It is important that the
15659execution of ACPI control methods not be interrupted by signals.
15660Methods must run to completion, or the system may be left in an
15661unknown/unstable state.
15662
15663Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
15664(Shawn Starr)
15665
15666
156673) iASL Compiler/Disassembler
15668
15669
15670Changed the default location of output files.  All output files
15671are now placed in the current directory by default instead of in
15672the directory of the source file.  This change may affect some
15673existing makefiles, but it brings the behavior of the compiler in
15674line with other similar tools.  The location of the output files
15675can be overridden with the -p command line switch.
15676
15677
15678----------------------------------------
1567911 November 2002.  Summary of changes for version 20021111.
15680
15681
156820) ACPI Specification 2.0B is released and is now available at:
15683http://www.acpi.info/index.html
15684
15685
156861) ACPI CA Core Subsystem:
15687
15688Implemented support for the ACPI 2.0 SMBus Operation Regions.
15689This includes the early detection and handoff of the request to
15690the SMBus region handler (avoiding all of the complex field
15691support code), and support for the bidirectional return packet
15692from an SMBus write operation.  This paves the way for the
15693development of SMBus drivers in each host operating system.
15694
15695Fixed a problem where the semaphore WAIT_FOREVER constant was
15696defined as 32 bits, but must be 16 bits according to the ACPI
15697specification.  This had the side effect of causing ASL
15698Mutex/Event timeouts even though the ASL code requested a wait
15699forever.  Changed all internal references to the ACPI timeout
15700parameter to 16 bits to prevent future problems.  Changed the name
15701of WAIT_FOREVER to ACPI_WAIT_FOREVER.
15702
15703Code and Data Size: Current core subsystem library sizes are shown
15704below.  These are the code and data sizes for the acpica.lib
15705produced by the Microsoft Visual C++ 6.0 compiler, and these
15706values do not include any ACPI driver or OSPM code.  The debug
15707version of the code includes the debug output trace mechanism and
15708has a much larger code and data size.  Note that these values will
15709vary depending on the efficiency of the compiler and the compiler
15710options used during generation.
15711
15712  Previous Release
15713    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15714    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15715  Current Release:
15716    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15717    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15718
15719
157202) Linux
15721
15722Module loading/unloading fixes (John Cagle)
15723
15724
157253) iASL Compiler/Disassembler
15726
15727Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
15728
15729Implemented support for the disassembly of all SMBus protocol
15730keywords (SMBQuick, SMBWord, etc.)
15731
15732----------------------------------------
1573301 November 2002.  Summary of changes for version 20021101.
15734
15735
157361) ACPI CA Core Subsystem:
15737
15738Fixed a problem where platforms that have a GPE1 block but no GPE0
15739block were not handled correctly.  This resulted in a "GPE
15740overlap" error message.  GPE0 is no longer required.
15741
15742Removed code added in the previous release that inserted nodes
15743into the namespace in alphabetical order.  This caused some side-
15744effects on various machines.  The root cause of the problem is
15745still under investigation since in theory, the internal ordering
15746of the namespace nodes should not matter.
15747
15748
15749Enhanced error reporting for the case where a named object is not
15750found during control method execution.  The full ACPI namepath
15751(name reference) of the object that was not found is displayed in
15752this case.
15753
15754Note: as a result of the overhaul of the namespace object types in
15755the previous release, the namespace nodes for the predefined
15756scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
15757instead of ACPI_TYPE_ANY.  This simplifies the namespace
15758management code but may affect code that walks the namespace tree
15759looking for specific object types.
15760
15761Code and Data Size: Current core subsystem library sizes are shown
15762below.  These are the code and data sizes for the acpica.lib
15763produced by the Microsoft Visual C++ 6.0 compiler, and these
15764values do not include any ACPI driver or OSPM code.  The debug
15765version of the code includes the debug output trace mechanism and
15766has a much larger code and data size.  Note that these values will
15767vary depending on the efficiency of the compiler and the compiler
15768options used during generation.
15769
15770  Previous Release
15771    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15772    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15773  Current Release:
15774    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15775    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15776
15777
157782) Linux
15779
15780Fixed a problem introduced in the previous release where the
15781Processor and Thermal objects were not recognized and installed in
15782/proc.  This was related to the scope type change described above.
15783
15784
157853) iASL Compiler/Disassembler
15786
15787Implemented the -g option to get all of the required ACPI tables
15788from the registry and save them to files (Windows version of the
15789compiler only.)  The required tables are the FADT, FACS, and DSDT.
15790
15791Added ACPI table checksum validation during table disassembly in
15792order to catch corrupted tables.
15793
15794
15795----------------------------------------
1579622 October 2002.  Summary of changes for version 20021022.
15797
157981) ACPI CA Core Subsystem:
15799
15800Implemented a restriction on the Scope operator that the target
15801must already exist in the namespace at the time the operator is
15802encountered (during table load or method execution).  In other
15803words, forward references are not allowed and Scope() cannot
15804create a new object. This changes the previous behavior where the
15805interpreter would create the name if not found.  This new behavior
15806correctly enables the search-to-root algorithm during namespace
15807lookup of the target name.  Because of this upsearch, this fixes
15808the known Compaq _SB_.OKEC problem and makes both the AML
15809interpreter and iASL compiler compatible with other ACPI
15810implementations.
15811
15812Completed a major overhaul of the internal ACPI object types for
15813the ACPI Namespace and the associated operand objects.  Many of
15814these types had become obsolete with the introduction of the two-
15815pass namespace load.  This cleanup simplifies the code and makes
15816the entire namespace load mechanism much clearer and easier to
15817understand.
15818
15819Improved debug output for tracking scope opening/closing to help
15820diagnose scoping issues.  The old scope name as well as the new
15821scope name are displayed.  Also improved error messages for
15822problems with ASL Mutex objects and error messages for GPE
15823problems.
15824
15825Cleaned up the namespace dump code, removed obsolete code.
15826
15827All string output (for all namespace/object dumps) now uses the
15828common ACPI string output procedure which handles escapes properly
15829and does not emit non-printable characters.
15830
15831Fixed some issues with constants in the 64-bit version of the
15832local C library (utclib.c)
15833
15834
158352) Linux
15836
15837EC Driver:  No longer attempts to acquire the Global Lock at
15838interrupt level.
15839
15840
158413) iASL Compiler/Disassembler
15842
15843Implemented ACPI 2.0B grammar change that disallows all Type 1 and
158442 opcodes outside of a control method.  This means that the
15845"executable" operators (versus the "namespace" operators) cannot
15846be used at the table level; they can only be used within a control
15847method.
15848
15849Implemented the restriction on the Scope() operator where the
15850target must already exist in the namespace at the time the
15851operator is encountered (during ASL compilation). In other words,
15852forward references are not allowed and Scope() cannot create a new
15853object.  This makes the iASL compiler compatible with other ACPI
15854implementations and makes the Scope() implementation adhere to the
15855ACPI specification.
15856
15857Fixed a problem where namepath optimization for the Alias operator
15858was optimizing the wrong path (of the two namepaths.)  This caused
15859a "Missing alias link" error message.
15860
15861Fixed a problem where an "unknown reserved name" warning could be
15862incorrectly generated for names like "_SB" when the trailing
15863underscore is not used in the original ASL.
15864
15865Fixed a problem where the reserved name check did not handle
15866NamePaths with multiple NameSegs correctly.  The first nameseg of
15867the NamePath was examined instead of the last NameSeg.
15868
15869
15870----------------------------------------
15871
1587202 October 2002.  Summary of changes for this release.
15873
15874
158751) ACPI CA Core Subsystem version 20021002:
15876
15877Fixed a problem where a store/copy of a string to an existing
15878string did not always set the string length properly in the String
15879object.
15880
15881Fixed a reported problem with the ToString operator where the
15882behavior was identical to the ToHexString operator instead of just
15883simply converting a raw buffer to a string data type.
15884
15885Fixed a problem where CopyObject and the other "explicit"
15886conversion operators were not updating the internal namespace node
15887type as part of the store operation.
15888
15889Fixed a memory leak during implicit source operand conversion
15890where the original object was not deleted if it was converted to a
15891new object of a different type.
15892
15893Enhanced error messages for all problems associated with namespace
15894lookups.  Common procedure generates and prints the lookup name as
15895well as the formatted status.
15896
15897Completed implementation of a new design for the Alias support
15898within the namespace.  The existing design did not handle the case
15899where a new object was assigned to one of the two names due to the
15900use of an explicit conversion operator, resulting in the two names
15901pointing to two different objects.  The new design simply points
15902the Alias name to the original name node - not to the object.
15903This results in a level of indirection that must be handled in the
15904name resolution mechanism.
15905
15906Code and Data Size: Current core subsystem library sizes are shown
15907below.  These are the code and data sizes for the acpica.lib
15908produced by the Microsoft Visual C++ 6.0 compiler, and these
15909values do not include any ACPI driver or OSPM code.  The debug
15910version of the code includes the debug output trace mechanism and
15911has a larger code and data size.  Note that these values will vary
15912depending on the efficiency of the compiler and the compiler
15913options used during generation.
15914
15915  Previous Release
15916    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15917    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15918  Current Release:
15919    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15920    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15921
15922
159232) Linux
15924
15925Initialize thermal driver's timer before it is used. (Knut
15926Neumann)
15927
15928Allow handling negative celsius values. (Kochi Takayoshi)
15929
15930Fix thermal management and make trip points. R/W (Pavel Machek)
15931
15932Fix /proc/acpi/sleep. (P. Christeas)
15933
15934IA64 fixes. (David Mosberger)
15935
15936Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
15937
15938Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
15939Brodowski)
15940
15941
159423) iASL Compiler/Disassembler
15943
15944Clarified some warning/error messages.
15945
15946
15947----------------------------------------
1594818 September 2002.  Summary of changes for this release.
15949
15950
159511) ACPI CA Core Subsystem version 20020918:
15952
15953Fixed a reported problem with reference chaining (via the Index()
15954and RefOf() operators) in the ObjectType() and SizeOf() operators.
15955The definition of these operators includes the dereferencing of
15956all chained references to return information on the base object.
15957
15958Fixed a problem with stores to indexed package elements - the
15959existing code would not complete the store if an "implicit
15960conversion" was not performed.  In other words, if the existing
15961object (package element) was to be replaced completely, the code
15962didn't handle this case.
15963
15964Relaxed typechecking on the ASL "Scope" operator to allow the
15965target name to refer to an object of type Integer, String, or
15966Buffer, in addition to the scoping object types (Device,
15967predefined Scopes, Processor, PowerResource, and ThermalZone.)
15968This allows existing AML code that has workarounds for a bug in
15969Windows to function properly.  A warning is issued, however.  This
15970affects both the AML interpreter and the iASL compiler. Below is
15971an example of this type of ASL code:
15972
15973      Name(DEB,0x00)
15974      Scope(DEB)
15975      {
15976
15977Fixed some reported problems with 64-bit integer support in the
15978local implementation of C library functions (clib.c)
15979
15980
159812) Linux
15982
15983Use ACPI fix map region instead of IOAPIC region, since it is
15984undefined in non-SMP.
15985
15986Ensure that the SCI has the proper polarity and trigger, even on
15987systems that do not have an interrupt override entry in the MADT.
15988
159892.5 big driver reorganization (Pat Mochel)
15990
15991Use early table mapping code from acpitable.c (Andi Kleen)
15992
15993New blacklist entries (Andi Kleen)
15994
15995Blacklist improvements. Split blacklist code out into a separate
15996file. Move checking the blacklist to very early. Previously, we
15997would use ACPI tables, and then halfway through init, check the
15998blacklist -- too late. Now, it's early enough to completely fall-
15999back to non-ACPI.
16000
16001
160023) iASL Compiler/Disassembler version 20020918:
16003
16004Fixed a problem where the typechecking code didn't know that an
16005alias could point to a method.  In other words, aliases were not
16006being dereferenced during typechecking.
16007
16008
16009----------------------------------------
1601029 August 2002.  Summary of changes for this release.
16011
160121) ACPI CA Core Subsystem Version 20020829:
16013
16014If the target of a Scope() operator already exists, it must be an
16015object type that actually opens a scope -- such as a Device,
16016Method, Scope, etc.  This is a fatal runtime error.  Similar error
16017check has been added to the iASL compiler also.
16018
16019Tightened up the namespace load to disallow multiple names in the
16020same scope.  This previously was allowed if both objects were of
16021the same type.  (i.e., a lookup was the same as entering a new
16022name).
16023
16024
160252) Linux
16026
16027Ensure that the ACPI interrupt has the proper trigger and
16028polarity.
16029
16030local_irq_disable is extraneous. (Matthew Wilcox)
16031
16032Make "acpi=off" actually do what it says, and not use the ACPI
16033interpreter *or* the tables.
16034
16035Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
16036Takayoshi)
16037
16038
160393) iASL Compiler/Disassembler  Version 20020829:
16040
16041Implemented namepath optimization for name declarations.  For
16042example, a declaration like "Method (\_SB_.ABCD)" would get
16043optimized to "Method (ABCD)" if the declaration is within the
16044\_SB_ scope.  This optimization is in addition to the named
16045reference path optimization first released in the previous
16046version. This would seem to complete all possible optimizations
16047for namepaths within the ASL/AML.
16048
16049If the target of a Scope() operator already exists, it must be an
16050object type that actually opens a scope -- such as a Device,
16051Method, Scope, etc.
16052
16053Implemented a check and warning for unreachable code in the same
16054block below a Return() statement.
16055
16056Fixed a problem where the listing file was not generated if the
16057compiler aborted if the maximum error count was exceeded (200).
16058
16059Fixed a problem where the typechecking of method return values was
16060broken.  This includes the check for a return value when the
16061method is invoked as a TermArg (a return value is expected.)
16062
16063Fixed a reported problem where EOF conditions during a quoted
16064string or comment caused a fault.
16065
16066
16067----------------------------------------
1606815 August 2002.  Summary of changes for this release.
16069
160701) ACPI CA Core Subsystem Version 20020815:
16071
16072Fixed a reported problem where a Store to a method argument that
16073contains a reference did not perform the indirect store correctly.
16074This problem was created during the conversion to the new
16075reference object model - the indirect store to a method argument
16076code was not updated to reflect the new model.
16077
16078Reworked the ACPI mode change code to better conform to ACPI 2.0,
16079handle corner cases, and improve code legibility (Kochi Takayoshi)
16080
16081Fixed a problem with the pathname parsing for the carat (^)
16082prefix.  The heavy use of the carat operator by the new namepath
16083optimization in the iASL compiler uncovered a problem with the AML
16084interpreter handling of this prefix.  In the case where one or
16085more carats precede a single nameseg, the nameseg was treated as
16086standalone and the search rule (to root) was inadvertently
16087applied.  This could cause both the iASL compiler and the
16088interpreter to find the wrong object or to miss the error that
16089should occur if the object does not exist at that exact pathname.
16090
16091Found and fixed the problem where the HP Pavilion DSDT would not
16092load.  This was a relatively minor tweak to the table loading code
16093(a problem caused by the unexpected encounter with a method
16094invocation not within a control method), but it does not solve the
16095overall issue of the execution of AML code at the table level.
16096This investigation is still ongoing.
16097
16098Code and Data Size: Current core subsystem library sizes are shown
16099below.  These are the code and data sizes for the acpica.lib
16100produced by the Microsoft Visual C++ 6.0 compiler, and these
16101values do not include any ACPI driver or OSPM code.  The debug
16102version of the code includes the debug output trace mechanism and
16103has a larger code and data size.  Note that these values will vary
16104depending on the efficiency of the compiler and the compiler
16105options used during generation.
16106
16107  Previous Release
16108    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
16109    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
16110  Current Release:
16111    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
16112    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
16113
16114
161152) Linux
16116
16117Remove redundant slab.h include (Brad Hards)
16118
16119Fix several bugs in thermal.c (Herbert Nachtnebel)
16120
16121Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
16122
16123Change acpi_system_suspend to use updated irq functions (Pavel
16124Machek)
16125
16126Export acpi_get_firmware_table (Matthew Wilcox)
16127
16128Use proper root proc entry for ACPI (Kochi Takayoshi)
16129
16130Fix early-boot table parsing (Bjorn Helgaas)
16131
16132
161333) iASL Compiler/Disassembler
16134
16135Reworked the compiler options to make them more consistent and to
16136use two-letter options where appropriate.  We were running out of
16137sensible letters.   This may break some makefiles, so check the
16138current options list by invoking the compiler with no parameters.
16139
16140Completed the design and implementation of the ASL namepath
16141optimization option for the compiler.  This option optimizes all
16142references to named objects to the shortest possible path.  The
16143first attempt tries to utilize a single nameseg (4 characters) and
16144the "search-to-root" algorithm used by the interpreter.  If that
16145cannot be used (because either the name is not in the search path
16146or there is a conflict with another object with the same name),
16147the pathname is optimized using the carat prefix (usually a
16148shorter string than specifying the entire path from the root.)
16149
16150Implemented support to obtain the DSDT from the Windows registry
16151(when the disassembly option is specified with no input file).
16152Added this code as the implementation for AcpiOsTableOverride in
16153the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
16154utility) to scan memory for the DSDT to the AcpiOsTableOverride
16155function in the DOS OSL to make the disassembler truly OS
16156independent.
16157
16158Implemented a new option to disassemble and compile in one step.
16159When used without an input filename, this option will grab the
16160DSDT from the local machine, disassemble it, and compile it in one
16161step.
16162
16163Added a warning message for invalid escapes (a backslash followed
16164by any character other than the allowable escapes).  This catches
16165the quoted string error "\_SB_" (which should be "\\_SB_" ).
16166
16167Also, there are numerous instances in the ACPI specification where
16168this error occurs.
16169
16170Added a compiler option to disable all optimizations.  This is
16171basically the "compatibility mode" because by using this option,
16172the AML code will come out exactly the same as other ASL
16173compilers.
16174
16175Added error messages for incorrectly ordered dependent resource
16176functions.  This includes: missing EndDependentFn macro at end of
16177dependent resource list, nested dependent function macros (both
16178start and end), and missing StartDependentFn macro.  These are
16179common errors that should be caught at compile time.
16180
16181Implemented _OSI support for the disassembler and compiler.  _OSI
16182must be included in the namespace for proper disassembly (because
16183the disassembler must know the number of arguments.)
16184
16185Added an "optimization" message type that is optional (off by
16186default).  This message is used for all optimizations - including
16187constant folding, integer optimization, and namepath optimization.
16188
16189----------------------------------------
1619025 July 2002.  Summary of changes for this release.
16191
16192
161931) ACPI CA Core Subsystem Version 20020725:
16194
16195The AML Disassembler has been enhanced to produce compilable ASL
16196code and has been integrated into the iASL compiler (see below) as
16197well as the single-step disassembly for the AML debugger and the
16198disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
16199resource templates and macros are fully supported.  The
16200disassembler has been tested on over 30 different AML files,
16201producing identical AML when the resulting disassembled ASL file
16202is recompiled with the same ASL compiler.
16203
16204Modified the Resource Manager to allow zero interrupts and zero
16205dma channels during the GetCurrentResources call.  This was
16206causing problems on some platforms.
16207
16208Added the AcpiOsRedirectOutput interface to the OSL to simplify
16209output redirection for the AcpiOsPrintf and AcpiOsVprintf
16210interfaces.
16211
16212Code and Data Size: Current core subsystem library sizes are shown
16213below.  These are the code and data sizes for the acpica.lib
16214produced by the Microsoft Visual C++ 6.0 compiler, and these
16215values do not include any ACPI driver or OSPM code.  The debug
16216version of the code includes the debug output trace mechanism and
16217has a larger code and data size.  Note that these values will vary
16218depending on the efficiency of the compiler and the compiler
16219options used during generation.
16220
16221  Previous Release
16222    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
16223    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
16224  Current Release:
16225    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
16226    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
16227
16228
162292) Linux
16230
16231Fixed a panic in the EC driver (Dominik Brodowski)
16232
16233Implemented checksum of the R/XSDT itself during Linux table scan
16234(Richard Schaal)
16235
16236
162373) iASL compiler
16238
16239The AML disassembler is integrated into the compiler.  The "-d"
16240option invokes the disassembler  to completely disassemble an
16241input AML file, producing as output a text ASL file with the
16242extension ".dsl" (to avoid name collisions with existing .asl
16243source files.)  A future enhancement will allow the disassembler
16244to obtain the BIOS DSDT from the registry under Windows.
16245
16246Fixed a problem with the VendorShort and VendorLong resource
16247descriptors where an invalid AML sequence was created.
16248
16249Implemented a fix for BufferData term in the ASL parser.  It was
16250inadvertently defined twice, allowing invalid syntax to pass and
16251causing reduction conflicts.
16252
16253Fixed a problem where the Ones opcode could get converted to a
16254value of zero if "Ones" was used where a byte, word or dword value
16255was expected.  The 64-bit value is now truncated to the correct
16256size with the correct value.
16257
16258
16259
16260----------------------------------------
1626102 July 2002.  Summary of changes for this release.
16262
16263
162641) ACPI CA Core Subsystem Version 20020702:
16265
16266The Table Manager code has been restructured to add several new
16267features.  Tables that are not required by the core subsystem
16268(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
16269validated in any way and are returned from AcpiGetFirmwareTable if
16270requested.  The AcpiOsTableOverride interface is now called for
16271each table that is loaded by the subsystem in order to allow the
16272host to override any table it chooses.  Previously, only the DSDT
16273could be overridden.  Added one new files, tbrsdt.c and
16274tbgetall.c.
16275
16276Fixed a problem with the conversion of internal package objects to
16277external objects (when a package is returned from a control
16278method.)  The return buffer length was set to zero instead of the
16279proper length of the package object.
16280
16281Fixed a reported problem with the use of the RefOf and DeRefOf
16282operators when passing reference arguments to control methods.  A
16283new type of Reference object is used internally for references
16284produced by the RefOf operator.
16285
16286Added additional error messages in the Resource Manager to explain
16287AE_BAD_DATA errors when they occur during resource parsing.
16288
16289Split the AcpiEnableSubsystem into two primitives to enable a
16290finer granularity initialization sequence.  These two calls should
16291be called in this order: AcpiEnableSubsystem (flags),
16292AcpiInitializeObjects (flags).  The flags parameter remains the
16293same.
16294
16295
162962) Linux
16297
16298Updated the ACPI utilities module to understand the new style of
16299fully resolved package objects that are now returned from the core
16300subsystem.  This eliminates errors of the form:
16301
16302    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
16303    acpi_utils-0430 [145] acpi_evaluate_reference:
16304        Invalid element in package (not a device reference)
16305
16306The method evaluation utility uses the new buffer allocation
16307scheme instead of calling AcpiEvaluate Object twice.
16308
16309Added support for ECDT. This allows the use of the Embedded
16310
16311Controller before the namespace has been fully initialized, which
16312is necessary for ACPI 2.0 support, and for some laptops to
16313initialize properly. (Laptops using ECDT are still rare, so only
16314limited testing was performed of the added functionality.)
16315
16316Fixed memory leaks in the EC driver.
16317
16318Eliminated a brittle code structure in acpi_bus_init().
16319
16320Eliminated the acpi_evaluate() helper function in utils.c. It is
16321no longer needed since acpi_evaluate_object can optionally
16322allocate memory for the return object.
16323
16324Implemented fix for keyboard hang when getting battery readings on
16325some systems (Stephen White)
16326
16327PCI IRQ routing update (Dominik Brodowski)
16328
16329Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
16330support
16331
16332----------------------------------------
1633311 June 2002.  Summary of changes for this release.
16334
16335
163361) ACPI CA Core Subsystem Version 20020611:
16337
16338Fixed a reported problem where constants such as Zero and One
16339appearing within _PRT packages were not handled correctly within
16340the resource manager code.  Originally reported against the ASL
16341compiler because the code generator now optimizes integers to
16342their minimal AML representation (i.e. AML constants if possible.)
16343The _PRT code now handles all AML constant opcodes correctly
16344(Zero, One, Ones, Revision).
16345
16346Fixed a problem with the Concatenate operator in the AML
16347interpreter where a buffer result object was incorrectly marked as
16348not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
16349
16350All package sub-objects are now fully resolved before they are
16351returned from the external ACPI interfaces.  This means that name
16352strings are resolved to object handles, and constant operators
16353(Zero, One, Ones, Revision) are resolved to Integers.
16354
16355Implemented immediate resolution of the AML Constant opcodes
16356(Zero, One, Ones, Revision) to Integer objects upon detection
16357within the AML stream. This has simplified and reduced the
16358generated code size of the subsystem by eliminating about 10
16359switch statements for these constants (which previously were
16360contained in Reference objects.)  The complicating issues are that
16361the Zero opcode is used as a "placeholder" for unspecified
16362optional target operands and stores to constants are defined to be
16363no-ops.
16364
16365Code and Data Size: Current core subsystem library sizes are shown
16366below. These are the code and data sizes for the acpica.lib
16367produced by the Microsoft Visual C++ 6.0 compiler, and these
16368values do not include any ACPI driver or OSPM code.  The debug
16369version of the code includes the debug output trace mechanism and
16370has a larger code and data size.  Note that these values will vary
16371depending on the efficiency of the compiler and the compiler
16372options used during generation.
16373
16374  Previous Release
16375    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
16376    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
16377  Current Release:
16378    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
16379    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
16380
16381
163822) Linux
16383
16384
16385Added preliminary support for obtaining _TRA data for PCI root
16386bridges (Bjorn Helgaas).
16387
16388
163893) iASL Compiler Version X2046:
16390
16391Fixed a problem where the "_DDN" reserved name was defined to be a
16392control method with one argument.  There are no arguments, and
16393_DDN does not have to be a control method.
16394
16395Fixed a problem with the Linux version of the compiler where the
16396source lines printed with error messages were the wrong lines.
16397This turned out to be the "LF versus CR/LF" difference between
16398Windows and Unix.  This appears to be the longstanding issue
16399concerning listing output and error messages.
16400
16401Fixed a problem with the Linux version of compiler where opcode
16402names within error messages were wrong.  This was caused by a
16403slight difference in the output of the Flex tool on Linux versus
16404Windows.
16405
16406Fixed a problem with the Linux compiler where the hex output files
16407contained some garbage data caused by an internal buffer overrun.
16408
16409
16410----------------------------------------
1641117 May 2002.  Summary of changes for this release.
16412
16413
164141) ACPI CA Core Subsystem Version 20020517:
16415
16416Implemented a workaround to an BIOS bug discovered on the HP
16417OmniBook where the FADT revision number and the table size are
16418inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
16419behavior is to fallback to using only the ACPI 1.0 fields of the
16420FADT if the table is too small to be a ACPI 2.0 table as claimed
16421by the revision number.  Although this is a BIOS bug, this is a
16422case where the workaround is simple enough and with no side
16423effects, so it seemed prudent to add it.  A warning message is
16424issued, however.
16425
16426Implemented minimum size checks for the fixed-length ACPI tables -
16427- the FADT and FACS, as well as consistency checks between the
16428revision number and the table size.
16429
16430Fixed a reported problem in the table override support where the
16431new table pointer was incorrectly treated as a physical address
16432instead of a logical address.
16433
16434Eliminated the use of the AE_AML_ERROR exception and replaced it
16435with more descriptive codes.
16436
16437Fixed a problem where an exception would occur if an ASL Field was
16438defined with no named Field Units underneath it (used by some
16439index fields).
16440
16441Code and Data Size: Current core subsystem library sizes are shown
16442below.  These are the code and data sizes for the acpica.lib
16443produced by the Microsoft Visual C++ 6.0 compiler, and these
16444values do not include any ACPI driver or OSPM code.  The debug
16445version of the code includes the debug output trace mechanism and
16446has a larger code and data size.  Note that these values will vary
16447depending on the efficiency of the compiler and the compiler
16448options used during generation.
16449
16450  Previous Release
16451    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
16452    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
16453  Current Release:
16454    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
16455    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
16456
16457
16458
164592) Linux
16460
16461Much work done on ACPI init (MADT and PCI IRQ routing support).
16462(Paul D. and Dominik Brodowski)
16463
16464Fix PCI IRQ-related panic on boot (Sam Revitch)
16465
16466Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
16467
16468Fix "MHz" typo (Dominik Brodowski)
16469
16470Fix RTC year 2000 issue (Dominik Brodowski)
16471
16472Preclude multiple button proc entries (Eric Brunet)
16473
16474Moved arch-specific code out of include/platform/aclinux.h
16475
164763) iASL Compiler Version X2044:
16477
16478Implemented error checking for the string used in the EISAID macro
16479(Usually used in the definition of the _HID object.)  The code now
16480strictly enforces the PnP format - exactly 7 characters, 3
16481uppercase letters and 4 hex digits.
16482
16483If a raw string is used in the definition of the _HID object
16484(instead of the EISAID macro), the string must contain all
16485alphanumeric characters (e.g., "*PNP0011" is not allowed because
16486of the asterisk.)
16487
16488Implemented checking for invalid use of ACPI reserved names for
16489most of the name creation operators (Name, Device, Event, Mutex,
16490OperationRegion, PowerResource, Processor, and ThermalZone.)
16491Previously, this check was only performed for control methods.
16492
16493Implemented an additional check on the Name operator to emit an
16494error if a reserved name that must be implemented in ASL as a
16495control method is used.  We know that a reserved name must be a
16496method if it is defined with input arguments.
16497
16498The warning emitted when a namespace object reference is not found
16499during the cross reference phase has been changed into an error.
16500The "External" directive should be used for names defined in other
16501modules.
16502
16503
165044) Tools and Utilities
16505
16506The 16-bit tools (adump16 and aexec16) have been regenerated and
16507tested.
16508
16509Fixed a problem with the output of both acpidump and adump16 where
16510the indentation of closing parentheses and brackets was not
16511
16512aligned properly with the parent block.
16513
16514
16515----------------------------------------
1651603 May 2002.  Summary of changes for this release.
16517
16518
165191) ACPI CA Core Subsystem Version 20020503:
16520
16521Added support a new OSL interface that allows the host operating
16522
16523system software to override the DSDT found in the firmware -
16524AcpiOsTableOverride.  With this interface, the OSL can examine the
16525version of the firmware DSDT and replace it with a different one
16526if desired.
16527
16528Added new external interfaces for accessing ACPI registers from
16529device drivers and other system software - AcpiGetRegister and
16530AcpiSetRegister.  This was simply an externalization of the
16531existing AcpiHwBitRegister interfaces.
16532
16533Fixed a regression introduced in the previous build where the
16534ASL/AML CreateField operator always returned an error,
16535"destination must be a NS Node".
16536
16537Extended the maximum time (before failure) to successfully enable
16538ACPI mode to 3 seconds.
16539
16540Code and Data Size: Current core subsystem library sizes are shown
16541below.  These are the code and data sizes for the acpica.lib
16542produced by the Microsoft Visual C++ 6.0 compiler, and these
16543values do not include any ACPI driver or OSPM code.  The debug
16544version of the code includes the debug output trace mechanism and
16545has a larger code and data size.  Note that these values will vary
16546depending on the efficiency of the compiler and the compiler
16547options used during generation.
16548
16549  Previous Release
16550    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16551    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16552  Current Release:
16553    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
16554    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
16555
16556
165572) Linux
16558
16559Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
16560free. While 3 out of 4 of our in-house systems work fine, the last
16561one still hangs when testing the LAPIC timer.
16562
16563Renamed many files in 2.5 kernel release to omit "acpi_" from the
16564name.
16565
16566Added warning on boot for Presario 711FR.
16567
16568Sleep improvements (Pavel Machek)
16569
16570ACPI can now be built without CONFIG_PCI enabled.
16571
16572IA64: Fixed memory map functions (JI Lee)
16573
16574
165753) iASL Compiler Version X2043:
16576
16577Added support to allow the compiler to be integrated into the MS
16578VC++ development environment for one-button compilation of single
16579files or entire projects -- with error-to-source-line mapping.
16580
16581Implemented support for compile-time constant folding for the
16582Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
16583specification.  This allows the ASL writer to use expressions
16584instead of Integer/Buffer/String constants in terms that must
16585evaluate to constants at compile time and will also simplify the
16586emitted AML in any such sub-expressions that can be folded
16587(evaluated at compile-time.)  This increases the size of the
16588compiler significantly because a portion of the ACPI CA AML
16589interpreter is included within the compiler in order to pre-
16590evaluate constant expressions.
16591
16592
16593Fixed a problem with the "Unicode" ASL macro that caused the
16594compiler to fault.  (This macro is used in conjunction with the
16595_STR reserved name.)
16596
16597Implemented an AML opcode optimization to use the Zero, One, and
16598Ones opcodes where possible to further reduce the size of integer
16599constants and thus reduce the overall size of the generated AML
16600code.
16601
16602Implemented error checking for new reserved terms for ACPI version
166032.0A.
16604
16605Implemented the -qr option to display the current list of ACPI
16606reserved names known to the compiler.
16607
16608Implemented the -qc option to display the current list of ASL
16609operators that are allowed within constant expressions and can
16610therefore be folded at compile time if the operands are constants.
16611
16612
166134) Documentation
16614
16615Updated the Programmer's Reference for new interfaces, data types,
16616and memory allocation model options.
16617
16618Updated the iASL Compiler User Reference to apply new format and
16619add information about new features and options.
16620
16621----------------------------------------
1662219 April 2002.  Summary of changes for this release.
16623
166241) ACPI CA Core Subsystem Version 20020419:
16625
16626The source code base for the Core Subsystem has been completely
16627cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
16628versions.  The Lint option files used are included in the
16629/acpi/generate/lint directory.
16630
16631Implemented enhanced status/error checking across the entire
16632Hardware manager subsystem.  Any hardware errors (reported from
16633the OSL) are now bubbled up and will abort a running control
16634method.
16635
16636
16637Fixed a problem where the per-ACPI-table integer width (32 or 64)
16638was stored only with control method nodes, causing a fault when
16639non-control method code was executed during table loading.  The
16640solution implemented uses a global variable to indicate table
16641width across the entire ACPI subsystem.  Therefore, ACPI CA does
16642not support mixed integer widths across different ACPI tables
16643(DSDT, SSDT).
16644
16645Fixed a problem where NULL extended fields (X fields) in an ACPI
166462.0 ACPI FADT caused the table load to fail.  Although the
16647existing ACPI specification is a bit fuzzy on this topic, the new
16648behavior is to fall back on a ACPI 1.0 field if the corresponding
16649ACPI 2.0 X field is zero (even though the table revision indicates
16650a full ACPI 2.0 table.)  The ACPI specification will be updated to
16651clarify this issue.
16652
16653Fixed a problem with the SystemMemory operation region handler
16654where memory was always accessed byte-wise even if the AML-
16655specified access width was larger than a byte.  This caused
16656problems on systems with memory-mapped I/O.  Memory is now
16657accessed with the width specified.  On systems that do not support
16658non-aligned transfers, a check is made to guarantee proper address
16659alignment before proceeding in order to avoid an AML-caused
16660alignment fault within the kernel.
16661
16662
16663Fixed a problem with the ExtendedIrq resource where only one byte
16664of the 4-byte Irq field was extracted.
16665
16666Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
16667function was out of date and required a rewrite.
16668
16669Code and Data Size: Current core subsystem library sizes are shown
16670below.  These are the code and data sizes for the acpica.lib
16671produced by the Microsoft Visual C++ 6.0 compiler, and these
16672values do not include any ACPI driver or OSPM code.  The debug
16673version of the code includes the debug output trace mechanism and
16674has a larger code and data size.  Note that these values will vary
16675depending on the efficiency of the compiler and the compiler
16676options used during generation.
16677
16678  Previous Release
16679    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16680    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16681  Current Release:
16682    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16683    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16684
16685
166862) Linux
16687
16688PCI IRQ routing fixes (Dominik Brodowski)
16689
16690
166913) iASL Compiler Version X2042:
16692
16693Implemented an additional compile-time error check for a field
16694unit whose size + minimum access width would cause a run-time
16695access beyond the end-of-region.  Previously, only the field size
16696itself was checked.
16697
16698The Core subsystem and iASL compiler now share a common parse
16699object in preparation for compile-time evaluation of the type
167003/4/5 ASL operators.
16701
16702
16703----------------------------------------
16704Summary of changes for this release: 03_29_02
16705
167061) ACPI CA Core Subsystem Version 20020329:
16707
16708Implemented support for late evaluation of TermArg operands to
16709Buffer and Package objects.  This allows complex expressions to be
16710used in the declarations of these object types.
16711
16712Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
167131.0, if the field was larger than 32 bits, it was returned as a
16714buffer - otherwise it was returned as an integer.  In ACPI 2.0,
16715the field is returned as a buffer only if the field is larger than
1671664 bits.  The TableRevision is now considered when making this
16717conversion to avoid incompatibility with existing ASL code.
16718
16719Implemented logical addressing for AcpiOsGetRootPointer.  This
16720allows an RSDP with either a logical or physical address.  With
16721this support, the host OS can now override all ACPI tables with
16722one logical RSDP.  Includes implementation of  "typed" pointer
16723support to allow a common data type for both physical and logical
16724pointers internally.  This required a change to the
16725AcpiOsGetRootPointer interface.
16726
16727Implemented the use of ACPI 2.0 Generic Address Structures for all
16728GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
16729mapped I/O for these ACPI features.
16730
16731Initialization now ignores not only non-required tables (All
16732tables other than the FADT, FACS, DSDT, and SSDTs), but also does
16733not validate the table headers of unrecognized tables.
16734
16735Fixed a problem where a notify handler could only be
16736installed/removed on an object of type Device.  All "notify"
16737
16738objects are now supported -- Devices, Processor, Power, and
16739Thermal.
16740
16741Removed most verbosity from the ACPI_DB_INFO debug level.  Only
16742critical information is returned when this debug level is enabled.
16743
16744Code and Data Size: Current core subsystem library sizes are shown
16745below.  These are the code and data sizes for the acpica.lib
16746produced by the Microsoft Visual C++ 6.0 compiler, and these
16747values do not include any ACPI driver or OSPM code.  The debug
16748version of the code includes the debug output trace mechanism and
16749has a larger code and data size.  Note that these values will vary
16750depending on the efficiency of the compiler and the compiler
16751options used during generation.
16752
16753  Previous Release
16754    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16755    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16756  Current Release:
16757    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16758    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16759
16760
167612) Linux:
16762
16763The processor driver (acpi_processor.c) now fully supports ACPI
167642.0-based processor performance control (e.g. Intel(R)
16765SpeedStep(TM) technology) Note that older laptops that only have
16766the Intel "applet" interface are not supported through this.  The
16767'limit' and 'performance' interface (/proc) are fully functional.
16768[Note that basic policy for controlling performance state
16769transitions will be included in the next version of ospmd.]  The
16770idle handler was modified to more aggressively use C2, and PIIX4
16771errata handling underwent a complete overhaul (big thanks to
16772Dominik Brodowski).
16773
16774Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
16775based devices in the ACPI namespace are now dynamically bound
16776(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
16777This allows, among other things, ACPI to resolve bus numbers for
16778subordinate PCI bridges.
16779
16780Enhanced PCI IRQ routing to get the proper bus number for _PRT
16781entries defined underneath PCI bridges.
16782
16783Added IBM 600E to bad bios list due to invalid _ADR value for
16784PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
16785
16786In the process of adding full MADT support (e.g. IOAPIC) for IA32
16787(acpi.c, mpparse.c) -- stay tuned.
16788
16789Added back visual differentiation between fixed-feature and
16790control-method buttons in dmesg.  Buttons are also subtyped (e.g.
16791button/power/PWRF) to simplify button identification.
16792
16793We no longer use -Wno-unused when compiling debug. Please ignore
16794any "_THIS_MODULE defined but not used" messages.
16795
16796Can now shut down the system using "magic sysrq" key.
16797
16798
167993) iASL Compiler version 2041:
16800
16801Fixed a problem where conversion errors for hex/octal/decimal
16802constants were not reported.
16803
16804Implemented a fix for the General Register template Address field.
16805This field was 8 bits when it should be 64.
16806
16807Fixed a problem where errors/warnings were no longer being emitted
16808within the listing output file.
16809
16810Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
16811exactly 4 characters, alphanumeric only.
16812
16813
16814
16815
16816----------------------------------------
16817Summary of changes for this release: 03_08_02
16818
16819
168201) ACPI CA Core Subsystem Version 20020308:
16821
16822Fixed a problem with AML Fields where the use of the "AccessAny"
16823keyword could cause an interpreter error due to attempting to read
16824or write beyond the end of the parent Operation Region.
16825
16826Fixed a problem in the SystemMemory Operation Region handler where
16827an attempt was made to map memory beyond the end of the region.
16828This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
16829errors on some Linux systems.
16830
16831Fixed a problem where the interpreter/namespace "search to root"
16832algorithm was not functioning for some object types.  Relaxed the
16833internal restriction on the search to allow upsearches for all
16834external object types as well as most internal types.
16835
16836
168372) Linux:
16838
16839We now use safe_halt() macro versus individual calls to sti | hlt.
16840
16841Writing to the processor limit interface should now work. "echo 1"
16842will increase the limit, 2 will decrease, and 0 will reset to the
16843
16844default.
16845
16846
168473) ASL compiler:
16848
16849Fixed segfault on Linux version.
16850
16851
16852----------------------------------------
16853Summary of changes for this release: 02_25_02
16854
168551) ACPI CA Core Subsystem:
16856
16857
16858Fixed a problem where the GPE bit masks were not initialized
16859properly, causing erratic GPE behavior.
16860
16861Implemented limited support for multiple calling conventions.  The
16862code can be generated with either the VPL (variable parameter
16863list, or "C") convention, or the FPL (fixed parameter list, or
16864"Pascal") convention.  The core subsystem is about 3.4% smaller
16865when generated with FPL.
16866
16867
168682) Linux
16869
16870Re-add some /proc/acpi/event functionality that was lost during
16871the rewrite
16872
16873Resolved issue with /proc events for fixed-feature buttons showing
16874up as the system device.
16875
16876Fixed checks on C2/C3 latencies to be inclusive of maximum values.
16877
16878Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
16879
16880Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
16881
16882Fixed limit interface & usage to fix bugs with passive cooling
16883hysterisis.
16884
16885Restructured PRT support.
16886
16887
16888----------------------------------------
16889Summary of changes for this label: 02_14_02
16890
16891
168921) ACPI CA Core Subsystem:
16893
16894Implemented support in AcpiLoadTable to allow loading of FACS and
16895FADT tables.
16896
16897Support for the now-obsolete interim 0.71 64-bit ACPI tables has
16898been removed.  All 64-bit platforms should be migrated to the ACPI
168992.0 tables.  The actbl71.h header has been removed from the source
16900tree.
16901
16902All C macros defined within the subsystem have been prefixed with
16903"ACPI_" to avoid collision with other system include files.
16904
16905Removed the return value for the two AcpiOsPrint interfaces, since
16906it is never used and causes lint warnings for ignoring the return
16907value.
16908
16909Added error checking to all internal mutex acquire and release
16910calls.  Although a failure from one of these interfaces is
16911probably a fatal system error, these checks will cause the
16912immediate abort of the currently executing method or interface.
16913
16914Fixed a problem where the AcpiSetCurrentResources interface could
16915fault.  This was a side effect of the deployment of the new memory
16916allocation model.
16917
16918Fixed a couple of problems with the Global Lock support introduced
16919in the last major build.  The "common" (1.0/2.0) internal FACS was
16920being overwritten with the FACS signature and clobbering the
16921Global Lock pointer.  Also, the actual firmware FACS was being
16922unmapped after construction of the "common" FACS, preventing
16923access to the actual Global Lock field within it.  The "common"
16924internal FACS is no longer installed as an actual ACPI table; it
16925is used simply as a global.
16926
16927Code and Data Size: Current core subsystem library sizes are shown
16928below.  These are the code and data sizes for the acpica.lib
16929produced by the Microsoft Visual C++ 6.0 compiler, and these
16930values do not include any ACPI driver or OSPM code.  The debug
16931version of the code includes the debug output trace mechanism and
16932has a larger code and data size.  Note that these values will vary
16933depending on the efficiency of the compiler and the compiler
16934options used during generation.
16935
16936  Previous Release (02_07_01)
16937    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16938    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16939  Current Release:
16940    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16941    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16942
16943
169442) Linux
16945
16946Updated Linux-specific code for core macro and OSL interface
16947changes described above.
16948
16949Improved /proc/acpi/event. It now can be opened only once and has
16950proper poll functionality.
16951
16952Fixed and restructured power management (acpi_bus).
16953
16954Only create /proc "view by type" when devices of that class exist.
16955
16956Fixed "charging/discharging" bug (and others) in acpi_battery.
16957
16958Improved thermal zone code.
16959
16960
169613) ASL Compiler, version X2039:
16962
16963
16964Implemented the new compiler restriction on ASL String hex/octal
16965escapes to non-null, ASCII values.  An error results if an invalid
16966value is used.  (This will require an ACPI 2.0 specification
16967change.)
16968
16969AML object labels that are output to the optional C and ASM source
16970are now prefixed with both the ACPI table signature and table ID
16971to help guarantee uniqueness within a large BIOS project.
16972
16973
16974----------------------------------------
16975Summary of changes for this label: 02_01_02
16976
169771) ACPI CA Core Subsystem:
16978
16979ACPI 2.0 support is complete in the entire Core Subsystem and the
16980ASL compiler. All new ACPI 2.0 operators are implemented and all
16981other changes for ACPI 2.0 support are complete.  With
16982simultaneous code and data optimizations throughout the subsystem,
16983ACPI 2.0 support has been implemented with almost no additional
16984cost in terms of code and data size.
16985
16986Implemented a new mechanism for allocation of return buffers.  If
16987the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
16988be allocated on behalf of the caller.  Consolidated all return
16989buffer validation and allocation to a common procedure.  Return
16990buffers will be allocated via the primary OSL allocation interface
16991since it appears that a separate pool is not needed by most users.
16992If a separate pool is required for these buffers, the caller can
16993still use the original mechanism and pre-allocate the buffer(s).
16994
16995Implemented support for string operands within the DerefOf
16996operator.
16997
16998Restructured the Hardware and Event managers to be table driven,
16999simplifying the source code and reducing the amount of generated
17000code.
17001
17002Split the common read/write low-level ACPI register bitfield
17003procedure into a separate read and write, simplifying the code
17004considerably.
17005
17006Obsoleted the AcpiOsCallocate OSL interface.  This interface was
17007used only a handful of times and didn't have enough critical mass
17008for a separate interface.  Replaced with a common calloc procedure
17009in the core.
17010
17011Fixed a reported problem with the GPE number mapping mechanism
17012that allows GPE1 numbers to be non-contiguous with GPE0.
17013Reorganized the GPE information and shrunk a large array that was
17014originally large enough to hold info for all possible GPEs (256)
17015to simply large enough to hold all GPEs up to the largest GPE
17016number on the machine.
17017
17018Fixed a reported problem with resource structure alignment on 64-
17019bit platforms.
17020
17021Changed the AcpiEnableEvent and AcpiDisableEvent external
17022interfaces to not require any flags for the common case of
17023enabling/disabling a GPE.
17024
17025Implemented support to allow a "Notify" on a Processor object.
17026
17027Most TBDs in comments within the source code have been resolved
17028and eliminated.
17029
17030
17031Fixed a problem in the interpreter where a standalone parent
17032prefix (^) was not handled correctly in the interpreter and
17033debugger.
17034
17035Removed obsolete and unnecessary GPE save/restore code.
17036
17037Implemented Field support in the ASL Load operator.  This allows a
17038table to be loaded from a named field, in addition to loading a
17039table directly from an Operation Region.
17040
17041Implemented timeout and handle support in the external Global Lock
17042interfaces.
17043
17044Fixed a problem in the AcpiDump utility where pathnames were no
17045longer being generated correctly during the dump of named objects.
17046
17047Modified the AML debugger to give a full display of if/while
17048predicates instead of just one AML opcode at a time.  (The
17049predicate can have several nested ASL statements.)  The old method
17050was confusing during single stepping.
17051
17052Code and Data Size: Current core subsystem library sizes are shown
17053below. These are the code and data sizes for the acpica.lib
17054produced by the Microsoft Visual C++ 6.0 compiler, and these
17055values do not include any ACPI driver or OSPM code.  The debug
17056version of the code includes the debug output trace mechanism and
17057has a larger code and data size.  Note that these values will vary
17058depending on the efficiency of the compiler and the compiler
17059options used during generation.
17060
17061  Previous Release (12_18_01)
17062     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
17063     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
17064   Current Release:
17065     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
17066     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
17067
170682) Linux
17069
17070 Implemented fix for PIIX reverse throttling errata (Processor
17071driver)
17072
17073Added new Limit interface (Processor and Thermal drivers)
17074
17075New thermal policy (Thermal driver)
17076
17077Many updates to /proc
17078
17079Battery "low" event support (Battery driver)
17080
17081Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
17082
17083IA32 - IA64 initialization unification, no longer experimental
17084
17085Menuconfig options redesigned
17086
170873) ASL Compiler, version X2037:
17088
17089Implemented several new output features to simplify integration of
17090AML code into  firmware: 1) Output the AML in C source code with
17091labels for each named ASL object.  The    original ASL source code
17092is interleaved as C comments. 2) Output the AML in ASM source code
17093with labels and interleaved ASL    source. 3) Output the AML in
17094raw hex table form, in either C or ASM.
17095
17096Implemented support for optional string parameters to the
17097LoadTable operator.
17098
17099Completed support for embedded escape sequences within string
17100literals.  The compiler now supports all single character escapes
17101as well as the Octal and Hex escapes.  Note: the insertion of a
17102null byte into a string literal (via the hex/octal escape) causes
17103the string to be immediately terminated.  A warning is issued.
17104
17105Fixed a problem where incorrect AML was generated for the case
17106where an ASL namepath consists of a single parent prefix (
17107
17108) with no trailing name segments.
17109
17110The compiler has been successfully generated with a 64-bit C
17111compiler.
17112
17113
17114
17115
17116----------------------------------------
17117Summary of changes for this label: 12_18_01
17118
171191) Linux
17120
17121Enhanced blacklist with reason and severity fields. Any table's
17122signature may now be used to identify a blacklisted system.
17123
17124Call _PIC control method to inform the firmware which interrupt
17125model the OS is using. Turn on any disabled link devices.
17126
17127Cleaned up busmgr /proc error handling (Andreas Dilger)
17128
17129 2) ACPI CA Core Subsystem:
17130
17131Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
17132while loop)
17133
17134Completed implementation of the ACPI 2.0 "Continue",
17135"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
17136operators.  All new ACPI 2.0 operators are now implemented in both
17137the ASL compiler and the AML interpreter.  The only remaining ACPI
171382.0 task is support for the String data type in the DerefOf
17139operator.  Fixed a problem with AcquireMutex where the status code
17140was lost if the caller had to actually wait for the mutex.
17141
17142Increased the maximum ASL Field size from 64K bits to 4G bits.
17143
17144Completed implementation of the external Global Lock interfaces --
17145AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
17146Handler parameters were added.
17147
17148Completed another pass at removing warnings and issues when
17149compiling with 64-bit compilers.  The code now compiles cleanly
17150with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
17151add and subtract (diff) macros have changed considerably.
17152
17153
17154Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1715564-bit platforms, 32-bits on all others.  This type is used
17156wherever memory allocation and/or the C sizeof() operator is used,
17157and affects the OSL memory allocation interfaces AcpiOsAllocate
17158and AcpiOsCallocate.
17159
17160Implemented sticky user breakpoints in the AML debugger.
17161
17162Code and Data Size: Current core subsystem library sizes are shown
17163below. These are the code and data sizes for the acpica.lib
17164produced by the Microsoft Visual C++ 6.0 compiler, and these
17165values do not include any ACPI driver or OSPM code.  The debug
17166version of the code includes the debug output trace mechanism and
17167has a larger code and data size. Note that these values will vary
17168depending on the efficiency of the compiler and the compiler
17169options used during generation.
17170
17171  Previous Release (12_05_01)
17172     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
17173     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
17174   Current Release:
17175     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
17176     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
17177
17178 3) ASL Compiler, version X2034:
17179
17180Now checks for (and generates an error if detected) the use of a
17181Break or Continue statement without an enclosing While statement.
17182
17183
17184Successfully generated the compiler with the Intel 64-bit C
17185compiler.
17186
17187 ----------------------------------------
17188Summary of changes for this label: 12_05_01
17189
17190 1) ACPI CA Core Subsystem:
17191
17192The ACPI 2.0 CopyObject operator is fully implemented.  This
17193operator creates a new copy of an object (and is also used to
17194bypass the "implicit conversion" mechanism of the Store operator.)
17195
17196The ACPI 2.0 semantics for the SizeOf operator are fully
17197implemented.  The change is that performing a SizeOf on a
17198reference object causes an automatic dereference of the object to
17199tha actual value before the size is evaluated. This behavior was
17200undefined in ACPI 1.0.
17201
17202The ACPI 2.0 semantics for the Extended IRQ resource descriptor
17203have been implemented.  The interrupt polarity and mode are now
17204independently set.
17205
17206Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
17207appearing in Package objects were not properly converted to
17208integers when the internal Package was converted to an external
17209object (via the AcpiEvaluateObject interface.)
17210
17211Fixed a problem with the namespace object deletion mechanism for
17212objects created by control methods.  There were two parts to this
17213problem: 1) Objects created during the initialization phase method
17214parse were not being deleted, and 2) The object owner ID mechanism
17215to track objects was broken.
17216
17217Fixed a problem where the use of the ASL Scope operator within a
17218control method would result in an invalid opcode exception.
17219
17220Fixed a problem introduced in the previous label where the buffer
17221length required for the _PRT structure was not being returned
17222correctly.
17223
17224Code and Data Size: Current core subsystem library sizes are shown
17225below. These are the code and data sizes for the acpica.lib
17226produced by the Microsoft Visual C++ 6.0 compiler, and these
17227values do not include any ACPI driver or OSPM code.  The debug
17228version of the code includes the debug output trace mechanism and
17229has a larger code and data size.  Note that these values will vary
17230depending on the efficiency of the compiler and the compiler
17231options used during generation.
17232
17233  Previous Release (11_20_01)
17234     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
17235     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
17236
17237  Current Release:
17238     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
17239     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
17240
17241 2) Linux:
17242
17243Updated all files to apply cleanly against 2.4.16.
17244
17245Added basic PCI Interrupt Routing Table (PRT) support for IA32
17246(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
17247version supports both static and dynamic PRT entries, but dynamic
17248entries are treated as if they were static (not yet
17249reconfigurable).  Architecture- specific code to use this data is
17250absent on IA32 but should be available shortly.
17251
17252Changed the initialization sequence to start the ACPI interpreter
17253(acpi_init) prior to initialization of the PCI driver (pci_init)
17254in init/main.c.  This ordering is required to support PRT and
17255facilitate other (future) enhancement.  A side effect is that the
17256ACPI bus driver and certain device drivers can no longer be loaded
17257as modules.
17258
17259Modified the 'make menuconfig' options to allow PCI Interrupt
17260Routing support to be included without the ACPI Bus and other
17261device drivers.
17262
17263 3) ASL Compiler, version X2033:
17264
17265Fixed some issues with the use of the new CopyObject and
17266DataTableRegion operators.  Both are fully functional.
17267
17268 ----------------------------------------
17269Summary of changes for this label: 11_20_01
17270
17271 20 November 2001.  Summary of changes for this release.
17272
17273 1) ACPI CA Core Subsystem:
17274
17275Updated Index support to match ACPI 2.0 semantics.  Storing a
17276Integer, String, or Buffer to an Index of a Buffer will store only
17277the least-significant byte of the source to the Indexed buffer
17278byte.  Multiple writes are not performed.
17279
17280Fixed a problem where the access type used in an AccessAs ASL
17281operator was not recorded correctly into the field object.
17282
17283Fixed a problem where ASL Event objects were created in a
17284signalled state. Events are now created in an unsignalled state.
17285
17286The internal object cache is now purged after table loading and
17287initialization to reduce the use of dynamic kernel memory -- on
17288the assumption that object use is greatest during the parse phase
17289of the entire table (versus the run-time use of individual control
17290methods.)
17291
17292ACPI 2.0 variable-length packages are now fully operational.
17293
17294Code and Data Size: Code and Data optimizations have permitted new
17295feature development with an actual reduction in the library size.
17296Current core subsystem library sizes are shown below.  These are
17297the code and data sizes for the acpica.lib produced by the
17298Microsoft Visual C++ 6.0 compiler, and these values do not include
17299any ACPI driver or OSPM code.  The debug version of the code
17300includes the debug output trace mechanism and has a larger code
17301and data size.  Note that these values will vary depending on the
17302efficiency of the compiler and the compiler options used during
17303generation.
17304
17305  Previous Release (11_09_01):
17306     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
17307     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
17308
17309  Current Release:
17310     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
17311     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
17312
17313 2) Linux:
17314
17315Enhanced the ACPI boot-time initialization code to allow the use
17316of Local APIC tables for processor enumeration on IA-32, and to
17317pave the way for a fully MPS-free boot (on SMP systems) in the
17318near future.  This functionality replaces
17319arch/i386/kernel/acpitables.c, which was introduced in an earlier
173202.4.15-preX release.  To enable this feature you must add
17321"acpi_boot=on" to the kernel command line -- see the help entry
17322for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
17323the works...
17324
17325Restructured the configuration options to allow boot-time table
17326parsing support without inclusion of the ACPI Interpreter (and
17327other) code.
17328
17329NOTE: This release does not include fixes for the reported events,
17330power-down, and thermal passive cooling issues (coming soon).
17331
17332 3) ASL Compiler:
17333
17334Added additional typechecking for Fields within restricted access
17335Operation Regions.  All fields within EC and CMOS regions must be
17336declared with ByteAcc. All fields within SMBus regions must be
17337declared with the BufferAcc access type.
17338
17339Fixed a problem where the listing file output of control methods
17340no longer interleaved the actual AML code with the ASL source
17341code.
17342
17343
17344
17345
17346----------------------------------------
17347Summary of changes for this label: 11_09_01
17348
173491) ACPI CA Core Subsystem:
17350
17351Implemented ACPI 2.0-defined support for writes to fields with a
17352Buffer, String, or Integer source operand that is smaller than the
17353target field. In these cases, the source operand is zero-extended
17354to fill the target field.
17355
17356Fixed a problem where a Field starting bit offset (within the
17357parent operation region) was calculated incorrectly if the
17358
17359alignment of the field differed from the access width.  This
17360affected CreateWordField, CreateDwordField, CreateQwordField, and
17361possibly other fields that use the "AccessAny" keyword.
17362
17363Fixed a problem introduced in the 11_02_01 release where indirect
17364stores through method arguments did not operate correctly.
17365
173662) Linux:
17367
17368Implemented boot-time ACPI table parsing support
17369(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
17370facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
17371legacy BIOS interfaces (e.g. MPS) for the configuration of system
17372processors, memory, and interrupts during setup_arch().  Note that
17373this patch does not include the required architecture-specific
17374changes required to apply this information -- subsequent patches
17375will be posted for both IA32 and IA64 to achieve this.
17376
17377Added low-level sleep support for IA32 platforms, courtesy of Pat
17378Mochel. This allows IA32 systems to transition to/from various
17379sleeping states (e.g. S1, S3), although the lack of a centralized
17380driver model and power-manageable drivers will prevent its
17381(successful) use on most systems.
17382
17383Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
17384submenu, unified IA32 and IA64 options, added new "Boot using ACPI
17385tables" option, etc.
17386
17387Increased the default timeout for the EC driver from 1ms to 10ms
17388(1000 cycles of 10us) to try to address AE_TIME errors during EC
17389transactions.
17390
17391 ----------------------------------------
17392Summary of changes for this label: 11_02_01
17393
173941) ACPI CA Core Subsystem:
17395
17396ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
17397(QWordAcc keyword). All ACPI 2.0 64-bit support is now
17398implemented.
17399
17400OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
17401changes to support ACPI 2.0 Qword field access.  Read/Write
17402PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
17403accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
17404the value parameter for the address space handler interface is now
17405an ACPI_INTEGER.  OSL implementations of these interfaces must now
17406handle the case where the Width parameter is 64.
17407
17408Index Fields: Fixed a problem where unaligned bit assembly and
17409disassembly for IndexFields was not supported correctly.
17410
17411Index and Bank Fields:  Nested Index and Bank Fields are now
17412supported. During field access, a check is performed to ensure
17413that the value written to an Index or Bank register is not out of
17414the range of the register.  The Index (or Bank) register is
17415written before each access to the field data. Future support will
17416include allowing individual IndexFields to be wider than the
17417DataRegister width.
17418
17419Fields: Fixed a problem where the AML interpreter was incorrectly
17420attempting to write beyond the end of a Field/OpRegion.  This was
17421a boundary case that occurred when a DWORD field was written to a
17422BYTE access OpRegion, forcing multiple writes and causing the
17423interpreter to write one datum too many.
17424
17425Fields: Fixed a problem with Field/OpRegion access where the
17426starting bit address of a field was incorrectly calculated if the
17427current access type was wider than a byte (WordAcc, DwordAcc, or
17428QwordAcc).
17429
17430Fields: Fixed a problem where forward references to individual
17431FieldUnits (individual Field names within a Field definition) were
17432not resolved during the AML table load.
17433
17434Fields: Fixed a problem where forward references from a Field
17435definition to the parent Operation Region definition were not
17436resolved during the AML table load.
17437
17438Fields: Duplicate FieldUnit names within a scope are now detected
17439during AML table load.
17440
17441Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
17442returned an incorrect name for the root node.
17443
17444Code and Data Size: Code and Data optimizations have permitted new
17445feature development with an actual reduction in the library size.
17446Current core subsystem library sizes are shown below.  These are
17447the code and data sizes for the acpica.lib produced by the
17448Microsoft Visual C++ 6.0 compiler, and these values do not include
17449any ACPI driver or OSPM code.  The debug version of the code
17450includes the debug output trace mechanism and has a larger code
17451and data size.  Note that these values will vary depending on the
17452efficiency of the compiler and the compiler options used during
17453generation.
17454
17455  Previous Release (10_18_01):
17456     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
17457     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
17458
17459  Current Release:
17460     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
17461     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
17462
17463 2) Linux:
17464
17465Improved /proc processor output (Pavel Machek) Re-added
17466MODULE_LICENSE("GPL") to all modules.
17467
17468 3) ASL Compiler version X2030:
17469
17470Duplicate FieldUnit names within a scope are now detected and
17471flagged as errors.
17472
17473 4) Documentation:
17474
17475Programmer Reference updated to reflect OSL and address space
17476handler interface changes described above.
17477
17478----------------------------------------
17479Summary of changes for this label: 10_18_01
17480
17481ACPI CA Core Subsystem:
17482
17483Fixed a problem with the internal object reference count mechanism
17484that occasionally caused premature object deletion. This resolves
17485all of the outstanding problem reports where an object is deleted
17486in the middle of an interpreter evaluation.  Although this problem
17487only showed up in rather obscure cases, the solution to the
17488problem involved an adjustment of all reference counts involving
17489objects attached to namespace nodes.
17490
17491Fixed a problem with Field support in the interpreter where
17492writing to an aligned field whose length is an exact multiple (2
17493or greater) of the field access granularity would cause an attempt
17494to write beyond the end of the field.
17495
17496The top level AML opcode execution functions within the
17497interpreter have been renamed with a more meaningful and
17498consistent naming convention.  The modules exmonad.c and
17499exdyadic.c were eliminated.  New modules are exoparg1.c,
17500exoparg2.c, exoparg3.c, and exoparg6.c.
17501
17502Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
17503
17504Fixed a problem where the AML debugger was causing some internal
17505objects to not be deleted during subsystem termination.
17506
17507Fixed a problem with the external AcpiEvaluateObject interface
17508where the subsystem would fault if the named object to be
17509evaluated referred to a constant such as Zero, Ones, etc.
17510
17511Fixed a problem with IndexFields and BankFields where the
17512subsystem would fault if the index, data, or bank registers were
17513not defined in the same scope as the field itself.
17514
17515Added printf format string checking for compilers that support
17516this feature.  Corrected more than 50 instances of issues with
17517format specifiers within invocations of ACPI_DEBUG_PRINT
17518throughout the core subsystem code.
17519
17520The ASL "Revision" operator now returns the ACPI support level
17521implemented in the core - the value "2" since the ACPI 2.0 support
17522is more than 50% implemented.
17523
17524Enhanced the output of the AML debugger "dump namespace" command
17525to output in a more human-readable form.
17526
17527Current core subsystem library code sizes are shown below.  These
17528
17529are the code and data sizes for the acpica.lib produced by the
17530Microsoft Visual C++ 6.0 compiler, and these values do not include
17531any ACPI driver or OSPM code.  The debug version of the code
17532includes the full debug trace mechanism -- leading to a much
17533
17534larger code and data size.  Note that these values will vary
17535depending on the efficiency of the compiler and the compiler
17536options used during generation.
17537
17538     Previous Label (09_20_01):
17539     Non-Debug Version:    65K Code,     5K Data,     70K Total
17540     Debug Version:       138K Code,    58K Data,    196K Total
17541
17542     This Label:
17543
17544     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
17545     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
17546
17547Linux:
17548
17549Implemented a "Bad BIOS Blacklist" to track machines that have
17550known ASL/AML problems.
17551
17552Enhanced the /proc interface for the thermal zone driver and added
17553support for _HOT (the critical suspend trip point).  The 'info'
17554file now includes threshold/policy information, and allows setting
17555of _SCP (cooling preference) and _TZP (polling frequency) values
17556to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
17557frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
17558preference to the passive/quiet mode (if supported by the ASL).
17559
17560Implemented a workaround for a gcc bug that resuted in an OOPs
17561when loading the control method battery driver.
17562
17563 ----------------------------------------
17564Summary of changes for this label: 09_20_01
17565
17566 ACPI CA Core Subsystem:
17567
17568The AcpiEnableEvent and AcpiDisableEvent interfaces have been
17569modified to allow individual GPE levels to be flagged as wake-
17570enabled (i.e., these GPEs are to remain enabled when the platform
17571sleeps.)
17572
17573The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
17574support wake-enabled GPEs.  This means that upon entering the
17575sleep state, all GPEs that are not wake-enabled are disabled.
17576When leaving the sleep state, these GPEs are re-enabled.
17577
17578A local double-precision divide/modulo module has been added to
17579enhance portability to OS kernels where a 64-bit math library is
17580not available.  The new module is "utmath.c".
17581
17582Several optimizations have been made to reduce the use of CPU
17583stack.  Originally over 2K, the maximum stack usage is now below
175842K at 1860  bytes (1.82k)
17585
17586Fixed a problem with the AcpiGetFirmwareTable interface where the
17587root table pointer was not mapped into a logical address properly.
17588
17589Fixed a problem where a NULL pointer was being dereferenced in the
17590interpreter code for the ASL Notify operator.
17591
17592Fixed a problem where the use of the ASL Revision operator
17593returned an error. This operator now returns the current version
17594of the ACPI CA core subsystem.
17595
17596Fixed a problem where objects passed as control method parameters
17597to AcpiEvaluateObject were always deleted at method termination.
17598However, these objects may end up being stored into the namespace
17599by the called method.  The object reference count mechanism was
17600applied to these objects instead of a force delete.
17601
17602Fixed a problem where static strings or buffers (contained in the
17603AML code) that are declared as package elements within the ASL
17604code could cause a fault because the interpreter would attempt to
17605delete them.  These objects are now marked with the "static
17606object" flag to prevent any attempt to delete them.
17607
17608Implemented an interpreter optimization to use operands directly
17609from the state object instead of extracting the operands to local
17610variables.  This reduces stack use and code size, and improves
17611performance.
17612
17613The module exxface.c was eliminated as it was an unnecessary extra
17614layer of code.
17615
17616Current core subsystem library code sizes are shown below.  These
17617are the code and data sizes for the acpica.lib produced by the
17618Microsoft Visual C++ 6.0 compiler, and these values do not include
17619any ACPI driver or OSPM code.  The debug version of the code
17620includes the full debug trace mechanism -- leading to a much
17621larger code and data size.  Note that these values will vary
17622depending on the efficiency of the compiler and the compiler
17623options used during generation.
17624
17625  Non-Debug Version:  65K Code,   5K Data,   70K Total
17626(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
17627Total  (Previously 195K)
17628
17629Linux:
17630
17631Support for ACPI 2.0 64-bit integers has been added.   All ACPI
17632Integer objects are now 64 bits wide
17633
17634All Acpi data types and structures are now in lower case.  Only
17635Acpi macros are upper case for differentiation.
17636
17637 Documentation:
17638
17639Changes to the external interfaces as described above.
17640
17641 ----------------------------------------
17642Summary of changes for this label: 08_31_01
17643
17644 ACPI CA Core Subsystem:
17645
17646A bug with interpreter implementation of the ASL Divide operator
17647was found and fixed.  The implicit function return value (not the
17648explicit store operands) was returning the remainder instead of
17649the quotient.  This was a longstanding bug and it fixes several
17650known outstanding issues on various platforms.
17651
17652The ACPI_DEBUG_PRINT and function trace entry/exit macros have
17653been further optimized for size.  There are 700 invocations of the
17654DEBUG_PRINT macro alone, so each optimization reduces the size of
17655the debug version of the subsystem significantly.
17656
17657A stack trace mechanism has been implemented.  The maximum stack
17658usage is about 2K on 32-bit platforms.  The debugger command "stat
17659stack" will display the current maximum stack usage.
17660
17661All public symbols and global variables within the subsystem are
17662now prefixed with the string "Acpi".  This keeps all of the
17663symbols grouped together in a kernel map, and avoids conflicts
17664with other kernel subsystems.
17665
17666Most of the internal fixed lookup tables have been moved into the
17667code segment via the const operator.
17668
17669Several enhancements have been made to the interpreter to both
17670reduce the code size and improve performance.
17671
17672Current core subsystem library code sizes are shown below.  These
17673are the code and data sizes for the acpica.lib produced by the
17674Microsoft Visual C++ 6.0 compiler, and these values do not include
17675any ACPI driver or OSPM code.  The debug version of the code
17676includes the full debug trace mechanism which contains over 700
17677invocations of the DEBUG_PRINT macro, 500 function entry macro
17678invocations, and over 900 function exit macro invocations --
17679leading to a much larger code and data size.  Note that these
17680values will vary depending on the efficiency of the compiler and
17681the compiler options used during generation.
17682
17683        Non-Debug Version:  64K Code,   5K Data,   69K Total
17684Debug Version:     137K Code,  58K Data,  195K Total
17685
17686 Linux:
17687
17688Implemented wbinvd() macro, pending a kernel-wide definition.
17689
17690Fixed /proc/acpi/event to handle poll() and short reads.
17691
17692 ASL Compiler, version X2026:
17693
17694Fixed a problem introduced in the previous label where the AML
17695
17696code emitted for package objects produced packages with zero
17697length.
17698
17699 ----------------------------------------
17700Summary of changes for this label: 08_16_01
17701
17702ACPI CA Core Subsystem:
17703
17704The following ACPI 2.0 ASL operators have been implemented in the
17705AML interpreter (These are already supported by the Intel ASL
17706compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
17707ToBuffer.  Support for 64-bit AML constants is implemented in the
17708AML parser, debugger, and disassembler.
17709
17710The internal memory tracking mechanism (leak detection code) has
17711been upgraded to reduce the memory overhead (a separate tracking
17712block is no longer allocated for each memory allocation), and now
17713supports all of the internal object caches.
17714
17715The data structures and code for the internal object caches have
17716been coelesced and optimized so that there is a single cache and
17717memory list data structure and a single group of functions that
17718implement generic cache management.  This has reduced the code
17719size in both the debug and release versions of the subsystem.
17720
17721The DEBUG_PRINT macro(s) have been optimized for size and replaced
17722by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
17723different, because it generates a single call to an internal
17724function.  This results in a savings of about 90 bytes per
17725invocation, resulting in an overall code and data savings of about
1772616% in the debug version of the subsystem.
17727
17728 Linux:
17729
17730Fixed C3 disk corruption problems and re-enabled C3 on supporting
17731machines.
17732
17733Integrated low-level sleep code by Patrick Mochel.
17734
17735Further tweaked source code Linuxization.
17736
17737Other minor fixes.
17738
17739 ASL Compiler:
17740
17741Support for ACPI 2.0 variable length packages is fixed/completed.
17742
17743Fixed a problem where the optional length parameter for the ACPI
177442.0 ToString operator.
17745
17746Fixed multiple extraneous error messages when a syntax error is
17747detected within the declaration line of a control method.
17748
17749 ----------------------------------------
17750Summary of changes for this label: 07_17_01
17751
17752ACPI CA Core Subsystem:
17753
17754Added a new interface named AcpiGetFirmwareTable to obtain any
17755ACPI table via the ACPI signature.  The interface can be called at
17756any time during kernel initialization, even before the kernel
17757virtual memory manager is initialized and paging is enabled.  This
17758allows kernel subsystems to obtain ACPI tables very early, even
17759before the ACPI CA subsystem is initialized.
17760
17761Fixed a problem where Fields defined with the AnyAcc attribute
17762could be resolved to the incorrect address under the following
17763conditions: 1) the field width is larger than 8 bits and 2) the
17764parent operation region is not defined on a DWORD boundary.
17765
17766Fixed a problem where the interpreter is not being locked during
17767namespace initialization (during execution of the _INI control
17768methods), causing an error when an attempt is made to release it
17769later.
17770
17771ACPI 2.0 support in the AML Interpreter has begun and will be
17772ongoing throughout the rest of this year.  In this label, The Mod
17773operator is implemented.
17774
17775Added a new data type to contain full PCI addresses named
17776ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
17777and Function values.
17778
17779 Linux:
17780
17781Enhanced the Linux version of the source code to change most
17782capitalized ACPI type names to lowercase. For example, all
17783instances of ACPI_STATUS are changed to acpi_status.  This will
17784result in a large diff, but the change is strictly cosmetic and
17785aligns the CA code closer to the Linux coding standard.
17786
17787OSL Interfaces:
17788
17789The interfaces to the PCI configuration space have been changed to
17790add the PCI Segment number and to split the single 32-bit combined
17791DeviceFunction field into two 16-bit fields.  This was
17792accomplished by moving the four values that define an address in
17793PCI configuration space (segment, bus, device, and function) to
17794the new ACPI_PCI_ID structure.
17795
17796The changes to the PCI configuration space interfaces led to a
17797reexamination of the complete set of address space access
17798interfaces for PCI, I/O, and Memory.  The previously existing 18
17799interfaces have proven difficult to maintain (any small change
17800must be propagated across at least 6 interfaces) and do not easily
17801allow for future expansion to 64 bits if necessary.  Also, on some
17802systems, it would not be appropriate to demultiplex the access
17803width (8, 16, 32,or 64) before calling the OSL if the
17804corresponding native OS interfaces contain a similar access width
17805parameter.  For these reasons, the 18 address space interfaces
17806have been replaced by these 6 new ones:
17807
17808AcpiOsReadPciConfiguration
17809AcpiOsWritePciConfiguration
17810AcpiOsReadMemory
17811AcpiOsWriteMemory
17812AcpiOsReadPort
17813AcpiOsWritePort
17814
17815Added a new interface named AcpiOsGetRootPointer to allow the OSL
17816to perform the platform and/or OS-specific actions necessary to
17817obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
17818interface will simply call down to the CA core to perform the low-
17819memory search for the table.  On IA-64, the RSDP is obtained from
17820EFI.  Migrating this interface to the OSL allows the CA core to
17821
17822remain OS and platform independent.
17823
17824Added a new interface named AcpiOsSignal to provide a generic
17825"function code and pointer" interface for various miscellaneous
17826signals and notifications that must be made to the host OS.   The
17827first such signals are intended to support the ASL Fatal and
17828Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
17829interface has been obsoleted.
17830
17831The definition of the AcpiFormatException interface has been
17832changed to simplify its use.  The caller no longer must supply a
17833buffer to the call; A pointer to a const string is now returned
17834directly.  This allows the call to be easily used in printf
17835statements, etc. since the caller does not have to manage a local
17836buffer.
17837
17838
17839 ASL Compiler, Version X2025:
17840
17841The ACPI 2.0 Switch/Case/Default operators have been implemented
17842and are fully functional.  They will work with all ACPI 1.0
17843interpreters, since the operators are simply translated to If/Else
17844pairs.
17845
17846The ACPI 2.0 ElseIf operator is implemented and will also work
17847with 1.0 interpreters, for the same reason.
17848
17849Implemented support for ACPI 2.0 variable-length packages.  These
17850packages have a separate opcode, and their size is determined by
17851the interpreter at run-time.
17852
17853Documentation The ACPI CA Programmer Reference has been updated to
17854reflect the new interfaces and changes to existing interfaces.
17855
17856 ------------------------------------------
17857Summary of changes for this label: 06_15_01
17858
17859 ACPI CA Core Subsystem:
17860
17861Fixed a problem where a DWORD-accessed field within a Buffer
17862object would get its byte address inadvertently rounded down to
17863the nearest DWORD.  Buffers are always Byte-accessible.
17864
17865 ASL Compiler, version X2024:
17866
17867Fixed a problem where the Switch() operator would either fault or
17868hang the compiler.  Note however, that the AML code for this ACPI
178692.0 operator is not yet implemented.
17870
17871Compiler uses the new AcpiOsGetTimer interface to obtain compile
17872timings.
17873
17874Implementation of the CreateField operator automatically converts
17875a reference to a named field within a resource descriptor from a
17876byte offset to a bit offset if required.
17877
17878Added some missing named fields from the resource descriptor
17879support. These are the names that are automatically created by the
17880compiler to reference fields within a descriptor.  They are only
17881valid at compile time and are not passed through to the AML
17882interpreter.
17883
17884Resource descriptor named fields are now typed as Integers and
17885subject to compile-time typechecking when used in expressions.
17886
17887 ------------------------------------------
17888Summary of changes for this label: 05_18_01
17889
17890 ACPI CA Core Subsystem:
17891
17892Fixed a couple of problems in the Field support code where bits
17893from adjacent fields could be returned along with the proper field
17894bits. Restructured the field support code to improve performance,
17895readability and maintainability.
17896
17897New DEBUG_PRINTP macro automatically inserts the procedure name
17898into the output, saving hundreds of copies of procedure name
17899strings within the source, shrinking the memory footprint of the
17900debug version of the core subsystem.
17901
17902 Source Code Structure:
17903
17904The source code directory tree was restructured to reflect the
17905current organization of the component architecture.  Some files
17906and directories have been moved and/or renamed.
17907
17908 Linux:
17909
17910Fixed leaking kacpidpc processes.
17911
17912Fixed queueing event data even when /proc/acpi/event is not
17913opened.
17914
17915 ASL Compiler, version X2020:
17916
17917Memory allocation performance enhancement - over 24X compile time
17918improvement on large ASL files.  Parse nodes and namestring
17919buffers are now allocated from a large internal compiler buffer.
17920
17921The temporary .SRC file is deleted unless the "-s" option is
17922specified
17923
17924The "-d" debug output option now sends all output to the .DBG file
17925instead of the console.
17926
17927"External" second parameter is now optional
17928
17929"ElseIf" syntax now properly allows the predicate
17930
17931Last operand to "Load" now recognized as a Target operand
17932
17933Debug object can now be used anywhere as a normal object.
17934
17935ResourceTemplate now returns an object of type BUFFER
17936
17937EISAID now returns an object of type INTEGER
17938
17939"Index" now works with a STRING operand
17940
17941"LoadTable" now accepts optional parameters
17942
17943"ToString" length parameter is now optional
17944
17945"Interrupt (ResourceType," parse error fixed.
17946
17947"Register" with a user-defined region space parse error fixed
17948
17949Escaped backslash at the end of a string ("\\") scan/parse error
17950fixed
17951
17952"Revision" is now an object of type INTEGER.
17953
17954
17955
17956------------------------------------------
17957Summary of changes for this label: 05_02_01
17958
17959Linux:
17960
17961/proc/acpi/event now blocks properly.
17962
17963Removed /proc/sys/acpi. You can still dump your DSDT from
17964/proc/acpi/dsdt.
17965
17966 ACPI CA Core Subsystem:
17967
17968Fixed a problem introduced in the previous label where some of the
17969"small" resource descriptor types were not recognized.
17970
17971Improved error messages for the case where an ASL Field is outside
17972the range of the parent operation region.
17973
17974 ASL Compiler, version X2018:
17975
17976
17977Added error detection for ASL Fields that extend beyond the length
17978of the parent operation region (only if the length of the region
17979is known at compile time.)  This includes fields that have a
17980minimum access width that is smaller than the parent region, and
17981individual field units that are partially or entirely beyond the
17982extent of the parent.
17983
17984
17985
17986------------------------------------------
17987Summary of changes for this label: 04_27_01
17988
17989 ACPI CA Core Subsystem:
17990
17991Fixed a problem where the namespace mutex could be released at the
17992wrong time during execution of AcpiRemoveAddressSpaceHandler.
17993
17994Added optional thread ID output for debug traces, to simplify
17995debugging of multiple threads.  Added context switch notification
17996when the debug code realizes that a different thread is now
17997executing ACPI code.
17998
17999Some additional external data types have been prefixed with the
18000string "ACPI_" for consistency.  This may effect existing code.
18001The data types affected are the external callback typedefs - e.g.,
18002
18003WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
18004
18005 Linux:
18006
18007Fixed an issue with the OSL semaphore implementation where a
18008thread was waking up with an error from receiving a SIGCHLD
18009signal.
18010
18011Linux version of ACPI CA now uses the system C library for string
18012manipulation routines instead of a local implementation.
18013
18014Cleaned up comments and removed TBDs.
18015
18016 ASL Compiler, version X2017:
18017
18018Enhanced error detection and reporting for all file I/O
18019operations.
18020
18021 Documentation:
18022
18023Programmer Reference updated to version 1.06.
18024
18025
18026
18027------------------------------------------
18028Summary of changes for this label: 04_13_01
18029
18030 ACPI CA Core Subsystem:
18031
18032Restructured support for BufferFields and RegionFields.
18033BankFields support is now fully operational.  All known 32-bit
18034limitations on field sizes have been removed.  Both BufferFields
18035and (Operation) RegionFields are now supported by the same field
18036management code.
18037
18038Resource support now supports QWORD address and IO resources. The
1803916/32/64 bit address structures and the Extended IRQ structure
18040have been changed to properly handle Source Resource strings.
18041
18042A ThreadId of -1 is now used to indicate a "mutex not acquired"
18043condition internally and must never be returned by AcpiOsThreadId.
18044This reserved value was changed from 0 since Unix systems allow a
18045thread ID of 0.
18046
18047Linux:
18048
18049Driver code reorganized to enhance portability
18050
18051Added a kernel configuration option to control ACPI_DEBUG
18052
18053Fixed the EC driver to honor _GLK.
18054
18055ASL Compiler, version X2016:
18056
18057Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
18058address space was set to 0, not 0x7f as it should be.
18059
18060 ------------------------------------------
18061Summary of changes for this label: 03_13_01
18062
18063 ACPI CA Core Subsystem:
18064
18065During ACPI initialization, the _SB_._INI method is now run if
18066present.
18067
18068Notify handler fix - notifies are deferred until the parent method
18069completes execution.  This fixes the "mutex already acquired"
18070issue seen occasionally.
18071
18072Part of the "implicit conversion" rules in ACPI 2.0 have been
18073found to cause compatibility problems with existing ASL/AML.  The
18074convert "result-to-target-type" implementation has been removed
18075for stores to method Args and Locals.  Source operand conversion
18076is still fully implemented.  Possible changes to ACPI 2.0
18077specification pending.
18078
18079Fix to AcpiRsCalculatePciRoutingTableLength to return correct
18080length.
18081
18082Fix for compiler warnings for 64-bit compiles.
18083
18084 Linux:
18085
18086/proc output aligned for easier parsing.
18087
18088Release-version compile problem fixed.
18089
18090New kernel configuration options documented in Configure.help.
18091
18092IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
18093context" message.
18094
18095 OSPM:
18096
18097Power resource driver integrated with bus manager.
18098
18099Fixed kernel fault during active cooling for thermal zones.
18100
18101Source Code:
18102
18103The source code tree has been restructured.
18104
18105
18106
18107------------------------------------------
18108Summary of changes for this label: 03_02_01
18109
18110 Linux OS Services Layer (OSL):
18111
18112Major revision of all Linux-specific code.
18113
18114Modularized all ACPI-specific drivers.
18115
18116Added new thermal zone and power resource drivers.
18117
18118Revamped /proc interface (new functionality is under /proc/acpi).
18119
18120New kernel configuration options.
18121
18122 Linux known issues:
18123
18124New kernel configuration options not documented in Configure.help
18125yet.
18126
18127
18128Module dependencies not currently implemented. If used, they
18129should be loaded in this order: busmgr, power, ec, system,
18130processor, battery, ac_adapter, button, thermal.
18131
18132Modules will not load if CONFIG_MODVERSION is set.
18133
18134IBM 600E - entering S5 may reboot instead of shutting down.
18135
18136IBM 600E - Sleep button may generate "Invalid <NULL> context"
18137message.
18138
18139Some systems may fail with "execution mutex already acquired"
18140message.
18141
18142 ACPI CA Core Subsystem:
18143
18144Added a new OSL Interface, AcpiOsGetThreadId.  This was required
18145for the  deadlock detection code. Defined to return a non-zero, 32-
18146bit thread ID for the currently executing thread.  May be a non-
18147zero constant integer on single-thread systems.
18148
18149Implemented deadlock detection for internal subsystem mutexes.  We
18150may add conditional compilation for this code (debug only) later.
18151
18152ASL/AML Mutex object semantics are now fully supported.  This
18153includes multiple acquires/releases by owner and support for the
18154
18155Mutex SyncLevel parameter.
18156
18157A new "Force Release" mechanism automatically frees all ASL
18158Mutexes that have been acquired but not released when a thread
18159exits the interpreter.  This forces conformance to the ACPI spec
18160("All mutexes must be released when an invocation exits") and
18161prevents deadlocked ASL threads.  This mechanism can be expanded
18162(later) to monitor other resource acquisitions if OEM ASL code
18163continues to misbehave (which it will).
18164
18165Several new ACPI exception codes have been added for the Mutex
18166support.
18167
18168Recursive method calls are now allowed and supported (the ACPI
18169spec does in fact allow recursive method calls.)  The number of
18170recursive calls is subject to the restrictions imposed by the
18171SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
18172parameter.
18173
18174Implemented support for the SyncLevel parameter for control
18175methods (ACPI 2.0 feature)
18176
18177Fixed a deadlock problem when multiple threads attempted to use
18178the interpreter.
18179
18180Fixed a problem where the string length of a String package
18181element was not always set in a package returned from
18182AcpiEvaluateObject.
18183
18184Fixed a problem where the length of a String package element was
18185not always included in the length of the overall package returned
18186from AcpiEvaluateObject.
18187
18188Added external interfaces (Acpi*) to the ACPI debug memory
18189manager.  This manager keeps a list of all outstanding
18190allocations, and can therefore detect memory leaks and attempts to
18191free memory blocks more than once. Useful for code such as the
18192power manager, etc.  May not be appropriate for device drivers.
18193Performance with the debug code enabled is slow.
18194
18195The ACPI Global Lock is now an optional hardware element.
18196
18197 ASL Compiler Version X2015:
18198
18199Integrated changes to allow the compiler to be generated on
18200multiple platforms.
18201
18202Linux makefile added to generate the compiler on Linux
18203
18204 Source Code:
18205
18206All platform-specific headers have been moved to their own
18207subdirectory, Include/Platform.
18208
18209New source file added, Interpreter/ammutex.c
18210
18211New header file, Include/acstruct.h
18212
18213 Documentation:
18214
18215The programmer reference has been updated for the following new
18216interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
18217
18218 ------------------------------------------
18219Summary of changes for this label: 02_08_01
18220
18221Core ACPI CA Subsystem: Fixed a problem where an error was
18222incorrectly returned if the return resource buffer was larger than
18223the actual data (in the resource interfaces).
18224
18225References to named objects within packages are resolved to the
18226
18227full pathname string before packages are returned directly (via
18228the AcpiEvaluateObject interface) or indirectly via the resource
18229interfaces.
18230
18231Linux OS Services Layer (OSL):
18232
18233Improved /proc battery interface.
18234
18235
18236Added C-state debugging output and other miscellaneous fixes.
18237
18238ASL Compiler Version X2014:
18239
18240All defined method arguments can now be used as local variables,
18241including the ones that are not actually passed in as parameters.
18242The compiler tracks initialization of the arguments and issues an
18243exception if they are used without prior assignment (just like
18244locals).
18245
18246The -o option now specifies a filename prefix that is used for all
18247output files, including the AML output file.  Otherwise, the
18248default behavior is as follows:  1) the AML goes to the file
18249specified in the DSDT.  2) all other output files use the input
18250source filename as the base.
18251
18252 ------------------------------------------
18253Summary of changes for this label: 01_25_01
18254
18255Core ACPI CA Subsystem: Restructured the implementation of object
18256store support within the  interpreter.  This includes support for
18257the Store operator as well  as any ASL operators that include a
18258target operand.
18259
18260Partially implemented support for Implicit Result-to-Target
18261conversion. This is when a result object is converted on the fly
18262to the type of  an existing target object.  Completion of this
18263support is pending  further analysis of the ACPI specification
18264concerning this matter.
18265
18266CPU-specific code has been removed from the subsystem (hardware
18267directory).
18268
18269New Power Management Timer functions added
18270
18271Linux OS Services Layer (OSL): Moved system state transition code
18272to the core, fixed it, and modified  Linux OSL accordingly.
18273
18274Fixed C2 and C3 latency calculations.
18275
18276
18277We no longer use the compilation date for the version message on
18278initialization, but retrieve the version from AcpiGetSystemInfo().
18279
18280Incorporated for fix Sony VAIO machines.
18281
18282Documentation:  The Programmer Reference has been updated and
18283reformatted.
18284
18285
18286ASL Compiler:  Version X2013: Fixed a problem where the line
18287numbering and error reporting could get out  of sync in the
18288presence of multiple include files.
18289
18290 ------------------------------------------
18291Summary of changes for this label: 01_15_01
18292
18293Core ACPI CA Subsystem:
18294
18295Implemented support for type conversions in the execution of the
18296ASL  Concatenate operator (The second operand is converted to
18297match the type  of the first operand before concatenation.)
18298
18299Support for implicit source operand conversion is partially
18300implemented.   The ASL source operand types Integer, Buffer, and
18301String are freely  interchangeable for most ASL operators and are
18302converted by the interpreter  on the fly as required.  Implicit
18303Target operand conversion (where the  result is converted to the
18304target type before storing) is not yet implemented.
18305
18306Support for 32-bit and 64-bit BCD integers is implemented.
18307
18308Problem fixed where a field read on an aligned field could cause a
18309read  past the end of the field.
18310
18311New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
18312does not return a value, but the caller expects one.  (The ASL
18313compiler flags this as a warning.)
18314
18315ASL Compiler:
18316
18317Version X2011:
183181. Static typechecking of all operands is implemented. This
18319prevents the use of invalid objects (such as using a Package where
18320an Integer is required) at compile time instead of at interpreter
18321run-time.
183222. The ASL source line is printed with ALL errors and warnings.
183233. Bug fix for source EOF without final linefeed.
183244. Debug option is split into a parse trace and a namespace trace.
183255. Namespace output option (-n) includes initial values for
18326integers and strings.
183276. Parse-only option added for quick syntax checking.
183287. Compiler checks for duplicate ACPI name declarations
18329
18330Version X2012:
183311. Relaxed typechecking to allow interchangeability between
18332strings, integers, and buffers.  These types are now converted by
18333the interpreter at runtime.
183342. Compiler reports time taken by each internal subsystem in the
18335debug         output file.
18336
18337
18338 ------------------------------------------
18339Summary of changes for this label: 12_14_00
18340
18341ASL Compiler:
18342
18343This is the first official release of the compiler. Since the
18344compiler requires elements of the Core Subsystem, this label
18345synchronizes everything.
18346
18347------------------------------------------
18348Summary of changes for this label: 12_08_00
18349
18350
18351Fixed a problem where named references within the ASL definition
18352of both OperationRegions and CreateXXXFields did not work
18353properly.  The symptom was an AE_AML_OPERAND_TYPE during
18354initialization of the region/field. This is similar (but not
18355related internally) to the problem that was fixed in the last
18356label.
18357
18358Implemented both 32-bit and 64-bit support for the BCD ASL
18359functions ToBCD and FromBCD.
18360
18361Updated all legal headers to include "2000" in the copyright
18362years.
18363
18364 ------------------------------------------
18365Summary of changes for this label: 12_01_00
18366
18367Fixed a problem where method invocations within the ASL definition
18368of both OperationRegions and CreateXXXFields did not work
18369properly.  The symptom was an AE_AML_OPERAND_TYPE during
18370initialization of the region/field:
18371
18372  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
18373[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
18374(0x3005)
18375
18376Fixed a problem where operators with more than one nested
18377subexpression would fail.  The symptoms were varied, by mostly
18378AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
18379problem that has gone unnoticed until now.
18380
18381  Subtract (Add (1,2), Multiply (3,4))
18382
18383Fixed a problem where AcpiGetHandle didn't quite get fixed in the
18384previous build (The prefix part of a relative path was handled
18385incorrectly).
18386
18387Fixed a problem where Operation Region initialization failed if
18388the operation region name was a "namepath" instead of a simple
18389"nameseg". Symptom was an AE_NO_OPERAND error.
18390
18391Fixed a problem where an assignment to a local variable via the
18392indirect RefOf mechanism only worked for the first such
18393assignment.  Subsequent assignments were ignored.
18394
18395 ------------------------------------------
18396Summary of changes for this label: 11_15_00
18397
18398ACPI 2.0 table support with backwards support for ACPI 1.0 and the
183990.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
18400the AML  interpreter does NOT have support for the new 2.0 ASL
18401grammar terms at this time.
18402
18403All ACPI hardware access is via the GAS structures in the ACPI 2.0
18404FADT.
18405
18406All physical memory addresses across all platforms are now 64 bits
18407wide. Logical address width remains dependent on the platform
18408(i.e., "void *").
18409
18410AcpiOsMapMemory interface changed to a 64-bit physical address.
18411
18412The AML interpreter integer size is now 64 bits, as per the ACPI
184132.0 specification.
18414
18415For backwards compatibility with ACPI 1.0, ACPI tables with a
18416revision number less than 2 use 32-bit integers only.
18417
18418Fixed a problem where the evaluation of OpRegion operands did not
18419always resolve them to numbers properly.
18420
18421------------------------------------------
18422Summary of changes for this label: 10_20_00
18423
18424Fix for CBN_._STA issue.  This fix will allow correct access to
18425CBN_ OpRegions when the _STA returns 0x8.
18426
18427Support to convert ACPI constants (Ones, Zeros, One) to actual
18428values before a package object is returned
18429
18430Fix for method call as predicate to if/while construct causing
18431incorrect if/while behavior
18432
18433Fix for Else block package lengths sometimes calculated wrong (if
18434block > 63 bytes)
18435
18436Fix for Processor object length field, was always zero
18437
18438Table load abort if FACP sanity check fails
18439
18440Fix for problem with Scope(name) if name already exists
18441
18442Warning emitted if a named object referenced cannot be found
18443(resolved) during method execution.
18444
18445
18446
18447
18448
18449------------------------------------------
18450Summary of changes for this label: 9_29_00
18451
18452New table initialization interfaces: AcpiInitializeSubsystem no
18453longer has any parameters AcpiFindRootPointer - Find the RSDP (if
18454necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
18455>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
18456AcpiLoadTables
18457
18458Note: These interface changes require changes to all existing OSDs
18459
18460The PCI_Config default address space handler is always installed
18461at the root namespace object.
18462
18463-------------------------------------------
18464Summary of changes for this label: 09_15_00
18465
18466The new initialization architecture is implemented.  New
18467interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
18468AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
18469
18470(Namespace is automatically loaded when a table is loaded)
18471
18472The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1847352 bytes to 32 bytes.  There is usually one of these for every
18474namespace object, so the memory savings is significant.
18475
18476Implemented just-in-time evaluation of the CreateField operators.
18477
18478Bug fixes for IA-64 support have been integrated.
18479
18480Additional code review comments have been implemented
18481
18482The so-called "third pass parse" has been replaced by a final walk
18483through the namespace to initialize all operation regions (address
18484spaces) and fields that have not yet been initialized during the
18485execution of the various _INI and REG methods.
18486
18487New file - namespace/nsinit.c
18488
18489-------------------------------------------
18490Summary of changes for this label: 09_01_00
18491
18492Namespace manager data structures have been reworked to change the
18493primary  object from a table to a single object.  This has
18494resulted in dynamic memory  savings of 3X within the namespace and
184952X overall in the ACPI CA subsystem.
18496
18497Fixed problem where the call to AcpiEvFindPciRootBuses was
18498inadvertently left  commented out.
18499
18500Reduced the warning count when generating the source with the GCC
18501compiler.
18502
18503Revision numbers added to each module header showing the
18504SourceSafe version of the file.  Please refer to this version
18505number when giving us feedback or comments on individual modules.
18506
18507The main object types within the subsystem have been renamed to
18508clarify their  purpose:
18509
18510ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
18511ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
18512ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
18513
18514NOTE: no changes to the initialization sequence are included in
18515this label.
18516
18517-------------------------------------------
18518Summary of changes for this label: 08_23_00
18519
18520Fixed problem where TerminateControlMethod was being called
18521multiple times per  method
18522
18523Fixed debugger problem where single stepping caused a semaphore to
18524be  oversignalled
18525
18526Improved performance through additional parse object caching -
18527added  ACPI_EXTENDED_OP type
18528
18529-------------------------------------------
18530Summary of changes for this label: 08_10_00
18531
18532Parser/Interpreter integration:  Eliminated the creation of
18533complete parse trees  for ACPI tables and control methods.
18534Instead, parse subtrees are created and  then deleted as soon as
18535they are processed (Either entered into the namespace or  executed
18536by the interpreter).  This reduces the use of dynamic kernel
18537memory  significantly. (about 10X)
18538
18539Exception codes broken into classes and renumbered.  Be sure to
18540recompile all  code that includes acexcep.h.  Hopefully we won't
18541have to renumber the codes  again now that they are split into
18542classes (environment, programmer, AML code,  ACPI table, and
18543internal).
18544
18545Fixed some additional alignment issues in the Resource Manager
18546subcomponent
18547
18548Implemented semaphore tracking in the AcpiExec utility, and fixed
18549several places  where mutexes/semaphores were being unlocked
18550without a corresponding lock  operation.  There are no known
18551semaphore or mutex "leaks" at this time.
18552
18553Fixed the case where an ASL Return operator is used to return an
18554unnamed  package.
18555
18556-------------------------------------------
18557Summary of changes for this label: 07_28_00
18558
18559Fixed a problem with the way addresses were calculated in
18560AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
18561manifested itself when a Field was  created with WordAccess or
18562DwordAccess, but the field unit defined within the  Field was less
18563
18564than a Word or Dword.
18565
18566Fixed a problem in AmlDumpOperands() module's loop to pull
18567operands off of the  operand stack to display information. The
18568problem manifested itself as a TLB  error on 64-bit systems when
18569accessing an operand stack with two or more  operands.
18570
18571Fixed a problem with the PCI configuration space handlers where
18572context was  getting confused between accesses. This required a
18573change to the generic address  space handler and address space
18574setup definitions. Handlers now get both a  global handler context
18575(this is the one passed in by the user when executing
18576AcpiInstallAddressSpaceHandler() and a specific region context
18577that is unique to  each region (For example, the _ADR, _SEG and
18578_BBN values associated with a  specific region). The generic
18579function definitions have changed to the  following:
18580
18581typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
18582UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
18583*HandlerContext, // This used to be void *Context void
18584*RegionContext); // This is an additional parameter
18585
18586typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
18587RegionHandle, UINT32 Function, void *HandlerContext,  void
18588**RegionContext); // This used to be **ReturnContext
18589
18590-------------------------------------------
18591Summary of changes for this label: 07_21_00
18592
18593Major file consolidation and rename.  All files within the
18594interpreter have been  renamed as well as most header files.  This
18595was done to prevent collisions with  existing files in the host
18596OSs -- filenames such as "config.h" and "global.h"  seem to be
18597quite common.  The VC project files have been updated.  All
18598makefiles  will require modification.
18599
18600The parser/interpreter integration continues in Phase 5 with the
18601implementation  of a complete 2-pass parse (the AML is parsed
18602twice) for each table;  This  avoids the construction of a huge
18603parse tree and therefore reduces the amount of  dynamic memory
18604required by the subsystem.  Greater use of the parse object cache
18605means that performance is unaffected.
18606
18607Many comments from the two code reviews have been rolled in.
18608
18609The 64-bit alignment support is complete.
18610
18611-------------------------------------------
18612Summary of changes for this label: 06_30_00
18613
18614With a nod and a tip of the hat to the technology of yesteryear,
18615we've added  support in the source code for 80 column output
18616devices.  The code is now mostly  constrained to 80 columns or
18617less to support environments and editors that 1)  cannot display
18618or print more than 80 characters on a single line, and 2) cannot
18619disable line wrapping.
18620
18621A major restructuring of the namespace data structure has been
18622completed.  The  result is 1) cleaner and more
18623understandable/maintainable code, and 2) a  significant reduction
18624in the dynamic memory requirement for each named ACPI  object
18625(almost half).
18626
18627-------------------------------------------
18628Summary of changes for this label: 06_23_00
18629
18630Linux support has been added.  In order to obtain approval to get
18631the ACPI CA  subsystem into the Linux kernel, we've had to make
18632quite a few changes to the  base subsystem that will affect all
18633users (all the changes are generic and OS- independent).  The
18634effects of these global changes have been somewhat far  reaching.
18635Files have been merged and/or renamed and interfaces have been
18636renamed.   The major changes are described below.
18637
18638Osd* interfaces renamed to AcpiOs* to eliminate namespace
18639pollution/confusion  within our target kernels.  All OSD
18640interfaces must be modified to match the new  naming convention.
18641
18642Files merged across the subsystem.  A number of the smaller source
18643and header  files have been merged to reduce the file count and
18644increase the density of the  existing files.  There are too many
18645to list here.  In general, makefiles that  call out individual
18646files will require rebuilding.
18647
18648Interpreter files renamed.  All interpreter files now have the
18649prefix am*  instead of ie* and is*.
18650
18651Header files renamed:  The acapi.h file is now acpixf.h.  The
18652acpiosd.h file is  now acpiosxf.h.  We are removing references to
18653the acronym "API" since it is  somewhat windowsy. The new name is
18654"external interface" or xface or xf in the  filenames.j
18655
18656
18657All manifest constants have been forced to upper case (some were
18658mixed case.)   Also, the string "ACPI_" has been prepended to many
18659(not all) of the constants,  typedefs, and structs.
18660
18661The globals "DebugLevel" and "DebugLayer" have been renamed
18662"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
18663
18664All other globals within the subsystem are now prefixed with
18665"AcpiGbl_" Internal procedures within the subsystem are now
18666prefixed with "Acpi" (with only  a few exceptions).  The original
18667two-letter abbreviation for the subcomponent  remains after "Acpi"
18668- for example, CmCallocate became AcpiCmCallocate.
18669
18670Added a source code translation/conversion utility.  Used to
18671generate the Linux  source code, it can be modified to generate
18672other types of source as well. Can  also be used to cleanup
18673existing source by removing extraneous spaces and blank  lines.
18674Found in tools/acpisrc/*
18675
18676OsdUnMapMemory was renamed to OsdUnmapMemory and then
18677AcpiOsUnmapMemory.  (UnMap  became Unmap).
18678
18679A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
18680When set to  one, this indicates that the caller wants to use the
18681
18682semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
18683both types.  However, implementers of this  call may want to use
18684different OS primitives depending on the type of semaphore
18685requested.  For example, some operating systems provide separate
18686
18687"mutex" and  "semaphore" interfaces - where the mutex interface is
18688much faster because it  doesn't have all the overhead of a full
18689semaphore implementation.
18690
18691Fixed a deadlock problem where a method that accesses the PCI
18692address space can  block forever if it is the first access to the
18693space.
18694
18695-------------------------------------------
18696Summary of changes for this label: 06_02_00
18697
18698Support for environments that cannot handle unaligned data
18699accesses (e.g.  firmware and OS environments devoid of alignment
18700handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
18701been added (via configurable macros) in  these three areas: -
18702Transfer of data from the raw AML byte stream is done via byte
18703moves instead of    word/dword/qword moves. - External objects are
18704aligned within the user buffer, including package   elements (sub-
18705objects). - Conversion of name strings to UINT32 Acpi Names is now
18706done byte-wise.
18707
18708The Store operator was modified to mimic Microsoft's
18709implementation when storing  to a Buffer Field.
18710
18711Added a check of the BM_STS bit before entering C3.
18712
18713The methods subdirectory has been obsoleted and removed.  A new
18714file, cmeval.c  subsumes the functionality.
18715
18716A 16-bit (DOS) version of AcpiExec has been developed.  The
18717makefile is under  the acpiexec directory.
18718