changes.txt revision 1.1.1.21 1 ----------------------------------------
2 16 August 2019. Summary of changes for version 20190816:
3
4 This release is available at https://acpica.org/downloads
5
6
7 1) ACPICA kernel-resident subsystem:
8
9 Modified the OwnerId mechanism to allow for more Owner Ids. The previous
10 limit was 256 Ids, now it is 4096 Ids. This prevents OWNER_ID_LIMIT
11 exceptions on machines with a large number of initialization threads,
12 many CPU cores and nested initialization control methods.
13
14 Introduced acpi_dispatch_gpe() as a wrapper around AcpiEvDetectGpe() for
15 checking if the given GPE (as represented by a GPE device handle and a
16 GPE number) is currently active and dispatching it (if that's the case)
17 outside of interrupt context.
18
19 Table load: exit the interpreter before initializing objects within the
20 new table This prevents re-acquiring the interpreter lock when loading
21 tables
22
23 Added the "Windows 2019" string to the _OSI support (version 1903). Jung-
24 uk Kim
25
26 Macros: removed pointer math on a null pointer. Causes warnings on some
27 compilers and/or tools. Changed ACPI_TO_POINTER to use ACPI_CAST_PTR
28 instead of using arithmetic.
29
30 Fully deployed the ACPI_PRINTF_LIKE macro. This macro was not being used
31 across all "printf-like" internal functions. Also, cleanup all calls to
32 such functions (both in 32-bit mode and 64-bit mode) now that they are
33 analyzed by the gcc compiler via ACPI_PRINTF_LIKE.
34
35
36 2) iASL Compiler/Disassembler and ACPICA tools:
37
38 iASL: implemented a new data table compiler flex/bison front-end. This
39 change is internal and is not intended to result in changes to the
40 compiled code. This new compiler front-end can be invoked using the -tp
41 option for now, until the old mechanism is removed.
42
43 ASLTS: Implemented a new data table compiler test suite. This test suite
44 generates all table templates and compile/disassemble/re-compile/binary-
45 compare each file.
46
47 iASL: return -1 if AML files were not generated due to compiler errors
48
49 iASL: added a warning on use of the now-legacy ASL Processor () keyword.
50
51 iASL: added an error on _UID object declaration that returns a String
52 within a Processor () declaration. A _UID for a processor must be an
53 Integer.
54
55 iASL: added a null terminator to name strings that consist only of
56 multiple parent prefixes (^)
57
58 iASL: added support to compile both ASL and data table files in a single
59 command.
60
61 Updated the tool generation project files that were recently migrated to
62 MSVC 2017 to eliminate all new warnings. The new project files appear in
63 the directory \acpica\generate\msvc2017. This change effectively
64 deprecates the older project files in \acpica\generate\msvc9.
65
66
67 ----------------------------------------
68 03 July 2019. Summary of changes for version 20190703:
69
70
71 1) ACPICA kernel-resident subsystem:
72
73 Remove legacy module-level support code. There were still some remnants
74 of the legacy module-level code executions. Since we no longer support
75 this option, this is essentially dead code and has been removed from the
76 ACPICA source.
77
78 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root
79 scope. If these named objects are declared outside the root scope, they
80 will not be invoked by any host Operating System.
81
82 Clear status of GPEs on first direct enable. ACPI GPEs (other than the EC
83 one) can be enabled in two situations. First, the GPEs with existing _Lxx
84 and _Exx methods are enabled implicitly by ACPICA during system
85 initialization. Second, the GPEs without these methods (like GPEs listed
86 by _PRW objects for wakeup devices) need to be enabled directly by the
87 code that is going to use them (e.g. ACPI power management or device
88 drivers).
89
90 In the former case, if the status of a given GPE is set to start with,
91 its handler method (either _Lxx or _Exx) needs to be invoked to take care
92 of the events (possibly) signaled before the GPE was enabled. In the
93 latter case, however, the first caller of AcpiEnableGpe() for a given GPE
94 should not be expected to care about any events that might be signaled
95 through it earlier. In that case, it is better to clear the status of
96 the GPE before enabling it, to prevent stale events from triggering
97 unwanted actions (like spurious system resume, for example).
98
99 For this reason, modify AcpiEvAddGpeReference() to take an additional
100 boolean argument indicating whether or not the GPE status needs to be
101 cleared when its reference counter changes from zero to one and make
102 AcpiEnableGpe() pass TRUE to it through that new argument.
103
104
105 2) iASL Compiler/Disassembler and ACPICA tools:
106
107 The tool generation process has been migrated to MSVC 2017, and all
108 project files have been upgraded. The new project files appear in the
109 directory \acpica\generate\msvc2017. This change effectively deprecates
110 the older project files in \acpica\generate\msvc9.
111
112 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root
113 scope. If these named objects are declared outside the root scope, they
114 will not be invoked by any host Operating System
115
116 ----------------------------------------
117 09 May 2019. Summary of changes for version 20190509:
118
119
120 1) ACPICA kernel-resident subsystem:
121
122 Revert commit 6c43e1a ("ACPICA: Clear status of GPEs before enabling
123 them") that causes problems with Thunderbolt controllers to occur if a
124 dock device is connected at init time (the xhci_hcd and thunderbolt
125 modules crash which prevents peripherals connected through them from
126 working). Commit 6c43e1a effectively causes commit ecc1165b8b74 ("ACPICA:
127 Dispatch active GPEs at init time") to get undone, so the problem
128 addressed by commit ecc1165b8b74 appears again as a result of it.
129
130
131 2) iASL Compiler/Disassembler and ACPICA tools:
132
133 Reverted iASL: Additional forward reference detection. This change
134 reverts forward reference detection for field declarations. The feature
135 unintentionally emitted AML bytecode with incorrect package lengths for
136 some ASL code related to Fields and OperationRegions. This malformed AML
137 can cause systems to crash
138 during boot. The malformed AML bytecode is emitted in iASL version
139 20190329 and 20190405.
140
141 iASL: improve forward reference detection. This change improves forward
142 reference detection for named objects inside of scopes. If a parse object
143 has the OP_NOT_FOUND_DURING_LOAD set, it means that Op is a reference to
144 a named object that is declared later in the AML bytecode. This is
145 allowed if the reference is inside of a method and the declaration is
146 outside of a method like so:
147
148 DefinitionBlock(...)
149 {
150 Method (TEST)
151 {
152 Return (NUM0)
153 }
154 Name (NUM0,0)
155 }
156
157 However, if the declaration and reference are both in the same method or
158 outside any methods, this is a forward reference and should be marked as
159 an error because it would result in runtime errors.
160
161 DefinitionBlock(...)
162 {
163 Name (BUFF, Buffer (NUM0) {}) // Forward reference
164 Name (NUM0, 0x0)
165
166 Method (TEST)
167 {
168 Local0 = NUM1
169 Name (NUM1, 0x1) // Forward reference
170 return (Local0)
171 }
172 }
173
174 iASL: Implemented additional buffer overflow analysis for BufferField
175 declarations. Check if a buffer index argument to a create buffer field
176 operation is beyond the end of the target buffer.
177
178 This affects these AML operators:
179
180 AML_CREATE_FIELD_OP
181 AML_CREATE_BIT_FIELD_OP
182 AML_CREATE_BYTE_FIELD_OP
183 AML_CREATE_WORD_FIELD_OP
184 AML_CREATE_DWORD_FIELD_OP
185 AML_CREATE_QWORD_FIELD_OP
186
187 There are three conditions that must be satisfied in order to allow this
188 validation at compile time:
189
190 1) The length of the target buffer must be an integer constant
191 2) The index specified in the create* must be an integer constant
192 3) For CreateField, the bit length argument must be non-zero.
193
194 Example:
195 Name (BUF1, Buffer() {1,2})
196 CreateField (BUF1, 7, 9, CF03) // 3: ERR
197
198 dsdt.asl 14: CreateField (BUF1, 7, 9, CF03) // 3: ERR
199 Error 6165 - ^ Buffer index beyond end of
200 target buffer
201
202
203 ----------------------------------------
204 05 April 2019. Summary of changes for version 20190405:
205
206
207 1) ACPICA kernel-resident subsystem:
208
209 Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop
210 unconditionally clearing ACPI IRQs during suspend/resume") was added
211 earlier to stop clearing of event status bits unconditionally on suspend
212 and resume paths. Though this change fixed an issue on suspend path, it
213 introduced regressions on several resume paths. In the case of S0ix,
214 events are enabled as part of device suspend path. If status bits for the
215 events are set when they are enabled, it could result in premature wake
216 from S0ix. If status is cleared for any event that is being enabled so
217 that any stale events are cleared out. In case of S0ix, events are
218 enabled as part of device suspend path. If status bits for the events are
219 set when they are enabled, it could result in premature wake from S0ix.
220
221 This change ensures that status is cleared for any event that is being
222 enabled so that any stale events are cleared out.
223
224
225 2) iASL Compiler/Disassembler and ACPICA tools:
226
227 iASL: Implemented an enhanced multiple file compilation that combines
228 named objects from all input files to a single namespace. With this
229 feature, any unresolved external declarations as well as duplicate named
230 object declarations can be detected during compilation rather than
231 generating errors much later at runtime. The following commands are
232 examples that utilize this feature:
233 iasl dsdt.asl ssdt.asl
234 iasl dsdt.asl ssdt1.asl ssdt2.asl
235 iasl dsdt.asl ssdt*.asl
236
237 ----------------------------------------
238 29 March 2019. Summary of changes for version 20190329:
239
240
241 1) ACPICA kernel-resident subsystem:
242
243 Namespace support: Remove the address nodes from global list after method
244 termination. The global address list contains pointers to namespace nodes
245 that represent Operation Regions. This change properly removes Operation
246 Region namespace nodes that are declared dynamically during method
247 execution.
248
249 Linux: Use a different debug default than ACPICA. There was a divergence
250 between Linux and the ACPICA codebases. In order to resolve this
251 divergence, Linux now declares its own debug default in aclinux.h
252
253 Renamed some internal macros to improve code understanding and
254 maintenance. The macros below all operate on single 4-character ACPI
255 NameSegs, not generic strings (old -> new):
256 ACPI_NAME_SIZE -> ACPI_NAMESEG_SIZE
257 ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
258 ACPI_MOVE_NAME -> ACPI_COPY_NAMESEG
259
260 Fix for missing comma in array declaration for the AcpiGbl_GenericNotify
261 table.
262
263 Test suite: Update makefiles, add PCC operation region support
264
265
266 2) iASL Compiler/Disassembler and Tools:
267
268 iASL: Implemented additional illegal forward reference detection. Now
269 detect and emit an error upon detection of a forward reference from a
270 Field to an Operation Region. This will fail at runtime if allowed to
271 pass the compiler.
272
273 AcpiExec: Add an address list check for dynamic Operation Regions. This
274 feature performs a sanity test for each node the global address list.
275 This is done in order to ensure that all dynamic operation regions are
276 properly removed from the global address list and no dangling pointers
277 are left behind.
278
279 Disassembler: Improved generation of resource pathnames. This change
280 improves the code that generates resource descriptor and resource tag
281 pathnames. The original code used a bunch of str* C library functions
282 that caused warnings on some compilers.
283
284 iASL: Removed some uses of strncpy and replaced with memmove. The strncpy
285 function can overwrite buffers if the calling code is not very careful.
286 In the case of generating a module/table header, use of memmove is a
287 better implementation.
288
289
290 3) Status of new features that have not been completed at this time:
291
292 iASL: Implementing an enhanced multiple file compilation into a single
293 namespace feature (Status): This feature will be released soon, and
294 allows multiple ASL files to be compiled into the same single namespace.
295 By doing so, any unresolved external declarations as well as duplicate
296 named object declarations can be detected during compilation (rather than
297 later during runtime). The following commands are examples that utilize
298 this feature:
299 iasl dsdt.asl ssdt.asl
300 iasl dsdt.asl ssdt1.asl ssdt2.asl
301 iasl dsdt.asl ssdt*.asl
302
303 ASL tutorial status: Feedback is being gathered internally and the
304 current plan is to publish this tutorial on the ACPICA website after a
305 final review by a tech writer.
306
307 ----------------------------------------
308 15 February 2019. Summary of changes for version 20190215:
309
310
311 0) Support for ACPI specification version 6.3:
312
313 Add PCC operation region support for the AML interpreter. This adds PCC
314 operation region support in the AML interpreter and a default handler for
315 acpiexec. The change also renames the PCC region address space keyword to
316 PlatformCommChannel.
317
318 Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG.
319 These methods provide OSPM with health information and device boot
320 status.
321
322 PDTT: Add TriggerOrder to the PCC Identifier structure. The field value
323 defines if the trigger needs to be invoked by OSPM before or at the end
324 of kernel crash dump processing/handling operation.
325
326 SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT
327 is used for describing devices such as heterogeneous processors,
328 accelerators, GPUs, and IO devices with integrated compute or DMA
329 engines.
330
331 MADT: Add support for statistical profiling in GICC. Statistical
332 profiling extension (SPE) is an architecture-specific feature for ARM.
333
334 MADT: Add online capable flag. If this bit is set, system hardware
335 supports enabling this processor during OS runtime.
336
337 New Error Disconnect Recover Notification value. There are a number of
338 scenarios where system Firmware in collaboration with hardware may
339 disconnect one or more devices from the rest of the system for purposes
340 of error containment. Firmware can use this new notification value to
341 alert OSPM of such a removal.
342
343 PPTT: New additional fields in Processor Structure Flags. These flags
344 provide more information about processor topology.
345
346 NFIT/Disassembler: Change a field name from "Address Range" to "Region
347 Type".
348
349 HMAT updates: make several existing fields to be reserved as well as
350 rename subtable 0 to "memory proximity domain attributes".
351
352 GTDT: Add support for new GTDT Revision 3. This revision adds information
353 for the EL2 timer.
354
355 iASL: Update the HMAT example template for new fields.
356
357 iASL: Add support for the new revision of the GTDT (Rev 3).
358
359
360 1) ACPICA kernel-resident subsystem:
361
362 AML Parser: fix the main AML parse loop to correctly skip erroneous
363 extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
364 byte extended opcodes. If an error occurs during an AML table load, the
365 AML parser will continue loading the table by skipping the offending
366 opcode. This implements a "load table at any cost" philosophy.
367
368
369 2) iASL Compiler/Disassembler and Tools:
370
371 iASL: Add checks for illegal object references, such as a reference
372 outside of method to an object within a method. Such an object is only
373 temporary.
374
375 iASL: Emit error for creation of a zero-length operation region. Such a
376 region is rather pointless. If encountered, a runtime error is also
377 implemented in the interpeter.
378
379 Debugger: Fix a possible fault with the "test objects" command.
380
381 iASL: Makefile: support parent directory filenames containing embedded
382 spaces.
383
384 iASL: Update the TPM2 template to revision 4.
385
386 iASL: Add the ability to report specific warnings or remarks as errors.
387
388 Disassembler: Disassemble OEMx tables as actual AML byte code.
389 Previously, these tables were treated as "unknown table".
390
391 iASL: Add definition and disassembly for TPM2 revision 3.
392
393 iASL: Add support for TPM2 rev 3 compilation.
394
395
396 ----------------------------------------
397 08 January 2019. Summary of changes for version 20190108:
398
399
400 1) ACPICA kernel-resident subsystem:
401
402 Updated all copyrights to 2019. This affects all source code modules.
403
404
405 2) iASL Compiler/Disassembler and Tools:
406
407 ASL test suite (ASLTS): Updated all copyrights to 2019.
408
409 Tools: Updated all signon copyrights to 2019.
410
411 AcpiExec: Added a new option to dump extra information concerning any
412 memory leaks detected by the internal object/cache tracking mechanism. -
413 va
414
415 iASL: Updated the table template for the TPM2 table to the newest version
416 of the table (Revision 4)
417
418
419 ----------------------------------------
420 13 December 2018. Summary of changes for version 20181213:
421
422
423 1) ACPICA Kernel-resident Subsystem:
424
425 Fixed some buffer length issues with the GenericSerialBus, related to two
426 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes,
427 which are rarely seen in the field. For these, the LEN field of the ASL
428 buffer is now ignored. Hans de Goede
429
430 Implemented a new object evaluation trace mechanism for control methods
431 and data objects. This includes nested control methods. It is
432 particularly useful for examining the ACPI execution during system
433 initialization since the output is relatively terse. The flag below
434 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
435 #define ACPI_LV_EVALUATION 0x00080000
436
437 Examples:
438 Enter evaluation : _SB.PCI0._INI (Method)
439 Exit evaluation : _SB.PCI0._INI
440 Enter evaluation : _OSI (Method)
441 Exit evaluation : _OSI
442 Enter evaluation : _SB.PCI0.TEST (Method)
443 Nested method call : _SB.PCI0.NST1
444 Exit nested method : _SB.PCI0.NST1
445 Exit evaluation : _SB.PCI0.TEST
446
447 Added two recently-defined _OSI strings. See
448 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
449 osi.
450 "Windows 2018"
451 "Windows 2018.2"
452
453 Update for buffer-to-string conversions via the ToHexString ASL operator.
454 A "0x" is now prepended to each of the hex values in the output string.
455 This provides compatibility with other ACPI implementations. The ACPI
456 specification is somewhat vague on this issue.
457 Example output string after conversion:
458 "0x01,0x02,0x03,0x04,0x05,0x06"
459
460 Return a run-time error for TermArg expressions within individual package
461 elements. Although this is technically supported by the ASL grammar,
462 other ACPI implementations do not support this either. Also, this fixes a
463 fault if this type of construct is ever encountered (it never has been).
464
465
466 2) iASL Compiler/Disassembler and Tools:
467
468 iASL: Implemented a new compile option (-ww) that will promote individual
469 warnings and remarks to errors. This is intended to enhance the firmware
470 build process.
471
472 AcpiExec: Implemented a new command-line option (-eo) to support the new
473 object evaluation trace mechanism described above.
474
475 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables
476 instead of a "unknown table" message.
477
478 AcpiHelp: Improved support for the "special" predefined names such as
479 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be
480 used for "xx" and "x".
481
482 ----------------------------------------
483 31 October 2018. Summary of changes for version 20181031:
484
485
486 An Operation Region regression was fixed by properly adding address
487 ranges to a global list during initialization. This allows OS to
488 accurately check for overlapping regions between native devices (such as
489 PCI) and Operation regions as well as checking for region conflicts
490 between two Operation Regions.
491
492 Added support for the 2-byte extended opcodes in the code/feature that
493 attempts to continue parsing during the table load phase. Skip parsing
494 Device declarations (and other extended opcodes) when an error occurs
495 during parsing. Previously, only single-byte opcodes were supported.
496
497 Cleanup: Simplified the module-level code support by eliminating a
498 useless global variable (AcpiGbl_GroupModuleLeveCode).
499
500
501 2) iASL Compiler/Disassembler and Tools:
502
503 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE
504 could cause a fault in the preprocessor. This was an inadvertent side-
505 effect from moving more allocations/frees to the local cache/memory
506 mechanism.
507
508 iASL: Enhanced error detection by validating that all NameSeg elements
509 within a NamePatch actually exist. The previous behavior was spotty at
510 best, and such errors could be improperly ignored at compiler time (never
511 at runtime, however. There are two new error messages, as shown in the
512 examples below:
513
514 dsdt.asl 33: CreateByteField (TTTT.BXXX, 1, CBF1)
515 Error 6161 - ^ One or more objects within
516 the Pathname do not exist (TTTT.BXXX)
517
518 dsdt.asl 34: CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
519 Error 6160 - One or more prefix Scopes do not exist ^
520 (BBBB.CBF1)
521
522 iASL: Disassembler/table-compiler: Added support for the static data
523 table TPM2 revision 3 (an older version of TPM2). The support has been
524 added for the compiler and the disassembler.
525
526 Fixed compilation of DOS format data table file on Unix/Linux systems.
527 iASL now properly detects line continuations (\) for DOS format data
528 table definition language files on when executing on Unix/Linux.
529
530 ----------------------------------------
531 03 October 2018. Summary of changes for version 20181003:
532
533
534 2) iASL Compiler/Disassembler and Tools:
535
536 Fixed a regression introduced in version 20180927 that could cause the
537 compiler to fault, especially with NamePaths containing one or more
538 carats (^). Such as: ^^_SB_PCI0
539
540 Added a new remark for the Sleep() operator when the sleep time operand
541 is larger than one second. This is a very long time for the ASL/BIOS code
542 and may not be what was intended by the ASL writer.
543
544 ----------------------------------------
545 27 September 2018. Summary of changes for version 20180927:
546
547
548 1) ACPICA kernel-resident subsystem:
549
550 Updated the GPE support to clear the status of all ACPI events when
551 entering any/all sleep states in order to avoid premature wakeups. In
552 theory, this may cause some wakeup events to be missed, but the
553 likelihood of this is small. This change restores the original behavior
554 of the ACPICA code in order to fix a regression seen from the previous
555 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change.
556 This regression could cause some systems to incorrectly wake immediately.
557
558 Updated the execution of the _REG methods during initialization and
559 namespace loading to bring the behavior into closer conformance to the
560 ACPI specification and other ACPI implementations:
561
562 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
563 "Control methods must assume all operation regions are inaccessible
564 until the _REG(RegionSpace, 1) method is executed"
565
566 "The exceptions to this rule are:
567 1. OSPM must guarantee that the following operation regions are always
568 accessible:
569 SystemIO operation regions.
570 SystemMemory operation regions when accessing memory returned by the
571 System Address Map reporting interfaces."
572
573 Since the state of both the SystemIO and SystemMemory address spaces are
574 defined by the specification to never change, this ACPICA change ensures
575 that now _REG is never called on them. This solves some problems seen in
576 the field and provides compatibility with other ACPI implementations. An
577 update to the upcoming new version of the ACPI specification will help
578 clarify this behavior.
579
580 Updated the implementation of support for the Generic Serial Bus. For the
581 "bidirectional" protocols, the internal implementation now automatically
582 creates a return data buffer of the maximum size (255). This handles the
583 worst-case for data that is returned from the serial bus handler, and
584 fixes some problems seen in the field. This new buffer is directly
585 returned to the ASL. As such, there is no true "bidirectional" buffer,
586 which matches the ACPI specification. This is the reason for the "double
587 store" seen in the example ASL code in the specification, shown below:
588
589 Word Process Call (AttribProcessCall):
590 OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
591 Field(TOP1, BufferAcc, NoLock, Preserve)
592 {
593 FLD1, 8, // Virtual register at command value 1.
594 }
595
596 Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
597 // as BUFF
598 CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
599
600 Store(0x5416, DATA) // Save 0x5416 into the data buffer
601 Store(Store(BUFF, FLD1), BUFF) // Invoke a write/read Process Call
602 transaction
603 // This is the "double store". The write to
604 // FLD1 returns a new buffer, which is stored
605 // back into BUFF with the second Store.
606
607
608 2) iASL Compiler/Disassembler and Tools:
609
610 iASL: Implemented detection of extraneous/redundant uses of the Offset()
611 operator within a Field Unit list. A remark is now issued for these. For
612 example, the first two of the Offset() operators below are extraneous.
613 Because both the compiler and the interpreter track the offsets
614 automatically, these Offsets simply refer to the current offset and are
615 unnecessary. Note, when optimization is enabled, the iASL compiler will
616 in fact remove the redundant Offset operators and will not emit any AML
617 code for them.
618
619 OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
620 Field (OPR1)
621 {
622 Offset (0), // Never needed
623 FLD1, 32,
624 Offset (4), // Redundant, offset is already 4 (bytes)
625 FLD2, 8,
626 Offset (64), // OK use of Offset.
627 FLD3, 16,
628 }
629 dsdt.asl 14: Offset (0),
630 Remark 2158 - ^ Unnecessary/redundant use of Offset
631 operator
632
633 dsdt.asl 16: Offset (4),
634 Remark 2158 - ^ Unnecessary/redundant use of Offset
635 operator
636
637 ----------------------------------------
638 10 August 2018. Summary of changes for version 20180810:
639
640
641 1) ACPICA kernel-resident subsystem:
642
643 Initial ACPI table loading: Attempt to continue loading ACPI tables
644 regardless of malformed AML. Since migrating table initialization to the
645 new module-level code support, the AML interpreter rejected tables upon
646 any ACPI error encountered during table load. This is a problem because
647 non-serious ACPI errors during table load do not necessarily mean that
648 the entire definition block (DSDT or SSDT) is invalid. This change
649 improves the table loading by ignoring some types of errors that can be
650 generated by incorrect AML. This can range from object type errors, scope
651 errors, and index errors.
652
653 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs
654 during suspend/resume. The status of ACPI events is no longer cleared
655 when entering the ACPI S5 system state (power off) which caused some
656 systems to power up immediately after turning off power in certain
657 situations. This was a functional regression. It was fixed by clearing
658 the status of all ACPI events again when entering S5 (for system-wide
659 suspend or hibernation the clearing of the status of all events is not
660 desirable, as it might cause the kernel to miss wakeup events sometimes).
661 Rafael Wysocki.
662
663
664 2) iASL Compiler/Disassembler and Tools:
665
666 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field
667 elements listed in the initialization file were previously initialized
668 after the table load and before executing module-level code blocks.
669 Recent changes in the module-level code support means that the table load
670 becomes a large control method execution. If fields are used within
671 module-level code and we are executing with the -fi option, the
672 initialization values were used to initialize the namespace object(s)
673 only after the table was finished loading. This change Provides an early
674 initialization of objects specified in the initialization file so that
675 field unit values are populated during the table load (not after the
676 load).
677
678 AcpiExec: Fixed a small memory leak regression that could result in
679 warnings during exit of the utility. These warnings were similar to
680 these:
681 0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
682 0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
683
684 ----------------------------------------
685 29 June 2018. Summary of changes for version 20180629:
686
687
688 1) iASL Compiler/Disassembler and Tools:
689
690 iASL: Fixed a regression related to the use of the ASL External
691 statement. Error checking for the use of the External() statement has
692 been relaxed. Previously, a restriction on the use of External meant that
693 the referenced named object was required to be defined in a different
694 table (an SSDT). Thus it would be an error to declare an object as an
695 external and then define the same named object in the same table. For
696 example:
697 DefinitionBlock (...)
698 {
699 External (DEV1)
700 Device (DEV1){...} // This was an error
701 }
702 However, this behavior has caused regressions in some existing ASL code,
703 because there is code that depends on named objects and externals (with
704 the same name) being declared in the same table. This change will allow
705 the ASL code above to compile without errors or warnings.
706
707 iASL: Implemented ASL language extensions for four operators to make some
708 of their arguments optional instead of required:
709 1) Field (RegionName, AccessType, LockRule, UpdateRule)
710 2) BankField (RegionName, BankName, BankValue,
711 AccessType, LockRule, UpdateRule)
712 3) IndexField (IndexName, DataName,
713 AccessType, LockRule, UpdateRule)
714 For the Field operators above, the AccessType, LockRule, and UpdateRule
715 are now optional arguments. The default values are:
716 AccessType: AnyAcc
717 LockRule: NoLock
718 UpdateRule: Preserve
719 4) Mutex (MutexName, SyncLevel)
720 For this operator, the SyncLevel argument is now optional. This argument
721 is rarely used in any meaningful way by ASL code, and thus it makes sense
722 to make it optional. The default value is:
723 SyncLevel: 0
724
725 iASL: Attempted use of the ASL Unload() operator now results in the
726 following warning:
727 "Unload is not supported by all operating systems"
728 This is in fact very true, and the Unload operator may be completely
729 deprecated in the near future.
730
731 AcpiExec: Fixed a regression for the -fi option (Namespace initialization
732 file. Recent changes in the ACPICA module-level code support altered the
733 table load/initialization sequence . This means that the table load has
734 become a large method execution of the table itself. If Operation Region
735 Fields are used within any module-level code and the -fi option was
736 specified, the initialization values were populated only after the table
737 had completely finished loading (and thus the module-level code had
738 already been executed). This change moves the initialization of objects
739 listed in the initialization file to before the table is executed as a
740 method. Field unit values are now initialized before the table execution
741 is performed.
742
743 ----------------------------------------
744 31 May 2018. Summary of changes for version 20180531:
745
746
747 1) ACPICA kernel-resident Subsystem:
748
749 Implemented additional support to help ensure that a DSDT or SSDT is
750 fully loaded even if errors are incurred during the load. The majority of
751 the problems that are seen is the failure of individual AML operators
752 that occur during execution of any module-level code (MLC) existing in
753 the table. This support adds a mechanism to abort the current ASL
754 statement (AML opcode), emit an error message, and to simply move on to
755 the next opcode -- instead of aborting the entire table load. This is
756 different than the execution of a control method where the entire method
757 is aborted upon any error. The goal is to perform a very "best effort" to
758 load the ACPI tables. The most common MLC errors that have been seen in
759 the field are direct references to unresolved ASL/AML symbols (referenced
760 directly without the use of the CondRefOf operator to validate the
761 symbol). This new ACPICA behavior is now compatible with other ACPI
762 implementations.
763
764 Interpreter: The Unload AML operator is no longer supported for the
765 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
766 1) A correct implementation on at least some hosts may not be possible.
767 2) Other ACPI implementations do not correctly/fully support it.
768 3) It requires host device driver support which is not known to exist.
769 (To properly support namespace unload out from underneath.)
770 4) This AML operator has never been seen in the field.
771
772 Parser: Added a debug option to dump AML parse sub-trees as they are
773 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is
774 ACPI_DB_PARSE_TREES.
775
776 Debugger: Reduced the verbosity for errors incurred during table load and
777 module-level code execution.
778
779 Completed an investigation into adding a namespace node "owner list"
780 instead of the current "owner ID" associated with namespace nodes. This
781 list would link together all nodes that are owned by an individual
782 control method. The purpose would be to enhance control method execution
783 by speeding up cleanup during method exit (all namespace nodes created by
784 a method are deleted upon method termination.) Currently, the entire
785 namespace must be searched for matching owner IDs if (and only if) the
786 method creates named objects outside of the local scope. However, by far
787 the most common case is that methods create objects locally, not outside
788 the method scope. There is already an ACPICA optimization in place that
789 only searches the entire namespace in the rare case of a method creating
790 objects elsewhere in the namespace. Therefore, it is felt that the
791 overhead of adding an additional pointer to each namespace node to
792 implement the owner list makes this feature unnecessary.
793
794
795 2) iASL Compiler/Disassembler and Tools:
796
797 iASL, Disassembler, and Template generator: Implemented support for
798 Revision D of the IORT table. Adds a new subtable that is used to specify
799 SMMUv3 PMCGs. rmurphy-arm.
800
801 Disassembler: Restored correct table header validation for the "special"
802 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI
803 table header and must be special-cased. This was a regression that has
804 been present for apparently a long time.
805
806 AcpiExec: Reduced verbosity of the local exception handler implemented
807 within acpiexec. This handler is invoked by ACPICA upon any exceptions
808 generated during control method execution. A new option was added: -vh
809 restores the original verbosity level if desired.
810
811 AcpiExec: Changed the default base from decimal to hex for the -x option
812 (set debug level). This simplifies the use of this option and matches the
813 behavior of the corresponding iASL -x option.
814
815 AcpiExec: Restored a force-exit on multiple control-c (sigint)
816 interrupts. This allows program termination even if other issues cause
817 the control-c to fail.
818
819 ASL test suite (ASLTS): Added tests for the recently implemented package
820 element resolution mechanism that allows forward references to named
821 objects from individual package elements (this mechanism provides
822 compatibility with other ACPI implementations.)
823
824
825 ----------------------------------------
826 8 May 2018. Summary of changes for version 20180508:
827
828
829 1) ACPICA kernel-resident subsystem:
830
831 Completed the new (recently deployed) package resolution mechanism for
832 the Load and LoadTable ASL/AML operators. This fixes a regression that
833 was introduced in version 20180209 that could result in an
834 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table
835 (SSDT) that contains package objects.
836
837
838 2) iASL Compiler/Disassembler and Tools:
839
840 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than
841 1 MB. This change allows for table offsets within the acpidump file to be
842 up to 8 characters. These changes are backwards compatible with existing
843 acpidump files.
844
845
846 ----------------------------------------
847 27 April 2018. Summary of changes for version 20180427:
848
849
850 1) ACPICA kernel-resident subsystem:
851
852 Debugger: Added support for Package objects in the "Test Objects"
853 command. This command walks the entire namespace and evaluates all named
854 data objects (Integers, Strings, Buffers, and now Packages).
855
856 Improved error messages for the namespace root node. Originally, the root
857 was referred to by the confusing string "\___". This has been replaced by
858 "Namespace Root" for clarification.
859
860 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin
861 Ian King <colin.king (a] canonical.com>.
862
863
864 2) iASL Compiler/Disassembler and Tools:
865
866 iASL: Implemented support to detect and flag illegal forward references.
867 For compatibility with other ACPI implementations, these references are
868 now illegal at the root level of the DSDT or SSDTs. Forward references
869 have always been illegal within control methods. This change should not
870 affect existing ASL/AML code because of the fact that these references
871 have always been illegal in the other ACPI implementation.
872
873 iASL: Added error messages for the case where a table OEM ID and OEM
874 TABLE ID strings are longer than the ACPI-defined length. Previously,
875 these strings were simply silently truncated.
876
877 iASL: Enhanced the -tc option (which creates an AML hex file in C,
878 suitable for import into a firmware project):
879 1) Create a unique name for the table, to simplify use of multiple
880 SSDTs.
881 2) Add a protection #ifdef in the file, similar to a .h header file.
882 With assistance from Sami Mujawar, sami.mujawar (a] arm.com and Evan Lloyd,
883 evan.lloyd (a] arm.com
884
885 AcpiExec: Added a new option, -df, to disable the local fault handler.
886 This is useful during debugging, where it may be desired to drop into a
887 debugger on a fault.
888
889 ----------------------------------------
890 13 March 2018. Summary of changes for version 20180313:
891
892
893 1) ACPICA kernel-resident subsystem:
894
895 Implemented various improvements to the GPE support:
896
897 1) Dispatch all active GPEs at initialization time so that no GPEs are
898 lost.
899 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled
900 before devices are enumerated.
901 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that
902 IRQs are not lost.
903 4) Add parallel GPE handling to eliminate the possibility of dispatching
904 the same GPE twice.
905 5) Dispatch any pending GPEs after enabling for the first time.
906
907 AcpiGetObjectInfo - removed support for the _STA method. This was causing
908 problems on some platforms.
909
910 Added a new _OSI string, "Windows 2017.2".
911
912 Cleaned up and simplified the module-level code support. These changes
913 are in preparation for the eventual removal of the legacy MLC support
914 (deferred execution), replaced by the new MLC architecture which executes
915 the MLC as a table is loaded (DSDT/SSDTs).
916
917 Changed a compile-time option to a runtime option. Changes the option to
918 ignore ACPI table load-time package resolution errors into a runtime
919 option. Used only for platforms that generate many AE_NOT_FOUND errors
920 during boot. AcpiGbl_IgnorePackageResolutionErrors.
921
922 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some
923 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid
924 compilation errors from unused variables (seen with some compilers).
925
926
927 2) iASL Compiler/Disassembler and Tools:
928
929 ASLTS: parallelized execution in order to achieve an (approximately) 2X
930 performance increase.
931
932 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves
933 error reporting.
934
935 ----------------------------------------
936 09 February 2018. Summary of changes for version 20180209:
937
938
939 1) ACPICA kernel-resident subsystem:
940
941 Completed the final integration of the recent changes to Package Object
942 handling and the module-level AML code support. This allows forward
943 references from individual package elements when the package object is
944 declared from within module-level code blocks. Provides compatibility
945 with other ACPI implementations.
946
947 The new architecture for the AML module-level code has been completed and
948 is now the default for the ACPICA code. This new architecture executes
949 the module-level code in-line as the ACPI table is loaded/parsed instead
950 of the previous architecture which deferred this code until after the
951 table was fully loaded. This solves some ASL code ordering issues and
952 provides compatibility with other ACPI implementations. At this time,
953 there is an option to fallback to the earlier architecture, but this
954 support is deprecated and is planned to be completely removed later this
955 year.
956
957 Added a compile-time option to ignore AE_NOT_FOUND exceptions during
958 resolution of named reference elements within Package objects. Although
959 this is potentially a serious problem, it can generate a lot of
960 noise/errors on platforms whose firmware carries around a bunch of unused
961 Package objects. To disable these errors, define
962 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All
963 errors are always reported for ACPICA applications such as AcpiExec.
964
965 Fixed a regression related to the explicit type-conversion AML operators
966 (ToXXXX). The regression was introduced early in 2017 but was not seen
967 until recently because these operators are not fully supported by other
968 ACPI implementations and are thus rarely used by firmware developers. The
969 operators are defined by the ACPI specification to not implement the
970 "implicit result object conversion". The regression incorrectly
971 introduced this object conversion for the following explicit conversion
972 operators:
973 ToInteger
974 ToString
975 ToBuffer
976 ToDecimalString
977 ToHexString
978 ToBCD
979 FromBCD
980
981
982 2) iASL Compiler/Disassembler and Tools:
983
984 iASL: Fixed a problem with the compiler constant folding feature as
985 related to the ToXXXX explicit conversion operators. These operators do
986 not support the "implicit result object conversion" by definition. Thus,
987 ASL expressions that use these operators cannot be folded to a simple
988 Store operator because Store implements the implicit conversion. This
989 change uses the CopyObject operator for the ToXXXX operator folding
990 instead. CopyObject is defined to not implement implicit result
991 conversions and is thus appropriate for folding the ToXXXX operators.
992
993 iASL: Changed the severity of an error condition to a simple warning for
994 the case where a symbol is declared both locally and as an external
995 symbol. This accommodates existing ASL code.
996
997 AcpiExec: The -ep option to enable the new architecture for module-level
998 code has been removed. It is replaced by the -dp option which instead has
999 the opposite effect: it disables the new architecture (the default) and
1000 enables the legacy architecture. When the legacy code is removed in the
1001 future, the -dp option will be removed also.
1002
1003 ----------------------------------------
1004 05 January 2018. Summary of changes for version 20180105:
1005
1006
1007 1) ACPICA kernel-resident subsystem:
1008
1009 Updated all copyrights to 2018. This affects all source code modules.
1010
1011 Fixed a possible build error caused by an unresolved reference to the
1012 AcpiUtSafeStrncpy function.
1013
1014 Removed NULL pointer arithmetic in the various pointer manipulation
1015 macros. All "(void *) NULL" constructs are converted to "(void *) 0".
1016 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
1017
1018 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj
1019 Mittal.
1020
1021
1022 2) iASL Compiler/Disassembler and Tools:
1023
1024 ASLTS: Updated all copyrights to 2018.
1025
1026 Tools: Updated all signon copyrights to 2018.
1027
1028 AcpiXtract: Fixed a regression related to ACPI table signatures where the
1029 signature was truncated to 3 characters (instead of 4).
1030
1031 AcpiExec: Restore the original terminal mode after the use of the -v and
1032 -vd options.
1033
1034 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
1035
1036 ----------------------------------------
1037 14 December 2017. Summary of changes for version 20171214:
1038
1039
1040 1) ACPICA kernel-resident subsystem:
1041
1042 Fixed a regression in the external (public) AcpiEvaluateObjectTyped
1043 interface where the optional "pathname" argument had inadvertently become
1044 a required argument returning an error if omitted (NULL pointer
1045 argument).
1046
1047 Fixed two possible memory leaks related to the recently developed "late
1048 resolution" of reference objects within ASL Package Object definitions.
1049
1050 Added two recently defined _OSI strings: "Windows 2016" and "Windows
1051 2017". Mario Limonciello.
1052
1053 Implemented and deployed a safer version of the C library function
1054 strncpy: AcpiUtSafeStrncpy. The intent is to at least prevent the
1055 creation of unterminated strings as a possible result of a standard
1056 strncpy.
1057
1058 Cleaned up and restructured the global variable file (acglobal.h). There
1059 are many changes, but no functional changes.
1060
1061
1062 2) iASL Compiler/Disassembler and Tools:
1063
1064 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the
1065 optional OemData field at the end of the table was incorrectly required
1066 for proper compilation. It is now correctly an optional field.
1067
1068 ASLTS: The entire suite was converted from standard ASL to the ASL+
1069 language, using the ASL-to-ASL+ converter which is integrated into the
1070 iASL compiler. A binary compare of all output files has verified the
1071 correctness of the conversion.
1072
1073 iASL: Fixed the source code build for platforms where "char" is unsigned.
1074 This affected the iASL lexer only. Jung-uk Kim.
1075
1076 ----------------------------------------
1077 10 November 2017. Summary of changes for version 20171110:
1078
1079
1080 1) ACPICA kernel-resident subsystem:
1081
1082 This release implements full support for ACPI 6.2A:
1083 NFIT - Added a new subtable, "Platform Capabilities Structure"
1084 No other changes to ACPICA were required, since ACPI 6.2A is primarily an
1085 errata release of the specification.
1086
1087 Other ACPI table changes:
1088 IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
1089 PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy
1090 Linton
1091
1092 Utilities: Modified the string/integer conversion functions to use
1093 internal 64-bit divide support instead of a native divide. On 32-bit
1094 platforms, a 64-bit divide typically requires a library function which
1095 may not be present in the build (kernel or otherwise).
1096
1097 Implemented a targeted error message for timeouts returned from the
1098 Embedded Controller device driver. This is seen frequently enough to
1099 special-case an AE_TIME returned from an EC operation region access:
1100 "Timeout from EC hardware or EC device driver"
1101
1102 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all
1103 runtime error messages have the identical prefix.
1104
1105
1106 2) iASL Compiler/Disassembler and Tools:
1107
1108 AcpiXtract: Fixed a problem with table header detection within the
1109 acpidump file. Processing a table could be ended early if a 0x40 (@)
1110 appears in the original binary table, resulting in the @ symbol appearing
1111 in the decoded ASCII field at the end of the acpidump text line. The
1112 symbol caused acpixtract to incorrectly think it had reached the end of
1113 the current table and the beginning of a new table.
1114
1115 AcpiXtract: Added an option (-f) to ignore some errors during table
1116 extraction. This initial implementation ignores non-ASCII and non-
1117 printable characters found in the acpidump text file.
1118
1119 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics
1120 for ASLTS. This feature is used to track memory allocations from
1121 different memory caches within the ACPICA code. At the end of an ASLTS
1122 run, these memory statistics are recorded and stored in a log file.
1123
1124 Debugger (user-space version): Implemented a simple "Background" command.
1125 Creates a new thread to execute a control method in the background, while
1126 control returns to the debugger prompt to allow additional commands.
1127 Syntax: Background <Namepath> [Arguments]
1128
1129 ----------------------------------------
1130 29 September 2017. Summary of changes for version 20170929:
1131
1132
1133 1) ACPICA kernel-resident subsystem:
1134
1135 Redesigned and implemented an improved ASL While() loop timeout
1136 mechanism. This mechanism is used to prevent infinite loops in the kernel
1137 AML interpreter caused by either non-responsive hardware or incorrect AML
1138 code. The new implementation uses AcpiOsGetTimer instead of a simple
1139 maximum loop count, and is thus more accurate and constant across
1140 different machines. The default timeout is currently 30 seconds, but this
1141 may be adjusted later.
1142
1143 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to
1144 better reflect the new implementation of the loop timeout mechanism.
1145
1146 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support
1147 and to fix an off-by-one error. Jung-uk Kim.
1148
1149 Fixed an EFI build problem by updating the makefiles to for a new file
1150 that was added, utstrsuppt.c
1151
1152
1153 2) iASL Compiler/Disassembler and Tools:
1154
1155 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This
1156 includes support in the table disassembler, compiler, and template
1157 generator.
1158
1159 iASL: Added an exception for an illegal type of recursive method
1160 invocation. If a method creates named objects, the first recursive call
1161 will fail at runtime. This change adds an error detection at compile time
1162 to catch the problem up front. Note: Marking such a method as
1163 "serialized" will not help with this problem, because the same thread can
1164 acquire the method mutex more than once. Example compiler and runtime
1165 output:
1166
1167 Method (MTH1)
1168 {
1169 Name (INT1, 1)
1170 MTH1 ()
1171 }
1172
1173 dsdt.asl 22: MTH1 ()
1174 Error 6152 - ^ Illegal recursive call to method
1175 that creates named objects (MTH1)
1176
1177 Previous runtime exception:
1178 ACPI Error: [INT1] Namespace lookup failure,
1179 AE_ALREADY_EXISTS (20170831/dswload2-465)
1180
1181 iASL: Updated support for External() opcodes to improve namespace
1182 management and error detection. These changes are related to issues seen
1183 with multiple-segment namespace pathnames within External declarations,
1184 such as below:
1185
1186 External(\_SB.PCI0.GFX0, DeviceObj)
1187 External(\_SB.PCI0.GFX0.ALSI)
1188
1189 iASL: Implemented support for multi-line error/warning messages. This
1190 enables more detailed and helpful error messages as below, from the
1191 initial deployment for the duplicate names error:
1192
1193 DSDT.iiii 1692: Device(PEG2) {
1194 Error 6074 - ^ Name already exists in scope
1195 (PEG2)
1196
1197 Original name creation/declaration below:
1198 DSDT.iiii 93: External(\_SB.PCI0.PEG2, DeviceObj)
1199
1200 AcpiXtract: Added additional flexibility to support differing input hex
1201 dump formats. Specifically, hex dumps that contain partial disassembly
1202 and/or comments within the ACPI table data definition. There exist some
1203 dump utilities seen in the field that create this type of hex dump (such
1204 as Simics). For example:
1205
1206 DSDT @ 0xdfffd0c0 (10999 bytes)
1207 Signature DSDT
1208 Length 10999
1209 Revision 1
1210 Checksum 0xf3 (Ok)
1211 OEM_ID BXPC
1212 OEM_table_id BXDSDT
1213 OEM_revision 1
1214 Creator_id 1280593481
1215 Creator_revision 537399345
1216 0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
1217 ...
1218 2af0: 5f 4c 30 46 00 a4 01
1219
1220 Test suite: Miscellaneous changes/fixes:
1221 More cleanup and simplification of makefiles
1222 Continue compilation of test cases after a compile failure
1223 Do not perform binary compare unless both files actually exist
1224
1225 iASL: Performed some code/module restructuring. Moved all memory
1226 allocation functions to new modules. Two new files, aslallocate.c and
1227 aslcache.c
1228
1229 ----------------------------------------
1230 31 August 2017. Summary of changes for version 20170831:
1231
1232
1233 1) ACPICA kernel-resident subsystem:
1234
1235 Implemented internal support for full 64-bit addresses that appear in all
1236 Generic Address Structure (GAS) structures. Previously, only the lower 32
1237 bits were used. Affects the use of GAS structures in the FADT and other
1238 tables, as well as the GAS structures passed to the AcpiRead and
1239 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
1240
1241 Added header support for the PDTT ACPI table (Processor Debug Trigger
1242 Table). Full support in the iASL Data Table Compiler and disassembler is
1243 forthcoming.
1244
1245
1246 2) iASL Compiler/Disassembler and Tools:
1247
1248 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor
1249 Properties Topology Table) where a flag bit was specified in the wrong
1250 bit position ("Line Size Valid", bit 6).
1251
1252 iASL: Implemented support for Octal integer constants as defined by the
1253 ASL language grammar, per the ACPI specification. Any integer constant
1254 that starts with a zero is an octal constant. For example,
1255 Store (037777, Local0) /* Octal constant */
1256 Store (0x3FFF, Local0) /* Hex equivalent */
1257 Store (16383, Local0) /* Decimal equivalent */
1258
1259 iASL: Improved overflow detection for 64-bit string conversions during
1260 compilation of integer constants. "Overflow" in this case means a string
1261 that represents an integer that is too large to fit into a 64-bit value.
1262 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to
1263 the low-order 32 bits with a warning, as previously implemented. Several
1264 new exceptions are defined that indicate a 64-bit overflow, as well as
1265 the base (radix) that was used during the attempted conversion. Examples:
1266 Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF // AE_HEX_OVERFLOW
1267 Local0 = 01111222233334444555566667777 // AE_OCTAL_OVERFLOW
1268 Local0 = 11112222333344445555666677778888 // AE_DECIMAL_OVERFLOW
1269
1270 iASL: Added a warning for the case where a ResourceTemplate is declared
1271 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In
1272 this case, the resulting template is created with a single END_TAG
1273 descriptor, which is essentially useless.
1274
1275 iASL: Expanded the -vw option (ignore specific warnings/remarks) to
1276 include compilation error codes as well.
1277
1278 ----------------------------------------
1279 28 July 2017. Summary of changes for version 20170728:
1280
1281
1282 1) ACPICA kernel-resident subsystem:
1283
1284 Fixed a regression seen with small resource descriptors that could cause
1285 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
1286
1287 AML interpreter: Implemented a new feature that allows forward references
1288 from individual named references within package objects that are
1289 contained within blocks of "module-level code". This provides
1290 compatibility with other ACPI implementations and supports existing
1291 firmware that depends on this feature. Example:
1292
1293 Name (ABCD, 1)
1294 If (ABCD) /* An If() at module-level */
1295 {
1296 Name (PKG1, Package()
1297 {
1298 INT1 /* Forward reference to object INT1
1299 */
1300 })
1301 Name (INT1, 0x1234)
1302 }
1303
1304 AML Interpreter: Fixed a problem with the Alias() operator where aliases
1305 to some ASL objects were not handled properly. Objects affected are:
1306 Mutex, Event, and OperationRegion.
1307
1308 AML Debugger: Enhanced to properly handle AML Alias objects. These
1309 objects have one level of indirection which was not fully supported by
1310 the debugger.
1311
1312 Table Manager: Added support to detect and ignore duplicate SSDTs within
1313 the XSDT/RSDT. This error in the XSDT has been seen in the field.
1314
1315 EFI and EDK2 support:
1316 Enabled /WX flag for MSVC builds
1317 Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
1318 Added local support for 64-bit multiply and shift operations
1319 Added support to compile acpidump.efi on Windows
1320 Added OSL function stubs for interfaces not used under EFI
1321
1322 Added additional support for the _DMA predefined name. _DMA returns a
1323 buffer containing a resource template. This change add support within the
1324 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of
1325 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi (a] arm.com>
1326
1327
1328 2) iASL Compiler/Disassembler and Tools:
1329
1330 iASL: Fixed a problem where the internal input line buffer(s) could
1331 overflow if there are very long lines in the input ASL source code file.
1332 Implemented buffer management that automatically increases the size of
1333 the buffers as necessary.
1334
1335 iASL: Added an option (-vx) to "expect" particular remarks, warnings and
1336 errors. If the specified exception is not raised during compilation, the
1337 compiler emits an error. This is intended to support the ASL test suite,
1338 but may be useful in other contexts.
1339
1340 iASL: Implemented a new predefined macro, __METHOD__, which returns a
1341 string containing the name of the current control method that is being
1342 compiled.
1343
1344 iASL: Implemented debugger and table compiler support for the SDEI ACPI
1345 table (Software Delegated Exception Interface). James Morse
1346 <james.morse (a] arm.com>
1347
1348 Unix/Linux makefiles: Added an option to disable compile optimizations.
1349 The disable occurs when the NOOPT flag is set to TRUE.
1350 theracermaster (a] gmail.com
1351
1352 Acpidump: Added support for multiple DSDT and FACS tables. This can occur
1353 when there are different tables for 32-bit versus 64-bit.
1354
1355 Enhanced error reporting for the ASL test suite (ASLTS) by removing
1356 unnecessary/verbose text, and emit the actual line number where an error
1357 has occurred. These changes are intended to improve the usefulness of the
1358 test suite.
1359
1360 ----------------------------------------
1361 29 June 2017. Summary of changes for version 20170629:
1362
1363
1364 1) ACPICA kernel-resident subsystem:
1365
1366 Tables: Implemented a deferred ACPI table verification. This is useful
1367 for operating systems where the tables cannot be verified in the early
1368 initialization stage due to early memory mapping limitations on some
1369 architectures. Lv Zheng.
1370
1371 Tables: Removed the signature validation for dynamically loaded tables.
1372 Provides compatibility with other ACPI implementations. Previously, only
1373 SSDT tables were allowed, as per the ACPI specification. Now, any table
1374 signature can be used via the Load() operator. Lv Zheng.
1375
1376 Tables: Fixed several mutex issues that could cause errors during table
1377 acquisition. Lv Zheng.
1378
1379 Tables: Fixed a problem where an ACPI warning could be generated if a
1380 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
1381
1382 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and
1383 AcpiPutTable interfaces. This applies to the "late stage" table loading
1384 when the use of AcpiPutTable is no longer required (since the system
1385 memory manager is fully running and available). Lv Zheng.
1386
1387 Fixed/Reverted a regression during processing of resource descriptors
1388 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG
1389 exception in this case.
1390
1391 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the
1392 I/O Remapping specification. Robin Murphy <robin.murphy (a] arm.com>
1393
1394 Interpreter: Fixed a possible fault if an Alias operator with an invalid
1395 or duplicate target is encountered during Alias creation in
1396 AcpiExCreateAlias. Alex James <theracermaster (a] gmail.com>
1397
1398 Added an option to use designated initializers for function pointers.
1399 Kees Cook <keescook (a] google.com>
1400
1401
1402 2) iASL Compiler/Disassembler and Tools:
1403
1404 iASL: Allow compilation of External declarations with target pathnames
1405 that refer to existing named objects within the table. Erik Schmauss.
1406
1407 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a
1408 FieldUnit name also is declared via External in the same table. Erik
1409 Schmauss.
1410
1411 iASL: Allow existing scope names within pathnames used in External
1412 statements. For example:
1413 External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
1414 Device (ABCD)
1415
1416 iASL: IORT ACPI table: Implemented changes required to decode the new
1417 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table
1418 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni (a] cavium.com>
1419
1420 Disassembler: Don't abort disassembly on errors from External()
1421 statements. Erik Schmauss.
1422
1423 Disassembler: fixed a possible fault when one of the Create*Field
1424 operators references a Resource Template. ACPICA Bugzilla 1396.
1425
1426 iASL: In the source code, resolved some naming inconsistences across the
1427 parsing support. Fixes confusion between "Parse Op" and "Parse Node".
1428 Adds a new file, aslparseop.c
1429
1430 ----------------------------------------
1431 31 May 2017. Summary of changes for version 20170531:
1432
1433
1434 0) ACPI 6.2 support:
1435
1436 The ACPI specification version 6.2 has been released and is available at
1437 http://uefi.org/specifications
1438
1439 This version of ACPICA fully supports the ACPI 6.2 specification. Changes
1440 are summarized below.
1441
1442 New ACPI tables (Table Compiler/Disassembler/Templates):
1443 HMAT (Heterogeneous Memory Attributes Table)
1444 WSMT (Windows SMM Security Mitigation Table)
1445 PPTT (Processor Properties Topology Table)
1446
1447 New subtables for existing ACPI tables:
1448 HEST (New subtable, Arch-deferred machine check)
1449 SRAT (New subtable, Arch-specific affinity structure)
1450 PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
1451
1452 Simple updates for existing ACPI tables:
1453 BGRT (two new flag bits)
1454 HEST (New bit defined for several subtables, GHES_ASSIST)
1455
1456 New Resource Descriptors and Resource macros (Compiler/Disassembler):
1457 PinConfig()
1458 PinFunction()
1459 PinGroup()
1460 PinGroupConfig()
1461 PinGroupFunction()
1462 New type for hardware error notification (section 18.3.2.9)
1463
1464 New predefined names/methods (Compiler/Interpreter):
1465 _HMA (Heterogeneous Memory Attributes)
1466 _LSI (Label Storage Information)
1467 _LSR (Label Storage Read)
1468 _LSW (Label Storage Write)
1469
1470 ASL grammar/macro changes (Compiler):
1471 For() ASL macro, implemented with the AML while operator
1472 Extensions to Concatenate operator
1473 Support for multiple definition blocks in same ASL file
1474 Clarification for Buffer operator
1475 Allow executable AML code underneath all scopes (Devices, etc.)
1476 Clarification/change for the _OSI return value
1477 ASL grammar update for reference operators
1478 Allow a zero-length string for AML filename in DefinitionBlock
1479
1480 Miscellaneous:
1481 New device object notification value
1482 Remove a notify value (0x0C) for graceful shutdown
1483 New UUIDs for processor/cache properties and
1484 physical package property
1485 New _HID, ACPI0014 (Wireless Power Calibration Device)
1486
1487
1488 1) ACPICA kernel-resident subsystem:
1489
1490 Added support to disable ACPI events on hardware-reduced platforms.
1491 Eliminates error messages of the form "Could not enable fixed event". Lv
1492 Zheng
1493
1494 Fixed a problem using Device/Thermal objects with the ObjectType and
1495 DerefOf ASL operators. This support had not been fully/properly
1496 implemented.
1497
1498 Fixed a problem where if a Buffer object containing a resource template
1499 was longer than the actual resource template, an error was generated --
1500 even though the AML is legal. This case has been seen in the field.
1501
1502 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag.
1503 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
1504
1505 Added header file changes for the TPM2 ACPI table. Update to new version
1506 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
1507
1508 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex.
1509 These interfaces are intended to be used only in conjunction with the
1510 predefined _DLM method (Device Lock Method). "This object appears in a
1511 device scope when AML access to the device must be synchronized with the
1512 OS environment".
1513
1514 Example Code and Data Size: These are the sizes for the OS-independent
1515 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1516 debug version of the code includes the debug output trace mechanism and
1517 has a much larger code and data size.
1518
1519 Current Release:
1520 Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
1521 Debug Version: 204.0K Code, 84.3K Data, 288.3K Total
1522 Previous Release:
1523 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1524 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
1525
1526
1527 2) iASL Compiler/Disassembler and Tools:
1528
1529 iASL: Fixed a problem where an External() declaration could not refer to
1530 a Field Unit. Erik Schmauss.
1531
1532 Disassembler: Improved support for the Switch/Case operators. This
1533 feature will disassemble AML code back to the original Switch operators
1534 when possible, instead of an If..Else sequence. David Box
1535
1536 iASL and disassembler: Improved the handling of multiple extraneous
1537 parentheses for both ASL input and disassembled ASL output.
1538
1539 Improved the behavior of the iASL compiler and disassembler to detect
1540 improper use of external declarations
1541
1542 Disassembler: Now aborts immediately upon detection of an unknown AML
1543 opcode. The AML parser has no real way to recover from this, and can
1544 result in the creation of an ill-formed parse tree that causes errors
1545 later during the disassembly.
1546
1547 All tools: Fixed a problem where the Unix application OSL did not handle
1548 control-c correctly. For example, a control-c could incorrectly wake the
1549 debugger.
1550
1551 AcpiExec: Improved the Control-C handling and added a handler for
1552 segmentation faults (SIGSEGV). Supports both Windows and Unix-like
1553 environments.
1554
1555 Reduced the verbosity of the generic unix makefiles. Previously, each
1556 compilation displayed the full set of compiler options. This has been
1557 eliminated as the options are easily inspected within the makefiles. Each
1558 compilation now results in a single line of output.
1559
1560 ----------------------------------------
1561 03 March 2017. Summary of changes for version 20170303:
1562
1563
1564 0) ACPICA licensing:
1565
1566 The licensing information at the start of each source code module has
1567 been updated. In addition to the Intel license, the dual GPLv2/BSD
1568 license has been added for completeness. Now, a single version of the
1569 source code should be suitable for all ACPICA customers. This is the
1570 major change for this release since it affects all source code modules.
1571
1572
1573 1) ACPICA kernel-resident subsystem:
1574
1575 Fixed two issues with the common asltypes.h header that could cause
1576 problems in some environments: (Kim Jung-uk)
1577 Removed typedef for YY_BUFFER_STATE ?
1578 Fixes an error with earlier versions of Flex.
1579 Removed use of FILE typedef (which is only defined in stdio.h)
1580
1581
1582 2) iASL Compiler/Disassembler and Tools:
1583
1584 Disassembler: fixed a regression introduced in 20170224. A fix for a
1585 memory leak related to resource descriptor tags (names) could fault when
1586 the disassembler was generated with 64-bit compilers.
1587
1588 The ASLTS test suite has been updated to implement a new testing
1589 architecture. During generation of the suite from ASL source, both the
1590 ASL and ASL+ compilers are now validated, as well as the disassembler
1591 itself (Erik Schmauss). The architecture executes as follows:
1592
1593 For every ASL source module:
1594 Compile (legacy ASL compilation)
1595 Disassemble the resulting AML to ASL+ source code
1596 Compile the new ASL+ module
1597 Perform a binary compare on the legacy AML and the new ASL+ AML
1598 The ASLTS suite then executes normally using the AML binaries.
1599
1600 ----------------------------------------
1601 24 February 2017. Summary of changes for version 20170224:
1602
1603
1604 1) ACPICA kernel-resident subsystem:
1605
1606 Interpreter: Fixed two issues with the control method return value auto-
1607 repair feature, where an attempt to double-delete an internal object
1608 could result in an ACPICA warning (for _CID repair and others). No fault
1609 occurs, however, because the attempted deletion (actually a release to an
1610 internal cache) is detected and ignored via object poisoning.
1611
1612 Debugger: Fixed an AML interpreter mutex issue during the single stepping
1613 of control methods. If certain debugger commands are executed during
1614 stepping, a mutex acquire/release error could occur. Lv Zheng.
1615
1616 Fixed some issues generating ACPICA with the Intel C compiler by
1617 restoring the original behavior and compiler-specific include file in
1618 acenv.h. Lv Zheng.
1619
1620 Example Code and Data Size: These are the sizes for the OS-independent
1621 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1622 debug version of the code includes the debug output trace mechanism and
1623 has a much larger code and data size.
1624
1625 Current Release:
1626 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1627 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
1628 Previous Release:
1629 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1630 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
1631
1632
1633 2) iASL Compiler/Disassembler and Tools:
1634
1635 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
1636 tool has been designed, implemented, and included in this release. The
1637 key feature of this utility is that the original comments within the
1638 input ASL file are preserved during the conversion process, and included
1639 within the converted ASL+ file -- thus creating a transparent conversion
1640 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
1641
1642 Usage: iasl -ca <ASL-filename> // Output is a .dsl file with
1643 converted code
1644
1645 iASL/Disassembler: Improved the detection and correct disassembly of
1646 Switch/Case operators. This feature detects sequences of if/elseif/else
1647 operators that originated from ASL Switch/Case/Default operators and
1648 emits the original operators. David Box.
1649
1650 iASL: Improved the IORT ACPI table support in the following areas. Lv
1651 Zheng:
1652 Clear MappingOffset if the MappingCount is zero.
1653 Fix the disassembly of the SMMU GSU interrupt offset.
1654 Update the template file for the IORT table.
1655
1656 Disassembler: Enhanced the detection and disassembly of resource
1657 template/descriptor within a Buffer object. An EndTag descriptor is now
1658 required to have a zero second byte, since all known ASL compilers emit
1659 this. This helps eliminate incorrect decisions when a buffer is
1660 disassembled (false positives on resource templates).
1661
1662 ----------------------------------------
1663 19 January 2017. Summary of changes for version 20170119:
1664
1665
1666 1) General ACPICA software:
1667
1668 Entire source code base: Added the 2017 copyright to all source code
1669 legal/licensing module headers and utility/tool signons. This includes
1670 the standard Linux dual-license header. This affects virtually every file
1671 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and
1672 the ACPICA test suite.
1673
1674
1675 2) iASL Compiler/Disassembler and Tools:
1676
1677 iASL: Removed/fixed an inadvertent remark when a method argument
1678 containing a reference is used as a target operand within the method (and
1679 never used as a simple argument), as in the example below. Jeffrey Hugo.
1680
1681 dsdt.asl 1507: Store(0x1, Arg0)
1682 Remark 2146 - ^ Method Argument is never used (Arg0)
1683
1684 All tools: Removed the bit width of the compiler that generated the tool
1685 from the common signon for all user space tools. This proved to be
1686 confusing and unnecessary. This includes similar removal of HARDWARE_NAME
1687 from the generic makefiles (Thomas Petazzoni). Example below.
1688
1689 Old:
1690 ASL+ Optimizing Compiler version 20170119-32
1691 ASL+ Optimizing Compiler version 20170119-64
1692
1693 New:
1694 ASL+ Optimizing Compiler version 20170119
1695
1696 ----------------------------------------
1697 22 December 2016. Summary of changes for version 20161222:
1698
1699
1700 1) ACPICA kernel-resident subsystem:
1701
1702 AML Debugger: Implemented a new mechanism to simplify and enhance
1703 debugger integration into all environments, including kernel debuggers
1704 and user-space utilities, as well as remote debug services. This
1705 mechanism essentially consists of new OSL interfaces to support debugger
1706 initialization/termination, as well as wait/notify interfaces to perform
1707 the debugger handshake with the host. Lv Zheng.
1708
1709 New OSL interfaces:
1710 AcpiOsInitializeDebugger (void)
1711 AcpiOsTerminateDebugger (void)
1712 AcpiOsWaitCommandReady (void)
1713 AcpiOsNotifyCommandComplete (void)
1714
1715 New OS services layer:
1716 osgendbg.c -- Example implementation, and used for AcpiExec
1717
1718 Update for Generic Address Space (GAS) support: Although the AccessWidth
1719 and/or BitOffset fields of the GAS are not often used, this change now
1720 fully supports these fields. This affects the internal support for FADT
1721 registers, registers in other ACPI data tables, and the AcpiRead and
1722 AcpiWrite public interfaces. Lv Zheng.
1723
1724 Sleep support: In order to simplify integration of ACPI sleep for the
1725 various host operating systems, a new OSL interface has been introduced.
1726 AcpiOsEnterSleep allows the host to perform any required operations
1727 before the final write to the sleep control register(s) is performed by
1728 ACPICA. Lv Zheng.
1729
1730 New OSL interface:
1731 AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
1732
1733 Called from these internal interfaces:
1734 AcpiHwLegacySleep
1735 AcpiHwExtendedSleep
1736
1737 EFI support: Added a very small EFI/ACPICA example application. Provides
1738 a simple demo for EFI integration, as well as assisting with resolution
1739 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
1740
1741 source/tools/efihello/efihello.c
1742
1743 Local C library: Implemented several new functions to enhance ACPICA
1744 portability, for environments where these clib functions are not
1745 available (such as EFI). Lv Zheng:
1746 putchar
1747 getchar
1748 strpbrk
1749 strtok
1750 memmove
1751
1752 Fixed a regression where occasionally a valid resource descriptor was
1753 incorrectly detected as invalid at runtime, and a
1754 AE_AML_NO_RESOURCE_END_TAG was returned.
1755
1756 Fixed a problem with the recently implemented support that enables
1757 control method invocations as Target operands to many ASL operators.
1758 Warnings of this form: "Needed type [Reference], found [Processor]" were
1759 seen at runtime for some method invocations.
1760
1761 Example Code and Data Size: These are the sizes for the OS-independent
1762 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1763 debug version of the code includes the debug output trace mechanism and
1764 has a much larger code and data size.
1765
1766 Current Release:
1767 Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
1768 Debug Version: 201.7K Code, 82.7K Data, 284.4K Total
1769 Previous Release:
1770 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1771 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
1772
1773
1774 2) iASL Compiler/Disassembler and Tools:
1775
1776 Disassembler: Enhanced output by adding the capability to detect and
1777 disassemble ASL Switch/Case statements back to the original ASL source
1778 code instead of if/else blocks. David Box.
1779
1780 AcpiHelp: Split a large file into separate files based upon
1781 functionality/purpose. New files are:
1782 ahaml.c
1783 ahasl.c
1784
1785 ----------------------------------------
1786 17 November 2016. Summary of changes for version 20161117:
1787
1788
1789 1) ACPICA kernel-resident subsystem:
1790
1791 Table Manager: Fixed a regression introduced in 20160729, "FADT support
1792 cleanup". This was an attempt to remove all references in the source to
1793 the FADT version 2, which never was a legal version number. It was
1794 skipped because it was an early version of 64-bit support that was
1795 eventually abandoned for the current 64-bit support.
1796
1797 Interpreter: Fixed a problem where runtime implicit conversion was
1798 incorrectly disabled for the ASL operators below. This brings the
1799 behavior into compliance with the ACPI specification:
1800 FromBCD
1801 ToBCD
1802 ToDecimalString
1803 ToHexString
1804 ToInteger
1805 ToBuffer
1806
1807 Table Manager: Added a new public interface, AcpiPutTable, used to
1808 release and free an ACPI table returned by AcpiGetTable and related
1809 interfaces. Lv Zheng.
1810
1811 Example Code and Data Size: These are the sizes for the OS-independent
1812 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1813 debug version of the code includes the debug output trace mechanism and
1814 has a much larger code and data size.
1815
1816 Current 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 Previous Release:
1820 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1821 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
1822
1823
1824 2) iASL Compiler/Disassembler and Tools:
1825
1826 Disassembler: Fixed a regression for disassembly of Resource Template.
1827 Detection of templates in the AML stream missed some types of templates.
1828
1829 iASL: Fixed a problem where an Access Size error was returned for the PCC
1830 address space when the AccessSize of the GAS register is greater than a
1831 DWORD. Hoan Tran.
1832
1833 iASL: Implemented several grammar changes for the operators below. These
1834 changes are slated for the next version of the ACPI specification:
1835 RefOf - Disallow method invocation as an operand
1836 CondRefOf - Disallow method invocation as an operand
1837 DerefOf - Disallow operands that use the result from operators
1838 that
1839 do not return a reference (Changed TermArg to
1840 SuperName).
1841
1842 iASL: Control method invocations are now allowed for Target operands, as
1843 per the ACPI specification. Removed error for using a control method
1844 invocation as a Target operand.
1845
1846 Disassembler: Improved detection of Resource Templates, Unicode, and
1847 Strings within Buffer objects. These subtypes do not contain a specific
1848 opcode to indicate the originating ASL code, and they must be detected by
1849 other means within the disassembler.
1850
1851 iASL: Implemented an optimization improvement for 32-bit ACPI tables
1852 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode
1853 only after 64-bit to 32-bit truncation. A truncation warning message is
1854 still emitted, however.
1855
1856 AcpiXtract: Implemented handling for both types of line terminators (LF
1857 or CR/LF) so that it can accept AcpiDump output files from any system.
1858 Peter Wu.
1859
1860 AcpiBin: Added two new options for comparing AML files:
1861 -a: compare and display ALL mismatches
1862 -o: start compare at this offset into the second file
1863
1864 ----------------------------------------
1865 30 September 2016. Summary of changes for version 20160930:
1866
1867
1868 1) ACPICA kernel-resident subsystem:
1869
1870 Fixed a regression in the internal AcpiTbFindTable function where a non
1871 AE_OK exception could inadvertently be returned even if the function did
1872 not fail. This problem affects the following operators:
1873 DataTableRegion
1874 LoadTable
1875
1876 Fixed a regression in the LoadTable operator where a load to any
1877 namespace location other than the root no longer worked properly.
1878
1879 Increased the maximum loop count value that will result in the
1880 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to
1881 prevent infinite loops within the AML interpreter and thus the host OS
1882 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to
1883 1,048,575).
1884
1885 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public
1886 acpixf.h file. This allows hosts to easily configure the maximum loop
1887 count at runtime.
1888
1889 Removed an illegal character in the strtoul64.c file. This character
1890 caused errors with some C compilers.
1891
1892 Example Code and Data Size: These are the sizes for the OS-independent
1893 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1894 debug version of the code includes the debug output trace mechanism and
1895 has a much larger code and data size.
1896
1897 Current Release:
1898 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1899 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
1900 Previous Release:
1901 Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
1902 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
1903
1904
1905 2) iASL Compiler/Disassembler and Tools:
1906
1907 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into
1908 the simpler ASL ElseIf keyword. During the conversion, a trailing If
1909 block could be lost and missing from the disassembled output.
1910
1911 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+,
1912 the missing rule caused a parse error when using the Index operator as an
1913 operand to ObjectType. This construct now compiles properly. Example:
1914 ObjectType(PKG1[4]).
1915
1916 iASL: Correctly handle unresolved symbols in the hardware map file (-lm
1917 option). Previously, unresolved symbols could cause a protection fault.
1918 Such symbols are now marked as unresolved in the map file.
1919
1920 iASL: Implemented support to allow control method invocations as an
1921 operand to the ASL DeRefOf operator. Example:
1922 DeRefOf(MTH1(Local0))
1923
1924 Disassembler: Improved support for the ToPLD ASL macro. Detection of a
1925 possible _PLD buffer now includes examination of both the normal buffer
1926 length (16 or 20) as well as the surrounding AML package length.
1927
1928 Disassembler: Fixed a problem with the decoding of complex expressions
1929 within the Divide operator for ASL+. For the case where both the quotient
1930 and remainder targets are specified, the entire statement cannot be
1931 disassembled. Previously, the output incorrectly contained a mix of ASL-
1932 and ASL+ operators. This mixed statement causes a syntax error when
1933 compiled. Example:
1934 Divide (Add (INT1, 6), 128, RSLT, QUOT) // was incorrectly
1935 disassembled to:
1936 Divide (INT1 + 6, 128, RSLT, QUOT)
1937
1938 iASL/Tools: Added support to process AML and non-AML ACPI tables
1939 consistently. For the disassembler and AcpiExec, allow all types of ACPI
1940 tables (AML and data tables). For the iASL -e option, allow only AML
1941 tables (DSDT/SSDT).
1942
1943 ----------------------------------------
1944 31 August 2016. Summary of changes for version 20160831:
1945
1946
1947 1) ACPICA kernel-resident subsystem:
1948
1949 Improve support for the so-called "module-level code", which is defined
1950 to be math, logical and control AML opcodes that appear outside of any
1951 control method. This change improves the support by adding more opcodes
1952 that can be executed in the manner. Some other issues have been solved,
1953 and the ASL grammar changes to support such code under all scope
1954 operators (Device, etc.) are complete. Lv Zheng.
1955
1956 UEFI support: these OSL functions have been implemented. This is an
1957 additional step toward supporting the AcpiExec utility natively (with
1958 full hardware access) under UEFI. Marcelo Ferreira.
1959 AcpiOsReadPciConfiguration
1960 AcpiOsWritePciConfiguration
1961
1962 Fixed a possible mutex error during control method auto-serialization. Lv
1963 Zheng.
1964
1965 Updated support for the Generic Address Structure by fully implementing
1966 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv
1967 Zheng.
1968
1969 Updated the return value for the internal _OSI method. Instead of
1970 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF
1971 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI
1972 implementations, and will be reflected and clarified in the next version
1973 of the ACPI specification.
1974
1975 Implemented two new table events that can be passed to an ACPICA table
1976 handler. These events are used to indicate a table installation or
1977 uninstallation. These events are used in addition to existed table load
1978 and unload events. Lv Zheng.
1979
1980 Implemented a cleanup for all internal string-to-integer conversions.
1981 Consolidate multiple versions of this functionality and limit possible
1982 bases to either 10 or 16 to simplify the code. Adds a new file,
1983 utstrtoul64.
1984
1985 Cleanup the inclusion order of the various compiler-specific headers.
1986 This simplifies build configuration management. The compiler-specific
1987 headers are now split out from the host-specific headers. Lv Zheng.
1988
1989 Example Code and Data Size: These are the sizes for the OS-independent
1990 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1991 debug version of the code includes the debug output trace mechanism and
1992 has a much larger code and data size.
1993
1994 Current Release:
1995 Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
1996 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
1997
1998
1999 2) iASL Compiler/Disassembler and Tools:
2000
2001 iASL/AcpiExec: Added a command line option to display the build date/time
2002 of the tool (-vd). This can be useful to verify that the correct version
2003 of the tools are being used.
2004
2005 AML Debugger: Implemented a new subcommand ("execute predef") to execute
2006 all predefined control methods and names within the current namespace.
2007 This can be useful for debugging problems with ACPI tables and the ACPI
2008 namespace.
2009
2010 ----------------------------------------
2011 29 July 2016. Summary of changes for version 20160729:
2012
2013
2014 1) ACPICA kernel-resident subsystem:
2015
2016 Implemented basic UEFI support for the various ACPICA tools. This
2017 includes:
2018 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
2019 2) Support to obtain the ACPI tables on UEFI.
2020 3) Local implementation of required C library functions not available on
2021 UEFI.
2022 4) A front-end (main) function for the tools for UEFI-related
2023 initialization.
2024
2025 The initial deployment of this support is the AcpiDump utility executing
2026 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit").
2027 Current environments supported are Linux/Unix. MSVC generation is not
2028 supported at this time. See the generate/efi/README file for build
2029 instructions. Lv Zheng.
2030
2031 Future plans include porting the AcpiExec utility to execute natively on
2032 the platform with I/O and memory access. This will allow viewing/dump of
2033 the platform namespace and native execution of ACPI control methods that
2034 access the actual hardware. To fully implement this support, the OSL
2035 functions below must be implemented with UEFI interfaces. Any community
2036 help in the implementation of these functions would be appreciated:
2037 AcpiOsReadPort
2038 AcpiOsWritePort
2039 AcpiOsReadMemory
2040 AcpiOsWriteMemory
2041 AcpiOsReadPciConfiguration
2042 AcpiOsWritePciConfiguration
2043
2044 Restructured and standardized the C library configuration for ACPICA,
2045 resulting in the various configuration options below. This includes a
2046 global restructuring of the compiler-dependent and platform-dependent
2047 include files. These changes may affect the existing platform-dependent
2048 configuration files on some hosts. Lv Zheng.
2049
2050 The current C library configuration options appear below. For any issues,
2051 it may be helpful to examine the existing compiler-dependent and
2052 platform-dependent files as examples. Lv Zheng.
2053
2054 1) Linux kernel:
2055 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
2056 library.
2057 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
2058 2) Unix/Windows/BSD applications:
2059 ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C
2060 library.
2061 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
2062 3) UEFI applications:
2063 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
2064 library.
2065 ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
2066 4) UEFI applications (EDK2/StdLib):
2067 ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
2068 ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
2069
2070
2071 AML interpreter: "module-level code" support. Allows for execution of so-
2072 called "executable" AML code (math/logical operations, etc.) outside of
2073 control methods not just at the module level (top level) but also within
2074 any scope declared outside of a control method - Scope{}, Device{},
2075 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng.
2076
2077 Simplified the configuration of the "maximum AML loops" global option by
2078 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be
2079 modified at runtime.
2080
2081
2082 Example Code and Data Size: These are the sizes for the OS-independent
2083 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2084 debug version of the code includes the debug output trace mechanism and
2085 has a much larger code and data size.
2086
2087 Current Release:
2088 Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
2089 Debug Version: 199.0K Code, 81.8K Data, 280.8K Total
2090
2091
2092 2) iASL Compiler/Disassembler and Tools:
2093
2094 iASL: Add full support for the RASF ACPI table (RAS Features Table).
2095 Includes disassembler, data table compiler, and header support.
2096
2097 iASL Expand "module-level code" support. Allows for
2098 compilation/disassembly of so-called "executable" AML code (math/logical
2099 operations, etc.) outside of control methods not just at the module level
2100 (top level) but also within any scope declared outside of a control
2101 method - Scope{}, Device{}, Processor{}, PowerResource{}, and
2102 ThermalZone{}.
2103
2104 AcpiDump: Added support for dumping all SSDTs on newer versions of
2105 Windows. These tables are now easily available -- SSDTs are not available
2106 through the registry on older versions.
2107
2108 ----------------------------------------
2109 27 May 2016. Summary of changes for version 20160527:
2110
2111
2112 1) ACPICA kernel-resident subsystem:
2113
2114 Temporarily reverted the new arbitrary bit length/alignment support in
2115 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
2116 a number of regressions with the new code that need to be fully resolved
2117 and tested before this support can be finally integrated into ACPICA.
2118 Apologies for any inconveniences these issues may have caused.
2119
2120 The ACPI message macros are not configurable (ACPI_MSG_ERROR,
2121 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
2122 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
2123
2124 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
2125 option. Adds a new return macro, return_STR. Junk-uk Kim.
2126
2127 Example Code and Data Size: These are the sizes for the OS-independent
2128 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2129 debug version of the code includes the debug output trace mechanism and
2130 has a much larger code and data size.
2131
2132 Current Release:
2133 Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
2134 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
2135 Previous Release:
2136 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
2137 Debug Version: 200.9K Code, 82.2K Data, 283.1K Total
2138
2139 ----------------------------------------
2140 22 April 2016. Summary of changes for version 20160422:
2141
2142 1) ACPICA kernel-resident subsystem:
2143
2144 Fixed a regression in the GAS (generic address structure) arbitrary bit
2145 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
2146 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
2147
2148 ACPI 6.0: Added support for new/renamed resource macros. One new argument
2149 was added to each of these macros, and the original name has been
2150 deprecated. The AML disassembler will always disassemble to the new
2151 names. Support for the new macros was added to iASL, disassembler,
2152 resource manager, and the acpihelp utility. ACPICA BZ 1274.
2153
2154 I2cSerialBus -> I2cSerialBusV2
2155 SpiSerialBus -> SpiSerialBusV2
2156 UartSerialBus -> UartSerialBusV2
2157
2158 ACPI 6.0: Added support for a new integer field that was appended to the
2159 package object returned by the _BIX method. This adds iASL compile-time
2160 and AML runtime error checking. ACPICA BZ 1273.
2161
2162 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
2163 Subspace Type2" (Headers, Disassembler, and data table compiler).
2164
2165 Example Code and Data Size: These are the sizes for the OS-independent
2166 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2167 debug version of the code includes the debug output trace mechanism and
2168 has a much larger code and data size.
2169
2170 Current Release:
2171 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
2172 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
2173 Previous Release:
2174 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
2175 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
2176
2177
2178 2) iASL Compiler/Disassembler and Tools:
2179
2180 iASL: Implemented an ASL grammar extension to allow/enable executable
2181 "module-level code" to be created and executed under the various
2182 operators that create new scopes. This type of AML code is already
2183 supported in all known AML interpreters, and the grammar change will
2184 appear in the next version of the ACPI specification. Simplifies the
2185 conditional runtime creation of named objects under these object types:
2186
2187 Device
2188 PowerResource
2189 Processor
2190 Scope
2191 ThermalZone
2192
2193 iASL: Implemented a new ASL extension, a "For" loop macro to add greater
2194 ease-of-use to the ASL language. The syntax is similar to the
2195 corresponding C operator, and is implemented with the existing AML While
2196 opcode -- thus requiring no changes to existing AML interpreters.
2197
2198 For (Initialize, Predicate, Update) {TermList}
2199
2200 Grammar:
2201 ForTerm :=
2202 For (
2203 Initializer // Nothing | TermArg => ComputationalData
2204 Predicate // Nothing | TermArg => ComputationalData
2205 Update // Nothing | TermArg => ComputationalData
2206 ) {TermList}
2207
2208
2209 iASL: The _HID/_ADR detection and validation has been enhanced to search
2210 under conditionals in order to allow these objects to be conditionally
2211 created at runtime.
2212
2213 iASL: Fixed several issues with the constant folding feature. The
2214 improvement allows better detection and resolution of statements that can
2215 be folded at compile time. ACPICA BZ 1266.
2216
2217 iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
2218 conversion to the ASL ElseIf operator where incorrect ASL code could be
2219 generated.
2220
2221 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
2222 sometimes an extra (and extraneous) set of parentheses were emitted for
2223 some combinations of operators. Although this did not cause any problems
2224 with recompilation of the disassembled code, it made the code more
2225 difficult to read. David Box. ACPICA BZ 1231.
2226
2227 iASL: Changed to ignore the unreferenced detection for predefined names
2228 of resource descriptor elements, when the resource descriptor is
2229 created/defined within a control method.
2230
2231 iASL: Disassembler: Fix a possible fault with externally declared Buffer
2232 objects.
2233
2234 ----------------------------------------
2235 18 March 2016. Summary of changes for version 20160318:
2236
2237 1) ACPICA kernel-resident subsystem:
2238
2239 Added support for arbitrary bit lengths and bit offsets for registers
2240 defined by the Generic Address Structure. Previously, only aligned bit
2241 lengths of 8/16/32/64 were supported. This was sufficient for many years,
2242 but recently some machines have been seen that require arbitrary bit-
2243 level support. ACPICA BZ 1240. Lv Zheng.
2244
2245 Fixed an issue where the \_SB._INI method sometimes must be evaluated
2246 before any _REG methods are evaluated. Lv Zheng.
2247
2248 Implemented several changes related to ACPI table support
2249 (Headers/Disassembler/TableCompiler):
2250 NFIT: For ACPI 6.1, updated to add some additional new fields and
2251 constants.
2252 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
2253 6).
2254 DMAR: Added new constants per the 10/2014 DMAR spec.
2255 IORT: Added new subtable per the 10/2015 IORT spec.
2256 HEST: For ACPI 6.1, added new constants and new subtable.
2257 DBG2: Added new constants per the 12/2015 DBG2 spec.
2258 FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
2259 ACPICA BZ 1249.
2260 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
2261
2262 Updated header support for the DMAR table to match the current version of
2263 the related spec.
2264
2265 Added extensions to the ASL Concatenate operator to allow any ACPI object
2266 to be passed as an operand. Any object other than Integer/String/Buffer
2267 simply returns a string containing the object type. This extends the
2268 usefulness of the Printf macros. Previously, Concatenate would abort the
2269 control method if a non-data object was encountered.
2270
2271 ACPICA source code: Deployed the C "const" keyword across the source code
2272 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
2273
2274 Example Code and Data Size: These are the sizes for the OS-independent
2275 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2276 debug version of the code includes the debug output trace mechanism and
2277 has a much larger code and data size.
2278
2279 Current Release:
2280 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
2281 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
2282 Previous Release:
2283 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
2284 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
2285
2286
2287 2) iASL Compiler/Disassembler and Tools:
2288
2289 iASL/Disassembler: Improved the heuristic used to determine the number of
2290 arguments for an externally defined control method (a method in another
2291 table). Although this is an improvement, there is no deterministic way to
2292 "guess" the number of method arguments. Only the ACPI 6.0 External opcode
2293 will completely solve this problem as it is deployed (automatically) in
2294 newer BIOS code.
2295
2296 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
2297 statements that could cause errors when the disassembled file is
2298 compiled. ACPICA BZ 1243. David Box.
2299
2300 iASL: Fixed a regression caused by the merger of the two versions of the
2301 local strtoul64. Because of a dependency on a global variable, strtoul64
2302 could return an error for integers greater than a 32-bit value. ACPICA BZ
2303 1260.
2304
2305 iASL: Fixed a regression where a fault could occur for an ASL Return
2306 statement if it invokes a control method that is not resolved. ACPICA BZ
2307 1264.
2308
2309 AcpiXtract: Improved input file validation: detection of binary files and
2310 non-acpidump text files.
2311
2312 ----------------------------------------
2313 12 February 2016. Summary of changes for version 20160212:
2314
2315 1) ACPICA kernel-resident subsystem:
2316
2317 Implemented full support for the ACPI 6.1 specification (released in
2318 January). This version of the specification is available at:
2319 http://www.uefi.org/specifications
2320
2321 Only a relatively small number of changes were required in ACPICA to
2322 support ACPI 6.1, in these areas:
2323 - New predefined names
2324 - New _HID values
2325 - A new subtable for HEST
2326 - A few other header changes for new values
2327
2328 Ensure \_SB_._INI is executed before any _REG methods are executed. There
2329 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
2330
2331 Reverted a change made in version 20151218 which enabled method
2332 invocations to be targets of various ASL operators (SuperName and Target
2333 grammar elements). While the new behavior is supported by the ACPI
2334 specification, other AML interpreters do not support this behavior and
2335 never will. The ACPI specification will be updated for ACPI 6.2 to remove
2336 this support. Therefore, the change was reverted to the original ACPICA
2337 behavior.
2338
2339 ACPICA now supports the GCC 6 compiler.
2340
2341 Current Release: (Note: build changes increased sizes)
2342 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
2343 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
2344 Previous Release:
2345 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2346 Debug Version: 200.4K Code, 81.9K Data, 282.3K Total
2347
2348
2349 2) iASL Compiler/Disassembler and Tools:
2350
2351 Completed full support for the ACPI 6.0 External() AML opcode. The
2352 compiler emits an external AML opcode for each ASL External statement.
2353 This opcode is used by the disassembler to assist with the disassembly of
2354 external control methods by specifying the required number of arguments
2355 for the method. AML interpreters do not use this opcode. To ensure that
2356 interpreters do not even see the opcode, a block of one or more external
2357 opcodes is surrounded by an "If(0)" construct. As this feature becomes
2358 commonly deployed in BIOS code, the ability of disassemblers to correctly
2359 disassemble AML code will be greatly improved. David Box.
2360
2361 iASL: Implemented support for an optional cross-reference output file.
2362 The -lx option will create a the cross-reference file with the suffix
2363 "xrf". Three different types of cross-reference are created in this file:
2364 - List of object references made from within each control method
2365 - Invocation (caller) list for each user-defined control method
2366 - List of references to each non-method object in the namespace
2367
2368 iASL: Method invocations as ASL Target operands are now disallowed and
2369 flagged as errors in preparation for ACPI 6.2 (see the description of the
2370 problem above).
2371
2372 ----------------------------------------
2373 8 January 2016. Summary of changes for version 20160108:
2374
2375 1) ACPICA kernel-resident subsystem:
2376
2377 Updated all ACPICA copyrights and signons to 2016: Added the 2016
2378 copyright to all source code module headers and utility/tool signons.
2379 This includes the standard Linux dual-license header. This affects
2380 virtually every file in the ACPICA core subsystem, iASL compiler, all
2381 ACPICA utilities, and the ACPICA test suite.
2382
2383 Fixed a regression introduced in version 20151218 concerning the
2384 execution of so-called module-level ASL/AML code. Namespace objects
2385 created under a module-level If() construct were not properly/fully
2386 entered into the namespace and could cause an interpreter fault when
2387 accessed.
2388
2389 Example Code and Data Size: These are the sizes for the OS-independent
2390 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2391 debug version of the code includes the debug output trace mechanism and
2392 has a much larger code and data size.
2393
2394 Current Release:
2395 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2396 Debug Version: 200.4K Code, 81.9K Data, 282.4K Total
2397 Previous Release:
2398 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2399 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
2400
2401
2402 2) iASL Compiler/Disassembler and Tools:
2403
2404 Fixed a problem with the compilation of the GpioIo and GpioInt resource
2405 descriptors. The _PIN field name was incorrectly defined to be an array
2406 of 32-bit values, but the _PIN values are in fact 16 bits each. This
2407 would cause incorrect bit width warnings when using Word (16-bit) fields
2408 to access the descriptors.
2409
2410
2411 ----------------------------------------
2412 18 December 2015. Summary of changes for version 20151218:
2413
2414 1) ACPICA kernel-resident subsystem:
2415
2416 Implemented per-AML-table execution of "module-level code" as individual
2417 ACPI tables are loaded into the namespace during ACPICA initialization.
2418 In other words, any module-level code within an AML table is executed
2419 immediately after the table is loaded, instead of batched and executed
2420 after all of the tables have been loaded. This provides compatibility
2421 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
2422 David Box.
2423
2424 To fully support the feature above, the default operation region handlers
2425 for the SystemMemory, SystemIO, and PCI_Config address spaces are now
2426 installed before any ACPI tables are loaded. This enables module-level
2427 code to access these address spaces during the table load and module-
2428 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
2429 Box.
2430
2431 Implemented several changes to the internal _REG support in conjunction
2432 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
2433 utilities for the changes above. Although these tools were changed, host
2434 operating systems that simply use the default handlers for SystemMemory,
2435 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
2436
2437 For example, in the code below, DEV1 is conditionally added to the
2438 namespace by the DSDT via module-level code that accesses an operation
2439 region. The SSDT references DEV1 via the Scope operator. DEV1 must be
2440 created immediately after the DSDT is loaded in order for the SSDT to
2441 successfully reference DEV1. Previously, this code would cause an
2442 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
2443 fully supported by ACPICA.
2444
2445 DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
2446 {
2447 OperationRegion (OPR1, SystemMemory, 0x400, 32)
2448 Field (OPR1, AnyAcc, NoLock, Preserve)
2449 {
2450 FLD1, 1
2451 }
2452 If (FLD1)
2453 {
2454 Device (\DEV1)
2455 {
2456 }
2457 }
2458 }
2459 DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
2460 {
2461 External (\DEV1, DeviceObj)
2462 Scope (\DEV1)
2463 {
2464 }
2465 }
2466
2467 Fixed an AML interpreter problem where control method invocations were
2468 not handled correctly when the invocation was itself a SuperName argument
2469 to another ASL operator. In these cases, the method was not invoked.
2470 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
2471 argument:
2472 Store
2473 Acquire, Wait
2474 CondRefOf, RefOf
2475 Decrement, Increment
2476 Load, Unload
2477 Notify
2478 Signal, Release, Reset
2479 SizeOf
2480
2481 Implemented automatic String-to-ObjectReference conversion support for
2482 packages returned by predefined names (such as _DEP). A common BIOS error
2483 is to add double quotes around an ObjectReference namepath, which turns
2484 the reference into an unexpected string object. This support detects the
2485 problem and corrects it before the package is returned to the caller that
2486 invoked the method. Lv Zheng.
2487
2488 Implemented extensions to the Concatenate operator. Concatenate now
2489 accepts any type of object, it is not restricted to simply
2490 Integer/String/Buffer. For objects other than these 3 basic data types,
2491 the argument is treated as a string containing the name of the object
2492 type. This expands the utility of Concatenate and the Printf/Fprintf
2493 macros. ACPICA BZ 1222.
2494
2495 Cleaned up the output of the ASL Debug object. The timer() value is now
2496 optional and no longer emitted by default. Also, the basic data types of
2497 Integer/String/Buffer are simply emitted as their values, without a data
2498 type string -- since the data type is obvious from the output. ACPICA BZ
2499 1221.
2500
2501 Example Code and Data Size: These are the sizes for the OS-independent
2502 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2503 debug version of the code includes the debug output trace mechanism and
2504 has a much larger code and data size.
2505
2506 Current Release:
2507 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2508 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
2509 Previous Release:
2510 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2511 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
2512
2513
2514 2) iASL Compiler/Disassembler and Tools:
2515
2516 iASL: Fixed some issues with the ASL Include() operator. This operator
2517 was incorrectly defined in the iASL parser rules, causing a new scope to
2518 be opened for the code within the include file. This could lead to
2519 several issues, including allowing ASL code that is technically illegal
2520 and not supported by AML interpreters. Note, this does not affect the
2521 related #include preprocessor operator. ACPICA BZ 1212.
2522
2523 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
2524 operator is essentially an ASL macro since there is no AML opcode
2525 associated with it. The code emitted by the iASL compiler for ElseIf is
2526 an Else opcode followed immediately by an If opcode. The disassembler
2527 will now emit an ElseIf if it finds an Else immediately followed by an
2528 If. This simplifies the decoded ASL, especially for deeply nested
2529 If..Else and large Switch constructs. Thus, the disassembled code more
2530 closely follows the original source ASL. ACPICA BZ 1211. Example:
2531
2532 Old disassembly:
2533 Else
2534 {
2535 If (Arg0 == 0x02)
2536 {
2537 Local0 = 0x05
2538 }
2539 }
2540
2541 New disassembly:
2542 ElseIf (Arg0 == 0x02)
2543 {
2544 Local0 = 0x05
2545 }
2546
2547 AcpiExec: Added support for the new module level code behavior and the
2548 early region installation. This required a small change to the
2549 initialization, since AcpiExec must install its own operation region
2550 handlers.
2551
2552 AcpiExec: Added support to make the debug object timer optional. Default
2553 is timer disabled. This cleans up the debug object output -- the timer
2554 data is rarely used.
2555
2556 AcpiExec: Multiple ACPI tables are now loaded in the order that they
2557 appear on the command line. This can be important when there are
2558 interdependencies/references between the tables.
2559
2560 iASL/Templates. Add support to generate template files with multiple
2561 SSDTs within a single output file. Also added ommand line support to
2562 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
2563 1223, 1225.
2564
2565
2566 ----------------------------------------
2567 24 November 2015. Summary of changes for version 20151124:
2568
2569 1) ACPICA kernel-resident subsystem:
2570
2571 Fixed a possible regression for a previous update to FADT handling. The
2572 FADT no longer has a fixed table ID, causing some issues with code that
2573 was hardwired to a specific ID. Lv Zheng.
2574
2575 Fixed a problem where the method auto-serialization could interfere with
2576 the current SyncLevel. This change makes the auto-serialization support
2577 transparent to the SyncLevel support and management.
2578
2579 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
2580 interface is intended for early access to the namespace during the
2581 initial namespace device discovery walk. The _SUB method has been seen to
2582 access operation regions in some cases, causing errors because the
2583 operation regions are not fully initialized.
2584
2585 AML Debugger: Fixed some issues with the terminate/quit/exit commands
2586 that can cause faults. Lv Zheng.
2587
2588 AML Debugger: Add thread ID support so that single-step mode only applies
2589 to the AML Debugger thread. This prevents runtime errors within some
2590 kernels. Lv Zheng.
2591
2592 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
2593 methods that are invoked by this interface are optional, removed warnings
2594 emitted for the case where one or more of these methods do not exist.
2595 ACPICA BZ 1208, original change by Prarit Bhargava.
2596
2597 Made a major pass through the entire ACPICA source code base to
2598 standardize formatting that has diverged a bit over time. There are no
2599 functional changes, but this will of course cause quite a few code
2600 differences from the previous ACPICA release.
2601
2602 Example Code and Data Size: These are the sizes for the OS-independent
2603 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2604 debug version of the code includes the debug output trace mechanism and
2605 has a much larger code and data size.
2606
2607 Current Release:
2608 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2609 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
2610 Previous Release:
2611 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2612 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
2613
2614
2615 2) iASL Compiler/Disassembler and Tools:
2616
2617 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
2618 definition blocks within a single ASL file and the resulting AML file.
2619 Support for this type of file was also added to the various tools that
2620 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
2621 example code below shows two definition blocks within the same file:
2622
2623 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
2624 0x12345678)
2625 {
2626 }
2627 DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
2628 {
2629 }
2630
2631 iASL: Enhanced typechecking for the Name() operator. All expressions for
2632 the value of the named object must be reduced/folded to a single constant
2633 at compile time, as per the ACPI specification (the AML definition of
2634 Name()).
2635
2636 iASL: Fixed some code indentation issues for the -ic and -ia options (C
2637 and assembly headers). Now all emitted code correctly begins in column 1.
2638
2639 iASL: Added an error message for an attempt to open a Scope() on an
2640 object defined in an SSDT. The DSDT is always loaded into the namespace
2641 first, so any attempt to open a Scope on an SSDT object will fail at
2642 runtime.
2643
2644
2645 ----------------------------------------
2646 30 September 2015. Summary of changes for version 20150930:
2647
2648 1) ACPICA kernel-resident subsystem:
2649
2650 Debugger: Implemented several changes and bug fixes to assist support for
2651 the in-kernel version of the AML debugger. Lv Zheng.
2652 - Fix the "predefined" command for in-kernel debugger.
2653 - Do not enter debug command loop for the help and version commands.
2654 - Disallow "execute" command during execution/single-step of a method.
2655
2656 Interpreter: Updated runtime typechecking for all operators that have
2657 target operands. The operand is resolved and validated that it is legal.
2658 For example, the target cannot be a non-data object such as a Device,
2659 Mutex, ThermalZone, etc., as per the ACPI specification.
2660
2661 Debugger: Fixed the double-mutex user I/O handshake to work when local
2662 deadlock detection is enabled.
2663
2664 Debugger: limited display of method locals and arguments (LocalX and
2665 ArgX) to only those that have actually been initialized. This prevents
2666 lines of extraneous output.
2667
2668 Updated the definition of the NFIT table to correct the bit polarity of
2669 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
2670
2671 Example Code and Data Size: These are the sizes for the OS-independent
2672 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2673 debug version of the code includes the debug output trace mechanism and
2674 has a much larger code and data size.
2675
2676 Current Release:
2677 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2678 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
2679 Previous Release:
2680 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2681 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
2682
2683
2684 2) iASL Compiler/Disassembler and Tools:
2685
2686 iASL: Improved the compile-time typechecking for operands of many of the
2687 ASL operators:
2688
2689 -- Added an option to disable compiler operand/operator typechecking (-
2690 ot).
2691
2692 -- For the following operators, the TermArg operands are now validated
2693 when possible to be Integer data objects: BankField, OperationRegion,
2694 DataTableRegion, Buffer, and Package.
2695
2696 -- Store (Source, Target): Both the source and target operands are
2697 resolved and checked that the operands are both legal. For example,
2698 neither operand can be a non-data object such as a Device, Mutex,
2699 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
2700 operator can be used to store an object to any type of target object.
2701
2702 -- Store (Source, Target): If the source is a Package object, the target
2703 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
2704 is a Package, the source must also be a Package.
2705
2706 -- Store (Source, Target): A warning is issued if the source and target
2707 resolve to the identical named object.
2708
2709 -- Store (Source, <method invocation>): An error is generated for the
2710 target method invocation, as this construct is not supported by the AML
2711 interpreter.
2712
2713 -- For all ASL math and logic operators, the target operand must be a
2714 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
2715 includes the function return value also.
2716
2717 -- External declarations are also included in the typechecking where
2718 possible. External objects defined using the UnknownObj keyword cannot be
2719 typechecked, however.
2720
2721 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
2722 operator:
2723 - Legacy code: Index(PKG1, 3)
2724 - New ASL+ code: PKG1[3]
2725 This completes the ACPI 6.0 ASL+ support as it was the only operator not
2726 supported.
2727
2728 iASL: Fixed the file suffix for the preprocessor output file (.i). Two
2729 spaces were inadvertently appended to the filename, causing file access
2730 and deletion problems on some systems.
2731
2732 ASL Test Suite (ASLTS): Updated the master makefile to generate all
2733 possible compiler output files when building the test suite -- thus
2734 exercising these features of the compiler. These files are automatically
2735 deleted when the test suite exits.
2736
2737
2738 ----------------------------------------
2739 18 August 2015. Summary of changes for version 20150818:
2740
2741 1) ACPICA kernel-resident subsystem:
2742
2743 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
2744 Zheng. ACPICA BZ 1186.
2745
2746 Completed development to ensure that the ACPICA Disassembler and Debugger
2747 are fully standalone components of ACPICA. Removed cross-component
2748 dependences. Lv Zheng.
2749
2750 The max-number-of-AML-loops is now runtime configurable (previously was
2751 compile-time only). This is essentially a loop timeout to force-abort
2752 infinite AML loops. ACPCIA BZ 1192.
2753
2754 Debugger: Cleanup output to dump ACPI names and namepaths without any
2755 trailing underscores. Lv Zheng. ACPICA BZ 1135.
2756
2757 Removed unnecessary conditional compilations across the Debugger and
2758 Disassembler components where entire modules could be left uncompiled.
2759
2760 The aapits test is deprecated and has been removed from the ACPICA git
2761 tree. The test has never been completed and has not been maintained, thus
2762 becoming rather useless. ACPICA BZ 1015, 794.
2763
2764 A batch of small changes to close bugzilla and other reports:
2765 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
2766 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
2767 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
2768 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob
2769 Moore.
2770 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
2771 ACPICA BZ 1184.
2772 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
2773 operators.
2774 - Debugger: Split debugger initialization/termination interfaces. Lv
2775 Zheng.
2776 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table
2777 identification.
2778 - AcpiExec: Add debug message during _REG method phase during table
2779 load/init.
2780 - AcpiNames: Fix a regression where some output was missing and no longer
2781 emitted.
2782 - Debugger: General cleanup and simplification. Lv Zheng.
2783 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
2784
2785 Example Code and Data Size: These are the sizes for the OS-independent
2786 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2787 debug version of the code includes the debug output trace mechanism and
2788 has a much larger code and data size.
2789
2790 Current Release:
2791 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2792 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
2793 Previous Release:
2794 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2795 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
2796
2797
2798 2) iASL Compiler/Disassembler and Tools:
2799
2800 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
2801 were not handled properly and caused load errors. Now, properly invoke
2802 and use the ACPICA auto-reallocate mechanism for ACPI table data
2803 structures. ACPICA BZ 1188
2804
2805 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
2806 BZ 1190.
2807
2808 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
2809 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
2810 executed during initialization. ACPICA BZ 1187, 1189.
2811
2812 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
2813 that corresponds to each disassembled ASL statement, to simplify
2814 debugging. ACPICA BZ 1191.
2815
2816 Debugger: Add option to the "objects" command to display a summary of the
2817 current namespace objects (Object type and count). This is displayed if
2818 the command is entered with no arguments.
2819
2820 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
2821
2822
2823 ----------------------------------------
2824 17 July 2015. Summary of changes for version 20150717:
2825
2826 1) ACPICA kernel-resident subsystem:
2827
2828 Improved the partitioning between the Debugger and Disassembler
2829 components. This allows the Debugger to be used standalone within kernel
2830 code without the Disassembler (which is used for single stepping also).
2831 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
2832
2833 Debugger: Implemented a new command to trace the execution of control
2834 methods (Trace). This is especially useful for the in-kernel version of
2835 the debugger when file I/O may not be available for method trace output.
2836 See the ACPICA reference for more information. Lv Zheng.
2837
2838 Moved all C library prototypes (used for the local versions of these
2839 functions when requested) to a new header, acclib.h
2840 Cleaned up the use of non-ANSI C library functions. These functions are
2841 implemented locally in ACPICA. Moved all such functions to a common
2842 source file, utnonansi.c
2843
2844 Debugger: Fixed a problem with the "!!" command (get last command
2845 executed) where the debugger could enter an infinite loop and eventually
2846 crash.
2847
2848 Removed the use of local macros that were used for some of the standard C
2849 library functions to automatically cast input parameters. This mostly
2850 affected the is* functions where the input parameter is defined to be an
2851 int. This required a few modifications to the main ACPICA source code to
2852 provide casting for these functions and eliminate possible compiler
2853 warnings for these parameters.
2854
2855 Across the source code, added additional status/error checking to resolve
2856 issues discovered by static source code analysis tools such as Coverity.
2857
2858 Example Code and Data Size: These are the sizes for the OS-independent
2859 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2860 debug version of the code includes the debug output trace mechanism and
2861 has a much larger code and data size.
2862
2863 Current Release:
2864 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2865 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
2866 Previous Release:
2867 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2868 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
2869
2870
2871 2) iASL Compiler/Disassembler and Tools:
2872
2873 iASL: Fixed a regression where the device map file feature no longer
2874 worked properly when used in conjunction with the disassembler. It only
2875 worked properly with the compiler itself.
2876
2877 iASL: Implemented a new warning for method LocalX variables that are set
2878 but never used (similar to a C compiler such as gcc). This also applies
2879 to ArgX variables that are not defined by the parent method, and are
2880 instead (legally) used as local variables.
2881
2882 iASL/Preprocessor: Finished the pass-through of line numbers from the
2883 preprocessor to the compiler. This ensures that compiler errors/warnings
2884 have the correct original line numbers and filenames, regardless of any
2885 #include files.
2886
2887 iASL/Preprocessor: Fixed a couple of issues with comment handling and the
2888 pass-through of comments to the preprocessor output file (which becomes
2889 the compiler input file). Also fixed a problem with // comments that
2890 appear after a math expression.
2891
2892 iASL: Added support for the TCPA server table to the table compiler and
2893 template generator. (The client table was already previously supported)
2894
2895 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
2896 identify the iASL compiler.
2897
2898 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
2899 multiple times. The new names are ACPI_SIGN_NEGATIVE and
2900 ACPI_SIGN_POSITIVE.
2901
2902 AcpiHelp: Update to expand help messages for the iASL preprocessor
2903 directives.
2904
2905
2906 ----------------------------------------
2907 19 June 2015. Summary of changes for version 20150619:
2908
2909 Two regressions in version 20150616 have been addressed:
2910
2911 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
2912 etc.) This update changes ACPICA to only use the standard headers for
2913 functions, or the prototypes for the local versions of the C library
2914 functions. Across the source code, this required some additional casts
2915 for some Clib invocations for portability. Moved all local prototypes to
2916 a new file, acclib.h
2917
2918 Fixes several problems with recent changes to the handling of the FACS
2919 table that could cause some systems not to boot.
2920
2921
2922 ----------------------------------------
2923 16 June 2015. Summary of changes for version 20150616:
2924
2925
2926 1) ACPICA kernel-resident subsystem:
2927
2928 Across the entire ACPICA source code base, the various macros for the C
2929 library functions (such as ACPI_STRLEN, etc.) have been removed and
2930 replaced by the standard C library names (strlen, etc.) The original
2931 purpose for these macros is no longer applicable. This simplification
2932 reduces the number of macros used in the ACPICA source code
2933 significantly, improving readability and maintainability.
2934
2935 Implemented support for a new ACPI table, the OSDT. This table, the
2936 "override" SDT, can be loaded directly by the host OS at boot time. It
2937 enables the replacement of existing namespace objects that were installed
2938 via the DSDT and/or SSDTs. The primary purpose for this is to replace
2939 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
2940 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
2941 Moore.
2942
2943 Added support for systems with (improperly) two FACS tables -- a "32-bit"
2944 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
2945 X field). This change will support both automatically. There continues to
2946 be systems found with this issue. This support requires a change to the
2947 AcpiSetFirmwareWakingVector interface. Also, a public global variable has
2948 been added to allow the host to select which FACS is desired
2949 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
2950 details Lv Zheng.
2951
2952 Added a new feature to allow for systems that do not contain an FACS.
2953 Although this is already supported on hardware-reduced platforms, the
2954 feature has been extended for all platforms. The reasoning is that we do
2955 not want to abort the entire ACPICA initialization just because the
2956 system is seriously buggy and has no FACS.
2957
2958 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
2959 not correctly transcribed from the ACPI specification in ACPICA version
2960 20150515.
2961
2962 Implemented support for the _CLS object in the AcpiGetObjectInfo external
2963 interface.
2964
2965 Updated the definitions of the TCPA and TPM2 ACPI tables to the more
2966 recent TCG ACPI Specification, December 14, 2014. Table disassembler and
2967 compiler also updated. Note: The TCPA "server" table is not supported by
2968 the disassembler/table-compiler at this time.
2969
2970 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
2971
2972 Example Code and Data Size: These are the sizes for the OS-independent
2973 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2974 debug version of the code includes the debug output trace mechanism and
2975 has a much larger code and data size.
2976
2977 Current Release:
2978 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2979 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
2980 Previous Release:
2981 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
2982 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
2983
2984
2985 2) iASL Compiler/Disassembler and Tools:
2986
2987 Disassembler: Fixed a problem with the new symbolic operator disassembler
2988 where incorrect ASL code could be emitted in some cases for the "non-
2989 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
2990 ShiftRight. The actual problem cases seem to be rather unusual in common
2991 ASL code, however. David Box.
2992
2993 Modified the linux version of acpidump to obtain ACPI tables from not
2994 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
2995 Zheng.
2996
2997 iASL: Fixed a problem where the user preprocessor output file (.i)
2998 contained extra data that was not expected. The compiler was using this
2999 file as a temporary file and passed through #line directives in order to
3000 keep compiler error messages in sync with the input file and line number
3001 across multiple include files. The (.i) is no longer a temporary file as
3002 the compiler uses a new, different file for the original purpose.
3003
3004 iASL: Fixed a problem where comments within the original ASL source code
3005 file were not passed through to the preprocessor output file, nor any
3006 listing files.
3007
3008 iASL: Fixed some issues for the handling of the "#include" preprocessor
3009 directive and the similar (but not the same) "Include" ASL operator.
3010
3011 iASL: Add support for the new OSDT in both the disassembler and compiler.
3012
3013 iASL: Fixed a problem with the constant folding support where a Buffer
3014 object could be incorrectly generated (incorrectly formed) during a
3015 conversion to a Store() operator.
3016
3017 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
3018 description text for the _REV predefined name. _REV now permanently
3019 returns 2, as per the ACPI 6.0 specification.
3020
3021 Debugger: Enhanced the output of the Debug ASL object for references
3022 produced by the Index operator. For Buffers and strings, only output the
3023 actual byte pointed to by the index. For packages, only print the single
3024 package element decoded by the index. Previously, the entire
3025 buffer/string/package was emitted.
3026
3027 iASL/Table-compiler: Fixed a regression where the "generic" data types
3028 were no longer recognized, causing errors.
3029
3030
3031 ----------------------------------------
3032 15 May 2015. Summary of changes for version 20150515:
3033
3034 This release implements most of ACPI 6.0 as described below.
3035
3036 1) ACPICA kernel-resident subsystem:
3037
3038 Implemented runtime argument checking and return value checking for all
3039 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
3040 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
3041
3042 Example Code and Data Size: These are the sizes for the OS-independent
3043 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3044 debug version of the code includes the debug output trace mechanism and
3045 has a much larger code and data size.
3046
3047 Current Release:
3048 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
3049 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
3050 Previous Release:
3051 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
3052 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
3053
3054
3055 2) iASL Compiler/Disassembler and Tools:
3056
3057 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
3058 names (argument count validation and return value typechecking.)
3059
3060 iASL disassembler and table compiler: implemented support for all new
3061 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
3062
3063 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
3064 tables: FADT, MADT.
3065
3066 iASL preprocessor: Added a new directive to enable inclusion of binary
3067 blobs into ASL code. The new directive is #includebuffer. It takes a
3068 binary file as input and emits a named ascii buffer object into the ASL
3069 code.
3070
3071 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
3072
3073 AcpiHelp: Added a new option, -d, to display all iASL preprocessor
3074 directives.
3075
3076 AcpiHelp: Added a new option, -t, to display all known/supported ACPI
3077 tables.
3078
3079
3080 ----------------------------------------
3081 10 April 2015. Summary of changes for version 20150410:
3082
3083 Reverted a change introduced in version 20150408 that caused
3084 a regression in the disassembler where incorrect operator
3085 symbols could be emitted.
3086
3087
3088 ----------------------------------------
3089 08 April 2015. Summary of changes for version 20150408:
3090
3091
3092 1) ACPICA kernel-resident subsystem:
3093
3094 Permanently set the return value for the _REV predefined name. It now
3095 returns 2 (was 5). This matches other ACPI implementations. _REV will be
3096 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
3097 for ACPI 2.0 and later. It should never be used to differentiate or
3098 identify operating systems.
3099
3100 Added the "Windows 2015" string to the _OSI support. ACPICA will now
3101 return TRUE to a query with this string.
3102
3103 Fixed several issues with the local version of the printf function.
3104
3105 Added the C99 compiler option (-std=c99) to the Unix makefiles.
3106
3107 Current Release:
3108 Non-Debug Version: 99.9K Code, 27.4K Data, 127.3K Total
3109 Debug Version: 195.2K Code, 80.7K Data, 275.9K Total
3110 Previous Release:
3111 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
3112 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
3113
3114
3115 2) iASL Compiler/Disassembler and Tools:
3116
3117 iASL: Implemented an enhancement to the constant folding feature to
3118 transform the parse tree to a simple Store operation whenever possible:
3119 Add (2, 3, X) ==> is converted to: Store (5, X)
3120 X = 2 + 3 ==> is converted to: Store (5, X)
3121
3122 Updated support for the SLIC table (Software Licensing Description Table)
3123 in both the Data Table compiler and the disassembler. The SLIC table
3124 support now conforms to "Microsoft Software Licensing Tables (SLIC and
3125 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
3126 following the ACPI header is now defined to be "Proprietary Data", and as
3127 such, can only be entered or displayed as a hex data block.
3128
3129 Implemented full support for the MSDM table as described in the document
3130 above. Note: The format of MSDM is similar to SLIC. Any MSDM data
3131 following the ACPI header is defined to be "Proprietary Data", and can
3132 only be entered or displayed as a hex data block.
3133
3134 Implemented the -Pn option for the iASL Table Compiler (was only
3135 implemented for the ASL compiler). This option disables the iASL
3136 preprocessor.
3137
3138 Disassembler: For disassembly of Data Tables, added a comment field
3139 around the Ascii equivalent data that is emitted as part of the "Raw
3140 Table Data" block. This prevents the iASL Preprocessor from possible
3141 confusion if/when the table is compiled.
3142
3143 Disassembler: Added an option (-df) to force the disassembler to assume
3144 that the table being disassembled contains valid AML. This feature is
3145 useful for disassembling AML files that contain ACPI signatures other
3146 than DSDT or SSDT (such as OEMx or other signatures).
3147
3148 Changes for the EFI version of the tools:
3149 1) Fixed a build error/issue
3150 2) Fixed a cast warning
3151
3152 iASL: Fixed a path issue with the __FILE__ operator by making the
3153 directory prefix optional within the internal SplitInputFilename
3154 function.
3155
3156 Debugger: Removed some unused global variables.
3157
3158 Tests: Updated the makefile for proper generation of the AAPITS suite.
3159
3160
3161 ----------------------------------------
3162 04 February 2015. Summary of changes for version 20150204:
3163
3164 ACPICA kernel-resident subsystem:
3165
3166 Updated all ACPICA copyrights and signons to 2014. Added the 2014
3167 copyright to all module headers and signons, including the standard Linux
3168 header. This affects virtually every file in the ACPICA core subsystem,
3169 iASL compiler, all ACPICA utilities, and the test suites.
3170
3171 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
3172 A raw gpe handling mechanism was created to allow better handling of GPE
3173 storms that aren't easily managed by the normal handler. The raw handler
3174 allows disabling/renabling of the the GPE so that interrupt storms can be
3175 avoided in cases where events cannot be timely serviced. In this
3176 scenario, handlers should use the AcpiSetGpe() API to disable/enable the
3177 GPE. This API will leave the reference counts undisturbed, thereby
3178 preventing unintentional clearing of the GPE when the intent in only to
3179 temporarily disable it. Raw handlers allow enabling and disabling of a
3180 GPE by removing GPE register locking. As such, raw handlers much provide
3181 their own locks while using GPE API's to protect access to GPE data
3182 structures.
3183 Lv Zheng
3184
3185 Events: Always modify GPE registers under the GPE lock.
3186 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
3187 values. Reported as bug by joe.liu (a] apple.com.
3188
3189 Unix makefiles: Separate option to disable optimizations and
3190 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
3191 NOOPT disable option and creates a separate flag (NOFORTIFY) for this
3192 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
3193 errors when building ACPICA. This allows disabling the option without
3194 also having to disable optimazations.
3195 David Box
3196
3197 Current Release:
3198 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
3199 Debug Version: 199.2K Code, 82.4K Data, 281.6K Total
3200
3201 --
3202 --------------------------------------
3203 07 November 2014. Summary of changes for version 20141107:
3204
3205 This release is available at https://acpica.org/downloads
3206
3207 This release introduces and implements language extensions to ASL that
3208 provide support for symbolic ("C-style") operators and expressions. These
3209 language extensions are known collectively as ASL+.
3210
3211
3212 1) iASL Compiler/Disassembler and Tools:
3213
3214 Disassembler: Fixed a problem with disassembly of the UartSerialBus
3215 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
3216 Box.
3217
3218 Disassembler: Fixed the Unicode macro support to add escape sequences.
3219 All non-printable ASCII values are emitted as escape sequences, as well
3220 as the standard escapes for quote and backslash. Ensures that the
3221 disassembled macro can be correctly recompiled.
3222
3223 iASL: Added Printf/Fprintf macros for formatted output. These macros are
3224 translated to existing AML Concatenate and Store operations. Printf
3225 writes to the ASL Debug object. Fprintf allows the specification of an
3226 ASL name as the target. Only a single format specifier is required, %o,
3227 since the AML interpreter dynamically converts objects to the required
3228 type. David E. Box.
3229
3230 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
3231 (Concatenate (Concatenate (Concatenate ("", Arg0),
3232 ": Unexpected value for "), Arg1), ", "), Arg2),
3233 " at line "), Arg3), Debug)
3234
3235 (new) Printf ("%o: Unexpected value for %o, %o at line %o",
3236 Arg0, Arg1, Arg2, Arg3)
3237
3238 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
3239 ("", Arg1), ": "), Arg0), " Successful"), STR1)
3240
3241 (new) Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
3242
3243 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
3244 ASL parse tree before the AML code is generated. This allows blocks of
3245 ASL code to be removed in order to help locate and identify problem
3246 devices and/or code. David E. Box.
3247
3248 AcpiExec: Added support (-fi) for an optional namespace object
3249 initialization file. This file specifies initial values for namespace
3250 objects as necessary for debugging and testing different ASL code paths
3251 that may be taken as a result of BIOS options.
3252
3253
3254 2) Overview of symbolic operator support for ASL (ASL+)
3255 -------------------------------------------------------
3256
3257 As an extension to the ASL language, iASL implements support for symbolic
3258 (C-style) operators for math and logical expressions. This can greatly
3259 simplify ASL code as well as improve both readability and
3260 maintainability. These language extensions can exist concurrently with
3261 all legacy ASL code and expressions.
3262
3263 The symbolic extensions are 100% compatible with existing AML
3264 interpreters, since no new AML opcodes are created. To implement the
3265 extensions, the iASL compiler transforms the symbolic expressions into
3266 the legacy ASL/AML equivalents at compile time.
3267
3268 Full symbolic expressions are supported, along with the standard C
3269 precedence and associativity rules.
3270
3271 Full disassembler support for the symbolic expressions is provided, and
3272 creates an automatic migration path for existing ASL code to ASL+ code
3273 via the disassembly process. By default, the disassembler now emits ASL+
3274 code with symbolic expressions. An option (-dl) is provided to force the
3275 disassembler to emit legacy ASL code if desired.
3276
3277 Below is the complete list of the currently supported symbolic operators
3278 with examples. See the iASL User Guide for additional information.
3279
3280
3281 ASL+ Syntax Legacy ASL Equivalent
3282 ----------- ---------------------
3283
3284 // Math operators
3285
3286 Z = X + Y Add (X, Y, Z)
3287 Z = X - Y Subtract (X, Y, Z)
3288 Z = X * Y Multiply (X, Y, Z)
3289 Z = X / Y Divide (X, Y, , Z)
3290 Z = X % Y Mod (X, Y, Z)
3291 Z = X << Y ShiftLeft (X, Y, Z)
3292 Z = X >> Y ShiftRight (X, Y, Z)
3293 Z = X & Y And (X, Y, Z)
3294 Z = X | Y Or (X, Y, Z)
3295 Z = X ^ Y Xor (X, Y, Z)
3296 Z = ~X Not (X, Z)
3297 X++ Increment (X)
3298 X-- Decrement (X)
3299
3300 // Logical operators
3301
3302 (X == Y) LEqual (X, Y)
3303 (X != Y) LNotEqual (X, Y)
3304 (X < Y) LLess (X, Y)
3305 (X > Y) LGreater (X, Y)
3306 (X <= Y) LLessEqual (X, Y)
3307 (X >= Y) LGreaterEqual (X, Y)
3308 (X && Y) LAnd (X, Y)
3309 (X || Y) LOr (X, Y)
3310 (!X) LNot (X)
3311
3312 // Assignment and compound assignment operations
3313
3314 X = Y Store (Y, X)
3315 X += Y Add (X, Y, X)
3316 X -= Y Subtract (X, Y, X)
3317 X *= Y Multiply (X, Y, X)
3318 X /= Y Divide (X, Y, , X)
3319 X %= Y Mod (X, Y, X)
3320 X <<= Y ShiftLeft (X, Y, X)
3321 X >>= Y ShiftRight (X, Y, X)
3322 X &= Y And (X, Y, X)
3323 X |= Y Or (X, Y, X)
3324 X ^= Y Xor (X, Y, X)
3325
3326
3327 3) ASL+ Examples:
3328 -----------------
3329
3330 Legacy ASL:
3331 If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
3332 And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
3333 0x03FB),
3334 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
3335 {
3336 And (MEMB, 0xFFFFFFF0, SRMB)
3337 Store (MEMB, Local2)
3338 Store (PDBM, Local1)
3339 And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
3340 Store (SRMB, MEMB)
3341 Or (PDBM, 0x02, PDBM)
3342 }
3343
3344 ASL+ version:
3345 If (((R510 & 0x03FB) == 0x02E0) ||
3346 ((R520 & 0x03FB) == 0x02E0) ||
3347 ((R530 & 0x03FB) == 0x02E0) ||
3348 ((R540 & 0x03FB) == 0x02E0))
3349 {
3350 SRMB = (MEMB & 0xFFFFFFF0)
3351 Local2 = MEMB
3352 Local1 = PDBM
3353 PDBM &= 0xFFFFFFFFFFFFFFF9
3354 MEMB = SRMB
3355 PDBM |= 0x02
3356 }
3357
3358 Legacy ASL:
3359 Store (0x1234, Local1)
3360 Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
3361 Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
3362 Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
3363 Store (Index (PKG1, 0x03), Local6)
3364 Store (Add (Local3, Local2), Debug)
3365 Add (Local1, 0x0F, Local2)
3366 Add (Local1, Multiply (Local2, Local3), Local2)
3367 Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
3368
3369 ASL+ version:
3370 Local1 = 0x1234
3371 Local3 = (((Local1 + TEST) + 0x20) * Local2)
3372 Local3 = (Local2 * ((Local1 + TEST) + 0x20))
3373 Local3 = (Local1 + (TEST + (0x20 * Local2)))
3374 Local6 = Index (PKG1, 0x03)
3375 Debug = (Local3 + Local2)
3376 Local2 = (Local1 + 0x0F)
3377 Local2 = (Local1 + (Local2 * Local3))
3378 Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
3379
3380
3381 ----------------------------------------
3382 26 September 2014. Summary of changes for version 20140926:
3383
3384 1) ACPICA kernel-resident subsystem:
3385
3386 Updated the GPIO operation region handler interface (GeneralPurposeIo).
3387 In order to support GPIO Connection objects with multiple pins, along
3388 with the related Field objects, the following changes to the interface
3389 have been made: The Address is now defined to be the offset in bits of
3390 the field unit from the previous invocation of a Connection. It can be
3391 viewed as a "Pin Number Index" into the connection resource descriptor.
3392 The BitWidth is the exact bit width of the field. It is usually one bit,
3393 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
3394 additional information and examples.
3395
3396 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
3397 corresponding _Lxx/_Exx methods are disabled (they may have been enabled
3398 by the firmware), so that they cannot fire until they are enabled via
3399 AcpiUpdateAllGpes. Rafael J. Wysocki.
3400
3401 Added a new return flag for the Event/GPE status interfaces --
3402 AcpiGetEventStatus and AcpiGetGpeStatus. The new
3403 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
3404 GPE currently has a handler associated with it, and can thus actually
3405 affect the system. Lv Zheng.
3406
3407 Example Code and Data Size: These are the sizes for the OS-independent
3408 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3409 debug version of the code includes the debug output trace mechanism and
3410 has a much larger code and data size.
3411
3412 Current Release:
3413 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
3414 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
3415 Previous Release:
3416 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
3417 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
3418
3419 2) iASL Compiler/Disassembler and Tools:
3420
3421 iASL: Fixed a memory allocation/free regression introduced in 20140828
3422 that could cause the compiler to crash. This was introduced inadvertently
3423 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
3424 1113.
3425
3426 iASL: Removed two error messages that have been found to create false
3427 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
3428 1) Illegal forward reference within a method
3429 2) Illegal reference across two methods
3430
3431 iASL: Implemented a new option (-lm) to create a hardware mapping file
3432 that summarizes all GPIO, I2C, SPI, and UART connections. This option
3433 works for both the compiler and disassembler. See the iASL compiler user
3434 guide for additional information and examples (section 6.4.6).
3435
3436 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
3437 version 2. This corrects the AE_BAD_HEADER exception seen on systems with
3438 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
3439
3440 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
3441 unless STDIN is actually a terminal. Assists with batch-mode processing.
3442 ACPICA BZ 1114.
3443
3444 Disassembler/AcpiHelp: Added another large group of recognized _HID
3445 values.
3446
3447
3448 ----------------------------------------
3449 28 August 2014. Summary of changes for version 20140828:
3450
3451 1) ACPICA kernel-resident subsystem:
3452
3453 Fixed a problem related to the internal use of the Timer() operator where
3454 a 64-bit divide could cause an attempted link to a double-precision math
3455 library. This divide is not actually necessary, so the code was
3456 restructured to eliminate it. Lv Zheng.
3457
3458 ACPI 5.1: Added support for the runtime validation of the _DSD package
3459 (similar to the iASL support).
3460
3461 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
3462 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
3463
3464 Example Code and Data Size: These are the sizes for the OS-independent
3465 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3466 debug version of the code includes the debug output trace mechanism and
3467 has a much larger code and data size.
3468
3469 Current Release:
3470 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
3471 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
3472 Previous Release:
3473 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total1
3474 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
3475
3476 2) iASL Compiler/Disassembler and Tools:
3477
3478 AcpiExec: Fixed a problem on unix systems where the original terminal
3479 state was not always properly restored upon exit. Seen when using the -v
3480 option. ACPICA BZ 1104.
3481
3482 iASL: Fixed a problem with the validation of the ranges/length within the
3483 Memory24 resource descriptor. There was a boundary condition when the
3484 range was equal to the (length -1) caused by the fact that these values
3485 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
3486
3487 Disassembler: Fixed a problem with the GpioInt descriptor interrupt
3488 polarity
3489 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
3490 is
3491 now supported properly.
3492
3493 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
3494 in the disassembler, data table compiler, and table template generator.
3495
3496 iASL: Added a requirement for Device() objects that one of either a _HID
3497 or _ADR must exist within the scope of a Device, as per the ACPI
3498 specification. Remove a similar requirement that was incorrectly in place
3499 for the _DSD object.
3500
3501 iASL: Added error detection for illegal named references within control
3502 methods that would cause runtime failures. Now trapped as errors are: 1)
3503 References to objects within a non-parent control method. 2) Forward
3504 references (within a method) -- for control methods, AML interpreters use
3505 a one-pass parse of control methods. ACPICA BZ 1008.
3506
3507 iASL: Added error checking for dependencies related to the _PSx power
3508 methods. ACPICA BZ 1029.
3509 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
3510 _PS3.
3511 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
3512 scope.
3513
3514 iASL and table compiler: Cleanup miscellaneous memory leaks by fully
3515 deploying the existing object and string caches and adding new caches for
3516 the table compiler.
3517
3518 iASL: Split the huge parser source file into multiple subfiles to improve
3519 manageability. Generation now requires the M4 macro preprocessor, which
3520 is part of the Bison distribution on both unix and windows platforms.
3521
3522 AcpiSrc: Fixed and removed all extraneous warnings generated during
3523 entire ACPICA source code scan and/or conversion.
3524
3525
3526 ----------------------------------------
3527
3528 24 July 2014. Summary of changes for version 20140724:
3529
3530 The ACPI 5.1 specification has been released and is available at:
3531 http://uefi.org/specs/access
3532
3533
3534 0) ACPI 5.1 support in ACPICA:
3535
3536 ACPI 5.1 is fully supported in ACPICA as of this release.
3537
3538 New predefined names. Support includes iASL and runtime ACPICA
3539 validation.
3540 _CCA (Cache Coherency Attribute).
3541 _DSD (Device-Specific Data). David Box.
3542
3543 Modifications to existing ACPI tables. Support includes headers, iASL
3544 Data Table compiler, disassembler, and the template generator.
3545 FADT - New fields and flags. Graeme Gregory.
3546 GTDT - One new subtable and new fields. Tomasz Nowicki.
3547 MADT - Two new subtables. Tomasz Nowicki.
3548 PCCT - One new subtable.
3549
3550 Miscellaneous.
3551 New notification type for System Resource Affinity change events.
3552
3553
3554 1) ACPICA kernel-resident subsystem:
3555
3556 Fixed a regression introduced in 20140627 where a fault can happen during
3557 the deletion of Alias AML namespace objects. The problem affected both
3558 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
3559
3560 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
3561 simple mechanism to enable wake GPEs that have no associated handler or
3562 control method. Rafael Wysocki.
3563
3564 Updated the AcpiEnableGpe interface to disallow the enable if there is no
3565 handler or control method associated with the particular GPE. This will
3566 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
3567
3568 Updated GPE handling and dispatch by disabling the GPE before clearing
3569 the status bit for edge-triggered GPEs. Lv Zheng.
3570
3571 Added Timer() support to the AML Debug object. The current timer value is
3572 now displayed with each invocation of (Store to) the debug object to
3573 enable simple generation of execution times for AML code (method
3574 execution for example.) ACPICA BZ 1093.
3575
3576 Example Code and Data Size: These are the sizes for the OS-independent
3577 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3578 debug version of the code includes the debug output trace mechanism and
3579 has a much larger code and data size.
3580
3581 Current Release:
3582 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total
3583 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
3584 Previous Release:
3585 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
3586 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
3587
3588
3589 2) iASL Compiler/Disassembler and Tools:
3590
3591 Fixed an issue with the recently added local printf implementation,
3592 concerning width/precision specifiers that could cause incorrect output.
3593 Lv Zheng. ACPICA BZ 1094.
3594
3595 Disassembler: Added support to detect buffers that contain UUIDs and
3596 disassemble them to an invocation of the ToUUID operator. Also emit
3597 commented descriptions of known ACPI-related UUIDs.
3598
3599 AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
3600 -u. Adds three new files.
3601
3602 iASL: Update table compiler and disassembler for DMAR table changes that
3603 were introduced in September 2013. With assistance by David Woodhouse.
3604
3605 ----------------------------------------
3606 27 June 2014. Summary of changes for version 20140627:
3607
3608 1) ACPICA kernel-resident subsystem:
3609
3610 Formatted Output: Implemented local versions of standard formatted output
3611 utilities such as printf, etc. Over time, it has been discovered that
3612 there are in fact many portability issues with printf, and the addition
3613 of this feature will fix/prevent these issues once and for all. Some
3614 known issues are summarized below:
3615
3616 1) Output of 64-bit values is not portable. For example, UINT64 is %ull
3617 for the Linux kernel and is %uI64 for some MSVC versions.
3618 2) Invoking printf consistently in a manner that is portable across both
3619 32-bit and 64-bit platforms is difficult at best in many situations.
3620 3) The output format for pointers varies from system to system (leading
3621 zeros especially), and leads to inconsistent output from ACPICA across
3622 platforms.
3623 4) Certain platform-specific printf formats may conflict with ACPICA use.
3624 5) If there is no local C library available, ACPICA now has local support
3625 for printf.
3626
3627 -- To address these printf issues in a complete manner, ACPICA now
3628 directly implements a small subset of printf format specifiers, only
3629 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
3630
3631 Implemented support for ACPICA generation within the EFI environment.
3632 Initially, the AcpiDump utility is supported in the UEFI shell
3633 environment. Lv Zheng.
3634
3635 Added a new external interface, AcpiLogError, to improve ACPICA
3636 portability. This allows the host to redirect error messages from the
3637 ACPICA utilities. Lv Zheng.
3638
3639 Added and deployed new OSL file I/O interfaces to improve ACPICA
3640 portability:
3641 AcpiOsOpenFile
3642 AcpiOsCloseFile
3643 AcpiOsReadFile
3644 AcpiOsWriteFile
3645 AcpiOsGetFileOffset
3646 AcpiOsSetFileOffset
3647 There are C library implementations of these functions in the new file
3648 service_layers/oslibcfs.c -- however, the functions can be implemented by
3649 the local host in any way necessary. Lv Zheng.
3650
3651 Implemented a mechanism to disable/enable ACPI table checksum validation
3652 at runtime. This can be useful when loading tables very early during OS
3653 initialization when it may not be possible to map the entire table in
3654 order to compute the checksum. Lv Zheng.
3655
3656 Fixed a buffer allocation issue for the Generic Serial Bus support.
3657 Originally, a fixed buffer length was used. This change allows for
3658 variable-length buffers based upon the protocol indicated by the field
3659 access attributes. Reported by Lan Tianyu. Lv Zheng.
3660
3661 Fixed a problem where an object detached from a namespace node was not
3662 properly terminated/cleared and could cause a circular list problem if
3663 reattached. ACPICA BZ 1063. David Box.
3664
3665 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
3666
3667 Fixed a possible memory leak in an error return path within the function
3668 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
3669
3670 Example Code and Data Size: These are the sizes for the OS-independent
3671 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3672 debug version of the code includes the debug output trace mechanism and
3673 has a much larger code and data size.
3674
3675 Current Release:
3676 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
3677 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
3678 Previous Release:
3679 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
3680 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
3681
3682
3683 2) iASL Compiler/Disassembler and Tools:
3684
3685 Disassembler: Add dump of ASCII equivalent text within a comment at the
3686 end of each line of the output for the Buffer() ASL operator.
3687
3688 AcpiDump: Miscellaneous changes:
3689 Fixed repetitive table dump in -n mode.
3690 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
3691 the ACPI 2.0 GUID fails.
3692
3693 iASL: Fixed a problem where the compiler could fault if incorrectly given
3694 an acpidump output file as input. ACPICA BZ 1088. David Box.
3695
3696 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
3697 they are invoked without any arguments.
3698
3699 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
3700 1086. Colin Ian King.
3701
3702 Disassembler: Cleaned up a block of code that extracts a parent Op
3703 object. Added a comment that explains that the parent is guaranteed to be
3704 valid in this case. ACPICA BZ 1069.
3705
3706
3707 ----------------------------------------
3708 24 April 2014. Summary of changes for version 20140424:
3709
3710 1) ACPICA kernel-resident subsystem:
3711
3712 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
3713 Some of these tables are known to contain a trailing NULL entry. Lv
3714 Zheng.
3715
3716 Removed an extraneous error message for the case where there are a large
3717 number of system GPEs (> 124). This was the "32-bit FADT register is too
3718 long to convert to GAS struct" message, which is irrelevant for GPEs
3719 since the GPEx_BLK_LEN fields of the FADT are always used instead of the
3720 (limited capacity) GAS bit length. Also, several changes to ensure proper
3721 support for GPE numbers > 255, where some "GPE number" fields were 8-bits
3722 internally.
3723
3724 Implemented and deployed additional configuration support for the public
3725 ACPICA external interfaces. Entire classes of interfaces can now be
3726 easily modified or configured out, replaced by stubbed inline functions
3727 by default. Lv Zheng.
3728
3729 Moved all public ACPICA runtime configuration globals to the public
3730 ACPICA external interface file for convenience. Also, removed some
3731 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
3732
3733 Documentation: Added a new section to the ACPICA reference describing the
3734 maximum number of GPEs that can be supported by the FADT-defined GPEs in
3735 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
3736 reference.
3737
3738 Example Code and Data Size: These are the sizes for the OS-independent
3739 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3740 debug version of the code includes the debug output trace mechanism and
3741 has a much larger code and data size.
3742
3743 Current Release:
3744 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
3745 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
3746 Previous Release:
3747 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
3748 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
3749
3750
3751 2) iASL Compiler/Disassembler and Tools:
3752
3753 iASL and disassembler: Add full support for the LPIT table (Low Power
3754 Idle Table). Includes support in the disassembler, data table compiler,
3755 and template generator.
3756
3757 AcpiDump utility:
3758 1) Add option to force the use of the RSDT (over the XSDT).
3759 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
3760
3761 iASL: Add check for predefined packages that are too large. For
3762 predefined names that contain subpackages, check if each subpackage is
3763 too large. (Check for too small already exists.)
3764
3765 Debugger: Updated the GPE command (which simulates a GPE by executing the
3766 GPE code paths in ACPICA). The GPE device is now optional, and defaults
3767 to the GPE 0/1 FADT-defined blocks.
3768
3769 Unix application OSL: Update line-editing support. Add additional error
3770 checking and take care not to reset terminal attributes on exit if they
3771 were never set. This should help guarantee that the terminal is always
3772 left in the previous state on program exit.
3773
3774
3775 ----------------------------------------
3776 25 March 2014. Summary of changes for version 20140325:
3777
3778 1) ACPICA kernel-resident subsystem:
3779
3780 Updated the auto-serialize feature for control methods. This feature
3781 automatically serializes all methods that create named objects in order
3782 to prevent runtime errors. The update adds support to ignore the
3783 currently executing AML SyncLevel when invoking such a method, in order
3784 to prevent disruption of any existing SyncLevel priorities that may exist
3785 in the AML code. Although the use of SyncLevels is relatively rare, this
3786 change fixes a regression where an AE_AML_MUTEX_ORDER exception can
3787 appear on some machines starting with the 20140214 release.
3788
3789 Added a new external interface to allow the host to install ACPI tables
3790 very early, before the namespace is even created. AcpiInstallTable gives
3791 the host additional flexibility for ACPI table management. Tables can be
3792 installed directly by the host as if they had originally appeared in the
3793 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
3794 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along
3795 with additional internal restructuring and cleanup. See the ACPICA
3796 Reference for interface details. Lv Zheng.
3797
3798 Added validation of the checksum for all incoming dynamically loaded
3799 tables (via external interfaces or via AML Load/LoadTable operators). Lv
3800 Zheng.
3801
3802 Updated the use of the AcpiOsWaitEventsComplete interface during Notify
3803 and GPE handler removal. Restructured calls to eliminate possible race
3804 conditions. Lv Zheng.
3805
3806 Added a warning for the use/execution of the ASL/AML Unload (table)
3807 operator. This will help detect and identify machines that use this
3808 operator if and when it is ever used. This operator has never been seen
3809 in the field and the usage model and possible side-effects of the drastic
3810 runtime action of a full table removal are unknown.
3811
3812 Reverted the use of #pragma push/pop which was introduced in the 20140214
3813 release. It appears that push and pop are not implemented by enough
3814 compilers to make the use of this feature feasible for ACPICA at this
3815 time. However, these operators may be deployed in a future ACPICA
3816 release.
3817
3818 Added the missing EXPORT_SYMBOL macros for the install and remove SCI
3819 handler interfaces.
3820
3821 Source code generation:
3822 1) Disabled the use of the "strchr" macro for the gcc-specific
3823 generation. For some versions of gcc, this macro can periodically expose
3824 a compiler bug which in turn causes compile-time error(s).
3825 2) Added support for PPC64 compilation. Colin Ian King.
3826
3827 Example Code and Data Size: These are the sizes for the OS-independent
3828 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3829 debug version of the code includes the debug output trace mechanism and
3830 has a much larger code and data size.
3831
3832 Current Release:
3833 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
3834 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
3835 Previous Release:
3836 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
3837 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
3838
3839
3840 2) iASL Compiler/Disassembler and Tools:
3841
3842 Disassembler: Added several new features to improve the readability of
3843 the resulting ASL code. Extra information is emitted within comment
3844 fields in the ASL code:
3845 1) Known _HID/_CID values are decoded to descriptive text.
3846 2) Standard values for the Notify() operator are decoded to descriptive
3847 text.
3848 3) Target operands are expanded to full pathnames (in a comment) when
3849 possible.
3850
3851 Disassembler: Miscellaneous updates for extern() handling:
3852 1) Abort compiler if file specified by -fe option does not exist.
3853 2) Silence unnecessary warnings about argument count mismatches.
3854 3) Update warning messages concerning unresolved method externals.
3855 4) Emit "UnknownObj" keyword for externals whose type cannot be
3856 determined.
3857
3858 AcpiHelp utility:
3859 1) Added the -a option to display both the ASL syntax and the AML
3860 encoding for an input ASL operator. This effectively displays all known
3861 information about an ASL operator with one AcpiHelp invocation.
3862 2) Added substring match support (similar to a wildcard) for the -i
3863 (_HID/PNP IDs) option.
3864
3865 iASL/Disassembler: Since this tool does not yet support execution on big-
3866 endian machines, added detection of endianness and an error message if
3867 execution is attempted on big-endian. Support for big-endian within iASL
3868 is a feature that is on the ACPICA to-be-done list.
3869
3870 AcpiBin utility:
3871 1) Remove option to extract binary files from an acpidump; this function
3872 is made obsolete by the AcpiXtract utility.
3873 2) General cleanup of open files and allocated buffers.
3874
3875
3876 ----------------------------------------
3877 14 February 2014. Summary of changes for version 20140214:
3878
3879 1) ACPICA kernel-resident subsystem:
3880
3881 Implemented a new mechanism to proactively prevent problems with ill-
3882 behaved reentrant control methods that create named ACPI objects. This
3883 behavior is illegal as per the ACPI specification, but is nonetheless
3884 frequently seen in the field. Previously, this could lead to an
3885 AE_ALREADY_EXISTS exception if the method was actually entered by more
3886 than one thread. This new mechanism detects such methods at table load
3887 time and marks them "serialized" to prevent reentrancy. A new global
3888 option, AcpiGbl_AutoSerializeMethods, has been added to disable this
3889 feature if desired. This mechanism and global option obsoletes and
3890 supersedes the previous AcpiGbl_SerializeAllMethods option.
3891
3892 Added the "Windows 2013" string to the _OSI support. ACPICA will now
3893 respond TRUE to _OSI queries with this string. It is the stated policy of
3894 ACPICA to add new strings to the _OSI support as soon as possible after
3895 they are defined. See the full ACPICA _OSI policy which has been added to
3896 the utilities/utosi.c file.
3897
3898 Hardened/updated the _PRT return value auto-repair code:
3899 1) Do not abort the repair on a single subpackage failure, continue to
3900 check all subpackages.
3901 2) Add check for the minimum subpackage length (4).
3902 3) Properly handle extraneous NULL package elements.
3903
3904 Added support to avoid the possibility of infinite loops when traversing
3905 object linked lists. Never allow an infinite loop, even in the face of
3906 corrupted object lists.
3907
3908 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
3909 pack(pop) directives to ensure that the ACPICA headers are independent of
3910 compiler settings or other host headers.
3911
3912 Example Code and Data Size: These are the sizes for the OS-independent
3913 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3914 debug version of the code includes the debug output trace mechanism and
3915 has a much larger code and data size.
3916
3917 Current Release:
3918 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
3919 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
3920 Previous Release:
3921 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
3922 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
3923
3924
3925 2) iASL Compiler/Disassembler and Tools:
3926
3927 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
3928 first reserved field was incorrectly forced to have a value of zero. This
3929 change correctly forces the field to have a value of one. ACPICA BZ 1081.
3930
3931 Debugger: Added missing support for the "Extra" and "Data" subobjects
3932 when displaying object data.
3933
3934 Debugger: Added support to display entire object linked lists when
3935 displaying object data.
3936
3937 iASL: Removed the obsolete -g option to obtain ACPI tables from the
3938 Windows registry. This feature has been superseded by the acpidump
3939 utility.
3940
3941
3942 ----------------------------------------
3943 14 January 2014. Summary of changes for version 20140114:
3944
3945 1) ACPICA kernel-resident subsystem:
3946
3947 Updated all ACPICA copyrights and signons to 2014. Added the 2014
3948 copyright to all module headers and signons, including the standard Linux
3949 header. This affects virtually every file in the ACPICA core subsystem,
3950 iASL compiler, all ACPICA utilities, and the test suites.
3951
3952 Improved parameter validation for AcpiInstallGpeBlock. Added the
3953 following checks:
3954 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
3955 2) There is not already a GPE block attached to the device.
3956 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
3957 device.
3958
3959 Correctly support "references" in the ACPI_OBJECT. This change fixes the
3960 support to allow references (namespace nodes) to be passed as arguments
3961 to control methods via the evaluate object interface. This is probably
3962 most useful for testing purposes, however.
3963
3964 Improved support for 32/64 bit physical addresses in printf()-like
3965 output. This change improves the support for physical addresses in printf
3966 debug statements and other output on both 32-bit and 64-bit hosts. It
3967 consistently outputs the appropriate number of bytes for each host. The
3968 %p specifier is unsatisfactory since it does not emit uniform output on
3969 all hosts/clib implementations (on some, leading zeros are not supported,
3970 leading to difficult-to-read output).
3971
3972 Example Code and Data Size: These are the sizes for the OS-independent
3973 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3974 debug version of the code includes the debug output trace mechanism and
3975 has a much larger code and data size.
3976
3977 Current Release:
3978 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
3979 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
3980 Previous Release:
3981 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
3982 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
3983
3984
3985 2) iASL Compiler/Disassembler and Tools:
3986
3987 iASL: Fix a possible fault when using the Connection() operator. Fixes a
3988 problem if the parent Field definition for the Connection operator refers
3989 to an operation region that does not exist. ACPICA BZ 1064.
3990
3991 AcpiExec: Load of local test tables is now optional. The utility has the
3992 capability to load some various tables to test features of ACPICA.
3993 However, there are enough of them that the output of the utility became
3994 confusing. With this change, only the required local tables are displayed
3995 (RSDP, XSDT, etc.) along with the actual tables loaded via the command
3996 line specification. This makes the default output simler and easier to
3997 understand. The -el command line option restores the original behavior
3998 for testing purposes.
3999
4000 AcpiExec: Added support for overlapping operation regions. This change
4001 expands the simulation of operation regions by supporting regions that
4002 overlap within the given address space. Supports SystemMemory and
4003 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
4004
4005 AcpiExec: Added region handler support for PCI_Config and EC spaces. This
4006 allows AcpiExec to simulate these address spaces, similar to the current
4007 support for SystemMemory and SystemIO.
4008
4009 Debugger: Added new command to read/write/compare all namespace objects.
4010 The command "test objects" will exercise the entire namespace by writing
4011 new values to each data object, and ensuring that the write was
4012 successful. The original value is then restored and verified.
4013
4014 Debugger: Added the "test predefined" command. This change makes this
4015 test public and puts it under the new "test" command. The test executes
4016 each and every predefined name within the current namespace.
4017
4018
4019 ----------------------------------------
4020 18 December 2013. Summary of changes for version 20131218:
4021
4022 Global note: The ACPI 5.0A specification was released this month. There
4023 are no changes needed for ACPICA since this release of ACPI is an
4024 errata/clarification release. The specification is available at
4025 acpi.info.
4026
4027
4028 1) ACPICA kernel-resident subsystem:
4029
4030 Added validation of the XSDT root table if it is present. Some older
4031 platforms contain an XSDT that is ill-formed or otherwise invalid (such
4032 as containing some or all entries that are NULL pointers). This change
4033 adds a new function to validate the XSDT before actually using it. If the
4034 XSDT is found to be invalid, ACPICA will now automatically fall back to
4035 using the RSDT instead. Original implementation by Zhao Yakui. Ported to
4036 ACPICA and enhanced by Lv Zheng and Bob Moore.
4037
4038 Added a runtime option to ignore the XSDT and force the use of the RSDT.
4039 This change adds a runtime option that will force ACPICA to use the RSDT
4040 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
4041 requires that an XSDT be used instead of the RSDT, the XSDT has been
4042 found to be corrupt or ill-formed on some machines. Lv Zheng.
4043
4044 Added a runtime option to favor 32-bit FADT register addresses over the
4045 64-bit addresses. This change adds an option to favor 32-bit FADT
4046 addresses when there is a conflict between the 32-bit and 64-bit versions
4047 of the same register. The default behavior is to use the 64-bit version
4048 in accordance with the ACPI specification. This can now be overridden via
4049 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
4050
4051 During the change above, the internal "Convert FADT" and "Verify FADT"
4052 functions have been merged to simplify the code, making it easier to
4053 understand and maintain. ACPICA BZ 933.
4054
4055 Improve exception reporting and handling for GPE block installation.
4056 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
4057 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
4058
4059 Added helper macros to extract bus/segment numbers from the HEST table.
4060 This change adds two macros to extract the encoded bus and segment
4061 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
4062 Betty Dall <betty.dall (a] hp.com>
4063
4064 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
4065 by ACPICA. It is not a public macro, so it should have no effect on
4066 existing OSV code. Lv Zheng.
4067
4068 Example Code and Data Size: These are the sizes for the OS-independent
4069 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4070 debug version of the code includes the debug output trace mechanism and
4071 has a much larger code and data size.
4072
4073 Current Release:
4074 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
4075 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
4076 Previous Release:
4077 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
4078 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
4079
4080
4081 2) iASL Compiler/Disassembler and Tools:
4082
4083 Disassembler: Improved pathname support for emitted External()
4084 statements. This change adds full pathname support for external names
4085 that have been resolved internally by the inclusion of additional ACPI
4086 tables (via the iASL -e option). Without this change, the disassembler
4087 can emit multiple externals for the same object, or it become confused
4088 when the Scope() operator is used on an external object. Overall, greatly
4089 improves the ability to actually recompile the emitted ASL code when
4090 objects a referenced across multiple ACPI tables. Reported by Michael
4091 Tsirkin (mst (a] redhat.com).
4092
4093 Tests/ASLTS: Updated functional control suite to execute with no errors.
4094 David Box. Fixed several errors related to the testing of the interpreter
4095 slack mode. Lv Zheng.
4096
4097 iASL: Added support to detect names that are declared within a control
4098 method, but are unused (these are temporary names that are only valid
4099 during the time the method is executing). A remark is issued for these
4100 cases. ACPICA BZ 1022.
4101
4102 iASL: Added full support for the DBG2 table. Adds full disassembler,
4103 table compiler, and template generator support for the DBG2 table (Debug
4104 Port 2 table).
4105
4106 iASL: Added full support for the PCCT table, update the table definition.
4107 Updates the PCCT table definition in the actbl3.h header and adds table
4108 compiler and template generator support.
4109
4110 iASL: Added an option to emit only error messages (no warnings/remarks).
4111 The -ve option will enable only error messages, warnings and remarks are
4112 suppressed. This can simplify debugging when only the errors are
4113 important, such as when an ACPI table is disassembled and there are many
4114 warnings and remarks -- but only the actual errors are of real interest.
4115
4116 Example ACPICA code (source/tools/examples): Updated the example code so
4117 that it builds to an actual working program, not just example code. Added
4118 ACPI tables and execution of an example control method in the DSDT. Added
4119 makefile support for Unix generation.
4120
4121
4122 ----------------------------------------
4123 15 November 2013. Summary of changes for version 20131115:
4124
4125 This release is available at https://acpica.org/downloads
4126
4127
4128 1) ACPICA kernel-resident subsystem:
4129
4130 Resource Manager: Fixed loop termination for the "get AML length"
4131 function. The loop previously had an error termination on a NULL resource
4132 pointer, which can never happen since the loop simply increments a valid
4133 resource pointer. This fix changes the loop to terminate with an error on
4134 an invalid end-of-buffer condition. The problem can be seen as an
4135 infinite loop by callers to AcpiSetCurrentResources with an invalid or
4136 corrupted resource descriptor, or a resource descriptor that is missing
4137 an END_TAG descriptor. Reported by Dan Carpenter
4138 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
4139
4140 Table unload and ACPICA termination: Delete all attached data objects
4141 during namespace node deletion. This fix updates namespace node deletion
4142 to delete the entire list of attached objects (attached via
4143 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
4144 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
4145
4146 ACPICA termination: Added support to delete all objects attached to the
4147 root namespace node. This fix deletes any and all objects that have been
4148 attached to the root node via AcpiAttachData. Previously, none of these
4149 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
4150
4151 Debug output: Do not emit the function nesting level for the in-kernel
4152 build. The nesting level is really only useful during a single-thread
4153 execution. Therefore, only enable this output for the AcpiExec utility.
4154 Also, only emit the thread ID when executing under AcpiExec (Context
4155 switches are still always detected and a message is emitted). ACPICA BZ
4156 972.
4157
4158 Example Code and Data Size: These are the sizes for the OS-independent
4159 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4160 debug version of the code includes the debug output trace mechanism and
4161 has a much larger code and data size.
4162
4163 Current Release:
4164 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
4165 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
4166 Previous Release:
4167 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
4168 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
4169
4170
4171 2) iASL Compiler/Disassembler and Tools:
4172
4173 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
4174 correct portable POSIX header for terminal control functions.
4175
4176 Disassembler: Fixed control method invocation issues related to the use
4177 of the CondRefOf() operator. The problem is seen in the disassembly where
4178 control method invocations may not be disassembled properly if the
4179 control method name has been used previously as an argument to CondRefOf.
4180 The solution is to not attempt to emit an external declaration for the
4181 CondRefOf target (it is not necessary in the first place). This prevents
4182 disassembler object type confusion. ACPICA BZ 988.
4183
4184 Unix Makefiles: Added an option to disable compiler optimizations and the
4185 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
4186 with optimizations (reportedly, gcc 4.4 for example). This change adds a
4187 command line option for make (NOOPT) that disables all compiler
4188 optimizations and the _FORTIFY_SOURCE compiler flag. The default
4189 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
4190 1034. Lv Zheng, Bob Moore.
4191
4192 Tests/ASLTS: Added options to specify individual test cases and modes.
4193 This allows testers running aslts.sh to optionally specify individual
4194 test modes and test cases. Also added an option to disable the forced
4195 generation of the ACPICA tools from source if desired. Lv Zheng.
4196
4197 ----------------------------------------
4198 27 September 2013. Summary of changes for version 20130927:
4199
4200 This release is available at https://acpica.org/downloads
4201
4202
4203 1) ACPICA kernel-resident subsystem:
4204
4205 Fixed a problem with store operations to reference objects. This change
4206 fixes a problem where a Store operation to an ArgX object that contained
4207 a
4208 reference to a field object did not complete the automatic dereference
4209 and
4210 then write to the actual field object. Instead, the object type of the
4211 field object was inadvertently changed to match the type of the source
4212 operand. The new behavior will actually write to the field object (buffer
4213 field or field unit), thus matching the correct ACPI-defined behavior.
4214
4215 Implemented support to allow the host to redefine individual OSL
4216 prototypes. This change enables the host to redefine OSL prototypes found
4217 in the acpiosxf.h file. This allows the host to implement OSL interfaces
4218 with a macro or inlined function. Further, it allows the host to add any
4219 additional required modifiers such as __iomem, __init, __exit, etc., as
4220 necessary on a per-interface basis. Enables maximum flexibility for the
4221 OSL interfaces. Lv Zheng.
4222
4223 Hardcoded the access width for the FADT-defined reset register. The ACPI
4224 specification requires the reset register width to be 8 bits. ACPICA now
4225 hardcodes the width to 8 and ignores the FADT width value. This provides
4226 compatibility with other ACPI implementations that have allowed BIOS code
4227 with bad register width values to go unnoticed. Matthew Garett, Bob
4228 Moore,
4229 Lv Zheng.
4230
4231 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
4232 used
4233 in the OSL header (acpiosxf). The change modifies the position of this
4234 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
4235 build issues if the OSL defines the implementation of the interface to be
4236 an inline stub function. Lv Zheng.
4237
4238 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
4239 initialization interfaces. This change adds a new macro for the main init
4240 and terminate external interfaces in order to support hosts that require
4241 additional or different processing for these functions. Changed from
4242 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
4243 Zheng, Bob Moore.
4244
4245 Cleaned up the memory allocation macros for configurability. In the
4246 common
4247 case, the ACPI_ALLOCATE and related macros now resolve directly to their
4248 respective AcpiOs* OSL interfaces. Two options:
4249 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
4250 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
4251 2) For AcpiExec (and for debugging), the macros can optionally be
4252 resolved
4253 to the local ACPICA interfaces that track each allocation (local tracking
4254 is used to immediately detect memory leaks).
4255 Lv Zheng.
4256
4257 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
4258 to predefine this macro to either TRUE or FALSE during the system build.
4259
4260 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
4261
4262 Example Code and Data Size: These are the sizes for the OS-independent
4263 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4264 debug version of the code includes the debug output trace mechanism and
4265 has a much larger code and data size.
4266
4267 Current Release:
4268 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
4269 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
4270 Previous Release:
4271 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
4272 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
4273
4274
4275 2) iASL Compiler/Disassembler and Tools:
4276
4277 iASL: Implemented wildcard support for the -e option. This simplifies use
4278 when there are many SSDTs that must be included to resolve external
4279 method
4280 declarations. ACPICA BZ 1041. Example:
4281 iasl -e ssdt*.dat -d dsdt.dat
4282
4283 AcpiExec: Add history/line-editing for Unix/Linux systems. This change
4284 adds a portable module that implements full history and limited line
4285 editing for Unix and Linux systems. It does not use readline() due to
4286 portability issues. Instead it uses the POSIX termio interface to put the
4287 terminal in raw input mode so that the various special keys can be
4288 trapped
4289 (such as up/down-arrow for history support and left/right-arrow for line
4290 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
4291
4292 AcpiXtract: Add support to handle (ignore) "empty" lines containing only
4293 one or more spaces. This provides compatible with early or different
4294 versions of the AcpiDump utility. ACPICA BZ 1044.
4295
4296 AcpiDump: Do not ignore tables that contain only an ACPI table header.
4297 Apparently, some BIOSs create SSDTs that contain an ACPI table header but
4298 no other data. This change adds support to dump these tables. Any tables
4299 shorter than the length of an ACPI table header remain in error (an error
4300 message is emitted). Reported by Yi Li.
4301
4302 Debugger: Echo actual command along with the "unknown command" message.
4303
4304 ----------------------------------------
4305 23 August 2013. Summary of changes for version 20130823:
4306
4307 1) ACPICA kernel-resident subsystem:
4308
4309 Implemented support for host-installed System Control Interrupt (SCI)
4310 handlers. Certain ACPI functionality requires the host to handle raw
4311 SCIs. For example, the "SCI Doorbell" that is defined for memory power
4312 state support requires the host device driver to handle SCIs to examine
4313 if the doorbell has been activated. Multiple SCI handlers can be
4314 installed to allow for future expansion. New external interfaces are
4315 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
4316 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
4317
4318 Operation region support: Never locally free the handler "context"
4319 pointer. This change removes some dangerous code that attempts to free
4320 the handler context pointer in some (rare) circumstances. The owner of
4321 the handler owns this pointer and the ACPICA code should never touch it.
4322 Although not seen to be an issue in any kernel, it did show up as a
4323 problem (fault) under AcpiExec. Also, set the internal storage field for
4324 the context pointer to zero when the region is deactivated, simply for
4325 sanity. David Box. ACPICA BZ 1039.
4326
4327 AcpiRead: On error, do not modify the return value target location. If an
4328 error happens in the middle of a split 32/32 64-bit I/O operation, do not
4329 modify the target of the return value pointer. Makes the code consistent
4330 with the rest of ACPICA. Bjorn Helgaas.
4331
4332 Example Code and Data Size: These are the sizes for the OS-independent
4333 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4334 debug version of the code includes the debug output trace mechanism and
4335 has a much larger code and data size.
4336
4337 Current Release:
4338 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
4339 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
4340 Previous Release:
4341 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
4342 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
4343
4344
4345 2) iASL Compiler/Disassembler and Tools:
4346
4347 AcpiDump: Implemented several new features and fixed some problems:
4348 1) Added support to dump the RSDP, RSDT, and XSDT tables.
4349 2) Added support for multiple table instances (SSDT, UEFI).
4350 3) Added option to dump "customized" (overridden) tables (-c).
4351 4) Fixed a problem where some table filenames were improperly
4352 constructed.
4353 5) Improved some error messages, removed some unnecessary messages.
4354
4355 iASL: Implemented additional support for disassembly of ACPI tables that
4356 contain invocations of external control methods. The -fe<file> option
4357 allows the import of a file that specifies the external methods along
4358 with the required number of arguments for each -- allowing for the
4359 correct disassembly of the table. This is a workaround for a limitation
4360 of AML code where the disassembler often cannot determine the number of
4361 arguments required for an external control method and generates incorrect
4362 ASL code. See the iASL reference for details. ACPICA BZ 1030.
4363
4364 Debugger: Implemented a new command (paths) that displays the full
4365 pathnames (namepaths) and object types of all objects in the namespace.
4366 This is an alternative to the namespace command.
4367
4368 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
4369 mechanism and any installed handlers.
4370
4371 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
4372 This can occur if there are too many parent prefixes in a namepath (for
4373 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
4374
4375 Application OSLs: Set the return value for the PCI read functions. These
4376 functions simply return AE_OK, but should set the return value to zero
4377 also. This change implements this. ACPICA BZ 1038.
4378
4379 Debugger: Prevent possible command line buffer overflow. Increase the
4380 size of a couple of the debugger line buffers, and ensure that overflow
4381 cannot happen. ACPICA BZ 1037.
4382
4383 iASL: Changed to abort immediately on serious errors during the parsing
4384 phase. Due to the nature of ASL, there is no point in attempting to
4385 compile these types of errors, and they typically end up causing a
4386 cascade of hundreds of errors which obscure the original problem.
4387
4388 ----------------------------------------
4389 25 July 2013. Summary of changes for version 20130725:
4390
4391 1) ACPICA kernel-resident subsystem:
4392
4393 Fixed a problem with the DerefOf operator where references to FieldUnits
4394 and BufferFields incorrectly returned the parent object, not the actual
4395 value of the object. After this change, a dereference of a FieldUnit
4396 reference results in a read operation on the field to get the value, and
4397 likewise, the appropriate BufferField value is extracted from the target
4398 buffer.
4399
4400 Fixed a problem where the _WAK method could cause a fault under these
4401 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
4402 method returned no value. The problem is rarely seen because most kernels
4403 run ACPICA in slack mode.
4404
4405 For the DerefOf operator, a fatal error now results if an attempt is made
4406 to dereference a reference (created by the Index operator) to a NULL
4407 package element. Provides compatibility with other ACPI implementations,
4408 and this behavior will be added to a future version of the ACPI
4409 specification.
4410
4411 The ACPI Power Management Timer (defined in the FADT) is now optional.
4412 This provides compatibility with other ACPI implementations and will
4413 appear in the next version of the ACPI specification. If there is no PM
4414 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
4415 zero in the FADT indicates no PM timer.
4416
4417 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
4418 allows the host to globally enable/disable all vendor strings, all
4419 feature strings, or both. Intended to be primarily used for debugging
4420 purposes only. Lv Zheng.
4421
4422 Expose the collected _OSI data to the host via a global variable. This
4423 data tracks the highest level vendor ID that has been invoked by the BIOS
4424 so that the host (and potentially ACPICA itself) can change behaviors
4425 based upon the age of the BIOS.
4426
4427 Example Code and Data Size: These are the sizes for the OS-independent
4428 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4429 debug version of the code includes the debug output trace mechanism and
4430 has a much larger code and data size.
4431
4432 Current Release:
4433 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
4434 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
4435 Previous Release:
4436 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
4437 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
4438
4439
4440 2) iASL Compiler/Disassembler and Tools:
4441
4442 iASL: Created the following enhancements for the -so option (create
4443 offset table):
4444 1)Add offsets for the last nameseg in each namepath for every supported
4445 object type
4446 2)Add support for Processor, Device, Thermal Zone, and Scope objects
4447 3)Add the actual AML opcode for the parent object of every supported
4448 object type
4449 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
4450
4451 Disassembler: Emit all unresolved external symbols in a single block.
4452 These are external references to control methods that could not be
4453 resolved, and thus, the disassembler had to make a guess at the number of
4454 arguments to parse.
4455
4456 iASL: The argument to the -T option (create table template) is now
4457 optional. If not specified, the default table is a DSDT, typically the
4458 most common case.
4459
4460 ----------------------------------------
4461 26 June 2013. Summary of changes for version 20130626:
4462
4463 1) ACPICA kernel-resident subsystem:
4464
4465 Fixed an issue with runtime repair of the _CST object. Null or invalid
4466 elements were not always removed properly. Lv Zheng.
4467
4468 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
4469 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
4470 the maximum number of GPEs is 1016. Use of multiple GPE block devices
4471 makes the system-wide number of GPEs essentially unlimited.
4472
4473 Example Code and Data Size: These are the sizes for the OS-independent
4474 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4475 debug version of the code includes the debug output trace mechanism and
4476 has a much larger code and data size.
4477
4478 Current Release:
4479 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
4480 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
4481 Previous Release:
4482 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
4483 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
4484
4485
4486 2) iASL Compiler/Disassembler and Tools:
4487
4488 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
4489 hosts. Now supports Linux, FreeBSD, and Windows.
4490
4491 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
4492 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
4493
4494 iASL/Preprocessor: Implemented full support for nested
4495 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
4496
4497 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
4498 max. The original purpose of this constraint was to limit the amount of
4499 debug output. However, the string function in question (UtPrintString) is
4500 now used for the disassembler also, where 256 bytes is insufficient.
4501 Reported by RehabMan@GitHub.
4502
4503 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
4504 tables. ACPICA BZ 999. Lv Zheng.
4505
4506 iASL: Fixed a couple of error exit issues that could result in a "Could
4507 not delete <file>" message during ASL compilation.
4508
4509 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
4510 the actual signatures for these tables are "FACP" and "APIC",
4511 respectively.
4512
4513 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
4514 tables are allowed to have multiple instances.
4515
4516 ----------------------------------------
4517 17 May 2013. Summary of changes for version 20130517:
4518
4519 1) ACPICA kernel-resident subsystem:
4520
4521 Fixed a regression introduced in version 20130328 for _INI methods. This
4522 change fixes a problem introduced in 20130328 where _INI methods are no
4523 longer executed properly because of a memory block that was not
4524 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
4525 <tomasz.nowicki (a] linaro.org>.
4526
4527 Fixed a possible problem with the new extended sleep registers in the
4528 ACPI
4529 5.0 FADT. Do not use these registers (even if populated) unless the HW-
4530 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
4531 1020. Lv Zheng.
4532
4533 Implemented return value repair code for _CST predefined objects: Sort
4534 the
4535 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
4536
4537 Implemented a debug-only option to disable loading of SSDTs from the
4538 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
4539 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
4540 acglobal.h - ACPICA BZ 1005. Lv Zheng.
4541
4542 Fixed some issues in the ACPICA initialization and termination code:
4543 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
4544 1) Clear events initialized flag upon event component termination. ACPICA
4545 BZ 1013.
4546 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
4547 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
4548 4) Clear debug buffer global on termination to prevent possible multiple
4549 delete. ACPICA BZ 1010.
4550
4551 Standardized all switch() blocks across the entire source base. After
4552 many
4553 years, different formatting for switch() had crept in. This change makes
4554 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
4555
4556 Split some files to enhance ACPICA modularity and configurability:
4557 1) Split buffer dump routines into utilities/utbuffer.c
4558 2) Split internal error message routines into utilities/uterror.c
4559 3) Split table print utilities into tables/tbprint.c
4560 4) Split iASL command-line option processing into asloptions.c
4561
4562 Makefile enhancements:
4563 1) Support for all new files above.
4564 2) Abort make on errors from any subcomponent. Chao Guan.
4565 3) Add build support for Apple Mac OS X. Liang Qi.
4566
4567 Example Code and Data Size: These are the sizes for the OS-independent
4568 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4569 debug version of the code includes the debug output trace mechanism and
4570 has a much larger code and data size.
4571
4572 Current Release:
4573 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
4574 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
4575 Previous Release:
4576 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
4577 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
4578
4579
4580 2) iASL Compiler/Disassembler and Tools:
4581
4582 New utility: Implemented an easily portable version of the acpidump
4583 utility to extract ACPI tables from the system (or a file) in an ASCII
4584 hex
4585 dump format. The top-level code implements the various command line
4586 options, file I/O, and table dump routines. To port to a new host, only
4587 three functions need to be implemented to get tables -- since this
4588 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
4589 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
4590 1) The Windows version obtains the ACPI tables from the Registry.
4591 2) The Linux version is under development.
4592 3) Other hosts - If an OS-dependent module is submitted, it will be
4593 distributed with ACPICA.
4594
4595 iASL: Fixed a regression for -D preprocessor option (define symbol). A
4596 restructuring/change to the initialization sequence caused this option to
4597 no longer work properly.
4598
4599 iASL: Implemented a mechanism to disable specific warnings and remarks.
4600 Adds a new command line option, "-vw <messageid> as well as "#pragma
4601 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
4602
4603 iASL: Fix for too-strict package object validation. The package object
4604 validation for return values from the predefined names is a bit too
4605 strict, it does not allow names references within the package (which will
4606 be resolved at runtime.) These types of references cannot be validated at
4607 compile time. This change ignores named references within package objects
4608 for names that return or define static packages.
4609
4610 Debugger: Fixed the 80-character command line limitation for the History
4611 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
4612
4613 iASL: Added control method and package support for the -so option
4614 (generates AML offset table for BIOS support.)
4615
4616 iASL: issue a remark if a non-serialized method creates named objects. If
4617 a thread blocks within the method for any reason, and another thread
4618 enters the method, the method will fail because an attempt will be made
4619 to
4620 create the same (named) object twice. In this case, issue a remark that
4621 the method should be marked serialized. NOTE: may become a warning later.
4622 ACPICA BZ 909.
4623
4624 ----------------------------------------
4625 18 April 2013. Summary of changes for version 20130418:
4626
4627 1) ACPICA kernel-resident subsystem:
4628
4629 Fixed a possible buffer overrun during some rare but specific field unit
4630 read operations. This overrun can only happen if the DSDT version is 1 --
4631 meaning that all AML integers are 32 bits -- and the field length is
4632 between 33 and 55 bits long. During the read, an internal buffer object
4633 is
4634 created for the field unit because the field is larger than an integer
4635 (32
4636 bits). However, in this case, the buffer will be incorrectly written
4637 beyond the end because the buffer length is less than the internal
4638 minimum
4639 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
4640 long, but a full 8 bytes will be written.
4641
4642 Updated the Embedded Controller "orphan" _REG method support. This refers
4643 to _REG methods under the EC device that have no corresponding operation
4644 region. This is allowed by the ACPI specification. This update removes a
4645 dependency on the existence an ECDT table. It will execute an orphan _REG
4646 method as long as the operation region handler for the EC is installed at
4647 the EC device node and not the namespace root. Rui Zhang (original
4648 update), Bob Moore (update/integrate).
4649
4650 Implemented run-time argument typechecking for all predefined ACPI names
4651 (_STA, _BIF, etc.) This change performs object typechecking on all
4652 incoming arguments for all predefined names executed via
4653 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
4654 passing correct object types as well as the correct number of arguments
4655 (therefore identifying any issues immediately). Also, the ASL/namespace
4656 definition of the predefined name is checked against the ACPI
4657 specification for the proper argument count. Adds one new file,
4658 nsarguments.c
4659
4660 Changed an exception code for the ASL UnLoad() operator. Changed the
4661 exception code for the case where the input DdbHandle is invalid, from
4662 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
4663
4664 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
4665 global makefile. The use of this flag causes compiler errors on earlier
4666 versions of GCC, so it has been removed for compatibility.
4667
4668 Miscellaneous cleanup:
4669 1) Removed some unused/obsolete macros
4670 2) Fixed a possible memory leak in the _OSI support
4671 3) Removed an unused variable in the predefined name support
4672 4) Windows OSL: remove obsolete reference to a memory list field
4673
4674 Example Code and Data Size: These are the sizes for the OS-independent
4675 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4676 debug version of the code includes the debug output trace mechanism and
4677 has a much larger code and data size.
4678
4679 Current Release:
4680 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
4681 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
4682 Previous Release:
4683 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
4684 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
4685
4686
4687 2) iASL Compiler/Disassembler and Tools:
4688
4689 AcpiExec: Added installation of a handler for the SystemCMOS address
4690 space. This prevents control method abort if a method accesses this
4691 space.
4692
4693 AcpiExec: Added support for multiple EC devices, and now install EC
4694 operation region handler(s) at the actual EC device instead of the
4695 namespace root. This reflects the typical behavior of host operating
4696 systems.
4697
4698 AcpiExec: Updated to ensure that all operation region handlers are
4699 installed before the _REG methods are executed. This prevents a _REG
4700 method from aborting if it accesses an address space has no handler.
4701 AcpiExec installs a handler for every possible address space.
4702
4703 Debugger: Enhanced the "handlers" command to display non-root handlers.
4704 This change enhances the handlers command to display handlers associated
4705 with individual devices throughout the namespace, in addition to the
4706 currently supported display of handlers associated with the root
4707 namespace
4708 node.
4709
4710 ASL Test Suite: Several test suite errors have been identified and
4711 resolved, reducing the total error count during execution. Chao Guan.
4712
4713 ----------------------------------------
4714 28 March 2013. Summary of changes for version 20130328:
4715
4716 1) ACPICA kernel-resident subsystem:
4717
4718 Fixed several possible race conditions with the internal object reference
4719 counting mechanism. Some of the external ACPICA interfaces update object
4720 reference counts without holding the interpreter or namespace lock. This
4721 change adds a spinlock to protect reference count updates on the internal
4722 ACPICA objects. Reported by and with assistance from Andriy Gapon
4723 (avg (a] FreeBSD.org).
4724
4725 FADT support: Removed an extraneous warning for very large GPE register
4726 sets. This change removes a size mismatch warning if the legacy length
4727 field for a GPE register set is larger than the 64-bit GAS structure can
4728 accommodate. GPE register sets can be larger than the 255-bit width
4729 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
4730
4731 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
4732 return from this interface. Handles a possible timeout case if
4733 ACPI_WAIT_FOREVER is modified by the host to be a value less than
4734 "forever". Jung-uk Kim.
4735
4736 Predefined name support: Add allowed/required argument type information
4737 to
4738 the master predefined info table. This change adds the infrastructure to
4739 enable typechecking on incoming arguments for all predefined
4740 methods/objects. It does not actually contain the code that will fully
4741 utilize this information, this is still under development. Also condenses
4742 some duplicate code for the predefined names into a new module,
4743 utilities/utpredef.c
4744
4745 Example Code and Data Size: These are the sizes for the OS-independent
4746 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4747 debug version of the code includes the debug output trace mechanism and
4748 has a much larger code and data size.
4749
4750 Previous Release:
4751 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
4752 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
4753 Current Release:
4754 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
4755 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
4756
4757
4758 2) iASL Compiler/Disassembler and Tools:
4759
4760 iASL: Implemented a new option to simplify the development of ACPI-
4761 related
4762 BIOS code. Adds support for a new "offset table" output file. The -so
4763 option will create a C table containing the AML table offsets of various
4764 named objects in the namespace so that BIOS code can modify them easily
4765 at
4766 boot time. This can simplify BIOS runtime code by eliminating expensive
4767 searches for "magic values", enhancing boot times and adding greater
4768 reliability. With assistance from Lee Hamel.
4769
4770 iASL: Allow additional predefined names to return zero-length packages.
4771 Now, all predefined names that are defined by the ACPI specification to
4772 return a "variable-length package of packages" are allowed to return a
4773 zero length top-level package. This allows the BIOS to tell the host that
4774 the requested feature is not supported, and supports existing BIOS/ASL
4775 code and practices.
4776
4777 iASL: Changed the "result not used" warning to an error. This is the case
4778 where an ASL operator is effectively a NOOP because the result of the
4779 operation is not stored anywhere. For example:
4780 Add (4, Local0)
4781 There is no target (missing 3rd argument), nor is the function return
4782 value used. This is potentially a very serious problem -- since the code
4783 was probably intended to do something, but for whatever reason, the value
4784 was not stored. Therefore, this issue has been upgraded from a warning to
4785 an error.
4786
4787 AcpiHelp: Added allowable/required argument types to the predefined names
4788 info display. This feature utilizes the recent update to the predefined
4789 names table (above).
4790
4791 ----------------------------------------
4792 14 February 2013. Summary of changes for version 20130214:
4793
4794 1) ACPICA Kernel-resident Subsystem:
4795
4796 Fixed a possible regression on some hosts: Reinstated the safe return
4797 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
4798 evaluated only once. Although these macros are not needed for the ACPICA
4799 code itself, they are often used by ACPI-related host device drivers
4800 where
4801 the safe feature may be necessary.
4802
4803 Fixed several issues related to the ACPI 5.0 reduced hardware support
4804 (SOC): Now ensure that if the platform declares itself as hardware-
4805 reduced
4806 via the FADT, the following functions become NOOPs (and always return
4807 AE_OK) because ACPI is always enabled by definition on these machines:
4808 AcpiEnable
4809 AcpiDisable
4810 AcpiHwGetMode
4811 AcpiHwSetMode
4812
4813 Dynamic Object Repair: Implemented additional runtime repairs for
4814 predefined name return values. Both of these repairs can simplify code in
4815 the related device drivers that invoke these methods:
4816 1) For the _STR and _MLS names, automatically repair/convert an ASCII
4817 string to a Unicode buffer.
4818 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
4819 a
4820 lone end tag descriptor in the following cases: A Return(0) was executed,
4821 a null buffer was returned, or no object at all was returned (non-slack
4822 mode only). Adds a new file, nsconvert.c
4823 ACPICA BZ 998. Bob Moore, Lv Zheng.
4824
4825 Resource Manager: Added additional code to prevent possible infinite
4826 loops
4827 while traversing corrupted or ill-formed resource template buffers. Check
4828 for zero-length resource descriptors in all code that loops through
4829 resource templates (the length field is used to index through the
4830 template). This change also hardens the external AcpiWalkResources and
4831 AcpiWalkResourceBuffer interfaces.
4832
4833 Local Cache Manager: Enhanced the main data structure to eliminate an
4834 unnecessary mechanism to access the next object in the list. Actually
4835 provides a small performance enhancement for hosts that use the local
4836 ACPICA cache manager. Jung-uk Kim.
4837
4838 Example Code and Data Size: These are the sizes for the OS-independent
4839 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4840 debug version of the code includes the debug output trace mechanism and
4841 has a much larger code and data size.
4842
4843 Previous Release:
4844 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
4845 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
4846 Current Release:
4847 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
4848 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
4849
4850
4851 2) iASL Compiler/Disassembler and Tools:
4852
4853 iASL/Disassembler: Fixed several issues with the definition of the ACPI
4854 5.0 RASF table (RAS Feature Table). This change incorporates late changes
4855 that were made to the ACPI 5.0 specification.
4856
4857 iASL/Disassembler: Added full support for the following new ACPI tables:
4858 1) The MTMR table (MID Timer Table)
4859 2) The VRTC table (Virtual Real Time Clock Table).
4860 Includes header file, disassembler, table compiler, and template support
4861 for both tables.
4862
4863 iASL: Implemented compile-time validation of package objects returned by
4864 predefined names. This new feature validates static package objects
4865 returned by the various predefined names defined to return packages. Both
4866 object types and package lengths are validated, for both parent packages
4867 and sub-packages, if any. The code is similar in structure and behavior
4868 to
4869 the runtime repair mechanism within the AML interpreter and uses the
4870 existing predefined name information table. Adds a new file, aslprepkg.c.
4871 ACPICA BZ 938.
4872
4873 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
4874 This feature detects a binary file with a valid ACPI table header and
4875 invokes the disassembler automatically. Eliminates the need to
4876 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
4877
4878 iASL/Disassembler: Added several warnings for the case where there are
4879 unresolved control methods during the disassembly. This can potentially
4880 cause errors when the output file is compiled, because the disassembler
4881 assumes zero method arguments in these cases (it cannot determine the
4882 actual number of arguments without resolution/definition of the method).
4883
4884 Debugger: Added support to display all resources with a single command.
4885 Invocation of the resources command with no arguments will now display
4886 all
4887 resources within the current namespace.
4888
4889 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
4890 via the -e option.
4891
4892 ----------------------------------------
4893 17 January 2013. Summary of changes for version 20130117:
4894
4895 1) ACPICA Kernel-resident Subsystem:
4896
4897 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
4898 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
4899 objects to return a package containing one integer, most BIOS code
4900 returns
4901 two integers and the previous code reflects that. However, we also need
4902 to
4903 support BIOS code that actually implements to the ACPI spec, and this
4904 change reflects this.
4905
4906 Fixed two issues with the ACPI_DEBUG_PRINT macros:
4907 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
4908 C compilers that require this support.
4909 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
4910 ACPI_DEBUG is already used by many of the various hosts.
4911
4912 Updated all ACPICA copyrights and signons to 2013. Added the 2013
4913 copyright to all module headers and signons, including the standard Linux
4914 header. This affects virtually every file in the ACPICA core subsystem,
4915 iASL compiler, all ACPICA utilities, and the test suites.
4916
4917 Example Code and Data Size: These are the sizes for the OS-independent
4918 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4919 debug version of the code includes the debug output trace mechanism and
4920 has a much larger code and data size.
4921
4922 Previous Release:
4923 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
4924 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
4925 Current Release:
4926 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
4927 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
4928
4929
4930 2) iASL Compiler/Disassembler and Tools:
4931
4932 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
4933 prevent a possible fault on some hosts. Some C libraries modify the arg
4934 pointer parameter to vfprintf making it difficult to call it twice in the
4935 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
4936 does not affect the Windows OSL since the Win C library does not modify
4937 the arg pointer. Chao Guan, Bob Moore.
4938
4939 iASL: Fixed a possible infinite loop when the maximum error count is
4940 reached. If an output file other than the .AML file is specified (such as
4941 a listing file), and the maximum number of errors is reached, do not
4942 attempt to flush data to the output file(s) as the compiler is aborting.
4943 This can cause an infinite loop as the max error count code essentially
4944 keeps calling itself.
4945
4946 iASL/Disassembler: Added an option (-in) to ignore NOOP
4947 opcodes/operators.
4948 Implemented for both the compiler and the disassembler. Often, the NOOP
4949 opcode is used as padding for packages that are changed dynamically by
4950 the
4951 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
4952 errors. This option causes the disassembler to ignore all NOOP opcodes
4953 (0xA3), and it also causes the compiler to ignore all ASL source code
4954 NOOP
4955 statements as well.
4956
4957 Debugger: Enhanced the Sleep command to execute all sleep states. This
4958 change allows Sleep to be invoked with no arguments and causes the
4959 debugger to execute all of the sleep states, 0-5, automatically.
4960
4961 ----------------------------------------
4962 20 December 2012. Summary of changes for version 20121220:
4963
4964 1) ACPICA Kernel-resident Subsystem:
4965
4966 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
4967 alternate entry point for AcpiWalkResources and improves the usability of
4968 the resource manager by accepting as input a buffer containing the output
4969 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
4970 input buffer is not deleted by this interface so that it can be used by
4971 the host later. See the ACPICA reference for details.
4972
4973 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
4974 (DSDT version < 2). The constant will be truncated and this warning
4975 reflects that behavior.
4976
4977 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
4978 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
4979 both get and set the new wake bit in these descriptors, separately from
4980 the existing share bit. Reported by Aaron Lu.
4981
4982 Interpreter: Fix Store() when an implicit conversion is not possible. For
4983 example, in the cases such as a store of a string to an existing package
4984 object, implement the store as a CopyObject(). This is a small departure
4985 from the ACPI specification which states that the control method should
4986 be
4987 aborted in this case. However, the ASLTS suite depends on this behavior.
4988
4989 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
4990 macros: check if debug output is currently enabled as soon as possible to
4991 minimize performance impact if debug is in fact not enabled.
4992
4993 Source code restructuring: Cleanup to improve modularity. The following
4994 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
4995 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
4996 Associated makefiles and project files have been updated.
4997
4998 Changed an exception code for LoadTable operator. For the case where one
4999 of the input strings is too long, change the returned exception code from
5000 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
5001
5002 Fixed a possible memory leak in dispatcher error path. On error, delete
5003 the mutex object created during method mutex creation. Reported by
5004 tim.gardner (a] canonical.com.
5005
5006 Example Code and Data Size: These are the sizes for the OS-independent
5007 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5008 debug version of the code includes the debug output trace mechanism and
5009 has a much larger code and data size.
5010
5011 Previous Release:
5012 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
5013 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
5014 Current Release:
5015 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
5016 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
5017
5018
5019 2) iASL Compiler/Disassembler and Tools:
5020
5021 iASL: Disallow a method call as argument to the ObjectType ASL operator.
5022 This change tracks an errata to the ACPI 5.0 document. The AML grammar
5023 will not allow the interpreter to differentiate between a method and a
5024 method invocation when these are used as an argument to the ObjectType
5025 operator. The ACPI specification change is to disallow a method
5026 invocation
5027 (UserTerm) for the ObjectType operator.
5028
5029 Finish support for the TPM2 and CSRT tables in the headers, table
5030 compiler, and disassembler.
5031
5032 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
5033 always expires immediately if the semaphore is not available. The
5034 original
5035 code was using a relative-time timeout, but sem_timedwait requires the
5036 use
5037 of an absolute time.
5038
5039 iASL: Added a remark if the Timer() operator is used within a 32-bit
5040 table. This operator returns a 64-bit time value that will be truncated
5041 within a 32-bit table.
5042
5043 iASL Source code restructuring: Cleanup to improve modularity. The
5044 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
5045 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
5046 been updated.
5047
5048
5049 ----------------------------------------
5050 14 November 2012. Summary of changes for version 20121114:
5051
5052 1) ACPICA Kernel-resident Subsystem:
5053
5054 Implemented a performance enhancement for ACPI/AML Package objects. This
5055 change greatly increases the performance of Package objects within the
5056 interpreter. It changes the processing of reference counts for packages
5057 by
5058 optimizing for the most common case where the package sub-objects are
5059 either Integers, Strings, or Buffers. Increases the overall performance
5060 of
5061 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
5062 2X.)
5063 Chao Guan. ACPICA BZ 943.
5064
5065 Implemented and deployed common macros to extract flag bits from resource
5066 descriptors. Improves readability and maintainability of the code. Fixes
5067 a
5068 problem with the UART serial bus descriptor for the number of data bits
5069 flags (was incorrectly 2 bits, should be 3).
5070
5071 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
5072 of the macros and changed the SETx macros to the style of (destination,
5073 source). Also added ACPI_CASTx companion macros. Lv Zheng.
5074
5075 Example Code and Data Size: These are the sizes for the OS-independent
5076 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5077 debug version of the code includes the debug output trace mechanism and
5078 has a much larger code and data size.
5079
5080 Previous Release:
5081 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
5082 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
5083 Current Release:
5084 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
5085 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
5086
5087
5088 2) iASL Compiler/Disassembler and Tools:
5089
5090 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
5091 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
5092 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
5093
5094 Disassembler: Fixed a problem with external declaration generation. Fixes
5095 a problem where an incorrect pathname could be generated for an external
5096 declaration if the original reference to the object includes leading
5097 carats (^). ACPICA BZ 984.
5098
5099 Debugger: Completed a major update for the Disassemble<method> command.
5100 This command was out-of-date and did not properly disassemble control
5101 methods that had any reasonable complexity. This fix brings the command
5102 up
5103 to the same level as the rest of the disassembler. Adds one new file,
5104 dmdeferred.c, which is existing code that is now common with the main
5105 disassembler and the debugger disassemble command. ACPICA MZ 978.
5106
5107 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
5108 Newer versions of Bison emit this prototype, so moved the prototype out
5109 of
5110 the iASL header to where it is actually used in order to avoid a
5111 duplicate
5112 declaration.
5113
5114 iASL/Tools: Standardized use of the stream I/O functions:
5115 1) Ensure check for I/O error after every fopen/fread/fwrite
5116 2) Ensure proper order of size/count arguments for fread/fwrite
5117 3) Use test of (Actual != Requested) after all fwrite, and most fread
5118 4) Standardize I/O error messages
5119 Improves reliability and maintainability of the code. Bob Moore, Lv
5120 Zheng.
5121 ACPICA BZ 981.
5122
5123 Disassembler: Prevent duplicate External() statements. During generation
5124 of external statements, detect similar pathnames that are actually
5125 duplicates such as these:
5126 External (\ABCD)
5127 External (ABCD)
5128 Remove all leading '\' characters from pathnames during the external
5129 statement generation so that duplicates will be detected and tossed.
5130 ACPICA BZ 985.
5131
5132 Tools: Replace low-level I/O with stream I/O functions. Replace
5133 open/read/write/close with the stream I/O equivalents
5134 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
5135 Moore.
5136
5137 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
5138 name header so that AcpiXtract recognizes the output file/table.
5139
5140 iASL: Remove obsolete -2 option flag. Originally intended to force the
5141 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
5142 and the entire concept is now obsolete.
5143
5144 ----------------------------------------
5145 18 October 2012. Summary of changes for version 20121018:
5146
5147
5148 1) ACPICA Kernel-resident Subsystem:
5149
5150 Updated support for the ACPI 5.0 MPST table. Fixes some problems
5151 introduced by late changes to the table as it was added to the ACPI 5.0
5152 specification. Includes header, disassembler, and data table compiler
5153 support as well as a new version of the MPST template.
5154
5155 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
5156 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
5157 methods: _HID, _CID, and _UID.
5158
5159 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
5160 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
5161 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
5162 names for their various drivers. Affects the AcpiGetObjectInfo external
5163 interface, and other internal interfaces as well.
5164
5165 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
5166 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
5167 on machines that support non-aligned transfers. Optimizes for this case
5168 rather than using a strncpy. With assistance from Zheng Lv.
5169
5170 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
5171 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
5172
5173 Added a new debug print message for AML mutex objects that are force-
5174 released. At control method termination, any currently acquired mutex
5175 objects are force-released. Adds a new debug-only message for each one
5176 that is released.
5177
5178 Audited/updated all ACPICA return macros and the function debug depth
5179 counter: 1) Ensure that all functions that use the various TRACE macros
5180 also use the appropriate ACPICA return macros. 2) Ensure that all normal
5181 return statements surround the return expression (value) with parens to
5182 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
5183 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
5184
5185 Global source code changes/maintenance: All extra lines at the start and
5186 end of each source file have been removed for consistency. Also, within
5187 comments, all new sentences start with a single space instead of a double
5188 space, again for consistency across the code base.
5189
5190 Example Code and Data Size: These are the sizes for the OS-independent
5191 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5192 debug version of the code includes the debug output trace mechanism and
5193 has a much larger code and data size.
5194
5195 Previous Release:
5196 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
5197 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
5198 Current Release:
5199 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
5200 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
5201
5202
5203 2) iASL Compiler/Disassembler and Tools:
5204
5205 AcpiExec: Improved the algorithm used for memory leak/corruption
5206 detection. Added some intelligence to the code that maintains the global
5207 list of allocated memory. The list is now ordered by allocated memory
5208 address, significantly improving performance. When running AcpiExec on
5209 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
5210 on the platform and/or the environment. Note, this performance
5211 enhancement affects the AcpiExec utility only, not the kernel-resident
5212 ACPICA code.
5213
5214 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
5215 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
5216 incorrect table offset reported for invalid opcodes. Report the original
5217 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
5218
5219 Disassembler: Enhanced the -vt option to emit the binary table data in
5220 hex format to assist with debugging.
5221
5222 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
5223 size of file structure. Colin Ian King.
5224
5225 ----------------------------------------
5226 13 September 2012. Summary of changes for version 20120913:
5227
5228
5229 1) ACPICA Kernel-resident Subsystem:
5230
5231 ACPI 5.0: Added two new notify types for the Hardware Error Notification
5232 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
5233 and
5234 MCE(6).
5235
5236 Table Manager: Merged/removed duplicate code in the root table resize
5237 functions. One function is external, the other is internal. Lv Zheng,
5238 ACPICA
5239 BZ 846.
5240
5241 Makefiles: Completely removed the obsolete "Linux" makefiles under
5242 acpica/generate/linux. These makefiles are obsolete and have been
5243 replaced
5244 by
5245 the generic unix makefiles under acpica/generate/unix.
5246
5247 Makefiles: Ensure that binary files always copied properly. Minor rule
5248 change
5249 to ensure that the final binary output files are always copied up to the
5250 appropriate binary directory (bin32 or bin64.)
5251
5252 Example Code and Data Size: These are the sizes for the OS-independent
5253 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5254 debug
5255 version of the code includes the debug output trace mechanism and has a
5256 much
5257 larger code and data size.
5258
5259 Previous Release:
5260 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
5261 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
5262 Current Release:
5263 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
5264 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
5265
5266
5267 2) iASL Compiler/Disassembler and Tools:
5268
5269 Disassembler: Fixed a possible fault during the disassembly of resource
5270 descriptors when a second parse is required because of the invocation of
5271 external control methods within the table. With assistance from
5272 adq (a] lidskialf.net. ACPICA BZ 976.
5273
5274 iASL: Fixed a namepath optimization problem. An error can occur if the
5275 parse
5276 node that contains the namepath to be optimized does not have a parent
5277 node
5278 that is a named object. This change fixes the problem.
5279
5280 iASL: Fixed a regression where the AML file is not deleted on errors. The
5281 AML
5282 output file should be deleted if there are any errors during the
5283 compiler.
5284 The
5285 only exception is if the -f (force output) option is used. ACPICA BZ 974.
5286
5287 iASL: Added a feature to automatically increase internal line buffer
5288 sizes.
5289 Via realloc(), automatically increase the internal line buffer sizes as
5290 necessary to support very long source code lines. The current version of
5291 the
5292 preprocessor requires a buffer long enough to contain full source code
5293 lines.
5294 This change increases the line buffer(s) if the input lines go beyond the
5295 current buffer size. This eliminates errors that occurred when a source
5296 code
5297 line was longer than the buffer.
5298
5299 iASL: Fixed a problem with constant folding in method declarations. The
5300 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
5301 if a
5302 Type3 opcode was used.
5303
5304 Debugger: Improved command help support. For incorrect argument count,
5305 display
5306 full help for the command. For help command itself, allow an argument to
5307 specify a command.
5308
5309 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
5310 errors during execution of the suite. Guan Chao.
5311
5312 ----------------------------------------
5313 16 August 2012. Summary of changes for version 20120816:
5314
5315
5316 1) ACPICA Kernel-resident Subsystem:
5317
5318 Removed all use of the deprecated _GTS and _BFS predefined methods. The
5319 _GTS
5320 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
5321 deprecated and will probably be removed from the ACPI specification.
5322 Windows
5323 does not invoke them, and reportedly never will. The final nail in the
5324 coffin
5325 is that the ACPI specification states that these methods must be run with
5326 interrupts off, which is not going to happen in a kernel interpreter.
5327 Note:
5328 Linux has removed all use of the methods also. It was discovered that
5329 invoking these functions caused failures on some machines, probably
5330 because
5331 they were never tested since Windows does not call them. Affects two
5332 external
5333 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
5334 ACPICA BZ 969.
5335
5336 Implemented support for complex bit-packed buffers returned from the _PLD
5337 (Physical Location of Device) predefined method. Adds a new external
5338 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
5339 C
5340 structure. Note: C Bitfields cannot be used for this type of predefined
5341 structure since the memory layout of individual bitfields is not defined
5342 by
5343 the C language. In addition, there are endian concerns where a compiler
5344 will
5345 change the bitfield ordering based on the machine type. The new ACPICA
5346 interface eliminates these issues, and should be called after _PLD is
5347 executed. ACPICA BZ 954.
5348
5349 Implemented a change to allow a scope change to root (via "Scope (\)")
5350 during
5351 execution of module-level ASL code (code that is executed at table load
5352 time.) Lin Ming.
5353
5354 Added the Windows8/Server2012 string for the _OSI method. This change
5355 adds
5356 a
5357 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
5358 2012.
5359
5360 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
5361 2)
5362 and CSRT (Core System Resource Table).
5363
5364 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
5365 names. This simplifies access to the buffers returned by these predefined
5366 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
5367
5368 GPE support: Removed an extraneous parameter from the various low-level
5369 internal GPE functions. Tang Feng.
5370
5371 Removed the linux makefiles from the unix packages. The generate/linux
5372 makefiles are obsolete and have been removed from the unix tarball
5373 release
5374 packages. The replacement makefiles are under generate/unix, and there is
5375 a
5376 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
5377
5378 Updates for Unix makefiles:
5379 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
5380 2) Update linker flags (move to end of command line) for AcpiExec
5381 utility.
5382 Guan Chao.
5383
5384 Split ACPICA initialization functions to new file, utxfinit.c. Split from
5385 utxface.c to improve modularity and reduce file size.
5386
5387 Example Code and Data Size: These are the sizes for the OS-independent
5388 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5389 debug version of the code includes the debug output trace mechanism and
5390 has a
5391 much larger code and data size.
5392
5393 Previous Release:
5394 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
5395 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
5396 Current Release:
5397 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
5398 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
5399
5400
5401 2) iASL Compiler/Disassembler and Tools:
5402
5403 iASL: Fixed a problem with constant folding for fixed-length constant
5404 expressions. The constant-folding code was not being invoked for constant
5405 expressions that allow the use of type 3/4/5 opcodes to generate
5406 constants
5407 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
5408 result
5409 in the generation of invalid AML bytecode. ACPICA BZ 970.
5410
5411 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
5412 apparently automatically emit some of the necessary externals. This
5413 change
5414 handles these versions in order to eliminate generation warnings.
5415
5416 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
5417
5418 Disassembler: Add support to decode _PLD buffers. The decoded buffer
5419 appears
5420 within comments in the output file.
5421
5422 Debugger: Fixed a regression with the "Threads" command where
5423 AE_BAD_PARAMETER was always returned.
5424
5425 ----------------------------------------
5426 11 July 2012. Summary of changes for version 20120711:
5427
5428 1) ACPICA Kernel-resident Subsystem:
5429
5430 Fixed a possible fault in the return package object repair code. Fixes a
5431 problem that can occur when a lone package object is wrapped with an
5432 outer
5433 package object in order to force conformance to the ACPI specification.
5434 Can
5435 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
5436 _DLM,
5437 _CSD, _PSD, _TSD.
5438
5439 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
5440 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
5441 ARB_DIS bit must be implemented in the host-dependent C3 processor power
5442 state
5443 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
5444 both
5445 Intel and other vendors. (for Intel: ICH4-M and earlier)
5446
5447 This change removes the code to disable/enable bus master arbitration
5448 during
5449 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
5450 causes
5451 resume problems on some machines. The change has been in use for over
5452 seven
5453 years within Linux.
5454
5455 Implemented two new external interfaces to support host-directed dynamic
5456 ACPI
5457 table load and unload. They are intended to simplify the host
5458 implementation
5459 of hot-plug support:
5460 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
5461 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
5462 table.
5463 See the ACPICA reference for additional details. Adds one new file,
5464 components/tables/tbxfload.c
5465
5466 Implemented and deployed two new interfaces for errors and warnings that
5467 are
5468 known to be caused by BIOS/firmware issues:
5469 AcpiBiosError: Prints "ACPI Firmware Error" message.
5470 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
5471 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
5472 table
5473 and FADT errors. Additional deployment to be completed as appropriate in
5474 the
5475 future. The associated conditional macros are ACPI_BIOS_ERROR and
5476 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
5477 ACPICA
5478 BZ
5479 843.
5480
5481 Implicit notify support: ensure that no memory allocation occurs within a
5482 critical region. This fix moves a memory allocation outside of the time
5483 that a
5484 spinlock is held. Fixes issues on systems that do not allow this
5485 behavior.
5486 Jung-uk Kim.
5487
5488 Split exception code utilities and tables into a new file,
5489 utilities/utexcep.c
5490
5491 Example Code and Data Size: These are the sizes for the OS-independent
5492 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5493 debug
5494 version of the code includes the debug output trace mechanism and has a
5495 much
5496 larger code and data size.
5497
5498 Previous Release:
5499 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
5500 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
5501 Current Release:
5502 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
5503 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
5504
5505
5506 2) iASL Compiler/Disassembler and Tools:
5507
5508 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
5509 of
5510 0. Jung-uk Kim.
5511
5512 Debugger: Enhanced the "tables" command to emit additional information
5513 about
5514 the current set of ACPI tables, including the owner ID and flags decode.
5515
5516 Debugger: Reimplemented the "unload" command to use the new
5517 AcpiUnloadParentTable external interface. This command was disable
5518 previously
5519 due to need for an unload interface.
5520
5521 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
5522 option
5523 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
5524
5525 ----------------------------------------
5526 20 June 2012. Summary of changes for version 20120620:
5527
5528
5529 1) ACPICA Kernel-resident Subsystem:
5530
5531 Implemented support to expand the "implicit notify" feature to allow
5532 multiple
5533 devices to be notified by a single GPE. This feature automatically
5534 generates a
5535 runtime device notification in the absence of a BIOS-provided GPE control
5536 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
5537 notify is
5538 provided by ACPICA for Windows compatibility, and is a workaround for
5539 BIOS
5540 AML
5541 code errors. See the description of the AcpiSetupGpeForWake interface in
5542 the
5543 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
5544
5545 Changed some comments and internal function names to simplify and ensure
5546 correctness of the Linux code translation. No functional changes.
5547
5548 Example Code and Data Size: These are the sizes for the OS-independent
5549 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5550 debug
5551 version of the code includes the debug output trace mechanism and has a
5552 much
5553 larger code and data size.
5554
5555 Previous Release:
5556 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
5557 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
5558 Current Release:
5559 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
5560 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
5561
5562
5563 2) iASL Compiler/Disassembler and Tools:
5564
5565 Disassembler: Added support to emit short, commented descriptions for the
5566 ACPI
5567 predefined names in order to improve the readability of the disassembled
5568 output. ACPICA BZ 959. Changes include:
5569 1) Emit descriptions for all standard predefined names (_INI, _STA,
5570 _PRW,
5571 etc.)
5572 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
5573 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
5574 etc.)
5575
5576 AcpiSrc: Fixed several long-standing Linux code translation issues.
5577 Argument
5578 descriptions in function headers are now translated properly to lower
5579 case
5580 and
5581 underscores. ACPICA BZ 961. Also fixes translation problems such as
5582 these:
5583 (old -> new)
5584 i_aSL -> iASL
5585 00-7_f -> 00-7F
5586 16_k -> 16K
5587 local_fADT -> local_FADT
5588 execute_oSI -> execute_OSI
5589
5590 iASL: Fixed a problem where null bytes were inadvertently emitted into
5591 some
5592 listing files.
5593
5594 iASL: Added the existing debug options to the standard help screen. There
5595 are
5596 no longer two different help screens. ACPICA BZ 957.
5597
5598 AcpiHelp: Fixed some typos in the various predefined name descriptions.
5599 Also
5600 expand some of the descriptions where appropriate.
5601
5602 iASL: Fixed the -ot option (display compile times/statistics). Was not
5603 working
5604 properly for standard output; only worked for the debug file case.
5605
5606 ----------------------------------------
5607 18 May 2012. Summary of changes for version 20120518:
5608
5609
5610 1) ACPICA Core Subsystem:
5611
5612 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
5613 defined
5614 to block until asynchronous events such as notifies and GPEs have
5615 completed.
5616 Within ACPICA, it is only called before a notify or GPE handler is
5617 removed/uninstalled. It also may be useful for the host OS within related
5618 drivers such as the Embedded Controller driver. See the ACPICA reference
5619 for
5620 additional information. ACPICA BZ 868.
5621
5622 ACPI Tables: Added a new error message for a possible overflow failure
5623 during
5624 the conversion of FADT 32-bit legacy register addresses to internal
5625 common
5626 64-
5627 bit GAS structure representation. The GAS has a one-byte "bit length"
5628 field,
5629 thus limiting the register length to 255 bits. ACPICA BZ 953.
5630
5631 Example Code and Data Size: These are the sizes for the OS-independent
5632 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5633 debug
5634 version of the code includes the debug output trace mechanism and has a
5635 much
5636 larger code and data size.
5637
5638 Previous Release:
5639 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
5640 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
5641 Current Release:
5642 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
5643 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
5644
5645
5646 2) iASL Compiler/Disassembler and Tools:
5647
5648 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
5649 macro.
5650 This keyword was added late in the ACPI 5.0 release cycle and was not
5651 implemented until now.
5652
5653 Disassembler: Added support for Operation Region externals. Adds missing
5654 support for operation regions that are defined in another table, and
5655 referenced locally via a Field or BankField ASL operator. Now generates
5656 the
5657 correct External statement.
5658
5659 Disassembler: Several additional fixes for the External() statement
5660 generation
5661 related to some ASL operators. Also, order the External() statements
5662 alphabetically in the disassembler output. Fixes the External()
5663 generation
5664 for
5665 the Create* field, Alias, and Scope operators:
5666 1) Create* buffer field operators - fix type mismatch warning on
5667 disassembly
5668 2) Alias - implement missing External support
5669 3) Scope - fix to make sure all necessary externals are emitted.
5670
5671 iASL: Improved pathname support. For include files, merge the prefix
5672 pathname
5673 with the file pathname and eliminate unnecessary components. Convert
5674 backslashes in all pathnames to forward slashes, for readability. Include
5675 file
5676 pathname changes affect both #include and Include() type operators.
5677
5678 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
5679 end
5680 of a valid line by inserting a newline and then returning the EOF during
5681 the
5682 next call to GetNextLine. Prevents the line from being ignored due to EOF
5683 condition.
5684
5685 iASL: Implemented some changes to enhance the IDE support (-vi option.)
5686 Error
5687 and Warning messages are now correctly recognized for both the source
5688 code
5689 browser and the global error and warning counts.
5690
5691 ----------------------------------------
5692 20 April 2012. Summary of changes for version 20120420:
5693
5694
5695 1) ACPICA Core Subsystem:
5696
5697 Implemented support for multiple notify handlers. This change adds
5698 support
5699 to
5700 allow multiple system and device notify handlers on Device, Thermal Zone,
5701 and
5702 Processor objects. This can simplify the host OS notification
5703 implementation.
5704 Also re-worked and restructured the entire notify support code to
5705 simplify
5706 handler installation, handler removal, notify event queuing, and notify
5707 dispatch to handler(s). Note: there can still only be two global notify
5708 handlers - one for system notifies and one for device notifies. There are
5709 no
5710 changes to the existing handler install/remove interfaces. Lin Ming, Bob
5711 Moore, Rafael Wysocki.
5712
5713 Fixed a regression in the package repair code where the object reference
5714 count was calculated incorrectly. Regression was introduced in the commit
5715 "Support to add Package wrappers".
5716
5717 Fixed a couple possible memory leaks in the AML parser, in the error
5718 recovery
5719 path. Jesper Juhl, Lin Ming.
5720
5721 Example Code and Data Size: These are the sizes for the OS-independent
5722 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5723 debug version of the code includes the debug output trace mechanism and
5724 has a
5725 much larger code and data size.
5726
5727 Previous Release:
5728 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
5729 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
5730 Current Release:
5731 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
5732 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
5733
5734
5735 2) iASL Compiler/Disassembler and Tools:
5736
5737 iASL: Fixed a problem with the resource descriptor support where the
5738 length
5739 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
5740 included in cumulative descriptor offset, resulting in incorrect values
5741 for
5742 resource tags within resource descriptors appearing after a
5743 StartDependent*
5744 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
5745
5746 iASL and Preprocessor: Implemented full support for the #line directive
5747 to
5748 correctly track original source file line numbers through the .i
5749 preprocessor
5750 output file - for error and warning messages.
5751
5752 iASL: Expand the allowable byte constants for address space IDs.
5753 Previously,
5754 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
5755 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
5756
5757 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
5758
5759 iASL: Add option to completely disable the preprocessor (-Pn).
5760
5761 iASL: Now emit all error/warning messages to standard error (stderr) by
5762 default (instead of the previous stdout).
5763
5764 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
5765 Update
5766 for resource descriptor offset fix above. Update/cleanup error output
5767 routines. Enable and send iASL errors/warnings to an error logfile
5768 (error.txt). Send all other iASL output to a logfile (compiler.txt).
5769 Fixed
5770 several extraneous "unrecognized operator" messages.
5771
5772 ----------------------------------------
5773 20 March 2012. Summary of changes for version 20120320:
5774
5775
5776 1) ACPICA Core Subsystem:
5777
5778 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
5779 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
5780 apparently
5781 does not execute these methods, and therefore these methods are often
5782 untested. It has been seen on some systems where the execution of these
5783 methods causes errors and also prevents the machine from entering S5. It
5784 is
5785 therefore suggested that host operating systems do not execute these
5786 methods
5787 by default. In the future, perhaps these methods can be optionally
5788 executed
5789 based on the age of the system and/or what is the newest version of
5790 Windows
5791 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
5792 and
5793 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
5794 Ming.
5795
5796 Fixed a problem where the length of the local/common FADT was set too
5797 early.
5798 The local FADT table length cannot be set to the common length until the
5799 original length has been examined. There is code that checks the table
5800 length
5801 and sets various fields appropriately. This can affect older machines
5802 with
5803 early FADT versions. For example, this can cause inadvertent writes to
5804 the
5805 CST_CNT register. Julian Anastasov.
5806
5807 Fixed a mapping issue related to a physical table override. Use the
5808 deferred
5809 mapping mechanism for tables loaded via the physical override OSL
5810 interface.
5811 This allows for early mapping before the virtual memory manager is
5812 available.
5813 Thomas Renninger, Bob Moore.
5814
5815 Enhanced the automatic return-object repair code: Repair a common problem
5816 with
5817 predefined methods that are defined to return a variable-length Package
5818 of
5819 sub-objects. If there is only one sub-object, some BIOS ASL code
5820 mistakenly
5821 simply returns the single object instead of a Package with one sub-
5822 object.
5823 This new support will repair this error by wrapping a Package object
5824 around
5825 the original object, creating the correct and expected Package with one
5826 sub-
5827 object. Names that can be repaired in this manner include: _ALR, _CSD,
5828 _HPX,
5829 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
5830 939.
5831
5832 Changed the exception code returned for invalid ACPI paths passed as
5833 parameters to external interfaces such as AcpiEvaluateObject. Was
5834 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
5835
5836 Example Code and Data Size: These are the sizes for the OS-independent
5837 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5838 debug
5839 version of the code includes the debug output trace mechanism and has a
5840 much
5841 larger code and data size.
5842
5843 Previous Release:
5844 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
5845 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
5846 Current Release:
5847 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
5848 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
5849
5850
5851 2) iASL Compiler/Disassembler and Tools:
5852
5853 iASL: Added the infrastructure and initial implementation of a integrated
5854 C-
5855 like preprocessor. This will simplify BIOS development process by
5856 eliminating
5857 the need for a separate preprocessing step during builds. On Windows, it
5858 also
5859 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
5860 features including full #define() macro support are still under
5861 development.
5862 These preprocessor directives are supported:
5863 #define
5864 #elif
5865 #else
5866 #endif
5867 #error
5868 #if
5869 #ifdef
5870 #ifndef
5871 #include
5872 #pragma message
5873 #undef
5874 #warning
5875 In addition, these new command line options are supported:
5876 -D <symbol> Define symbol for preprocessor use
5877 -li Create preprocessed output file (*.i)
5878 -P Preprocess only and create preprocessor output file (*.i)
5879
5880 Table Compiler: Fixed a problem where the equals operator within an
5881 expression
5882 did not work properly.
5883
5884 Updated iASL to use the current versions of Bison/Flex. Updated the
5885 Windows
5886 project file to invoke these tools from the standard location. ACPICA BZ
5887 904.
5888 Versions supported:
5889 Flex for Windows: V2.5.4
5890 Bison for Windows: V2.4.1
5891
5892 ----------------------------------------
5893 15 February 2012. Summary of changes for version 20120215:
5894
5895
5896 1) ACPICA Core Subsystem:
5897
5898 There have been some major changes to the sleep/wake support code, as
5899 described below (a - e).
5900
5901 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
5902 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
5903 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
5904 the
5905 time the _BFS method is called and the _WAK method is called. NOTE: all
5906 hosts
5907 must update their wake/resume code or else sleep/wake will not work
5908 properly.
5909 Rafael Wysocki.
5910
5911 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
5912 _WAK
5913 method. Some machines require that the GPEs are enabled before the _WAK
5914 method
5915 is executed. Thomas Renninger.
5916
5917 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
5918 bit.
5919 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
5920 to
5921 determine whether the system is rebooting or resuming. Matthew Garrett.
5922
5923 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
5924 Sleep) to
5925 match the ACPI specification requirement. Rafael Wysocki.
5926
5927 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
5928 registers within the V5 FADT. This support adds two new files:
5929 hardware/hwesleep.c implements the support for the new registers. Moved
5930 all
5931 sleep/wake external interfaces to hardware/hwxfsleep.c.
5932
5933
5934 Added a new OSL interface for ACPI table overrides,
5935 AcpiOsPhysicalTableOverride. This interface allows the host to override a
5936 table via a physical address, instead of the logical address required by
5937 AcpiOsTableOverride. This simplifies the host implementation. Initial
5938 implementation by Thomas Renninger. The ACPICA implementation creates a
5939 single
5940 shared function for table overrides that attempts both a logical and a
5941 physical override.
5942
5943 Expanded the OSL memory read/write interfaces to 64-bit data
5944 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
5945 transfer support for GAS register structures passed to AcpiRead and
5946 AcpiWrite.
5947
5948 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
5949 custom
5950 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
5951 model.
5952 See the ACPICA reference for details. ACPICA BZ 942. This option removes
5953 about
5954 10% of the code and 5% of the static data, and the following hardware
5955 ACPI
5956 features become unavailable:
5957 PM Event and Control registers
5958 SCI interrupt (and handler)
5959 Fixed Events
5960 General Purpose Events (GPEs)
5961 Global Lock
5962 ACPI PM timer
5963 FACS table (Waking vectors and Global Lock)
5964
5965 Updated the unix tarball directory structure to match the ACPICA git
5966 source
5967 tree. This ensures that the generic unix makefiles work properly (in
5968 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
5969 867.
5970
5971 Updated the return value of the _REV predefined method to integer value 5
5972 to
5973 reflect ACPI 5.0 support.
5974
5975 Moved the external ACPI PM timer interface prototypes to the public
5976 acpixf.h
5977 file where they belong.
5978
5979 Example Code and Data Size: These are the sizes for the OS-independent
5980 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5981 debug
5982 version of the code includes the debug output trace mechanism and has a
5983 much
5984 larger code and data size.
5985
5986 Previous Release:
5987 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
5988 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
5989 Current Release:
5990 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
5991 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
5992
5993
5994 2) iASL Compiler/Disassembler and Tools:
5995
5996 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
5997 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
5998 incorrectly displayed.
5999
6000 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
6001 specification.
6002
6003 ----------------------------------------
6004 11 January 2012. Summary of changes for version 20120111:
6005
6006
6007 1) ACPICA Core Subsystem:
6008
6009 Implemented a new mechanism to allow host device drivers to check for
6010 address
6011 range conflicts with ACPI Operation Regions. Both SystemMemory and
6012 SystemIO
6013 address spaces are supported. A new external interface,
6014 AcpiCheckAddressRange,
6015 allows drivers to check an address range against the ACPI namespace. See
6016 the
6017 ACPICA reference for additional details. Adds one new file,
6018 utilities/utaddress.c. Lin Ming, Bob Moore.
6019
6020 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
6021 Control
6022 and
6023 Status registers, update the ACPI 5.0 flags, and update internal data
6024 structures to handle an FADT larger than 256 bytes. The size of the ACPI
6025 5.0
6026 FADT is 268 bytes.
6027
6028 Updated all ACPICA copyrights and signons to 2012. Added the 2012
6029 copyright to
6030 all module headers and signons, including the standard Linux header. This
6031 affects virtually every file in the ACPICA core subsystem, iASL compiler,
6032 and
6033 all ACPICA utilities.
6034
6035 Example Code and Data Size: These are the sizes for the OS-independent
6036 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6037 debug
6038 version of the code includes the debug output trace mechanism and has a
6039 much
6040 larger code and data size.
6041
6042 Previous Release:
6043 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
6044 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
6045 Current Release:
6046 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
6047 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
6048
6049
6050 2) iASL Compiler/Disassembler and Tools:
6051
6052 Disassembler: fixed a problem with the automatic resource tag generation
6053 support. Fixes a problem where the resource tags are inadvertently not
6054 constructed if the table being disassembled contains external references
6055 to
6056 control methods. Moved the actual construction of the tags to after the
6057 final
6058 namespace is constructed (after 2nd parse is invoked due to external
6059 control
6060 method references.) ACPICA BZ 941.
6061
6062 Table Compiler: Make all "generic" operators caseless. These are the
6063 operators
6064 like UINT8, String, etc. Making these caseless improves ease-of-use.
6065 ACPICA BZ
6066 934.
6067
6068 ----------------------------------------
6069 23 November 2011. Summary of changes for version 20111123:
6070
6071 0) ACPI 5.0 Support:
6072
6073 This release contains full support for the ACPI 5.0 specification, as
6074 summarized below.
6075
6076 Reduced Hardware Support:
6077 -------------------------
6078
6079 This support allows for ACPI systems without the usual ACPI hardware.
6080 This
6081 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
6082 will
6083 not attempt to initialize or use any of the usual ACPI hardware. Note,
6084 when
6085 this flag is set, all of the following ACPI hardware is assumed to be not
6086 present and is not initialized or accessed:
6087
6088 General Purpose Events (GPEs)
6089 Fixed Events (PM1a/PM1b and PM Control)
6090 Power Management Timer and Console Buttons (power/sleep)
6091 Real-time Clock Alarm
6092 Global Lock
6093 System Control Interrupt (SCI)
6094 The FACS is assumed to be non-existent
6095
6096 ACPI Tables:
6097 ------------
6098
6099 All new tables and updates to existing tables are fully supported in the
6100 ACPICA headers (for use by device drivers), the disassembler, and the
6101 iASL
6102 Data Table Compiler. ACPI 5.0 defines these new tables:
6103
6104 BGRT /* Boot Graphics Resource Table */
6105 DRTM /* Dynamic Root of Trust for Measurement table */
6106 FPDT /* Firmware Performance Data Table */
6107 GTDT /* Generic Timer Description Table */
6108 MPST /* Memory Power State Table */
6109 PCCT /* Platform Communications Channel Table */
6110 PMTT /* Platform Memory Topology Table */
6111 RASF /* RAS Feature table */
6112
6113 Operation Regions/SpaceIDs:
6114 ---------------------------
6115
6116 All new operation regions are fully supported by the iASL compiler, the
6117 disassembler, and the ACPICA runtime code (for dispatch to region
6118 handlers.)
6119 The new operation region Space IDs are:
6120
6121 GeneralPurposeIo
6122 GenericSerialBus
6123
6124 Resource Descriptors:
6125 ---------------------
6126
6127 All new ASL resource descriptors are fully supported by the iASL
6128 compiler,
6129 the
6130 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
6131 (including
6132 all new predefined resource tags). New descriptors are:
6133
6134 FixedDma
6135 GpioIo
6136 GpioInt
6137 I2cSerialBus
6138 SpiSerialBus
6139 UartSerialBus
6140
6141 ASL/AML Operators, New and Modified:
6142 ------------------------------------
6143
6144 One new operator is added, the Connection operator, which is used to
6145 associate
6146 a GeneralPurposeIo or GenericSerialBus resource descriptor with
6147 individual
6148 field objects within an operation region. Several new protocols are
6149 associated
6150 with the AccessAs operator. All are fully supported by the iASL compiler,
6151 disassembler, and runtime ACPICA AML interpreter:
6152
6153 Connection // Declare Field Connection
6154 attributes
6155 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
6156 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
6157 Protocol
6158 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
6159 RawDataBuffer // Data type for Vendor Data
6160 fields
6161
6162 Predefined ASL/AML Objects:
6163 ---------------------------
6164
6165 All new predefined objects/control-methods are supported by the iASL
6166 compiler
6167 and the ACPICA runtime validation/repair (arguments and return values.)
6168 New
6169 predefined names include the following:
6170
6171 Standard Predefined Names (Objects or Control Methods):
6172 _AEI, _CLS, _CPC, _CWS, _DEP,
6173 _DLM, _EVT, _GCP, _CRT, _GWS,
6174 _HRV, _PRE, _PSE, _SRT, _SUB.
6175
6176 Resource Tags (Names used to access individual fields within resource
6177 descriptors):
6178 _DBT, _DPL, _DRS, _END, _FLC,
6179 _IOR, _LIN, _MOD, _PAR, _PHA,
6180 _PIN, _PPI, _POL, _RXL, _SLV,
6181 _SPE, _STB, _TXL, _VEN.
6182
6183 ACPICA External Interfaces:
6184 ---------------------------
6185
6186 Several new interfaces have been defined for use by ACPI-related device
6187 drivers and other host OS services:
6188
6189 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
6190 to
6191 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
6192 provided by the BIOS. They are intended to be used in conjunction with
6193 the
6194 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
6195 mutual exclusion with the AML code/interpreter.
6196
6197 AcpiGetEventResources: Returns the (formatted) resource descriptors as
6198 defined
6199 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
6200 provides
6201 resource descriptors associated with hardware-reduced platform events,
6202 similar
6203 to the AcpiGetCurrentResources interface.
6204
6205 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
6206 operation regions, information about the Connection() object and any
6207 optional
6208 length information is passed to the region handler within the Context
6209 parameter.
6210
6211 AcpiBufferToResource: This interface converts a raw AML buffer containing
6212 a
6213 resource template or resource descriptor to the ACPI_RESOURCE internal
6214 format
6215 suitable for use by device drivers. Can be used by an operation region
6216 handler
6217 to convert the Connection() buffer object into a ACPI_RESOURCE.
6218
6219 Miscellaneous/Tools/TestSuites:
6220 -------------------------------
6221
6222 Support for extended _HID names (Four alpha characters instead of three).
6223 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
6224 Support for ACPI 5.0 features in the ASLTS test suite.
6225 Fully updated documentation (ACPICA and iASL reference documents.)
6226
6227 ACPI Table Definition Language:
6228 -------------------------------
6229
6230 Support for this language was implemented and released as a subsystem of
6231 the
6232 iASL compiler in 2010. (See the iASL compiler User Guide.)
6233
6234
6235 Non-ACPI 5.0 changes for this release:
6236 --------------------------------------
6237
6238 1) ACPICA Core Subsystem:
6239
6240 Fix a problem with operation region declarations where a failure can
6241 occur
6242 if
6243 the region name and an argument that evaluates to an object (such as the
6244 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
6245 937.
6246
6247 Do not abort an ACPI table load if an invalid space ID is found within.
6248 This
6249 will be caught later if the offending method is executed. ACPICA BZ 925.
6250
6251 Fixed an issue with the FFixedHW space ID where the ID was not always
6252 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
6253
6254 Fixed a problem with the 32-bit generation of the unix-specific OSL
6255 (osunixxf.c). Lin Ming, ACPICA BZ 936.
6256
6257 Several changes made to enable generation with the GCC 4.6 compiler.
6258 ACPICA BZ
6259 935.
6260
6261 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
6262 Index/Bank
6263 field registers out-of-range.
6264
6265 2) iASL Compiler/Disassembler and Tools:
6266
6267 iASL: Implemented the __PATH__ operator, which returns the full pathname
6268 of
6269 the current source file.
6270
6271 AcpiHelp: Automatically display expanded keyword information for all ASL
6272 operators.
6273
6274 Debugger: Add "Template" command to disassemble/dump resource template
6275 buffers.
6276
6277 Added a new master script to generate and execute the ASLTS test suite.
6278 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
6279
6280 iASL: Fix problem with listing generation during processing of the
6281 Switch()
6282 operator where AML listing was disabled until the entire Switch block was
6283 completed.
6284
6285 iASL: Improve support for semicolon statement terminators. Fix "invalid
6286 character" message for some cases when the semicolon is used. Semicolons
6287 are
6288 now allowed after every <Term> grammar element. ACPICA BZ 927.
6289
6290 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
6291 923.
6292
6293 Disassembler: Fix problem with disassembly of the DataTableRegion
6294 operator
6295 where an inadvertent "Unhandled deferred opcode" message could be
6296 generated.
6297
6298 3) Example Code and Data Size
6299
6300 These are the sizes for the OS-independent acpica.lib produced by the
6301 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
6302 includes the debug output trace mechanism and has a much larger code and
6303 data
6304 size.
6305
6306 Previous Release:
6307 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6308 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6309 Current Release:
6310 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
6311 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
6312
6313 ----------------------------------------
6314 22 September 2011. Summary of changes for version 20110922:
6315
6316 0) ACPI 5.0 News:
6317
6318 Support for ACPI 5.0 in ACPICA has been underway for several months and
6319 will
6320 be released at the same time that ACPI 5.0 is officially released.
6321
6322 The ACPI 5.0 specification is on track for release in the next few
6323 months.
6324
6325 1) ACPICA Core Subsystem:
6326
6327 Fixed a problem where the maximum sleep time for the Sleep() operator was
6328 intended to be limited to two seconds, but was inadvertently limited to
6329 20
6330 seconds instead.
6331
6332 Linux and Unix makefiles: Added header file dependencies to ensure
6333 correct
6334 generation of ACPICA core code and utilities. Also simplified the
6335 makefiles
6336 considerably through the use of the vpath variable to specify search
6337 paths.
6338 ACPICA BZ 924.
6339
6340 2) iASL Compiler/Disassembler and Tools:
6341
6342 iASL: Implemented support to check the access length for all fields
6343 created to
6344 access named Resource Descriptor fields. For example, if a resource field
6345 is
6346 defined to be two bits, a warning is issued if a CreateXxxxField() is
6347 used
6348 with an incorrect bit length. This is implemented for all current
6349 resource
6350 descriptor names. ACPICA BZ 930.
6351
6352 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
6353 56-
6354 bit integers.
6355
6356 iASL: Fixed a couple of issues associated with variable-length package
6357 objects. 1) properly handle constants like One, Ones, Zero -- do not make
6358 a
6359 VAR_PACKAGE when these are used as a package length. 2) Allow the
6360 VAR_PACKAGE
6361 opcode (in addition to PACKAGE) when validating object types for
6362 predefined
6363 names.
6364
6365 iASL: Emit statistics for all output files (instead of just the ASL input
6366 and
6367 AML output). Includes listings, hex files, etc.
6368
6369 iASL: Added -G option to the table compiler to allow the compilation of
6370 custom
6371 ACPI tables. The only part of a table that is required is the standard
6372 36-
6373 byte
6374 ACPI header.
6375
6376 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
6377 headers),
6378 which also adds correct 64-bit support. Also, now all output filenames
6379 are
6380 completely lower case.
6381
6382 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
6383 loading table files. A warning is issued for any such tables. The only
6384 exception is an FADT. This also fixes a possible fault when attempting to
6385 load
6386 non-AML tables. ACPICA BZ 932.
6387
6388 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
6389 a
6390 missing table terminator could cause a fault when using the -p option.
6391
6392 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
6393 statistics.
6394
6395 3) Example Code and Data Size
6396
6397 These are the sizes for the OS-independent acpica.lib produced by the
6398 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
6399 includes the debug output trace mechanism and has a much larger code and
6400 data
6401 size.
6402
6403 Previous Release (VC 9.0):
6404 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6405 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6406 Current Release (VC 9.0):
6407 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6408 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6409
6410
6411 ----------------------------------------
6412 23 June 2011. Summary of changes for version 20110623:
6413
6414 1) ACPI CA Core Subsystem:
6415
6416 Updated the predefined name repair mechanism to not attempt repair of a
6417 _TSS
6418 return object if a _PSS object is present. We can only sort the _TSS
6419 return
6420 package if there is no _PSS within the same scope. This is because if
6421 _PSS
6422 is
6423 present, the ACPI specification dictates that the _TSS Power Dissipation
6424 field
6425 is to be ignored, and therefore some BIOSs leave garbage values in the
6426 _TSS
6427 Power field(s). In this case, it is best to just return the _TSS package
6428 as-
6429 is. Reported by, and fixed with assistance from Fenghua Yu.
6430
6431 Added an option to globally disable the control method return value
6432 validation
6433 and repair. This runtime option can be used to disable return value
6434 repair
6435 if
6436 this is causing a problem on a particular machine. Also added an option
6437 to
6438 AcpiExec (-dr) to set this disable flag.
6439
6440 All makefiles and project files: Major changes to improve generation of
6441 ACPICA
6442 tools. ACPICA BZ 912:
6443 Reduce default optimization levels to improve compatibility
6444 For Linux, add strict-aliasing=0 for gcc 4
6445 Cleanup and simplify use of command line defines
6446 Cleanup multithread library support
6447 Improve usage messages
6448
6449 Linux-specific header: update handling of THREAD_ID and pthread. For the
6450 32-
6451 bit case, improve casting to eliminate possible warnings, especially with
6452 the
6453 acpica tools.
6454
6455 Example Code and Data Size: These are the sizes for the OS-independent
6456 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6457 debug
6458 version of the code includes the debug output trace mechanism and has a
6459 much
6460 larger code and data size.
6461
6462 Previous Release (VC 9.0):
6463 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
6464 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6465 Current Release (VC 9.0):
6466 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6467 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6468
6469 2) iASL Compiler/Disassembler and Tools:
6470
6471 With this release, a new utility named "acpihelp" has been added to the
6472 ACPICA
6473 package. This utility summarizes the ACPI specification chapters for the
6474 ASL
6475 and AML languages. It generates under Linux/Unix as well as Windows, and
6476 provides the following functionality:
6477 Find/display ASL operator(s) -- with description and syntax.
6478 Find/display ASL keyword(s) -- with exact spelling and descriptions.
6479 Find/display ACPI predefined name(s) -- with description, number
6480 of arguments, and the return value data type.
6481 Find/display AML opcode name(s) -- with opcode, arguments, and
6482 grammar.
6483 Decode/display AML opcode -- with opcode name, arguments, and
6484 grammar.
6485
6486 Service Layers: Make multi-thread support configurable. Conditionally
6487 compile
6488 the multi-thread support so that threading libraries will not be linked
6489 if
6490 not
6491 necessary. The only tool that requires multi-thread support is AcpiExec.
6492
6493 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
6494 of
6495 Bison appear to want the interface to yyerror to be a const char * (or at
6496 least this is a problem when generating iASL on some systems.) ACPICA BZ
6497 923
6498 Pierre Lejeune.
6499
6500 Tools: Fix for systems where O_BINARY is not defined. Only used for
6501 Windows
6502 versions of the tools.
6503
6504 ----------------------------------------
6505 27 May 2011. Summary of changes for version 20110527:
6506
6507 1) ACPI CA Core Subsystem:
6508
6509 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
6510 table
6511 signature. Now, only allow SSDT, OEMx, and a null signature. History:
6512 1) Originally, we checked the table signature for "SSDT" or "PSDT".
6513 (PSDT is now obsolete.)
6514 2) We added support for OEMx tables, signature "OEM" plus a fourth
6515 "don't care" character.
6516 3) Valid tables were encountered with a null signature, so we just
6517 gave up on validating the signature, (05/2008).
6518 4) We encountered non-AML tables such as the MADT, which caused
6519 interpreter errors and kernel faults. So now, we once again allow
6520 only SSDT, OEMx, and now, also a null signature. (05/2011).
6521
6522 Added the missing _TDL predefined name to the global name list in order
6523 to
6524 enable validation. Affects both the core ACPICA code and the iASL
6525 compiler.
6526
6527 Example Code and Data Size: These are the sizes for the OS-independent
6528 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6529 debug
6530 version of the code includes the debug output trace mechanism and has a
6531 much
6532 larger code and data size.
6533
6534 Previous Release (VC 9.0):
6535 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
6536 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
6537 Current Release (VC 9.0):
6538 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
6539 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6540
6541 2) iASL Compiler/Disassembler and Tools:
6542
6543 Debugger/AcpiExec: Implemented support for "complex" method arguments on
6544 the
6545 debugger command line. This adds support beyond simple integers --
6546 including
6547 Strings, Buffers, and Packages. Includes support for nested packages.
6548 Increased the default command line buffer size to accommodate these
6549 arguments.
6550 See the ACPICA reference for details and syntax. ACPICA BZ 917.
6551
6552 Debugger/AcpiExec: Implemented support for "default" method arguments for
6553 the
6554 Execute/Debug command. Now, the debugger will always invoke a control
6555 method
6556 with the required number of arguments -- even if the command line
6557 specifies
6558 none or insufficient arguments. It uses default integer values for any
6559 missing
6560 arguments. Also fixes a bug where only six method arguments maximum were
6561 supported instead of the required seven.
6562
6563 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
6564 and
6565 also return status in order to prevent buffer overruns. See the ACPICA
6566 reference for details and syntax. ACPICA BZ 921
6567
6568 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
6569 makefiles to simplify support for the two different but similar parser
6570 generators, bison and yacc.
6571
6572 Updated the generic unix makefile for gcc 4. The default gcc version is
6573 now
6574 expected to be 4 or greater, since options specific to gcc 4 are used.
6575
6576 ----------------------------------------
6577 13 April 2011. Summary of changes for version 20110413:
6578
6579 1) ACPI CA Core Subsystem:
6580
6581 Implemented support to execute a so-called "orphan" _REG method under the
6582 EC
6583 device. This change will force the execution of a _REG method underneath
6584 the
6585 EC
6586 device even if there is no corresponding operation region of type
6587 EmbeddedControl. Fixes a problem seen on some machines and apparently is
6588 compatible with Windows behavior. ACPICA BZ 875.
6589
6590 Added more predefined methods that are eligible for automatic NULL
6591 package
6592 element removal. This change adds another group of predefined names to
6593 the
6594 list
6595 of names that can be repaired by having NULL package elements dynamically
6596 removed. This group are those methods that return a single variable-
6597 length
6598 package containing simple data types such as integers, buffers, strings.
6599 This
6600 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
6601 _PSL,
6602 _Sx,
6603 and _TZD. ACPICA BZ 914.
6604
6605 Split and segregated all internal global lock functions to a new file,
6606 evglock.c.
6607
6608 Updated internal address SpaceID for DataTable regions. Moved this
6609 internal
6610 space
6611 id in preparation for ACPI 5.0 changes that will include some new space
6612 IDs.
6613 This
6614 change should not affect user/host code.
6615
6616 Example Code and Data Size: These are the sizes for the OS-independent
6617 acpica.lib
6618 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
6619 version of
6620 the code includes the debug output trace mechanism and has a much larger
6621 code
6622 and
6623 data size.
6624
6625 Previous Release (VC 9.0):
6626 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
6627 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
6628 Current Release (VC 9.0):
6629 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
6630 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
6631
6632 2) iASL Compiler/Disassembler and Tools:
6633
6634 iASL/DTC: Major update for new grammar features. Allow generic data types
6635 in
6636 custom ACPI tables. Field names are now optional. Any line can be split
6637 to
6638 multiple lines using the continuation char (\). Large buffers now use
6639 line-
6640 continuation character(s) and no colon on the continuation lines. See the
6641 grammar
6642 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
6643 Moore.
6644
6645 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
6646 statements.
6647 Since the parser stuffs a "zero" as the return value for these statements
6648 (due
6649 to
6650 the underlying AML grammar), they were seen as "return with value" by the
6651 iASL
6652 semantic checking. They are now seen correctly as "null" return
6653 statements.
6654
6655 iASL: Check if a_REG declaration has a corresponding Operation Region.
6656 Adds a
6657 check for each _REG to ensure that there is in fact a corresponding
6658 operation
6659 region declaration in the same scope. If not, the _REG method is not very
6660 useful
6661 since it probably won't be executed. ACPICA BZ 915.
6662
6663 iASL/DTC: Finish support for expression evaluation. Added a new
6664 expression
6665 parser
6666 that implements c-style operator precedence and parenthesization. ACPICA
6667 bugzilla
6668 908.
6669
6670 Disassembler/DTC: Remove support for () and <> style comments in data
6671 tables.
6672 Now
6673 that DTC has full expression support, we don't want to have comment
6674 strings
6675 that
6676 start with a parentheses or a less-than symbol. Now, only the standard /*
6677 and
6678 //
6679 comments are supported, as well as the bracket [] comments.
6680
6681 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
6682 "unusual"
6683 headers in the acpidump file. Update the header validation to support
6684 these
6685 tables. Problem introduced in previous AcpiXtract version in the change
6686 to
6687 support "wrong checksum" error messages emitted by acpidump utility.
6688
6689 iASL: Add a * option to generate all template files (as a synonym for
6690 ALL)
6691 as
6692 in
6693 "iasl -T *" or "iasl -T ALL".
6694
6695 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
6696 completely
6697 abort the compiler on "fatal" errors, simply should abort the current
6698 compile.
6699 This allows multiple compiles with a single (possibly wildcard) compiler
6700 invocation.
6701
6702 ----------------------------------------
6703 16 March 2011. Summary of changes for version 20110316:
6704
6705 1) ACPI CA Core Subsystem:
6706
6707 Fixed a problem caused by a _PRW method appearing at the namespace root
6708 scope
6709 during the setup of wake GPEs. A fault could occur if a _PRW directly
6710 under
6711 the
6712 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
6713
6714 Implemented support for "spurious" Global Lock interrupts. On some
6715 systems, a
6716 global lock interrupt can occur without the pending flag being set. Upon
6717 a
6718 GL
6719 interrupt, we now ensure that a thread is actually waiting for the lock
6720 before
6721 signaling GL availability. Rafael Wysocki, Bob Moore.
6722
6723 Example Code and Data Size: These are the sizes for the OS-independent
6724 acpica.lib
6725 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
6726 version of
6727 the code includes the debug output trace mechanism and has a much larger
6728 code
6729 and
6730 data size.
6731
6732 Previous Release (VC 9.0):
6733 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
6734 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
6735 Current Release (VC 9.0):
6736 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
6737 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
6738
6739 2) iASL Compiler/Disassembler and Tools:
6740
6741 Implemented full support for the "SLIC" ACPI table. Includes support in
6742 the
6743 header files, disassembler, table compiler, and template generator. Bob
6744 Moore,
6745 Lin Ming.
6746
6747 AcpiXtract: Correctly handle embedded comments and messages from
6748 AcpiDump.
6749 Apparently some or all versions of acpidump will occasionally emit a
6750 comment
6751 like
6752 "Wrong checksum", etc., into the dump file. This was causing problems for
6753 AcpiXtract. ACPICA BZ 905.
6754
6755 iASL: Fix the Linux makefile by removing an inadvertent double file
6756 inclusion.
6757 ACPICA BZ 913.
6758
6759 AcpiExec: Update installation of operation region handlers. Install one
6760 handler
6761 for a user-defined address space. This is used by the ASL test suite
6762 (ASLTS).
6763
6764 ----------------------------------------
6765 11 February 2011. Summary of changes for version 20110211:
6766
6767 1) ACPI CA Core Subsystem:
6768
6769 Added a mechanism to defer _REG methods for some early-installed
6770 handlers.
6771 Most user handlers should be installed before call to
6772 AcpiEnableSubsystem.
6773 However, Event handlers and region handlers should be installed after
6774 AcpiInitializeObjects. Override handlers for the "default" regions should
6775 be
6776 installed early, however. This change executes all _REG methods for the
6777 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
6778 chicken/egg issues between them. ACPICA BZ 848.
6779
6780 Implemented an optimization for GPE detection. This optimization will
6781 simply
6782 ignore GPE registers that contain no enabled GPEs -- there is no need to
6783 read the register since this information is available internally. This
6784 becomes more important on machines with a large GPE space. ACPICA
6785 bugzilla
6786 884. Lin Ming. Suggestion from Joe Liu.
6787
6788 Removed all use of the highly unreliable FADT revision field. The
6789 revision
6790 number in the FADT has been found to be completely unreliable and cannot
6791 be
6792 trusted. Only the actual table length can be used to infer the version.
6793 This
6794 change updates the ACPICA core and the disassembler so that both no
6795 longer
6796 even look at the FADT version and instead depend solely upon the FADT
6797 length.
6798
6799 Fix an unresolved name issue for the no-debug and no-error-message source
6800 generation cases. The _AcpiModuleName was left undefined in these cases,
6801 but
6802 it is actually needed as a parameter to some interfaces. Define
6803 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
6804
6805 Split several large files (makefiles and project files updated)
6806 utglobal.c -> utdecode.c
6807 dbcomds.c -> dbmethod.c dbnames.c
6808 dsopcode.c -> dsargs.c dscontrol.c
6809 dsload.c -> dsload2.c
6810 aslanalyze.c -> aslbtypes.c aslwalks.c
6811
6812 Example Code and Data Size: These are the sizes for the OS-independent
6813 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6814 debug version of the code includes the debug output trace mechanism and
6815 has
6816 a much larger code and data size.
6817
6818 Previous Release (VC 9.0):
6819 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
6820 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
6821 Current Release (VC 9.0):
6822 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
6823 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
6824
6825 2) iASL Compiler/Disassembler and Tools:
6826
6827 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
6828 These are useful C-style macros with the standard definitions. ACPICA
6829 bugzilla 898.
6830
6831 iASL/DTC: Added support for integer expressions and labels. Support for
6832 full
6833 expressions for all integer fields in all ACPI tables. Support for labels
6834 in
6835 "generic" portions of tables such as UEFI. See the iASL reference manual.
6836
6837 Debugger: Added a command to display the status of global handlers. The
6838 "handlers" command will display op region, fixed event, and miscellaneous
6839 global handlers. installation status -- and for op regions, whether
6840 default
6841 or user-installed handler will be used.
6842
6843 iASL: Warn if reserved method incorrectly returns a value. Many
6844 predefined
6845 names are defined such that they do not return a value. If implemented as
6846 a
6847 method, issue a warning if such a name explicitly returns a value. ACPICA
6848 Bugzilla 855.
6849
6850 iASL: Added detection of GPE method name conflicts. Detects a conflict
6851 where
6852 there are two GPE methods of the form _Lxy and _Exy in the same scope.
6853 (For
6854 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
6855
6856 iASL/DTC: Fixed a couple input scanner issues with comments and line
6857 numbers. Comment remover could get confused and miss a comment ending.
6858 Fixed
6859 a problem with line counter maintenance.
6860
6861 iASL/DTC: Reduced the severity of some errors from fatal to error. There
6862 is
6863 no need to abort on simple errors within a field definition.
6864
6865 Debugger: Simplified the output of the help command. All help output now
6866 in
6867 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
6868
6869 ----------------------------------------
6870 12 January 2011. Summary of changes for version 20110112:
6871
6872 1) ACPI CA Core Subsystem:
6873
6874 Fixed a race condition between method execution and namespace walks that
6875 can
6876 possibly cause a fault. The problem was apparently introduced in version
6877 20100528 as a result of a performance optimization that reduces the
6878 number
6879 of
6880 namespace walks upon method exit by using the delete_namespace_subtree
6881 function instead of the delete_namespace_by_owner function used
6882 previously.
6883 Bug is a missing namespace lock in the delete_namespace_subtree function.
6884 dana.myers (a] oracle.com
6885
6886 Fixed several issues and a possible fault with the automatic "serialized"
6887 method support. History: This support changes a method to "serialized" on
6888 the
6889 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
6890 possibility that it cannot handle reentrancy. This fix repairs a couple
6891 of
6892 issues seen in the field, especially on machines with many cores:
6893
6894 1) Delete method children only upon the exit of the last thread,
6895 so as to not delete objects out from under other running threads
6896 (and possibly causing a fault.)
6897 2) Set the "serialized" bit for the method only upon the exit of the
6898 Last thread, so as to not cause deadlock when running threads
6899 attempt to exit.
6900 3) Cleanup the use of the AML "MethodFlags" and internal method flags
6901 so that there is no longer any confusion between the two.
6902
6903 Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
6904
6905 Debugger: Now lock the namespace for duration of a namespace dump.
6906 Prevents
6907 issues if the namespace is changing dynamically underneath the debugger.
6908 Especially affects temporary namespace nodes, since the debugger displays
6909 these also.
6910
6911 Updated the ordering of include files. The ACPICA headers should appear
6912 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
6913 set
6914 any necessary compiler-specific defines, etc. Affects the ACPI-related
6915 tools
6916 and utilities.
6917
6918 Updated all ACPICA copyrights and signons to 2011. Added the 2011
6919 copyright
6920 to all module headers and signons, including the Linux header. This
6921 affects
6922 virtually every file in the ACPICA core subsystem, iASL compiler, and all
6923 utilities.
6924
6925 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
6926 project files for VC++ 6.0 are now obsolete. New project files can be
6927 found
6928 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
6929 details.
6930
6931 Example Code and Data Size: These are the sizes for the OS-independent
6932 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6933 debug version of the code includes the debug output trace mechanism and
6934 has a
6935 much larger code and data size.
6936
6937 Previous Release (VC 6.0):
6938 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
6939 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
6940 Current Release (VC 9.0):
6941 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
6942 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
6943
6944 2) iASL Compiler/Disassembler and Tools:
6945
6946 iASL: Added generic data types to the Data Table compiler. Add "generic"
6947 data
6948 types such as UINT32, String, Unicode, etc., to simplify the generation
6949 of
6950 platform-defined tables such as UEFI. Lin Ming.
6951
6952 iASL: Added listing support for the Data Table Compiler. Adds listing
6953 support
6954 (-l) to display actual binary output for each line of input code.
6955
6956 ----------------------------------------
6957 09 December 2010. Summary of changes for version 20101209:
6958
6959 1) ACPI CA Core Subsystem:
6960
6961 Completed the major overhaul of the GPE support code that was begun in
6962 July
6963 2010. Major features include: removal of _PRW execution in ACPICA (host
6964 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
6965 changes to existing interfaces, simplification of GPE handler operation,
6966 and
6967 a handful of new interfaces:
6968
6969 AcpiUpdateAllGpes
6970 AcpiFinishGpe
6971 AcpiSetupGpeForWake
6972 AcpiSetGpeWakeMask
6973 One new file, evxfgpe.c to consolidate all external GPE interfaces.
6974
6975 See the ACPICA Programmer Reference for full details and programming
6976 information. See the new section 4.4 "General Purpose Event (GPE)
6977 Support"
6978 for a full overview, and section 8.7 "ACPI General Purpose Event
6979 Management"
6980 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
6981 Ming,
6982 Bob Moore, Rafael Wysocki.
6983
6984 Implemented a new GPE feature for Windows compatibility, the "Implicit
6985 Wake
6986 GPE Notify". This feature will automatically issue a Notify(2) on a
6987 device
6988 when a Wake GPE is received if there is no corresponding GPE method or
6989 handler. ACPICA BZ 870.
6990
6991 Fixed a problem with the Scope() operator during table parse and load
6992 phase.
6993 During load phase (table load or method execution), the scope operator
6994 should
6995 not enter the target into the namespace. Instead, it should open a new
6996 scope
6997 at the target location. Linux BZ 19462, ACPICA BZ 882.
6998
6999 Example Code and Data Size: These are the sizes for the OS-independent
7000 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7001 debug version of the code includes the debug output trace mechanism and
7002 has a
7003 much larger code and data size.
7004
7005 Previous Release:
7006 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
7007 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
7008 Current Release:
7009 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
7010 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
7011
7012 2) iASL Compiler/Disassembler and Tools:
7013
7014 iASL: Relax the alphanumeric restriction on _CID strings. These strings
7015 are
7016 "bus-specific" per the ACPI specification, and therefore any characters
7017 are
7018 acceptable. The only checks that can be performed are for a null string
7019 and
7020 perhaps for a leading asterisk. ACPICA BZ 886.
7021
7022 iASL: Fixed a problem where a syntax error that caused a premature EOF
7023 condition on the source file emitted a very confusing error message. The
7024 premature EOF is now detected correctly. ACPICA BZ 891.
7025
7026 Disassembler: Decode the AccessSize within a Generic Address Structure
7027 (byte
7028 access, word access, etc.) Note, this field does not allow arbitrary bit
7029 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
7030
7031 New: AcpiNames utility - Example namespace dump utility. Shows an example
7032 of
7033 ACPICA configuration for a minimal namespace dump utility. Uses table and
7034 namespace managers, but no AML interpreter. Does not add any
7035 functionality
7036 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
7037 partition and configure ACPICA. ACPICA BZ 883.
7038
7039 AML Debugger: Increased the debugger buffer size for method return
7040 objects.
7041 Was 4K, increased to 16K. Also enhanced error messages for debugger
7042 method
7043 execution, including the buffer overflow case.
7044
7045 ----------------------------------------
7046 13 October 2010. Summary of changes for version 20101013:
7047
7048 1) ACPI CA Core Subsystem:
7049
7050 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
7051 now
7052 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
7053 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
7054
7055 Changed the type of the predefined namespace object _TZ from ThermalZone
7056 to
7057 Device. This was found to be confusing to the host software that
7058 processes
7059 the various thermal zones, since _TZ is not really a ThermalZone.
7060 However,
7061 a
7062 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
7063 Zhang.
7064
7065 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
7066 string is "Windows 2006 SP2".
7067
7068 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
7069 nsrepair
7070 code automatically repairs _HID-related strings, this type of code is no
7071 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
7072 878.
7073
7074 Example Code and Data Size: These are the sizes for the OS-independent
7075 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7076 debug version of the code includes the debug output trace mechanism and
7077 has a
7078 much larger code and data size.
7079
7080 Previous Release:
7081 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
7082 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
7083 Current Release:
7084 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
7085 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
7086
7087 2) iASL Compiler/Disassembler and Tools:
7088
7089 iASL: Implemented additional compile-time validation for _HID strings.
7090 The
7091 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
7092 length
7093 of
7094 the string must be exactly seven or eight characters. For both _HID and
7095 _CID
7096 strings, all characters must be alphanumeric. ACPICA BZ 874.
7097
7098 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
7099 descriptors that are mostly or all zeros, with the expectation that they
7100 will
7101 be filled in at runtime. iASL now allows this as long as there is a
7102 "resource
7103 tag" (name) associated with the descriptor, which gives the ASL a handle
7104 needed to modify the descriptor. ACPICA BZ 873.
7105
7106 Added single-thread support to the generic Unix application OSL.
7107 Primarily
7108 for iASL support, this change removes the use of semaphores in the
7109 single-
7110 threaded ACPICA tools/applications - increasing performance. The
7111 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
7112 option. ACPICA BZ 879.
7113
7114 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
7115 support
7116 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
7117
7118 iASL: Moved all compiler messages to a new file, aslmessages.h.
7119
7120 ----------------------------------------
7121 15 September 2010. Summary of changes for version 20100915:
7122
7123 1) ACPI CA Core Subsystem:
7124
7125 Removed the AcpiOsDerivePciId OSL interface. The various host
7126 implementations
7127 of this function were not OS-dependent and are now obsolete and can be
7128 removed from all host OSLs. This function has been replaced by
7129 AcpiHwDerivePciId, which is now part of the ACPICA core code.
7130 AcpiHwDerivePciId has been implemented without recursion. Adds one new
7131 module, hwpci.c. ACPICA BZ 857.
7132
7133 Implemented a dynamic repair for _HID and _CID strings. The following
7134 problems are now repaired at runtime: 1) Remove a leading asterisk in the
7135 string, and 2) the entire string is uppercased. Both repairs are in
7136 accordance with the ACPI specification and will simplify host driver
7137 code.
7138 ACPICA BZ 871.
7139
7140 The ACPI_THREAD_ID type is no longer configurable, internally it is now
7141 always UINT64. This simplifies the ACPICA code, especially any printf
7142 output.
7143 UINT64 is the only common data type for all thread_id types across all
7144 operating systems. It is now up to the host OSL to cast the native
7145 thread_id
7146 type to UINT64 before returning the value to ACPICA (via
7147 AcpiOsGetThreadId).
7148 Lin Ming, Bob Moore.
7149
7150 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
7151 "inline"
7152 keyword is not standard across compilers, and this type allows inline to
7153 be
7154 configured on a per-compiler basis. Lin Ming.
7155
7156 Made the system global AcpiGbl_SystemAwakeAndRunning publicly
7157 available.
7158 Added an extern for this boolean in acpixf.h. Some hosts utilize this
7159 value
7160 during suspend/restore operations. ACPICA BZ 869.
7161
7162 All code that implements error/warning messages with the "ACPI:" prefix
7163 has
7164 been moved to a new module, utxferror.c.
7165
7166 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
7167 it
7168 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
7169
7170 Example Code and Data Size: These are the sizes for the OS-independent
7171 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7172 debug version of the code includes the debug output trace mechanism and
7173 has a
7174 much larger code and data size.
7175
7176 Previous Release:
7177 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
7178 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
7179 Current Release:
7180 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
7181 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
7182
7183 2) iASL Compiler/Disassembler and Tools:
7184
7185 iASL/Disassembler: Write ACPI errors to stderr instead of the output
7186 file.
7187 This keeps the output files free of random error messages that may
7188 originate
7189 from within the namespace/interpreter code. Used this opportunity to
7190 merge
7191 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
7192 866. Lin Ming, Bob Moore.
7193
7194 Tools: update some printfs for ansi warnings on size_t. Handle width
7195 change
7196 of size_t on 32-bit versus 64-bit generations. Lin Ming.
7197
7198 ----------------------------------------
7199 06 August 2010. Summary of changes for version 20100806:
7200
7201 1) ACPI CA Core Subsystem:
7202
7203 Designed and implemented a new host interface to the _OSI support code.
7204 This
7205 will allow the host to dynamically add or remove multiple _OSI strings,
7206 as
7207 well as install an optional handler that is called for each _OSI
7208 invocation.
7209 Also added a new AML debugger command, 'osi' to display and modify the
7210 global
7211 _OSI string table, and test support in the AcpiExec utility. See the
7212 ACPICA
7213 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
7214 New Functions:
7215 AcpiInstallInterface - Add an _OSI string.
7216 AcpiRemoveInterface - Delete an _OSI string.
7217 AcpiInstallInterfaceHandler - Install optional _OSI handler.
7218 Obsolete Functions:
7219 AcpiOsValidateInterface - no longer used.
7220 New Files:
7221 source/components/utilities/utosi.c
7222
7223 Re-introduced the support to enable multi-byte transfers for Embedded
7224 Controller (EC) operation regions. A reported problem was found to be a
7225 bug
7226 in the host OS, not in the multi-byte support. Previously, the maximum
7227 data
7228 size passed to the EC operation region handler was a single byte. There
7229 are
7230 often EC Fields larger than one byte that need to be transferred, and it
7231 is
7232 useful for the EC driver to lock these as a single transaction. This
7233 change
7234 enables single transfers larger than 8 bits. This effectively changes the
7235 access to the EC space from ByteAcc to AnyAcc, and will probably require
7236 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
7237 bit
7238 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
7239
7240 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
7241 prototype in acpiosxf.h had the output value pointer as a (void *).
7242 It should be a (UINT64 *). This may affect some host OSL code.
7243
7244 Fixed a couple problems with the recently modified Linux makefiles for
7245 iASL
7246 and AcpiExec. These new makefiles place the generated object files in the
7247 local directory so that there can be no collisions between the files that
7248 are
7249 shared between them that are compiled with different options.
7250
7251 Example Code and Data Size: These are the sizes for the OS-independent
7252 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7253 debug version of the code includes the debug output trace mechanism and
7254 has a
7255 much larger code and data size.
7256
7257 Previous Release:
7258 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7259 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
7260 Current Release:
7261 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
7262 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
7263
7264 2) iASL Compiler/Disassembler and Tools:
7265
7266 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
7267 the
7268 namespace from and disassemble an entire group of AML files. Useful for
7269 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
7270 and
7271 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
7272
7273 iASL: Allow multiple invocations of -e option. This change allows
7274 multiple
7275 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
7276 834.
7277 Lin Ming.
7278
7279 ----------------------------------------
7280 02 July 2010. Summary of changes for version 20100702:
7281
7282 1) ACPI CA Core Subsystem:
7283
7284 Implemented several updates to the recently added GPE reference count
7285 support. The model for "wake" GPEs is changing to give the host OS
7286 complete
7287 control of these GPEs. Eventually, the ACPICA core will not execute any
7288 _PRW
7289 methods, since the host already must execute them. Also, additional
7290 changes
7291 were made to help ensure that the reference counts are kept in proper
7292 synchronization with reality. Rafael J. Wysocki.
7293
7294 1) Ensure that GPEs are not enabled twice during initialization.
7295 2) Ensure that GPE enable masks stay in sync with the reference count.
7296 3) Do not inadvertently enable GPEs when writing GPE registers.
7297 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
7298 interface. This interface will set or clear individual GPEs for wakeup.
7299 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
7300 interfaces
7301 are now used for "runtime" GPEs only.
7302
7303 Changed the behavior of the GPE install/remove handler interfaces. The
7304 GPE
7305 is
7306 no longer disabled during this process, as it was found to cause problems
7307 on
7308 some machines. Rafael J. Wysocki.
7309
7310 Reverted a change introduced in version 20100528 to enable Embedded
7311 Controller multi-byte transfers. This change was found to cause problems
7312 with
7313 Index Fields and possibly Bank Fields. It will be reintroduced when these
7314 problems have been resolved.
7315
7316 Fixed a problem with references to Alias objects within Package Objects.
7317 A
7318 reference to an Alias within the definition of a Package was not always
7319 resolved properly. Aliases to objects like Processors, Thermal zones,
7320 etc.
7321 were resolved to the actual object instead of a reference to the object
7322 as
7323 it
7324 should be. Package objects are only allowed to contain integer, string,
7325 buffer, package, and reference objects. Redhat bugzilla 608648.
7326
7327 Example Code and Data Size: These are the sizes for the OS-independent
7328 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7329 debug version of the code includes the debug output trace mechanism and
7330 has a
7331 much larger code and data size.
7332
7333 Previous Release:
7334 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7335 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
7336 Current Release:
7337 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7338 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
7339
7340 2) iASL Compiler/Disassembler and Tools:
7341
7342 iASL: Implemented a new compiler subsystem to allow definition and
7343 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
7344 These
7345 are called "ACPI Data Tables", and the new compiler is the "Data Table
7346 Compiler". This compiler is intended to simplify the existing error-prone
7347 process of creating these tables for the BIOS, as well as allowing the
7348 disassembly, modification, recompilation, and override of existing ACPI
7349 data
7350 tables. See the iASL User Guide for detailed information.
7351
7352 iASL: Implemented a new Template Generator option in support of the new
7353 Data
7354 Table Compiler. This option will create examples of all known ACPI tables
7355 that can be used as the basis for table development. See the iASL
7356 documentation and the -T option.
7357
7358 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
7359 Descriptor Table).
7360
7361 Updated the Linux makefiles for iASL and AcpiExec to place the generated
7362 object files in the local directory so that there can be no collisions
7363 between the shared files between them that are generated with different
7364 options.
7365
7366 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
7367 Use
7368 the #define __APPLE__ to enable this support.
7369
7370 ----------------------------------------
7371 28 May 2010. Summary of changes for version 20100528:
7372
7373 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
7374 available at www.acpi.info. This is primarily an errata release.
7375
7376 1) ACPI CA Core Subsystem:
7377
7378 Undefined ACPI tables: We are looking for the definitions for the
7379 following
7380 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
7381
7382 Implemented support to enable multi-byte transfers for Embedded
7383 Controller
7384 (EC) operation regions. Previously, the maximum data size passed to the
7385 EC
7386 operation region handler was a single byte. There are often EC Fields
7387 larger
7388 than one byte that need to be transferred, and it is useful for the EC
7389 driver
7390 to lock these as a single transaction. This change enables single
7391 transfers
7392 larger than 8 bits. This effectively changes the access to the EC space
7393 from
7394 ByteAcc to AnyAcc, and will probably require changes to the host OS
7395 Embedded
7396 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
7397 bit
7398 transfers. Alexey Starikovskiy, Lin Ming
7399
7400 Implemented a performance enhancement for namespace search and access.
7401 This
7402 change enhances the performance of namespace searches and walks by adding
7403 a
7404 backpointer to the parent in each namespace node. On large namespaces,
7405 this
7406 change can improve overall ACPI performance by up to 9X. Adding a pointer
7407 to
7408 each namespace node increases the overall size of the internal namespace
7409 by
7410 about 5%, since each namespace entry usually consists of both a namespace
7411 node and an ACPI operand object. However, this is the first growth of the
7412 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
7413
7414 Implemented a performance optimization that reduces the number of
7415 namespace
7416 walks. On control method exit, only walk the namespace if the method is
7417 known
7418 to have created namespace objects outside of its local scope. Previously,
7419 the
7420 entire namespace was traversed on each control method exit. This change
7421 can
7422 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
7423 Moore.
7424
7425 Added support to truncate I/O addresses to 16 bits for Windows
7426 compatibility.
7427 Some ASL code has been seen in the field that inadvertently has bits set
7428 above bit 15. This feature is optional and is enabled if the BIOS
7429 requests
7430 any Windows OSI strings. It can also be enabled by the host OS. Matthew
7431 Garrett, Bob Moore.
7432
7433 Added support to limit the maximum time for the ASL Sleep() operator. To
7434 prevent accidental deep sleeps, limit the maximum time that Sleep() will
7435 actually sleep. Configurable, the default maximum is two seconds. ACPICA
7436 bugzilla 854.
7437
7438 Added run-time validation support for the _WDG and_WED Microsoft
7439 predefined
7440 methods. These objects are defined by "Windows Instrumentation", and are
7441 not
7442 part of the ACPI spec. ACPICA BZ 860.
7443
7444 Expanded all statistic counters used during namespace and device
7445 initialization from 16 to 32 bits in order to support very large
7446 namespaces.
7447
7448 Replaced all instances of %d in printf format specifiers with %u since
7449 nearly
7450 all integers in ACPICA are unsigned.
7451
7452 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
7453 returned
7454 as AE_NO_HANDLER.
7455
7456 Example Code and Data Size: These are the sizes for the OS-independent
7457 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7458 debug version of the code includes the debug output trace mechanism and
7459 has a
7460 much larger code and data size.
7461
7462 Previous Release:
7463 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
7464 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
7465 Current Release:
7466 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7467 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
7468
7469 2) iASL Compiler/Disassembler and Tools:
7470
7471 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
7472 methods. These objects are defined by "Windows Instrumentation", and are
7473 not
7474 part of the ACPI spec. ACPICA BZ 860.
7475
7476 AcpiExec: added option to disable the memory tracking mechanism. The -dt
7477 option will disable the tracking mechanism, which improves performance
7478 considerably.
7479
7480 AcpiExec: Restructured the command line options into -d (disable) and -e
7481 (enable) options.
7482
7483 ----------------------------------------
7484 28 April 2010. Summary of changes for version 20100428:
7485
7486 1) ACPI CA Core Subsystem:
7487
7488 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
7489 including FADT-based and GPE Block Devices, execute any _PRW methods in
7490 the
7491 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
7492 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
7493 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
7494 Devices. Provides compatibility with other ACPI implementations. Two new
7495 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
7496 Moore.
7497
7498 Fixed a regression introduced in version 20100331 within the table
7499 manager
7500 where initial table loading could fail. This was introduced in the fix
7501 for
7502 AcpiReallocateRootTable. Also, renamed some of fields in the table
7503 manager
7504 data structures to clarify their meaning and use.
7505
7506 Fixed a possible allocation overrun during internal object copy in
7507 AcpiUtCopySimpleObject. The original code did not correctly handle the
7508 case
7509 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
7510 847.
7511
7512 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
7513 possible access beyond end-of-allocation. Also, now fully validate
7514 descriptor
7515 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
7516
7517 Example Code and Data Size: These are the sizes for the OS-independent
7518 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7519 debug version of the code includes the debug output trace mechanism and
7520 has a
7521 much larger code and data size.
7522
7523 Previous Release:
7524 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
7525 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
7526 Current Release:
7527 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
7528 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
7529
7530 2) iASL Compiler/Disassembler and Tools:
7531
7532 iASL: Implemented Min/Max/Len/Gran validation for address resource
7533 descriptors. This change implements validation for the address fields
7534 that
7535 are common to all address-type resource descriptors. These checks are
7536 implemented: Checks for valid Min/Max, length within the Min/Max window,
7537 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
7538 per
7539 table 6-40 in the ACPI 4.0a specification. Also split the large
7540 aslrestype1.c
7541 and aslrestype2.c files into five new files. ACPICA BZ 840.
7542
7543 iASL: Added support for the _Wxx predefined names. This support was
7544 missing
7545 and these names were not recognized by the compiler as valid predefined
7546 names. ACPICA BZ 851.
7547
7548 iASL: Added an error for all predefined names that are defined to return
7549 no
7550 value and thus must be implemented as Control Methods. These include all
7551 of
7552 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
7553 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
7554
7555 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
7556 an
7557 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
7558 be
7559 dynamically loaded via the Load() operator. Also cleaned up output for
7560 the
7561 -
7562 ta and -tc options. ACPICA BZ 853.
7563
7564 Tests: Added a new file with examples of extended iASL error checking.
7565 Demonstrates the advanced error checking ability of the iASL compiler.
7566 Available at tests/misc/badcode.asl.
7567
7568 ----------------------------------------
7569 31 March 2010. Summary of changes for version 20100331:
7570
7571 1) ACPI CA Core Subsystem:
7572
7573 Completed a major update for the GPE support in order to improve support
7574 for
7575 shared GPEs and to simplify both host OS and ACPICA code. Added a
7576 reference
7577 count mechanism to support shared GPEs that require multiple device
7578 drivers.
7579 Several external interfaces have changed. One external interface has been
7580 removed. One new external interface was added. Most of the GPE external
7581 interfaces now use the GPE spinlock instead of the events mutex (and the
7582 Flags parameter for many GPE interfaces has been removed.) See the
7583 updated
7584 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
7585 Rafael
7586 Wysocki. ACPICA BZ 831.
7587
7588 Changed:
7589 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
7590 Removed:
7591 AcpiSetGpeType
7592 New:
7593 AcpiSetGpe
7594
7595 Implemented write support for DataTable operation regions. These regions
7596 are
7597 defined via the DataTableRegion() operator. Previously, only read support
7598 was
7599 implemented. The ACPI specification allows DataTableRegions to be
7600 read/write,
7601 however.
7602
7603 Implemented a new subsystem option to force a copy of the DSDT to local
7604 memory. Optionally copy the entire DSDT to local memory (instead of
7605 simply
7606 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
7607 replace
7608 the original DSDT, creating the need for this option. Default is FALSE,
7609 do
7610 not copy the DSDT.
7611
7612 Implemented detection of a corrupted or replaced DSDT. This change adds
7613 support to detect a DSDT that has been corrupted and/or replaced from
7614 outside
7615 the OS (by firmware). This is typically catastrophic for the system, but
7616 has
7617 been seen on some machines. Once this problem has been detected, the DSDT
7618 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
7619
7620 Fixed two problems with AcpiReallocateRootTable during the root table
7621 copy.
7622 When copying the root table to the new allocation, the length used was
7623 incorrect. The new size was used instead of the current table size,
7624 meaning
7625 too much data was copied. Also, the count of available slots for ACPI
7626 tables
7627 was not set correctly. Alexey Starikovskiy, Bob Moore.
7628
7629 Example Code and Data Size: These are the sizes for the OS-independent
7630 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7631 debug version of the code includes the debug output trace mechanism and
7632 has a
7633 much larger code and data size.
7634
7635 Previous Release:
7636 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
7637 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
7638 Current Release:
7639 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
7640 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
7641
7642 2) iASL Compiler/Disassembler and Tools:
7643
7644 iASL: Implement limited typechecking for values returned from predefined
7645 control methods. The type of any returned static (unnamed) object is now
7646 validated. For example, Return(1). ACPICA BZ 786.
7647
7648 iASL: Fixed a predefined name object verification regression. Fixes a
7649 problem
7650 introduced in version 20100304. An error is incorrectly generated if a
7651 predefined name is declared as a static named object with a value defined
7652 using the keywords "Zero", "One", or "Ones". Lin Ming.
7653
7654 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
7655 by
7656 reducing the requested registry access rights. ACPICA BZ 842.
7657
7658 Disassembler: fixed a possible fault when generating External()
7659 statements.
7660 Introduced in commit ae7d6fd: Properly handle externals with parent-
7661 prefix
7662 (carat). Fixes a string length allocation calculation. Lin Ming.
7663
7664 ----------------------------------------
7665 04 March 2010. Summary of changes for version 20100304:
7666
7667 1) ACPI CA Core Subsystem:
7668
7669 Fixed a possible problem with the AML Mutex handling function
7670 AcpiExReleaseMutex where the function could fault under the very rare
7671 condition when the interpreter has blocked, the interpreter lock is
7672 released,
7673 the interpreter is then reentered via the same thread, and attempts to
7674 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
7675 Lin
7676 Ming.
7677
7678 Implemented additional configuration support for the AML "Debug Object".
7679 Output from the debug object can now be enabled via a global variable,
7680 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
7681 debugging.
7682 This debug output is now available in the release version of ACPICA
7683 instead
7684 of just the debug version. Also, the entire debug output module can now
7685 be
7686 configured out of the ACPICA build if desired. One new file added,
7687 executer/exdebug.c. Lin Ming, Bob Moore.
7688
7689 Added header support for the ACPI MCHI table (Management Controller Host
7690 Interface Table). This table was added in ACPI 4.0, but the defining
7691 document
7692 has only recently become available.
7693
7694 Standardized output of integer values for ACPICA warnings/errors. Always
7695 use
7696 0x prefix for hex output, always use %u for unsigned integer decimal
7697 output.
7698 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
7699 400
7700 invocations.) These invocations were converted from the original
7701 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
7702
7703 Example Code and Data Size: These are the sizes for the OS-independent
7704 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7705 debug version of the code includes the debug output trace mechanism and
7706 has a
7707 much larger code and data size.
7708
7709 Previous Release:
7710 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
7711 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
7712 Current Release:
7713 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
7714 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
7715
7716 2) iASL Compiler/Disassembler and Tools:
7717
7718 iASL: Implemented typechecking support for static (non-control method)
7719 predefined named objects that are declared with the Name() operator. For
7720 example, the type of this object is now validated to be of type Integer:
7721 Name(_BBN, 1). This change migrates the compiler to using the core
7722 predefined
7723 name table instead of maintaining a local version. Added a new file,
7724 aslpredef.c. ACPICA BZ 832.
7725
7726 Disassembler: Added support for the ACPI 4.0 MCHI table.
7727
7728 ----------------------------------------
7729 21 January 2010. Summary of changes for version 20100121:
7730
7731 1) ACPI CA Core Subsystem:
7732
7733 Added the 2010 copyright to all module headers and signons. This affects
7734 virtually every file in the ACPICA core subsystem, the iASL compiler, the
7735 tools/utilities, and the test suites.
7736
7737 Implemented a change to the AcpiGetDevices interface to eliminate
7738 unnecessary
7739 invocations of the _STA method. In the case where a specific _HID is
7740 requested, do not run _STA until a _HID match is found. This eliminates
7741 potentially dozens of _STA calls during a search for a particular
7742 device/HID,
7743 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
7744
7745 Implemented an additional repair for predefined method return values.
7746 Attempt
7747 to repair unexpected NULL elements within returned Package objects.
7748 Create
7749 an
7750 Integer of value zero, a NULL String, or a zero-length Buffer as
7751 appropriate.
7752 ACPICA BZ 818. Lin Ming, Bob Moore.
7753
7754 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
7755 the
7756 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
7757 (with
7758 64-bit AML integers). It is now obsolete and this change removes it from
7759 the
7760 ACPICA code base, replaced by UINT64. The original typedef has been
7761 retained
7762 for now for compatibility with existing device driver code. ACPICA BZ
7763 824.
7764
7765 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
7766 in
7767 the parse tree object.
7768
7769 Added additional warning options for the gcc-4 generation. Updated the
7770 source
7771 accordingly. This includes some code restructuring to eliminate
7772 unreachable
7773 code, elimination of some gotos, elimination of unused return values,
7774 some
7775 additional casting, and removal of redundant declarations.
7776
7777 Example Code and Data Size: These are the sizes for the OS-independent
7778 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7779 debug version of the code includes the debug output trace mechanism and
7780 has a
7781 much larger code and data size.
7782
7783 Previous Release:
7784 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
7785 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
7786 Current Release:
7787 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
7788 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
7789
7790 2) iASL Compiler/Disassembler and Tools:
7791
7792 No functional changes for this release.
7793
7794 ----------------------------------------
7795 14 December 2009. Summary of changes for version 20091214:
7796
7797 1) ACPI CA Core Subsystem:
7798
7799 Enhanced automatic data type conversions for predefined name repairs.
7800 This
7801 change expands the automatic repairs/conversions for predefined name
7802 return
7803 values to make Integers, Strings, and Buffers fully interchangeable.
7804 Also,
7805 a
7806 Buffer can be converted to a Package of Integers if necessary. The
7807 nsrepair.c
7808 module was completely restructured. Lin Ming, Bob Moore.
7809
7810 Implemented automatic removal of null package elements during predefined
7811 name
7812 repairs. This change will automatically remove embedded and trailing NULL
7813 package elements from returned package objects that are defined to
7814 contain
7815 a
7816 variable number of sub-packages. The driver is then presented with a
7817 package
7818 with no null elements to deal with. ACPICA BZ 819.
7819
7820 Implemented a repair for the predefined _FDE and _GTM names. The expected
7821 return value for both names is a Buffer of 5 DWORDs. This repair fixes
7822 two
7823 possible problems (both seen in the field), where a package of integers
7824 is
7825 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
7826 Kim.
7827
7828 Implemented additional module-level code support. This change will
7829 properly
7830 execute module-level code that is not at the root of the namespace (under
7831 a
7832 Device object, etc.). Now executes the code within the current scope
7833 instead
7834 of the root. ACPICA BZ 762. Lin Ming.
7835
7836 Fixed possible mutex acquisition errors when running _REG methods. Fixes
7837 a
7838 problem where mutex errors can occur when running a _REG method that is
7839 in
7840 the same scope as a method-defined operation region or an operation
7841 region
7842 under a module-level IF block. This type of code is rare, so the problem
7843 has
7844 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
7845
7846 Fixed a possible memory leak during module-level code execution. An
7847 object
7848 could be leaked for each block of executed module-level code if the
7849 interpreter slack mode is enabled This change deletes any implicitly
7850 returned
7851 object from the module-level code block. Lin Ming.
7852
7853 Removed messages for successful predefined repair(s). The repair
7854 mechanism
7855 was considered too wordy. Now, messages are only unconditionally emitted
7856 if
7857 the return object cannot be repaired. Existing messages for successful
7858 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
7859 827.
7860
7861 Example Code and Data Size: These are the sizes for the OS-independent
7862 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7863 debug version of the code includes the debug output trace mechanism and
7864 has a
7865 much larger code and data size.
7866
7867 Previous Release:
7868 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
7869 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
7870 Current Release:
7871 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
7872 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
7873
7874 2) iASL Compiler/Disassembler and Tools:
7875
7876 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
7877 files
7878 were no longer automatically removed at the termination of the compile.
7879
7880 acpiexec: Implemented the -f option to specify default region fill value.
7881 This option specifies the value used to initialize buffers that simulate
7882 operation regions. Default value is zero. Useful for debugging problems
7883 that
7884 depend on a specific initial value for a region or field.
7885
7886 ----------------------------------------
7887 12 November 2009. Summary of changes for version 20091112:
7888
7889 1) ACPI CA Core Subsystem:
7890
7891 Implemented a post-order callback to AcpiWalkNamespace. The existing
7892 interface only has a pre-order callback. This change adds an additional
7893 parameter for a post-order callback which will be more useful for bus
7894 scans.
7895 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
7896
7897 Modified the behavior of the operation region memory mapping cache for
7898 SystemMemory. Ensure that the memory mappings created for operation
7899 regions
7900 do not cross 4K page boundaries. Crossing a page boundary while mapping
7901 regions can cause kernel warnings on some hosts if the pages have
7902 different
7903 attributes. Such regions are probably BIOS bugs, and this is the
7904 workaround.
7905 Linux BZ 14445. Lin Ming.
7906
7907 Implemented an automatic repair for predefined methods that must return
7908 sorted lists. This change will repair (by sorting) packages returned by
7909 _ALR,
7910 _PSS, and _TSS. Drivers can now assume that the packages are correctly
7911 sorted
7912 and do not contain NULL package elements. Adds one new file,
7913 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
7914
7915 Fixed a possible fault during predefined name validation if a return
7916 Package
7917 object contains NULL elements. Also adds a warning if a NULL element is
7918 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
7919 may
7920 include repair or removal of all such NULL elements where possible.
7921
7922 Implemented additional module-level executable AML code support. This
7923 change
7924 will execute module-level code that is not at the root of the namespace
7925 (under a Device object, etc.) at table load time. Module-level executable
7926 AML
7927 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
7928
7929 Implemented a new internal function to create Integer objects. This
7930 function
7931 simplifies miscellaneous object creation code. ACPICA BZ 823.
7932
7933 Reduced the severity of predefined repair messages, Warning to Info.
7934 Since
7935 the object was successfully repaired, a warning is too severe. Reduced to
7936 an
7937 info message for now. These messages may eventually be changed to debug-
7938 only.
7939 ACPICA BZ 812.
7940
7941 Example Code and Data Size: These are the sizes for the OS-independent
7942 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7943 debug version of the code includes the debug output trace mechanism and
7944 has a
7945 much larger code and data size.
7946
7947 Previous Release:
7948 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
7949 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
7950 Current Release:
7951 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
7952 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
7953
7954 2) iASL Compiler/Disassembler and Tools:
7955
7956 iASL: Implemented Switch() with While(1) so that Break works correctly.
7957 This
7958 change correctly implements the Switch operator with a surrounding
7959 While(1)
7960 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
7961
7962 iASL: Added a message if a package initializer list is shorter than
7963 package
7964 length. Adds a new remark for a Package() declaration if an initializer
7965 list
7966 exists, but is shorter than the declared length of the package. Although
7967 technically legal, this is probably a coding error and it is seen in the
7968 field. ACPICA BZ 815. Lin Ming, Bob Moore.
7969
7970 iASL: Fixed a problem where the compiler could fault after the maximum
7971 number
7972 of errors was reached (200).
7973
7974 acpixtract: Fixed a possible warning for pointer cast if the compiler
7975 warning
7976 level set very high.
7977
7978 ----------------------------------------
7979 13 October 2009. Summary of changes for version 20091013:
7980
7981 1) ACPI CA Core Subsystem:
7982
7983 Fixed a problem where an Operation Region _REG method could be executed
7984 more
7985 than once. If a custom address space handler is installed by the host
7986 before
7987 the "initialize operation regions" phase of the ACPICA initialization,
7988 any
7989 _REG methods for that address space could be executed twice. This change
7990 fixes the problem. ACPICA BZ 427. Lin Ming.
7991
7992 Fixed a possible memory leak for the Scope() ASL operator. When the exact
7993 invocation of "Scope(\)" is executed (change scope to root), one internal
7994 operand object was leaked. Lin Ming.
7995
7996 Implemented a run-time repair for the _MAT predefined method. If the _MAT
7997 return value is defined as a Field object in the AML, and the field
7998 size is less than or equal to the default width of an integer (32 or
7999 64),_MAT
8000 can incorrectly return an Integer instead of a Buffer. ACPICA now
8001 automatically repairs this problem. ACPICA BZ 810.
8002
8003 Implemented a run-time repair for the _BIF and _BIX predefined methods.
8004 The
8005 "OEM Information" field is often incorrectly returned as an Integer with
8006 value zero if the field is not supported by the platform. This is due to
8007 an
8008 ambiguity in the ACPI specification. The field should always be a string.
8009 ACPICA now automatically repairs this problem by returning a NULL string
8010 within the returned Package. ACPICA BZ 807.
8011
8012 Example Code and Data Size: These are the sizes for the OS-independent
8013 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8014 debug version of the code includes the debug output trace mechanism and
8015 has a
8016 much larger code and data size.
8017
8018 Previous Release:
8019 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
8020 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
8021 Current Release:
8022 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
8023 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
8024
8025 2) iASL Compiler/Disassembler and Tools:
8026
8027 Disassembler: Fixed a problem where references to external symbols that
8028 contained one or more parent-prefixes (carats) were not handled
8029 correctly,
8030 possibly causing a fault. ACPICA BZ 806. Lin Ming.
8031
8032 Disassembler: Restructured the code so that all functions that handle
8033 external symbols are in a single module. One new file is added,
8034 common/dmextern.c.
8035
8036 AML Debugger: Added a max count argument for the Batch command (which
8037 executes multiple predefined methods within the namespace.)
8038
8039 iASL: Updated the compiler documentation (User Reference.) Available at
8040 http://www.acpica.org/documentation/. ACPICA BZ 750.
8041
8042 AcpiXtract: Updated for Lint and other formatting changes. Close all open
8043 files.
8044
8045 ----------------------------------------
8046 03 September 2009. Summary of changes for version 20090903:
8047
8048 1) ACPI CA Core Subsystem:
8049
8050 For Windows Vista compatibility, added the automatic execution of an _INI
8051 method located at the namespace root (\_INI). This method is executed at
8052 table load time. This support is in addition to the automatic execution
8053 of
8054 \_SB._INI. Lin Ming.
8055
8056 Fixed a possible memory leak in the interpreter for AML package objects
8057 if
8058 the package initializer list is longer than the defined size of the
8059 package.
8060 This apparently can only happen if the BIOS changes the package size on
8061 the
8062 fly (seen in a _PSS object), as ASL compilers do not allow this. The
8063 interpreter will truncate the package to the defined size (and issue an
8064 error
8065 message), but previously could leave the extra objects undeleted if they
8066 were
8067 pre-created during the argument processing (such is the case if the
8068 package
8069 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
8070
8071 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
8072 This has been reported in the field. Previously, ACPICA would zero out
8073 the
8074 buffer/string. Now, the operation is treated as a noop. Provides Windows
8075 compatibility. ACPICA BZ 803. Lin Ming.
8076
8077 Removed an extraneous error message for ASL constructs of the form
8078 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
8079 statements
8080 are seen in many BIOSs and are once again treated as NOOPs and no error
8081 is
8082 emitted when they are encountered. ACPICA BZ 785.
8083
8084 Fixed an extraneous warning message if a _DSM reserved method returns a
8085 Package object. _DSM can return any type of object, so validation on the
8086 return type cannot be performed. ACPICA BZ 802.
8087
8088 Example Code and Data Size: These are the sizes for the OS-independent
8089 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8090 debug version of the code includes the debug output trace mechanism and
8091 has a
8092 much larger code and data size.
8093
8094 Previous Release:
8095 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
8096 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
8097 Current Release:
8098 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
8099 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
8100
8101 2) iASL Compiler/Disassembler and Tools:
8102
8103 iASL: Fixed a problem with the use of the Alias operator and Resource
8104 Templates. The correct alias is now constructed and no error is emitted.
8105 ACPICA BZ 738.
8106
8107 iASL: Implemented the -I option to specify additional search directories
8108 for
8109 include files. Allows multiple additional search paths for include files.
8110 Directories are searched in the order specified on the command line
8111 (after
8112 the local directory is searched.) ACPICA BZ 800.
8113
8114 iASL: Fixed a problem where the full pathname for include files was not
8115 emitted for warnings/errors. This caused the IDE support to not work
8116 properly. ACPICA BZ 765.
8117
8118 iASL: Implemented the -@ option to specify a Windows-style response file
8119 containing additional command line options. ACPICA BZ 801.
8120
8121 AcpiExec: Added support to load multiple AML files simultaneously (such
8122 as
8123 a
8124 DSDT and multiple SSDTs). Also added support for wildcards within the AML
8125 pathname. These features allow all machine tables to be easily loaded and
8126 debugged together. ACPICA BZ 804.
8127
8128 Disassembler: Added missing support for disassembly of HEST table Error
8129 Bank
8130 subtables.
8131
8132 ----------------------------------------
8133 30 July 2009. Summary of changes for version 20090730:
8134
8135 The ACPI 4.0 implementation for ACPICA is complete with this release.
8136
8137 1) ACPI CA Core Subsystem:
8138
8139 ACPI 4.0: Added header file support for all new and changed ACPI tables.
8140 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
8141 new
8142 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
8143 BERT,
8144 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
8145 There
8146 have been some ACPI 4.0 changes to other existing tables. Split the large
8147 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
8148
8149 ACPI 4.0: Implemented predefined name validation for all new names. There
8150 are
8151 31 new names in ACPI 4.0. The predefined validation module was split into
8152 two
8153 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
8154
8155 Implemented support for so-called "module-level executable code". This is
8156 executable AML code that exists outside of any control method and is
8157 intended
8158 to be executed at table load time. Although illegal since ACPI 2.0, this
8159 type
8160 of code still exists and is apparently still being created. Blocks of
8161 this
8162 code are now detected and executed as intended. Currently, the code
8163 blocks
8164 must exist under either an If, Else, or While construct; these are the
8165 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
8166
8167 Implemented an automatic dynamic repair for predefined names that return
8168 nested Package objects. This applies to predefined names that are defined
8169 to
8170 return a variable-length Package of sub-packages. If the number of sub-
8171 packages is one, BIOS code is occasionally seen that creates a simple
8172 single
8173 package with no sub-packages. This code attempts to fix the problem by
8174 wrapping a new package object around the existing package. These methods
8175 can
8176 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
8177 BZ
8178 790.
8179
8180 Fixed a regression introduced in 20090625 for the AcpiGetDevices
8181 interface.
8182 The _HID/_CID matching was broken and no longer matched IDs correctly.
8183 ACPICA
8184 BZ 793.
8185
8186 Fixed a problem with AcpiReset where the reset would silently fail if the
8187 register was one of the protected I/O ports. AcpiReset now bypasses the
8188 port
8189 validation mechanism. This may eventually be driven into the
8190 AcpiRead/Write
8191 interfaces.
8192
8193 Fixed a regression related to the recent update of the AcpiRead/Write
8194 interfaces. A sleep/suspend could fail if the optional PM2 Control
8195 register
8196 does not exist during an attempt to write the Bus Master Arbitration bit.
8197 (However, some hosts already delete the code that writes this bit, and
8198 the
8199 code may in fact be obsolete at this date.) ACPICA BZ 799.
8200
8201 Fixed a problem where AcpiTerminate could fault if inadvertently called
8202 twice
8203 in succession. ACPICA BZ 795.
8204
8205 Example Code and Data Size: These are the sizes for the OS-independent
8206 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8207 debug version of the code includes the debug output trace mechanism and
8208 has a
8209 much larger code and data size.
8210
8211 Previous Release:
8212 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
8213 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
8214 Current Release:
8215 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
8216 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
8217
8218 2) iASL Compiler/Disassembler and Tools:
8219
8220 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
8221 changes to existing tables. ACPICA BZ 775.
8222
8223 ----------------------------------------
8224 25 June 2009. Summary of changes for version 20090625:
8225
8226 The ACPI 4.0 Specification was released on June 16 and is available at
8227 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
8228 continue for the next few releases.
8229
8230 1) ACPI CA Core Subsystem:
8231
8232 ACPI 4.0: Implemented interpreter support for the IPMI operation region
8233 address space. Includes support for bi-directional data buffers and an
8234 IPMI
8235 address space handler (to be installed by an IPMI device driver.) ACPICA
8236 BZ
8237 773. Lin Ming.
8238
8239 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
8240 Includes
8241 support in both the header files and the disassembler.
8242
8243 Completed a major update for the AcpiGetObjectInfo external interface.
8244 Changes include:
8245 - Support for variable, unlimited length HID, UID, and CID strings.
8246 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
8247 etc.)
8248 - Call the _SxW power methods on behalf of a device object.
8249 - Determine if a device is a PCI root bridge.
8250 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
8251 These changes will require an update to all callers of this interface.
8252 See
8253 the updated ACPICA Programmer Reference for details. One new source file
8254 has
8255 been added - utilities/utids.c. ACPICA BZ 368, 780.
8256
8257 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
8258 transfers. The Value parameter has been extended from 32 bits to 64 bits
8259 in
8260 order to support new ACPI 4.0 tables. These changes will require an
8261 update
8262 to
8263 all callers of these interfaces. See the ACPICA Programmer Reference for
8264 details. ACPICA BZ 768.
8265
8266 Fixed several problems with AcpiAttachData. The handler was not invoked
8267 when
8268 the host node was deleted. The data sub-object was not automatically
8269 deleted
8270 when the host node was deleted. The interface to the handler had an
8271 unused
8272 parameter, this was removed. ACPICA BZ 778.
8273
8274 Enhanced the function that dumps ACPI table headers. All non-printable
8275 characters in the string fields are now replaced with '?' (Signature,
8276 OemId,
8277 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
8278 these fields are occasionally seen in the field. ACPICA BZ 788.
8279
8280 Fixed a problem with predefined method repair code where the code that
8281 attempts to repair/convert an object of incorrect type is only executed
8282 on
8283 the first time the predefined method is called. The mechanism that
8284 disables
8285 warnings on subsequent calls was interfering with the repair mechanism.
8286 ACPICA BZ 781.
8287
8288 Fixed a possible memory leak in the predefined validation/repair code
8289 when
8290 a
8291 buffer is automatically converted to an expected string object.
8292
8293 Removed obsolete 16-bit files from the distribution and from the current
8294 git
8295 tree head. ACPICA BZ 776.
8296
8297 Example Code and Data Size: These are the sizes for the OS-independent
8298 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8299 debug version of the code includes the debug output trace mechanism and
8300 has a
8301 much larger code and data size.
8302
8303 Previous Release:
8304 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
8305 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
8306 Current Release:
8307 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
8308 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
8309
8310 2) iASL Compiler/Disassembler and Tools:
8311
8312 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
8313 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
8314
8315 ACPI 4.0: iASL - implemented compile-time validation support for all new
8316 predefined names and control methods (31 total). ACPICA BZ 769.
8317
8318 ----------------------------------------
8319 21 May 2009. Summary of changes for version 20090521:
8320
8321 1) ACPI CA Core Subsystem:
8322
8323 Disabled the preservation of the SCI enable bit in the PM1 control
8324 register.
8325 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
8326 to
8327 be
8328 a "preserved" bit - "OSPM always preserves this bit position", section
8329 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
8330 because the bit needs to be explicitly set by the OS as a workaround. No
8331 machines fail if the bit is not preserved. Therefore, ACPICA no longer
8332 attempts to preserve this bit.
8333
8334 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
8335 incorrectly formed _PRT package could cause a fault. Added validation to
8336 ensure that each package element is actually a sub-package.
8337
8338 Implemented a new interface to install or override a single control
8339 method,
8340 AcpiInstallMethod. This interface is useful when debugging in order to
8341 repair
8342 an existing method or to install a missing method without having to
8343 override
8344 the entire ACPI table. See the ACPICA Programmer Reference for use and
8345 examples. Lin Ming, Bob Moore.
8346
8347 Fixed several reference count issues with the DdbHandle object that is
8348 created from a Load or LoadTable operator. Prevent premature deletion of
8349 the
8350 object. Also, mark the object as invalid once the table has been
8351 unloaded.
8352 This is needed because the handle itself may not be deleted after the
8353 table
8354 unload, depending on whether it has been stored in a named object by the
8355 caller. Lin Ming.
8356
8357 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
8358 mutexes of the same sync level are acquired but then not released in
8359 strict
8360 opposite order, the internally maintained Current Sync Level becomes
8361 confused
8362 and can cause subsequent execution errors. ACPICA BZ 471.
8363
8364 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
8365 specification has been changed to make the SyncLevel for mutex objects
8366 more
8367 useful. When releasing a mutex, the SyncLevel of the mutex must now be
8368 the
8369 same as the current sync level. This makes more sense than the previous
8370 rule
8371 (SyncLevel less than or equal). This change updates the code to match the
8372 specification.
8373
8374 Fixed a problem with the local version of the AcpiOsPurgeCache function.
8375 The
8376 (local) cache must be locked during all cache object deletions. Andrew
8377 Baumann.
8378
8379 Updated the Load operator to use operation region interfaces. This
8380 replaces
8381 direct memory mapping with region access calls. Now, all region accesses
8382 go
8383 through the installed region handler as they should.
8384
8385 Simplified and optimized the NsGetNextNode function. Reduced parameter
8386 count
8387 and reduced code for this frequently used function.
8388
8389 Example Code and Data Size: These are the sizes for the OS-independent
8390 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8391 debug version of the code includes the debug output trace mechanism and
8392 has a
8393 much larger code and data size.
8394
8395 Previous Release:
8396 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
8397 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
8398 Current Release:
8399 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
8400 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
8401
8402 2) iASL Compiler/Disassembler and Tools:
8403
8404 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
8405 problems
8406 with sub-table disassembly and handling invalid sub-tables. Attempt
8407 recovery
8408 after an invalid sub-table ID.
8409
8410 ----------------------------------------
8411 22 April 2009. Summary of changes for version 20090422:
8412
8413 1) ACPI CA Core Subsystem:
8414
8415 Fixed a compatibility issue with the recently released I/O port
8416 protection
8417 mechanism. For windows compatibility, 1) On a port protection violation,
8418 simply ignore the request and do not return an exception (allow the
8419 control
8420 method to continue execution.) 2) If only part of the request overlaps a
8421 protected port, read/write the individual ports that are not protected.
8422 Linux
8423 BZ 13036. Lin Ming
8424
8425 Enhanced the execution of the ASL/AML BreakPoint operator so that it
8426 actually
8427 breaks into the AML debugger if the debugger is present. This matches the
8428 ACPI-defined behavior.
8429
8430 Fixed several possible warnings related to the use of the configurable
8431 ACPI_THREAD_ID. This type can now be configured as either an integer or a
8432 pointer with no warnings. Also fixes several warnings in printf-like
8433 statements for the 64-bit build when the type is configured as a pointer.
8434 ACPICA BZ 766, 767.
8435
8436 Fixed a number of possible warnings when compiling with gcc 4+ (depending
8437 on
8438 warning options.) Examples include printf formats, aliasing, unused
8439 globals,
8440 missing prototypes, missing switch default statements, use of non-ANSI
8441 library functions, use of non-ANSI constructs. See generate/unix/Makefile
8442 for
8443 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
8444
8445 Example Code and Data Size: These are the sizes for the OS-independent
8446 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8447 debug version of the code includes the debug output trace mechanism and
8448 has a
8449 much larger code and data size.
8450
8451 Previous Release:
8452 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
8453 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
8454 Current Release:
8455 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
8456 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
8457
8458 2) iASL Compiler/Disassembler and Tools:
8459
8460 iASL: Fixed a generation warning from Bison 2.3 and fixed several
8461 warnings
8462 on
8463 the 64-bit build.
8464
8465 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
8466 not
8467 correctly digest Windows/DOS formatted files (with CR/LF).
8468
8469 iASL: Added a new option for "quiet mode" (-va) that produces only the
8470 compilation summary, not individual errors and warnings. Useful for large
8471 batch compilations.
8472
8473 AcpiExec: Implemented a new option (-z) to enable a forced
8474 semaphore/mutex
8475 timeout that can be used to detect hang conditions during execution of
8476 AML
8477 code (includes both internal semaphores and AML-defined mutexes and
8478 events.)
8479
8480 Added new makefiles for the generation of acpica in a generic unix-like
8481 environment. These makefiles are intended to generate the acpica tools
8482 and
8483 utilities from the original acpica git source tree structure.
8484
8485 Test Suites: Updated and cleaned up the documentation files. Updated the
8486 copyrights to 2009, affecting all source files. Use the new version of
8487 iASL
8488 with quiet mode. Increased the number of available semaphores in the
8489 Windows
8490 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
8491 added
8492 an alternate implementation of the semaphore timeout to allow aslts to
8493 execute fully on Cygwin.
8494
8495 ----------------------------------------
8496 20 March 2009. Summary of changes for version 20090320:
8497
8498 1) ACPI CA Core Subsystem:
8499
8500 Fixed a possible race condition between AcpiWalkNamespace and dynamic
8501 table
8502 unloads. Added a reader/writer locking mechanism to allow multiple
8503 concurrent
8504 namespace walks (readers), but block a dynamic table unload until it can
8505 gain
8506 exclusive write access to the namespace. This fixes a problem where a
8507 table
8508 unload could (possibly catastrophically) delete the portion of the
8509 namespace
8510 that is currently being examined by a walk. Adds a new file, utlock.c,
8511 that
8512 implements the reader/writer lock mechanism. ACPICA BZ 749.
8513
8514 Fixed a regression introduced in version 20090220 where a change to the
8515 FADT
8516 handling could cause the ACPICA subsystem to access non-existent I/O
8517 ports.
8518
8519 Modified the handling of FADT register and table (FACS/DSDT) addresses.
8520 The
8521 FADT can contain both 32-bit and 64-bit versions of these addresses.
8522 Previously, the 64-bit versions were favored, meaning that if both 32 and
8523 64
8524 versions were valid, but not equal, the 64-bit version was used. This was
8525 found to cause some machines to fail. Now, in this case, the 32-bit
8526 version
8527 is used instead. This now matches the Windows behavior.
8528
8529 Implemented a new mechanism to protect certain I/O ports. Provides
8530 Microsoft
8531 compatibility and protects the standard PC I/O ports from access via AML
8532 code. Adds a new file, hwvalid.c
8533
8534 Fixed a possible extraneous warning message from the FADT support. The
8535 message warns of a 32/64 length mismatch between the legacy and GAS
8536 definitions for a register.
8537
8538 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
8539 is
8540 made obsolete by the port protection mechanism above. It was previously
8541 used
8542 to validate the entire address range of an operation region, which could
8543 be
8544 incorrect if the range included illegal ports, but fields within the
8545 operation region did not actually access those ports. Validation is now
8546 performed on a per-field basis instead of the entire region.
8547
8548 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
8549 Ignored bits must be "preserved" according to the ACPI spec. Usually,
8550 this
8551 means a read/modify/write when writing to the register. However, for
8552 status
8553 registers, writing a one means clear the event. Writing a zero means
8554 preserve
8555 the event (do not clear.) This behavior is clarified in the ACPI 4.0
8556 spec,
8557 and the ACPICA code now simply always writes a zero to the ignored bit.
8558
8559 Modified the handling of ignored bits for the PM1 A/B Control Registers.
8560 As
8561 per the ACPI specification, for the control registers, preserve
8562 (read/modify/write) all bits that are defined as either reserved or
8563 ignored.
8564
8565 Updated the handling of write-only bits in the PM1 A/B Control Registers.
8566 When reading the register, zero the write-only bits as per the ACPI spec.
8567 ACPICA BZ 443. Lin Ming.
8568
8569 Removed "Linux" from the list of supported _OSI strings. Linux no longer
8570 wants to reply true to this request. The Windows strings are the only
8571 paths
8572 through the AML that are tested and known to work properly.
8573
8574 Previous Release:
8575 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
8576 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
8577 Current Release:
8578 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
8579 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
8580
8581 2) iASL Compiler/Disassembler and Tools:
8582
8583 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
8584 and
8585 aetables.c
8586
8587 ----------------------------------------
8588 20 February 2009. Summary of changes for version 20090220:
8589
8590 1) ACPI CA Core Subsystem:
8591
8592 Optimized the ACPI register locking. Removed locking for reads from the
8593 ACPI
8594 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
8595 is
8596 not required when reading the single-bit registers. The
8597 AcpiGetRegisterUnlocked function is no longer needed and has been
8598 removed.
8599 This will improve performance for reads on these registers. ACPICA BZ
8600 760.
8601
8602 Fixed the parameter validation for AcpiRead/Write. Now return
8603 AE_BAD_PARAMETER if the input register pointer is null, and
8604 AE_BAD_ADDRESS
8605 if
8606 the register has an address of zero. Previously, these cases simply
8607 returned
8608 AE_OK. For optional registers such as PM1B status/enable/control, the
8609 caller
8610 should check for a valid register address before calling. ACPICA BZ 748.
8611
8612 Renamed the external ACPI bit register access functions. Renamed
8613 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
8614 functions. The new names are AcpiReadBitRegister and
8615 AcpiWriteBitRegister.
8616 Also, restructured the code for these functions by simplifying the code
8617 path
8618 and condensing duplicate code to reduce code size.
8619
8620 Added new functions to transparently handle the possibly split PM1 A/B
8621 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
8622 functions
8623 now handle the split registers for PM1 Status, Enable, and Control.
8624 ACPICA
8625 BZ
8626 746.
8627
8628 Added a function to handle the PM1 control registers,
8629 AcpiHwWritePm1Control.
8630 This function writes both of the PM1 control registers (A/B). These
8631 registers
8632 are different than the PM1 A/B status and enable registers in that
8633 different
8634 values can be written to the A/B registers. Most notably, the SLP_TYP
8635 bits
8636 can be different, as per the values returned from the _Sx predefined
8637 methods.
8638
8639 Removed an extra register write within AcpiHwClearAcpiStatus. This
8640 function
8641 was writing an optional PM1B status register twice. The existing call to
8642 the
8643 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
8644 A/B
8645 register. ACPICA BZ 751.
8646
8647 Split out the PM1 Status registers from the FADT. Added new globals for
8648 these
8649 registers (A/B), similar to the way the PM1 Enable registers are handled.
8650 Instead of overloading the FADT Event Register blocks. This makes the
8651 code
8652 clearer and less prone to error.
8653
8654 Fixed the warning message for when the platform contains too many ACPI
8655 tables
8656 for the default size of the global root table data structure. The
8657 calculation
8658 for the truncation value was incorrect.
8659
8660 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
8661 obsolete macro, since it is now a simple reference to ->common.type.
8662 There
8663 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
8664
8665 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
8666 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
8667 simply SLEEP_TYPE. ACPICA BZ 754.
8668
8669 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
8670 function is only needed on 64-bit host operating systems and is thus not
8671 included for 32-bit hosts.
8672
8673 Debug output: print the input and result for invocations of the _OSI
8674 reserved
8675 control method via the ACPI_LV_INFO debug level. Also, reduced some of
8676 the
8677 verbosity of this debug level. Len Brown.
8678
8679 Example Code and Data Size: These are the sizes for the OS-independent
8680 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8681 debug version of the code includes the debug output trace mechanism and
8682 has a
8683 much larger code and data size.
8684
8685 Previous Release:
8686 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
8687 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
8688 Current Release:
8689 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
8690 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
8691
8692 2) iASL Compiler/Disassembler and Tools:
8693
8694 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
8695 various legal performance profiles.
8696
8697 ----------------------------------------
8698 23 January 2009. Summary of changes for version 20090123:
8699
8700 1) ACPI CA Core Subsystem:
8701
8702 Added the 2009 copyright to all module headers and signons. This affects
8703 virtually every file in the ACPICA core subsystem, the iASL compiler, and
8704 the tools/utilities.
8705
8706 Implemented a change to allow the host to override any ACPI table,
8707 including
8708 dynamically loaded tables. Previously, only the DSDT could be replaced by
8709 the
8710 host. With this change, the AcpiOsTableOverride interface is called for
8711 each
8712 table found in the RSDT/XSDT during ACPICA initialization, and also
8713 whenever
8714 a table is dynamically loaded via the AML Load operator.
8715
8716 Updated FADT flag definitions, especially the Boot Architecture flags.
8717
8718 Debugger: For the Find command, automatically pad the input ACPI name
8719 with
8720 underscores if the name is shorter than 4 characters. This enables a
8721 match
8722 with the actual namespace entry which is itself padded with underscores.
8723
8724 Example Code and Data Size: These are the sizes for the OS-independent
8725 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8726 debug version of the code includes the debug output trace mechanism and
8727 has a
8728 much larger code and data size.
8729
8730 Previous Release:
8731 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
8732 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
8733 Current Release:
8734 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
8735 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
8736
8737 2) iASL Compiler/Disassembler and Tools:
8738
8739 Fix build error under Bison-2.4.
8740
8741 Dissasembler: Enhanced FADT support. Added decoding of the Boot
8742 Architecture
8743 flags. Now decode all flags, regardless of the FADT version. Flag output
8744 includes the FADT version which first defined each flag.
8745
8746 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
8747 and
8748 DSDT). Windows only.
8749
8750 ----------------------------------------
8751 04 December 2008. Summary of changes for version 20081204:
8752
8753 1) ACPI CA Core Subsystem:
8754
8755 The ACPICA Programmer Reference has been completely updated and revamped
8756 for
8757 this release. This includes updates to the external interfaces, OSL
8758 interfaces, the overview sections, and the debugger reference.
8759
8760 Several new ACPICA interfaces have been implemented and documented in the
8761 programmer reference:
8762 AcpiReset - Writes the reset value to the FADT-defined reset register.
8763 AcpiDisableAllGpes - Disable all available GPEs.
8764 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
8765 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
8766 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
8767 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
8768 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
8769
8770 Most of the public ACPI hardware-related interfaces have been moved to a
8771 new
8772 file, components/hardware/hwxface.c
8773
8774 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
8775 register lengths within the FADT are now used, and the low level ACPI
8776 register access no longer hardcodes the ACPI register lengths. Given that
8777 there may be some risk in actually trusting the FADT register lengths, a
8778 run-
8779 time option was added to fall back to the default hardcoded lengths if
8780 the
8781 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
8782 option is set to true for now, and a warning is issued if a suspicious
8783 FADT
8784 register length is overridden with the default value.
8785
8786 Fixed a reference count issue in NsRepairObject. This problem was
8787 introduced
8788 in version 20081031 as part of a fix to repair Buffer objects within
8789 Packages. Lin Ming.
8790
8791 Added semaphore support to the Linux/Unix application OS-services layer
8792 (OSL). ACPICA BZ 448. Lin Ming.
8793
8794 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
8795 will
8796 be implemented in the OSL, or will binary semaphores be used instead.
8797
8798 Example Code and Data Size: These are the sizes for the OS-independent
8799 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8800 debug version of the code includes the debug output trace mechanism and
8801 has a
8802 much larger code and data size.
8803
8804 Previous Release:
8805 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
8806 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
8807 Current Release:
8808 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
8809 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
8810
8811 2) iASL Compiler/Disassembler and Tools:
8812
8813 iASL: Completed the '-e' option to include additional ACPI tables in
8814 order
8815 to
8816 aid with disassembly and External statement generation. ACPICA BZ 742.
8817 Lin
8818 Ming.
8819
8820 iASL: Removed the "named object in while loop" error. The compiler cannot
8821 determine how many times a loop will execute. ACPICA BZ 730.
8822
8823 Disassembler: Implemented support for FADT revision 2 (MS extension).
8824 ACPICA
8825 BZ 743.
8826
8827 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
8828 MCFG).
8829
8830 ----------------------------------------
8831 31 October 2008. Summary of changes for version 20081031:
8832
8833 1) ACPI CA Core Subsystem:
8834
8835 Restructured the ACPICA header files into public/private. acpi.h now
8836 includes
8837 only the "public" acpica headers. All other acpica headers are "private"
8838 and
8839 should not be included by acpica users. One new file, accommon.h is used
8840 to
8841 include the commonly used private headers for acpica code generation.
8842 Future
8843 plans include moving all private headers to a new subdirectory.
8844
8845 Implemented an automatic Buffer->String return value conversion for
8846 predefined ACPI methods. For these methods (such as _BIF), added
8847 automatic
8848 conversion for return objects that are required to be a String, but a
8849 Buffer
8850 was found instead. This can happen when reading string battery data from
8851 an
8852 operation region, because it used to be difficult to convert the data
8853 from
8854 buffer to string from within the ASL. Ensures that the host OS is
8855 provided
8856 with a valid null-terminated string. Linux BZ 11822.
8857
8858 Updated the FACS waking vector interfaces. Split
8859 AcpiSetFirmwareWakingVector
8860 into two: one for the 32-bit vector, another for the 64-bit vector. This
8861 is
8862 required because the host OS must setup the wake much differently for
8863 each
8864 vector (real vs. protected mode, etc.) and the interface itself should
8865 not
8866 be
8867 deciding which vector to use. Also, eliminated the
8868 GetFirmwareWakingVector
8869 interface, as it served no purpose (only the firmware reads the vector,
8870 OS
8871 only writes the vector.) ACPICA BZ 731.
8872
8873 Implemented a mechanism to escape infinite AML While() loops. Added a
8874 loop
8875 counter to force exit from AML While loops if the count becomes too
8876 large.
8877 This can occur in poorly written AML when the hardware does not respond
8878 within a while loop and the loop does not implement a timeout. The
8879 maximum
8880 loop count is configurable. A new exception code is returned when a loop
8881 is
8882 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
8883
8884 Optimized the execution of AML While loops. Previously, a control state
8885 object was allocated and freed for each execution of the loop. The
8886 optimization is to simply reuse the control state for each iteration.
8887 This
8888 speeds up the raw loop execution time by about 5%.
8889
8890 Enhanced the implicit return mechanism. For Windows compatibility, return
8891 an
8892 implicit integer of value zero for methods that contain no executable
8893 code.
8894 Such methods are seen in the field as stubs (presumably), and can cause
8895 drivers to fail if they expect a return value. Lin Ming.
8896
8897 Allow multiple backslashes as root prefixes in namepaths. In a fully
8898 qualified namepath, allow multiple backslash prefixes. This can happen
8899 (and
8900 is seen in the field) because of the use of a double-backslash in strings
8901 (since backslash is the escape character) causing confusion. ACPICA BZ
8902 739
8903 Lin Ming.
8904
8905 Emit a warning if two different FACS or DSDT tables are discovered in the
8906 FADT. Checks if there are two valid but different addresses for the FACS
8907 and
8908 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
8909
8910 Consolidated the method argument count validation code. Merged the code
8911 that
8912 validates control method argument counts into the predefined validation
8913 module. Eliminates possible multiple warnings for incorrect argument
8914 counts.
8915
8916 Implemented ACPICA example code. Includes code for ACPICA initialization,
8917 handler installation, and calling a control method. Available at
8918 source/tools/examples.
8919
8920 Added a global pointer for FACS table to simplify internal FACS access.
8921 Use
8922 the global pointer instead of using AcpiGetTableByIndex for each FACS
8923 access.
8924 This simplifies the code for the Global Lock and the Firmware Waking
8925 Vector(s).
8926
8927 Example Code and Data Size: These are the sizes for the OS-independent
8928 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8929 debug version of the code includes the debug output trace mechanism and
8930 has a
8931 much larger code and data size.
8932
8933 Previous Release:
8934 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
8935 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
8936 Current Release:
8937 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
8938 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
8939
8940 2) iASL Compiler/Disassembler and Tools:
8941
8942 iASL: Improved disassembly of external method calls. Added the -e option
8943 to
8944 allow the inclusion of additional ACPI tables to help with the
8945 disassembly
8946 of
8947 method invocations and the generation of external declarations during the
8948 disassembly. Certain external method invocations cannot be disassembled
8949 properly without the actual declaration of the method. Use the -e option
8950 to
8951 include the table where the external method(s) are actually declared.
8952 Most
8953 useful for disassembling SSDTs that make method calls back to the master
8954 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
8955 -d
8956 -e dsdt.aml ssdt1.aml
8957
8958 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
8959 problem where the use of an alias within a namepath would result in a not
8960 found error or cause the compiler to fault. Also now allows forward
8961 references from the Alias operator itself. ACPICA BZ 738.
8962
8963 ----------------------------------------
8964 26 September 2008. Summary of changes for version 20080926:
8965
8966 1) ACPI CA Core Subsystem:
8967
8968 Designed and implemented a mechanism to validate predefined ACPI methods
8969 and
8970 objects. This code validates the predefined ACPI objects (objects whose
8971 names
8972 start with underscore) that appear in the namespace, at the time they are
8973 evaluated. The argument count and the type of the returned object are
8974 validated against the ACPI specification. The purpose of this validation
8975 is
8976 to detect problems with the BIOS-implemented predefined ACPI objects
8977 before
8978 the results are returned to the ACPI-related drivers. Future enhancements
8979 may
8980 include actual repair of incorrect return objects where possible. Two new
8981 files are nspredef.c and acpredef.h.
8982
8983 Fixed a fault in the AML parser if a memory allocation fails during the
8984 Op
8985 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
8986
8987 Fixed an issue with implicit return compatibility. This change improves
8988 the
8989 implicit return mechanism to be more compatible with the MS interpreter.
8990 Lin
8991 Ming, ACPICA BZ 349.
8992
8993 Implemented support for zero-length buffer-to-string conversions. Allow
8994 zero
8995 length strings during interpreter buffer-to-string conversions. For
8996 example,
8997 during the ToDecimalString and ToHexString operators, as well as implicit
8998 conversions. Fiodor Suietov, ACPICA BZ 585.
8999
9000 Fixed two possible memory leaks in the error exit paths of
9001 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
9002 are
9003 similar in that they use a stack of state objects in order to eliminate
9004 recursion. The stack must be fully unwound and deallocated if an error
9005 occurs. Lin Ming. ACPICA BZ 383.
9006
9007 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
9008 global
9009 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
9010 Moore ACPICA BZ 442.
9011
9012 Removed the obsolete version number in module headers. Removed the
9013 "$Revision" number that appeared in each module header. This version
9014 number
9015 was useful under SourceSafe and CVS, but has no meaning under git. It is
9016 not
9017 only incorrect, it could also be misleading.
9018
9019 Example Code and Data Size: These are the sizes for the OS-independent
9020 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9021 debug version of the code includes the debug output trace mechanism and
9022 has a
9023 much larger code and data size.
9024
9025 Previous Release:
9026 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
9027 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
9028 Current Release:
9029 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
9030 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
9031
9032 ----------------------------------------
9033 29 August 2008. Summary of changes for version 20080829:
9034
9035 1) ACPI CA Core Subsystem:
9036
9037 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
9038 Reference. Changes include the elimination of cheating on the Object
9039 field
9040 for the DdbHandle subtype, addition of a reference class field to
9041 differentiate the various reference types (instead of an AML opcode), and
9042 the
9043 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
9044
9045 Reduce an error to a warning for an incorrect method argument count.
9046 Previously aborted with an error if too few arguments were passed to a
9047 control method via the external ACPICA interface. Now issue a warning
9048 instead
9049 and continue. Handles the case where the method inadvertently declares
9050 too
9051 many arguments, but does not actually use the extra ones. Applies mainly
9052 to
9053 the predefined methods. Lin Ming. Linux BZ 11032.
9054
9055 Disallow the evaluation of named object types with no intrinsic value.
9056 Return
9057 AE_TYPE for objects that have no value and therefore evaluation is
9058 undefined:
9059 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
9060 of
9061 these types were allowed, but an exception would be generated at some
9062 point
9063 during the evaluation. Now, the error is generated up front.
9064
9065 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
9066 (nsnames.c). Fixes a leak in the error exit path.
9067
9068 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
9069 debug
9070 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
9071 ACPI_EXCEPTION
9072 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
9073 ACPI_LV_EVENTS.
9074
9075 Removed obsolete and/or unused exception codes from the acexcep.h header.
9076 There is the possibility that certain device drivers may be affected if
9077 they
9078 use any of these exceptions.
9079
9080 The ACPICA documentation has been added to the public git source tree,
9081 under
9082 acpica/documents. Included are the ACPICA programmer reference, the iASL
9083 compiler reference, and the changes.txt release logfile.
9084
9085 Example Code and Data Size: These are the sizes for the OS-independent
9086 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9087 debug version of the code includes the debug output trace mechanism and
9088 has a
9089 much larger code and data size.
9090
9091 Previous Release:
9092 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
9093 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
9094 Current Release:
9095 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
9096 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
9097
9098 2) iASL Compiler/Disassembler and Tools:
9099
9100 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
9101 defines _SCP with 3 arguments. Previous versions defined it with only 1
9102 argument. iASL now allows both definitions.
9103
9104 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
9105 zero-
9106 length subtables when disassembling ACPI tables. Also fixed a couple of
9107 errors where a full 16-bit table type field was not extracted from the
9108 input
9109 properly.
9110
9111 acpisrc: Improve comment counting mechanism for generating source code
9112 statistics. Count first and last lines of multi-line comments as
9113 whitespace,
9114 not comment lines. Handle Linux legal header in addition to standard
9115 acpica
9116 header.
9117
9118 ----------------------------------------
9119
9120 29 July 2008. Summary of changes for version 20080729:
9121
9122 1) ACPI CA Core Subsystem:
9123
9124 Fix a possible deadlock in the GPE dispatch. Remove call to
9125 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
9126 attempt
9127 to acquire the GPE lock but can deadlock since the GPE lock is already
9128 held
9129 at dispatch time. This code was introduced in version 20060831 as a
9130 response
9131 to Linux BZ 6881 and has since been removed from Linux.
9132
9133 Add a function to dereference returned reference objects. Examines the
9134 return
9135 object from a call to AcpiEvaluateObject. Any Index or RefOf references
9136 are
9137 automatically dereferenced in an attempt to return something useful
9138 (these
9139 reference types cannot be converted into an external ACPI_OBJECT.)
9140 Provides
9141 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
9142
9143 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
9144 subtables for the MADT and one new subtable for the SRAT. Includes
9145 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
9146 x2APIC
9147 Specification, June 2008.
9148
9149 Additional error checking for pathname utilities. Add error check after
9150 all
9151 calls to AcpiNsGetPathnameLength. Add status return from
9152 AcpiNsBuildExternalPath and check after all calls. Add parameter
9153 validation
9154 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
9155
9156 Return status from the global init function AcpiUtGlobalInitialize. This
9157 is
9158 used by both the kernel subsystem and the utilities such as iASL
9159 compiler.
9160 The function could possibly fail when the caches are initialized. Yang
9161 Yi.
9162
9163 Add a function to decode reference object types to strings. Created for
9164 improved error messages.
9165
9166 Improve object conversion error messages. Better error messages during
9167 object
9168 conversion from internal to the external ACPI_OBJECT. Used for external
9169 calls
9170 to AcpiEvaluateObject.
9171
9172 Example Code and Data Size: These are the sizes for the OS-independent
9173 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9174 debug version of the code includes the debug output trace mechanism and
9175 has a
9176 much larger code and data size.
9177
9178 Previous Release:
9179 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
9180 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
9181 Current Release:
9182 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
9183 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
9184
9185 2) iASL Compiler/Disassembler and Tools:
9186
9187 Debugger: fix a possible hang when evaluating non-methods. Fixes a
9188 problem
9189 introduced in version 20080701. If the object being evaluated (via
9190 execute
9191 command) is not a method, the debugger can hang while trying to obtain
9192 non-
9193 existent parameters.
9194
9195 iASL: relax error for using reserved "_T_x" identifiers. These names can
9196 appear in a disassembled ASL file if they were emitted by the original
9197 compiler. Instead of issuing an error or warning and forcing the user to
9198 manually change these names, issue a remark instead.
9199
9200 iASL: error if named object created in while loop. Emit an error if any
9201 named
9202 object is created within a While loop. If allowed, this code will
9203 generate
9204 a
9205 run-time error on the second iteration of the loop when an attempt is
9206 made
9207 to
9208 create the same named object twice. ACPICA bugzilla 730.
9209
9210 iASL: Support absolute pathnames for include files. Add support for
9211 absolute
9212 pathnames within the Include operator. previously, only relative
9213 pathnames
9214 were supported.
9215
9216 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
9217 Descriptor.
9218 The ACPI spec requires one interrupt minimum. BZ 423
9219
9220 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
9221 Handles the case for the Interrupt Resource Descriptor where
9222 the ResourceSource argument is omitted but ResourceSourceIndex
9223 is present. Now leave room for the Index. BZ 426
9224
9225 iASL: Prevent error message if CondRefOf target does not exist. Fixes
9226 cases
9227 where an error message is emitted if the target does not exist. BZ 516
9228
9229 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
9230 (get ACPI tables on Windows). This was apparently broken in version
9231 20070919.
9232
9233 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
9234 where
9235 the EOF happens immediately after the last table in the input file. Print
9236 completion message. Previously, no message was displayed in this case.
9237
9238 ----------------------------------------
9239 01 July 2008. Summary of changes for version 20080701:
9240
9241 0) Git source tree / acpica.org
9242
9243 Fixed a problem where a git-clone from http would not transfer the entire
9244 source tree.
9245
9246 1) ACPI CA Core Subsystem:
9247
9248 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
9249 enable bit. Now performs a read-change-write of the enable register
9250 instead
9251 of simply writing out the cached enable mask. This will prevent
9252 inadvertent
9253 enabling of GPEs if a rogue GPE is received during initialization (before
9254 GPE
9255 handlers are installed.)
9256
9257 Implemented a copy for dynamically loaded tables. Previously, dynamically
9258 loaded tables were simply mapped - but on some machines this memory is
9259 corrupted after suspend. Now copy the table to a local buffer. For the
9260 OpRegion case, added checksum verify. Use the table length from the table
9261 header, not the region length. For the Buffer case, use the table length
9262 also. Dennis Noordsij, Bob Moore. BZ 10734
9263
9264 Fixed a problem where the same ACPI table could not be dynamically loaded
9265 and
9266 unloaded more than once. Without this change, a table cannot be loaded
9267 again
9268 once it has been loaded/unloaded one time. The current mechanism does not
9269 unregister a table upon an unload. During a load, if the same table is
9270 found,
9271 this no longer returns an exception. BZ 722
9272
9273 Fixed a problem where the wrong descriptor length was calculated for the
9274 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
9275 EndTag
9276 are calculated as 12 bytes long, but the actual length in the internal
9277 descriptor is 16 because of the round-up to 8 on the 64-bit build.
9278 Reported
9279 by Linn Crosetto. BZ 728
9280
9281 Fixed a possible memory leak in the Unload operator. The DdbHandle
9282 returned
9283 by Load() did not have its reference count decremented during unload,
9284 leading
9285 to a memory leak. Lin Ming. BZ 727
9286
9287 Fixed a possible memory leak when deleting thermal/processor objects. Any
9288 associated notify handlers (and objects) were not being deleted. Fiodor
9289 Suietov. BZ 506
9290
9291 Fixed the ordering of the ASCII names in the global mutex table to match
9292 the
9293 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
9294 only.
9295 Vegard Nossum. BZ 726
9296
9297 Enhanced the AcpiGetObjectInfo interface to return the number of required
9298 arguments if the object is a control method. Added this call to the
9299 debugger
9300 so the proper number of default arguments are passed to a method. This
9301 prevents a warning when executing methods from AcpiExec.
9302
9303 Added a check for an invalid handle in AcpiGetObjectInfo. Return
9304 AE_BAD_PARAMETER if input handle is invalid. BZ 474
9305
9306 Fixed an extraneous warning from exconfig.c on the 64-bit build.
9307
9308 Example Code and Data Size: These are the sizes for the OS-independent
9309 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9310 debug version of the code includes the debug output trace mechanism and
9311 has a
9312 much larger code and data size.
9313
9314 Previous Release:
9315 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
9316 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
9317 Current Release:
9318 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
9319 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
9320
9321 2) iASL Compiler/Disassembler and Tools:
9322
9323 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
9324 resource descriptor names.
9325
9326 iASL: Detect invalid ASCII characters in input (windows version). Removed
9327 the
9328 "-CF" flag from the flex compile, enables correct detection of non-ASCII
9329 characters in the input. BZ 441
9330
9331 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
9332 the
9333 "result of operation not used" warning when the DDB handle returned from
9334 LoadTable is not used. The warning is not needed. BZ 590
9335
9336 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
9337 method
9338 to
9339 pass address of table to the AML. Added option to disable OpRegion
9340 simulation
9341 to allow creation of an OpRegion with a real address that was passed to
9342 _CFG.
9343 All of this allows testing of the Load and Unload operators from
9344 AcpiExec.
9345
9346 Debugger: update tables command for unloaded tables. Handle unloaded
9347 tables
9348 and use the standard table header output routine.
9349
9350 ----------------------------------------
9351 09 June 2008. Summary of changes for version 20080609:
9352
9353 1) ACPI CA Core Subsystem:
9354
9355 Implemented a workaround for reversed _PRT entries. A significant number
9356 of
9357 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
9358 change dynamically detects and repairs this problem. Provides
9359 compatibility
9360 with MS ACPI. BZ 6859
9361
9362 Simplified the internal ACPI hardware interfaces to eliminate the locking
9363 flag parameter from Register Read/Write. Added a new external interface,
9364 AcpiGetRegisterUnlocked.
9365
9366 Fixed a problem where the invocation of a GPE control method could hang.
9367 This
9368 was a regression introduced in 20080514. The new method argument count
9369 validation mechanism can enter an infinite loop when a GPE method is
9370 dispatched. Problem fixed by removing the obsolete code that passed GPE
9371 block
9372 information to the notify handler via the control method parameter
9373 pointer.
9374
9375 Fixed a problem where the _SST execution status was incorrectly returned
9376 to
9377 the caller of AcpiEnterSleepStatePrep. This was a regression introduced
9378 in
9379 20080514. _SST is optional and a NOT_FOUND exception should never be
9380 returned. BZ 716
9381
9382 Fixed a problem where a deleted object could be accessed from within the
9383 AML
9384 parser. This was a regression introduced in version 20080123 as a fix for
9385 the
9386 Unload operator. Lin Ming. BZ 10669
9387
9388 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
9389 operands
9390 and eliminated the use of a negative index in a loop. Operands are now
9391 displayed in the correct order, not backwards. This also fixes a
9392 regression
9393 introduced in 20080514 on 64-bit systems where the elimination of
9394 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
9395 715
9396
9397 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
9398 exit
9399 path did not delete a locally allocated structure.
9400
9401 Updated definitions for the DMAR and SRAT tables to synchronize with the
9402 current specifications. Includes disassembler support.
9403
9404 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
9405 loop termination value was used. Loop terminated on iteration early,
9406 missing
9407 one mutex. Linn Crosetto
9408
9409 Example Code and Data Size: These are the sizes for the OS-independent
9410 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9411 debug version of the code includes the debug output trace mechanism and
9412 has a
9413 much larger code and data size.
9414
9415 Previous Release:
9416 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
9417 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
9418 Current Release:
9419 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
9420 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
9421
9422 2) iASL Compiler/Disassembler and Tools:
9423
9424 Disassembler: Implemented support for EisaId() within _CID objects. Now
9425 disassemble integer _CID objects back to EisaId invocations, including
9426 multiple integers within _CID packages. Includes single-step support for
9427 debugger also.
9428
9429 Disassembler: Added support for DMAR and SRAT table definition changes.
9430
9431 ----------------------------------------
9432 14 May 2008. Summary of changes for version 20080514:
9433
9434 1) ACPI CA Core Subsystem:
9435
9436 Fixed a problem where GPEs were enabled too early during the ACPICA
9437 initialization. This could lead to "handler not installed" errors on some
9438 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
9439 This
9440 ensures that all operation regions and devices throughout the namespace
9441 have
9442 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
9443
9444 Implemented a change to the enter sleep code. Moved execution of the _GTS
9445 method to just before setting sleep enable bit. The execution was moved
9446 from
9447 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
9448 immediately before the SLP_EN bit is set, as per the ACPI specification.
9449 Luming Yu, BZ 1653.
9450
9451 Implemented a fix to disable unknown GPEs (2nd version). Now always
9452 disable
9453 the GPE, even if ACPICA thinks that that it is already disabled. It is
9454 possible that the AML or some other code has enabled the GPE unbeknownst
9455 to
9456 the ACPICA code.
9457
9458 Fixed a problem with the Field operator where zero-length fields would
9459 return
9460 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
9461 ASL
9462 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
9463
9464 Implemented a fix for the Load operator, now load the table at the
9465 namespace
9466 root. This reverts a change introduced in version 20071019. The table is
9467 now
9468 loaded at the namespace root even though this goes against the ACPI
9469 specification. This provides compatibility with other ACPI
9470 implementations.
9471 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
9472 Ming.
9473
9474 Fixed a problem where ACPICA would not Load() tables with unusual
9475 signatures.
9476 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
9477 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
9478 Therefore, signature validation is worthless. Apparently MS ACPI accepts
9479 such
9480 signatures, ACPICA must be compatible. BZ 10454.
9481
9482 Fixed a possible negative array index in AcpiUtValidateException. Added
9483 NULL
9484 fields to the exception string arrays to eliminate a -1 subtraction on
9485 the
9486 SubStatus field.
9487
9488 Updated the debug tracking macros to reduce overall code and data size.
9489 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
9490 instead of pointers to static strings. Jan Beulich and Bob Moore.
9491
9492 Implemented argument count checking in control method invocation via
9493 AcpiEvaluateObject. Now emit an error if too few arguments, warning if
9494 too
9495 many. This applies only to extern programmatic control method execution,
9496 not
9497 method-to-method calls within the AML. Lin Ming.
9498
9499 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
9500 no
9501 longer needed, especially with the removal of 16-bit support. It was
9502 replaced
9503 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
9504 bit
9505 on
9506 32/64-bit platforms is required.
9507
9508 Added the C const qualifier for appropriate string constants -- mostly
9509 MODULE_NAME and printf format strings. Jan Beulich.
9510
9511 Example Code and Data Size: These are the sizes for the OS-independent
9512 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9513 debug version of the code includes the debug output trace mechanism and
9514 has a
9515 much larger code and data size.
9516
9517 Previous Release:
9518 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
9519 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
9520 Current Release:
9521 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
9522 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
9523
9524 2) iASL Compiler/Disassembler and Tools:
9525
9526 Implemented ACPI table revision ID validation in the disassembler. Zero
9527 is
9528 always invalid. For DSDTs, the ID controls the interpreter integer width.
9529 1
9530 means 32-bit and this is unusual. 2 or greater is 64-bit.
9531
9532 ----------------------------------------
9533 21 March 2008. Summary of changes for version 20080321:
9534
9535 1) ACPI CA Core Subsystem:
9536
9537 Implemented an additional change to the GPE support in order to suppress
9538 spurious or stray GPEs. The AcpiEvDisableGpe function will now
9539 permanently
9540 disable incoming GPEs that are neither enabled nor disabled -- meaning
9541 that
9542 the GPE is unknown to the system. This should prevent future interrupt
9543 floods
9544 from that GPE. BZ 6217 (Zhang Rui)
9545
9546 Fixed a problem where NULL package elements were not returned to the
9547 AcpiEvaluateObject interface correctly. The element was simply ignored
9548 instead of returning a NULL ACPI_OBJECT package element, potentially
9549 causing
9550 a buffer overflow and/or confusing the caller who expected a fixed number
9551 of
9552 elements. BZ 10132 (Lin Ming, Bob Moore)
9553
9554 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
9555 Dword,
9556 Qword), Field, BankField, and IndexField operators when invoked from
9557 inside
9558 an executing control method. In this case, these operators created
9559 namespace
9560 nodes that were incorrectly left marked as permanent nodes instead of
9561 temporary nodes. This could cause a problem if there is race condition
9562 between an exiting control method and a running namespace walk. (Reported
9563 by
9564 Linn Crosetto)
9565
9566 Fixed a problem where the CreateField and CreateXXXField operators would
9567 incorrectly allow duplicate names (the name of the field) with no
9568 exception
9569 generated.
9570
9571 Implemented several changes for Notify handling. Added support for new
9572 Notify
9573 values (ACPI 2.0+) and improved the Notify debug output. Notify on
9574 PowerResource objects is no longer allowed, as per the ACPI
9575 specification.
9576 (Bob Moore, Zhang Rui)
9577
9578 All Reference Objects returned via the AcpiEvaluateObject interface are
9579 now
9580 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
9581 for
9582 NULL objects - either NULL package elements or unresolved named
9583 references.
9584
9585 Fixed a problem where an extraneous debug message was produced for
9586 package
9587 objects (when debugging enabled). The message "Package List length larger
9588 than NumElements count" is now produced in the correct case, and is now
9589 an
9590 error message rather than a debug message. Added a debug message for the
9591 opposite case, where NumElements is larger than the Package List (the
9592 package
9593 will be padded out with NULL elements as per the ACPI spec.)
9594
9595 Implemented several improvements for the output of the ASL "Debug" object
9596 to
9597 clarify and keep all data for a given object on one output line.
9598
9599 Fixed two size calculation issues with the variable-length Start
9600 Dependent
9601 resource descriptor.
9602
9603 Example Code and Data Size: These are the sizes for the OS-independent
9604 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9605 debug version of the code includes the debug output trace mechanism and
9606 has
9607 a much larger code and data size.
9608
9609 Previous Release:
9610 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
9611 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
9612 Current Release:
9613 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
9614 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
9615
9616 2) iASL Compiler/Disassembler and Tools:
9617
9618 Fixed a problem with the use of the Switch operator where execution of
9619 the
9620 containing method by multiple concurrent threads could cause an
9621 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
9622 actual Switch opcode, it must be simulated with local named temporary
9623 variables and if/else pairs. The solution chosen was to mark any method
9624 that
9625 uses Switch as Serialized, thus preventing multiple thread entries. BZ
9626 469.
9627
9628 ----------------------------------------
9629 13 February 2008. Summary of changes for version 20080213:
9630
9631 1) ACPI CA Core Subsystem:
9632
9633 Implemented another MS compatibility design change for GPE/Notify
9634 handling.
9635 GPEs are now cleared/enabled asynchronously to allow all pending notifies
9636 to
9637 complete first. It is expected that the OSL will queue the enable request
9638 behind all pending notify requests (may require changes to the local host
9639 OSL
9640 in AcpiOsExecute). Alexey Starikovskiy.
9641
9642 Fixed a problem where buffer and package objects passed as arguments to a
9643 control method via the external AcpiEvaluateObject interface could cause
9644 an
9645 AE_AML_INTERNAL exception depending on the order and type of operators
9646 executed by the target control method.
9647
9648 Fixed a problem where resource descriptor size optimization could cause a
9649 problem when a _CRS resource template is passed to a _SRS method. The
9650 _SRS
9651 resource template must use the same descriptors (with the same size) as
9652 returned from _CRS. This change affects the following resource
9653 descriptors:
9654 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
9655 9487)
9656
9657 Fixed a problem where a CopyObject to RegionField, BankField, and
9658 IndexField
9659 objects did not perform an implicit conversion as it should. These types
9660 must
9661 retain their initial type permanently as per the ACPI specification.
9662 However,
9663 a CopyObject to all other object types should not perform an implicit
9664 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
9665
9666 Fixed a problem with the AcpiGetDevices interface where the mechanism to
9667 match device CIDs did not examine the entire list of available CIDs, but
9668 instead aborted on the first non-matching CID. Andrew Patterson.
9669
9670 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
9671 was
9672 inadvertently changed to return a 16-bit value instead of a 32-bit value,
9673 truncating the upper dword of a 64-bit value. This macro is only used to
9674 display debug output, so no incorrect calculations were made. Also,
9675 reimplemented the macro so that a 64-bit shift is not performed by
9676 inefficient compilers.
9677
9678 Added missing va_end statements that should correspond with each va_start
9679 statement.
9680
9681 Example Code and Data Size: These are the sizes for the OS-independent
9682 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9683 debug version of the code includes the debug output trace mechanism and
9684 has
9685 a much larger code and data size.
9686
9687 Previous Release:
9688 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
9689 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
9690 Current Release:
9691 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
9692 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
9693
9694 2) iASL Compiler/Disassembler and Tools:
9695
9696 Implemented full disassembler support for the following new ACPI tables:
9697 BERT, EINJ, and ERST. Implemented partial disassembler support for the
9698 complicated HEST table. These tables support the Windows Hardware Error
9699 Architecture (WHEA).
9700
9701 ----------------------------------------
9702 23 January 2008. Summary of changes for version 20080123:
9703
9704 1) ACPI CA Core Subsystem:
9705
9706 Added the 2008 copyright to all module headers and signons. This affects
9707 virtually every file in the ACPICA core subsystem, the iASL compiler, and
9708 the tools/utilities.
9709
9710 Fixed a problem with the SizeOf operator when used with Package and
9711 Buffer
9712 objects. These objects have deferred execution for some arguments, and
9713 the
9714 execution is now completed before the SizeOf is executed. This problem
9715 caused
9716 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
9717 BZ
9718 9558
9719
9720 Implemented an enhancement to the interpreter "slack mode". In the
9721 absence
9722 of
9723 an explicit return or an implicitly returned object from the last
9724 executed
9725 opcode, a control method will now implicitly return an integer of value 0
9726 for
9727 Microsoft compatibility. (Lin Ming) BZ 392
9728
9729 Fixed a problem with the Load operator where an exception was not
9730 returned
9731 in
9732 the case where the table is already loaded. (Lin Ming) BZ 463
9733
9734 Implemented support for the use of DDBHandles as an Indexed Reference, as
9735 per
9736 the ACPI spec. (Lin Ming) BZ 486
9737
9738 Implemented support for UserTerm (Method invocation) for the Unload
9739 operator
9740 as per the ACPI spec. (Lin Ming) BZ 580
9741
9742 Fixed a problem with the LoadTable operator where the OemId and
9743 OemTableId
9744 input strings could cause unexpected failures if they were shorter than
9745 the
9746 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
9747
9748 Implemented support for UserTerm (Method invocation) for the Unload
9749 operator
9750 as per the ACPI spec. (Lin Ming) BZ 580
9751
9752 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
9753 HEST,
9754 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
9755
9756 Example Code and Data Size: These are the sizes for the OS-independent
9757 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9758 debug version of the code includes the debug output trace mechanism and
9759 has
9760 a much larger code and data size.
9761
9762 Previous Release:
9763 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
9764 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
9765 Current Release:
9766 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
9767 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
9768
9769 2) iASL Compiler/Disassembler and Tools:
9770
9771 Implemented support in the disassembler for checksum validation on
9772 incoming
9773 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
9774 table
9775 header dump at the start of the disassembly.
9776
9777 Implemented additional debugging information in the namespace listing
9778 file
9779 created during compilation. In addition to the namespace hierarchy, the
9780 full
9781 pathname to each namespace object is displayed.
9782
9783 Fixed a problem with the disassembler where invalid ACPI tables could
9784 cause
9785 faults or infinite loops.
9786
9787 Fixed an unexpected parse error when using the optional "parameter types"
9788 list in a control method declaration. (Lin Ming) BZ 397
9789
9790 Fixed a problem where two External declarations with the same name did
9791 not
9792 cause an error (Lin Ming) BZ 509
9793
9794 Implemented support for full TermArgs (adding Argx, Localx and method
9795 invocation) for the ParameterData parameter to the LoadTable operator.
9796 (Lin
9797 Ming) BZ 583,587
9798
9799 ----------------------------------------
9800 19 December 2007. Summary of changes for version 20071219:
9801
9802 1) ACPI CA Core Subsystem:
9803
9804 Implemented full support for deferred execution for the TermArg string
9805 arguments for DataTableRegion. This enables forward references and full
9806 operand resolution for the three string arguments. Similar to
9807 OperationRegion
9808 deferred argument execution.) Lin Ming. BZ 430
9809
9810 Implemented full argument resolution support for the BankValue argument
9811 to
9812 BankField. Previously, only constants were supported, now any TermArg may
9813 be
9814 used. Lin Ming BZ 387, 393
9815
9816 Fixed a problem with AcpiGetDevices where the search of a branch of the
9817 device tree could be terminated prematurely. In accordance with the ACPI
9818 specification, the search down the current branch is terminated if a
9819 device
9820 is both not present and not functional (instead of just not present.)
9821 Yakui
9822 Zhao.
9823
9824 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
9825 if
9826 the underlying AML code changed the GPE enable registers. Now, any
9827 unknown
9828 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
9829 disabled
9830 instead of simply ignored. Rui Zhang.
9831
9832 Fixed a problem with Index Fields where the Index register was
9833 incorrectly
9834 limited to a maximum of 32 bits. Now any size may be used.
9835
9836 Fixed a couple memory leaks associated with "implicit return" objects
9837 when
9838 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
9839
9840 Example Code and Data Size: These are the sizes for the OS-independent
9841 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9842 debug version of the code includes the debug output trace mechanism and
9843 has
9844 a much larger code and data size.
9845
9846 Previous Release:
9847 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
9848 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
9849 Current Release:
9850 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
9851 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
9852
9853 ----------------------------------------
9854 14 November 2007. Summary of changes for version 20071114:
9855
9856 1) ACPI CA Core Subsystem:
9857
9858 Implemented event counters for each of the Fixed Events, the ACPI SCI
9859 (interrupt) itself, and control methods executed. Named
9860 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
9861 These
9862 should be useful for debugging and statistics.
9863
9864 Implemented a new external interface, AcpiGetStatistics, to retrieve the
9865 contents of the various event counters. Returns the current values for
9866 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
9867 AcpiMethodCount. The interface can be expanded in the future if new
9868 counters
9869 are added. Device drivers should use this interface rather than access
9870 the
9871 counters directly.
9872
9873 Fixed a problem with the FromBCD and ToBCD operators. With some
9874 compilers,
9875 the ShortDivide function worked incorrectly, causing problems with the
9876 BCD
9877 functions with large input values. A truncation from 64-bit to 32-bit
9878 inadvertently occurred. Internal BZ 435. Lin Ming
9879
9880 Fixed a problem with Index references passed as method arguments.
9881 References
9882 passed as arguments to control methods were dereferenced immediately
9883 (before
9884 control was passed to the called method). The references are now
9885 correctly
9886 passed directly to the called method. BZ 5389. Lin Ming
9887
9888 Fixed a problem with CopyObject used in conjunction with the Index
9889 operator.
9890 The reference was incorrectly dereferenced before the copy. The reference
9891 is
9892 now correctly copied. BZ 5391. Lin Ming
9893
9894 Fixed a problem with Control Method references within Package objects.
9895 These
9896 references are now correctly generated. This completes the package
9897 construction overhaul that began in version 20071019.
9898
9899 Example Code and Data Size: These are the sizes for the OS-independent
9900 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9901 debug version of the code includes the debug output trace mechanism and
9902 has
9903 a much larger code and data size.
9904
9905 Previous Release:
9906 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
9907 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
9908 Current Release:
9909 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
9910 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
9911
9912
9913 2) iASL Compiler/Disassembler and Tools:
9914
9915 The AcpiExec utility now installs handlers for all of the predefined
9916 Operation Region types. New types supported are: PCI_Config, CMOS, and
9917 PCIBARTarget.
9918
9919 Fixed a problem with the 64-bit version of AcpiExec where the extended
9920 (64-
9921 bit) address fields for the DSDT and FACS within the FADT were not being
9922 used, causing truncation of the upper 32-bits of these addresses. Lin
9923 Ming
9924 and Bob Moore
9925
9926 ----------------------------------------
9927 19 October 2007. Summary of changes for version 20071019:
9928
9929 1) ACPI CA Core Subsystem:
9930
9931 Fixed a problem with the Alias operator when the target of the alias is a
9932 named ASL operator that opens a new scope -- Scope, Device,
9933 PowerResource,
9934 Processor, and ThermalZone. In these cases, any children of the original
9935 operator could not be accessed via the alias, potentially causing
9936 unexpected
9937 AE_NOT_FOUND exceptions. (BZ 9067)
9938
9939 Fixed a problem with the Package operator where all named references were
9940 created as object references and left otherwise unresolved. According to
9941 the
9942 ACPI specification, a Package can only contain Data Objects or references
9943 to
9944 control methods. The implication is that named references to Data Objects
9945 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
9946 immediately upon package creation. This is the approach taken with this
9947 change. References to all other named objects (Methods, Devices, Scopes,
9948 etc.) are all now properly created as reference objects. (BZ 5328)
9949
9950 Reverted a change to Notify handling that was introduced in version
9951 20070508. This version changed the Notify handling from asynchronous to
9952 fully synchronous (Device driver Notify handling with respect to the
9953 Notify
9954 ASL operator). It was found that this change caused more problems than it
9955 solved and was removed by most users.
9956
9957 Fixed a problem with the Increment and Decrement operators where the type
9958 of
9959 the target object could be unexpectedly and incorrectly changed. (BZ 353)
9960 Lin Ming.
9961
9962 Fixed a problem with the Load and LoadTable operators where the table
9963 location within the namespace was ignored. Instead, the table was always
9964 loaded into the root or current scope. Lin Ming.
9965
9966 Fixed a problem with the Load operator when loading a table from a buffer
9967 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
9968
9969 Fixed a problem with the Debug object where a store of a DdbHandle
9970 reference
9971 object to the Debug object could cause a fault.
9972
9973 Added a table checksum verification for the Load operator, in the case
9974 where
9975 the load is from a buffer. (BZ 578).
9976
9977 Implemented additional parameter validation for the LoadTable operator.
9978 The
9979 length of the input strings SignatureString, OemIdString, and OemTableId
9980 are
9981 now checked for maximum lengths. (BZ 582) Lin Ming.
9982
9983 Example Code and Data Size: These are the sizes for the OS-independent
9984 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9985 debug version of the code includes the debug output trace mechanism and
9986 has
9987 a much larger code and data size.
9988
9989 Previous Release:
9990 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
9991 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
9992 Current Release:
9993 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
9994 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
9995
9996
9997 2) iASL Compiler/Disassembler:
9998
9999 Fixed a problem where if a single file was specified and the file did not
10000 exist, no error message was emitted. (Introduced with wildcard support in
10001 version 20070917.)
10002
10003 ----------------------------------------
10004 19 September 2007. Summary of changes for version 20070919:
10005
10006 1) ACPI CA Core Subsystem:
10007
10008 Designed and implemented new external interfaces to install and remove
10009 handlers for ACPI table-related events. Current events that are defined
10010 are
10011 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
10012 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
10013 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
10014
10015 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
10016 (acpi_serialized option on Linux) could cause some systems to hang during
10017 initialization. (Bob Moore) BZ 8171
10018
10019 Fixed a problem where objects of certain types (Device, ThermalZone,
10020 Processor, PowerResource) can be not found if they are declared and
10021 referenced from within the same control method (Lin Ming) BZ 341
10022
10023 Example Code and Data Size: These are the sizes for the OS-independent
10024 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10025 debug version of the code includes the debug output trace mechanism and
10026 has
10027 a much larger code and data size.
10028
10029 Previous Release:
10030 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
10031 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
10032 Current Release:
10033 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
10034 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
10035
10036
10037 2) iASL Compiler/Disassembler:
10038
10039 Implemented support to allow multiple files to be compiled/disassembled
10040 in
10041 a
10042 single invocation. This includes command line wildcard support for both
10043 the
10044 Windows and Unix versions of the compiler. This feature simplifies the
10045 disassembly and compilation of multiple ACPI tables in a single
10046 directory.
10047
10048 ----------------------------------------
10049 08 May 2007. Summary of changes for version 20070508:
10050
10051 1) ACPI CA Core Subsystem:
10052
10053 Implemented a Microsoft compatibility design change for the handling of
10054 the
10055 Notify AML operator. Previously, notify handlers were dispatched and
10056 executed completely asynchronously in a deferred thread. The new design
10057 still executes the notify handlers in a different thread, but the
10058 original
10059 thread that executed the Notify() now waits at a synchronization point
10060 for
10061 the notify handler to complete. Some machines depend on a synchronous
10062 Notify
10063 operator in order to operate correctly.
10064
10065 Implemented support to allow Package objects to be passed as method
10066 arguments to the external AcpiEvaluateObject interface. Previously, this
10067 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
10068 implemented since there were no reserved control methods that required it
10069 until recently.
10070
10071 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
10072 that
10073 contained invalid non-zero values in reserved fields could cause later
10074 failures because these fields have meaning in later revisions of the
10075 FADT.
10076 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
10077 fields
10078 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
10079
10080 Fixed a problem where the Global Lock handle was not properly updated if
10081 a
10082 thread that acquired the Global Lock via executing AML code then
10083 attempted
10084 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
10085 Joe
10086 Liu.
10087
10088 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
10089 could be corrupted if the interrupt being removed was at the head of the
10090 list. Reported by Linn Crosetto.
10091
10092 Example Code and Data Size: These are the sizes for the OS-independent
10093 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10094 debug version of the code includes the debug output trace mechanism and
10095 has
10096 a much larger code and data size.
10097
10098 Previous Release:
10099 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10100 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
10101 Current Release:
10102 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
10103 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
10104
10105 ----------------------------------------
10106 20 March 2007. Summary of changes for version 20070320:
10107
10108 1) ACPI CA Core Subsystem:
10109
10110 Implemented a change to the order of interpretation and evaluation of AML
10111 operand objects within the AML interpreter. The interpreter now evaluates
10112 operands in the order that they appear in the AML stream (and the
10113 corresponding ASL code), instead of in the reverse order (after the
10114 entire
10115 operand list has been parsed). The previous behavior caused several
10116 subtle
10117 incompatibilities with the Microsoft AML interpreter as well as being
10118 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
10119
10120 Implemented a change to the ACPI Global Lock support. All interfaces to
10121 the
10122 global lock now allow the same thread to acquire the lock multiple times.
10123 This affects the AcpiAcquireGlobalLock external interface to the global
10124 lock
10125 as well as the internal use of the global lock to support AML fields -- a
10126 control method that is holding the global lock can now simultaneously
10127 access
10128 AML fields that require global lock protection. Previously, in both
10129 cases,
10130 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
10131 to
10132 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
10133 Controller. There is no change to the behavior of the AML Acquire
10134 operator,
10135 as this can already be used to acquire a mutex multiple times by the same
10136 thread. BZ 8066. With assistance from Alexey Starikovskiy.
10137
10138 Fixed a problem where invalid objects could be referenced in the AML
10139 Interpreter after error conditions. During operand evaluation, ensure
10140 that
10141 the internal "Return Object" field is cleared on error and only valid
10142 pointers are stored there. Caused occasional access to deleted objects
10143 that
10144 resulted in "large reference count" warning messages. Valery Podrezov.
10145
10146 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
10147 on
10148 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
10149 Podrezov.
10150
10151 Fixed an internal problem with the handling of result objects on the
10152 interpreter result stack. BZ 7872. Valery Podrezov.
10153
10154 Removed obsolete code that handled the case where AML_NAME_OP is the
10155 target
10156 of a reference (Reference.Opcode). This code was no longer necessary. BZ
10157 7874. Valery Podrezov.
10158
10159 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
10160 was
10161 a
10162 remnant from the previously discontinued 16-bit support.
10163
10164 Example Code and Data Size: These are the sizes for the OS-independent
10165 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10166 debug version of the code includes the debug output trace mechanism and
10167 has
10168 a much larger code and data size.
10169
10170 Previous Release:
10171 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10172 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
10173 Current Release:
10174 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10175 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
10176
10177 ----------------------------------------
10178 26 January 2007. Summary of changes for version 20070126:
10179
10180 1) ACPI CA Core Subsystem:
10181
10182 Added the 2007 copyright to all module headers and signons. This affects
10183 virtually every file in the ACPICA core subsystem, the iASL compiler, and
10184 the utilities.
10185
10186 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
10187 during a table load. A bad pointer was passed in the case where the DSDT
10188 is
10189 overridden, causing a fault in this case.
10190
10191 Example Code and Data Size: These are the sizes for the OS-independent
10192 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10193 debug version of the code includes the debug output trace mechanism and
10194 has
10195 a much larger code and data size.
10196
10197 Previous Release:
10198 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10199 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
10200 Current Release:
10201 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10202 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
10203
10204 ----------------------------------------
10205 15 December 2006. Summary of changes for version 20061215:
10206
10207 1) ACPI CA Core Subsystem:
10208
10209 Support for 16-bit ACPICA has been completely removed since it is no
10210 longer
10211 necessary and it clutters the code. All 16-bit macros, types, and
10212 conditional compiles have been removed, cleaning up and simplifying the
10213 code
10214 across the entire subsystem. DOS support is no longer needed since the
10215 bootable Linux firmware kit is now available.
10216
10217 The handler for the Global Lock is now removed during AcpiTerminate to
10218 enable a clean subsystem restart, via the implementation of the
10219 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
10220 HP)
10221
10222 Implemented enhancements to the multithreading support within the
10223 debugger
10224 to enable improved multithreading debugging and evaluation of the
10225 subsystem.
10226 (Valery Podrezov)
10227
10228 Debugger: Enhanced the Statistics/Memory command to emit the total
10229 (maximum)
10230 memory used during the execution, as well as the maximum memory consumed
10231 by
10232 each of the various object types. (Valery Podrezov)
10233
10234 Example Code and Data Size: These are the sizes for the OS-independent
10235 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10236 debug version of the code includes the debug output trace mechanism and
10237 has
10238 a much larger code and data size.
10239
10240 Previous Release:
10241 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
10242 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
10243 Current Release:
10244 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10245 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
10246
10247
10248 2) iASL Compiler/Disassembler and Tools:
10249
10250 AcpiExec: Implemented a new option (-m) to display full memory use
10251 statistics upon subsystem/program termination. (Valery Podrezov)
10252
10253 ----------------------------------------
10254 09 November 2006. Summary of changes for version 20061109:
10255
10256 1) ACPI CA Core Subsystem:
10257
10258 Optimized the Load ASL operator in the case where the source operand is
10259 an
10260 operation region. Simply map the operation region memory, instead of
10261 performing a bytewise read. (Region must be of type SystemMemory, see
10262 below.)
10263
10264 Fixed the Load ASL operator for the case where the source operand is a
10265 region field. A buffer object is also allowed as the source operand. BZ
10266 480
10267
10268 Fixed a problem where the Load ASL operator allowed the source operand to
10269 be
10270 an operation region of any type. It is now restricted to regions of type
10271 SystemMemory, as per the ACPI specification. BZ 481
10272
10273 Additional cleanup and optimizations for the new Table Manager code.
10274
10275 AcpiEnable will now fail if all of the required ACPI tables are not
10276 loaded
10277 (FADT, FACS, DSDT). BZ 477
10278
10279 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
10280 this
10281 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
10282 manually optimized to be aligned and will not work if it is byte-packed.
10283
10284 Example Code and Data Size: These are the sizes for the OS-independent
10285 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10286 debug version of the code includes the debug output trace mechanism and
10287 has
10288 a much larger code and data size.
10289
10290 Previous Release:
10291 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
10292 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
10293 Current Release:
10294 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
10295 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
10296
10297
10298 2) iASL Compiler/Disassembler and Tools:
10299
10300 Fixed a problem where the presence of the _OSI predefined control method
10301 within complex expressions could cause an internal compiler error.
10302
10303 AcpiExec: Implemented full region support for multiple address spaces.
10304 SpaceId is now part of the REGION object. BZ 429
10305
10306 ----------------------------------------
10307 11 October 2006. Summary of changes for version 20061011:
10308
10309 1) ACPI CA Core Subsystem:
10310
10311 Completed an AML interpreter performance enhancement for control method
10312 execution. Previously a 2-pass parse/execution, control methods are now
10313 completely parsed and executed in a single pass. This improves overall
10314 interpreter performance by ~25%, reduces code size, and reduces CPU stack
10315 use. (Valery Podrezov + interpreter changes in version 20051202 that
10316 eliminated namespace loading during the pass one parse.)
10317
10318 Implemented _CID support for PCI Root Bridge detection. If the _HID does
10319 not
10320 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
10321 now
10322 obtained and also checked for an ID match.
10323
10324 Implemented additional support for the PCI _ADR execution: upsearch until
10325 a
10326 device scope is found before executing _ADR. This allows PCI_Config
10327 operation regions to be declared locally within control methods
10328 underneath
10329 PCI device objects.
10330
10331 Fixed a problem with a possible race condition between threads executing
10332 AcpiWalkNamespace and the AML interpreter. This condition was removed by
10333 modifying AcpiWalkNamespace to (by default) ignore all temporary
10334 namespace
10335 entries created during any concurrent control method execution. An
10336 additional namespace race condition is known to exist between
10337 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
10338 investigation.
10339
10340 Restructured the AML ParseLoop function, breaking it into several
10341 subfunctions in order to reduce CPU stack use and improve
10342 maintainability.
10343 (Mikhail Kouzmich)
10344
10345 AcpiGetHandle: Fix for parameter validation to detect invalid
10346 combinations
10347 of prefix handle and pathname. BZ 478
10348
10349 Example Code and Data Size: These are the sizes for the OS-independent
10350 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10351 debug version of the code includes the debug output trace mechanism and
10352 has
10353 a much larger code and data size.
10354
10355 Previous Release:
10356 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10357 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
10358 Current Release:
10359 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
10360 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
10361
10362 2) iASL Compiler/Disassembler and Tools:
10363
10364 Ported the -g option (get local ACPI tables) to the new ACPICA Table
10365 Manager
10366 to restore original behavior.
10367
10368 ----------------------------------------
10369 27 September 2006. Summary of changes for version 20060927:
10370
10371 1) ACPI CA Core Subsystem:
10372
10373 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
10374 These functions now use a spinlock for mutual exclusion and the interrupt
10375 level indication flag is not needed.
10376
10377 Fixed a problem with the Global Lock where the lock could appear to be
10378 obtained before it is actually obtained. The global lock semaphore was
10379 inadvertently created with one unit instead of zero units. (BZ 464)
10380 Fiodor
10381 Suietov.
10382
10383 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
10384 during
10385 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
10386
10387 Example Code and Data Size: These are the sizes for the OS-independent
10388 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10389 debug version of the code includes the debug output trace mechanism and
10390 has
10391 a much larger code and data size.
10392
10393 Previous Release:
10394 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10395 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
10396 Current Release:
10397 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10398 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
10399
10400
10401 2) iASL Compiler/Disassembler and Tools:
10402
10403 Fixed a compilation problem with the pre-defined Resource Descriptor
10404 field
10405 names where an "object does not exist" error could be incorrectly
10406 generated
10407 if the parent ResourceTemplate pathname places the template within a
10408 different namespace scope than the current scope. (BZ 7212)
10409
10410 Fixed a problem where the compiler could hang after syntax errors
10411 detected
10412 in an ElseIf construct. (BZ 453)
10413
10414 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
10415 operator. An incorrect output filename was produced when this parameter
10416 was
10417 a null string (""). Now, the original input filename is used as the AML
10418 output filename, with an ".aml" extension.
10419
10420 Implemented a generic batch command mode for the AcpiExec utility
10421 (execute
10422 any AML debugger command) (Valery Podrezov).
10423
10424 ----------------------------------------
10425 12 September 2006. Summary of changes for version 20060912:
10426
10427 1) ACPI CA Core Subsystem:
10428
10429 Enhanced the implementation of the "serialized mode" of the interpreter
10430 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
10431 specified, instead of creating a serialization semaphore per control
10432 method,
10433 the interpreter lock is simply no longer released before a blocking
10434 operation during control method execution. This effectively makes the AML
10435 Interpreter single-threaded. The overhead of a semaphore per-method is
10436 eliminated.
10437
10438 Fixed a regression where an error was no longer emitted if a control
10439 method
10440 attempts to create 2 objects of the same name. This once again returns
10441 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
10442 that
10443 will dynamically serialize the control method to possible prevent future
10444 errors. (BZ 440)
10445
10446 Integrated a fix for a problem with PCI Express HID detection in the PCI
10447 Config Space setup procedure. (BZ 7145)
10448
10449 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
10450 AcpiHwInitialize function - the FADT registers are now validated when the
10451 table is loaded.
10452
10453 Added two new warnings during FADT verification - 1) if the FADT is
10454 larger
10455 than the largest known FADT version, and 2) if there is a mismatch
10456 between
10457 a
10458 32-bit block address and the 64-bit X counterpart (when both are non-
10459 zero.)
10460
10461 Example Code and Data Size: These are the sizes for the OS-independent
10462 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10463 debug version of the code includes the debug output trace mechanism and
10464 has
10465 a much larger code and data size.
10466
10467 Previous Release:
10468 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
10469 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
10470 Current Release:
10471 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10472 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
10473
10474
10475 2) iASL Compiler/Disassembler and Tools:
10476
10477 Fixed a problem with the implementation of the Switch() operator where
10478 the
10479 temporary variable was declared too close to the actual Switch, instead
10480 of
10481 at method level. This could cause a problem if the Switch() operator is
10482 within a while loop, causing an error on the second iteration. (BZ 460)
10483
10484 Disassembler - fix for error emitted for unknown type for target of scope
10485 operator. Now, ignore it and continue.
10486
10487 Disassembly of an FADT now verifies the input FADT and reports any errors
10488 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
10489
10490 Disassembly of raw data buffers with byte initialization data now
10491 prefixes
10492 each output line with the current buffer offset.
10493
10494 Disassembly of ASF! table now includes all variable-length data fields at
10495 the end of some of the subtables.
10496
10497 The disassembler now emits a comment if a buffer appears to be a
10498 ResourceTemplate, but cannot be disassembled as such because the EndTag
10499 does
10500 not appear at the very end of the buffer.
10501
10502 AcpiExec - Added the "-t" command line option to enable the serialized
10503 mode
10504 of the AML interpreter.
10505
10506 ----------------------------------------
10507 31 August 2006. Summary of changes for version 20060831:
10508
10509 1) ACPI CA Core Subsystem:
10510
10511 Miscellaneous fixes for the Table Manager:
10512 - Correctly initialize internal common FADT for all 64-bit "X" fields
10513 - Fixed a couple table mapping issues during table load
10514 - Fixed a couple alignment issues for IA64
10515 - Initialize input array to zero in AcpiInitializeTables
10516 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
10517 AcpiGetTableByIndex
10518
10519 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
10520 now
10521 immediately disabled to prevent the waking GPE from firing again and to
10522 prevent other wake GPEs from interrupting the wake process.
10523
10524 Added the AcpiGpeCount global that tracks the number of processed GPEs,
10525 to
10526 be used for debugging systems with a large number of ACPI interrupts.
10527
10528 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
10529 both the ACPICA headers and the disassembler.
10530
10531 Example Code and Data Size: These are the sizes for the OS-independent
10532 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10533 debug version of the code includes the debug output trace mechanism and
10534 has
10535 a much larger code and data size.
10536
10537 Previous Release:
10538 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
10539 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
10540 Current Release:
10541 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
10542 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
10543
10544
10545 2) iASL Compiler/Disassembler and Tools:
10546
10547 Disassembler support for the DMAR ACPI table.
10548
10549 ----------------------------------------
10550 23 August 2006. Summary of changes for version 20060823:
10551
10552 1) ACPI CA Core Subsystem:
10553
10554 The Table Manager component has been completely redesigned and
10555 reimplemented. The new design is much simpler, and reduces the overall
10556 code
10557 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
10558 is
10559 now possible to obtain the ACPI tables very early during kernel
10560 initialization, even before dynamic memory management is initialized.
10561 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
10562
10563 Obsolete ACPICA interfaces:
10564
10565 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
10566 init
10567 time).
10568 - AcpiLoadTable: Not needed.
10569 - AcpiUnloadTable: Not needed.
10570
10571 New ACPICA interfaces:
10572
10573 - AcpiInitializeTables: Must be called before the table manager can be
10574 used.
10575 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
10576 allocated memory after it becomes available.
10577 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
10578 tables
10579 in the RSDT/XSDT.
10580
10581 Other ACPICA changes:
10582
10583 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
10584 Use
10585 AcpiOsUnmapMemory to free this mapping.
10586 - AcpiGetTable returns the actual mapped table. The mapping is managed
10587 internally and must not be deleted by the caller. Use of this interface
10588 causes no additional dynamic memory allocation.
10589 - AcpiFindRootPointer: Support for physical addressing has been
10590 eliminated,
10591 it appeared to be unused.
10592 - The interface to AcpiOsMapMemory has changed to be consistent with the
10593 other allocation interfaces.
10594 - The interface to AcpiOsGetRootPointer has changed to eliminate
10595 unnecessary
10596 parameters.
10597 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
10598 64-
10599 bit platforms. Was previously 64 bits on all platforms.
10600 - The interface to the ACPI Global Lock acquire/release macros have
10601 changed
10602 slightly since ACPICA no longer keeps a local copy of the FACS with a
10603 constructed pointer to the actual global lock.
10604
10605 Porting to the new table manager:
10606
10607 - AcpiInitializeTables: Must be called once, and can be called anytime
10608 during the OS initialization process. It allows the host to specify an
10609 area
10610 of memory to be used to store the internal version of the RSDT/XSDT (root
10611 table). This allows the host to access ACPI tables before memory
10612 management
10613 is initialized and running.
10614 - AcpiReallocateRootTable: Can be called after memory management is
10615 running
10616 to copy the root table to a dynamically allocated array, freeing up the
10617 scratch memory specified in the call to AcpiInitializeTables.
10618 - AcpiSubsystemInitialize: This existing interface is independent of the
10619 Table Manager, and does not have to be called before the Table Manager
10620 can
10621 be used, it only must be called before the rest of ACPICA can be used.
10622 - ACPI Tables: Some changes have been made to the names and structure of
10623 the
10624 actbl.h and actbl1.h header files and may require changes to existing
10625 code.
10626 For example, bitfields have been completely removed because of their lack
10627 of
10628 portability across C compilers.
10629 - Update interfaces to the Global Lock acquire/release macros if local
10630 versions are used. (see acwin.h)
10631
10632 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
10633
10634 New files: tbfind.c
10635
10636 Example Code and Data Size: These are the sizes for the OS-independent
10637 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10638 debug version of the code includes the debug output trace mechanism and
10639 has
10640 a much larger code and data size.
10641
10642 Previous Release:
10643 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
10644 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
10645 Current Release:
10646 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
10647 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
10648
10649
10650 2) iASL Compiler/Disassembler and Tools:
10651
10652 No changes for this release.
10653
10654 ----------------------------------------
10655 21 July 2006. Summary of changes for version 20060721:
10656
10657 1) ACPI CA Core Subsystem:
10658
10659 The full source code for the ASL test suite used to validate the iASL
10660 compiler and the ACPICA core subsystem is being released with the ACPICA
10661 source for the first time. The source is contained in a separate package
10662 and
10663 consists of over 1100 files that exercise all ASL/AML operators. The
10664 package
10665 should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
10666 Fiodor
10667 Suietov)
10668
10669 Completed a new design and implementation for support of the ACPI Global
10670 Lock. On the OS side, the global lock is now treated as a standard AML
10671 mutex. Previously, multiple OS threads could "acquire" the global lock
10672 simultaneously. However, this could cause the BIOS to be starved out of
10673 the
10674 lock - especially in cases such as the Embedded Controller driver where
10675 there is a tight coupling between the OS and the BIOS.
10676
10677 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
10678 The Global Lock interrupt handler no longer queues the execution of a
10679 separate thread to signal the global lock semaphore. Instead, the
10680 semaphore
10681 is signaled directly from the interrupt handler.
10682
10683 Implemented support within the AML interpreter for package objects that
10684 contain a larger AML length (package list length) than the package
10685 element
10686 count. In this case, the length of the package is truncated to match the
10687 package element count. Some BIOS code apparently modifies the package
10688 length
10689 on the fly, and this change supports this behavior. Provides
10690 compatibility
10691 with the MS AML interpreter. (With assistance from Fiodor Suietov)
10692
10693 Implemented a temporary fix for the BankValue parameter of a Bank Field
10694 to
10695 support all constant values, now including the Zero and One opcodes.
10696 Evaluation of this parameter must eventually be converted to a full
10697 TermArg
10698 evaluation. A not-implemented error is now returned (temporarily) for
10699 non-
10700 constant values for this parameter.
10701
10702 Fixed problem reports (Fiodor Suietov) integrated:
10703 - Fix for premature object deletion after CopyObject on Operation Region
10704 (BZ
10705 350)
10706
10707 Example Code and Data Size: These are the sizes for the OS-independent
10708 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10709 debug version of the code includes the debug output trace mechanism and
10710 has
10711 a much larger code and data size.
10712
10713 Previous Release:
10714 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
10715 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
10716 Current Release:
10717 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
10718 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
10719
10720
10721 2) iASL Compiler/Disassembler and Tools:
10722
10723 No changes for this release.
10724
10725 ----------------------------------------
10726 07 July 2006. Summary of changes for version 20060707:
10727
10728 1) ACPI CA Core Subsystem:
10729
10730 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
10731 that do not allow the initialization of address pointers within packed
10732 structures - even though the hardware itself may support misaligned
10733 transfers. Some of the debug data structures are packed by default to
10734 minimize size.
10735
10736 Added an error message for the case where AcpiOsGetThreadId() returns
10737 zero.
10738 A non-zero value is required by the core ACPICA code to ensure the proper
10739 operation of AML mutexes and recursive control methods.
10740
10741 The DSDT is now the only ACPI table that determines whether the AML
10742 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
10743 but
10744 the hooks for per-table 32/64 switching have been removed from the code.
10745 A
10746 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
10747
10748 Fixed a possible leak of an OwnerID in the error path of
10749 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
10750 deletion to a single place in AcpiTbUninstallTable to correct possible
10751 leaks
10752 when using the AcpiTbDeleteTablesByType interface (with assistance from
10753 Lance Ortiz.)
10754
10755 Fixed a problem with Serialized control methods where the semaphore
10756 associated with the method could be over-signaled after multiple method
10757 invocations.
10758
10759 Fixed two issues with the locking of the internal namespace data
10760 structure.
10761 Both the Unload() operator and AcpiUnloadTable interface now lock the
10762 namespace during the namespace deletion associated with the table unload
10763 (with assistance from Linn Crosetto.)
10764
10765 Fixed problem reports (Valery Podrezov) integrated:
10766 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
10767
10768 Fixed problem reports (Fiodor Suietov) integrated:
10769 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
10770 - On Address Space handler deletion, needless deactivation call (BZ 374)
10771 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
10772 375)
10773 - Possible memory leak, Notify sub-objects of Processor, Power,
10774 ThermalZone
10775 (BZ 376)
10776 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
10777 - Minimum Length of RSDT should be validated (BZ 379)
10778 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
10779 Handler (BZ (380)
10780 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
10781 loaded
10782 (BZ 381)
10783
10784 Example Code and Data Size: These are the sizes for the OS-independent
10785 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10786 debug version of the code includes the debug output trace mechanism and
10787 has
10788 a much larger code and data size.
10789
10790 Previous Release:
10791 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
10792 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
10793 Current Release:
10794 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
10795 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
10796
10797
10798 2) iASL Compiler/Disassembler and Tools:
10799
10800 Fixed problem reports:
10801 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
10802 436)
10803
10804 ----------------------------------------
10805 23 June 2006. Summary of changes for version 20060623:
10806
10807 1) ACPI CA Core Subsystem:
10808
10809 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
10810 allows the type to be customized to the host OS for improved efficiency
10811 (since a spinlock is usually a very small object.)
10812
10813 Implemented support for "ignored" bits in the ACPI registers. According
10814 to
10815 the ACPI specification, these bits should be preserved when writing the
10816 registers via a read/modify/write cycle. There are 3 bits preserved in
10817 this
10818 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
10819
10820 Implemented the initial deployment of new OSL mutex interfaces. Since
10821 some
10822 host operating systems have separate mutex and semaphore objects, this
10823 feature was requested. The base code now uses mutexes (and the new mutex
10824 interfaces) wherever a binary semaphore was used previously. However, for
10825 the current release, the mutex interfaces are defined as macros to map
10826 them
10827 to the existing semaphore interfaces. Therefore, no OSL changes are
10828 required
10829 at this time. (See acpiosxf.h)
10830
10831 Fixed several problems with the support for the control method SyncLevel
10832 parameter. The SyncLevel now works according to the ACPI specification
10833 and
10834 in concert with the Mutex SyncLevel parameter, since the current
10835 SyncLevel
10836 is a property of the executing thread. Mutual exclusion for control
10837 methods
10838 is now implemented with a mutex instead of a semaphore.
10839
10840 Fixed three instances of the use of the C shift operator in the bitfield
10841 support code (exfldio.c) to avoid the use of a shift value larger than
10842 the
10843 target data width. The behavior of C compilers is undefined in this case
10844 and
10845 can cause unpredictable results, and therefore the case must be detected
10846 and
10847 avoided. (Fiodor Suietov)
10848
10849 Added an info message whenever an SSDT or OEM table is loaded dynamically
10850 via the Load() or LoadTable() ASL operators. This should improve
10851 debugging
10852 capability since it will show exactly what tables have been loaded
10853 (beyond
10854 the tables present in the RSDT/XSDT.)
10855
10856 Example Code and Data Size: These are the sizes for the OS-independent
10857 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10858 debug version of the code includes the debug output trace mechanism and
10859 has
10860 a much larger code and data size.
10861
10862 Previous Release:
10863 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
10864 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
10865 Current Release:
10866 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
10867 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
10868
10869
10870 2) iASL Compiler/Disassembler and Tools:
10871
10872 No changes for this release.
10873
10874 ----------------------------------------
10875 08 June 2006. Summary of changes for version 20060608:
10876
10877 1) ACPI CA Core Subsystem:
10878
10879 Converted the locking mutex used for the ACPI hardware to a spinlock.
10880 This
10881 change should eliminate all problems caused by attempting to acquire a
10882 semaphore at interrupt level, and it means that all ACPICA external
10883 interfaces that directly access the ACPI hardware can be safely called
10884 from
10885 interrupt level. OSL code that implements the semaphore interfaces should
10886 be
10887 able to eliminate any workarounds for being called at interrupt level.
10888
10889 Fixed a regression introduced in 20060526 where the ACPI device
10890 initialization could be prematurely aborted with an AE_NOT_FOUND if a
10891 device
10892 did not have an optional _INI method.
10893
10894 Fixed an IndexField issue where a write to the Data Register should be
10895 limited in size to the AccessSize (width) of the IndexField itself. (BZ
10896 433,
10897 Fiodor Suietov)
10898
10899 Fixed problem reports (Valery Podrezov) integrated:
10900 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
10901
10902 Fixed problem reports (Fiodor Suietov) integrated:
10903 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
10904
10905 Removed four global mutexes that were obsolete and were no longer being
10906 used.
10907
10908 Example Code and Data Size: These are the sizes for the OS-independent
10909 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10910 debug version of the code includes the debug output trace mechanism and
10911 has
10912 a much larger code and data size.
10913
10914 Previous Release:
10915 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
10916 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
10917 Current Release:
10918 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
10919 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
10920
10921
10922 2) iASL Compiler/Disassembler and Tools:
10923
10924 Fixed a fault when using -g option (get tables from registry) on Windows
10925 machines.
10926
10927 Fixed problem reports integrated:
10928 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
10929 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
10930 Suietov)
10931 - Global table revision override (-r) is ignored (BZ 413)
10932
10933 ----------------------------------------
10934 26 May 2006. Summary of changes for version 20060526:
10935
10936 1) ACPI CA Core Subsystem:
10937
10938 Restructured, flattened, and simplified the internal interfaces for
10939 namespace object evaluation - resulting in smaller code, less CPU stack
10940 use,
10941 and fewer interfaces. (With assistance from Mikhail Kouzmich)
10942
10943 Fixed a problem with the CopyObject operator where the first parameter
10944 was
10945 not typed correctly for the parser, interpreter, compiler, and
10946 disassembler.
10947 Caused various errors and unexpected behavior.
10948
10949 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
10950 produced incorrect results with some C compilers. Since the behavior of C
10951 compilers when the shift value is larger than the datatype width is
10952 apparently not well defined, the interpreter now detects this condition
10953 and
10954 simply returns zero as expected in all such cases. (BZ 395)
10955
10956 Fixed problem reports (Valery Podrezov) integrated:
10957 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
10958 - Allow interpreter to handle nested method declarations (BZ 5361)
10959
10960 Fixed problem reports (Fiodor Suietov) integrated:
10961 - AcpiTerminate doesn't free debug memory allocation list objects (BZ
10962 355)
10963 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
10964 356)
10965 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
10966 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
10967 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
10968 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
10969 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
10970 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
10971 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
10972 365)
10973 - Status of the Global Initialization Handler call not used (BZ 366)
10974 - Incorrect object parameter to Global Initialization Handler (BZ 367)
10975
10976 Example Code and Data Size: These are the sizes for the OS-independent
10977 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10978 debug version of the code includes the debug output trace mechanism and
10979 has
10980 a much larger code and data size.
10981
10982 Previous Release:
10983 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
10984 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
10985 Current Release:
10986 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
10987 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
10988
10989
10990 2) iASL Compiler/Disassembler and Tools:
10991
10992 Modified the parser to allow the names IO, DMA, and IRQ to be used as
10993 namespace identifiers with no collision with existing resource descriptor
10994 macro names. This provides compatibility with other ASL compilers and is
10995 most useful for disassembly/recompilation of existing tables without
10996 parse
10997 errors. (With assistance from Thomas Renninger)
10998
10999 Disassembler: fixed an incorrect disassembly problem with the
11000 DataTableRegion and CopyObject operators. Fixed a possible fault during
11001 disassembly of some Alias operators.
11002
11003 ----------------------------------------
11004 12 May 2006. Summary of changes for version 20060512:
11005
11006 1) ACPI CA Core Subsystem:
11007
11008 Replaced the AcpiOsQueueForExecution interface with a new interface named
11009 AcpiOsExecute. The major difference is that the new interface does not
11010 have
11011 a Priority parameter, this appeared to be useless and has been replaced
11012 by
11013 a
11014 Type parameter. The Type tells the host what type of execution is being
11015 requested, such as global lock handler, notify handler, GPE handler, etc.
11016 This allows the host to queue and execute the request as appropriate for
11017 the
11018 request type, possibly using different work queues and different
11019 priorities
11020 for the various request types. This enables fixes for multithreading
11021 deadlock problems such as BZ #5534, and will require changes to all
11022 existing
11023 OS interface layers. (Alexey Starikovskiy and Bob Moore)
11024
11025 Fixed a possible memory leak associated with the support for the so-
11026 called
11027 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
11028 Suietov)
11029
11030 Fixed a problem with the Load() operator where a table load from an
11031 operation region could overwrite an internal table buffer by up to 7
11032 bytes
11033 and cause alignment faults on IPF systems. (With assistance from Luming
11034 Yu)
11035
11036 Example Code and Data Size: These are the sizes for the OS-independent
11037 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11038 debug version of the code includes the debug output trace mechanism and
11039 has
11040 a much larger code and data size.
11041
11042 Previous Release:
11043 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
11044 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
11045 Current Release:
11046 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
11047 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
11048
11049
11050
11051 2) iASL Compiler/Disassembler and Tools:
11052
11053 Disassembler: Implemented support to cross reference the internal
11054 namespace
11055 and automatically generate ASL External() statements for symbols not
11056 defined
11057 within the current table being disassembled. This will simplify the
11058 disassembly and recompilation of interdependent tables such as SSDTs
11059 since
11060 these statements will no longer have to be added manually.
11061
11062 Disassembler: Implemented experimental support to automatically detect
11063 invocations of external control methods and generate appropriate
11064 External()
11065 statements. This is problematic because the AML cannot be correctly
11066 parsed
11067 until the number of arguments for each control method is known.
11068 Currently,
11069 standalone method invocations and invocations as the source operand of a
11070 Store() statement are supported.
11071
11072 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
11073 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
11074 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
11075 more readable and likely closer to the original ASL source.
11076
11077 ----------------------------------------
11078 21 April 2006. Summary of changes for version 20060421:
11079
11080 1) ACPI CA Core Subsystem:
11081
11082 Removed a device initialization optimization introduced in 20051216 where
11083 the _STA method was not run unless an _INI was also present for the same
11084 device. This optimization could cause problems because it could allow
11085 _INI
11086 methods to be run within a not-present device subtree. (If a not-present
11087 device had no _INI, _STA would not be run, the not-present status would
11088 not
11089 be discovered, and the children of the device would be incorrectly
11090 traversed.)
11091
11092 Implemented a new _STA optimization where namespace subtrees that do not
11093 contain _INI are identified and ignored during device initialization.
11094 Selectively running _STA can significantly improve boot time on large
11095 machines (with assistance from Len Brown.)
11096
11097 Implemented support for the device initialization case where the returned
11098 _STA flags indicate a device not-present but functioning. In this case,
11099 _INI
11100 is not run, but the device children are examined for presence, as per the
11101 ACPI specification.
11102
11103 Implemented an additional change to the IndexField support in order to
11104 conform to MS behavior. The value written to the Index Register is not
11105 simply a byte offset, it is a byte offset in units of the access width of
11106 the parent Index Field. (Fiodor Suietov)
11107
11108 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
11109 interface is called during the creation of all AML operation regions, and
11110 allows the host OS to exert control over what addresses it will allow the
11111 AML code to access. Operation Regions whose addresses are disallowed will
11112 cause a runtime exception when they are actually accessed (will not
11113 affect
11114 or abort table loading.) See oswinxf or osunixxf for an example
11115 implementation.
11116
11117 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
11118 interface allows the host OS to match the various "optional"
11119 interface/behavior strings for the _OSI predefined control method as
11120 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
11121 for an example implementation.
11122
11123 Restructured and corrected various problems in the exception handling
11124 code
11125 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
11126 (with assistance from Takayoshi Kochi.)
11127
11128 Modified the Linux source converter to ignore quoted string literals
11129 while
11130 converting identifiers from mixed to lower case. This will correct
11131 problems
11132 with the disassembler and other areas where such strings must not be
11133 modified.
11134
11135 The ACPI_FUNCTION_* macros no longer require quotes around the function
11136 name. This allows the Linux source converter to convert the names, now
11137 that
11138 the converter ignores quoted strings.
11139
11140 Example Code and Data Size: These are the sizes for the OS-independent
11141 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11142 debug version of the code includes the debug output trace mechanism and
11143 has
11144 a much larger code and data size.
11145
11146 Previous Release:
11147
11148 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
11149 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
11150 Current Release:
11151 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
11152 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
11153
11154
11155 2) iASL Compiler/Disassembler and Tools:
11156
11157 Implemented 3 new warnings for iASL, and implemented multiple warning
11158 levels
11159 (w2 flag).
11160
11161 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
11162 not
11163 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
11164 check for the possible timeout, a warning is issued.
11165
11166 2) Useless operators: If an ASL operator does not specify an optional
11167 target
11168 operand and it also does not use the function return value from the
11169 operator, a warning is issued since the operator effectively does
11170 nothing.
11171
11172 3) Unreferenced objects: If a namespace object is created, but never
11173 referenced, a warning is issued. This is a warning level 2 since there
11174 are
11175 cases where this is ok, such as when a secondary table is loaded that
11176 uses
11177 the unreferenced objects. Even so, care is taken to only flag objects
11178 that
11179 don't look like they will ever be used. For example, the reserved methods
11180 (starting with an underscore) are usually not referenced because it is
11181 expected that the OS will invoke them.
11182
11183 ----------------------------------------
11184 31 March 2006. Summary of changes for version 20060331:
11185
11186 1) ACPI CA Core Subsystem:
11187
11188 Implemented header file support for the following additional ACPI tables:
11189 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
11190 support,
11191 all current and known ACPI tables are now defined in the ACPICA headers
11192 and
11193 are available for use by device drivers and other software.
11194
11195 Implemented support to allow tables that contain ACPI names with invalid
11196 characters to be loaded. Previously, this would cause the table load to
11197 fail, but since there are several known cases of such tables on existing
11198 machines, this change was made to enable ACPI support for them. Also,
11199 this
11200 matches the behavior of the Microsoft ACPI implementation.
11201
11202 Fixed a couple regressions introduced during the memory optimization in
11203 the
11204 20060317 release. The namespace node definition required additional
11205 reorganization and an internal datatype that had been changed to 8-bit
11206 was
11207 restored to 32-bit. (Valery Podrezov)
11208
11209 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
11210 could be passed through to AcpiOsReleaseObject which is unexpected. Such
11211 null pointers are now trapped and ignored, matching the behavior of the
11212 previous implementation before the deployment of AcpiOsReleaseObject.
11213 (Valery Podrezov, Fiodor Suietov)
11214
11215 Fixed a memory mapping leak during the deletion of a SystemMemory
11216 operation
11217 region where a cached memory mapping was not deleted. This became a
11218 noticeable problem for operation regions that are defined within
11219 frequently
11220 used control methods. (Dana Meyers)
11221
11222 Reorganized the ACPI table header files into two main files: one for the
11223 ACPI tables consumed by the ACPICA core, and another for the
11224 miscellaneous
11225 ACPI tables that are consumed by the drivers and other software. The
11226 various
11227 FADT definitions were merged into one common section and three different
11228 tables (ACPI 1.0, 1.0+, and 2.0)
11229
11230 Example Code and Data Size: These are the sizes for the OS-independent
11231 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11232 debug version of the code includes the debug output trace mechanism and
11233 has
11234 a much larger code and data size.
11235
11236 Previous Release:
11237 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
11238 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
11239 Current Release:
11240 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
11241 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
11242
11243
11244 2) iASL Compiler/Disassembler and Tools:
11245
11246 Disassembler: Implemented support to decode and format all non-AML ACPI
11247 tables (tables other than DSDTs and SSDTs.) This includes the new tables
11248 added to the ACPICA headers, therefore all current and known ACPI tables
11249 are
11250 supported.
11251
11252 Disassembler: The change to allow ACPI names with invalid characters also
11253 enables the disassembly of such tables. Invalid characters within names
11254 are
11255 changed to '*' to make the name printable; the iASL compiler will still
11256 generate an error for such names, however, since this is an invalid ACPI
11257 character.
11258
11259 Implemented an option for AcpiXtract (-a) to extract all tables found in
11260 the
11261 input file. The default invocation extracts only the DSDTs and SSDTs.
11262
11263 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
11264 makefile for the AcpiXtract utility.
11265
11266 ----------------------------------------
11267 17 March 2006. Summary of changes for version 20060317:
11268
11269 1) ACPI CA Core Subsystem:
11270
11271 Implemented the use of a cache object for all internal namespace nodes.
11272 Since there are about 1000 static nodes in a typical system, this will
11273 decrease memory use for cache implementations that minimize per-
11274 allocation
11275 overhead (such as a slab allocator.)
11276
11277 Removed the reference count mechanism for internal namespace nodes, since
11278 it
11279 was deemed unnecessary. This reduces the size of each namespace node by
11280 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
11281 case,
11282 and 32 bytes for the 64-bit case.
11283
11284 Optimized several internal data structures to reduce object size on 64-
11285 bit
11286 platforms by packing data within the 64-bit alignment. This includes the
11287 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
11288 instances corresponding to the namespace objects.
11289
11290 Added two new strings for the predefined _OSI method: "Windows 2001.1
11291 SP1"
11292 and "Windows 2006".
11293
11294 Split the allocation tracking mechanism out to a separate file, from
11295 utalloc.c to uttrack.c. This mechanism appears to be only useful for
11296 application-level code. Kernels may wish to not include uttrack.c in
11297 distributions.
11298
11299 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
11300 associated
11301 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
11302 macros.)
11303
11304 Code and Data Size: These are the sizes for the acpica.lib produced by
11305 the
11306 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11307 ACPI
11308 driver or OSPM code. The debug version of the code includes the debug
11309 output
11310 trace mechanism and has a much larger code and data size. Note that these
11311 values will vary depending on the efficiency of the compiler and the
11312 compiler options used during generation.
11313
11314 Previous Release:
11315 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11316 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
11317 Current Release:
11318 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
11319 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
11320
11321
11322 2) iASL Compiler/Disassembler and Tools:
11323
11324 Implemented an ANSI C version of the acpixtract utility. This version
11325 will
11326 automatically extract the DSDT and all SSDTs from the input acpidump text
11327 file and dump the binary output to separate files. It can also display a
11328 summary of the input file including the headers for each table found and
11329 will extract any single ACPI table, with any signature. (See
11330 source/tools/acpixtract)
11331
11332 ----------------------------------------
11333 10 March 2006. Summary of changes for version 20060310:
11334
11335 1) ACPI CA Core Subsystem:
11336
11337 Tagged all external interfaces to the subsystem with the new
11338 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
11339 assist
11340 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
11341 macro. The default definition is NULL.
11342
11343 Added the ACPI_THREAD_ID type for the return value from
11344 AcpiOsGetThreadId.
11345 This allows the host to define this as necessary to simplify kernel
11346 integration. The default definition is ACPI_NATIVE_UINT.
11347
11348 Fixed two interpreter problems related to error processing, the deletion
11349 of
11350 objects, and placing invalid pointers onto the internal operator result
11351 stack. BZ 6028, 6151 (Valery Podrezov)
11352
11353 Increased the reference count threshold where a warning is emitted for
11354 large
11355 reference counts in order to eliminate unnecessary warnings on systems
11356 with
11357 large namespaces (especially 64-bit.) Increased the value from 0x400 to
11358 0x800.
11359
11360 Due to universal disagreement as to the meaning of the 'c' in the
11361 calloc()
11362 function, the ACPI_MEM_CALLOCATE macro has been renamed to
11363 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
11364 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
11365 ACPI_FREE.
11366
11367 Code and Data Size: These are the sizes for the acpica.lib produced by
11368 the
11369 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11370 ACPI
11371 driver or OSPM code. The debug version of the code includes the debug
11372 output
11373 trace mechanism and has a much larger code and data size. Note that these
11374 values will vary depending on the efficiency of the compiler and the
11375 compiler options used during generation.
11376
11377 Previous Release:
11378 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
11379 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
11380 Current Release:
11381 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11382 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
11383
11384
11385 2) iASL Compiler/Disassembler:
11386
11387 Disassembler: implemented support for symbolic resource descriptor
11388 references. If a CreateXxxxField operator references a fixed offset
11389 within
11390 a
11391 resource descriptor, a name is assigned to the descriptor and the offset
11392 is
11393 translated to the appropriate resource tag and pathname. The addition of
11394 this support brings the disassembled code very close to the original ASL
11395 source code and helps eliminate run-time errors when the disassembled
11396 code
11397 is modified (and recompiled) in such a way as to invalidate the original
11398 fixed offsets.
11399
11400 Implemented support for a Descriptor Name as the last parameter to the
11401 ASL
11402 Register() macro. This parameter was inadvertently left out of the ACPI
11403 specification, and will be added for ACPI 3.0b.
11404
11405 Fixed a problem where the use of the "_OSI" string (versus the full path
11406 "\_OSI") caused an internal compiler error. ("No back ptr to op")
11407
11408 Fixed a problem with the error message that occurs when an invalid string
11409 is
11410 used for a _HID object (such as one with an embedded asterisk:
11411 "*PNP010A".)
11412 The correct message is now displayed.
11413
11414 ----------------------------------------
11415 17 February 2006. Summary of changes for version 20060217:
11416
11417 1) ACPI CA Core Subsystem:
11418
11419 Implemented a change to the IndexField support to match the behavior of
11420 the
11421 Microsoft AML interpreter. The value written to the Index register is now
11422 a
11423 byte offset, no longer an index based upon the width of the Data
11424 register.
11425 This should fix IndexField problems seen on some machines where the Data
11426 register is not exactly one byte wide. The ACPI specification will be
11427 clarified on this point.
11428
11429 Fixed a problem where several resource descriptor types could overrun the
11430 internal descriptor buffer due to size miscalculation: VendorShort,
11431 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
11432 affect all platforms.
11433
11434 Fixed a problem where individual resource descriptors were misaligned
11435 within
11436 the internal buffer, causing alignment faults on IA64 platforms.
11437
11438 Code and Data Size: These are the sizes for the acpica.lib produced by
11439 the
11440 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11441 ACPI
11442 driver or OSPM code. The debug version of the code includes the debug
11443 output
11444 trace mechanism and has a much larger code and data size. Note that these
11445 values will vary depending on the efficiency of the compiler and the
11446 compiler options used during generation.
11447
11448 Previous Release:
11449 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11450 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
11451 Current Release:
11452 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
11453 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
11454
11455
11456 2) iASL Compiler/Disassembler:
11457
11458 Implemented support for new reserved names: _WDG and _WED are Microsoft
11459 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
11460 defined method (Throttling Depth Limit.)
11461
11462 Fixed a problem where a zero-length VendorShort or VendorLong resource
11463 descriptor was incorrectly emitted as a descriptor of length one.
11464
11465 ----------------------------------------
11466 10 February 2006. Summary of changes for version 20060210:
11467
11468 1) ACPI CA Core Subsystem:
11469
11470 Removed a couple of extraneous ACPI_ERROR messages that appeared during
11471 normal execution. These became apparent after the conversion from
11472 ACPI_DEBUG_PRINT.
11473
11474 Fixed a problem where the CreateField operator could hang if the BitIndex
11475 or
11476 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
11477
11478 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
11479 failed with an exception. This also fixes a couple of related RefOf and
11480 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
11481
11482 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
11483 of
11484 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
11485 BZ
11486 5480)
11487
11488 Implemented a memory cleanup at the end of the execution of each
11489 iteration
11490 of an AML While() loop, preventing the accumulation of outstanding
11491 objects.
11492 (Valery Podrezov, BZ 5427)
11493
11494 Eliminated a chunk of duplicate code in the object resolution code.
11495 (Valery
11496 Podrezov, BZ 5336)
11497
11498 Fixed several warnings during the 64-bit code generation.
11499
11500 The AcpiSrc source code conversion tool now inserts one line of
11501 whitespace
11502 after an if() statement that is followed immediately by a comment,
11503 improving
11504 readability of the Linux code.
11505
11506 Code and Data Size: The current and previous library sizes for the core
11507 subsystem are shown below. These are the code and data sizes for the
11508 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11509 These
11510 values do not include any ACPI driver or OSPM code. The debug version of
11511 the
11512 code includes the debug output trace mechanism and has a much larger code
11513 and data size. Note that these values will vary depending on the
11514 efficiency
11515 of the compiler and the compiler options used during generation.
11516
11517 Previous Release:
11518 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
11519 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
11520 Current Release:
11521 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11522 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
11523
11524
11525 2) iASL Compiler/Disassembler:
11526
11527 Fixed a problem with the disassembly of a BankField operator with a
11528 complex
11529 expression for the BankValue parameter.
11530
11531 ----------------------------------------
11532 27 January 2006. Summary of changes for version 20060127:
11533
11534 1) ACPI CA Core Subsystem:
11535
11536 Implemented support in the Resource Manager to allow unresolved
11537 namestring
11538 references within resource package objects for the _PRT method. This
11539 support
11540 is in addition to the previously implemented unresolved reference support
11541 within the AML parser. If the interpreter slack mode is enabled, these
11542 unresolved references will be passed through to the caller as a NULL
11543 package
11544 entry.
11545
11546 Implemented and deployed new macros and functions for error and warning
11547 messages across the subsystem. These macros are simpler and generate less
11548 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
11549 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
11550 macros remain defined to allow ACPI drivers time to migrate to the new
11551 macros.
11552
11553 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
11554 the
11555 Acquire/Release Lock OSL interfaces.
11556
11557 Fixed a problem where Alias ASL operators are sometimes not correctly
11558 resolved, in both the interpreter and the iASL compiler.
11559
11560 Fixed several problems with the implementation of the
11561 ConcatenateResTemplate
11562 ASL operator. As per the ACPI specification, zero length buffers are now
11563 treated as a single EndTag. One-length buffers always cause a fatal
11564 exception. Non-zero length buffers that do not end with a full 2-byte
11565 EndTag
11566 cause a fatal exception.
11567
11568 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
11569 interface. (With assistance from Thomas Renninger)
11570
11571 Code and Data Size: The current and previous library sizes for the core
11572 subsystem are shown below. These are the code and data sizes for the
11573 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11574 These
11575 values do not include any ACPI driver or OSPM code. The debug version of
11576 the
11577 code includes the debug output trace mechanism and has a much larger code
11578 and data size. Note that these values will vary depending on the
11579 efficiency
11580 of the compiler and the compiler options used during generation.
11581
11582 Previous Release:
11583 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
11584 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
11585 Current Release:
11586 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
11587 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
11588
11589
11590 2) iASL Compiler/Disassembler:
11591
11592 Fixed an internal error that was generated for any forward references to
11593 ASL
11594 Alias objects.
11595
11596 ----------------------------------------
11597 13 January 2006. Summary of changes for version 20060113:
11598
11599 1) ACPI CA Core Subsystem:
11600
11601 Added 2006 copyright to all module headers and signons. This affects
11602 virtually every file in the ACPICA core subsystem, iASL compiler, and the
11603 utilities.
11604
11605 Enhanced the ACPICA error reporting in order to simplify user migration
11606 to
11607 the non-debug version of ACPICA. Replaced all instances of the
11608 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
11609 debug
11610 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
11611 respectively. This preserves all error and warning messages in the non-
11612 debug
11613 version of the ACPICA code (this has been referred to as the "debug lite"
11614 option.) Over 200 cases were converted to create a total of over 380
11615 error/warning messages across the ACPICA code. This increases the code
11616 and
11617 data size of the default non-debug version of the code somewhat (about
11618 13K),
11619 but all error/warning reporting may be disabled if desired (and code
11620 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
11621 configuration option. The size of the debug version of ACPICA remains
11622 about
11623 the same.
11624
11625 Fixed a memory leak within the AML Debugger "Set" command. One object was
11626 not properly deleted for every successful invocation of the command.
11627
11628 Code and Data Size: The current and previous library sizes for the core
11629 subsystem are shown below. These are the code and data sizes for the
11630 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11631 These
11632 values do not include any ACPI driver or OSPM code. The debug version of
11633 the
11634 code includes the debug output trace mechanism and has a much larger code
11635 and data size. Note that these values will vary depending on the
11636 efficiency
11637 of the compiler and the compiler options used during generation.
11638
11639 Previous Release:
11640 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
11641 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
11642 Current Release:
11643 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
11644 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
11645
11646
11647 2) iASL Compiler/Disassembler:
11648
11649 The compiler now officially supports the ACPI 3.0a specification that was
11650 released on December 30, 2005. (Specification is available at
11651 www.acpi.info)
11652
11653 ----------------------------------------
11654 16 December 2005. Summary of changes for version 20051216:
11655
11656 1) ACPI CA Core Subsystem:
11657
11658 Implemented optional support to allow unresolved names within ASL Package
11659 objects. A null object is inserted in the package when a named reference
11660 cannot be located in the current namespace. Enabled via the interpreter
11661 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
11662 machines
11663 that contain such code.
11664
11665 Implemented an optimization to the initialization sequence that can
11666 improve
11667 boot time. During ACPI device initialization, the _STA method is now run
11668 if
11669 and only if the _INI method exists. The _STA method is used to determine
11670 if
11671 the device is present; An _INI can only be run if _STA returns present,
11672 but
11673 it is a waste of time to run the _STA method if the _INI does not exist.
11674 (Prototype and assistance from Dong Wei)
11675
11676 Implemented use of the C99 uintptr_t for the pointer casting macros if it
11677 is
11678 available in the current compiler. Otherwise, the default (void *) cast
11679 is
11680 used as before.
11681
11682 Fixed some possible memory leaks found within the execution path of the
11683 Break, Continue, If, and CreateField operators. (Valery Podrezov)
11684
11685 Fixed a problem introduced in the 20051202 release where an exception is
11686 generated during method execution if a control method attempts to declare
11687 another method.
11688
11689 Moved resource descriptor string constants that are used by both the AML
11690 disassembler and AML debugger to the common utilities directory so that
11691 these components are independent.
11692
11693 Implemented support in the AcpiExec utility (-e switch) to globally
11694 ignore
11695 exceptions during control method execution (method is not aborted.)
11696
11697 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
11698 generation.
11699
11700 Code and Data Size: The current and previous library sizes for the core
11701 subsystem are shown below. These are the code and data sizes for the
11702 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11703 These
11704 values do not include any ACPI driver or OSPM code. The debug version of
11705 the
11706 code includes the debug output trace mechanism and has a much larger code
11707 and data size. Note that these values will vary depending on the
11708 efficiency
11709 of the compiler and the compiler options used during generation.
11710
11711 Previous Release:
11712 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
11713 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
11714 Current Release:
11715 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
11716 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
11717
11718
11719 2) iASL Compiler/Disassembler:
11720
11721 Fixed a problem where a CPU stack overflow fault could occur if a
11722 recursive
11723 method call was made from within a Return statement.
11724
11725 ----------------------------------------
11726 02 December 2005. Summary of changes for version 20051202:
11727
11728 1) ACPI CA Core Subsystem:
11729
11730 Modified the parsing of control methods to no longer create namespace
11731 objects during the first pass of the parse. Objects are now created only
11732 during the execute phase, at the moment the namespace creation operator
11733 is
11734 encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
11735 This
11736 should eliminate ALREADY_EXISTS exceptions seen on some machines where
11737 reentrant control methods are protected by an AML mutex. The mutex will
11738 now
11739 correctly block multiple threads from attempting to create the same
11740 object
11741 more than once.
11742
11743 Increased the number of available Owner Ids for namespace object tracking
11744 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
11745 on
11746 some machines with a large number of ACPI tables (either static or
11747 dynamic).
11748
11749 Fixed a problem with the AcpiExec utility where a fault could occur when
11750 the
11751 -b switch (batch mode) is used.
11752
11753 Enhanced the namespace dump routine to output the owner ID for each
11754 namespace object.
11755
11756 Code and Data Size: The current and previous library sizes for the core
11757 subsystem are shown below. These are the code and data sizes for the
11758 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11759 These
11760 values do not include any ACPI driver or OSPM code. The debug version of
11761 the
11762 code includes the debug output trace mechanism and has a much larger code
11763 and data size. Note that these values will vary depending on the
11764 efficiency
11765 of the compiler and the compiler options used during generation.
11766
11767 Previous Release:
11768 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
11769 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
11770 Current Release:
11771 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
11772 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
11773
11774
11775 2) iASL Compiler/Disassembler:
11776
11777 Fixed a parse error during compilation of certain Switch/Case constructs.
11778 To
11779 simplify the parse, the grammar now allows for multiple Default
11780 statements
11781 and this error is now detected and flagged during the analysis phase.
11782
11783 Disassembler: The disassembly now includes the contents of the original
11784 table header within a comment at the start of the file. This includes the
11785 name and version of the original ASL compiler.
11786
11787 ----------------------------------------
11788 17 November 2005. Summary of changes for version 20051117:
11789
11790 1) ACPI CA Core Subsystem:
11791
11792 Fixed a problem in the AML parser where the method thread count could be
11793 decremented below zero if any errors occurred during the method parse
11794 phase.
11795 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
11796 machines.
11797 This also fixed a related regression with the mechanism that detects and
11798 corrects methods that cannot properly handle reentrancy (related to the
11799 deployment of the new OwnerId mechanism.)
11800
11801 Eliminated the pre-parsing of control methods (to detect errors) during
11802 table load. Related to the problem above, this was causing unwind issues
11803 if
11804 any errors occurred during the parse, and it seemed to be overkill. A
11805 table
11806 load should not be aborted if there are problems with any single control
11807 method, thus rendering this feature rather pointless.
11808
11809 Fixed a problem with the new table-driven resource manager where an
11810 internal
11811 buffer overflow could occur for small resource templates.
11812
11813 Implemented a new external interface, AcpiGetVendorResource. This
11814 interface
11815 will find and return a vendor-defined resource descriptor within a _CRS
11816 or
11817 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
11818 Helgaas.
11819
11820 Removed the length limit (200) on string objects as per the upcoming ACPI
11821 3.0A specification. This affects the following areas of the interpreter:
11822 1)
11823 any implicit conversion of a Buffer to a String, 2) a String object
11824 result
11825 of the ASL Concatenate operator, 3) the String object result of the ASL
11826 ToString operator.
11827
11828 Fixed a problem in the Windows OS interface layer (OSL) where a
11829 WAIT_FOREVER
11830 on a semaphore object would incorrectly timeout. This allows the
11831 multithreading features of the AcpiExec utility to work properly under
11832 Windows.
11833
11834 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
11835 the recently added file named "utresrc.c".
11836
11837 Code and Data Size: The current and previous library sizes for the core
11838 subsystem are shown below. These are the code and data sizes for the
11839 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11840 These
11841 values do not include any ACPI driver or OSPM code. The debug version of
11842 the
11843 code includes the debug output trace mechanism and has a much larger code
11844 and data size. Note that these values will vary depending on the
11845 efficiency
11846 of the compiler and the compiler options used during generation.
11847
11848 Previous Release:
11849 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
11850 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
11851 Current Release:
11852 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
11853 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
11854
11855
11856 2) iASL Compiler/Disassembler:
11857
11858 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
11859 specification. For the iASL compiler, this means that string literals
11860 within
11861 the source ASL can be of any length.
11862
11863 Enhanced the listing output to dump the AML code for resource descriptors
11864 immediately after the ASL code for each descriptor, instead of in a block
11865 at
11866 the end of the entire resource template.
11867
11868 Enhanced the compiler debug output to dump the entire original parse tree
11869 constructed during the parse phase, before any transforms are applied to
11870 the
11871 tree. The transformed tree is dumped also.
11872
11873 ----------------------------------------
11874 02 November 2005. Summary of changes for version 20051102:
11875
11876 1) ACPI CA Core Subsystem:
11877
11878 Modified the subsystem initialization sequence to improve GPE support.
11879 The
11880 GPE initialization has been split into two parts in order to defer
11881 execution
11882 of the _PRW methods (Power Resources for Wake) until after the hardware
11883 is
11884 fully initialized and the SCI handler is installed. This allows the _PRW
11885 methods to access fields protected by the Global Lock. This will fix
11886 systems
11887 where a NO_GLOBAL_LOCK exception has been seen during initialization.
11888
11889 Converted the ACPI internal object disassemble and display code within
11890 the
11891 AML debugger to fully table-driven operation, reducing code size and
11892 increasing maintainability.
11893
11894 Fixed a regression with the ConcatenateResTemplate() ASL operator
11895 introduced
11896 in the 20051021 release.
11897
11898 Implemented support for "local" internal ACPI object types within the
11899 debugger "Object" command and the AcpiWalkNamespace external interfaces.
11900 These local types include RegionFields, BankFields, IndexFields, Alias,
11901 and
11902 reference objects.
11903
11904 Moved common AML resource handling code into a new file, "utresrc.c".
11905 This
11906 code is shared by both the Resource Manager and the AML Debugger.
11907
11908 Code and Data Size: The current and previous library sizes for the core
11909 subsystem are shown below. These are the code and data sizes for the
11910 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11911 These
11912 values do not include any ACPI driver or OSPM code. The debug version of
11913 the
11914 code includes the debug output trace mechanism and has a much larger code
11915 and data size. Note that these values will vary depending on the
11916 efficiency
11917 of the compiler and the compiler options used during generation.
11918
11919 Previous Release:
11920 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
11921 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
11922 Current Release:
11923 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
11924 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
11925
11926
11927 2) iASL Compiler/Disassembler:
11928
11929 Fixed a problem with very large initializer lists (more than 4000
11930 elements)
11931 for both Buffer and Package objects where the parse stack could overflow.
11932
11933 Enhanced the pre-compile source code scan for non-ASCII characters to
11934 ignore
11935 characters within comment fields. The scan is now always performed and is
11936 no
11937 longer optional, detecting invalid characters within a source file
11938 immediately rather than during the parse phase or later.
11939
11940 Enhanced the ASL grammar definition to force early reductions on all
11941 list-
11942 style grammar elements so that the overall parse stack usage is greatly
11943 reduced. This should improve performance and reduce the possibility of
11944 parse
11945 stack overflow.
11946
11947 Eliminated all reduce/reduce conflicts in the iASL parser generation.
11948 Also,
11949 with the addition of a %expected statement, the compiler generates from
11950 source with no warnings.
11951
11952 Fixed a possible segment fault in the disassembler if the input filename
11953 does not contain a "dot" extension (Thomas Renninger).
11954
11955 ----------------------------------------
11956 21 October 2005. Summary of changes for version 20051021:
11957
11958 1) ACPI CA Core Subsystem:
11959
11960 Implemented support for the EM64T and other x86-64 processors. This
11961 essentially entails recognizing that these processors support non-aligned
11962 memory transfers. Previously, all 64-bit processors were assumed to lack
11963 hardware support for non-aligned transfers.
11964
11965 Completed conversion of the Resource Manager to nearly full table-driven
11966 operation. Specifically, the resource conversion code (convert AML to
11967 internal format and the reverse) and the debug code to dump internal
11968 resource descriptors are fully table-driven, reducing code and data size
11969 and
11970 improving maintainability.
11971
11972 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
11973 word
11974 on 64-bit processors instead of a fixed 32-bit word. (With assistance
11975 from
11976 Alexey Starikovskiy)
11977
11978 Implemented support within the resource conversion code for the Type-
11979 Specific byte within the various ACPI 3.0 *WordSpace macros.
11980
11981 Fixed some issues within the resource conversion code for the type-
11982 specific
11983 flags for both Memory and I/O address resource descriptors. For Memory,
11984 implemented support for the MTP and TTP flags. For I/O, split the TRS and
11985 TTP flags into two separate fields.
11986
11987 Code and Data Size: The current and previous library sizes for the core
11988 subsystem are shown below. These are the code and data sizes for the
11989 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11990 These
11991 values do not include any ACPI driver or OSPM code. The debug version of
11992 the
11993 code includes the debug output trace mechanism and has a much larger code
11994 and data size. Note that these values will vary depending on the
11995 efficiency
11996 of the compiler and the compiler options used during generation.
11997
11998 Previous Release:
11999 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
12000 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
12001 Current Release:
12002 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
12003 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
12004
12005
12006
12007 2) iASL Compiler/Disassembler:
12008
12009 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
12010 the
12011 corresponding ResourceSource string was not also present in a resource
12012 descriptor declaration. This restriction caused problems with existing
12013 AML/ASL code that includes the Index byte without the string. When such
12014 AML
12015 was disassembled, it could not be compiled without modification. Further,
12016 the modified code created a resource template with a different size than
12017 the
12018 original, breaking code that used fixed offsets into the resource
12019 template
12020 buffer.
12021
12022 Removed a recent feature of the disassembler to ignore a lone
12023 ResourceIndex
12024 byte. This byte is now emitted if present so that the exact AML can be
12025 reproduced when the disassembled code is recompiled.
12026
12027 Improved comments and text alignment for the resource descriptor code
12028 emitted by the disassembler.
12029
12030 Implemented disassembler support for the ACPI 3.0 AccessSize field within
12031 a
12032 Register() resource descriptor.
12033
12034 ----------------------------------------
12035 30 September 2005. Summary of changes for version 20050930:
12036
12037 1) ACPI CA Core Subsystem:
12038
12039 Completed a major overhaul of the Resource Manager code - specifically,
12040 optimizations in the area of the AML/internal resource conversion code.
12041 The
12042 code has been optimized to simplify and eliminate duplicated code, CPU
12043 stack
12044 use has been decreased by optimizing function parameters and local
12045 variables, and naming conventions across the manager have been
12046 standardized
12047 for clarity and ease of maintenance (this includes function, parameter,
12048 variable, and struct/typedef names.) The update may force changes in some
12049 driver code, depending on how resources are handled by the host OS.
12050
12051 All Resource Manager dispatch and information tables have been moved to a
12052 single location for clarity and ease of maintenance. One new file was
12053 created, named "rsinfo.c".
12054
12055 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
12056 guarantee that the argument is not evaluated twice, making them less
12057 prone
12058 to macro side-effects. However, since there exists the possibility of
12059 additional stack use if a particular compiler cannot optimize them (such
12060 as
12061 in the debug generation case), the original macros are optionally
12062 available.
12063 Note that some invocations of the return_VALUE macro may now cause size
12064 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
12065 to
12066 eliminate these. (From Randy Dunlap)
12067
12068 Implemented a new mechanism to enable debug tracing for individual
12069 control
12070 methods. A new external interface, AcpiDebugTrace, is provided to enable
12071 this mechanism. The intent is to allow the host OS to easily enable and
12072 disable tracing for problematic control methods. This interface can be
12073 easily exposed to a user or debugger interface if desired. See the file
12074 psxface.c for details.
12075
12076 AcpiUtCallocate will now return a valid pointer if a length of zero is
12077 specified - a length of one is used and a warning is issued. This matches
12078 the behavior of AcpiUtAllocate.
12079
12080 Code and Data Size: The current and previous library sizes for the core
12081 subsystem are shown below. These are the code and data sizes for the
12082 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12083 These
12084 values do not include any ACPI driver or OSPM code. The debug version of
12085 the
12086 code includes the debug output trace mechanism and has a much larger code
12087 and data size. Note that these values will vary depending on the
12088 efficiency
12089 of the compiler and the compiler options used during generation.
12090
12091 Previous Release:
12092 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
12093 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
12094 Current Release:
12095 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
12096 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
12097
12098
12099 2) iASL Compiler/Disassembler:
12100
12101 A remark is issued if the effective compile-time length of a package or
12102 buffer is zero. Previously, this was a warning.
12103
12104 ----------------------------------------
12105 16 September 2005. Summary of changes for version 20050916:
12106
12107 1) ACPI CA Core Subsystem:
12108
12109 Fixed a problem within the Resource Manager where support for the Generic
12110 Register descriptor was not fully implemented. This descriptor is now
12111 fully
12112 recognized, parsed, disassembled, and displayed.
12113
12114 Completely restructured the Resource Manager code to utilize table-driven
12115 dispatch and lookup, eliminating many of the large switch() statements.
12116 This
12117 reduces overall subsystem code size and code complexity. Affects the
12118 resource parsing and construction, disassembly, and debug dump output.
12119
12120 Cleaned up and restructured the debug dump output for all resource
12121 descriptors. Improved readability of the output and reduced code size.
12122
12123 Fixed a problem where changes to internal data structures caused the
12124 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
12125
12126 Code and Data Size: The current and previous library sizes for the core
12127 subsystem are shown below. These are the code and data sizes for the
12128 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12129 These
12130 values do not include any ACPI driver or OSPM code. The debug version of
12131 the
12132 code includes the debug output trace mechanism and has a much larger code
12133 and data size. Note that these values will vary depending on the
12134 efficiency
12135 of the compiler and the compiler options used during generation.
12136
12137 Previous Release:
12138 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
12139 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
12140 Current Release:
12141 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
12142 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
12143
12144
12145 2) iASL Compiler/Disassembler:
12146
12147 Updated the disassembler to automatically insert an EndDependentFn()
12148 macro
12149 into the ASL stream if this macro is missing in the original AML code,
12150 simplifying compilation of the resulting ASL module.
12151
12152 Fixed a problem in the disassembler where a disassembled ResourceSource
12153 string (within a large resource descriptor) was not surrounded by quotes
12154 and
12155 not followed by a comma, causing errors when the resulting ASL module was
12156 compiled. Also, escape sequences within a ResourceSource string are now
12157 handled correctly (especially "\\")
12158
12159 ----------------------------------------
12160 02 September 2005. Summary of changes for version 20050902:
12161
12162 1) ACPI CA Core Subsystem:
12163
12164 Fixed a problem with the internal Owner ID allocation and deallocation
12165 mechanisms for control method execution and recursive method invocation.
12166 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
12167 messages seen on some systems. Recursive method invocation depth is
12168 currently limited to 255. (Alexey Starikovskiy)
12169
12170 Completely eliminated all vestiges of support for the "module-level
12171 executable code" until this support is fully implemented and debugged.
12172 This
12173 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
12174 some systems that invoke this support.
12175
12176 Fixed a problem within the resource manager code where the transaction
12177 flags
12178 for a 64-bit address descriptor were handled incorrectly in the type-
12179 specific flag byte.
12180
12181 Consolidated duplicate code within the address descriptor resource
12182 manager
12183 code, reducing overall subsystem code size.
12184
12185 Fixed a fault when using the AML debugger "disassemble" command to
12186 disassemble individual control methods.
12187
12188 Removed references to the "release_current" directory within the Unix
12189 release package.
12190
12191 Code and Data Size: The current and previous core subsystem library sizes
12192 are shown below. These are the code and data sizes for the acpica.lib
12193 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
12194 include any ACPI driver or OSPM code. The debug version of the code
12195 includes
12196 the debug output trace mechanism and has a much larger code and data
12197 size.
12198 Note that these values will vary depending on the efficiency of the
12199 compiler
12200 and the compiler options used during generation.
12201
12202 Previous Release:
12203 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
12204 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
12205 Current Release:
12206 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
12207 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
12208
12209
12210 2) iASL Compiler/Disassembler:
12211
12212 Implemented an error check for illegal duplicate values in the interrupt
12213 and
12214 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
12215 Interrupt().
12216
12217 Implemented error checking for the Irq() and IrqNoFlags() macros to
12218 detect
12219 too many values in the interrupt list (16 max) and invalid values in the
12220 list (range 0 - 15)
12221
12222 The maximum length string literal within an ASL file is now restricted to
12223 200 characters as per the ACPI specification.
12224
12225 Fixed a fault when using the -ln option (generate namespace listing).
12226
12227 Implemented an error check to determine if a DescriptorName within a
12228 resource descriptor has already been used within the current scope.
12229
12230 ----------------------------------------
12231 15 August 2005. Summary of changes for version 20050815:
12232
12233 1) ACPI CA Core Subsystem:
12234
12235 Implemented a full bytewise compare to determine if a table load request
12236 is
12237 attempting to load a duplicate table. The compare is performed if the
12238 table
12239 signatures and table lengths match. This will allow different tables with
12240 the same OEM Table ID and revision to be loaded - probably against the
12241 ACPI
12242 specification, but discovered in the field nonetheless.
12243
12244 Added the changes.txt logfile to each of the zipped release packages.
12245
12246 Code and Data Size: Current and previous core subsystem library sizes are
12247 shown below. These are the code and data sizes for the acpica.lib
12248 produced
12249 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12250 any ACPI driver or OSPM code. The debug version of the code includes the
12251 debug output trace mechanism and has a much larger code and data size.
12252 Note
12253 that these values will vary depending on the efficiency of the compiler
12254 and
12255 the compiler options used during generation.
12256
12257 Previous Release:
12258 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
12259 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
12260 Current Release:
12261 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
12262 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
12263
12264
12265 2) iASL Compiler/Disassembler:
12266
12267 Fixed a problem where incorrect AML code could be generated for Package
12268 objects if optimization is disabled (via the -oa switch).
12269
12270 Fixed a problem with where incorrect AML code is generated for variable-
12271 length packages when the package length is not specified and the number
12272 of
12273 initializer values is greater than 255.
12274
12275
12276 ----------------------------------------
12277 29 July 2005. Summary of changes for version 20050729:
12278
12279 1) ACPI CA Core Subsystem:
12280
12281 Implemented support to ignore an attempt to install/load a particular
12282 ACPI
12283 table more than once. Apparently there exists BIOS code that repeatedly
12284 attempts to load the same SSDT upon certain events. With assistance from
12285 Venkatesh Pallipadi.
12286
12287 Restructured the main interface to the AML parser in order to correctly
12288 handle all exceptional conditions. This will prevent leakage of the
12289 OwnerId
12290 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
12291 some
12292 machines. With assistance from Alexey Starikovskiy.
12293
12294 Support for "module level code" has been disabled in this version due to
12295 a
12296 number of issues that have appeared on various machines. The support can
12297 be
12298 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
12299 compilation. When the issues are fully resolved, the code will be enabled
12300 by
12301 default again.
12302
12303 Modified the internal functions for debug print support to define the
12304 FunctionName parameter as a (const char *) for compatibility with
12305 compiler
12306 built-in macros such as __FUNCTION__, etc.
12307
12308 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
12309
12310 Implemented support to display an object count summary for the AML
12311 Debugger
12312 commands Object and Methods.
12313
12314 Code and Data Size: Current and previous core subsystem library sizes are
12315 shown below. These are the code and data sizes for the acpica.lib
12316 produced
12317 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12318 any ACPI driver or OSPM code. The debug version of the code includes the
12319 debug output trace mechanism and has a much larger code and data size.
12320 Note
12321 that these values will vary depending on the efficiency of the compiler
12322 and
12323 the compiler options used during generation.
12324
12325 Previous Release:
12326 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
12327 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
12328 Current Release:
12329 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
12330 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
12331
12332
12333 2) iASL Compiler/Disassembler:
12334
12335 Fixed a regression that appeared in the 20050708 version of the compiler
12336 where an error message was inadvertently emitted for invocations of the
12337 _OSI
12338 reserved control method.
12339
12340 ----------------------------------------
12341 08 July 2005. Summary of changes for version 20050708:
12342
12343 1) ACPI CA Core Subsystem:
12344
12345 The use of the CPU stack in the debug version of the subsystem has been
12346 considerably reduced. Previously, a debug structure was declared in every
12347 function that used the debug macros. This structure has been removed in
12348 favor of declaring the individual elements as parameters to the debug
12349 functions. This reduces the cumulative stack use during nested execution
12350 of
12351 ACPI function calls at the cost of a small increase in the code size of
12352 the
12353 debug version of the subsystem. With assistance from Alexey Starikovskiy
12354 and
12355 Len Brown.
12356
12357 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
12358 headers to define a macro that will return the current function name at
12359 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
12360 by
12361 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
12362 compiler-dependent header, the function name is saved on the CPU stack
12363 (one
12364 pointer per function.) This mechanism is used because apparently there
12365 exists no standard ANSI-C defined macro that that returns the function
12366 name.
12367
12368 Redesigned and reimplemented the "Owner ID" mechanism used to track
12369 namespace objects created/deleted by ACPI tables and control method
12370 execution. A bitmap is now used to allocate and free the IDs, thus
12371 solving
12372 the wraparound problem present in the previous implementation. The size
12373 of
12374 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
12375 Starikovskiy).
12376
12377 Removed the UINT32_BIT and UINT16_BIT types that were used for the
12378 bitfield
12379 flag definitions within the headers for the predefined ACPI tables. These
12380 have been replaced by UINT8_BIT in order to increase the code portability
12381 of
12382 the subsystem. If the use of UINT8 remains a problem, we may be forced to
12383 eliminate bitfields entirely because of a lack of portability.
12384
12385 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
12386 This
12387 is a frequently used function and this improvement increases the
12388 performance
12389 of the entire subsystem (Alexey Starikovskiy).
12390
12391 Fixed several possible memory leaks and the inverse - premature object
12392 deletion (Alexey Starikovskiy).
12393
12394 Code and Data Size: Current and previous core subsystem library sizes are
12395 shown below. These are the code and data sizes for the acpica.lib
12396 produced
12397 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12398 any ACPI driver or OSPM code. The debug version of the code includes the
12399 debug output trace mechanism and has a much larger code and data size.
12400 Note
12401 that these values will vary depending on the efficiency of the compiler
12402 and
12403 the compiler options used during generation.
12404
12405 Previous Release:
12406 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
12407 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
12408 Current Release:
12409 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
12410 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
12411
12412 ----------------------------------------
12413 24 June 2005. Summary of changes for version 20050624:
12414
12415 1) ACPI CA Core Subsystem:
12416
12417 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
12418 the host-defined cache object. This allows the OSL implementation to
12419 define
12420 and type this object in any manner desired, simplifying the OSL
12421 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
12422 Linux, and should be defined in the OS-specific header file for other
12423 operating systems as required.
12424
12425 Changed the interface to AcpiOsAcquireObject to directly return the
12426 requested object as the function return (instead of ACPI_STATUS.) This
12427 change was made for performance reasons, since this is the purpose of the
12428 interface in the first place. AcpiOsAcquireObject is now similar to the
12429 AcpiOsAllocate interface.
12430
12431 Implemented a new AML debugger command named Businfo. This command
12432 displays
12433 information about all devices that have an associate _PRT object. The
12434 _ADR,
12435 _HID, _UID, and _CID are displayed for these devices.
12436
12437 Modified the initialization sequence in AcpiInitializeSubsystem to call
12438 the
12439 OSL interface AcpiOslInitialize first, before any local initialization.
12440 This
12441 change was required because the global initialization now calls OSL
12442 interfaces.
12443
12444 Enhanced the Dump command to display the entire contents of Package
12445 objects
12446 (including all sub-objects and their values.)
12447
12448 Restructured the code base to split some files because of size and/or
12449 because the code logically belonged in a separate file. New files are
12450 listed
12451 below. All makefiles and project files included in the ACPI CA release
12452 have
12453 been updated.
12454 utilities/utcache.c /* Local cache interfaces */
12455 utilities/utmutex.c /* Local mutex support */
12456 utilities/utstate.c /* State object support */
12457 interpreter/parser/psloop.c /* Main AML parse loop */
12458
12459 Code and Data Size: Current and previous core subsystem library sizes are
12460 shown below. These are the code and data sizes for the acpica.lib
12461 produced
12462 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12463 any ACPI driver or OSPM code. The debug version of the code includes the
12464 debug output trace mechanism and has a much larger code and data size.
12465 Note
12466 that these values will vary depending on the efficiency of the compiler
12467 and
12468 the compiler options used during generation.
12469
12470 Previous Release:
12471 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
12472 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
12473 Current Release:
12474 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
12475 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
12476
12477
12478 2) iASL Compiler/Disassembler:
12479
12480 Fixed a regression introduced in version 20050513 where the use of a
12481 Package
12482 object within a Case() statement caused a compile time exception. The
12483 original behavior has been restored (a Match() operator is emitted.)
12484
12485 ----------------------------------------
12486 17 June 2005. Summary of changes for version 20050617:
12487
12488 1) ACPI CA Core Subsystem:
12489
12490 Moved the object cache operations into the OS interface layer (OSL) to
12491 allow
12492 the host OS to handle these operations if desired (for example, the Linux
12493 OSL will invoke the slab allocator). This support is optional; the
12494 compile
12495 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
12496 cache
12497 code in the ACPI CA core. The new OSL interfaces are shown below. See
12498 utalloc.c for an example implementation, and acpiosxf.h for the exact
12499 interface definitions. With assistance from Alexey Starikovskiy.
12500 AcpiOsCreateCache
12501 AcpiOsDeleteCache
12502 AcpiOsPurgeCache
12503 AcpiOsAcquireObject
12504 AcpiOsReleaseObject
12505
12506 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
12507 return
12508 and restore a flags parameter. This fits better with many OS lock models.
12509 Note: the current execution state (interrupt handler or not) is no longer
12510 passed to these interfaces. If necessary, the OSL must determine this
12511 state
12512 by itself, a simple and fast operation. With assistance from Alexey
12513 Starikovskiy.
12514
12515 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
12516 present if the revision of the RSDP was 2 or greater. According to the
12517 ACPI
12518 specification, the XSDT is optional in all cases, and the table manager
12519 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
12520 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
12521 contain
12522 only the RSDT.
12523
12524 Fixed an interpreter problem with the Mid() operator in the case of an
12525 input
12526 string where the resulting output string is of zero length. It now
12527 correctly
12528 returns a valid, null terminated string object instead of a string object
12529 with a null pointer.
12530
12531 Fixed a problem with the control method argument handling to allow a
12532 store
12533 to an Arg object that already contains an object of type Device. The
12534 Device
12535 object is now correctly overwritten. Previously, an error was returned.
12536
12537
12538 Enhanced the debugger Find command to emit object values in addition to
12539 the
12540 found object pathnames. The output format is the same as the dump
12541 namespace
12542 command.
12543
12544 Enhanced the debugger Set command. It now has the ability to set the
12545 value
12546 of any Named integer object in the namespace (Previously, only method
12547 locals
12548 and args could be set.)
12549
12550 Code and Data Size: Current and previous core subsystem library sizes are
12551 shown below. These are the code and data sizes for the acpica.lib
12552 produced
12553 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12554 any ACPI driver or OSPM code. The debug version of the code includes the
12555 debug output trace mechanism and has a much larger code and data size.
12556 Note
12557 that these values will vary depending on the efficiency of the compiler
12558 and
12559 the compiler options used during generation.
12560
12561 Previous Release:
12562 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
12563 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
12564 Current Release:
12565 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
12566 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
12567
12568
12569 2) iASL Compiler/Disassembler:
12570
12571 Fixed a regression in the disassembler where if/else/while constructs
12572 were
12573 output incorrectly. This problem was introduced in the previous release
12574 (20050526). This problem also affected the single-step disassembly in the
12575 debugger.
12576
12577 Fixed a problem where compiling the reserved _OSI method would randomly
12578 (but
12579 rarely) produce compile errors.
12580
12581 Enhanced the disassembler to emit compilable code in the face of
12582 incorrect
12583 AML resource descriptors. If the optional ResourceSourceIndex is present,
12584 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
12585 disassembly. Otherwise, the resulting code cannot be compiled without
12586 errors.
12587
12588 ----------------------------------------
12589 26 May 2005. Summary of changes for version 20050526:
12590
12591 1) ACPI CA Core Subsystem:
12592
12593 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
12594 the module level (not within a control method.) These opcodes are
12595 executed
12596 exactly once at the time the table is loaded. This type of code was legal
12597 up
12598 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
12599 in
12600 order to provide backwards compatibility with earlier BIOS
12601 implementations.
12602 This eliminates the "Encountered executable code at module level" warning
12603 that was previously generated upon detection of such code.
12604
12605 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
12606 inadvertently be generated during the lookup of namespace objects in the
12607 second pass parse of ACPI tables and control methods. It appears that
12608 this
12609 problem could occur during the resolution of forward references to
12610 namespace
12611 objects.
12612
12613 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
12614 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
12615 allows the deadlock detection debug code to be compiled out in the normal
12616 case, improving mutex performance (and overall subsystem performance)
12617 considerably.
12618
12619 Implemented a handful of miscellaneous fixes for possible memory leaks on
12620 error conditions and error handling control paths. These fixes were
12621 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
12622
12623 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
12624 (tbxfroot.c)
12625 to prevent a fault in this error case.
12626
12627 Code and Data Size: Current and previous core subsystem library sizes are
12628 shown below. These are the code and data sizes for the acpica.lib
12629 produced
12630 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12631 any ACPI driver or OSPM code. The debug version of the code includes the
12632 debug output trace mechanism and has a much larger code and data size.
12633 Note
12634 that these values will vary depending on the efficiency of the compiler
12635 and
12636 the compiler options used during generation.
12637
12638 Previous Release:
12639 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
12640 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
12641 Current Release:
12642 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
12643 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
12644
12645
12646 2) iASL Compiler/Disassembler:
12647
12648 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
12649 the module level (not within a control method.) These operators will be
12650 executed once at the time the table is loaded. This type of code was
12651 legal
12652 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
12653 compiler in order to provide backwards compatibility with earlier BIOS
12654 ASL
12655 code.
12656
12657 The ACPI integer width (specified via the table revision ID or the -r
12658 override, 32 or 64 bits) is now used internally during compile-time
12659 constant
12660 folding to ensure that constants are truncated to 32 bits if necessary.
12661 Previously, the revision ID value was only emitted in the AML table
12662 header.
12663
12664 An error message is now generated for the Mutex and Method operators if
12665 the
12666 SyncLevel parameter is outside the legal range of 0 through 15.
12667
12668 Fixed a problem with the Method operator ParameterTypes list handling
12669 (ACPI
12670 3.0). Previously, more than 2 types or 2 arguments generated a syntax
12671 error.
12672 The actual underlying implementation of method argument typechecking is
12673 still under development, however.
12674
12675 ----------------------------------------
12676 13 May 2005. Summary of changes for version 20050513:
12677
12678 1) ACPI CA Core Subsystem:
12679
12680 Implemented support for PCI Express root bridges -- added support for
12681 device
12682 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
12683
12684 The interpreter now automatically truncates incoming 64-bit constants to
12685 32
12686 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
12687 This
12688 also affects the iASL compiler constant folding. (Note: as per below, the
12689 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
12690
12691 Fixed a problem where string and buffer objects with "static" pointers
12692 (pointers to initialization data within an ACPI table) were not handled
12693 consistently. The internal object copy operation now always copies the
12694 data
12695 to a newly allocated buffer, regardless of whether the source object is
12696 static or not.
12697
12698 Fixed a problem with the FromBCD operator where an implicit result
12699 conversion was improperly performed while storing the result to the
12700 target
12701 operand. Since this is an "explicit conversion" operator, the implicit
12702 conversion should never be performed on the output.
12703
12704 Fixed a problem with the CopyObject operator where a copy to an existing
12705 named object did not always completely overwrite the existing object
12706 stored
12707 at name. Specifically, a buffer-to-buffer copy did not delete the
12708 existing
12709 buffer.
12710
12711 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
12712 and
12713 structs for consistency.
12714
12715 Code and Data Size: Current and previous core subsystem library sizes are
12716 shown below. These are the code and data sizes for the acpica.lib
12717 produced
12718 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12719 any ACPI driver or OSPM code. The debug version of the code includes the
12720 debug output trace mechanism and has a much larger code and data size.
12721 Note
12722 that these values will vary depending on the efficiency of the compiler
12723 and
12724 the compiler options used during generation.
12725
12726 Previous Release:
12727 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
12728 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
12729 Current Release: (Same sizes)
12730 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
12731 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
12732
12733
12734 2) iASL Compiler/Disassembler:
12735
12736 The compiler now emits a warning if an attempt is made to generate a 64-
12737 bit
12738 integer constant from within a 32-bit ACPI table (Revision < 2). The
12739 integer
12740 is truncated to 32 bits.
12741
12742 Fixed a problem with large package objects: if the static length of the
12743 package is greater than 255, the "variable length package" opcode is
12744 emitted. Previously, this caused an error. This requires an update to the
12745 ACPI spec, since it currently (incorrectly) states that packages larger
12746 than
12747 255 elements are not allowed.
12748
12749 The disassembler now correctly handles variable length packages and
12750 packages
12751 larger than 255 elements.
12752
12753 ----------------------------------------
12754 08 April 2005. Summary of changes for version 20050408:
12755
12756 1) ACPI CA Core Subsystem:
12757
12758 Fixed three cases in the interpreter where an "index" argument to an ASL
12759 function was still (internally) 32 bits instead of the required 64 bits.
12760 This was the Index argument to the Index, Mid, and Match operators.
12761
12762 The "strupr" function is now permanently local (AcpiUtStrupr), since this
12763 is
12764 not a POSIX-defined function and not present in most kernel-level C
12765 libraries. All references to the C library strupr function have been
12766 removed
12767 from the headers.
12768
12769 Completed the deployment of static functions/prototypes. All prototypes
12770 with
12771 the static attribute have been moved from the headers to the owning C
12772 file.
12773
12774 Implemented an extract option (-e) for the AcpiBin utility (AML binary
12775 utility). This option allows the utility to extract individual ACPI
12776 tables
12777 from the output of AcpiDmp. It provides the same functionality of the
12778 acpixtract.pl perl script without the worry of setting the correct perl
12779 options. AcpiBin runs on Windows and has not yet been generated/validated
12780 in
12781 the Linux/Unix environment (but should be soon).
12782
12783 Updated and fixed the table dump option for AcpiBin (-d). This option
12784 converts a single ACPI table to a hex/ascii file, similar to the output
12785 of
12786 AcpiDmp.
12787
12788 Code and Data Size: Current and previous core subsystem library sizes are
12789 shown below. These are the code and data sizes for the acpica.lib
12790 produced
12791 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12792 any ACPI driver or OSPM code. The debug version of the code includes the
12793 debug output trace mechanism and has a much larger code and data size.
12794 Note
12795 that these values will vary depending on the efficiency of the compiler
12796 and
12797 the compiler options used during generation.
12798
12799 Previous Release:
12800 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
12801 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
12802 Current Release:
12803 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
12804 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
12805
12806
12807 2) iASL Compiler/Disassembler:
12808
12809 Disassembler fix: Added a check to ensure that the table length found in
12810 the
12811 ACPI table header within the input file is not longer than the actual
12812 input
12813 file size. This indicates some kind of file or table corruption.
12814
12815 ----------------------------------------
12816 29 March 2005. Summary of changes for version 20050329:
12817
12818 1) ACPI CA Core Subsystem:
12819
12820 An error is now generated if an attempt is made to create a Buffer Field
12821 of
12822 length zero (A CreateField with a length operand of zero.)
12823
12824 The interpreter now issues a warning whenever executable code at the
12825 module
12826 level is detected during ACPI table load. This will give some idea of the
12827 prevalence of this type of code.
12828
12829 Implemented support for references to named objects (other than control
12830 methods) within package objects.
12831
12832 Enhanced package object output for the debug object. Package objects are
12833 now
12834 completely dumped, showing all elements.
12835
12836 Enhanced miscellaneous object output for the debug object. Any object can
12837 now be written to the debug object (for example, a device object can be
12838 written, and the type of the object will be displayed.)
12839
12840 The "static" qualifier has been added to all local functions across both
12841 the
12842 core subsystem and the iASL compiler.
12843
12844 The number of "long" lines (> 80 chars) within the source has been
12845 significantly reduced, by about 1/3.
12846
12847 Cleaned up all header files to ensure that all CA/iASL functions are
12848 prototyped (even static functions) and the formatting is consistent.
12849
12850 Two new header files have been added, acopcode.h and acnames.h.
12851
12852 Removed several obsolete functions that were no longer used.
12853
12854 Code and Data Size: Current and previous core subsystem library sizes are
12855 shown below. These are the code and data sizes for the acpica.lib
12856 produced
12857 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12858 any ACPI driver or OSPM code. The debug version of the code includes the
12859 debug output trace mechanism and has a much larger code and data size.
12860 Note
12861 that these values will vary depending on the efficiency of the compiler
12862 and
12863 the compiler options used during generation.
12864
12865 Previous Release:
12866 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12867 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
12868 Current Release:
12869 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
12870 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
12871
12872
12873
12874 2) iASL Compiler/Disassembler:
12875
12876 Fixed a problem with the resource descriptor generation/support. For the
12877 ResourceSourceIndex and the ResourceSource fields, both must be present,
12878 or
12879 both must be not present - can't have one without the other.
12880
12881 The compiler now returns non-zero from the main procedure if any errors
12882 have
12883 occurred during the compilation.
12884
12885
12886 ----------------------------------------
12887 09 March 2005. Summary of changes for version 20050309:
12888
12889 1) ACPI CA Core Subsystem:
12890
12891 The string-to-buffer implicit conversion code has been modified again
12892 after
12893 a change to the ACPI specification. In order to match the behavior of
12894 the
12895 other major ACPI implementation, the target buffer is no longer truncated
12896 if
12897 the source string is smaller than an existing target buffer. This change
12898 requires an update to the ACPI spec, and should eliminate the recent
12899 AE_AML_BUFFER_LIMIT issues.
12900
12901 The "implicit return" support was rewritten to a new algorithm that
12902 solves
12903 the general case. Rather than attempt to determine when a method is about
12904 to
12905 exit, the result of every ASL operator is saved momentarily until the
12906 very
12907 next ASL operator is executed. Therefore, no matter how the method exits,
12908 there will always be a saved implicit return value. This feature is only
12909 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
12910 eliminate
12911 AE_AML_NO_RETURN_VALUE errors when enabled.
12912
12913 Implemented implicit conversion support for the predicate (operand) of
12914 the
12915 If, Else, and While operators. String and Buffer arguments are
12916 automatically
12917 converted to Integers.
12918
12919 Changed the string-to-integer conversion behavior to match the new ACPI
12920 errata: "If no integer object exists, a new integer is created. The ASCII
12921 string is interpreted as a hexadecimal constant. Each string character is
12922 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
12923 with the first character as the most significant digit, and ending with
12924 the
12925 first non-hexadecimal character or end-of-string." This means that the
12926 first
12927 non-hex character terminates the conversion and this is the code that was
12928 changed.
12929
12930 Fixed a problem where the ObjectType operator would fail (fault) when
12931 used
12932 on an Index of a Package which pointed to a null package element. The
12933 operator now properly returns zero (Uninitialized) in this case.
12934
12935 Fixed a problem where the While operator used excessive memory by not
12936 properly popping the result stack during execution. There was no memory
12937 leak
12938 after execution, however. (Code provided by Valery Podrezov.)
12939
12940 Fixed a problem where references to control methods within Package
12941 objects
12942 caused the method to be invoked, instead of producing a reference object
12943 pointing to the method.
12944
12945 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
12946 to
12947 improve performance and reduce code size. (Code provided by Alexey
12948 Starikovskiy.)
12949
12950 Code and Data Size: Current and previous core subsystem library sizes are
12951 shown below. These are the code and data sizes for the acpica.lib
12952 produced
12953 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12954 any ACPI driver or OSPM code. The debug version of the code includes the
12955 debug output trace mechanism and has a much larger code and data size.
12956 Note
12957 that these values will vary depending on the efficiency of the compiler
12958 and
12959 the compiler options used during generation.
12960
12961 Previous Release:
12962 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12963 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
12964 Current Release:
12965 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12966 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
12967
12968
12969 2) iASL Compiler/Disassembler:
12970
12971 Fixed a problem with the Return operator with no arguments. Since the AML
12972 grammar for the byte encoding requires an operand for the Return opcode,
12973 the
12974 compiler now emits a Return(Zero) for this case. An ACPI specification
12975 update has been written for this case.
12976
12977 For tables other than the DSDT, namepath optimization is automatically
12978 disabled. This is because SSDTs can be loaded anywhere in the namespace,
12979 the
12980 compiler has no knowledge of where, and thus cannot optimize namepaths.
12981
12982 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
12983 inadvertently omitted from the ACPI specification, and will require an
12984 update to the spec.
12985
12986 The source file scan for ASCII characters is now optional (-a). This
12987 change
12988 was made because some vendors place non-ascii characters within comments.
12989 However, the scan is simply a brute-force byte compare to ensure all
12990 characters in the file are in the range 0x00 to 0x7F.
12991
12992 Fixed a problem with the CondRefOf operator where the compiler was
12993 inappropriately checking for the existence of the target. Since the point
12994 of
12995 the operator is to check for the existence of the target at run-time, the
12996 compiler no longer checks for the target existence.
12997
12998 Fixed a problem where errors generated from the internal AML interpreter
12999 during constant folding were not handled properly, causing a fault.
13000
13001 Fixed a problem with overly aggressive range checking for the Stall
13002 operator. The valid range (max 255) is now only checked if the operand is
13003 of
13004 type Integer. All other operand types cannot be statically checked.
13005
13006 Fixed a problem where control method references within the RefOf,
13007 DeRefOf,
13008 and ObjectType operators were not treated properly. They are now treated
13009 as
13010 actual references, not method invocations.
13011
13012 Fixed and enhanced the "list namespace" option (-ln). This option was
13013 broken
13014 a number of releases ago.
13015
13016 Improved error handling for the Field, IndexField, and BankField
13017 operators.
13018 The compiler now cleanly reports and recovers from errors in the field
13019 component (FieldUnit) list.
13020
13021 Fixed a disassembler problem where the optional ResourceDescriptor fields
13022 TRS and TTP were not always handled correctly.
13023
13024 Disassembler - Comments in output now use "//" instead of "/*"
13025
13026 ----------------------------------------
13027 28 February 2005. Summary of changes for version 20050228:
13028
13029 1) ACPI CA Core Subsystem:
13030
13031 Fixed a problem where the result of an Index() operator (an object
13032 reference) must increment the reference count on the target object for
13033 the
13034 life of the object reference.
13035
13036 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
13037 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
13038 WordSpace
13039 resource descriptors.
13040
13041 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
13042 Space Descriptor" string, indicating interpreter support for the
13043 descriptors
13044 above.
13045
13046 Implemented header support for the new ACPI 3.0 FADT flag bits.
13047
13048 Implemented header support for the new ACPI 3.0 PCI Express bits for the
13049 PM1
13050 status/enable registers.
13051
13052 Updated header support for the MADT processor local Apic struct and MADT
13053 platform interrupt source struct for new ACPI 3.0 fields.
13054
13055 Implemented header support for the SRAT and SLIT ACPI tables.
13056
13057 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
13058 flag
13059 at runtime.
13060
13061 Code and Data Size: Current and previous core subsystem library sizes are
13062 shown below. These are the code and data sizes for the acpica.lib
13063 produced
13064 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13065 any ACPI driver or OSPM code. The debug version of the code includes the
13066 debug output trace mechanism and has a much larger code and data size.
13067 Note
13068 that these values will vary depending on the efficiency of the compiler
13069 and
13070 the compiler options used during generation.
13071
13072 Previous Release:
13073 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
13074 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
13075 Current Release:
13076 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13077 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
13078
13079
13080 2) iASL Compiler/Disassembler:
13081
13082 Fixed a problem with the internal 64-bit String-to-integer conversion
13083 with
13084 strings less than two characters long.
13085
13086 Fixed a problem with constant folding where the result of the Index()
13087 operator can not be considered a constant. This means that Index() cannot
13088 be
13089 a type3 opcode and this will require an update to the ACPI specification.
13090
13091 Disassembler: Implemented support for the TTP, MTP, and TRS resource
13092 descriptor fields. These fields were inadvertently ignored and not output
13093 in
13094 the disassembly of the resource descriptor.
13095
13096
13097 ----------------------------------------
13098 11 February 2005. Summary of changes for version 20050211:
13099
13100 1) ACPI CA Core Subsystem:
13101
13102 Implemented ACPI 3.0 support for implicit conversion within the Match()
13103 operator. MatchObjects can now be of type integer, buffer, or string
13104 instead
13105 of just type integer. Package elements are implicitly converted to the
13106 type
13107 of the MatchObject. This change aligns the behavior of Match() with the
13108 behavior of the other logical operators (LLess(), etc.) It also requires
13109 an
13110 errata change to the ACPI specification as this support was intended for
13111 ACPI 3.0, but was inadvertently omitted.
13112
13113 Fixed a problem with the internal implicit "to buffer" conversion.
13114 Strings
13115 that are converted to buffers will cause buffer truncation if the string
13116 is
13117 smaller than the target buffer. Integers that are converted to buffers
13118 will
13119 not cause buffer truncation, only zero extension (both as per the ACPI
13120 spec.) The problem was introduced when code was added to truncate the
13121 buffer, but this should not be performed in all cases, only the string
13122 case.
13123
13124 Fixed a problem with the Buffer and Package operators where the
13125 interpreter
13126 would get confused if two such operators were used as operands to an ASL
13127 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
13128 stack was not being popped after the execution of these operators,
13129 resulting
13130 in an AE_NO_RETURN_VALUE exception.
13131
13132 Fixed a problem with constructs of the form Store(Index(...),...). The
13133 reference object returned from Index was inadvertently resolved to an
13134 actual
13135 value. This problem was introduced in version 20050114 when the behavior
13136 of
13137 Store() was modified to restrict the object types that can be used as the
13138 source operand (to match the ACPI specification.)
13139
13140 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
13141
13142 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
13143
13144 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
13145
13146 Code and Data Size: Current and previous core subsystem library sizes are
13147 shown below. These are the code and data sizes for the acpica.lib
13148 produced
13149 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13150 any ACPI driver or OSPM code. The debug version of the code includes the
13151 debug output trace mechanism and has a much larger code and data size.
13152 Note
13153 that these values will vary depending on the efficiency of the compiler
13154 and
13155 the compiler options used during generation.
13156
13157 Previous Release:
13158 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
13159 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
13160 Current Release:
13161 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
13162 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
13163
13164
13165 2) iASL Compiler/Disassembler:
13166
13167 Fixed a code generation problem in the constant folding optimization code
13168 where incorrect code was generated if a constant was reduced to a buffer
13169 object (i.e., a reduced type 5 opcode.)
13170
13171 Fixed a typechecking problem for the ToBuffer operator. Caused by an
13172 incorrect return type in the internal opcode information table.
13173
13174 ----------------------------------------
13175 25 January 2005. Summary of changes for version 20050125:
13176
13177 1) ACPI CA Core Subsystem:
13178
13179 Fixed a recently introduced problem with the Global Lock where the
13180 underlying semaphore was not created. This problem was introduced in
13181 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
13182 Acquire() operation on _GL.
13183
13184 The local object cache is now optional, and is disabled by default. Both
13185 AcpiExec and the iASL compiler enable the cache because they run in user
13186 mode and this enhances their performance. #define
13187 ACPI_ENABLE_OBJECT_CACHE
13188 to enable the local cache.
13189
13190 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
13191 the
13192 optional "implicit return" support where an error was returned if no
13193 return
13194 object was expected, but one was implicitly returned. AE_OK is now
13195 returned
13196 in this case and the implicitly returned object is deleted.
13197 AcpiUtEvaluateObject is only occasionally used, and only to execute
13198 reserved
13199 methods such as _STA and _INI where the return type is known up front.
13200
13201 Fixed a few issues with the internal convert-to-integer code. It now
13202 returns
13203 an error if an attempt is made to convert a null string, a string of only
13204 blanks/tabs, or a zero-length buffer. This affects both implicit
13205 conversion
13206 and explicit conversion via the ToInteger() operator.
13207
13208 The internal debug code in AcpiUtAcquireMutex has been commented out. It
13209 is
13210 not needed for normal operation and should increase the performance of
13211 the
13212 entire subsystem. The code remains in case it is needed for debug
13213 purposes
13214 again.
13215
13216 The AcpiExec source and makefile are included in the Unix/Linux package
13217 for
13218 the first time.
13219
13220 Code and Data Size: Current and previous core subsystem library sizes are
13221 shown below. These are the code and data sizes for the acpica.lib
13222 produced
13223 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13224 any ACPI driver or OSPM code. The debug version of the code includes the
13225 debug output trace mechanism and has a much larger code and data size.
13226 Note
13227 that these values will vary depending on the efficiency of the compiler
13228 and
13229 the compiler options used during generation.
13230
13231 Previous Release:
13232 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
13233 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
13234 Current Release:
13235 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
13236 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
13237
13238 2) iASL Compiler/Disassembler:
13239
13240 Switch/Case support: A warning is now issued if the type of the Switch
13241 value
13242 cannot be determined at compile time. For example, Switch(Arg0) will
13243 generate the warning, and the type is assumed to be an integer. As per
13244 the
13245 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
13246 the
13247 warning.
13248
13249 Switch/Case support: Implemented support for buffer and string objects as
13250 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
13251 buffers and strings.
13252
13253 Switch/Case support: The emitted code for the LEqual() comparisons now
13254 uses
13255 the switch value as the first operand, not the second. The case value is
13256 now
13257 the second operand, and this allows the case value to be implicitly
13258 converted to the type of the switch value, not the other way around.
13259
13260 Switch/Case support: Temporary variables are now emitted immediately
13261 within
13262 the control method, not at the global level. This means that there are
13263 now
13264 36 temps available per-method, not 36 temps per-module as was the case
13265 with
13266 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
13267
13268 ----------------------------------------
13269 14 January 2005. Summary of changes for version 20050114:
13270
13271 Added 2005 copyright to all module headers. This affects every module in
13272 the core subsystem, iASL compiler, and the utilities.
13273
13274 1) ACPI CA Core Subsystem:
13275
13276 Fixed an issue with the String-to-Buffer conversion code where the string
13277 null terminator was not included in the buffer after conversion, but
13278 there
13279 is existing ASL that assumes the string null terminator is included. This
13280 is
13281 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
13282 introduced in the previous version when the code was updated to correctly
13283 set the converted buffer size as per the ACPI specification. The ACPI
13284 spec
13285 is ambiguous and will be updated to specify that the null terminator must
13286 be
13287 included in the converted buffer. This also affects the ToBuffer() ASL
13288 operator.
13289
13290 Fixed a problem with the Mid() ASL/AML operator where it did not work
13291 correctly on Buffer objects. Newly created sub-buffers were not being
13292 marked
13293 as initialized.
13294
13295
13296 Fixed a problem in AcpiTbFindTable where incorrect string compares were
13297 performed on the OemId and OemTableId table header fields. These fields
13298 are
13299 not null terminated, so strncmp is now used instead of strcmp.
13300
13301 Implemented a restriction on the Store() ASL/AML operator to align the
13302 behavior with the ACPI specification. Previously, any object could be
13303 used
13304 as the source operand. Now, the only objects that may be used are
13305 Integers,
13306 Buffers, Strings, Packages, Object References, and DDB Handles. If
13307 necessary, the original behavior can be restored by enabling the
13308 EnableInterpreterSlack flag.
13309
13310 Enhanced the optional "implicit return" support to allow an implicit
13311 return
13312 value from methods that are invoked externally via the AcpiEvaluateObject
13313 interface. This enables implicit returns from the _STA and _INI methods,
13314 for example.
13315
13316 Changed the Revision() ASL/AML operator to return the current version of
13317 the
13318 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
13319 returned
13320 the supported ACPI version (This is the function of the _REV method).
13321
13322 Updated the _REV predefined method to return the currently supported
13323 version
13324 of ACPI, now 3.
13325
13326 Implemented batch mode option for the AcpiExec utility (-b).
13327
13328 Code and Data Size: Current and previous core subsystem library sizes are
13329 shown below. These are the code and data sizes for the acpica.lib
13330 produced
13331 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13332 any ACPI driver or OSPM code. The debug version of the code includes the
13333 debug output trace mechanism and has a much larger code and data size.
13334 Note
13335 that these values will vary depending on the efficiency of the compiler
13336 and
13337 the compiler options used during generation.
13338
13339 Previous Release:
13340 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13341 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
13342 Current Release:
13343 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
13344 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
13345
13346 ----------------------------------------
13347 10 December 2004. Summary of changes for version 20041210:
13348
13349 ACPI 3.0 support is nearing completion in both the iASL compiler and the
13350 ACPI CA core subsystem.
13351
13352 1) ACPI CA Core Subsystem:
13353
13354 Fixed a problem in the ToDecimalString operator where the resulting
13355 string
13356 length was incorrectly calculated. The length is now calculated exactly,
13357 eliminating incorrect AE_STRING_LIMIT exceptions.
13358
13359 Fixed a problem in the ToHexString operator to allow a maximum 200
13360 character
13361 string to be produced.
13362
13363 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
13364 copy
13365 routine where the length of the resulting buffer was not truncated to the
13366 new size (if the target buffer already existed).
13367
13368 Code and Data Size: Current and previous core subsystem library sizes are
13369 shown below. These are the code and data sizes for the acpica.lib
13370 produced
13371 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13372 any ACPI driver or OSPM code. The debug version of the code includes the
13373 debug output trace mechanism and has a much larger code and data size.
13374 Note
13375 that these values will vary depending on the efficiency of the compiler
13376 and
13377 the compiler options used during generation.
13378
13379 Previous Release:
13380 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13381 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
13382 Current Release:
13383 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13384 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
13385
13386
13387 2) iASL Compiler/Disassembler:
13388
13389 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
13390 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
13391 Includes support in the disassembler.
13392
13393 Implemented support for the new (ACPI 3.0) parameter to the Register
13394 macro,
13395 AccessSize.
13396
13397 Fixed a problem where the _HE resource name for the Interrupt macro was
13398 referencing bit 0 instead of bit 1.
13399
13400 Implemented check for maximum 255 interrupts in the Interrupt macro.
13401
13402 Fixed a problem with the predefined resource descriptor names where
13403 incorrect AML code was generated if the offset within the resource buffer
13404 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
13405 but did not update the surrounding package lengths.
13406
13407 Changes to the Dma macro: All channels within the channel list must be
13408 in
13409 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
13410 optional (default is BusMaster).
13411
13412 Implemented check for maximum 7 data bytes for the VendorShort macro.
13413
13414 The ReadWrite parameter is now optional for the Memory32 and similar
13415 macros.
13416
13417 ----------------------------------------
13418 03 December 2004. Summary of changes for version 20041203:
13419
13420 1) ACPI CA Core Subsystem:
13421
13422 The low-level field insertion/extraction code (exfldio) has been
13423 completely
13424 rewritten to eliminate unnecessary complexity, bugs, and boundary
13425 conditions.
13426
13427 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
13428 ToDecimalString
13429 operators where the input operand could be inadvertently deleted if no
13430 conversion was necessary (e.g., if the input to ToInteger was an Integer
13431 object.)
13432
13433 Fixed a problem with the ToDecimalString and ToHexString where an
13434 incorrect
13435 exception code was returned if the resulting string would be > 200 chars.
13436 AE_STRING_LIMIT is now returned.
13437
13438 Fixed a problem with the Concatenate operator where AE_OK was always
13439 returned, even if the operation failed.
13440
13441 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
13442 semaphores to be allocated.
13443
13444 Code and Data Size: Current and previous core subsystem library sizes are
13445 shown below. These are the code and data sizes for the acpica.lib
13446 produced
13447 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13448 any ACPI driver or OSPM code. The debug version of the code includes the
13449 debug output trace mechanism and has a much larger code and data size.
13450 Note
13451 that these values will vary depending on the efficiency of the compiler
13452 and
13453 the compiler options used during generation.
13454
13455 Previous Release:
13456 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13457 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13458 Current Release:
13459 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13460 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
13461
13462
13463 2) iASL Compiler/Disassembler:
13464
13465 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
13466 recently introduced in 20041119.
13467
13468 Fixed a problem with the ToUUID macro where the upper nybble of each
13469 buffer
13470 byte was inadvertently set to zero.
13471
13472 ----------------------------------------
13473 19 November 2004. Summary of changes for version 20041119:
13474
13475 1) ACPI CA Core Subsystem:
13476
13477 Fixed a problem in the internal ConvertToInteger routine where new
13478 integers
13479 were not truncated to 32 bits for 32-bit ACPI tables. This routine
13480 converts
13481 buffers and strings to integers.
13482
13483 Implemented support to store a value to an Index() on a String object.
13484 This
13485 is an ACPI 2.0 feature that had not yet been implemented.
13486
13487 Implemented new behavior for storing objects to individual package
13488 elements
13489 (via the Index() operator). The previous behavior was to invoke the
13490 implicit
13491 conversion rules if an object was already present at the index. The new
13492 behavior is to simply delete any existing object and directly store the
13493 new
13494 object. Although the ACPI specification seems unclear on this subject,
13495 other
13496 ACPI implementations behave in this manner. (This is the root of the
13497 AE_BAD_HEX_CONSTANT issue.)
13498
13499 Modified the RSDP memory scan mechanism to support the extended checksum
13500 for
13501 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
13502 RSDP signature is found with a valid checksum.
13503
13504 Code and Data Size: Current and previous core subsystem library sizes are
13505 shown below. These are the code and data sizes for the acpica.lib
13506 produced
13507 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13508 any ACPI driver or OSPM code. The debug version of the code includes the
13509 debug output trace mechanism and has a much larger code and data size.
13510 Note
13511 that these values will vary depending on the efficiency of the compiler
13512 and
13513 the compiler options used during generation.
13514
13515 Previous Release:
13516 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13517 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13518 Current Release:
13519 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13520 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13521
13522
13523 2) iASL Compiler/Disassembler:
13524
13525 Fixed a missing semicolon in the aslcompiler.y file.
13526
13527 ----------------------------------------
13528 05 November 2004. Summary of changes for version 20041105:
13529
13530 1) ACPI CA Core Subsystem:
13531
13532 Implemented support for FADT revision 2. This was an interim table
13533 (between
13534 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
13535
13536 Implemented optional support to allow uninitialized LocalX and ArgX
13537 variables in a control method. The variables are initialized to an
13538 Integer
13539 object with a value of zero. This support is enabled by setting the
13540 AcpiGbl_EnableInterpreterSlack flag to TRUE.
13541
13542 Implemented support for Integer objects for the SizeOf operator. Either
13543 4
13544 or 8 is returned, depending on the current integer size (32-bit or 64-
13545 bit,
13546 depending on the parent table revision).
13547
13548 Fixed a problem in the implementation of the SizeOf and ObjectType
13549 operators
13550 where the operand was resolved to a value too early, causing incorrect
13551 return values for some objects.
13552
13553 Fixed some possible memory leaks during exceptional conditions.
13554
13555 Code and Data Size: Current and previous core subsystem library sizes are
13556 shown below. These are the code and data sizes for the acpica.lib
13557 produced
13558 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13559 any ACPI driver or OSPM code. The debug version of the code includes the
13560 debug output trace mechanism and has a much larger code and data size.
13561 Note
13562 that these values will vary depending on the efficiency of the compiler
13563 and
13564 the compiler options used during generation.
13565
13566 Previous Release:
13567 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
13568 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
13569 Current Release:
13570 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13571 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13572
13573
13574 2) iASL Compiler/Disassembler:
13575
13576 Implemented support for all ACPI 3.0 reserved names and methods.
13577
13578 Implemented all ACPI 3.0 grammar elements in the front-end, including
13579 support for semicolons.
13580
13581 Implemented the ACPI 3.0 Function() and ToUUID() macros
13582
13583 Fixed a problem in the disassembler where a Scope() operator would not be
13584 emitted properly if the target of the scope was in another table.
13585
13586 ----------------------------------------
13587 15 October 2004. Summary of changes for version 20041015:
13588
13589 Note: ACPI CA is currently undergoing an in-depth and complete formal
13590 evaluation to test/verify the following areas. Other suggestions are
13591 welcome. This will result in an increase in the frequency of releases and
13592 the number of bug fixes in the next few months.
13593 - Functional tests for all ASL/AML operators
13594 - All implicit/explicit type conversions
13595 - Bit fields and operation regions
13596 - 64-bit math support and 32-bit-only "truncated" math support
13597 - Exceptional conditions, both compiler and interpreter
13598 - Dynamic object deletion and memory leaks
13599 - ACPI 3.0 support when implemented
13600 - External interfaces to the ACPI subsystem
13601
13602
13603 1) ACPI CA Core Subsystem:
13604
13605 Fixed two alignment issues on 64-bit platforms - within debug statements
13606 in
13607 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
13608 Address
13609 field within the non-aligned ACPI generic address structure.
13610
13611 Fixed a problem in the Increment and Decrement operators where incorrect
13612 operand resolution could result in the inadvertent modification of the
13613 original integer when the integer is passed into another method as an
13614 argument and the arg is then incremented/decremented.
13615
13616 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
13617 bit
13618 BCD number were truncated during conversion.
13619
13620 Fixed a problem in the ToDecimal operator where the length of the
13621 resulting
13622 string could be set incorrectly too long if the input operand was a
13623 Buffer
13624 object.
13625
13626 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
13627 (0)
13628 within a buffer would prematurely terminate a compare between buffer
13629 objects.
13630
13631 Added a check for string overflow (>200 characters as per the ACPI
13632 specification) during the Concatenate operator with two string operands.
13633
13634 Code and Data Size: Current and previous core subsystem library sizes are
13635 shown below. These are the code and data sizes for the acpica.lib
13636 produced
13637 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13638 any ACPI driver or OSPM code. The debug version of the code includes the
13639 debug output trace mechanism and has a much larger code and data size.
13640 Note
13641 that these values will vary depending on the efficiency of the compiler
13642 and
13643 the compiler options used during generation.
13644
13645 Previous Release:
13646 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
13647 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
13648 Current Release:
13649 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
13650 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
13651
13652
13653
13654 2) iASL Compiler/Disassembler:
13655
13656 Allow the use of the ObjectType operator on uninitialized Locals and Args
13657 (returns 0 as per the ACPI specification).
13658
13659 Fixed a problem where the compiler would fault if there was a syntax
13660 error
13661 in the FieldName of all of the various CreateXXXField operators.
13662
13663 Disallow the use of lower case letters within the EISAID macro, as per
13664 the
13665 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
13666 Where
13667 U is an uppercase letter and N is a hex digit.
13668
13669
13670 ----------------------------------------
13671 06 October 2004. Summary of changes for version 20041006:
13672
13673 1) ACPI CA Core Subsystem:
13674
13675 Implemented support for the ACPI 3.0 Timer operator. This ASL function
13676 implements a 64-bit timer with 100 nanosecond granularity.
13677
13678 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
13679 implement the ACPI 3.0 Timer operator. This allows the host OS to
13680 implement
13681 the timer with the best clock available. Also, it keeps the core
13682 subsystem
13683 out of the clock handling business, since the host OS (usually) performs
13684 this function.
13685
13686 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
13687 functions use a 64-bit address which is part of the packed ACPI Generic
13688 Address Structure. Since the structure is non-aligned, the alignment
13689 macros
13690 are now used to extract the address to a local variable before use.
13691
13692 Fixed a problem where the ToInteger operator assumed all input strings
13693 were
13694 hexadecimal. The operator now handles both decimal strings and hex
13695 strings
13696 (prefixed with "0x").
13697
13698 Fixed a problem where the string length in the string object created as a
13699 result of the internal ConvertToString procedure could be incorrect. This
13700 potentially affected all implicit conversions and also the
13701 ToDecimalString
13702 and ToHexString operators.
13703
13704 Fixed two problems in the ToString operator. If the length parameter was
13705 zero, an incorrect string object was created and the value of the input
13706 length parameter was inadvertently changed from zero to Ones.
13707
13708 Fixed a problem where the optional ResourceSource string in the
13709 ExtendedIRQ
13710 resource macro was ignored.
13711
13712 Simplified the interfaces to the internal division functions, reducing
13713 code
13714 size and complexity.
13715
13716 Code and Data Size: Current and previous core subsystem library sizes are
13717 shown below. These are the code and data sizes for the acpica.lib
13718 produced
13719 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13720 any ACPI driver or OSPM code. The debug version of the code includes the
13721 debug output trace mechanism and has a much larger code and data size.
13722 Note
13723 that these values will vary depending on the efficiency of the compiler
13724 and
13725 the compiler options used during generation.
13726
13727 Previous Release:
13728 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
13729 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
13730 Current Release:
13731 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
13732 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
13733
13734
13735 2) iASL Compiler/Disassembler:
13736
13737 Implemented support for the ACPI 3.0 Timer operator.
13738
13739 Fixed a problem where the Default() operator was inadvertently ignored in
13740 a
13741 Switch/Case block. This was a problem in the translation of the Switch
13742 statement to If...Else pairs.
13743
13744 Added support to allow a standalone Return operator, with no parentheses
13745 (or
13746 operands).
13747
13748 Fixed a problem with code generation for the ElseIf operator where the
13749 translated Else...If parse tree was improperly constructed leading to the
13750 loss of some code.
13751
13752 ----------------------------------------
13753 22 September 2004. Summary of changes for version 20040922:
13754
13755 1) ACPI CA Core Subsystem:
13756
13757 Fixed a problem with the implementation of the LNot() operator where
13758 "Ones"
13759 was not returned for the TRUE case. Changed the code to return Ones
13760 instead
13761 of (!Arg) which was usually 1. This change affects iASL constant folding
13762 for
13763 this operator also.
13764
13765 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
13766 not
13767 initialized properly -- Now zero the entire buffer in this case where the
13768 buffer already exists.
13769
13770 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
13771 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
13772 related code considerably. This will require changes/updates to all OS
13773 interface layers (OSLs.)
13774
13775 Implemented a new external interface, AcpiInstallExceptionHandler, to
13776 allow
13777 a system exception handler to be installed. This handler is invoked upon
13778 any
13779 run-time exception that occurs during control method execution.
13780
13781 Added support for the DSDT in AcpiTbFindTable. This allows the
13782 DataTableRegion() operator to access the local copy of the DSDT.
13783
13784 Code and Data Size: Current and previous core subsystem library sizes are
13785 shown below. These are the code and data sizes for the acpica.lib
13786 produced
13787 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13788 any ACPI driver or OSPM code. The debug version of the code includes the
13789 debug output trace mechanism and has a much larger code and data size.
13790 Note
13791 that these values will vary depending on the efficiency of the compiler
13792 and
13793 the compiler options used during generation.
13794
13795 Previous Release:
13796 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
13797 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
13798 Current Release:
13799 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
13800 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
13801
13802
13803 2) iASL Compiler/Disassembler:
13804
13805 Fixed a problem with constant folding and the LNot operator. LNot was
13806 returning 1 in the TRUE case, not Ones as per the ACPI specification.
13807 This
13808 could result in the generation of an incorrect folded/reduced constant.
13809
13810 End-Of-File is now allowed within a "//"-style comment. A parse error no
13811 longer occurs if such a comment is at the very end of the input ASL
13812 source
13813 file.
13814
13815 Implemented the "-r" option to override the Revision in the table header.
13816 The initial use of this option will be to simplify the evaluation of the
13817 AML
13818 interpreter by allowing a single ASL source module to be compiled for
13819 either
13820 32-bit or 64-bit integers.
13821
13822
13823 ----------------------------------------
13824 27 August 2004. Summary of changes for version 20040827:
13825
13826 1) ACPI CA Core Subsystem:
13827
13828 - Implemented support for implicit object conversion in the non-numeric
13829 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
13830 and
13831 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
13832 the second operand is implicitly converted on the fly to match the type
13833 of
13834 the first operand. For example:
13835
13836 LEqual (Source1, Source2)
13837
13838 Source1 and Source2 must each evaluate to an integer, a string, or a
13839 buffer.
13840 The data type of Source1 dictates the required type of Source2. Source2
13841 is
13842 implicitly converted if necessary to match the type of Source1.
13843
13844 - Updated and corrected the behavior of the string conversion support.
13845 The
13846 rules concerning conversion of buffers to strings (according to the ACPI
13847 specification) are as follows:
13848
13849 ToDecimalString - explicit byte-wise conversion of buffer to string of
13850 decimal values (0-255) separated by commas. ToHexString - explicit byte-
13851 wise
13852 conversion of buffer to string of hex values (0-FF) separated by commas.
13853 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
13854 byte
13855 copy with no transform except NULL terminated. Any other implicit buffer-
13856 to-
13857 string conversion - byte-wise conversion of buffer to string of hex
13858 values
13859 (0-FF) separated by spaces.
13860
13861 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
13862
13863 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
13864 was
13865 one byte too short in the case of a node in the root scope. This could
13866 cause a fault during debug output.
13867
13868 - Code and Data Size: Current and previous core subsystem library sizes
13869 are
13870 shown below. These are the code and data sizes for the acpica.lib
13871 produced
13872 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13873 any ACPI driver or OSPM code. The debug version of the code includes the
13874 debug output trace mechanism and has a much larger code and data size.
13875 Note
13876 that these values will vary depending on the efficiency of the compiler
13877 and
13878 the compiler options used during generation.
13879
13880 Previous Release:
13881 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
13882 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
13883 Current Release:
13884 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
13885 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
13886
13887
13888 2) iASL Compiler/Disassembler:
13889
13890 - Fixed a Linux generation error.
13891
13892
13893 ----------------------------------------
13894 16 August 2004. Summary of changes for version 20040816:
13895
13896 1) ACPI CA Core Subsystem:
13897
13898 Designed and implemented support within the AML interpreter for the so-
13899 called "implicit return". This support returns the result of the last
13900 ASL
13901 operation within a control method, in the absence of an explicit Return()
13902 operator. A few machines depend on this behavior, even though it is not
13903 explicitly supported by the ASL language. It is optional support that
13904 can
13905 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
13906
13907 Removed support for the PCI_Config address space from the internal low
13908 level
13909 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
13910 support was not used internally, and would not work correctly anyway
13911 because
13912 the PCI bus number and segment number were not supported. There are
13913 separate interfaces for PCI configuration space access because of the
13914 unique
13915 interface.
13916
13917 Code and Data Size: Current and previous core subsystem library sizes are
13918 shown below. These are the code and data sizes for the acpica.lib
13919 produced
13920 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13921 any ACPI driver or OSPM code. The debug version of the code includes the
13922 debug output trace mechanism and has a much larger code and data size.
13923 Note
13924 that these values will vary depending on the efficiency of the compiler
13925 and
13926 the compiler options used during generation.
13927
13928 Previous Release:
13929 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
13930 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
13931 Current Release:
13932 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
13933 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
13934
13935
13936 2) iASL Compiler/Disassembler:
13937
13938 Fixed a problem where constants in ASL expressions at the root level (not
13939 within a control method) could be inadvertently truncated during code
13940 generation. This problem was introduced in the 20040715 release.
13941
13942
13943 ----------------------------------------
13944 15 July 2004. Summary of changes for version 20040715:
13945
13946 1) ACPI CA Core Subsystem:
13947
13948 Restructured the internal HW GPE interfaces to pass/track the current
13949 state
13950 of interrupts (enabled/disabled) in order to avoid possible deadlock and
13951 increase flexibility of the interfaces.
13952
13953 Implemented a "lexicographical compare" for String and Buffer objects
13954 within
13955 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
13956 -
13957 as per further clarification to the ACPI specification. Behavior is
13958 similar
13959 to C library "strcmp".
13960
13961 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
13962 external function. In the 32-bit non-debug case, the stack use has been
13963 reduced from 168 bytes to 32 bytes.
13964
13965 Deployed a new run-time configuration flag,
13966 AcpiGbl_EnableInterpreterSlack,
13967 whose purpose is to allow the AML interpreter to forgive certain bad AML
13968 constructs. Default setting is FALSE.
13969
13970 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
13971 IO
13972 support code. If enabled, it allows field access to go beyond the end of
13973 a
13974 region definition if the field is within the region length rounded up to
13975 the
13976 next access width boundary (a common coding error.)
13977
13978 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
13979 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
13980 these
13981 symbols are lowercase by the latest version of the AcpiSrc tool.
13982
13983 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
13984 rename "Register" to simply "Reg" to prevent certain compilers from
13985 complaining.
13986
13987 Code and Data Size: Current and previous core subsystem library sizes are
13988 shown below. These are the code and data sizes for the acpica.lib
13989 produced
13990 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13991 any ACPI driver or OSPM code. The debug version of the code includes the
13992 debug output trace mechanism and has a much larger code and data size.
13993 Note
13994 that these values will vary depending on the efficiency of the compiler
13995 and
13996 the compiler options used during generation.
13997
13998 Previous Release:
13999 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
14000 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
14001 Current Release:
14002 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
14003 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
14004
14005
14006 2) iASL Compiler/Disassembler:
14007
14008 Implemented full support for Package objects within the Case() operator.
14009 Note: The Break() operator is currently not supported within Case blocks
14010 (TermLists) as there is some question about backward compatibility with
14011 ACPI
14012 1.0 interpreters.
14013
14014
14015 Fixed a problem where complex terms were not supported properly within
14016 the
14017 Switch() operator.
14018
14019 Eliminated extraneous warning for compiler-emitted reserved names of the
14020 form "_T_x". (Used in Switch/Case operators.)
14021
14022 Eliminated optimization messages for "_T_x" objects and small constants
14023 within the DefinitionBlock operator.
14024
14025
14026 ----------------------------------------
14027 15 June 2004. Summary of changes for version 20040615:
14028
14029 1) ACPI CA Core Subsystem:
14030
14031 Implemented support for Buffer and String objects (as per ACPI 2.0) for
14032 the
14033 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
14034 LLessEqual.
14035
14036 All directory names in the entire source package are lower case, as they
14037 were in earlier releases.
14038
14039 Implemented "Disassemble" command in the AML debugger that will
14040 disassemble
14041 a single control method.
14042
14043 Code and Data Size: Current and previous core subsystem library sizes are
14044 shown below. These are the code and data sizes for the acpica.lib
14045 produced
14046 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14047 any ACPI driver or OSPM code. The debug version of the code includes the
14048 debug output trace mechanism and has a much larger code and data size.
14049 Note
14050 that these values will vary depending on the efficiency of the compiler
14051 and
14052 the compiler options used during generation.
14053
14054 Previous Release:
14055 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
14056 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
14057
14058 Current Release:
14059 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
14060 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
14061
14062
14063 2) iASL Compiler/Disassembler:
14064
14065 Implemented support for Buffer and String objects (as per ACPI 2.0) for
14066 the
14067 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
14068 LLessEqual.
14069
14070 All directory names in the entire source package are lower case, as they
14071 were in earlier releases.
14072
14073 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
14074 not found.
14075
14076 Fixed an issue with the Windows version of the compiler where later
14077 versions
14078 of Windows place the FADT in the registry under the name "FADT" and not
14079 "FACP" as earlier versions did. This applies when using the -g or -
14080 d<nofilename> options. The compiler now looks for both strings as
14081 necessary.
14082
14083 Fixed a problem with compiler namepath optimization where a namepath
14084 within
14085 the Scope() operator could not be optimized if the namepath was a subpath
14086 of
14087 the current scope path.
14088
14089 ----------------------------------------
14090 27 May 2004. Summary of changes for version 20040527:
14091
14092 1) ACPI CA Core Subsystem:
14093
14094 Completed a new design and implementation for EBDA (Extended BIOS Data
14095 Area)
14096 support in the RSDP scan code. The original code improperly scanned for
14097 the
14098 EBDA by simply scanning from memory location 0 to 0x400. The correct
14099 method
14100 is to first obtain the EBDA pointer from within the BIOS data area, then
14101 scan 1K of memory starting at the EBDA pointer. There appear to be few
14102 if
14103 any machines that place the RSDP in the EBDA, however.
14104
14105 Integrated a fix for a possible fault during evaluation of BufferField
14106 arguments. Obsolete code that was causing the problem was removed.
14107
14108 Found and fixed a problem in the Field Support Code where data could be
14109 corrupted on a bit field read that starts on an aligned boundary but does
14110 not end on an aligned boundary. Merged the read/write "datum length"
14111 calculation code into a common procedure.
14112
14113 Rolled in a couple of changes to the FreeBSD-specific header.
14114
14115
14116 Code and Data Size: Current and previous core subsystem library sizes are
14117 shown below. These are the code and data sizes for the acpica.lib
14118 produced
14119 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14120 any ACPI driver or OSPM code. The debug version of the code includes the
14121 debug output trace mechanism and has a much larger code and data size.
14122 Note
14123 that these values will vary depending on the efficiency of the compiler
14124 and
14125 the compiler options used during generation.
14126
14127 Previous Release:
14128 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
14129 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
14130 Current Release:
14131 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
14132 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
14133
14134
14135 2) iASL Compiler/Disassembler:
14136
14137 Fixed a generation warning produced by some overly-verbose compilers for
14138 a
14139 64-bit constant.
14140
14141 ----------------------------------------
14142 14 May 2004. Summary of changes for version 20040514:
14143
14144 1) ACPI CA Core Subsystem:
14145
14146 Fixed a problem where hardware GPE enable bits sometimes not set properly
14147 during and after GPE method execution. Result of 04/27 changes.
14148
14149 Removed extra "clear all GPEs" when sleeping/waking.
14150
14151 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
14152 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
14153 to
14154 the new AcpiEv* calls as appropriate.
14155
14156 ACPI_OS_NAME was removed from the OS-specific headers. The default name
14157 is
14158 now "Microsoft Windows NT" for maximum compatibility. However this can
14159 be
14160 changed by modifying the acconfig.h file.
14161
14162 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
14163 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
14164
14165 Run _INI methods on ThermalZone objects. This is against the ACPI
14166 specification, but there is apparently ASL code in the field that has
14167 these
14168 _INI methods, and apparently "other" AML interpreters execute them.
14169
14170 Performed a full 16/32/64 bit lint that resulted in some small changes.
14171
14172 Added a sleep simulation command to the AML debugger to test sleep code.
14173
14174 Code and Data Size: Current and previous core subsystem library sizes are
14175 shown below. These are the code and data sizes for the acpica.lib
14176 produced
14177 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14178 any ACPI driver or OSPM code. The debug version of the code includes the
14179 debug output trace mechanism and has a much larger code and data size.
14180 Note
14181 that these values will vary depending on the efficiency of the compiler
14182 and
14183 the compiler options used during generation.
14184
14185 Previous Release:
14186 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
14187 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
14188 Current Release:
14189 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
14190 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
14191
14192 ----------------------------------------
14193 27 April 2004. Summary of changes for version 20040427:
14194
14195 1) ACPI CA Core Subsystem:
14196
14197 Completed a major overhaul of the GPE handling within ACPI CA. There are
14198 now three types of GPEs: wake-only, runtime-only, and combination
14199 wake/run.
14200 The only GPEs allowed to be combination wake/run are for button-style
14201 devices such as a control-method power button, control-method sleep
14202 button,
14203 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
14204 not
14205 referenced by any _PRW methods are marked for "runtime" and hardware
14206 enabled. Any GPE that is referenced by a _PRW method is marked for
14207 "wake"
14208 (and disabled at runtime). However, at sleep time, only those GPEs that
14209 have been specifically enabled for wake via the AcpiEnableGpe interface
14210 will
14211 actually be hardware enabled.
14212
14213 A new external interface has been added, AcpiSetGpeType(), that is meant
14214 to
14215 be used by device drivers to force a GPE to a particular type. It will
14216 be
14217 especially useful for the drivers for the button devices mentioned above.
14218
14219 Completed restructuring of the ACPI CA initialization sequence so that
14220 default operation region handlers are installed before GPEs are
14221 initialized
14222 and the _PRW methods are executed. This will prevent errors when the
14223 _PRW
14224 methods attempt to access system memory or I/O space.
14225
14226 GPE enable/disable no longer reads the GPE enable register. We now keep
14227 the
14228 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
14229 thus no longer depend on the hardware to maintain these bits.
14230
14231 Always clear the wake status and fixed/GPE status bits before sleep, even
14232 for state S5.
14233
14234 Improved the AML debugger output for displaying the GPE blocks and their
14235 current status.
14236
14237 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
14238 where
14239 x = 0,1,2,3,4.
14240
14241 Fixed a problem where the physical address was incorrectly calculated
14242 when
14243 the Load() operator was used to directly load from an Operation Region
14244 (vs.
14245 loading from a Field object.) Also added check for minimum table length
14246 for
14247 this case.
14248
14249 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
14250 mutex release.
14251
14252 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
14253 consistency with the other fields returned.
14254
14255 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
14256 structure for each GPE in the system, so the size of this structure is
14257 important.
14258
14259 CPU stack requirement reduction: Cleaned up the method execution and
14260 object
14261 evaluation paths so that now a parameter structure is passed, instead of
14262 copying the various method parameters over and over again.
14263
14264 In evregion.c: Correctly exit and reenter the interpreter region if and
14265 only if dispatching an operation region request to a user-installed
14266 handler.
14267 Do not exit/reenter when dispatching to a default handler (e.g., default
14268 system memory or I/O handlers)
14269
14270
14271 Notes for updating drivers for the new GPE support. The following
14272 changes
14273 must be made to ACPI-related device drivers that are attached to one or
14274 more
14275 GPEs: (This information will be added to the ACPI CA Programmer
14276 Reference.)
14277
14278 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
14279 must
14280 explicitly call AcpiEnableGpe.
14281 2) There is a new interface called AcpiSetGpeType. This should be called
14282 before enabling the GPE. Also, this interface will automatically disable
14283 the GPE if it is currently enabled.
14284 3) AcpiEnableGpe no longer supports a GPE type flag.
14285
14286 Specific drivers that must be changed:
14287 1) EC driver:
14288 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
14289 AeGpeHandler, NULL);
14290 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
14291 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
14292
14293 2) Button Drivers (Power, Lid, Sleep):
14294 Run _PRW method under parent device
14295 If _PRW exists: /* This is a control-method button */
14296 Extract GPE number and possibly GpeDevice
14297 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
14298 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
14299
14300 For all other devices that have _PRWs, we automatically set the GPE type
14301 to
14302 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
14303 This
14304 must be done on a selective basis, usually requiring some kind of user
14305 app
14306 to allow the user to pick the wake devices.
14307
14308
14309 Code and Data Size: Current and previous core subsystem library sizes are
14310 shown below. These are the code and data sizes for the acpica.lib
14311 produced
14312 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14313 any ACPI driver or OSPM code. The debug version of the code includes the
14314 debug output trace mechanism and has a much larger code and data size.
14315 Note
14316 that these values will vary depending on the efficiency of the compiler
14317 and
14318 the compiler options used during generation.
14319
14320 Previous Release:
14321 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
14322 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
14323 Current Release:
14324
14325 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
14326 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
14327
14328
14329
14330 ----------------------------------------
14331 02 April 2004. Summary of changes for version 20040402:
14332
14333 1) ACPI CA Core Subsystem:
14334
14335 Fixed an interpreter problem where an indirect store through an ArgX
14336 parameter was incorrectly applying the "implicit conversion rules" during
14337 the store. From the ACPI specification: "If the target is a method local
14338 or
14339 argument (LocalX or ArgX), no conversion is performed and the result is
14340 stored directly to the target". The new behavior is to disable implicit
14341 conversion during ALL stores to an ArgX.
14342
14343 Changed the behavior of the _PRW method scan to ignore any and all errors
14344 returned by a given _PRW. This prevents the scan from aborting from the
14345 failure of any single _PRW.
14346
14347 Moved the runtime configuration parameters from the global init procedure
14348 to
14349 static variables in acglobal.h. This will allow the host to override the
14350 default values easily.
14351
14352 Code and Data Size: Current and previous core subsystem library sizes are
14353 shown below. These are the code and data sizes for the acpica.lib
14354 produced
14355 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14356 any ACPI driver or OSPM code. The debug version of the code includes the
14357 debug output trace mechanism and has a much larger code and data size.
14358 Note
14359 that these values will vary depending on the efficiency of the compiler
14360 and
14361 the compiler options used during generation.
14362
14363 Previous Release:
14364 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
14365 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
14366 Current Release:
14367 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
14368 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
14369
14370
14371 2) iASL Compiler/Disassembler:
14372
14373 iASL now fully disassembles SSDTs. However, External() statements are
14374 not
14375 generated automatically for unresolved symbols at this time. This is a
14376 planned feature for future implementation.
14377
14378 Fixed a scoping problem in the disassembler that occurs when the type of
14379 the
14380 target of a Scope() operator is overridden. This problem caused an
14381 incorrectly nested internal namespace to be constructed.
14382
14383 Any warnings or errors that are emitted during disassembly are now
14384 commented
14385 out automatically so that the resulting file can be recompiled without
14386 any
14387 hand editing.
14388
14389 ----------------------------------------
14390 26 March 2004. Summary of changes for version 20040326:
14391
14392 1) ACPI CA Core Subsystem:
14393
14394 Implemented support for "wake" GPEs via interaction between GPEs and the
14395 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
14396 identified as a WAKE GPE and by default will no longer be enabled at
14397 runtime. Previously, we were blindly enabling all GPEs with a
14398 corresponding
14399 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
14400 We
14401 believe this has been the cause of thousands of "spurious" GPEs on some
14402 systems.
14403
14404 This new GPE behavior is can be reverted to the original behavior (enable
14405 ALL GPEs at runtime) via a runtime flag.
14406
14407 Fixed a problem where aliased control methods could not access objects
14408 properly. The proper scope within the namespace was not initialized
14409 (transferred to the target of the aliased method) before executing the
14410 target method.
14411
14412 Fixed a potential race condition on internal object deletion on the
14413 return
14414 object in AcpiEvaluateObject.
14415
14416 Integrated a fix for resource descriptors where both _MEM and _MTP were
14417 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
14418 wide, 0x0F instead of 0x03.)
14419
14420 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
14421 preventing
14422 a
14423 fault in some cases.
14424
14425 Updated Notify() values for debug statements in evmisc.c
14426
14427 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
14428
14429 Code and Data Size: Current and previous core subsystem library sizes are
14430 shown below. These are the code and data sizes for the acpica.lib
14431 produced
14432 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14433 any ACPI driver or OSPM code. The debug version of the code includes the
14434 debug output trace mechanism and has a much larger code and data size.
14435 Note
14436 that these values will vary depending on the efficiency of the compiler
14437 and
14438 the compiler options used during generation.
14439
14440 Previous Release:
14441
14442 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
14443 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
14444 Current Release:
14445 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
14446 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
14447
14448 ----------------------------------------
14449 11 March 2004. Summary of changes for version 20040311:
14450
14451 1) ACPI CA Core Subsystem:
14452
14453 Fixed a problem where errors occurring during the parse phase of control
14454 method execution did not abort cleanly. For example, objects created and
14455 installed in the namespace were not deleted. This caused all subsequent
14456 invocations of the method to return the AE_ALREADY_EXISTS exception.
14457
14458 Implemented a mechanism to force a control method to "Serialized"
14459 execution
14460 if the method attempts to create namespace objects. (The root of the
14461 AE_ALREADY_EXISTS problem.)
14462
14463 Implemented support for the predefined _OSI "internal" control method.
14464 Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
14465 and
14466 "Windows 2001.1", and can be easily upgraded for new strings as
14467 necessary.
14468 This feature will allow "other" operating systems to execute the fully
14469 tested, "Windows" code path through the ASL code
14470
14471 Global Lock Support: Now allows multiple acquires and releases with any
14472 internal thread. Removed concept of "owning thread" for this special
14473 mutex.
14474
14475 Fixed two functions that were inappropriately declaring large objects on
14476 the
14477 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
14478 during
14479 method execution considerably.
14480
14481 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
14482 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
14483
14484 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
14485 defined on the machine.
14486
14487 Implemented two runtime options: One to force all control method
14488 execution
14489 to "Serialized" to mimic Windows behavior, another to disable _OSI
14490 support
14491 if it causes problems on a given machine.
14492
14493 Code and Data Size: Current and previous core subsystem library sizes are
14494 shown below. These are the code and data sizes for the acpica.lib
14495 produced
14496 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14497 any ACPI driver or OSPM code. The debug version of the code includes the
14498 debug output trace mechanism and has a much larger code and data size.
14499 Note
14500 that these values will vary depending on the efficiency of the compiler
14501 and
14502 the compiler options used during generation.
14503
14504 Previous Release:
14505 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
14506 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
14507 Current Release:
14508 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
14509 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
14510
14511 2) iASL Compiler/Disassembler:
14512
14513 Fixed an array size problem for FreeBSD that would cause the compiler to
14514 fault.
14515
14516 ----------------------------------------
14517 20 February 2004. Summary of changes for version 20040220:
14518
14519
14520 1) ACPI CA Core Subsystem:
14521
14522 Implemented execution of _SxD methods for Device objects in the
14523 GetObjectInfo interface.
14524
14525 Fixed calls to _SST method to pass the correct arguments.
14526
14527 Added a call to _SST on wake to restore to "working" state.
14528
14529 Check for End-Of-Buffer failure case in the WalkResources interface.
14530
14531 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
14532 structures to the beginning of the file.
14533
14534 After wake, clear GPE status register(s) before enabling GPEs.
14535
14536 After wake, clear/enable power button. (Perhaps we should clear/enable
14537 all
14538 fixed events upon wake.)
14539
14540 Fixed a couple of possible memory leaks in the Namespace manager.
14541
14542 Integrated latest acnetbsd.h file.
14543
14544 ----------------------------------------
14545 11 February 2004. Summary of changes for version 20040211:
14546
14547
14548 1) ACPI CA Core Subsystem:
14549
14550 Completed investigation and implementation of the call-by-reference
14551 mechanism for control method arguments.
14552
14553 Fixed a problem where a store of an object into an indexed package could
14554 fail if the store occurs within a different method than the method that
14555 created the package.
14556
14557 Fixed a problem where the ToDecimal operator could return incorrect
14558 results.
14559
14560 Fixed a problem where the CopyObject operator could fail on some of the
14561 more
14562 obscure objects (e.g., Reference objects.)
14563
14564 Improved the output of the Debug object to display buffer, package, and
14565 index objects.
14566
14567 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
14568 return
14569 the expected result.
14570
14571 Added permanent ACPI_REPORT_ERROR macros for all instances of the
14572 ACPI_AML_INTERNAL exception.
14573
14574 Integrated latest version of acfreebsd.h
14575
14576 ----------------------------------------
14577 16 January 2004. Summary of changes for version 20040116:
14578
14579 The purpose of this release is primarily to update the copyright years in
14580 each module, thus causing a huge number of diffs. There are a few small
14581 functional changes, however.
14582
14583 1) ACPI CA Core Subsystem:
14584
14585 Improved error messages when there is a problem finding one or more of
14586 the
14587 required base ACPI tables
14588
14589 Reintroduced the definition of APIC_HEADER in actbl.h
14590
14591 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
14592
14593 Removed extraneous reference to NewObj in dsmthdat.c
14594
14595 2) iASL compiler
14596
14597 Fixed a problem introduced in December that disabled the correct
14598 disassembly
14599 of Resource Templates
14600
14601
14602 ----------------------------------------
14603 03 December 2003. Summary of changes for version 20031203:
14604
14605 1) ACPI CA Core Subsystem:
14606
14607 Changed the initialization of Operation Regions during subsystem
14608 init to perform two entire walks of the ACPI namespace; The first
14609 to initialize the regions themselves, the second to execute the
14610 _REG methods. This fixed some interdependencies across _REG
14611 methods found on some machines.
14612
14613 Fixed a problem where a Store(Local0, Local1) could simply update
14614 the object reference count, and not create a new copy of the
14615 object if the Local1 is uninitialized.
14616
14617 Implemented support for the _SST reserved method during sleep
14618 transitions.
14619
14620 Implemented support to clear the SLP_TYP and SLP_EN bits when
14621 waking up, this is apparently required by some machines.
14622
14623 When sleeping, clear the wake status only if SleepState is not S5.
14624
14625 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
14626 pointer arithmetic advanced a string pointer too far.
14627
14628 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
14629 could be returned if the requested table has not been loaded.
14630
14631 Within the support for IRQ resources, restructured the handling of
14632 the active and edge/level bits.
14633
14634 Fixed a few problems in AcpiPsxExecute() where memory could be
14635 leaked under certain error conditions.
14636
14637 Improved error messages for the cases where the ACPI mode could
14638 not be entered.
14639
14640 Code and Data Size: Current and previous core subsystem library
14641 sizes are shown below. These are the code and data sizes for the
14642 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14643 these values do not include any ACPI driver or OSPM code. The
14644 debug version of the code includes the debug output trace
14645 mechanism and has a much larger code and data size. Note that
14646 these values will vary depending on the efficiency of the compiler
14647 and the compiler options used during generation.
14648
14649 Previous Release (20031029):
14650 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
14651 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
14652 Current Release:
14653 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
14654 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
14655
14656 2) iASL Compiler/Disassembler:
14657
14658 Implemented a fix for the iASL disassembler where a bad index was
14659 generated. This was most noticeable on 64-bit platforms
14660
14661
14662 ----------------------------------------
14663 29 October 2003. Summary of changes for version 20031029:
14664
14665 1) ACPI CA Core Subsystem:
14666
14667
14668 Fixed a problem where a level-triggered GPE with an associated
14669 _Lxx control method was incorrectly cleared twice.
14670
14671 Fixed a problem with the Field support code where an access can
14672 occur beyond the end-of-region if the field is non-aligned but
14673 extends to the very end of the parent region (resulted in an
14674 AE_AML_REGION_LIMIT exception.)
14675
14676 Fixed a problem with ACPI Fixed Events where an RT Clock handler
14677 would not get invoked on an RTC event. The RTC event bitmasks for
14678 the PM1 registers were not being initialized properly.
14679
14680 Implemented support for executing _STA and _INI methods for
14681 Processor objects. Although this is currently not part of the
14682 ACPI specification, there is existing ASL code that depends on the
14683 init-time execution of these methods.
14684
14685 Implemented and deployed a GetDescriptorName function to decode
14686 the various types of internal descriptors. Guards against null
14687 descriptors during debug output also.
14688
14689 Implemented and deployed a GetNodeName function to extract the 4-
14690 character namespace node name. This function simplifies the debug
14691 and error output, as well as guarding against null pointers during
14692 output.
14693
14694 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
14695 simplify the debug and error output of 64-bit integers. This
14696 macro replaces the HIDWORD and LODWORD macros for dumping these
14697 integers.
14698
14699 Updated the implementation of the Stall() operator to only call
14700 AcpiOsStall(), and also return an error if the operand is larger
14701 than 255. This preserves the required behavior of not
14702 relinquishing the processor, as would happen if AcpiOsSleep() was
14703 called for "long stalls".
14704
14705 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
14706 initialized are now treated as NOOPs.
14707
14708 Cleaned up a handful of warnings during 64-bit generation.
14709
14710 Fixed a reported error where and incorrect GPE number was passed
14711 to the GPE dispatch handler. This value is only used for error
14712 output, however. Used this opportunity to clean up and streamline
14713 the GPE dispatch code.
14714
14715 Code and Data Size: Current and previous core subsystem library
14716 sizes are shown below. These are the code and data sizes for the
14717 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14718 these values do not include any ACPI driver or OSPM code. The
14719
14720 debug version of the code includes the debug output trace
14721 mechanism and has a much larger code and data size. Note that
14722 these values will vary depending on the efficiency of the compiler
14723 and the compiler options used during generation.
14724
14725 Previous Release (20031002):
14726 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
14727 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
14728 Current Release:
14729 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
14730 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
14731
14732
14733 2) iASL Compiler/Disassembler:
14734
14735 Updated the iASL compiler to return an error if the operand to the
14736 Stall() operator is larger than 255.
14737
14738
14739 ----------------------------------------
14740 02 October 2003. Summary of changes for version 20031002:
14741
14742
14743 1) ACPI CA Core Subsystem:
14744
14745 Fixed a problem with Index Fields where the index was not
14746 incremented for fields that require multiple writes to the
14747 index/data registers (Fields that are wider than the data
14748 register.)
14749
14750 Fixed a problem with all Field objects where a write could go
14751 beyond the end-of-field if the field was larger than the access
14752 granularity and therefore required multiple writes to complete the
14753 request. An extra write beyond the end of the field could happen
14754 inadvertently.
14755
14756 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
14757 would incorrectly be returned if the width of the Data Register
14758 was larger than the specified field access width.
14759
14760 Completed fixes for LoadTable() and Unload() and verified their
14761 operation. Implemented full support for the "DdbHandle" object
14762 throughout the ACPI CA subsystem.
14763
14764 Implemented full support for the MADT and ECDT tables in the ACPI
14765 CA header files. Even though these tables are not directly
14766 consumed by ACPI CA, the header definitions are useful for ACPI
14767 device drivers.
14768
14769 Integrated resource descriptor fixes posted to the Linux ACPI
14770 list. This included checks for minimum descriptor length, and
14771 support for trailing NULL strings within descriptors that have
14772 optional string elements.
14773
14774 Code and Data Size: Current and previous core subsystem library
14775 sizes are shown below. These are the code and data sizes for the
14776 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14777 these values do not include any ACPI driver or OSPM code. The
14778 debug version of the code includes the debug output trace
14779 mechanism and has a much larger code and data size. Note that
14780 these values will vary depending on the efficiency of the compiler
14781 and the compiler options used during generation.
14782
14783 Previous Release (20030918):
14784 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
14785 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
14786 Current Release:
14787 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
14788 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
14789
14790
14791 2) iASL Compiler:
14792
14793 Implemented detection of non-ASCII characters within the input
14794 source ASL file. This catches attempts to compile binary (AML)
14795 files early in the compile, with an informative error message.
14796
14797 Fixed a problem where the disassembler would fault if the output
14798 filename could not be generated or if the output file could not be
14799 opened.
14800
14801 ----------------------------------------
14802 18 September 2003. Summary of changes for version 20030918:
14803
14804
14805 1) ACPI CA Core Subsystem:
14806
14807 Found and fixed a longstanding problem with the late execution of
14808 the various deferred AML opcodes (such as Operation Regions,
14809 Buffer Fields, Buffers, and Packages). If the name string
14810 specified for the name of the new object placed the object in a
14811 scope other than the current scope, the initialization/execution
14812 of the opcode failed. The solution to this problem was to
14813 implement a mechanism where the late execution of such opcodes
14814 does not attempt to lookup/create the name a second time in an
14815 incorrect scope. This fixes the "region size computed
14816 incorrectly" problem.
14817
14818 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
14819 Global Lock AE_BAD_PARAMETER error.
14820
14821 Fixed several 64-bit issues with prototypes, casting and data
14822 types.
14823
14824 Removed duplicate prototype from acdisasm.h
14825
14826 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
14827
14828 Code and Data Size: Current and previous core subsystem library
14829 sizes are shown below. These are the code and data sizes for the
14830 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14831 these values do not include any ACPI driver or OSPM code. The
14832 debug version of the code includes the debug output trace
14833 mechanism and has a much larger code and data size. Note that
14834 these values will vary depending on the efficiency of the compiler
14835 and the compiler options used during generation.
14836
14837 Previous Release:
14838
14839 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
14840 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
14841 Current Release:
14842 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
14843 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
14844
14845
14846 2) Linux:
14847
14848 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
14849 correct sleep time in seconds.
14850
14851 ----------------------------------------
14852 14 July 2003. Summary of changes for version 20030619:
14853
14854 1) ACPI CA Core Subsystem:
14855
14856 Parse SSDTs in order discovered, as opposed to reverse order
14857 (Hrvoje Habjanic)
14858
14859 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
14860 Klausner,
14861 Nate Lawson)
14862
14863
14864 2) Linux:
14865
14866 Dynamically allocate SDT list (suggested by Andi Kleen)
14867
14868 proc function return value cleanups (Andi Kleen)
14869
14870 Correctly handle NMI watchdog during long stalls (Andrew Morton)
14871
14872 Make it so acpismp=force works (reported by Andrew Morton)
14873
14874
14875 ----------------------------------------
14876 19 June 2003. Summary of changes for version 20030619:
14877
14878 1) ACPI CA Core Subsystem:
14879
14880 Fix To/FromBCD, eliminating the need for an arch-specific #define.
14881
14882 Do not acquire a semaphore in the S5 shutdown path.
14883
14884 Fix ex_digits_needed for 0. (Takayoshi Kochi)
14885
14886 Fix sleep/stall code reversal. (Andi Kleen)
14887
14888 Revert a change having to do with control method calling
14889 semantics.
14890
14891 2) Linux:
14892
14893 acpiphp update (Takayoshi Kochi)
14894
14895 Export acpi_disabled for sonypi (Stelian Pop)
14896
14897 Mention acpismp=force in config help
14898
14899 Re-add acpitable.c and acpismp=force. This improves backwards
14900
14901 compatibility and also cleans up the code to a significant degree.
14902
14903 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
14904
14905 ----------------------------------------
14906 22 May 2003. Summary of changes for version 20030522:
14907
14908 1) ACPI CA Core Subsystem:
14909
14910 Found and fixed a reported problem where an AE_NOT_FOUND error
14911 occurred occasionally during _BST evaluation. This turned out to
14912 be an Owner ID allocation issue where a called method did not get
14913 a new ID assigned to it. Eventually, (after 64k calls), the Owner
14914 ID UINT16 would wraparound so that the ID would be the same as the
14915 caller's and the called method would delete the caller's
14916 namespace.
14917
14918 Implemented extended error reporting for control methods that are
14919 aborted due to a run-time exception. Output includes the exact
14920 AML instruction that caused the method abort, a dump of the method
14921 locals and arguments at the time of the abort, and a trace of all
14922 nested control method calls.
14923
14924 Modified the interpreter to allow the creation of buffers of zero
14925 length from the AML code. Implemented new code to ensure that no
14926 attempt is made to actually allocate a memory buffer (of length
14927 zero) - instead, a simple buffer object with a NULL buffer pointer
14928 and length zero is created. A warning is no longer issued when
14929 the AML attempts to create a zero-length buffer.
14930
14931 Implemented a workaround for the "leading asterisk issue" in
14932 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
14933 asterisk is automatically removed if present in any HID, UID, or
14934 CID strings. The iASL compiler will still flag this asterisk as
14935 an error, however.
14936
14937 Implemented full support for _CID methods that return a package of
14938 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
14939 now additionally returns a device _CID list if present. This
14940 required a change to the external interface in order to pass an
14941 ACPI_BUFFER object as a parameter since the _CID list is of
14942 variable length.
14943
14944 Fixed a problem with the new AE_SAME_HANDLER exception where
14945 handler initialization code did not know about this exception.
14946
14947 Code and Data Size: Current and previous core subsystem library
14948 sizes are shown below. These are the code and data sizes for the
14949 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14950 these values do not include any ACPI driver or OSPM code. The
14951 debug version of the code includes the debug output trace
14952 mechanism and has a much larger code and data size. Note that
14953 these values will vary depending on the efficiency of the compiler
14954 and the compiler options used during generation.
14955
14956 Previous Release (20030509):
14957 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
14958 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
14959 Current Release:
14960 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
14961 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
14962
14963
14964 2) Linux:
14965
14966 Fixed a bug in which we would reinitialize the ACPI interrupt
14967 after it was already working, thus disabling all ACPI and the IRQs
14968 for any other device sharing the interrupt. (Thanks to Stian
14969 Jordet)
14970
14971 Toshiba driver update (John Belmonte)
14972
14973 Return only 0 or 1 for our interrupt handler status (Andrew
14974 Morton)
14975
14976
14977 3) iASL Compiler:
14978
14979 Fixed a reported problem where multiple (nested) ElseIf()
14980 statements were not handled correctly by the compiler, resulting
14981 in incorrect warnings and incorrect AML code. This was a problem
14982 in both the ASL parser and the code generator.
14983
14984
14985 4) Documentation:
14986
14987 Added changes to existing interfaces, new exception codes, and new
14988 text concerning reference count object management versus garbage
14989 collection.
14990
14991 ----------------------------------------
14992 09 May 2003. Summary of changes for version 20030509.
14993
14994
14995 1) ACPI CA Core Subsystem:
14996
14997 Changed the subsystem initialization sequence to hold off
14998 installation of address space handlers until the hardware has been
14999 initialized and the system has entered ACPI mode. This is because
15000 the installation of space handlers can cause _REG methods to be
15001 run. Previously, the _REG methods could potentially be run before
15002 ACPI mode was enabled.
15003
15004 Fixed some memory leak issues related to address space handler and
15005 notify handler installation. There were some problems with the
15006 reference count mechanism caused by the fact that the handler
15007 objects are shared across several namespace objects.
15008
15009 Fixed a reported problem where reference counts within the
15010 namespace were not properly updated when named objects created by
15011 method execution were deleted.
15012
15013 Fixed a reported problem where multiple SSDTs caused a deletion
15014 issue during subsystem termination. Restructured the table data
15015 structures to simplify the linked lists and the related code.
15016
15017 Fixed a problem where the table ID associated with secondary
15018 tables (SSDTs) was not being propagated into the namespace objects
15019 created by those tables. This would only present a problem for
15020 tables that are unloaded at run-time, however.
15021
15022 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
15023 type as the length parameter (instead of UINT32).
15024
15025 Solved a long-standing problem where an ALREADY_EXISTS error
15026 appears on various systems. This problem could happen when there
15027 are multiple PCI_Config operation regions under a single PCI root
15028 bus. This doesn't happen very frequently, but there are some
15029 systems that do this in the ASL.
15030
15031 Fixed a reported problem where the internal DeleteNode function
15032 was incorrectly handling the case where a namespace node was the
15033 first in the parent's child list, and had additional peers (not
15034 the only child, but first in the list of children.)
15035
15036 Code and Data Size: Current core subsystem library sizes are shown
15037 below. These are the code and data sizes for the acpica.lib
15038 produced by the Microsoft Visual C++ 6.0 compiler, and these
15039 values do not include any ACPI driver or OSPM code. The debug
15040 version of the code includes the debug output trace mechanism and
15041 has a much larger code and data size. Note that these values will
15042 vary depending on the efficiency of the compiler and the compiler
15043 options used during generation.
15044
15045 Previous Release
15046 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
15047 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
15048 Current Release:
15049 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
15050 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
15051
15052
15053 2) Linux:
15054
15055 Allow ":" in OS override string (Ducrot Bruno)
15056
15057 Kobject fix (Greg KH)
15058
15059
15060 3 iASL Compiler/Disassembler:
15061
15062 Fixed a problem in the generation of the C source code files (AML
15063 is emitted in C source statements for BIOS inclusion) where the
15064 Ascii dump that appears within a C comment at the end of each line
15065 could cause a compile time error if the AML sequence happens to
15066 have an open comment or close comment sequence embedded.
15067
15068
15069 ----------------------------------------
15070 24 April 2003. Summary of changes for version 20030424.
15071
15072
15073 1) ACPI CA Core Subsystem:
15074
15075 Support for big-endian systems has been implemented. Most of the
15076 support has been invisibly added behind big-endian versions of the
15077 ACPI_MOVE_* macros.
15078
15079 Fixed a problem in AcpiHwDisableGpeBlock() and
15080 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
15081 low level hardware write routine. The offset parameter was
15082 actually eliminated from the low level read/write routines because
15083 they had become obsolete.
15084
15085 Fixed a problem where a handler object was deleted twice during
15086 the removal of a fixed event handler.
15087
15088
15089 2) Linux:
15090
15091 A fix for SMP systems with link devices was contributed by
15092
15093 Compaq's Dan Zink.
15094
15095 (2.5) Return whether we handled the interrupt in our IRQ handler.
15096 (Linux ISRs no longer return void, so we can propagate the handler
15097 return value from the ACPI CA core back to the OS.)
15098
15099
15100
15101 3) Documentation:
15102
15103 The ACPI CA Programmer Reference has been updated to reflect new
15104 interfaces and changes to existing interfaces.
15105
15106 ----------------------------------------
15107 28 March 2003. Summary of changes for version 20030328.
15108
15109 1) ACPI CA Core Subsystem:
15110
15111 The GPE Block Device support has been completed. New interfaces
15112 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
15113 interfaces (enable, disable, clear, getstatus) have been split
15114 into separate interfaces for Fixed Events and General Purpose
15115 Events (GPEs) in order to support GPE Block Devices properly.
15116
15117 Fixed a problem where the error message "Failed to acquire
15118 semaphore" would appear during operations on the embedded
15119 controller (EC).
15120
15121 Code and Data Size: Current core subsystem library sizes are shown
15122 below. These are the code and data sizes for the acpica.lib
15123 produced by the Microsoft Visual C++ 6.0 compiler, and these
15124 values do not include any ACPI driver or OSPM code. The debug
15125 version of the code includes the debug output trace mechanism and
15126 has a much larger code and data size. Note that these values will
15127 vary depending on the efficiency of the compiler and the compiler
15128 options used during generation.
15129
15130 Previous Release
15131 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
15132 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
15133 Current Release:
15134 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
15135 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
15136
15137
15138 ----------------------------------------
15139 28 February 2003. Summary of changes for version 20030228.
15140
15141
15142 1) ACPI CA Core Subsystem:
15143
15144 The GPE handling and dispatch code has been completely overhauled
15145 in preparation for support of GPE Block Devices (ID ACPI0006).
15146 This affects internal data structures and code only; there should
15147 be no differences visible externally. One new file has been
15148 added, evgpeblk.c
15149
15150 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
15151 fields that are used to determine the GPE block lengths. The
15152 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
15153 structures are ignored. This is per the ACPI specification but it
15154 isn't very clear. The full 256 Block 0/1 GPEs are now supported
15155 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
15156
15157 In the SCI interrupt handler, removed the read of the PM1_CONTROL
15158 register to look at the SCI_EN bit. On some machines, this read
15159 causes an SMI event and greatly slows down SCI events. (This may
15160 in fact be the cause of slow battery status response on some
15161 systems.)
15162
15163 Fixed a problem where a store of a NULL string to a package object
15164 could cause the premature deletion of the object. This was seen
15165 during execution of the battery _BIF method on some systems,
15166 resulting in no battery data being returned.
15167
15168 Added AcpiWalkResources interface to simplify parsing of resource
15169 lists.
15170
15171 Code and Data Size: Current core subsystem library sizes are shown
15172 below. These are the code and data sizes for the acpica.lib
15173 produced by the Microsoft Visual C++ 6.0 compiler, and these
15174 values do not include any ACPI driver or OSPM code. The debug
15175 version of the code includes the debug output trace mechanism and
15176 has a much larger code and data size. Note that these values will
15177 vary depending on the efficiency of the compiler and the compiler
15178 options used during generation.
15179
15180 Previous Release
15181 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15182 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15183 Current Release:
15184 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
15185 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
15186
15187
15188 2) Linux
15189
15190 S3 fixes (Ole Rohne)
15191
15192 Update ACPI PHP driver with to use new acpi_walk_resource API
15193 (Bjorn Helgaas)
15194
15195 Add S4BIOS support (Pavel Machek)
15196
15197 Map in entire table before performing checksum (John Stultz)
15198
15199 Expand the mem= cmdline to allow the specification of reserved and
15200 ACPI DATA blocks (Pavel Machek)
15201
15202 Never use ACPI on VISWS
15203
15204 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
15205
15206 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
15207 causing us to think that some systems support C2 when they really
15208 don't.
15209
15210 Do not count processor objects for non-present CPUs (Thanks to
15211 Dominik Brodowski)
15212
15213
15214 3) iASL Compiler:
15215
15216 Fixed a problem where ASL include files could not be found and
15217 opened.
15218
15219 Added support for the _PDC reserved name.
15220
15221
15222 ----------------------------------------
15223 22 January 2003. Summary of changes for version 20030122.
15224
15225
15226 1) ACPI CA Core Subsystem:
15227
15228 Added a check for constructs of the form: Store (Local0, Local0)
15229 where Local0 is not initialized. Apparently, some BIOS
15230 programmers believe that this is a NOOP. Since this store doesn't
15231 do anything anyway, the new prototype behavior will ignore this
15232 error. This is a case where we can relax the strict checking in
15233 the interpreter in the name of compatibility.
15234
15235
15236 2) Linux
15237
15238 The AcpiSrc Source Conversion Utility has been released with the
15239 Linux package for the first time. This is the utility that is
15240 used to convert the ACPI CA base source code to the Linux version.
15241
15242 (Both) Handle P_BLK lengths shorter than 6 more gracefully
15243
15244 (Both) Move more headers to include/acpi, and delete an unused
15245 header.
15246
15247 (Both) Move drivers/acpi/include directory to include/acpi
15248
15249 (Both) Boot functions don't use cmdline, so don't pass it around
15250
15251 (Both) Remove include of unused header (Adrian Bunk)
15252
15253 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
15254 the
15255 former now also includes the latter, acpiphp.h only needs the one,
15256 now.
15257
15258 (2.5) Make it possible to select method of bios restoring after S3
15259 resume. [=> no more ugly ifdefs] (Pavel Machek)
15260
15261 (2.5) Make proc write interfaces work (Pavel Machek)
15262
15263 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
15264
15265 (2.5) Break out ACPI Perf code into its own module, under cpufreq
15266 (Dominik Brodowski)
15267
15268 (2.4) S4BIOS support (Ducrot Bruno)
15269
15270 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
15271 Visinoni)
15272
15273
15274 3) iASL Compiler:
15275
15276 Added support to disassemble SSDT and PSDTs.
15277
15278 Implemented support to obtain SSDTs from the Windows registry if
15279 available.
15280
15281
15282 ----------------------------------------
15283 09 January 2003. Summary of changes for version 20030109.
15284
15285 1) ACPI CA Core Subsystem:
15286
15287 Changed the behavior of the internal Buffer-to-String conversion
15288 function. The current ACPI specification states that the contents
15289 of the buffer are "converted to a string of two-character
15290 hexadecimal numbers, each separated by a space". Unfortunately,
15291 this definition is not backwards compatible with existing ACPI 1.0
15292 implementations (although the behavior was not defined in the ACPI
15293 1.0 specification). The new behavior simply copies data from the
15294 buffer to the string until a null character is found or the end of
15295 the buffer is reached. The new String object is always null
15296 terminated. This problem was seen during the generation of _BIF
15297 battery data where incorrect strings were returned for battery
15298 type, etc. This will also require an errata to the ACPI
15299 specification.
15300
15301 Renamed all instances of NATIVE_UINT and NATIVE_INT to
15302 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
15303
15304 Copyright in all module headers (both Linux and non-Linux) has be
15305 updated to 2003.
15306
15307 Code and Data Size: Current core subsystem library sizes are shown
15308 below. These are the code and data sizes for the acpica.lib
15309 produced by the Microsoft Visual C++ 6.0 compiler, and these
15310 values do not include any ACPI driver or OSPM code. The debug
15311 version of the code includes the debug output trace mechanism and
15312 has a much larger code and data size. Note that these values will
15313 vary depending on the efficiency of the compiler and the compiler
15314 options used during generation.
15315
15316 Previous Release
15317 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15318 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15319 Current Release:
15320 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15321 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15322
15323
15324 2) Linux
15325
15326 Fixed an oops on module insertion/removal (Matthew Tippett)
15327
15328 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
15329
15330 (2.5) Replace pr_debug (Randy Dunlap)
15331
15332 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
15333
15334 (Both) Eliminate spawning of thread from timer callback, in favor
15335 of schedule_work()
15336
15337 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
15338
15339 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
15340
15341 (Both) Add missing statics to button.c (Pavel Machek)
15342
15343 Several changes have been made to the source code translation
15344 utility that generates the Linux Code in order to make the code
15345 more "Linux-like":
15346
15347 All typedefs on structs and unions have been removed in keeping
15348 with the Linux coding style.
15349
15350 Removed the non-Linux SourceSafe module revision number from each
15351 module header.
15352
15353 Completed major overhaul of symbols to be lowercase for linux.
15354 Doubled the number of symbols that are lowercase.
15355
15356 Fixed a problem where identifiers within procedure headers and
15357 within quotes were not fully lower cased (they were left with a
15358 starting capital.)
15359
15360 Some C macros whose only purpose is to allow the generation of 16-
15361 bit code are now completely removed in the Linux code, increasing
15362 readability and maintainability.
15363
15364 ----------------------------------------
15365
15366 12 December 2002. Summary of changes for version 20021212.
15367
15368
15369 1) ACPI CA Core Subsystem:
15370
15371 Fixed a problem where the creation of a zero-length AML Buffer
15372 would cause a fault.
15373
15374 Fixed a problem where a Buffer object that pointed to a static AML
15375 buffer (in an ACPI table) could inadvertently be deleted, causing
15376 memory corruption.
15377
15378 Fixed a problem where a user buffer (passed in to the external
15379 ACPI CA interfaces) could be overwritten if the buffer was too
15380 small to complete the operation, causing memory corruption.
15381
15382 Fixed a problem in the Buffer-to-String conversion code where a
15383 string of length one was always returned, regardless of the size
15384 of the input Buffer object.
15385
15386 Removed the NATIVE_CHAR data type across the entire source due to
15387 lack of need and lack of consistent use.
15388
15389 Code and Data Size: Current core subsystem library sizes are shown
15390 below. These are the code and data sizes for the acpica.lib
15391 produced by the Microsoft Visual C++ 6.0 compiler, and these
15392 values do not include any ACPI driver or OSPM code. The debug
15393 version of the code includes the debug output trace mechanism and
15394 has a much larger code and data size. Note that these values will
15395 vary depending on the efficiency of the compiler and the compiler
15396 options used during generation.
15397
15398 Previous Release
15399 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
15400 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
15401 Current Release:
15402 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15403 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15404
15405
15406 ----------------------------------------
15407 05 December 2002. Summary of changes for version 20021205.
15408
15409 1) ACPI CA Core Subsystem:
15410
15411 Fixed a problem where a store to a String or Buffer object could
15412 cause corruption of the DSDT if the object type being stored was
15413 the same as the target object type and the length of the object
15414 being stored was equal to or smaller than the original (existing)
15415 target object. This was seen to cause corruption of battery _BIF
15416 buffers if the _BIF method modified the buffer on the fly.
15417
15418 Fixed a problem where an internal error was generated if a control
15419 method invocation was used in an OperationRegion, Buffer, or
15420 Package declaration. This was caused by the deferred parsing of
15421 the control method and thus the deferred creation of the internal
15422 method object. The solution to this problem was to create the
15423 internal method object at the moment the method is encountered in
15424 the first pass - so that subsequent references to the method will
15425 able to obtain the required parameter count and thus properly
15426 parse the method invocation. This problem presented itself as an
15427 AE_AML_INTERNAL during the pass 1 parse phase during table load.
15428
15429 Fixed a problem where the internal String object copy routine did
15430 not always allocate sufficient memory for the target String object
15431 and caused memory corruption. This problem was seen to cause
15432 "Allocation already present in list!" errors as memory allocation
15433 became corrupted.
15434
15435 Implemented a new function for the evaluation of namespace objects
15436 that allows the specification of the allowable return object
15437 types. This simplifies a lot of code that checks for a return
15438 object of one or more specific objects returned from the
15439 evaluation (such as _STA, etc.) This may become and external
15440 function if it would be useful to ACPI-related drivers.
15441
15442 Completed another round of prefixing #defines with "ACPI_" for
15443 clarity.
15444
15445 Completed additional code restructuring to allow more modular
15446 linking for iASL compiler and AcpiExec. Several files were split
15447 creating new files. New files: nsparse.c dsinit.c evgpe.c
15448
15449 Implemented an abort mechanism to terminate an executing control
15450 method via the AML debugger. This feature is useful for debugging
15451 control methods that depend (wait) for specific hardware
15452 responses.
15453
15454 Code and Data Size: Current core subsystem library sizes are shown
15455 below. These are the code and data sizes for the acpica.lib
15456 produced by the Microsoft Visual C++ 6.0 compiler, and these
15457 values do not include any ACPI driver or OSPM code. The debug
15458 version of the code includes the debug output trace mechanism and
15459 has a much larger code and data size. Note that these values will
15460 vary depending on the efficiency of the compiler and the compiler
15461 options used during generation.
15462
15463 Previous Release
15464 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15465 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
15466 Current Release:
15467 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
15468 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
15469
15470
15471 2) iASL Compiler/Disassembler
15472
15473 Fixed a compiler code generation problem for "Interrupt" Resource
15474 Descriptors. If specified in the ASL, the optional "Resource
15475 Source Index" and "Resource Source" fields were not inserted into
15476 the correct location within the AML resource descriptor, creating
15477 an invalid descriptor.
15478
15479 Fixed a disassembler problem for "Interrupt" resource descriptors.
15480 The optional "Resource Source Index" and "Resource Source" fields
15481 were ignored.
15482
15483
15484 ----------------------------------------
15485 22 November 2002. Summary of changes for version 20021122.
15486
15487
15488 1) ACPI CA Core Subsystem:
15489
15490 Fixed a reported problem where an object stored to a Method Local
15491 or Arg was not copied to a new object during the store - the
15492 object pointer was simply copied to the Local/Arg. This caused
15493 all subsequent operations on the Local/Arg to also affect the
15494 original source of the store operation.
15495
15496 Fixed a problem where a store operation to a Method Local or Arg
15497 was not completed properly if the Local/Arg contained a reference
15498 (from RefOf) to a named field. The general-purpose store-to-
15499 namespace-node code is now used so that this case is handled
15500 automatically.
15501
15502 Fixed a problem where the internal object copy routine would cause
15503 a protection fault if the object being copied was a Package and
15504 contained either 1) a NULL package element or 2) a nested sub-
15505 package.
15506
15507 Fixed a problem with the GPE initialization that resulted from an
15508 ambiguity in the ACPI specification. One section of the
15509 specification states that both the address and length of the GPE
15510 block must be zero if the block is not supported. Another section
15511 implies that only the address need be zero if the block is not
15512 supported. The code has been changed so that both the address and
15513 the length must be non-zero to indicate a valid GPE block (i.e.,
15514 if either the address or the length is zero, the GPE block is
15515 invalid.)
15516
15517 Code and Data Size: Current core subsystem library sizes are shown
15518 below. These are the code and data sizes for the acpica.lib
15519 produced by the Microsoft Visual C++ 6.0 compiler, and these
15520 values do not include any ACPI driver or OSPM code. The debug
15521 version of the code includes the debug output trace mechanism and
15522 has a much larger code and data size. Note that these values will
15523 vary depending on the efficiency of the compiler and the compiler
15524 options used during generation.
15525
15526 Previous Release
15527 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
15528 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
15529 Current Release:
15530 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15531 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
15532
15533
15534 2) Linux
15535
15536 Cleaned up EC driver. Exported an external EC read/write
15537 interface. By going through this, other drivers (most notably
15538 sonypi) will be able to serialize access to the EC.
15539
15540
15541 3) iASL Compiler/Disassembler
15542
15543 Implemented support to optionally generate include files for both
15544 ASM and C (the -i switch). This simplifies BIOS development by
15545 automatically creating include files that contain external
15546 declarations for the symbols that are created within the
15547
15548 (optionally generated) ASM and C AML source files.
15549
15550
15551 ----------------------------------------
15552 15 November 2002. Summary of changes for version 20021115.
15553
15554 1) ACPI CA Core Subsystem:
15555
15556 Fixed a memory leak problem where an error during resolution of
15557
15558 method arguments during a method invocation from another method
15559 failed to cleanup properly by deleting all successfully resolved
15560 argument objects.
15561
15562 Fixed a problem where the target of the Index() operator was not
15563 correctly constructed if the source object was a package. This
15564 problem has not been detected because the use of a target operand
15565 with Index() is very rare.
15566
15567 Fixed a problem with the Index() operator where an attempt was
15568 made to delete the operand objects twice.
15569
15570 Fixed a problem where an attempt was made to delete an operand
15571 twice during execution of the CondRefOf() operator if the target
15572 did not exist.
15573
15574 Implemented the first of perhaps several internal create object
15575 functions that create and initialize a specific object type. This
15576 consolidates duplicated code wherever the object is created, thus
15577 shrinking the size of the subsystem.
15578
15579 Implemented improved debug/error messages for errors that occur
15580 during nested method invocations. All executing method pathnames
15581 are displayed (with the error) as the call stack is unwound - thus
15582 simplifying debug.
15583
15584 Fixed a problem introduced in the 10/02 release that caused
15585 premature deletion of a buffer object if a buffer was used as an
15586 ASL operand where an integer operand is required (Thus causing an
15587 implicit object conversion from Buffer to Integer.) The change in
15588 the 10/02 release was attempting to fix a memory leak (albeit
15589 incorrectly.)
15590
15591 Code and Data Size: Current core subsystem library sizes are shown
15592 below. These are the code and data sizes for the acpica.lib
15593 produced by the Microsoft Visual C++ 6.0 compiler, and these
15594 values do not include any ACPI driver or OSPM code. The debug
15595 version of the code includes the debug output trace mechanism and
15596 has a much larger code and data size. Note that these values will
15597 vary depending on the efficiency of the compiler and the compiler
15598 options used during generation.
15599
15600 Previous Release
15601 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
15602 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
15603 Current Release:
15604 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
15605 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
15606
15607
15608 2) Linux
15609
15610 Changed the implementation of the ACPI semaphores to use down()
15611 instead of down_interruptable(). It is important that the
15612 execution of ACPI control methods not be interrupted by signals.
15613 Methods must run to completion, or the system may be left in an
15614 unknown/unstable state.
15615
15616 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
15617 (Shawn Starr)
15618
15619
15620 3) iASL Compiler/Disassembler
15621
15622
15623 Changed the default location of output files. All output files
15624 are now placed in the current directory by default instead of in
15625 the directory of the source file. This change may affect some
15626 existing makefiles, but it brings the behavior of the compiler in
15627 line with other similar tools. The location of the output files
15628 can be overridden with the -p command line switch.
15629
15630
15631 ----------------------------------------
15632 11 November 2002. Summary of changes for version 20021111.
15633
15634
15635 0) ACPI Specification 2.0B is released and is now available at:
15636 http://www.acpi.info/index.html
15637
15638
15639 1) ACPI CA Core Subsystem:
15640
15641 Implemented support for the ACPI 2.0 SMBus Operation Regions.
15642 This includes the early detection and handoff of the request to
15643 the SMBus region handler (avoiding all of the complex field
15644 support code), and support for the bidirectional return packet
15645 from an SMBus write operation. This paves the way for the
15646 development of SMBus drivers in each host operating system.
15647
15648 Fixed a problem where the semaphore WAIT_FOREVER constant was
15649 defined as 32 bits, but must be 16 bits according to the ACPI
15650 specification. This had the side effect of causing ASL
15651 Mutex/Event timeouts even though the ASL code requested a wait
15652 forever. Changed all internal references to the ACPI timeout
15653 parameter to 16 bits to prevent future problems. Changed the name
15654 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
15655
15656 Code and Data Size: Current core subsystem library sizes are shown
15657 below. These are the code and data sizes for the acpica.lib
15658 produced by the Microsoft Visual C++ 6.0 compiler, and these
15659 values do not include any ACPI driver or OSPM code. The debug
15660 version of the code includes the debug output trace mechanism and
15661 has a much larger code and data size. Note that these values will
15662 vary depending on the efficiency of the compiler and the compiler
15663 options used during generation.
15664
15665 Previous Release
15666 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15667 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
15668 Current Release:
15669 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
15670 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
15671
15672
15673 2) Linux
15674
15675 Module loading/unloading fixes (John Cagle)
15676
15677
15678 3) iASL Compiler/Disassembler
15679
15680 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
15681
15682 Implemented support for the disassembly of all SMBus protocol
15683 keywords (SMBQuick, SMBWord, etc.)
15684
15685 ----------------------------------------
15686 01 November 2002. Summary of changes for version 20021101.
15687
15688
15689 1) ACPI CA Core Subsystem:
15690
15691 Fixed a problem where platforms that have a GPE1 block but no GPE0
15692 block were not handled correctly. This resulted in a "GPE
15693 overlap" error message. GPE0 is no longer required.
15694
15695 Removed code added in the previous release that inserted nodes
15696 into the namespace in alphabetical order. This caused some side-
15697 effects on various machines. The root cause of the problem is
15698 still under investigation since in theory, the internal ordering
15699 of the namespace nodes should not matter.
15700
15701
15702 Enhanced error reporting for the case where a named object is not
15703 found during control method execution. The full ACPI namepath
15704 (name reference) of the object that was not found is displayed in
15705 this case.
15706
15707 Note: as a result of the overhaul of the namespace object types in
15708 the previous release, the namespace nodes for the predefined
15709 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
15710 instead of ACPI_TYPE_ANY. This simplifies the namespace
15711 management code but may affect code that walks the namespace tree
15712 looking for specific object types.
15713
15714 Code and Data Size: Current core subsystem library sizes are shown
15715 below. These are the code and data sizes for the acpica.lib
15716 produced by the Microsoft Visual C++ 6.0 compiler, and these
15717 values do not include any ACPI driver or OSPM code. The debug
15718 version of the code includes the debug output trace mechanism and
15719 has a much larger code and data size. Note that these values will
15720 vary depending on the efficiency of the compiler and the compiler
15721 options used during generation.
15722
15723 Previous Release
15724 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
15725 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
15726 Current Release:
15727 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15728 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
15729
15730
15731 2) Linux
15732
15733 Fixed a problem introduced in the previous release where the
15734 Processor and Thermal objects were not recognized and installed in
15735 /proc. This was related to the scope type change described above.
15736
15737
15738 3) iASL Compiler/Disassembler
15739
15740 Implemented the -g option to get all of the required ACPI tables
15741 from the registry and save them to files (Windows version of the
15742 compiler only.) The required tables are the FADT, FACS, and DSDT.
15743
15744 Added ACPI table checksum validation during table disassembly in
15745 order to catch corrupted tables.
15746
15747
15748 ----------------------------------------
15749 22 October 2002. Summary of changes for version 20021022.
15750
15751 1) ACPI CA Core Subsystem:
15752
15753 Implemented a restriction on the Scope operator that the target
15754 must already exist in the namespace at the time the operator is
15755 encountered (during table load or method execution). In other
15756 words, forward references are not allowed and Scope() cannot
15757 create a new object. This changes the previous behavior where the
15758 interpreter would create the name if not found. This new behavior
15759 correctly enables the search-to-root algorithm during namespace
15760 lookup of the target name. Because of this upsearch, this fixes
15761 the known Compaq _SB_.OKEC problem and makes both the AML
15762 interpreter and iASL compiler compatible with other ACPI
15763 implementations.
15764
15765 Completed a major overhaul of the internal ACPI object types for
15766 the ACPI Namespace and the associated operand objects. Many of
15767 these types had become obsolete with the introduction of the two-
15768 pass namespace load. This cleanup simplifies the code and makes
15769 the entire namespace load mechanism much clearer and easier to
15770 understand.
15771
15772 Improved debug output for tracking scope opening/closing to help
15773 diagnose scoping issues. The old scope name as well as the new
15774 scope name are displayed. Also improved error messages for
15775 problems with ASL Mutex objects and error messages for GPE
15776 problems.
15777
15778 Cleaned up the namespace dump code, removed obsolete code.
15779
15780 All string output (for all namespace/object dumps) now uses the
15781 common ACPI string output procedure which handles escapes properly
15782 and does not emit non-printable characters.
15783
15784 Fixed some issues with constants in the 64-bit version of the
15785 local C library (utclib.c)
15786
15787
15788 2) Linux
15789
15790 EC Driver: No longer attempts to acquire the Global Lock at
15791 interrupt level.
15792
15793
15794 3) iASL Compiler/Disassembler
15795
15796 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
15797 2 opcodes outside of a control method. This means that the
15798 "executable" operators (versus the "namespace" operators) cannot
15799 be used at the table level; they can only be used within a control
15800 method.
15801
15802 Implemented the restriction on the Scope() operator where the
15803 target must already exist in the namespace at the time the
15804 operator is encountered (during ASL compilation). In other words,
15805 forward references are not allowed and Scope() cannot create a new
15806 object. This makes the iASL compiler compatible with other ACPI
15807 implementations and makes the Scope() implementation adhere to the
15808 ACPI specification.
15809
15810 Fixed a problem where namepath optimization for the Alias operator
15811 was optimizing the wrong path (of the two namepaths.) This caused
15812 a "Missing alias link" error message.
15813
15814 Fixed a problem where an "unknown reserved name" warning could be
15815 incorrectly generated for names like "_SB" when the trailing
15816 underscore is not used in the original ASL.
15817
15818 Fixed a problem where the reserved name check did not handle
15819 NamePaths with multiple NameSegs correctly. The first nameseg of
15820 the NamePath was examined instead of the last NameSeg.
15821
15822
15823 ----------------------------------------
15824
15825 02 October 2002. Summary of changes for this release.
15826
15827
15828 1) ACPI CA Core Subsystem version 20021002:
15829
15830 Fixed a problem where a store/copy of a string to an existing
15831 string did not always set the string length properly in the String
15832 object.
15833
15834 Fixed a reported problem with the ToString operator where the
15835 behavior was identical to the ToHexString operator instead of just
15836 simply converting a raw buffer to a string data type.
15837
15838 Fixed a problem where CopyObject and the other "explicit"
15839 conversion operators were not updating the internal namespace node
15840 type as part of the store operation.
15841
15842 Fixed a memory leak during implicit source operand conversion
15843 where the original object was not deleted if it was converted to a
15844 new object of a different type.
15845
15846 Enhanced error messages for all problems associated with namespace
15847 lookups. Common procedure generates and prints the lookup name as
15848 well as the formatted status.
15849
15850 Completed implementation of a new design for the Alias support
15851 within the namespace. The existing design did not handle the case
15852 where a new object was assigned to one of the two names due to the
15853 use of an explicit conversion operator, resulting in the two names
15854 pointing to two different objects. The new design simply points
15855 the Alias name to the original name node - not to the object.
15856 This results in a level of indirection that must be handled in the
15857 name resolution mechanism.
15858
15859 Code and Data Size: Current core subsystem library sizes are shown
15860 below. These are the code and data sizes for the acpica.lib
15861 produced by the Microsoft Visual C++ 6.0 compiler, and these
15862 values do not include any ACPI driver or OSPM code. The debug
15863 version of the code includes the debug output trace mechanism and
15864 has a larger code and data size. Note that these values will vary
15865 depending on the efficiency of the compiler and the compiler
15866 options used during generation.
15867
15868 Previous Release
15869 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
15870 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
15871 Current Release:
15872 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
15873 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
15874
15875
15876 2) Linux
15877
15878 Initialize thermal driver's timer before it is used. (Knut
15879 Neumann)
15880
15881 Allow handling negative celsius values. (Kochi Takayoshi)
15882
15883 Fix thermal management and make trip points. R/W (Pavel Machek)
15884
15885 Fix /proc/acpi/sleep. (P. Christeas)
15886
15887 IA64 fixes. (David Mosberger)
15888
15889 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
15890
15891 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
15892 Brodowski)
15893
15894
15895 3) iASL Compiler/Disassembler
15896
15897 Clarified some warning/error messages.
15898
15899
15900 ----------------------------------------
15901 18 September 2002. Summary of changes for this release.
15902
15903
15904 1) ACPI CA Core Subsystem version 20020918:
15905
15906 Fixed a reported problem with reference chaining (via the Index()
15907 and RefOf() operators) in the ObjectType() and SizeOf() operators.
15908 The definition of these operators includes the dereferencing of
15909 all chained references to return information on the base object.
15910
15911 Fixed a problem with stores to indexed package elements - the
15912 existing code would not complete the store if an "implicit
15913 conversion" was not performed. In other words, if the existing
15914 object (package element) was to be replaced completely, the code
15915 didn't handle this case.
15916
15917 Relaxed typechecking on the ASL "Scope" operator to allow the
15918 target name to refer to an object of type Integer, String, or
15919 Buffer, in addition to the scoping object types (Device,
15920 predefined Scopes, Processor, PowerResource, and ThermalZone.)
15921 This allows existing AML code that has workarounds for a bug in
15922 Windows to function properly. A warning is issued, however. This
15923 affects both the AML interpreter and the iASL compiler. Below is
15924 an example of this type of ASL code:
15925
15926 Name(DEB,0x00)
15927 Scope(DEB)
15928 {
15929
15930 Fixed some reported problems with 64-bit integer support in the
15931 local implementation of C library functions (clib.c)
15932
15933
15934 2) Linux
15935
15936 Use ACPI fix map region instead of IOAPIC region, since it is
15937 undefined in non-SMP.
15938
15939 Ensure that the SCI has the proper polarity and trigger, even on
15940 systems that do not have an interrupt override entry in the MADT.
15941
15942 2.5 big driver reorganization (Pat Mochel)
15943
15944 Use early table mapping code from acpitable.c (Andi Kleen)
15945
15946 New blacklist entries (Andi Kleen)
15947
15948 Blacklist improvements. Split blacklist code out into a separate
15949 file. Move checking the blacklist to very early. Previously, we
15950 would use ACPI tables, and then halfway through init, check the
15951 blacklist -- too late. Now, it's early enough to completely fall-
15952 back to non-ACPI.
15953
15954
15955 3) iASL Compiler/Disassembler version 20020918:
15956
15957 Fixed a problem where the typechecking code didn't know that an
15958 alias could point to a method. In other words, aliases were not
15959 being dereferenced during typechecking.
15960
15961
15962 ----------------------------------------
15963 29 August 2002. Summary of changes for this release.
15964
15965 1) ACPI CA Core Subsystem Version 20020829:
15966
15967 If the target of a Scope() operator already exists, it must be an
15968 object type that actually opens a scope -- such as a Device,
15969 Method, Scope, etc. This is a fatal runtime error. Similar error
15970 check has been added to the iASL compiler also.
15971
15972 Tightened up the namespace load to disallow multiple names in the
15973 same scope. This previously was allowed if both objects were of
15974 the same type. (i.e., a lookup was the same as entering a new
15975 name).
15976
15977
15978 2) Linux
15979
15980 Ensure that the ACPI interrupt has the proper trigger and
15981 polarity.
15982
15983 local_irq_disable is extraneous. (Matthew Wilcox)
15984
15985 Make "acpi=off" actually do what it says, and not use the ACPI
15986 interpreter *or* the tables.
15987
15988 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
15989 Takayoshi)
15990
15991
15992 3) iASL Compiler/Disassembler Version 20020829:
15993
15994 Implemented namepath optimization for name declarations. For
15995 example, a declaration like "Method (\_SB_.ABCD)" would get
15996 optimized to "Method (ABCD)" if the declaration is within the
15997 \_SB_ scope. This optimization is in addition to the named
15998 reference path optimization first released in the previous
15999 version. This would seem to complete all possible optimizations
16000 for namepaths within the ASL/AML.
16001
16002 If the target of a Scope() operator already exists, it must be an
16003 object type that actually opens a scope -- such as a Device,
16004 Method, Scope, etc.
16005
16006 Implemented a check and warning for unreachable code in the same
16007 block below a Return() statement.
16008
16009 Fixed a problem where the listing file was not generated if the
16010 compiler aborted if the maximum error count was exceeded (200).
16011
16012 Fixed a problem where the typechecking of method return values was
16013 broken. This includes the check for a return value when the
16014 method is invoked as a TermArg (a return value is expected.)
16015
16016 Fixed a reported problem where EOF conditions during a quoted
16017 string or comment caused a fault.
16018
16019
16020 ----------------------------------------
16021 15 August 2002. Summary of changes for this release.
16022
16023 1) ACPI CA Core Subsystem Version 20020815:
16024
16025 Fixed a reported problem where a Store to a method argument that
16026 contains a reference did not perform the indirect store correctly.
16027 This problem was created during the conversion to the new
16028 reference object model - the indirect store to a method argument
16029 code was not updated to reflect the new model.
16030
16031 Reworked the ACPI mode change code to better conform to ACPI 2.0,
16032 handle corner cases, and improve code legibility (Kochi Takayoshi)
16033
16034 Fixed a problem with the pathname parsing for the carat (^)
16035 prefix. The heavy use of the carat operator by the new namepath
16036 optimization in the iASL compiler uncovered a problem with the AML
16037 interpreter handling of this prefix. In the case where one or
16038 more carats precede a single nameseg, the nameseg was treated as
16039 standalone and the search rule (to root) was inadvertently
16040 applied. This could cause both the iASL compiler and the
16041 interpreter to find the wrong object or to miss the error that
16042 should occur if the object does not exist at that exact pathname.
16043
16044 Found and fixed the problem where the HP Pavilion DSDT would not
16045 load. This was a relatively minor tweak to the table loading code
16046 (a problem caused by the unexpected encounter with a method
16047 invocation not within a control method), but it does not solve the
16048 overall issue of the execution of AML code at the table level.
16049 This investigation is still ongoing.
16050
16051 Code and Data Size: Current core subsystem library sizes are shown
16052 below. These are the code and data sizes for the acpica.lib
16053 produced by the Microsoft Visual C++ 6.0 compiler, and these
16054 values do not include any ACPI driver or OSPM code. The debug
16055 version of the code includes the debug output trace mechanism and
16056 has a larger code and data size. Note that these values will vary
16057 depending on the efficiency of the compiler and the compiler
16058 options used during generation.
16059
16060 Previous Release
16061 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
16062 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
16063 Current Release:
16064 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
16065 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
16066
16067
16068 2) Linux
16069
16070 Remove redundant slab.h include (Brad Hards)
16071
16072 Fix several bugs in thermal.c (Herbert Nachtnebel)
16073
16074 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
16075
16076 Change acpi_system_suspend to use updated irq functions (Pavel
16077 Machek)
16078
16079 Export acpi_get_firmware_table (Matthew Wilcox)
16080
16081 Use proper root proc entry for ACPI (Kochi Takayoshi)
16082
16083 Fix early-boot table parsing (Bjorn Helgaas)
16084
16085
16086 3) iASL Compiler/Disassembler
16087
16088 Reworked the compiler options to make them more consistent and to
16089 use two-letter options where appropriate. We were running out of
16090 sensible letters. This may break some makefiles, so check the
16091 current options list by invoking the compiler with no parameters.
16092
16093 Completed the design and implementation of the ASL namepath
16094 optimization option for the compiler. This option optimizes all
16095 references to named objects to the shortest possible path. The
16096 first attempt tries to utilize a single nameseg (4 characters) and
16097 the "search-to-root" algorithm used by the interpreter. If that
16098 cannot be used (because either the name is not in the search path
16099 or there is a conflict with another object with the same name),
16100 the pathname is optimized using the carat prefix (usually a
16101 shorter string than specifying the entire path from the root.)
16102
16103 Implemented support to obtain the DSDT from the Windows registry
16104 (when the disassembly option is specified with no input file).
16105 Added this code as the implementation for AcpiOsTableOverride in
16106 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
16107 utility) to scan memory for the DSDT to the AcpiOsTableOverride
16108 function in the DOS OSL to make the disassembler truly OS
16109 independent.
16110
16111 Implemented a new option to disassemble and compile in one step.
16112 When used without an input filename, this option will grab the
16113 DSDT from the local machine, disassemble it, and compile it in one
16114 step.
16115
16116 Added a warning message for invalid escapes (a backslash followed
16117 by any character other than the allowable escapes). This catches
16118 the quoted string error "\_SB_" (which should be "\\_SB_" ).
16119
16120 Also, there are numerous instances in the ACPI specification where
16121 this error occurs.
16122
16123 Added a compiler option to disable all optimizations. This is
16124 basically the "compatibility mode" because by using this option,
16125 the AML code will come out exactly the same as other ASL
16126 compilers.
16127
16128 Added error messages for incorrectly ordered dependent resource
16129 functions. This includes: missing EndDependentFn macro at end of
16130 dependent resource list, nested dependent function macros (both
16131 start and end), and missing StartDependentFn macro. These are
16132 common errors that should be caught at compile time.
16133
16134 Implemented _OSI support for the disassembler and compiler. _OSI
16135 must be included in the namespace for proper disassembly (because
16136 the disassembler must know the number of arguments.)
16137
16138 Added an "optimization" message type that is optional (off by
16139 default). This message is used for all optimizations - including
16140 constant folding, integer optimization, and namepath optimization.
16141
16142 ----------------------------------------
16143 25 July 2002. Summary of changes for this release.
16144
16145
16146 1) ACPI CA Core Subsystem Version 20020725:
16147
16148 The AML Disassembler has been enhanced to produce compilable ASL
16149 code and has been integrated into the iASL compiler (see below) as
16150 well as the single-step disassembly for the AML debugger and the
16151 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
16152 resource templates and macros are fully supported. The
16153 disassembler has been tested on over 30 different AML files,
16154 producing identical AML when the resulting disassembled ASL file
16155 is recompiled with the same ASL compiler.
16156
16157 Modified the Resource Manager to allow zero interrupts and zero
16158 dma channels during the GetCurrentResources call. This was
16159 causing problems on some platforms.
16160
16161 Added the AcpiOsRedirectOutput interface to the OSL to simplify
16162 output redirection for the AcpiOsPrintf and AcpiOsVprintf
16163 interfaces.
16164
16165 Code and Data Size: Current core subsystem library sizes are shown
16166 below. These are the code and data sizes for the acpica.lib
16167 produced by the Microsoft Visual C++ 6.0 compiler, and these
16168 values do not include any ACPI driver or OSPM code. The debug
16169 version of the code includes the debug output trace mechanism and
16170 has a larger code and data size. Note that these values will vary
16171 depending on the efficiency of the compiler and the compiler
16172 options used during generation.
16173
16174 Previous Release
16175 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
16176 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
16177 Current Release:
16178 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
16179 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
16180
16181
16182 2) Linux
16183
16184 Fixed a panic in the EC driver (Dominik Brodowski)
16185
16186 Implemented checksum of the R/XSDT itself during Linux table scan
16187 (Richard Schaal)
16188
16189
16190 3) iASL compiler
16191
16192 The AML disassembler is integrated into the compiler. The "-d"
16193 option invokes the disassembler to completely disassemble an
16194 input AML file, producing as output a text ASL file with the
16195 extension ".dsl" (to avoid name collisions with existing .asl
16196 source files.) A future enhancement will allow the disassembler
16197 to obtain the BIOS DSDT from the registry under Windows.
16198
16199 Fixed a problem with the VendorShort and VendorLong resource
16200 descriptors where an invalid AML sequence was created.
16201
16202 Implemented a fix for BufferData term in the ASL parser. It was
16203 inadvertently defined twice, allowing invalid syntax to pass and
16204 causing reduction conflicts.
16205
16206 Fixed a problem where the Ones opcode could get converted to a
16207 value of zero if "Ones" was used where a byte, word or dword value
16208 was expected. The 64-bit value is now truncated to the correct
16209 size with the correct value.
16210
16211
16212
16213 ----------------------------------------
16214 02 July 2002. Summary of changes for this release.
16215
16216
16217 1) ACPI CA Core Subsystem Version 20020702:
16218
16219 The Table Manager code has been restructured to add several new
16220 features. Tables that are not required by the core subsystem
16221 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
16222 validated in any way and are returned from AcpiGetFirmwareTable if
16223 requested. The AcpiOsTableOverride interface is now called for
16224 each table that is loaded by the subsystem in order to allow the
16225 host to override any table it chooses. Previously, only the DSDT
16226 could be overridden. Added one new files, tbrsdt.c and
16227 tbgetall.c.
16228
16229 Fixed a problem with the conversion of internal package objects to
16230 external objects (when a package is returned from a control
16231 method.) The return buffer length was set to zero instead of the
16232 proper length of the package object.
16233
16234 Fixed a reported problem with the use of the RefOf and DeRefOf
16235 operators when passing reference arguments to control methods. A
16236 new type of Reference object is used internally for references
16237 produced by the RefOf operator.
16238
16239 Added additional error messages in the Resource Manager to explain
16240 AE_BAD_DATA errors when they occur during resource parsing.
16241
16242 Split the AcpiEnableSubsystem into two primitives to enable a
16243 finer granularity initialization sequence. These two calls should
16244 be called in this order: AcpiEnableSubsystem (flags),
16245 AcpiInitializeObjects (flags). The flags parameter remains the
16246 same.
16247
16248
16249 2) Linux
16250
16251 Updated the ACPI utilities module to understand the new style of
16252 fully resolved package objects that are now returned from the core
16253 subsystem. This eliminates errors of the form:
16254
16255 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
16256 acpi_utils-0430 [145] acpi_evaluate_reference:
16257 Invalid element in package (not a device reference)
16258
16259 The method evaluation utility uses the new buffer allocation
16260 scheme instead of calling AcpiEvaluate Object twice.
16261
16262 Added support for ECDT. This allows the use of the Embedded
16263
16264 Controller before the namespace has been fully initialized, which
16265 is necessary for ACPI 2.0 support, and for some laptops to
16266 initialize properly. (Laptops using ECDT are still rare, so only
16267 limited testing was performed of the added functionality.)
16268
16269 Fixed memory leaks in the EC driver.
16270
16271 Eliminated a brittle code structure in acpi_bus_init().
16272
16273 Eliminated the acpi_evaluate() helper function in utils.c. It is
16274 no longer needed since acpi_evaluate_object can optionally
16275 allocate memory for the return object.
16276
16277 Implemented fix for keyboard hang when getting battery readings on
16278 some systems (Stephen White)
16279
16280 PCI IRQ routing update (Dominik Brodowski)
16281
16282 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
16283 support
16284
16285 ----------------------------------------
16286 11 June 2002. Summary of changes for this release.
16287
16288
16289 1) ACPI CA Core Subsystem Version 20020611:
16290
16291 Fixed a reported problem where constants such as Zero and One
16292 appearing within _PRT packages were not handled correctly within
16293 the resource manager code. Originally reported against the ASL
16294 compiler because the code generator now optimizes integers to
16295 their minimal AML representation (i.e. AML constants if possible.)
16296 The _PRT code now handles all AML constant opcodes correctly
16297 (Zero, One, Ones, Revision).
16298
16299 Fixed a problem with the Concatenate operator in the AML
16300 interpreter where a buffer result object was incorrectly marked as
16301 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
16302
16303 All package sub-objects are now fully resolved before they are
16304 returned from the external ACPI interfaces. This means that name
16305 strings are resolved to object handles, and constant operators
16306 (Zero, One, Ones, Revision) are resolved to Integers.
16307
16308 Implemented immediate resolution of the AML Constant opcodes
16309 (Zero, One, Ones, Revision) to Integer objects upon detection
16310 within the AML stream. This has simplified and reduced the
16311 generated code size of the subsystem by eliminating about 10
16312 switch statements for these constants (which previously were
16313 contained in Reference objects.) The complicating issues are that
16314 the Zero opcode is used as a "placeholder" for unspecified
16315 optional target operands and stores to constants are defined to be
16316 no-ops.
16317
16318 Code and Data Size: Current core subsystem library sizes are shown
16319 below. These are the code and data sizes for the acpica.lib
16320 produced by the Microsoft Visual C++ 6.0 compiler, and these
16321 values do not include any ACPI driver or OSPM code. The debug
16322 version of the code includes the debug output trace mechanism and
16323 has a larger code and data size. Note that these values will vary
16324 depending on the efficiency of the compiler and the compiler
16325 options used during generation.
16326
16327 Previous Release
16328 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
16329 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
16330 Current Release:
16331 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
16332 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
16333
16334
16335 2) Linux
16336
16337
16338 Added preliminary support for obtaining _TRA data for PCI root
16339 bridges (Bjorn Helgaas).
16340
16341
16342 3) iASL Compiler Version X2046:
16343
16344 Fixed a problem where the "_DDN" reserved name was defined to be a
16345 control method with one argument. There are no arguments, and
16346 _DDN does not have to be a control method.
16347
16348 Fixed a problem with the Linux version of the compiler where the
16349 source lines printed with error messages were the wrong lines.
16350 This turned out to be the "LF versus CR/LF" difference between
16351 Windows and Unix. This appears to be the longstanding issue
16352 concerning listing output and error messages.
16353
16354 Fixed a problem with the Linux version of compiler where opcode
16355 names within error messages were wrong. This was caused by a
16356 slight difference in the output of the Flex tool on Linux versus
16357 Windows.
16358
16359 Fixed a problem with the Linux compiler where the hex output files
16360 contained some garbage data caused by an internal buffer overrun.
16361
16362
16363 ----------------------------------------
16364 17 May 2002. Summary of changes for this release.
16365
16366
16367 1) ACPI CA Core Subsystem Version 20020517:
16368
16369 Implemented a workaround to an BIOS bug discovered on the HP
16370 OmniBook where the FADT revision number and the table size are
16371 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
16372 behavior is to fallback to using only the ACPI 1.0 fields of the
16373 FADT if the table is too small to be a ACPI 2.0 table as claimed
16374 by the revision number. Although this is a BIOS bug, this is a
16375 case where the workaround is simple enough and with no side
16376 effects, so it seemed prudent to add it. A warning message is
16377 issued, however.
16378
16379 Implemented minimum size checks for the fixed-length ACPI tables -
16380 - the FADT and FACS, as well as consistency checks between the
16381 revision number and the table size.
16382
16383 Fixed a reported problem in the table override support where the
16384 new table pointer was incorrectly treated as a physical address
16385 instead of a logical address.
16386
16387 Eliminated the use of the AE_AML_ERROR exception and replaced it
16388 with more descriptive codes.
16389
16390 Fixed a problem where an exception would occur if an ASL Field was
16391 defined with no named Field Units underneath it (used by some
16392 index fields).
16393
16394 Code and Data Size: Current core subsystem library sizes are shown
16395 below. These are the code and data sizes for the acpica.lib
16396 produced by the Microsoft Visual C++ 6.0 compiler, and these
16397 values do not include any ACPI driver or OSPM code. The debug
16398 version of the code includes the debug output trace mechanism and
16399 has a larger code and data size. Note that these values will vary
16400 depending on the efficiency of the compiler and the compiler
16401 options used during generation.
16402
16403 Previous Release
16404 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
16405 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
16406 Current Release:
16407 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
16408 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
16409
16410
16411
16412 2) Linux
16413
16414 Much work done on ACPI init (MADT and PCI IRQ routing support).
16415 (Paul D. and Dominik Brodowski)
16416
16417 Fix PCI IRQ-related panic on boot (Sam Revitch)
16418
16419 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
16420
16421 Fix "MHz" typo (Dominik Brodowski)
16422
16423 Fix RTC year 2000 issue (Dominik Brodowski)
16424
16425 Preclude multiple button proc entries (Eric Brunet)
16426
16427 Moved arch-specific code out of include/platform/aclinux.h
16428
16429 3) iASL Compiler Version X2044:
16430
16431 Implemented error checking for the string used in the EISAID macro
16432 (Usually used in the definition of the _HID object.) The code now
16433 strictly enforces the PnP format - exactly 7 characters, 3
16434 uppercase letters and 4 hex digits.
16435
16436 If a raw string is used in the definition of the _HID object
16437 (instead of the EISAID macro), the string must contain all
16438 alphanumeric characters (e.g., "*PNP0011" is not allowed because
16439 of the asterisk.)
16440
16441 Implemented checking for invalid use of ACPI reserved names for
16442 most of the name creation operators (Name, Device, Event, Mutex,
16443 OperationRegion, PowerResource, Processor, and ThermalZone.)
16444 Previously, this check was only performed for control methods.
16445
16446 Implemented an additional check on the Name operator to emit an
16447 error if a reserved name that must be implemented in ASL as a
16448 control method is used. We know that a reserved name must be a
16449 method if it is defined with input arguments.
16450
16451 The warning emitted when a namespace object reference is not found
16452 during the cross reference phase has been changed into an error.
16453 The "External" directive should be used for names defined in other
16454 modules.
16455
16456
16457 4) Tools and Utilities
16458
16459 The 16-bit tools (adump16 and aexec16) have been regenerated and
16460 tested.
16461
16462 Fixed a problem with the output of both acpidump and adump16 where
16463 the indentation of closing parentheses and brackets was not
16464
16465 aligned properly with the parent block.
16466
16467
16468 ----------------------------------------
16469 03 May 2002. Summary of changes for this release.
16470
16471
16472 1) ACPI CA Core Subsystem Version 20020503:
16473
16474 Added support a new OSL interface that allows the host operating
16475
16476 system software to override the DSDT found in the firmware -
16477 AcpiOsTableOverride. With this interface, the OSL can examine the
16478 version of the firmware DSDT and replace it with a different one
16479 if desired.
16480
16481 Added new external interfaces for accessing ACPI registers from
16482 device drivers and other system software - AcpiGetRegister and
16483 AcpiSetRegister. This was simply an externalization of the
16484 existing AcpiHwBitRegister interfaces.
16485
16486 Fixed a regression introduced in the previous build where the
16487 ASL/AML CreateField operator always returned an error,
16488 "destination must be a NS Node".
16489
16490 Extended the maximum time (before failure) to successfully enable
16491 ACPI mode to 3 seconds.
16492
16493 Code and Data Size: Current core subsystem library sizes are shown
16494 below. These are the code and data sizes for the acpica.lib
16495 produced by the Microsoft Visual C++ 6.0 compiler, and these
16496 values do not include any ACPI driver or OSPM code. The debug
16497 version of the code includes the debug output trace mechanism and
16498 has a larger code and data size. Note that these values will vary
16499 depending on the efficiency of the compiler and the compiler
16500 options used during generation.
16501
16502 Previous Release
16503 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
16504 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
16505 Current Release:
16506 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
16507 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
16508
16509
16510 2) Linux
16511
16512 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
16513 free. While 3 out of 4 of our in-house systems work fine, the last
16514 one still hangs when testing the LAPIC timer.
16515
16516 Renamed many files in 2.5 kernel release to omit "acpi_" from the
16517 name.
16518
16519 Added warning on boot for Presario 711FR.
16520
16521 Sleep improvements (Pavel Machek)
16522
16523 ACPI can now be built without CONFIG_PCI enabled.
16524
16525 IA64: Fixed memory map functions (JI Lee)
16526
16527
16528 3) iASL Compiler Version X2043:
16529
16530 Added support to allow the compiler to be integrated into the MS
16531 VC++ development environment for one-button compilation of single
16532 files or entire projects -- with error-to-source-line mapping.
16533
16534 Implemented support for compile-time constant folding for the
16535 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
16536 specification. This allows the ASL writer to use expressions
16537 instead of Integer/Buffer/String constants in terms that must
16538 evaluate to constants at compile time and will also simplify the
16539 emitted AML in any such sub-expressions that can be folded
16540 (evaluated at compile-time.) This increases the size of the
16541 compiler significantly because a portion of the ACPI CA AML
16542 interpreter is included within the compiler in order to pre-
16543 evaluate constant expressions.
16544
16545
16546 Fixed a problem with the "Unicode" ASL macro that caused the
16547 compiler to fault. (This macro is used in conjunction with the
16548 _STR reserved name.)
16549
16550 Implemented an AML opcode optimization to use the Zero, One, and
16551 Ones opcodes where possible to further reduce the size of integer
16552 constants and thus reduce the overall size of the generated AML
16553 code.
16554
16555 Implemented error checking for new reserved terms for ACPI version
16556 2.0A.
16557
16558 Implemented the -qr option to display the current list of ACPI
16559 reserved names known to the compiler.
16560
16561 Implemented the -qc option to display the current list of ASL
16562 operators that are allowed within constant expressions and can
16563 therefore be folded at compile time if the operands are constants.
16564
16565
16566 4) Documentation
16567
16568 Updated the Programmer's Reference for new interfaces, data types,
16569 and memory allocation model options.
16570
16571 Updated the iASL Compiler User Reference to apply new format and
16572 add information about new features and options.
16573
16574 ----------------------------------------
16575 19 April 2002. Summary of changes for this release.
16576
16577 1) ACPI CA Core Subsystem Version 20020419:
16578
16579 The source code base for the Core Subsystem has been completely
16580 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
16581 versions. The Lint option files used are included in the
16582 /acpi/generate/lint directory.
16583
16584 Implemented enhanced status/error checking across the entire
16585 Hardware manager subsystem. Any hardware errors (reported from
16586 the OSL) are now bubbled up and will abort a running control
16587 method.
16588
16589
16590 Fixed a problem where the per-ACPI-table integer width (32 or 64)
16591 was stored only with control method nodes, causing a fault when
16592 non-control method code was executed during table loading. The
16593 solution implemented uses a global variable to indicate table
16594 width across the entire ACPI subsystem. Therefore, ACPI CA does
16595 not support mixed integer widths across different ACPI tables
16596 (DSDT, SSDT).
16597
16598 Fixed a problem where NULL extended fields (X fields) in an ACPI
16599 2.0 ACPI FADT caused the table load to fail. Although the
16600 existing ACPI specification is a bit fuzzy on this topic, the new
16601 behavior is to fall back on a ACPI 1.0 field if the corresponding
16602 ACPI 2.0 X field is zero (even though the table revision indicates
16603 a full ACPI 2.0 table.) The ACPI specification will be updated to
16604 clarify this issue.
16605
16606 Fixed a problem with the SystemMemory operation region handler
16607 where memory was always accessed byte-wise even if the AML-
16608 specified access width was larger than a byte. This caused
16609 problems on systems with memory-mapped I/O. Memory is now
16610 accessed with the width specified. On systems that do not support
16611 non-aligned transfers, a check is made to guarantee proper address
16612 alignment before proceeding in order to avoid an AML-caused
16613 alignment fault within the kernel.
16614
16615
16616 Fixed a problem with the ExtendedIrq resource where only one byte
16617 of the 4-byte Irq field was extracted.
16618
16619 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
16620 function was out of date and required a rewrite.
16621
16622 Code and Data Size: Current core subsystem library sizes are shown
16623 below. These are the code and data sizes for the acpica.lib
16624 produced by the Microsoft Visual C++ 6.0 compiler, and these
16625 values do not include any ACPI driver or OSPM code. The debug
16626 version of the code includes the debug output trace mechanism and
16627 has a larger code and data size. Note that these values will vary
16628 depending on the efficiency of the compiler and the compiler
16629 options used during generation.
16630
16631 Previous Release
16632 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
16633 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
16634 Current Release:
16635 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
16636 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
16637
16638
16639 2) Linux
16640
16641 PCI IRQ routing fixes (Dominik Brodowski)
16642
16643
16644 3) iASL Compiler Version X2042:
16645
16646 Implemented an additional compile-time error check for a field
16647 unit whose size + minimum access width would cause a run-time
16648 access beyond the end-of-region. Previously, only the field size
16649 itself was checked.
16650
16651 The Core subsystem and iASL compiler now share a common parse
16652 object in preparation for compile-time evaluation of the type
16653 3/4/5 ASL operators.
16654
16655
16656 ----------------------------------------
16657 Summary of changes for this release: 03_29_02
16658
16659 1) ACPI CA Core Subsystem Version 20020329:
16660
16661 Implemented support for late evaluation of TermArg operands to
16662 Buffer and Package objects. This allows complex expressions to be
16663 used in the declarations of these object types.
16664
16665 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
16666 1.0, if the field was larger than 32 bits, it was returned as a
16667 buffer - otherwise it was returned as an integer. In ACPI 2.0,
16668 the field is returned as a buffer only if the field is larger than
16669 64 bits. The TableRevision is now considered when making this
16670 conversion to avoid incompatibility with existing ASL code.
16671
16672 Implemented logical addressing for AcpiOsGetRootPointer. This
16673 allows an RSDP with either a logical or physical address. With
16674 this support, the host OS can now override all ACPI tables with
16675 one logical RSDP. Includes implementation of "typed" pointer
16676 support to allow a common data type for both physical and logical
16677 pointers internally. This required a change to the
16678 AcpiOsGetRootPointer interface.
16679
16680 Implemented the use of ACPI 2.0 Generic Address Structures for all
16681 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
16682 mapped I/O for these ACPI features.
16683
16684 Initialization now ignores not only non-required tables (All
16685 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
16686 not validate the table headers of unrecognized tables.
16687
16688 Fixed a problem where a notify handler could only be
16689 installed/removed on an object of type Device. All "notify"
16690
16691 objects are now supported -- Devices, Processor, Power, and
16692 Thermal.
16693
16694 Removed most verbosity from the ACPI_DB_INFO debug level. Only
16695 critical information is returned when this debug level is enabled.
16696
16697 Code and Data Size: Current core subsystem library sizes are shown
16698 below. These are the code and data sizes for the acpica.lib
16699 produced by the Microsoft Visual C++ 6.0 compiler, and these
16700 values do not include any ACPI driver or OSPM code. The debug
16701 version of the code includes the debug output trace mechanism and
16702 has a larger code and data size. Note that these values will vary
16703 depending on the efficiency of the compiler and the compiler
16704 options used during generation.
16705
16706 Previous Release
16707 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
16708 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
16709 Current Release:
16710 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
16711 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
16712
16713
16714 2) Linux:
16715
16716 The processor driver (acpi_processor.c) now fully supports ACPI
16717 2.0-based processor performance control (e.g. Intel(R)
16718 SpeedStep(TM) technology) Note that older laptops that only have
16719 the Intel "applet" interface are not supported through this. The
16720 'limit' and 'performance' interface (/proc) are fully functional.
16721 [Note that basic policy for controlling performance state
16722 transitions will be included in the next version of ospmd.] The
16723 idle handler was modified to more aggressively use C2, and PIIX4
16724 errata handling underwent a complete overhaul (big thanks to
16725 Dominik Brodowski).
16726
16727 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
16728 based devices in the ACPI namespace are now dynamically bound
16729 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
16730 This allows, among other things, ACPI to resolve bus numbers for
16731 subordinate PCI bridges.
16732
16733 Enhanced PCI IRQ routing to get the proper bus number for _PRT
16734 entries defined underneath PCI bridges.
16735
16736 Added IBM 600E to bad bios list due to invalid _ADR value for
16737 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
16738
16739 In the process of adding full MADT support (e.g. IOAPIC) for IA32
16740 (acpi.c, mpparse.c) -- stay tuned.
16741
16742 Added back visual differentiation between fixed-feature and
16743 control-method buttons in dmesg. Buttons are also subtyped (e.g.
16744 button/power/PWRF) to simplify button identification.
16745
16746 We no longer use -Wno-unused when compiling debug. Please ignore
16747 any "_THIS_MODULE defined but not used" messages.
16748
16749 Can now shut down the system using "magic sysrq" key.
16750
16751
16752 3) iASL Compiler version 2041:
16753
16754 Fixed a problem where conversion errors for hex/octal/decimal
16755 constants were not reported.
16756
16757 Implemented a fix for the General Register template Address field.
16758 This field was 8 bits when it should be 64.
16759
16760 Fixed a problem where errors/warnings were no longer being emitted
16761 within the listing output file.
16762
16763 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
16764 exactly 4 characters, alphanumeric only.
16765
16766
16767
16768
16769 ----------------------------------------
16770 Summary of changes for this release: 03_08_02
16771
16772
16773 1) ACPI CA Core Subsystem Version 20020308:
16774
16775 Fixed a problem with AML Fields where the use of the "AccessAny"
16776 keyword could cause an interpreter error due to attempting to read
16777 or write beyond the end of the parent Operation Region.
16778
16779 Fixed a problem in the SystemMemory Operation Region handler where
16780 an attempt was made to map memory beyond the end of the region.
16781 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
16782 errors on some Linux systems.
16783
16784 Fixed a problem where the interpreter/namespace "search to root"
16785 algorithm was not functioning for some object types. Relaxed the
16786 internal restriction on the search to allow upsearches for all
16787 external object types as well as most internal types.
16788
16789
16790 2) Linux:
16791
16792 We now use safe_halt() macro versus individual calls to sti | hlt.
16793
16794 Writing to the processor limit interface should now work. "echo 1"
16795 will increase the limit, 2 will decrease, and 0 will reset to the
16796
16797 default.
16798
16799
16800 3) ASL compiler:
16801
16802 Fixed segfault on Linux version.
16803
16804
16805 ----------------------------------------
16806 Summary of changes for this release: 02_25_02
16807
16808 1) ACPI CA Core Subsystem:
16809
16810
16811 Fixed a problem where the GPE bit masks were not initialized
16812 properly, causing erratic GPE behavior.
16813
16814 Implemented limited support for multiple calling conventions. The
16815 code can be generated with either the VPL (variable parameter
16816 list, or "C") convention, or the FPL (fixed parameter list, or
16817 "Pascal") convention. The core subsystem is about 3.4% smaller
16818 when generated with FPL.
16819
16820
16821 2) Linux
16822
16823 Re-add some /proc/acpi/event functionality that was lost during
16824 the rewrite
16825
16826 Resolved issue with /proc events for fixed-feature buttons showing
16827 up as the system device.
16828
16829 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
16830
16831 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
16832
16833 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
16834
16835 Fixed limit interface & usage to fix bugs with passive cooling
16836 hysterisis.
16837
16838 Restructured PRT support.
16839
16840
16841 ----------------------------------------
16842 Summary of changes for this label: 02_14_02
16843
16844
16845 1) ACPI CA Core Subsystem:
16846
16847 Implemented support in AcpiLoadTable to allow loading of FACS and
16848 FADT tables.
16849
16850 Support for the now-obsolete interim 0.71 64-bit ACPI tables has
16851 been removed. All 64-bit platforms should be migrated to the ACPI
16852 2.0 tables. The actbl71.h header has been removed from the source
16853 tree.
16854
16855 All C macros defined within the subsystem have been prefixed with
16856 "ACPI_" to avoid collision with other system include files.
16857
16858 Removed the return value for the two AcpiOsPrint interfaces, since
16859 it is never used and causes lint warnings for ignoring the return
16860 value.
16861
16862 Added error checking to all internal mutex acquire and release
16863 calls. Although a failure from one of these interfaces is
16864 probably a fatal system error, these checks will cause the
16865 immediate abort of the currently executing method or interface.
16866
16867 Fixed a problem where the AcpiSetCurrentResources interface could
16868 fault. This was a side effect of the deployment of the new memory
16869 allocation model.
16870
16871 Fixed a couple of problems with the Global Lock support introduced
16872 in the last major build. The "common" (1.0/2.0) internal FACS was
16873 being overwritten with the FACS signature and clobbering the
16874 Global Lock pointer. Also, the actual firmware FACS was being
16875 unmapped after construction of the "common" FACS, preventing
16876 access to the actual Global Lock field within it. The "common"
16877 internal FACS is no longer installed as an actual ACPI table; it
16878 is used simply as a global.
16879
16880 Code and Data Size: Current core subsystem library sizes are shown
16881 below. These are the code and data sizes for the acpica.lib
16882 produced by the Microsoft Visual C++ 6.0 compiler, and these
16883 values do not include any ACPI driver or OSPM code. The debug
16884 version of the code includes the debug output trace mechanism and
16885 has a larger code and data size. Note that these values will vary
16886 depending on the efficiency of the compiler and the compiler
16887 options used during generation.
16888
16889 Previous Release (02_07_01)
16890 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
16891 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
16892 Current Release:
16893 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
16894 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
16895
16896
16897 2) Linux
16898
16899 Updated Linux-specific code for core macro and OSL interface
16900 changes described above.
16901
16902 Improved /proc/acpi/event. It now can be opened only once and has
16903 proper poll functionality.
16904
16905 Fixed and restructured power management (acpi_bus).
16906
16907 Only create /proc "view by type" when devices of that class exist.
16908
16909 Fixed "charging/discharging" bug (and others) in acpi_battery.
16910
16911 Improved thermal zone code.
16912
16913
16914 3) ASL Compiler, version X2039:
16915
16916
16917 Implemented the new compiler restriction on ASL String hex/octal
16918 escapes to non-null, ASCII values. An error results if an invalid
16919 value is used. (This will require an ACPI 2.0 specification
16920 change.)
16921
16922 AML object labels that are output to the optional C and ASM source
16923 are now prefixed with both the ACPI table signature and table ID
16924 to help guarantee uniqueness within a large BIOS project.
16925
16926
16927 ----------------------------------------
16928 Summary of changes for this label: 02_01_02
16929
16930 1) ACPI CA Core Subsystem:
16931
16932 ACPI 2.0 support is complete in the entire Core Subsystem and the
16933 ASL compiler. All new ACPI 2.0 operators are implemented and all
16934 other changes for ACPI 2.0 support are complete. With
16935 simultaneous code and data optimizations throughout the subsystem,
16936 ACPI 2.0 support has been implemented with almost no additional
16937 cost in terms of code and data size.
16938
16939 Implemented a new mechanism for allocation of return buffers. If
16940 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
16941 be allocated on behalf of the caller. Consolidated all return
16942 buffer validation and allocation to a common procedure. Return
16943 buffers will be allocated via the primary OSL allocation interface
16944 since it appears that a separate pool is not needed by most users.
16945 If a separate pool is required for these buffers, the caller can
16946 still use the original mechanism and pre-allocate the buffer(s).
16947
16948 Implemented support for string operands within the DerefOf
16949 operator.
16950
16951 Restructured the Hardware and Event managers to be table driven,
16952 simplifying the source code and reducing the amount of generated
16953 code.
16954
16955 Split the common read/write low-level ACPI register bitfield
16956 procedure into a separate read and write, simplifying the code
16957 considerably.
16958
16959 Obsoleted the AcpiOsCallocate OSL interface. This interface was
16960 used only a handful of times and didn't have enough critical mass
16961 for a separate interface. Replaced with a common calloc procedure
16962 in the core.
16963
16964 Fixed a reported problem with the GPE number mapping mechanism
16965 that allows GPE1 numbers to be non-contiguous with GPE0.
16966 Reorganized the GPE information and shrunk a large array that was
16967 originally large enough to hold info for all possible GPEs (256)
16968 to simply large enough to hold all GPEs up to the largest GPE
16969 number on the machine.
16970
16971 Fixed a reported problem with resource structure alignment on 64-
16972 bit platforms.
16973
16974 Changed the AcpiEnableEvent and AcpiDisableEvent external
16975 interfaces to not require any flags for the common case of
16976 enabling/disabling a GPE.
16977
16978 Implemented support to allow a "Notify" on a Processor object.
16979
16980 Most TBDs in comments within the source code have been resolved
16981 and eliminated.
16982
16983
16984 Fixed a problem in the interpreter where a standalone parent
16985 prefix (^) was not handled correctly in the interpreter and
16986 debugger.
16987
16988 Removed obsolete and unnecessary GPE save/restore code.
16989
16990 Implemented Field support in the ASL Load operator. This allows a
16991 table to be loaded from a named field, in addition to loading a
16992 table directly from an Operation Region.
16993
16994 Implemented timeout and handle support in the external Global Lock
16995 interfaces.
16996
16997 Fixed a problem in the AcpiDump utility where pathnames were no
16998 longer being generated correctly during the dump of named objects.
16999
17000 Modified the AML debugger to give a full display of if/while
17001 predicates instead of just one AML opcode at a time. (The
17002 predicate can have several nested ASL statements.) The old method
17003 was confusing during single stepping.
17004
17005 Code and Data Size: Current core subsystem library sizes are shown
17006 below. These are the code and data sizes for the acpica.lib
17007 produced by the Microsoft Visual C++ 6.0 compiler, and these
17008 values do not include any ACPI driver or OSPM code. The debug
17009 version of the code includes the debug output trace mechanism and
17010 has a larger code and data size. Note that these values will vary
17011 depending on the efficiency of the compiler and the compiler
17012 options used during generation.
17013
17014 Previous Release (12_18_01)
17015 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
17016 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
17017 Current Release:
17018 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
17019 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
17020
17021 2) Linux
17022
17023 Implemented fix for PIIX reverse throttling errata (Processor
17024 driver)
17025
17026 Added new Limit interface (Processor and Thermal drivers)
17027
17028 New thermal policy (Thermal driver)
17029
17030 Many updates to /proc
17031
17032 Battery "low" event support (Battery driver)
17033
17034 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
17035
17036 IA32 - IA64 initialization unification, no longer experimental
17037
17038 Menuconfig options redesigned
17039
17040 3) ASL Compiler, version X2037:
17041
17042 Implemented several new output features to simplify integration of
17043 AML code into firmware: 1) Output the AML in C source code with
17044 labels for each named ASL object. The original ASL source code
17045 is interleaved as C comments. 2) Output the AML in ASM source code
17046 with labels and interleaved ASL source. 3) Output the AML in
17047 raw hex table form, in either C or ASM.
17048
17049 Implemented support for optional string parameters to the
17050 LoadTable operator.
17051
17052 Completed support for embedded escape sequences within string
17053 literals. The compiler now supports all single character escapes
17054 as well as the Octal and Hex escapes. Note: the insertion of a
17055 null byte into a string literal (via the hex/octal escape) causes
17056 the string to be immediately terminated. A warning is issued.
17057
17058 Fixed a problem where incorrect AML was generated for the case
17059 where an ASL namepath consists of a single parent prefix (
17060
17061 ) with no trailing name segments.
17062
17063 The compiler has been successfully generated with a 64-bit C
17064 compiler.
17065
17066
17067
17068
17069 ----------------------------------------
17070 Summary of changes for this label: 12_18_01
17071
17072 1) Linux
17073
17074 Enhanced blacklist with reason and severity fields. Any table's
17075 signature may now be used to identify a blacklisted system.
17076
17077 Call _PIC control method to inform the firmware which interrupt
17078 model the OS is using. Turn on any disabled link devices.
17079
17080 Cleaned up busmgr /proc error handling (Andreas Dilger)
17081
17082 2) ACPI CA Core Subsystem:
17083
17084 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
17085 while loop)
17086
17087 Completed implementation of the ACPI 2.0 "Continue",
17088 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
17089 operators. All new ACPI 2.0 operators are now implemented in both
17090 the ASL compiler and the AML interpreter. The only remaining ACPI
17091 2.0 task is support for the String data type in the DerefOf
17092 operator. Fixed a problem with AcquireMutex where the status code
17093 was lost if the caller had to actually wait for the mutex.
17094
17095 Increased the maximum ASL Field size from 64K bits to 4G bits.
17096
17097 Completed implementation of the external Global Lock interfaces --
17098 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
17099 Handler parameters were added.
17100
17101 Completed another pass at removing warnings and issues when
17102 compiling with 64-bit compilers. The code now compiles cleanly
17103 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
17104 add and subtract (diff) macros have changed considerably.
17105
17106
17107 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
17108 64-bit platforms, 32-bits on all others. This type is used
17109 wherever memory allocation and/or the C sizeof() operator is used,
17110 and affects the OSL memory allocation interfaces AcpiOsAllocate
17111 and AcpiOsCallocate.
17112
17113 Implemented sticky user breakpoints in the AML debugger.
17114
17115 Code and Data Size: Current core subsystem library sizes are shown
17116 below. These are the code and data sizes for the acpica.lib
17117 produced by the Microsoft Visual C++ 6.0 compiler, and these
17118 values do not include any ACPI driver or OSPM code. The debug
17119 version of the code includes the debug output trace mechanism and
17120 has a larger code and data size. Note that these values will vary
17121 depending on the efficiency of the compiler and the compiler
17122 options used during generation.
17123
17124 Previous Release (12_05_01)
17125 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
17126 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
17127 Current Release:
17128 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
17129 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
17130
17131 3) ASL Compiler, version X2034:
17132
17133 Now checks for (and generates an error if detected) the use of a
17134 Break or Continue statement without an enclosing While statement.
17135
17136
17137 Successfully generated the compiler with the Intel 64-bit C
17138 compiler.
17139
17140 ----------------------------------------
17141 Summary of changes for this label: 12_05_01
17142
17143 1) ACPI CA Core Subsystem:
17144
17145 The ACPI 2.0 CopyObject operator is fully implemented. This
17146 operator creates a new copy of an object (and is also used to
17147 bypass the "implicit conversion" mechanism of the Store operator.)
17148
17149 The ACPI 2.0 semantics for the SizeOf operator are fully
17150 implemented. The change is that performing a SizeOf on a
17151 reference object causes an automatic dereference of the object to
17152 tha actual value before the size is evaluated. This behavior was
17153 undefined in ACPI 1.0.
17154
17155 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
17156 have been implemented. The interrupt polarity and mode are now
17157 independently set.
17158
17159 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
17160 appearing in Package objects were not properly converted to
17161 integers when the internal Package was converted to an external
17162 object (via the AcpiEvaluateObject interface.)
17163
17164 Fixed a problem with the namespace object deletion mechanism for
17165 objects created by control methods. There were two parts to this
17166 problem: 1) Objects created during the initialization phase method
17167 parse were not being deleted, and 2) The object owner ID mechanism
17168 to track objects was broken.
17169
17170 Fixed a problem where the use of the ASL Scope operator within a
17171 control method would result in an invalid opcode exception.
17172
17173 Fixed a problem introduced in the previous label where the buffer
17174 length required for the _PRT structure was not being returned
17175 correctly.
17176
17177 Code and Data Size: Current core subsystem library sizes are shown
17178 below. These are the code and data sizes for the acpica.lib
17179 produced by the Microsoft Visual C++ 6.0 compiler, and these
17180 values do not include any ACPI driver or OSPM code. The debug
17181 version of the code includes the debug output trace mechanism and
17182 has a larger code and data size. Note that these values will vary
17183 depending on the efficiency of the compiler and the compiler
17184 options used during generation.
17185
17186 Previous Release (11_20_01)
17187 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
17188 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
17189
17190 Current Release:
17191 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
17192 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
17193
17194 2) Linux:
17195
17196 Updated all files to apply cleanly against 2.4.16.
17197
17198 Added basic PCI Interrupt Routing Table (PRT) support for IA32
17199 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
17200 version supports both static and dynamic PRT entries, but dynamic
17201 entries are treated as if they were static (not yet
17202 reconfigurable). Architecture- specific code to use this data is
17203 absent on IA32 but should be available shortly.
17204
17205 Changed the initialization sequence to start the ACPI interpreter
17206 (acpi_init) prior to initialization of the PCI driver (pci_init)
17207 in init/main.c. This ordering is required to support PRT and
17208 facilitate other (future) enhancement. A side effect is that the
17209 ACPI bus driver and certain device drivers can no longer be loaded
17210 as modules.
17211
17212 Modified the 'make menuconfig' options to allow PCI Interrupt
17213 Routing support to be included without the ACPI Bus and other
17214 device drivers.
17215
17216 3) ASL Compiler, version X2033:
17217
17218 Fixed some issues with the use of the new CopyObject and
17219 DataTableRegion operators. Both are fully functional.
17220
17221 ----------------------------------------
17222 Summary of changes for this label: 11_20_01
17223
17224 20 November 2001. Summary of changes for this release.
17225
17226 1) ACPI CA Core Subsystem:
17227
17228 Updated Index support to match ACPI 2.0 semantics. Storing a
17229 Integer, String, or Buffer to an Index of a Buffer will store only
17230 the least-significant byte of the source to the Indexed buffer
17231 byte. Multiple writes are not performed.
17232
17233 Fixed a problem where the access type used in an AccessAs ASL
17234 operator was not recorded correctly into the field object.
17235
17236 Fixed a problem where ASL Event objects were created in a
17237 signalled state. Events are now created in an unsignalled state.
17238
17239 The internal object cache is now purged after table loading and
17240 initialization to reduce the use of dynamic kernel memory -- on
17241 the assumption that object use is greatest during the parse phase
17242 of the entire table (versus the run-time use of individual control
17243 methods.)
17244
17245 ACPI 2.0 variable-length packages are now fully operational.
17246
17247 Code and Data Size: Code and Data optimizations have permitted new
17248 feature development with an actual reduction in the library size.
17249 Current core subsystem library sizes are shown below. These are
17250 the code and data sizes for the acpica.lib produced by the
17251 Microsoft Visual C++ 6.0 compiler, and these values do not include
17252 any ACPI driver or OSPM code. The debug version of the code
17253 includes the debug output trace mechanism and has a larger code
17254 and data size. Note that these values will vary depending on the
17255 efficiency of the compiler and the compiler options used during
17256 generation.
17257
17258 Previous Release (11_09_01):
17259 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
17260 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
17261
17262 Current Release:
17263 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
17264 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
17265
17266 2) Linux:
17267
17268 Enhanced the ACPI boot-time initialization code to allow the use
17269 of Local APIC tables for processor enumeration on IA-32, and to
17270 pave the way for a fully MPS-free boot (on SMP systems) in the
17271 near future. This functionality replaces
17272 arch/i386/kernel/acpitables.c, which was introduced in an earlier
17273 2.4.15-preX release. To enable this feature you must add
17274 "acpi_boot=on" to the kernel command line -- see the help entry
17275 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
17276 the works...
17277
17278 Restructured the configuration options to allow boot-time table
17279 parsing support without inclusion of the ACPI Interpreter (and
17280 other) code.
17281
17282 NOTE: This release does not include fixes for the reported events,
17283 power-down, and thermal passive cooling issues (coming soon).
17284
17285 3) ASL Compiler:
17286
17287 Added additional typechecking for Fields within restricted access
17288 Operation Regions. All fields within EC and CMOS regions must be
17289 declared with ByteAcc. All fields within SMBus regions must be
17290 declared with the BufferAcc access type.
17291
17292 Fixed a problem where the listing file output of control methods
17293 no longer interleaved the actual AML code with the ASL source
17294 code.
17295
17296
17297
17298
17299 ----------------------------------------
17300 Summary of changes for this label: 11_09_01
17301
17302 1) ACPI CA Core Subsystem:
17303
17304 Implemented ACPI 2.0-defined support for writes to fields with a
17305 Buffer, String, or Integer source operand that is smaller than the
17306 target field. In these cases, the source operand is zero-extended
17307 to fill the target field.
17308
17309 Fixed a problem where a Field starting bit offset (within the
17310 parent operation region) was calculated incorrectly if the
17311
17312 alignment of the field differed from the access width. This
17313 affected CreateWordField, CreateDwordField, CreateQwordField, and
17314 possibly other fields that use the "AccessAny" keyword.
17315
17316 Fixed a problem introduced in the 11_02_01 release where indirect
17317 stores through method arguments did not operate correctly.
17318
17319 2) Linux:
17320
17321 Implemented boot-time ACPI table parsing support
17322 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
17323 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
17324 legacy BIOS interfaces (e.g. MPS) for the configuration of system
17325 processors, memory, and interrupts during setup_arch(). Note that
17326 this patch does not include the required architecture-specific
17327 changes required to apply this information -- subsequent patches
17328 will be posted for both IA32 and IA64 to achieve this.
17329
17330 Added low-level sleep support for IA32 platforms, courtesy of Pat
17331 Mochel. This allows IA32 systems to transition to/from various
17332 sleeping states (e.g. S1, S3), although the lack of a centralized
17333 driver model and power-manageable drivers will prevent its
17334 (successful) use on most systems.
17335
17336 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
17337 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
17338 tables" option, etc.
17339
17340 Increased the default timeout for the EC driver from 1ms to 10ms
17341 (1000 cycles of 10us) to try to address AE_TIME errors during EC
17342 transactions.
17343
17344 ----------------------------------------
17345 Summary of changes for this label: 11_02_01
17346
17347 1) ACPI CA Core Subsystem:
17348
17349 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
17350 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
17351 implemented.
17352
17353 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
17354 changes to support ACPI 2.0 Qword field access. Read/Write
17355 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
17356 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
17357 the value parameter for the address space handler interface is now
17358 an ACPI_INTEGER. OSL implementations of these interfaces must now
17359 handle the case where the Width parameter is 64.
17360
17361 Index Fields: Fixed a problem where unaligned bit assembly and
17362 disassembly for IndexFields was not supported correctly.
17363
17364 Index and Bank Fields: Nested Index and Bank Fields are now
17365 supported. During field access, a check is performed to ensure
17366 that the value written to an Index or Bank register is not out of
17367 the range of the register. The Index (or Bank) register is
17368 written before each access to the field data. Future support will
17369 include allowing individual IndexFields to be wider than the
17370 DataRegister width.
17371
17372 Fields: Fixed a problem where the AML interpreter was incorrectly
17373 attempting to write beyond the end of a Field/OpRegion. This was
17374 a boundary case that occurred when a DWORD field was written to a
17375 BYTE access OpRegion, forcing multiple writes and causing the
17376 interpreter to write one datum too many.
17377
17378 Fields: Fixed a problem with Field/OpRegion access where the
17379 starting bit address of a field was incorrectly calculated if the
17380 current access type was wider than a byte (WordAcc, DwordAcc, or
17381 QwordAcc).
17382
17383 Fields: Fixed a problem where forward references to individual
17384 FieldUnits (individual Field names within a Field definition) were
17385 not resolved during the AML table load.
17386
17387 Fields: Fixed a problem where forward references from a Field
17388 definition to the parent Operation Region definition were not
17389 resolved during the AML table load.
17390
17391 Fields: Duplicate FieldUnit names within a scope are now detected
17392 during AML table load.
17393
17394 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
17395 returned an incorrect name for the root node.
17396
17397 Code and Data Size: Code and Data optimizations have permitted new
17398 feature development with an actual reduction in the library size.
17399 Current core subsystem library sizes are shown below. These are
17400 the code and data sizes for the acpica.lib produced by the
17401 Microsoft Visual C++ 6.0 compiler, and these values do not include
17402 any ACPI driver or OSPM code. The debug version of the code
17403 includes the debug output trace mechanism and has a larger code
17404 and data size. Note that these values will vary depending on the
17405 efficiency of the compiler and the compiler options used during
17406 generation.
17407
17408 Previous Release (10_18_01):
17409 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
17410 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
17411
17412 Current Release:
17413 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
17414 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
17415
17416 2) Linux:
17417
17418 Improved /proc processor output (Pavel Machek) Re-added
17419 MODULE_LICENSE("GPL") to all modules.
17420
17421 3) ASL Compiler version X2030:
17422
17423 Duplicate FieldUnit names within a scope are now detected and
17424 flagged as errors.
17425
17426 4) Documentation:
17427
17428 Programmer Reference updated to reflect OSL and address space
17429 handler interface changes described above.
17430
17431 ----------------------------------------
17432 Summary of changes for this label: 10_18_01
17433
17434 ACPI CA Core Subsystem:
17435
17436 Fixed a problem with the internal object reference count mechanism
17437 that occasionally caused premature object deletion. This resolves
17438 all of the outstanding problem reports where an object is deleted
17439 in the middle of an interpreter evaluation. Although this problem
17440 only showed up in rather obscure cases, the solution to the
17441 problem involved an adjustment of all reference counts involving
17442 objects attached to namespace nodes.
17443
17444 Fixed a problem with Field support in the interpreter where
17445 writing to an aligned field whose length is an exact multiple (2
17446 or greater) of the field access granularity would cause an attempt
17447 to write beyond the end of the field.
17448
17449 The top level AML opcode execution functions within the
17450 interpreter have been renamed with a more meaningful and
17451 consistent naming convention. The modules exmonad.c and
17452 exdyadic.c were eliminated. New modules are exoparg1.c,
17453 exoparg2.c, exoparg3.c, and exoparg6.c.
17454
17455 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
17456
17457 Fixed a problem where the AML debugger was causing some internal
17458 objects to not be deleted during subsystem termination.
17459
17460 Fixed a problem with the external AcpiEvaluateObject interface
17461 where the subsystem would fault if the named object to be
17462 evaluated referred to a constant such as Zero, Ones, etc.
17463
17464 Fixed a problem with IndexFields and BankFields where the
17465 subsystem would fault if the index, data, or bank registers were
17466 not defined in the same scope as the field itself.
17467
17468 Added printf format string checking for compilers that support
17469 this feature. Corrected more than 50 instances of issues with
17470 format specifiers within invocations of ACPI_DEBUG_PRINT
17471 throughout the core subsystem code.
17472
17473 The ASL "Revision" operator now returns the ACPI support level
17474 implemented in the core - the value "2" since the ACPI 2.0 support
17475 is more than 50% implemented.
17476
17477 Enhanced the output of the AML debugger "dump namespace" command
17478 to output in a more human-readable form.
17479
17480 Current core subsystem library code sizes are shown below. These
17481
17482 are the code and data sizes for the acpica.lib produced by the
17483 Microsoft Visual C++ 6.0 compiler, and these values do not include
17484 any ACPI driver or OSPM code. The debug version of the code
17485 includes the full debug trace mechanism -- leading to a much
17486
17487 larger code and data size. Note that these values will vary
17488 depending on the efficiency of the compiler and the compiler
17489 options used during generation.
17490
17491 Previous Label (09_20_01):
17492 Non-Debug Version: 65K Code, 5K Data, 70K Total
17493 Debug Version: 138K Code, 58K Data, 196K Total
17494
17495 This Label:
17496
17497 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
17498 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
17499
17500 Linux:
17501
17502 Implemented a "Bad BIOS Blacklist" to track machines that have
17503 known ASL/AML problems.
17504
17505 Enhanced the /proc interface for the thermal zone driver and added
17506 support for _HOT (the critical suspend trip point). The 'info'
17507 file now includes threshold/policy information, and allows setting
17508 of _SCP (cooling preference) and _TZP (polling frequency) values
17509 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
17510 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
17511 preference to the passive/quiet mode (if supported by the ASL).
17512
17513 Implemented a workaround for a gcc bug that resuted in an OOPs
17514 when loading the control method battery driver.
17515
17516 ----------------------------------------
17517 Summary of changes for this label: 09_20_01
17518
17519 ACPI CA Core Subsystem:
17520
17521 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
17522 modified to allow individual GPE levels to be flagged as wake-
17523 enabled (i.e., these GPEs are to remain enabled when the platform
17524 sleeps.)
17525
17526 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
17527 support wake-enabled GPEs. This means that upon entering the
17528 sleep state, all GPEs that are not wake-enabled are disabled.
17529 When leaving the sleep state, these GPEs are re-enabled.
17530
17531 A local double-precision divide/modulo module has been added to
17532 enhance portability to OS kernels where a 64-bit math library is
17533 not available. The new module is "utmath.c".
17534
17535 Several optimizations have been made to reduce the use of CPU
17536 stack. Originally over 2K, the maximum stack usage is now below
17537 2K at 1860 bytes (1.82k)
17538
17539 Fixed a problem with the AcpiGetFirmwareTable interface where the
17540 root table pointer was not mapped into a logical address properly.
17541
17542 Fixed a problem where a NULL pointer was being dereferenced in the
17543 interpreter code for the ASL Notify operator.
17544
17545 Fixed a problem where the use of the ASL Revision operator
17546 returned an error. This operator now returns the current version
17547 of the ACPI CA core subsystem.
17548
17549 Fixed a problem where objects passed as control method parameters
17550 to AcpiEvaluateObject were always deleted at method termination.
17551 However, these objects may end up being stored into the namespace
17552 by the called method. The object reference count mechanism was
17553 applied to these objects instead of a force delete.
17554
17555 Fixed a problem where static strings or buffers (contained in the
17556 AML code) that are declared as package elements within the ASL
17557 code could cause a fault because the interpreter would attempt to
17558 delete them. These objects are now marked with the "static
17559 object" flag to prevent any attempt to delete them.
17560
17561 Implemented an interpreter optimization to use operands directly
17562 from the state object instead of extracting the operands to local
17563 variables. This reduces stack use and code size, and improves
17564 performance.
17565
17566 The module exxface.c was eliminated as it was an unnecessary extra
17567 layer of code.
17568
17569 Current core subsystem library code sizes are shown below. These
17570 are the code and data sizes for the acpica.lib produced by the
17571 Microsoft Visual C++ 6.0 compiler, and these values do not include
17572 any ACPI driver or OSPM code. The debug version of the code
17573 includes the full debug trace mechanism -- leading to a much
17574 larger code and data size. Note that these values will vary
17575 depending on the efficiency of the compiler and the compiler
17576 options used during generation.
17577
17578 Non-Debug Version: 65K Code, 5K Data, 70K Total
17579 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
17580 Total (Previously 195K)
17581
17582 Linux:
17583
17584 Support for ACPI 2.0 64-bit integers has been added. All ACPI
17585 Integer objects are now 64 bits wide
17586
17587 All Acpi data types and structures are now in lower case. Only
17588 Acpi macros are upper case for differentiation.
17589
17590 Documentation:
17591
17592 Changes to the external interfaces as described above.
17593
17594 ----------------------------------------
17595 Summary of changes for this label: 08_31_01
17596
17597 ACPI CA Core Subsystem:
17598
17599 A bug with interpreter implementation of the ASL Divide operator
17600 was found and fixed. The implicit function return value (not the
17601 explicit store operands) was returning the remainder instead of
17602 the quotient. This was a longstanding bug and it fixes several
17603 known outstanding issues on various platforms.
17604
17605 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
17606 been further optimized for size. There are 700 invocations of the
17607 DEBUG_PRINT macro alone, so each optimization reduces the size of
17608 the debug version of the subsystem significantly.
17609
17610 A stack trace mechanism has been implemented. The maximum stack
17611 usage is about 2K on 32-bit platforms. The debugger command "stat
17612 stack" will display the current maximum stack usage.
17613
17614 All public symbols and global variables within the subsystem are
17615 now prefixed with the string "Acpi". This keeps all of the
17616 symbols grouped together in a kernel map, and avoids conflicts
17617 with other kernel subsystems.
17618
17619 Most of the internal fixed lookup tables have been moved into the
17620 code segment via the const operator.
17621
17622 Several enhancements have been made to the interpreter to both
17623 reduce the code size and improve performance.
17624
17625 Current core subsystem library code sizes are shown below. These
17626 are the code and data sizes for the acpica.lib produced by the
17627 Microsoft Visual C++ 6.0 compiler, and these values do not include
17628 any ACPI driver or OSPM code. The debug version of the code
17629 includes the full debug trace mechanism which contains over 700
17630 invocations of the DEBUG_PRINT macro, 500 function entry macro
17631 invocations, and over 900 function exit macro invocations --
17632 leading to a much larger code and data size. Note that these
17633 values will vary depending on the efficiency of the compiler and
17634 the compiler options used during generation.
17635
17636 Non-Debug Version: 64K Code, 5K Data, 69K Total
17637 Debug Version: 137K Code, 58K Data, 195K Total
17638
17639 Linux:
17640
17641 Implemented wbinvd() macro, pending a kernel-wide definition.
17642
17643 Fixed /proc/acpi/event to handle poll() and short reads.
17644
17645 ASL Compiler, version X2026:
17646
17647 Fixed a problem introduced in the previous label where the AML
17648
17649 code emitted for package objects produced packages with zero
17650 length.
17651
17652 ----------------------------------------
17653 Summary of changes for this label: 08_16_01
17654
17655 ACPI CA Core Subsystem:
17656
17657 The following ACPI 2.0 ASL operators have been implemented in the
17658 AML interpreter (These are already supported by the Intel ASL
17659 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
17660 ToBuffer. Support for 64-bit AML constants is implemented in the
17661 AML parser, debugger, and disassembler.
17662
17663 The internal memory tracking mechanism (leak detection code) has
17664 been upgraded to reduce the memory overhead (a separate tracking
17665 block is no longer allocated for each memory allocation), and now
17666 supports all of the internal object caches.
17667
17668 The data structures and code for the internal object caches have
17669 been coelesced and optimized so that there is a single cache and
17670 memory list data structure and a single group of functions that
17671 implement generic cache management. This has reduced the code
17672 size in both the debug and release versions of the subsystem.
17673
17674 The DEBUG_PRINT macro(s) have been optimized for size and replaced
17675 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
17676 different, because it generates a single call to an internal
17677 function. This results in a savings of about 90 bytes per
17678 invocation, resulting in an overall code and data savings of about
17679 16% in the debug version of the subsystem.
17680
17681 Linux:
17682
17683 Fixed C3 disk corruption problems and re-enabled C3 on supporting
17684 machines.
17685
17686 Integrated low-level sleep code by Patrick Mochel.
17687
17688 Further tweaked source code Linuxization.
17689
17690 Other minor fixes.
17691
17692 ASL Compiler:
17693
17694 Support for ACPI 2.0 variable length packages is fixed/completed.
17695
17696 Fixed a problem where the optional length parameter for the ACPI
17697 2.0 ToString operator.
17698
17699 Fixed multiple extraneous error messages when a syntax error is
17700 detected within the declaration line of a control method.
17701
17702 ----------------------------------------
17703 Summary of changes for this label: 07_17_01
17704
17705 ACPI CA Core Subsystem:
17706
17707 Added a new interface named AcpiGetFirmwareTable to obtain any
17708 ACPI table via the ACPI signature. The interface can be called at
17709 any time during kernel initialization, even before the kernel
17710 virtual memory manager is initialized and paging is enabled. This
17711 allows kernel subsystems to obtain ACPI tables very early, even
17712 before the ACPI CA subsystem is initialized.
17713
17714 Fixed a problem where Fields defined with the AnyAcc attribute
17715 could be resolved to the incorrect address under the following
17716 conditions: 1) the field width is larger than 8 bits and 2) the
17717 parent operation region is not defined on a DWORD boundary.
17718
17719 Fixed a problem where the interpreter is not being locked during
17720 namespace initialization (during execution of the _INI control
17721 methods), causing an error when an attempt is made to release it
17722 later.
17723
17724 ACPI 2.0 support in the AML Interpreter has begun and will be
17725 ongoing throughout the rest of this year. In this label, The Mod
17726 operator is implemented.
17727
17728 Added a new data type to contain full PCI addresses named
17729 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
17730 and Function values.
17731
17732 Linux:
17733
17734 Enhanced the Linux version of the source code to change most
17735 capitalized ACPI type names to lowercase. For example, all
17736 instances of ACPI_STATUS are changed to acpi_status. This will
17737 result in a large diff, but the change is strictly cosmetic and
17738 aligns the CA code closer to the Linux coding standard.
17739
17740 OSL Interfaces:
17741
17742 The interfaces to the PCI configuration space have been changed to
17743 add the PCI Segment number and to split the single 32-bit combined
17744 DeviceFunction field into two 16-bit fields. This was
17745 accomplished by moving the four values that define an address in
17746 PCI configuration space (segment, bus, device, and function) to
17747 the new ACPI_PCI_ID structure.
17748
17749 The changes to the PCI configuration space interfaces led to a
17750 reexamination of the complete set of address space access
17751 interfaces for PCI, I/O, and Memory. The previously existing 18
17752 interfaces have proven difficult to maintain (any small change
17753 must be propagated across at least 6 interfaces) and do not easily
17754 allow for future expansion to 64 bits if necessary. Also, on some
17755 systems, it would not be appropriate to demultiplex the access
17756 width (8, 16, 32,or 64) before calling the OSL if the
17757 corresponding native OS interfaces contain a similar access width
17758 parameter. For these reasons, the 18 address space interfaces
17759 have been replaced by these 6 new ones:
17760
17761 AcpiOsReadPciConfiguration
17762 AcpiOsWritePciConfiguration
17763 AcpiOsReadMemory
17764 AcpiOsWriteMemory
17765 AcpiOsReadPort
17766 AcpiOsWritePort
17767
17768 Added a new interface named AcpiOsGetRootPointer to allow the OSL
17769 to perform the platform and/or OS-specific actions necessary to
17770 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
17771 interface will simply call down to the CA core to perform the low-
17772 memory search for the table. On IA-64, the RSDP is obtained from
17773 EFI. Migrating this interface to the OSL allows the CA core to
17774
17775 remain OS and platform independent.
17776
17777 Added a new interface named AcpiOsSignal to provide a generic
17778 "function code and pointer" interface for various miscellaneous
17779 signals and notifications that must be made to the host OS. The
17780 first such signals are intended to support the ASL Fatal and
17781 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
17782 interface has been obsoleted.
17783
17784 The definition of the AcpiFormatException interface has been
17785 changed to simplify its use. The caller no longer must supply a
17786 buffer to the call; A pointer to a const string is now returned
17787 directly. This allows the call to be easily used in printf
17788 statements, etc. since the caller does not have to manage a local
17789 buffer.
17790
17791
17792 ASL Compiler, Version X2025:
17793
17794 The ACPI 2.0 Switch/Case/Default operators have been implemented
17795 and are fully functional. They will work with all ACPI 1.0
17796 interpreters, since the operators are simply translated to If/Else
17797 pairs.
17798
17799 The ACPI 2.0 ElseIf operator is implemented and will also work
17800 with 1.0 interpreters, for the same reason.
17801
17802 Implemented support for ACPI 2.0 variable-length packages. These
17803 packages have a separate opcode, and their size is determined by
17804 the interpreter at run-time.
17805
17806 Documentation The ACPI CA Programmer Reference has been updated to
17807 reflect the new interfaces and changes to existing interfaces.
17808
17809 ------------------------------------------
17810 Summary of changes for this label: 06_15_01
17811
17812 ACPI CA Core Subsystem:
17813
17814 Fixed a problem where a DWORD-accessed field within a Buffer
17815 object would get its byte address inadvertently rounded down to
17816 the nearest DWORD. Buffers are always Byte-accessible.
17817
17818 ASL Compiler, version X2024:
17819
17820 Fixed a problem where the Switch() operator would either fault or
17821 hang the compiler. Note however, that the AML code for this ACPI
17822 2.0 operator is not yet implemented.
17823
17824 Compiler uses the new AcpiOsGetTimer interface to obtain compile
17825 timings.
17826
17827 Implementation of the CreateField operator automatically converts
17828 a reference to a named field within a resource descriptor from a
17829 byte offset to a bit offset if required.
17830
17831 Added some missing named fields from the resource descriptor
17832 support. These are the names that are automatically created by the
17833 compiler to reference fields within a descriptor. They are only
17834 valid at compile time and are not passed through to the AML
17835 interpreter.
17836
17837 Resource descriptor named fields are now typed as Integers and
17838 subject to compile-time typechecking when used in expressions.
17839
17840 ------------------------------------------
17841 Summary of changes for this label: 05_18_01
17842
17843 ACPI CA Core Subsystem:
17844
17845 Fixed a couple of problems in the Field support code where bits
17846 from adjacent fields could be returned along with the proper field
17847 bits. Restructured the field support code to improve performance,
17848 readability and maintainability.
17849
17850 New DEBUG_PRINTP macro automatically inserts the procedure name
17851 into the output, saving hundreds of copies of procedure name
17852 strings within the source, shrinking the memory footprint of the
17853 debug version of the core subsystem.
17854
17855 Source Code Structure:
17856
17857 The source code directory tree was restructured to reflect the
17858 current organization of the component architecture. Some files
17859 and directories have been moved and/or renamed.
17860
17861 Linux:
17862
17863 Fixed leaking kacpidpc processes.
17864
17865 Fixed queueing event data even when /proc/acpi/event is not
17866 opened.
17867
17868 ASL Compiler, version X2020:
17869
17870 Memory allocation performance enhancement - over 24X compile time
17871 improvement on large ASL files. Parse nodes and namestring
17872 buffers are now allocated from a large internal compiler buffer.
17873
17874 The temporary .SRC file is deleted unless the "-s" option is
17875 specified
17876
17877 The "-d" debug output option now sends all output to the .DBG file
17878 instead of the console.
17879
17880 "External" second parameter is now optional
17881
17882 "ElseIf" syntax now properly allows the predicate
17883
17884 Last operand to "Load" now recognized as a Target operand
17885
17886 Debug object can now be used anywhere as a normal object.
17887
17888 ResourceTemplate now returns an object of type BUFFER
17889
17890 EISAID now returns an object of type INTEGER
17891
17892 "Index" now works with a STRING operand
17893
17894 "LoadTable" now accepts optional parameters
17895
17896 "ToString" length parameter is now optional
17897
17898 "Interrupt (ResourceType," parse error fixed.
17899
17900 "Register" with a user-defined region space parse error fixed
17901
17902 Escaped backslash at the end of a string ("\\") scan/parse error
17903 fixed
17904
17905 "Revision" is now an object of type INTEGER.
17906
17907
17908
17909 ------------------------------------------
17910 Summary of changes for this label: 05_02_01
17911
17912 Linux:
17913
17914 /proc/acpi/event now blocks properly.
17915
17916 Removed /proc/sys/acpi. You can still dump your DSDT from
17917 /proc/acpi/dsdt.
17918
17919 ACPI CA Core Subsystem:
17920
17921 Fixed a problem introduced in the previous label where some of the
17922 "small" resource descriptor types were not recognized.
17923
17924 Improved error messages for the case where an ASL Field is outside
17925 the range of the parent operation region.
17926
17927 ASL Compiler, version X2018:
17928
17929
17930 Added error detection for ASL Fields that extend beyond the length
17931 of the parent operation region (only if the length of the region
17932 is known at compile time.) This includes fields that have a
17933 minimum access width that is smaller than the parent region, and
17934 individual field units that are partially or entirely beyond the
17935 extent of the parent.
17936
17937
17938
17939 ------------------------------------------
17940 Summary of changes for this label: 04_27_01
17941
17942 ACPI CA Core Subsystem:
17943
17944 Fixed a problem where the namespace mutex could be released at the
17945 wrong time during execution of AcpiRemoveAddressSpaceHandler.
17946
17947 Added optional thread ID output for debug traces, to simplify
17948 debugging of multiple threads. Added context switch notification
17949 when the debug code realizes that a different thread is now
17950 executing ACPI code.
17951
17952 Some additional external data types have been prefixed with the
17953 string "ACPI_" for consistency. This may effect existing code.
17954 The data types affected are the external callback typedefs - e.g.,
17955
17956 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
17957
17958 Linux:
17959
17960 Fixed an issue with the OSL semaphore implementation where a
17961 thread was waking up with an error from receiving a SIGCHLD
17962 signal.
17963
17964 Linux version of ACPI CA now uses the system C library for string
17965 manipulation routines instead of a local implementation.
17966
17967 Cleaned up comments and removed TBDs.
17968
17969 ASL Compiler, version X2017:
17970
17971 Enhanced error detection and reporting for all file I/O
17972 operations.
17973
17974 Documentation:
17975
17976 Programmer Reference updated to version 1.06.
17977
17978
17979
17980 ------------------------------------------
17981 Summary of changes for this label: 04_13_01
17982
17983 ACPI CA Core Subsystem:
17984
17985 Restructured support for BufferFields and RegionFields.
17986 BankFields support is now fully operational. All known 32-bit
17987 limitations on field sizes have been removed. Both BufferFields
17988 and (Operation) RegionFields are now supported by the same field
17989 management code.
17990
17991 Resource support now supports QWORD address and IO resources. The
17992 16/32/64 bit address structures and the Extended IRQ structure
17993 have been changed to properly handle Source Resource strings.
17994
17995 A ThreadId of -1 is now used to indicate a "mutex not acquired"
17996 condition internally and must never be returned by AcpiOsThreadId.
17997 This reserved value was changed from 0 since Unix systems allow a
17998 thread ID of 0.
17999
18000 Linux:
18001
18002 Driver code reorganized to enhance portability
18003
18004 Added a kernel configuration option to control ACPI_DEBUG
18005
18006 Fixed the EC driver to honor _GLK.
18007
18008 ASL Compiler, version X2016:
18009
18010 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
18011 address space was set to 0, not 0x7f as it should be.
18012
18013 ------------------------------------------
18014 Summary of changes for this label: 03_13_01
18015
18016 ACPI CA Core Subsystem:
18017
18018 During ACPI initialization, the _SB_._INI method is now run if
18019 present.
18020
18021 Notify handler fix - notifies are deferred until the parent method
18022 completes execution. This fixes the "mutex already acquired"
18023 issue seen occasionally.
18024
18025 Part of the "implicit conversion" rules in ACPI 2.0 have been
18026 found to cause compatibility problems with existing ASL/AML. The
18027 convert "result-to-target-type" implementation has been removed
18028 for stores to method Args and Locals. Source operand conversion
18029 is still fully implemented. Possible changes to ACPI 2.0
18030 specification pending.
18031
18032 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
18033 length.
18034
18035 Fix for compiler warnings for 64-bit compiles.
18036
18037 Linux:
18038
18039 /proc output aligned for easier parsing.
18040
18041 Release-version compile problem fixed.
18042
18043 New kernel configuration options documented in Configure.help.
18044
18045 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
18046 context" message.
18047
18048 OSPM:
18049
18050 Power resource driver integrated with bus manager.
18051
18052 Fixed kernel fault during active cooling for thermal zones.
18053
18054 Source Code:
18055
18056 The source code tree has been restructured.
18057
18058
18059
18060 ------------------------------------------
18061 Summary of changes for this label: 03_02_01
18062
18063 Linux OS Services Layer (OSL):
18064
18065 Major revision of all Linux-specific code.
18066
18067 Modularized all ACPI-specific drivers.
18068
18069 Added new thermal zone and power resource drivers.
18070
18071 Revamped /proc interface (new functionality is under /proc/acpi).
18072
18073 New kernel configuration options.
18074
18075 Linux known issues:
18076
18077 New kernel configuration options not documented in Configure.help
18078 yet.
18079
18080
18081 Module dependencies not currently implemented. If used, they
18082 should be loaded in this order: busmgr, power, ec, system,
18083 processor, battery, ac_adapter, button, thermal.
18084
18085 Modules will not load if CONFIG_MODVERSION is set.
18086
18087 IBM 600E - entering S5 may reboot instead of shutting down.
18088
18089 IBM 600E - Sleep button may generate "Invalid <NULL> context"
18090 message.
18091
18092 Some systems may fail with "execution mutex already acquired"
18093 message.
18094
18095 ACPI CA Core Subsystem:
18096
18097 Added a new OSL Interface, AcpiOsGetThreadId. This was required
18098 for the deadlock detection code. Defined to return a non-zero, 32-
18099 bit thread ID for the currently executing thread. May be a non-
18100 zero constant integer on single-thread systems.
18101
18102 Implemented deadlock detection for internal subsystem mutexes. We
18103 may add conditional compilation for this code (debug only) later.
18104
18105 ASL/AML Mutex object semantics are now fully supported. This
18106 includes multiple acquires/releases by owner and support for the
18107
18108 Mutex SyncLevel parameter.
18109
18110 A new "Force Release" mechanism automatically frees all ASL
18111 Mutexes that have been acquired but not released when a thread
18112 exits the interpreter. This forces conformance to the ACPI spec
18113 ("All mutexes must be released when an invocation exits") and
18114 prevents deadlocked ASL threads. This mechanism can be expanded
18115 (later) to monitor other resource acquisitions if OEM ASL code
18116 continues to misbehave (which it will).
18117
18118 Several new ACPI exception codes have been added for the Mutex
18119 support.
18120
18121 Recursive method calls are now allowed and supported (the ACPI
18122 spec does in fact allow recursive method calls.) The number of
18123 recursive calls is subject to the restrictions imposed by the
18124 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
18125 parameter.
18126
18127 Implemented support for the SyncLevel parameter for control
18128 methods (ACPI 2.0 feature)
18129
18130 Fixed a deadlock problem when multiple threads attempted to use
18131 the interpreter.
18132
18133 Fixed a problem where the string length of a String package
18134 element was not always set in a package returned from
18135 AcpiEvaluateObject.
18136
18137 Fixed a problem where the length of a String package element was
18138 not always included in the length of the overall package returned
18139 from AcpiEvaluateObject.
18140
18141 Added external interfaces (Acpi*) to the ACPI debug memory
18142 manager. This manager keeps a list of all outstanding
18143 allocations, and can therefore detect memory leaks and attempts to
18144 free memory blocks more than once. Useful for code such as the
18145 power manager, etc. May not be appropriate for device drivers.
18146 Performance with the debug code enabled is slow.
18147
18148 The ACPI Global Lock is now an optional hardware element.
18149
18150 ASL Compiler Version X2015:
18151
18152 Integrated changes to allow the compiler to be generated on
18153 multiple platforms.
18154
18155 Linux makefile added to generate the compiler on Linux
18156
18157 Source Code:
18158
18159 All platform-specific headers have been moved to their own
18160 subdirectory, Include/Platform.
18161
18162 New source file added, Interpreter/ammutex.c
18163
18164 New header file, Include/acstruct.h
18165
18166 Documentation:
18167
18168 The programmer reference has been updated for the following new
18169 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
18170
18171 ------------------------------------------
18172 Summary of changes for this label: 02_08_01
18173
18174 Core ACPI CA Subsystem: Fixed a problem where an error was
18175 incorrectly returned if the return resource buffer was larger than
18176 the actual data (in the resource interfaces).
18177
18178 References to named objects within packages are resolved to the
18179
18180 full pathname string before packages are returned directly (via
18181 the AcpiEvaluateObject interface) or indirectly via the resource
18182 interfaces.
18183
18184 Linux OS Services Layer (OSL):
18185
18186 Improved /proc battery interface.
18187
18188
18189 Added C-state debugging output and other miscellaneous fixes.
18190
18191 ASL Compiler Version X2014:
18192
18193 All defined method arguments can now be used as local variables,
18194 including the ones that are not actually passed in as parameters.
18195 The compiler tracks initialization of the arguments and issues an
18196 exception if they are used without prior assignment (just like
18197 locals).
18198
18199 The -o option now specifies a filename prefix that is used for all
18200 output files, including the AML output file. Otherwise, the
18201 default behavior is as follows: 1) the AML goes to the file
18202 specified in the DSDT. 2) all other output files use the input
18203 source filename as the base.
18204
18205 ------------------------------------------
18206 Summary of changes for this label: 01_25_01
18207
18208 Core ACPI CA Subsystem: Restructured the implementation of object
18209 store support within the interpreter. This includes support for
18210 the Store operator as well as any ASL operators that include a
18211 target operand.
18212
18213 Partially implemented support for Implicit Result-to-Target
18214 conversion. This is when a result object is converted on the fly
18215 to the type of an existing target object. Completion of this
18216 support is pending further analysis of the ACPI specification
18217 concerning this matter.
18218
18219 CPU-specific code has been removed from the subsystem (hardware
18220 directory).
18221
18222 New Power Management Timer functions added
18223
18224 Linux OS Services Layer (OSL): Moved system state transition code
18225 to the core, fixed it, and modified Linux OSL accordingly.
18226
18227 Fixed C2 and C3 latency calculations.
18228
18229
18230 We no longer use the compilation date for the version message on
18231 initialization, but retrieve the version from AcpiGetSystemInfo().
18232
18233 Incorporated for fix Sony VAIO machines.
18234
18235 Documentation: The Programmer Reference has been updated and
18236 reformatted.
18237
18238
18239 ASL Compiler: Version X2013: Fixed a problem where the line
18240 numbering and error reporting could get out of sync in the
18241 presence of multiple include files.
18242
18243 ------------------------------------------
18244 Summary of changes for this label: 01_15_01
18245
18246 Core ACPI CA Subsystem:
18247
18248 Implemented support for type conversions in the execution of the
18249 ASL Concatenate operator (The second operand is converted to
18250 match the type of the first operand before concatenation.)
18251
18252 Support for implicit source operand conversion is partially
18253 implemented. The ASL source operand types Integer, Buffer, and
18254 String are freely interchangeable for most ASL operators and are
18255 converted by the interpreter on the fly as required. Implicit
18256 Target operand conversion (where the result is converted to the
18257 target type before storing) is not yet implemented.
18258
18259 Support for 32-bit and 64-bit BCD integers is implemented.
18260
18261 Problem fixed where a field read on an aligned field could cause a
18262 read past the end of the field.
18263
18264 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
18265 does not return a value, but the caller expects one. (The ASL
18266 compiler flags this as a warning.)
18267
18268 ASL Compiler:
18269
18270 Version X2011:
18271 1. Static typechecking of all operands is implemented. This
18272 prevents the use of invalid objects (such as using a Package where
18273 an Integer is required) at compile time instead of at interpreter
18274 run-time.
18275 2. The ASL source line is printed with ALL errors and warnings.
18276 3. Bug fix for source EOF without final linefeed.
18277 4. Debug option is split into a parse trace and a namespace trace.
18278 5. Namespace output option (-n) includes initial values for
18279 integers and strings.
18280 6. Parse-only option added for quick syntax checking.
18281 7. Compiler checks for duplicate ACPI name declarations
18282
18283 Version X2012:
18284 1. Relaxed typechecking to allow interchangeability between
18285 strings, integers, and buffers. These types are now converted by
18286 the interpreter at runtime.
18287 2. Compiler reports time taken by each internal subsystem in the
18288 debug output file.
18289
18290
18291 ------------------------------------------
18292 Summary of changes for this label: 12_14_00
18293
18294 ASL Compiler:
18295
18296 This is the first official release of the compiler. Since the
18297 compiler requires elements of the Core Subsystem, this label
18298 synchronizes everything.
18299
18300 ------------------------------------------
18301 Summary of changes for this label: 12_08_00
18302
18303
18304 Fixed a problem where named references within the ASL definition
18305 of both OperationRegions and CreateXXXFields did not work
18306 properly. The symptom was an AE_AML_OPERAND_TYPE during
18307 initialization of the region/field. This is similar (but not
18308 related internally) to the problem that was fixed in the last
18309 label.
18310
18311 Implemented both 32-bit and 64-bit support for the BCD ASL
18312 functions ToBCD and FromBCD.
18313
18314 Updated all legal headers to include "2000" in the copyright
18315 years.
18316
18317 ------------------------------------------
18318 Summary of changes for this label: 12_01_00
18319
18320 Fixed a problem where method invocations within the ASL definition
18321 of both OperationRegions and CreateXXXFields did not work
18322 properly. The symptom was an AE_AML_OPERAND_TYPE during
18323 initialization of the region/field:
18324
18325 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
18326 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
18327 (0x3005)
18328
18329 Fixed a problem where operators with more than one nested
18330 subexpression would fail. The symptoms were varied, by mostly
18331 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
18332 problem that has gone unnoticed until now.
18333
18334 Subtract (Add (1,2), Multiply (3,4))
18335
18336 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
18337 previous build (The prefix part of a relative path was handled
18338 incorrectly).
18339
18340 Fixed a problem where Operation Region initialization failed if
18341 the operation region name was a "namepath" instead of a simple
18342 "nameseg". Symptom was an AE_NO_OPERAND error.
18343
18344 Fixed a problem where an assignment to a local variable via the
18345 indirect RefOf mechanism only worked for the first such
18346 assignment. Subsequent assignments were ignored.
18347
18348 ------------------------------------------
18349 Summary of changes for this label: 11_15_00
18350
18351 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
18352 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
18353 the AML interpreter does NOT have support for the new 2.0 ASL
18354 grammar terms at this time.
18355
18356 All ACPI hardware access is via the GAS structures in the ACPI 2.0
18357 FADT.
18358
18359 All physical memory addresses across all platforms are now 64 bits
18360 wide. Logical address width remains dependent on the platform
18361 (i.e., "void *").
18362
18363 AcpiOsMapMemory interface changed to a 64-bit physical address.
18364
18365 The AML interpreter integer size is now 64 bits, as per the ACPI
18366 2.0 specification.
18367
18368 For backwards compatibility with ACPI 1.0, ACPI tables with a
18369 revision number less than 2 use 32-bit integers only.
18370
18371 Fixed a problem where the evaluation of OpRegion operands did not
18372 always resolve them to numbers properly.
18373
18374 ------------------------------------------
18375 Summary of changes for this label: 10_20_00
18376
18377 Fix for CBN_._STA issue. This fix will allow correct access to
18378 CBN_ OpRegions when the _STA returns 0x8.
18379
18380 Support to convert ACPI constants (Ones, Zeros, One) to actual
18381 values before a package object is returned
18382
18383 Fix for method call as predicate to if/while construct causing
18384 incorrect if/while behavior
18385
18386 Fix for Else block package lengths sometimes calculated wrong (if
18387 block > 63 bytes)
18388
18389 Fix for Processor object length field, was always zero
18390
18391 Table load abort if FACP sanity check fails
18392
18393 Fix for problem with Scope(name) if name already exists
18394
18395 Warning emitted if a named object referenced cannot be found
18396 (resolved) during method execution.
18397
18398
18399
18400
18401
18402 ------------------------------------------
18403 Summary of changes for this label: 9_29_00
18404
18405 New table initialization interfaces: AcpiInitializeSubsystem no
18406 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
18407 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
18408 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
18409 AcpiLoadTables
18410
18411 Note: These interface changes require changes to all existing OSDs
18412
18413 The PCI_Config default address space handler is always installed
18414 at the root namespace object.
18415
18416 -------------------------------------------
18417 Summary of changes for this label: 09_15_00
18418
18419 The new initialization architecture is implemented. New
18420 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
18421 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
18422
18423 (Namespace is automatically loaded when a table is loaded)
18424
18425 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
18426 52 bytes to 32 bytes. There is usually one of these for every
18427 namespace object, so the memory savings is significant.
18428
18429 Implemented just-in-time evaluation of the CreateField operators.
18430
18431 Bug fixes for IA-64 support have been integrated.
18432
18433 Additional code review comments have been implemented
18434
18435 The so-called "third pass parse" has been replaced by a final walk
18436 through the namespace to initialize all operation regions (address
18437 spaces) and fields that have not yet been initialized during the
18438 execution of the various _INI and REG methods.
18439
18440 New file - namespace/nsinit.c
18441
18442 -------------------------------------------
18443 Summary of changes for this label: 09_01_00
18444
18445 Namespace manager data structures have been reworked to change the
18446 primary object from a table to a single object. This has
18447 resulted in dynamic memory savings of 3X within the namespace and
18448 2X overall in the ACPI CA subsystem.
18449
18450 Fixed problem where the call to AcpiEvFindPciRootBuses was
18451 inadvertently left commented out.
18452
18453 Reduced the warning count when generating the source with the GCC
18454 compiler.
18455
18456 Revision numbers added to each module header showing the
18457 SourceSafe version of the file. Please refer to this version
18458 number when giving us feedback or comments on individual modules.
18459
18460 The main object types within the subsystem have been renamed to
18461 clarify their purpose:
18462
18463 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
18464 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
18465 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
18466
18467 NOTE: no changes to the initialization sequence are included in
18468 this label.
18469
18470 -------------------------------------------
18471 Summary of changes for this label: 08_23_00
18472
18473 Fixed problem where TerminateControlMethod was being called
18474 multiple times per method
18475
18476 Fixed debugger problem where single stepping caused a semaphore to
18477 be oversignalled
18478
18479 Improved performance through additional parse object caching -
18480 added ACPI_EXTENDED_OP type
18481
18482 -------------------------------------------
18483 Summary of changes for this label: 08_10_00
18484
18485 Parser/Interpreter integration: Eliminated the creation of
18486 complete parse trees for ACPI tables and control methods.
18487 Instead, parse subtrees are created and then deleted as soon as
18488 they are processed (Either entered into the namespace or executed
18489 by the interpreter). This reduces the use of dynamic kernel
18490 memory significantly. (about 10X)
18491
18492 Exception codes broken into classes and renumbered. Be sure to
18493 recompile all code that includes acexcep.h. Hopefully we won't
18494 have to renumber the codes again now that they are split into
18495 classes (environment, programmer, AML code, ACPI table, and
18496 internal).
18497
18498 Fixed some additional alignment issues in the Resource Manager
18499 subcomponent
18500
18501 Implemented semaphore tracking in the AcpiExec utility, and fixed
18502 several places where mutexes/semaphores were being unlocked
18503 without a corresponding lock operation. There are no known
18504 semaphore or mutex "leaks" at this time.
18505
18506 Fixed the case where an ASL Return operator is used to return an
18507 unnamed package.
18508
18509 -------------------------------------------
18510 Summary of changes for this label: 07_28_00
18511
18512 Fixed a problem with the way addresses were calculated in
18513 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
18514 manifested itself when a Field was created with WordAccess or
18515 DwordAccess, but the field unit defined within the Field was less
18516
18517 than a Word or Dword.
18518
18519 Fixed a problem in AmlDumpOperands() module's loop to pull
18520 operands off of the operand stack to display information. The
18521 problem manifested itself as a TLB error on 64-bit systems when
18522 accessing an operand stack with two or more operands.
18523
18524 Fixed a problem with the PCI configuration space handlers where
18525 context was getting confused between accesses. This required a
18526 change to the generic address space handler and address space
18527 setup definitions. Handlers now get both a global handler context
18528 (this is the one passed in by the user when executing
18529 AcpiInstallAddressSpaceHandler() and a specific region context
18530 that is unique to each region (For example, the _ADR, _SEG and
18531 _BBN values associated with a specific region). The generic
18532 function definitions have changed to the following:
18533
18534 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
18535 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
18536 *HandlerContext, // This used to be void *Context void
18537 *RegionContext); // This is an additional parameter
18538
18539 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
18540 RegionHandle, UINT32 Function, void *HandlerContext, void
18541 **RegionContext); // This used to be **ReturnContext
18542
18543 -------------------------------------------
18544 Summary of changes for this label: 07_21_00
18545
18546 Major file consolidation and rename. All files within the
18547 interpreter have been renamed as well as most header files. This
18548 was done to prevent collisions with existing files in the host
18549 OSs -- filenames such as "config.h" and "global.h" seem to be
18550 quite common. The VC project files have been updated. All
18551 makefiles will require modification.
18552
18553 The parser/interpreter integration continues in Phase 5 with the
18554 implementation of a complete 2-pass parse (the AML is parsed
18555 twice) for each table; This avoids the construction of a huge
18556 parse tree and therefore reduces the amount of dynamic memory
18557 required by the subsystem. Greater use of the parse object cache
18558 means that performance is unaffected.
18559
18560 Many comments from the two code reviews have been rolled in.
18561
18562 The 64-bit alignment support is complete.
18563
18564 -------------------------------------------
18565 Summary of changes for this label: 06_30_00
18566
18567 With a nod and a tip of the hat to the technology of yesteryear,
18568 we've added support in the source code for 80 column output
18569 devices. The code is now mostly constrained to 80 columns or
18570 less to support environments and editors that 1) cannot display
18571 or print more than 80 characters on a single line, and 2) cannot
18572 disable line wrapping.
18573
18574 A major restructuring of the namespace data structure has been
18575 completed. The result is 1) cleaner and more
18576 understandable/maintainable code, and 2) a significant reduction
18577 in the dynamic memory requirement for each named ACPI object
18578 (almost half).
18579
18580 -------------------------------------------
18581 Summary of changes for this label: 06_23_00
18582
18583 Linux support has been added. In order to obtain approval to get
18584 the ACPI CA subsystem into the Linux kernel, we've had to make
18585 quite a few changes to the base subsystem that will affect all
18586 users (all the changes are generic and OS- independent). The
18587 effects of these global changes have been somewhat far reaching.
18588 Files have been merged and/or renamed and interfaces have been
18589 renamed. The major changes are described below.
18590
18591 Osd* interfaces renamed to AcpiOs* to eliminate namespace
18592 pollution/confusion within our target kernels. All OSD
18593 interfaces must be modified to match the new naming convention.
18594
18595 Files merged across the subsystem. A number of the smaller source
18596 and header files have been merged to reduce the file count and
18597 increase the density of the existing files. There are too many
18598 to list here. In general, makefiles that call out individual
18599 files will require rebuilding.
18600
18601 Interpreter files renamed. All interpreter files now have the
18602 prefix am* instead of ie* and is*.
18603
18604 Header files renamed: The acapi.h file is now acpixf.h. The
18605 acpiosd.h file is now acpiosxf.h. We are removing references to
18606 the acronym "API" since it is somewhat windowsy. The new name is
18607 "external interface" or xface or xf in the filenames.j
18608
18609
18610 All manifest constants have been forced to upper case (some were
18611 mixed case.) Also, the string "ACPI_" has been prepended to many
18612 (not all) of the constants, typedefs, and structs.
18613
18614 The globals "DebugLevel" and "DebugLayer" have been renamed
18615 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
18616
18617 All other globals within the subsystem are now prefixed with
18618 "AcpiGbl_" Internal procedures within the subsystem are now
18619 prefixed with "Acpi" (with only a few exceptions). The original
18620 two-letter abbreviation for the subcomponent remains after "Acpi"
18621 - for example, CmCallocate became AcpiCmCallocate.
18622
18623 Added a source code translation/conversion utility. Used to
18624 generate the Linux source code, it can be modified to generate
18625 other types of source as well. Can also be used to cleanup
18626 existing source by removing extraneous spaces and blank lines.
18627 Found in tools/acpisrc/*
18628
18629 OsdUnMapMemory was renamed to OsdUnmapMemory and then
18630 AcpiOsUnmapMemory. (UnMap became Unmap).
18631
18632 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
18633 When set to one, this indicates that the caller wants to use the
18634
18635 semaphore as a mutex, not a counting semaphore. ACPI CA uses
18636 both types. However, implementers of this call may want to use
18637 different OS primitives depending on the type of semaphore
18638 requested. For example, some operating systems provide separate
18639
18640 "mutex" and "semaphore" interfaces - where the mutex interface is
18641 much faster because it doesn't have all the overhead of a full
18642 semaphore implementation.
18643
18644 Fixed a deadlock problem where a method that accesses the PCI
18645 address space can block forever if it is the first access to the
18646 space.
18647
18648 -------------------------------------------
18649 Summary of changes for this label: 06_02_00
18650
18651 Support for environments that cannot handle unaligned data
18652 accesses (e.g. firmware and OS environments devoid of alignment
18653 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
18654 been added (via configurable macros) in these three areas: -
18655 Transfer of data from the raw AML byte stream is done via byte
18656 moves instead of word/dword/qword moves. - External objects are
18657 aligned within the user buffer, including package elements (sub-
18658 objects). - Conversion of name strings to UINT32 Acpi Names is now
18659 done byte-wise.
18660
18661 The Store operator was modified to mimic Microsoft's
18662 implementation when storing to a Buffer Field.
18663
18664 Added a check of the BM_STS bit before entering C3.
18665
18666 The methods subdirectory has been obsoleted and removed. A new
18667 file, cmeval.c subsumes the functionality.
18668
18669 A 16-bit (DOS) version of AcpiExec has been developed. The
18670 makefile is under the acpiexec directory.
18671