changes.txt revision 1.1.1.23 1 ----------------------------------------
2 26 March 2020. Summary of changes for version 20200326:
3
4
5 1) ACPICA kernel-resident subsystem:
6
7 Performed a code clean-up to prevent build errors on early versions of
8 GCC-10.
9
10 Added the NHLT table signature. iASL data table compiler/disassembler
11 support for this table is coming soon.
12
13
14 2) iASL Compiler/Disassembler and ACPICA tools:
15
16 AcpiExec: Fixed several problems with the namespace initialization file
17 (-fi<filename> option). Includes fixes to prevent AE_ALREADY_EXISTS
18 errors, several seg faults, and enhancements to line parsing within the
19 init file. In addition, each object found in the init file and it's new
20 value is displayed, as well as any such entries that do not have a
21 corresponding name in the namespace. For reference, the syntax for the
22 various supported data types are presented below:
23 PCHG 0x777788889999BBBB // Integer
24 \DEV1.STR1 "XYZ" // String
25 BUF1 (88 99 AA) // Buffer
26 PKG1 [0x1111 0x2222] // Package
27 \BF1 0x7980 // BufferField
28 RCRV 0x0123456789ABCDEF // Field Unit
29
30 iASL: Added a custom iASL macro __EXPECT__(iASL-Error-Code). This macro
31 can be used anywhere in a given ASL file to configure iASL to expect an
32 iASL compiler error code on the line where this macro was placed. If the
33 error code does not exist, an error is generated. This is intended to be
34 used for ACPICA's ASL test suite, but can be used by ASL developers as
35 well.
36
37 iASL: table compiler: Implemented IVRS IVHD type 11h parsing. The AMD
38 IVRS table parsing supported only IVHD type 10h structures. Parsing an
39 IVHD type 11h caused the iasl to report unknown subtable type. Add
40 necessary structure definition for IVHD type 11h and apply correct
41 parsing method based on subtable type. Micha? ?ygowski.
42
43 iASL: table compiler: Fixed IVRS table IVHD type 10h reserved field name
44 According to AMD IOMMU Specification Revision 3.05 the reserved field
45 should be IOMMU Feature Reporting. Change the name of the field to the
46 correct one. Micha? ?ygowski.
47
48 acpiexec: removed redeclaration of AcpiGbl_DbOpt_NoRegionSupport. Patch
49 based on suggestions by David Seifert and Benjamin Berg.
50
51 iASL: table compiler: removed an unused variable (DtCompilerParserResult)
52 causing linking errors. Patch based on suggestions by David Seifert and
53 Benjamin Berg.
54
55 iASL: table compiler: make LexBuffer static to avoid linking errors in
56 newer compilers. Patch based on suggestions by David Seifert and Benjamin
57 Berg.
58
59 iASL: fixed type matching between External and Named objects. External
60 object types can only be expressed with ACPI object type values that are
61 defined in the ACPI spec. However, iASL uses ACPI object type values that
62 are local to ACPICA in addition to the values defined in the ACPI spec.
63 This change implements type matching to map some object type values
64 specific to ACPICA to ones that are defined in the ACPI spec.
65
66 iASL: Dropped the type mismatch compiler error that can arise from
67 External declarations to a warning. This warning can occur when there is
68 a type difference between the external declaration and the actual object
69 declaration (when compiling multiple files/modules simultaneously).
70
71 iASL: removed an incorrect error message regarding externals. This change
72 removes an incorrect error that is emitted when a duplicate external
73 declaration does not contain a type that opens a scope. This is incorrect
74 because the duplicate external with conflicting types are already caught
75 by iASL and it doesn't make any sense to enforce what this conflicting
76 type should be.
77
78 AcpiXtract: fix AX_IS_TABLE_BLOCK_HEADER macro. This macro needs to be
79 surrounded by parens. Otherwise, a logical statement that applies a
80 logical not operator to this macro could result in a computation that
81 applies the operator to the left side of the logical and but not the
82 right. Reported-by: John Levon <john.levon (a] joyent.com>
83
84 Fixed a problem with the local version of sprint(): On 32-bit, the
85 provided sprintf() is non-functional: with a size of ACPI_UINT32_MAX,
86 String + Size will wrap, meaning End < Start, and
87 AcpiUtBoundStringOutput() will never output anything as a result. The
88 symptom seen of this was acpixtract failing to output anything -- with a
89 custom build that included utprint.c. Signed-off-by: John Levon
90 <john.levon (a] joyent.com>
91
92 iASL: Changed the "PlatformCommChannel" ASL keyword to "PCC", as per the
93 ACPI specification.
94
95
96 ----------------------------------------
97 14 February 2020. Summary of changes for version 20200214:
98
99
100 1) ACPICA kernel-resident subsystem:
101
102 Enable sleep button on ACPI legacy wake: Hibernation (S4) is triggered
103 in a guest when it receives a sleep trigger from the hypervisor. When the
104 guest resumes from this power state, it does not see the SleepEnabled
105 bit. In other words, the sleepHibernation (S4) is triggered in a guest
106 when it receives a sleep trigger from the hypervisor. When the guest
107 resumes from this power state, it does not see the SleepEnabled bit. In
108 other words, the sleep button is not enabled on waking from an S4 state.
109 This causes subsequent invocation of sleep state to fail since the
110 guest.button is not enabled on waking from an S4 state. This causes
111 subsequent invocation of sleep state to fail in the guest. Fix this
112 problem by enabling the sleep button in ACPI legacy wake. From Anchal
113 Agarwal <anchalag (a] amazon.com>.
114
115 Implemented a new external interface, AcpiAnyGpeStatusSet (). To be used
116 for checking the status bits of all enabled GPEs in one go. It is needed
117 to distinguish spurious SCIs from genuine ones when deciding whether or
118 not to wake up the system from suspend-to-idle.
119
120 Generic Makefiles: replace HOST name with ACPI_HOST: Some machines may be
121 using HOST in their environment to represent the host name for their
122 machines. Avoid this problem by renaming this variable from HOST to
123 ACPI_HOST.
124
125 MSVC 2017 project files: Enable multiprocessor generation to improve
126 build performance.
127
128 Added a macro to get the byte width of a Generic Address structure. New
129 ACPI_ACCESS_BYTE_WIDTH is in addition to the existing
130 ACPI_ACCESS_BIT_WIDTH. From Mika Westerberg.
131
132
133 2) iASL Compiler/Disassembler and ACPICA tools:
134
135 iASL: Implemented full support for the (optional, rarely used) ReturnType
136 and ParameterTypesList for the Method, Function, and External operators.
137 For Method declarations, the number of individual ParameterTypes must
138 match the declaration of the number of arguments (NumArgs). This also
139 Fixes a problem with the External operator where extra/extraneous bytes
140 were emitted in the AML code if the optional ReturnType/ParameterTypes
141 were specified for a MethodObj declaration.
142 New error message:
143 1) Method NumArgs count does not match length of ParameterTypes list
144
145 iASL: Implemented detection of type mismatches between External
146 declarations and named object declarations. Also, detect type mismatches
147 between multiple External declarations of the same Name.
148 New error messages:
149 1) Type mismatch between external declaration and actual object
150 declaration detected
151 2) Type mismatch between multiple external declarations detected
152
153 iASL: Implemented new error messages for External operators that specify
154 a ReturnType and/or ParameterTypesList for any object type other than
155 control methods (MethodObj).
156 New error messages:
157 1) Return type is only allowed for Externals declared as MethodObj
158 2) Parameter type is only allowed for Externals declared as MethodObj
159
160 iASL: Implemented two new remark/warning messages for ASL code that
161 creates named objects from within a control method. This is very
162 inefficient since the named object must be created and deleted each time
163 the method is executed.
164 New messages:
165 1) Creation of named objects within a method is highly inefficient, use
166 globals or method local variables instead (remark)
167 2) Static OperationRegion should be declared outside control method
168 (warning)
169
170 iASL: Improved illegal forward reference detection by adding support to
171 detect forward-reference method invocations.
172
173 iASL: Detect and issue an error message for NameStrings that contain too
174 many individual NameSegs (>255). This is an AML limitation that is
175 defined in the ACPI specification.
176 New message:
177 1) NameString contains too many NameSegs (>255)
178
179 acpidump: windows: use GetSystemFirmwareTable API for all tables except
180 SSDT. By using this API, acpidump is able to get all tables in the XSDT
181
182 iASL: Removed unused parser file and updated msvc2017 project files.
183 Removed the obsolete AslCompiler.y from the repository.
184
185 iASL: msvc2017: Fixed macros in the file dependency list to prevent
186 unnecessary rebuilds. Replace %(Directory) with %(RelativeDir).
187
188 Disassembler: Prevent spilling error messages to the output file. All
189 errors are directed to the console instead. These error messages
190 prevented re-compilation of the resulting disassembled ASL output file
191 (.DSL).
192
193
194 ----------------------------------------
195 10 January 2020. Summary of changes for version 20200110:
196
197
198 1) ACPICA kernel-resident subsystem:
199
200 Updated all copyrights to 2020. This affects all ACPICA source code
201 modules.
202
203
204 2) iASL Compiler/Disassembler and ACPICA tools:
205
206 ASL test suite (ASLTS): Updated all copyrights to 2020.
207
208 Tools and utilities: Updated all signon copyrights to 2020.
209
210 iASL: fix forward reference analysis for field declarations. Fixes
211 forward reference analysis for field declarations by searching the
212 parent scope for the named object when the object is not present in
213 the current scope.
214
215 iASL: Improved the error output for ALREADY_EXISTS errors. Now, the
216 full pathname of the name that already exists is printed.
217
218 iASL: Enhance duplicate Case() detection for buffers. Add check for
219 buffers with no initializer list (these buffers will be filled with
220 zeros at runtime.)
221
222
223 ----------------------------------------
224 13 December 2019. Summary of changes for version 20191213:
225
226
227 1) ACPICA kernel-resident subsystem:
228
229 Return a Buffer object for all fields created via the CreateField
230 operator. Previously, an Integer would be returned if the size of
231 the field was less than or equal to the current size of an Integer.
232 Although this goes against the ACPI specification, it provides
233 compatibility with other ACPI implementations. Also updated the
234 ASLTS test suite to reflect this new behavior.
235
236 2) iASL Compiler/Disassembler and ACPICA tools:
237
238 iASL: Implemented detection of (and throw an error for) duplicate
239 values for Case statements within a single Switch statement. Duplicate
240 Integers, Strings, and Buffers are supported.
241
242 iASL: Fix error logging issue during multiple file compilation --
243 Switch to the correct input file during error node creation.
244
245 iASL: For duplicate named object creation, now emit an error instead
246 of a warning - since this will cause a runtime error.
247
248 AcpiSrc: Add unix line-ending support for non-Windows builds.
249
250 iASL: Add an error condition for an attempt to create a NameString
251 with > 255 NameSegs (the max allowable via the AML definition).
252
253
254 ----------------------------------------
255 18 October 2019. Summary of changes for version 20191018:
256
257
258 1) ACPICA kernel-resident subsystem:
259
260 Debugger: added a new command: ?Fields [address space ID]?. This command
261 dumps the contents of all field units that are defined within the
262 namespace with a particular address space ID.
263
264 Modified the external interface AcpiLoadTable() to return a table index.
265 This table index can be used for unloading a table for debugging.
266 ACPI_STATUS
267 AcpiLoadTable (
268 ACPI_TABLE_HEADER *Table,
269 UINT32 *TableIndex))
270
271 Implemented a new external interface: AcpiUnloadTable() This new function
272 takes a table index as an argument and unloads the table. Useful for
273 debugging only.
274 ACPI_STATUS
275 AcpiUnloadTable (
276 UINT32 TableIndex))
277
278 Ported the AcpiNames utility to use the new table initialization
279 sequence. The utility was broken before this change. Also, it was
280 required to include most of the AML interpreter into the utility in order
281 to process table initialization (module-level code execution.)
282
283 Update for results from running Clang V8.0.1. This fixes all "dead
284 assignment" warnings. There are still several "Dereference of NULL
285 pointer" warnings, but these have been found to be false positive
286 warnings.
287
288
289 2) iASL Compiler/Disassembler and ACPICA tools:
290
291 iASL: numerous table compiler changes to ensure that the usage of
292 yacc/bison syntax is POSIX-compliant.
293
294 iASL/disassembler: several simple bug fixes in the data table
295 disassembler.
296
297 Acpiexec: expanded the initialization file (the -fi option) to initialize
298 strings, buffers, packages, and field units.
299
300
301 ----------------------------------------
302 16 August 2019. Summary of changes for version 20190816:
303
304 This release is available at https://acpica.org/downloads
305
306
307 1) ACPICA kernel-resident subsystem:
308
309 Modified the OwnerId mechanism to allow for more Owner Ids. The previous
310 limit was 256 Ids, now it is 4096 Ids. This prevents OWNER_ID_LIMIT
311 exceptions on machines with a large number of initialization threads,
312 many CPU cores and nested initialization control methods.
313
314 Introduced acpi_dispatch_gpe() as a wrapper around AcpiEvDetectGpe() for
315 checking if the given GPE (as represented by a GPE device handle and a
316 GPE number) is currently active and dispatching it (if that's the case)
317 outside of interrupt context.
318
319 Table load: exit the interpreter before initializing objects within the
320 new table This prevents re-acquiring the interpreter lock when loading
321 tables
322
323 Added the "Windows 2019" string to the _OSI support (version 1903). Jung-
324 uk Kim
325
326 Macros: removed pointer math on a null pointer. Causes warnings on some
327 compilers and/or tools. Changed ACPI_TO_POINTER to use ACPI_CAST_PTR
328 instead of using arithmetic.
329
330 Fully deployed the ACPI_PRINTF_LIKE macro. This macro was not being used
331 across all "printf-like" internal functions. Also, cleanup all calls to
332 such functions (both in 32-bit mode and 64-bit mode) now that they are
333 analyzed by the gcc compiler via ACPI_PRINTF_LIKE.
334
335
336 2) iASL Compiler/Disassembler and ACPICA tools:
337
338 iASL: implemented a new data table compiler flex/bison front-end. This
339 change is internal and is not intended to result in changes to the
340 compiled code. This new compiler front-end can be invoked using the -tp
341 option for now, until the old mechanism is removed.
342
343 ASLTS: Implemented a new data table compiler test suite. This test suite
344 generates all table templates and compile/disassemble/re-compile/binary-
345 compare each file.
346
347 iASL: return -1 if AML files were not generated due to compiler errors
348
349 iASL: added a warning on use of the now-legacy ASL Processor () keyword.
350
351 iASL: added an error on _UID object declaration that returns a String
352 within a Processor () declaration. A _UID for a processor must be an
353 Integer.
354
355 iASL: added a null terminator to name strings that consist only of
356 multiple parent prefixes (^)
357
358 iASL: added support to compile both ASL and data table files in a single
359 command.
360
361 Updated the tool generation project files that were recently migrated to
362 MSVC 2017 to eliminate all new warnings. The new project files appear in
363 the directory \acpica\generate\msvc2017. This change effectively
364 deprecates the older project files in \acpica\generate\msvc9.
365
366
367 ----------------------------------------
368 03 July 2019. Summary of changes for version 20190703:
369
370
371 1) ACPICA kernel-resident subsystem:
372
373 Remove legacy module-level support code. There were still some remnants
374 of the legacy module-level code executions. Since we no longer support
375 this option, this is essentially dead code and has been removed from the
376 ACPICA source.
377
378 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root
379 scope. If these named objects are declared outside the root scope, they
380 will not be invoked by any host Operating System.
381
382 Clear status of GPEs on first direct enable. ACPI GPEs (other than the EC
383 one) can be enabled in two situations. First, the GPEs with existing _Lxx
384 and _Exx methods are enabled implicitly by ACPICA during system
385 initialization. Second, the GPEs without these methods (like GPEs listed
386 by _PRW objects for wakeup devices) need to be enabled directly by the
387 code that is going to use them (e.g. ACPI power management or device
388 drivers).
389
390 In the former case, if the status of a given GPE is set to start with,
391 its handler method (either _Lxx or _Exx) needs to be invoked to take care
392 of the events (possibly) signaled before the GPE was enabled. In the
393 latter case, however, the first caller of AcpiEnableGpe() for a given GPE
394 should not be expected to care about any events that might be signaled
395 through it earlier. In that case, it is better to clear the status of
396 the GPE before enabling it, to prevent stale events from triggering
397 unwanted actions (like spurious system resume, for example).
398
399 For this reason, modify AcpiEvAddGpeReference() to take an additional
400 boolean argument indicating whether or not the GPE status needs to be
401 cleared when its reference counter changes from zero to one and make
402 AcpiEnableGpe() pass TRUE to it through that new argument.
403
404
405 2) iASL Compiler/Disassembler and ACPICA tools:
406
407 The tool generation process has been migrated to MSVC 2017, and all
408 project files have been upgraded. The new project files appear in the
409 directory \acpica\generate\msvc2017. This change effectively deprecates
410 the older project files in \acpica\generate\msvc9.
411
412 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root
413 scope. If these named objects are declared outside the root scope, they
414 will not be invoked by any host Operating System
415
416 ----------------------------------------
417 09 May 2019. Summary of changes for version 20190509:
418
419
420 1) ACPICA kernel-resident subsystem:
421
422 Revert commit 6c43e1a ("ACPICA: Clear status of GPEs before enabling
423 them") that causes problems with Thunderbolt controllers to occur if a
424 dock device is connected at init time (the xhci_hcd and thunderbolt
425 modules crash which prevents peripherals connected through them from
426 working). Commit 6c43e1a effectively causes commit ecc1165b8b74 ("ACPICA:
427 Dispatch active GPEs at init time") to get undone, so the problem
428 addressed by commit ecc1165b8b74 appears again as a result of it.
429
430
431 2) iASL Compiler/Disassembler and ACPICA tools:
432
433 Reverted iASL: Additional forward reference detection. This change
434 reverts forward reference detection for field declarations. The feature
435 unintentionally emitted AML bytecode with incorrect package lengths for
436 some ASL code related to Fields and OperationRegions. This malformed AML
437 can cause systems to crash
438 during boot. The malformed AML bytecode is emitted in iASL version
439 20190329 and 20190405.
440
441 iASL: improve forward reference detection. This change improves forward
442 reference detection for named objects inside of scopes. If a parse object
443 has the OP_NOT_FOUND_DURING_LOAD set, it means that Op is a reference to
444 a named object that is declared later in the AML bytecode. This is
445 allowed if the reference is inside of a method and the declaration is
446 outside of a method like so:
447
448 DefinitionBlock(...)
449 {
450 Method (TEST)
451 {
452 Return (NUM0)
453 }
454 Name (NUM0,0)
455 }
456
457 However, if the declaration and reference are both in the same method or
458 outside any methods, this is a forward reference and should be marked as
459 an error because it would result in runtime errors.
460
461 DefinitionBlock(...)
462 {
463 Name (BUFF, Buffer (NUM0) {}) // Forward reference
464 Name (NUM0, 0x0)
465
466 Method (TEST)
467 {
468 Local0 = NUM1
469 Name (NUM1, 0x1) // Forward reference
470 return (Local0)
471 }
472 }
473
474 iASL: Implemented additional buffer overflow analysis for BufferField
475 declarations. Check if a buffer index argument to a create buffer field
476 operation is beyond the end of the target buffer.
477
478 This affects these AML operators:
479
480 AML_CREATE_FIELD_OP
481 AML_CREATE_BIT_FIELD_OP
482 AML_CREATE_BYTE_FIELD_OP
483 AML_CREATE_WORD_FIELD_OP
484 AML_CREATE_DWORD_FIELD_OP
485 AML_CREATE_QWORD_FIELD_OP
486
487 There are three conditions that must be satisfied in order to allow this
488 validation at compile time:
489
490 1) The length of the target buffer must be an integer constant
491 2) The index specified in the create* must be an integer constant
492 3) For CreateField, the bit length argument must be non-zero.
493
494 Example:
495 Name (BUF1, Buffer() {1,2})
496 CreateField (BUF1, 7, 9, CF03) // 3: ERR
497
498 dsdt.asl 14: CreateField (BUF1, 7, 9, CF03) // 3: ERR
499 Error 6165 - ^ Buffer index beyond end of
500 target buffer
501
502
503 ----------------------------------------
504 05 April 2019. Summary of changes for version 20190405:
505
506
507 1) ACPICA kernel-resident subsystem:
508
509 Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop
510 unconditionally clearing ACPI IRQs during suspend/resume") was added
511 earlier to stop clearing of event status bits unconditionally on suspend
512 and resume paths. Though this change fixed an issue on suspend path, it
513 introduced regressions on several resume paths. In the case of S0ix,
514 events are enabled as part of device suspend path. If status bits for the
515 events are set when they are enabled, it could result in premature wake
516 from S0ix. If status is cleared for any event that is being enabled so
517 that any stale events are cleared out. In case of S0ix, events are
518 enabled as part of device suspend path. If status bits for the events are
519 set when they are enabled, it could result in premature wake from S0ix.
520
521 This change ensures that status is cleared for any event that is being
522 enabled so that any stale events are cleared out.
523
524
525 2) iASL Compiler/Disassembler and ACPICA tools:
526
527 iASL: Implemented an enhanced multiple file compilation that combines
528 named objects from all input files to a single namespace. With this
529 feature, any unresolved external declarations as well as duplicate named
530 object declarations can be detected during compilation rather than
531 generating errors much later at runtime. The following commands are
532 examples that utilize this feature:
533 iasl dsdt.asl ssdt.asl
534 iasl dsdt.asl ssdt1.asl ssdt2.asl
535 iasl dsdt.asl ssdt*.asl
536
537 ----------------------------------------
538 29 March 2019. Summary of changes for version 20190329:
539
540
541 1) ACPICA kernel-resident subsystem:
542
543 Namespace support: Remove the address nodes from global list after method
544 termination. The global address list contains pointers to namespace nodes
545 that represent Operation Regions. This change properly removes Operation
546 Region namespace nodes that are declared dynamically during method
547 execution.
548
549 Linux: Use a different debug default than ACPICA. There was a divergence
550 between Linux and the ACPICA codebases. In order to resolve this
551 divergence, Linux now declares its own debug default in aclinux.h
552
553 Renamed some internal macros to improve code understanding and
554 maintenance. The macros below all operate on single 4-character ACPI
555 NameSegs, not generic strings (old -> new):
556 ACPI_NAME_SIZE -> ACPI_NAMESEG_SIZE
557 ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
558 ACPI_MOVE_NAME -> ACPI_COPY_NAMESEG
559
560 Fix for missing comma in array declaration for the AcpiGbl_GenericNotify
561 table.
562
563 Test suite: Update makefiles, add PCC operation region support
564
565
566 2) iASL Compiler/Disassembler and Tools:
567
568 iASL: Implemented additional illegal forward reference detection. Now
569 detect and emit an error upon detection of a forward reference from a
570 Field to an Operation Region. This will fail at runtime if allowed to
571 pass the compiler.
572
573 AcpiExec: Add an address list check for dynamic Operation Regions. This
574 feature performs a sanity test for each node the global address list.
575 This is done in order to ensure that all dynamic operation regions are
576 properly removed from the global address list and no dangling pointers
577 are left behind.
578
579 Disassembler: Improved generation of resource pathnames. This change
580 improves the code that generates resource descriptor and resource tag
581 pathnames. The original code used a bunch of str* C library functions
582 that caused warnings on some compilers.
583
584 iASL: Removed some uses of strncpy and replaced with memmove. The strncpy
585 function can overwrite buffers if the calling code is not very careful.
586 In the case of generating a module/table header, use of memmove is a
587 better implementation.
588
589
590 3) Status of new features that have not been completed at this time:
591
592 iASL: Implementing an enhanced multiple file compilation into a single
593 namespace feature (Status): This feature will be released soon, and
594 allows multiple ASL files to be compiled into the same single namespace.
595 By doing so, any unresolved external declarations as well as duplicate
596 named object declarations can be detected during compilation (rather than
597 later during runtime). The following commands are examples that utilize
598 this feature:
599 iasl dsdt.asl ssdt.asl
600 iasl dsdt.asl ssdt1.asl ssdt2.asl
601 iasl dsdt.asl ssdt*.asl
602
603 ASL tutorial status: Feedback is being gathered internally and the
604 current plan is to publish this tutorial on the ACPICA website after a
605 final review by a tech writer.
606
607 ----------------------------------------
608 15 February 2019. Summary of changes for version 20190215:
609
610
611 0) Support for ACPI specification version 6.3:
612
613 Add PCC operation region support for the AML interpreter. This adds PCC
614 operation region support in the AML interpreter and a default handler for
615 acpiexec. The change also renames the PCC region address space keyword to
616 PlatformCommChannel.
617
618 Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG.
619 These methods provide OSPM with health information and device boot
620 status.
621
622 PDTT: Add TriggerOrder to the PCC Identifier structure. The field value
623 defines if the trigger needs to be invoked by OSPM before or at the end
624 of kernel crash dump processing/handling operation.
625
626 SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT
627 is used for describing devices such as heterogeneous processors,
628 accelerators, GPUs, and IO devices with integrated compute or DMA
629 engines.
630
631 MADT: Add support for statistical profiling in GICC. Statistical
632 profiling extension (SPE) is an architecture-specific feature for ARM.
633
634 MADT: Add online capable flag. If this bit is set, system hardware
635 supports enabling this processor during OS runtime.
636
637 New Error Disconnect Recover Notification value. There are a number of
638 scenarios where system Firmware in collaboration with hardware may
639 disconnect one or more devices from the rest of the system for purposes
640 of error containment. Firmware can use this new notification value to
641 alert OSPM of such a removal.
642
643 PPTT: New additional fields in Processor Structure Flags. These flags
644 provide more information about processor topology.
645
646 NFIT/Disassembler: Change a field name from "Address Range" to "Region
647 Type".
648
649 HMAT updates: make several existing fields to be reserved as well as
650 rename subtable 0 to "memory proximity domain attributes".
651
652 GTDT: Add support for new GTDT Revision 3. This revision adds information
653 for the EL2 timer.
654
655 iASL: Update the HMAT example template for new fields.
656
657 iASL: Add support for the new revision of the GTDT (Rev 3).
658
659
660 1) ACPICA kernel-resident subsystem:
661
662 AML Parser: fix the main AML parse loop to correctly skip erroneous
663 extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
664 byte extended opcodes. If an error occurs during an AML table load, the
665 AML parser will continue loading the table by skipping the offending
666 opcode. This implements a "load table at any cost" philosophy.
667
668
669 2) iASL Compiler/Disassembler and Tools:
670
671 iASL: Add checks for illegal object references, such as a reference
672 outside of method to an object within a method. Such an object is only
673 temporary.
674
675 iASL: Emit error for creation of a zero-length operation region. Such a
676 region is rather pointless. If encountered, a runtime error is also
677 implemented in the interpeter.
678
679 Debugger: Fix a possible fault with the "test objects" command.
680
681 iASL: Makefile: support parent directory filenames containing embedded
682 spaces.
683
684 iASL: Update the TPM2 template to revision 4.
685
686 iASL: Add the ability to report specific warnings or remarks as errors.
687
688 Disassembler: Disassemble OEMx tables as actual AML byte code.
689 Previously, these tables were treated as "unknown table".
690
691 iASL: Add definition and disassembly for TPM2 revision 3.
692
693 iASL: Add support for TPM2 rev 3 compilation.
694
695
696 ----------------------------------------
697 08 January 2019. Summary of changes for version 20190108:
698
699
700 1) ACPICA kernel-resident subsystem:
701
702 Updated all copyrights to 2019. This affects all source code modules.
703
704
705 2) iASL Compiler/Disassembler and Tools:
706
707 ASL test suite (ASLTS): Updated all copyrights to 2019.
708
709 Tools: Updated all signon copyrights to 2019.
710
711 AcpiExec: Added a new option to dump extra information concerning any
712 memory leaks detected by the internal object/cache tracking mechanism. -
713 va
714
715 iASL: Updated the table template for the TPM2 table to the newest version
716 of the table (Revision 4)
717
718
719 ----------------------------------------
720 13 December 2018. Summary of changes for version 20181213:
721
722
723 1) ACPICA Kernel-resident Subsystem:
724
725 Fixed some buffer length issues with the GenericSerialBus, related to two
726 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes,
727 which are rarely seen in the field. For these, the LEN field of the ASL
728 buffer is now ignored. Hans de Goede
729
730 Implemented a new object evaluation trace mechanism for control methods
731 and data objects. This includes nested control methods. It is
732 particularly useful for examining the ACPI execution during system
733 initialization since the output is relatively terse. The flag below
734 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
735 #define ACPI_LV_EVALUATION 0x00080000
736
737 Examples:
738 Enter evaluation : _SB.PCI0._INI (Method)
739 Exit evaluation : _SB.PCI0._INI
740 Enter evaluation : _OSI (Method)
741 Exit evaluation : _OSI
742 Enter evaluation : _SB.PCI0.TEST (Method)
743 Nested method call : _SB.PCI0.NST1
744 Exit nested method : _SB.PCI0.NST1
745 Exit evaluation : _SB.PCI0.TEST
746
747 Added two recently-defined _OSI strings. See
748 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
749 osi.
750 "Windows 2018"
751 "Windows 2018.2"
752
753 Update for buffer-to-string conversions via the ToHexString ASL operator.
754 A "0x" is now prepended to each of the hex values in the output string.
755 This provides compatibility with other ACPI implementations. The ACPI
756 specification is somewhat vague on this issue.
757 Example output string after conversion:
758 "0x01,0x02,0x03,0x04,0x05,0x06"
759
760 Return a run-time error for TermArg expressions within individual package
761 elements. Although this is technically supported by the ASL grammar,
762 other ACPI implementations do not support this either. Also, this fixes a
763 fault if this type of construct is ever encountered (it never has been).
764
765
766 2) iASL Compiler/Disassembler and Tools:
767
768 iASL: Implemented a new compile option (-ww) that will promote individual
769 warnings and remarks to errors. This is intended to enhance the firmware
770 build process.
771
772 AcpiExec: Implemented a new command-line option (-eo) to support the new
773 object evaluation trace mechanism described above.
774
775 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables
776 instead of a "unknown table" message.
777
778 AcpiHelp: Improved support for the "special" predefined names such as
779 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be
780 used for "xx" and "x".
781
782 ----------------------------------------
783 31 October 2018. Summary of changes for version 20181031:
784
785
786 An Operation Region regression was fixed by properly adding address
787 ranges to a global list during initialization. This allows OS to
788 accurately check for overlapping regions between native devices (such as
789 PCI) and Operation regions as well as checking for region conflicts
790 between two Operation Regions.
791
792 Added support for the 2-byte extended opcodes in the code/feature that
793 attempts to continue parsing during the table load phase. Skip parsing
794 Device declarations (and other extended opcodes) when an error occurs
795 during parsing. Previously, only single-byte opcodes were supported.
796
797 Cleanup: Simplified the module-level code support by eliminating a
798 useless global variable (AcpiGbl_GroupModuleLeveCode).
799
800
801 2) iASL Compiler/Disassembler and Tools:
802
803 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE
804 could cause a fault in the preprocessor. This was an inadvertent side-
805 effect from moving more allocations/frees to the local cache/memory
806 mechanism.
807
808 iASL: Enhanced error detection by validating that all NameSeg elements
809 within a NamePatch actually exist. The previous behavior was spotty at
810 best, and such errors could be improperly ignored at compiler time (never
811 at runtime, however. There are two new error messages, as shown in the
812 examples below:
813
814 dsdt.asl 33: CreateByteField (TTTT.BXXX, 1, CBF1)
815 Error 6161 - ^ One or more objects within
816 the Pathname do not exist (TTTT.BXXX)
817
818 dsdt.asl 34: CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
819 Error 6160 - One or more prefix Scopes do not exist ^
820 (BBBB.CBF1)
821
822 iASL: Disassembler/table-compiler: Added support for the static data
823 table TPM2 revision 3 (an older version of TPM2). The support has been
824 added for the compiler and the disassembler.
825
826 Fixed compilation of DOS format data table file on Unix/Linux systems.
827 iASL now properly detects line continuations (\) for DOS format data
828 table definition language files on when executing on Unix/Linux.
829
830 ----------------------------------------
831 03 October 2018. Summary of changes for version 20181003:
832
833
834 2) iASL Compiler/Disassembler and Tools:
835
836 Fixed a regression introduced in version 20180927 that could cause the
837 compiler to fault, especially with NamePaths containing one or more
838 carats (^). Such as: ^^_SB_PCI0
839
840 Added a new remark for the Sleep() operator when the sleep time operand
841 is larger than one second. This is a very long time for the ASL/BIOS code
842 and may not be what was intended by the ASL writer.
843
844 ----------------------------------------
845 27 September 2018. Summary of changes for version 20180927:
846
847
848 1) ACPICA kernel-resident subsystem:
849
850 Updated the GPE support to clear the status of all ACPI events when
851 entering any/all sleep states in order to avoid premature wakeups. In
852 theory, this may cause some wakeup events to be missed, but the
853 likelihood of this is small. This change restores the original behavior
854 of the ACPICA code in order to fix a regression seen from the previous
855 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change.
856 This regression could cause some systems to incorrectly wake immediately.
857
858 Updated the execution of the _REG methods during initialization and
859 namespace loading to bring the behavior into closer conformance to the
860 ACPI specification and other ACPI implementations:
861
862 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
863 "Control methods must assume all operation regions are inaccessible
864 until the _REG(RegionSpace, 1) method is executed"
865
866 "The exceptions to this rule are:
867 1. OSPM must guarantee that the following operation regions are always
868 accessible:
869 SystemIO operation regions.
870 SystemMemory operation regions when accessing memory returned by the
871 System Address Map reporting interfaces."
872
873 Since the state of both the SystemIO and SystemMemory address spaces are
874 defined by the specification to never change, this ACPICA change ensures
875 that now _REG is never called on them. This solves some problems seen in
876 the field and provides compatibility with other ACPI implementations. An
877 update to the upcoming new version of the ACPI specification will help
878 clarify this behavior.
879
880 Updated the implementation of support for the Generic Serial Bus. For the
881 "bidirectional" protocols, the internal implementation now automatically
882 creates a return data buffer of the maximum size (255). This handles the
883 worst-case for data that is returned from the serial bus handler, and
884 fixes some problems seen in the field. This new buffer is directly
885 returned to the ASL. As such, there is no true "bidirectional" buffer,
886 which matches the ACPI specification. This is the reason for the "double
887 store" seen in the example ASL code in the specification, shown below:
888
889 Word Process Call (AttribProcessCall):
890 OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
891 Field(TOP1, BufferAcc, NoLock, Preserve)
892 {
893 FLD1, 8, // Virtual register at command value 1.
894 }
895
896 Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
897 // as BUFF
898 CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
899
900 Store(0x5416, DATA) // Save 0x5416 into the data buffer
901 Store(Store(BUFF, FLD1), BUFF) // Invoke a write/read Process Call
902 transaction
903 // This is the "double store". The write to
904 // FLD1 returns a new buffer, which is stored
905 // back into BUFF with the second Store.
906
907
908 2) iASL Compiler/Disassembler and Tools:
909
910 iASL: Implemented detection of extraneous/redundant uses of the Offset()
911 operator within a Field Unit list. A remark is now issued for these. For
912 example, the first two of the Offset() operators below are extraneous.
913 Because both the compiler and the interpreter track the offsets
914 automatically, these Offsets simply refer to the current offset and are
915 unnecessary. Note, when optimization is enabled, the iASL compiler will
916 in fact remove the redundant Offset operators and will not emit any AML
917 code for them.
918
919 OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
920 Field (OPR1)
921 {
922 Offset (0), // Never needed
923 FLD1, 32,
924 Offset (4), // Redundant, offset is already 4 (bytes)
925 FLD2, 8,
926 Offset (64), // OK use of Offset.
927 FLD3, 16,
928 }
929 dsdt.asl 14: Offset (0),
930 Remark 2158 - ^ Unnecessary/redundant use of Offset
931 operator
932
933 dsdt.asl 16: Offset (4),
934 Remark 2158 - ^ Unnecessary/redundant use of Offset
935 operator
936
937 ----------------------------------------
938 10 August 2018. Summary of changes for version 20180810:
939
940
941 1) ACPICA kernel-resident subsystem:
942
943 Initial ACPI table loading: Attempt to continue loading ACPI tables
944 regardless of malformed AML. Since migrating table initialization to the
945 new module-level code support, the AML interpreter rejected tables upon
946 any ACPI error encountered during table load. This is a problem because
947 non-serious ACPI errors during table load do not necessarily mean that
948 the entire definition block (DSDT or SSDT) is invalid. This change
949 improves the table loading by ignoring some types of errors that can be
950 generated by incorrect AML. This can range from object type errors, scope
951 errors, and index errors.
952
953 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs
954 during suspend/resume. The status of ACPI events is no longer cleared
955 when entering the ACPI S5 system state (power off) which caused some
956 systems to power up immediately after turning off power in certain
957 situations. This was a functional regression. It was fixed by clearing
958 the status of all ACPI events again when entering S5 (for system-wide
959 suspend or hibernation the clearing of the status of all events is not
960 desirable, as it might cause the kernel to miss wakeup events sometimes).
961 Rafael Wysocki.
962
963
964 2) iASL Compiler/Disassembler and Tools:
965
966 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field
967 elements listed in the initialization file were previously initialized
968 after the table load and before executing module-level code blocks.
969 Recent changes in the module-level code support means that the table load
970 becomes a large control method execution. If fields are used within
971 module-level code and we are executing with the -fi option, the
972 initialization values were used to initialize the namespace object(s)
973 only after the table was finished loading. This change Provides an early
974 initialization of objects specified in the initialization file so that
975 field unit values are populated during the table load (not after the
976 load).
977
978 AcpiExec: Fixed a small memory leak regression that could result in
979 warnings during exit of the utility. These warnings were similar to
980 these:
981 0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
982 0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
983
984 ----------------------------------------
985 29 June 2018. Summary of changes for version 20180629:
986
987
988 1) iASL Compiler/Disassembler and Tools:
989
990 iASL: Fixed a regression related to the use of the ASL External
991 statement. Error checking for the use of the External() statement has
992 been relaxed. Previously, a restriction on the use of External meant that
993 the referenced named object was required to be defined in a different
994 table (an SSDT). Thus it would be an error to declare an object as an
995 external and then define the same named object in the same table. For
996 example:
997 DefinitionBlock (...)
998 {
999 External (DEV1)
1000 Device (DEV1){...} // This was an error
1001 }
1002 However, this behavior has caused regressions in some existing ASL code,
1003 because there is code that depends on named objects and externals (with
1004 the same name) being declared in the same table. This change will allow
1005 the ASL code above to compile without errors or warnings.
1006
1007 iASL: Implemented ASL language extensions for four operators to make some
1008 of their arguments optional instead of required:
1009 1) Field (RegionName, AccessType, LockRule, UpdateRule)
1010 2) BankField (RegionName, BankName, BankValue,
1011 AccessType, LockRule, UpdateRule)
1012 3) IndexField (IndexName, DataName,
1013 AccessType, LockRule, UpdateRule)
1014 For the Field operators above, the AccessType, LockRule, and UpdateRule
1015 are now optional arguments. The default values are:
1016 AccessType: AnyAcc
1017 LockRule: NoLock
1018 UpdateRule: Preserve
1019 4) Mutex (MutexName, SyncLevel)
1020 For this operator, the SyncLevel argument is now optional. This argument
1021 is rarely used in any meaningful way by ASL code, and thus it makes sense
1022 to make it optional. The default value is:
1023 SyncLevel: 0
1024
1025 iASL: Attempted use of the ASL Unload() operator now results in the
1026 following warning:
1027 "Unload is not supported by all operating systems"
1028 This is in fact very true, and the Unload operator may be completely
1029 deprecated in the near future.
1030
1031 AcpiExec: Fixed a regression for the -fi option (Namespace initialization
1032 file. Recent changes in the ACPICA module-level code support altered the
1033 table load/initialization sequence . This means that the table load has
1034 become a large method execution of the table itself. If Operation Region
1035 Fields are used within any module-level code and the -fi option was
1036 specified, the initialization values were populated only after the table
1037 had completely finished loading (and thus the module-level code had
1038 already been executed). This change moves the initialization of objects
1039 listed in the initialization file to before the table is executed as a
1040 method. Field unit values are now initialized before the table execution
1041 is performed.
1042
1043 ----------------------------------------
1044 31 May 2018. Summary of changes for version 20180531:
1045
1046
1047 1) ACPICA kernel-resident Subsystem:
1048
1049 Implemented additional support to help ensure that a DSDT or SSDT is
1050 fully loaded even if errors are incurred during the load. The majority of
1051 the problems that are seen is the failure of individual AML operators
1052 that occur during execution of any module-level code (MLC) existing in
1053 the table. This support adds a mechanism to abort the current ASL
1054 statement (AML opcode), emit an error message, and to simply move on to
1055 the next opcode -- instead of aborting the entire table load. This is
1056 different than the execution of a control method where the entire method
1057 is aborted upon any error. The goal is to perform a very "best effort" to
1058 load the ACPI tables. The most common MLC errors that have been seen in
1059 the field are direct references to unresolved ASL/AML symbols (referenced
1060 directly without the use of the CondRefOf operator to validate the
1061 symbol). This new ACPICA behavior is now compatible with other ACPI
1062 implementations.
1063
1064 Interpreter: The Unload AML operator is no longer supported for the
1065 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
1066 1) A correct implementation on at least some hosts may not be possible.
1067 2) Other ACPI implementations do not correctly/fully support it.
1068 3) It requires host device driver support which is not known to exist.
1069 (To properly support namespace unload out from underneath.)
1070 4) This AML operator has never been seen in the field.
1071
1072 Parser: Added a debug option to dump AML parse sub-trees as they are
1073 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is
1074 ACPI_DB_PARSE_TREES.
1075
1076 Debugger: Reduced the verbosity for errors incurred during table load and
1077 module-level code execution.
1078
1079 Completed an investigation into adding a namespace node "owner list"
1080 instead of the current "owner ID" associated with namespace nodes. This
1081 list would link together all nodes that are owned by an individual
1082 control method. The purpose would be to enhance control method execution
1083 by speeding up cleanup during method exit (all namespace nodes created by
1084 a method are deleted upon method termination.) Currently, the entire
1085 namespace must be searched for matching owner IDs if (and only if) the
1086 method creates named objects outside of the local scope. However, by far
1087 the most common case is that methods create objects locally, not outside
1088 the method scope. There is already an ACPICA optimization in place that
1089 only searches the entire namespace in the rare case of a method creating
1090 objects elsewhere in the namespace. Therefore, it is felt that the
1091 overhead of adding an additional pointer to each namespace node to
1092 implement the owner list makes this feature unnecessary.
1093
1094
1095 2) iASL Compiler/Disassembler and Tools:
1096
1097 iASL, Disassembler, and Template generator: Implemented support for
1098 Revision D of the IORT table. Adds a new subtable that is used to specify
1099 SMMUv3 PMCGs. rmurphy-arm.
1100
1101 Disassembler: Restored correct table header validation for the "special"
1102 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI
1103 table header and must be special-cased. This was a regression that has
1104 been present for apparently a long time.
1105
1106 AcpiExec: Reduced verbosity of the local exception handler implemented
1107 within acpiexec. This handler is invoked by ACPICA upon any exceptions
1108 generated during control method execution. A new option was added: -vh
1109 restores the original verbosity level if desired.
1110
1111 AcpiExec: Changed the default base from decimal to hex for the -x option
1112 (set debug level). This simplifies the use of this option and matches the
1113 behavior of the corresponding iASL -x option.
1114
1115 AcpiExec: Restored a force-exit on multiple control-c (sigint)
1116 interrupts. This allows program termination even if other issues cause
1117 the control-c to fail.
1118
1119 ASL test suite (ASLTS): Added tests for the recently implemented package
1120 element resolution mechanism that allows forward references to named
1121 objects from individual package elements (this mechanism provides
1122 compatibility with other ACPI implementations.)
1123
1124
1125 ----------------------------------------
1126 8 May 2018. Summary of changes for version 20180508:
1127
1128
1129 1) ACPICA kernel-resident subsystem:
1130
1131 Completed the new (recently deployed) package resolution mechanism for
1132 the Load and LoadTable ASL/AML operators. This fixes a regression that
1133 was introduced in version 20180209 that could result in an
1134 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table
1135 (SSDT) that contains package objects.
1136
1137
1138 2) iASL Compiler/Disassembler and Tools:
1139
1140 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than
1141 1 MB. This change allows for table offsets within the acpidump file to be
1142 up to 8 characters. These changes are backwards compatible with existing
1143 acpidump files.
1144
1145
1146 ----------------------------------------
1147 27 April 2018. Summary of changes for version 20180427:
1148
1149
1150 1) ACPICA kernel-resident subsystem:
1151
1152 Debugger: Added support for Package objects in the "Test Objects"
1153 command. This command walks the entire namespace and evaluates all named
1154 data objects (Integers, Strings, Buffers, and now Packages).
1155
1156 Improved error messages for the namespace root node. Originally, the root
1157 was referred to by the confusing string "\___". This has been replaced by
1158 "Namespace Root" for clarification.
1159
1160 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin
1161 Ian King <colin.king (a] canonical.com>.
1162
1163
1164 2) iASL Compiler/Disassembler and Tools:
1165
1166 iASL: Implemented support to detect and flag illegal forward references.
1167 For compatibility with other ACPI implementations, these references are
1168 now illegal at the root level of the DSDT or SSDTs. Forward references
1169 have always been illegal within control methods. This change should not
1170 affect existing ASL/AML code because of the fact that these references
1171 have always been illegal in the other ACPI implementation.
1172
1173 iASL: Added error messages for the case where a table OEM ID and OEM
1174 TABLE ID strings are longer than the ACPI-defined length. Previously,
1175 these strings were simply silently truncated.
1176
1177 iASL: Enhanced the -tc option (which creates an AML hex file in C,
1178 suitable for import into a firmware project):
1179 1) Create a unique name for the table, to simplify use of multiple
1180 SSDTs.
1181 2) Add a protection #ifdef in the file, similar to a .h header file.
1182 With assistance from Sami Mujawar, sami.mujawar (a] arm.com and Evan Lloyd,
1183 evan.lloyd (a] arm.com
1184
1185 AcpiExec: Added a new option, -df, to disable the local fault handler.
1186 This is useful during debugging, where it may be desired to drop into a
1187 debugger on a fault.
1188
1189 ----------------------------------------
1190 13 March 2018. Summary of changes for version 20180313:
1191
1192
1193 1) ACPICA kernel-resident subsystem:
1194
1195 Implemented various improvements to the GPE support:
1196
1197 1) Dispatch all active GPEs at initialization time so that no GPEs are
1198 lost.
1199 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled
1200 before devices are enumerated.
1201 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that
1202 IRQs are not lost.
1203 4) Add parallel GPE handling to eliminate the possibility of dispatching
1204 the same GPE twice.
1205 5) Dispatch any pending GPEs after enabling for the first time.
1206
1207 AcpiGetObjectInfo - removed support for the _STA method. This was causing
1208 problems on some platforms.
1209
1210 Added a new _OSI string, "Windows 2017.2".
1211
1212 Cleaned up and simplified the module-level code support. These changes
1213 are in preparation for the eventual removal of the legacy MLC support
1214 (deferred execution), replaced by the new MLC architecture which executes
1215 the MLC as a table is loaded (DSDT/SSDTs).
1216
1217 Changed a compile-time option to a runtime option. Changes the option to
1218 ignore ACPI table load-time package resolution errors into a runtime
1219 option. Used only for platforms that generate many AE_NOT_FOUND errors
1220 during boot. AcpiGbl_IgnorePackageResolutionErrors.
1221
1222 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some
1223 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid
1224 compilation errors from unused variables (seen with some compilers).
1225
1226
1227 2) iASL Compiler/Disassembler and Tools:
1228
1229 ASLTS: parallelized execution in order to achieve an (approximately) 2X
1230 performance increase.
1231
1232 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves
1233 error reporting.
1234
1235 ----------------------------------------
1236 09 February 2018. Summary of changes for version 20180209:
1237
1238
1239 1) ACPICA kernel-resident subsystem:
1240
1241 Completed the final integration of the recent changes to Package Object
1242 handling and the module-level AML code support. This allows forward
1243 references from individual package elements when the package object is
1244 declared from within module-level code blocks. Provides compatibility
1245 with other ACPI implementations.
1246
1247 The new architecture for the AML module-level code has been completed and
1248 is now the default for the ACPICA code. This new architecture executes
1249 the module-level code in-line as the ACPI table is loaded/parsed instead
1250 of the previous architecture which deferred this code until after the
1251 table was fully loaded. This solves some ASL code ordering issues and
1252 provides compatibility with other ACPI implementations. At this time,
1253 there is an option to fallback to the earlier architecture, but this
1254 support is deprecated and is planned to be completely removed later this
1255 year.
1256
1257 Added a compile-time option to ignore AE_NOT_FOUND exceptions during
1258 resolution of named reference elements within Package objects. Although
1259 this is potentially a serious problem, it can generate a lot of
1260 noise/errors on platforms whose firmware carries around a bunch of unused
1261 Package objects. To disable these errors, define
1262 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All
1263 errors are always reported for ACPICA applications such as AcpiExec.
1264
1265 Fixed a regression related to the explicit type-conversion AML operators
1266 (ToXXXX). The regression was introduced early in 2017 but was not seen
1267 until recently because these operators are not fully supported by other
1268 ACPI implementations and are thus rarely used by firmware developers. The
1269 operators are defined by the ACPI specification to not implement the
1270 "implicit result object conversion". The regression incorrectly
1271 introduced this object conversion for the following explicit conversion
1272 operators:
1273 ToInteger
1274 ToString
1275 ToBuffer
1276 ToDecimalString
1277 ToHexString
1278 ToBCD
1279 FromBCD
1280
1281
1282 2) iASL Compiler/Disassembler and Tools:
1283
1284 iASL: Fixed a problem with the compiler constant folding feature as
1285 related to the ToXXXX explicit conversion operators. These operators do
1286 not support the "implicit result object conversion" by definition. Thus,
1287 ASL expressions that use these operators cannot be folded to a simple
1288 Store operator because Store implements the implicit conversion. This
1289 change uses the CopyObject operator for the ToXXXX operator folding
1290 instead. CopyObject is defined to not implement implicit result
1291 conversions and is thus appropriate for folding the ToXXXX operators.
1292
1293 iASL: Changed the severity of an error condition to a simple warning for
1294 the case where a symbol is declared both locally and as an external
1295 symbol. This accommodates existing ASL code.
1296
1297 AcpiExec: The -ep option to enable the new architecture for module-level
1298 code has been removed. It is replaced by the -dp option which instead has
1299 the opposite effect: it disables the new architecture (the default) and
1300 enables the legacy architecture. When the legacy code is removed in the
1301 future, the -dp option will be removed also.
1302
1303 ----------------------------------------
1304 05 January 2018. Summary of changes for version 20180105:
1305
1306
1307 1) ACPICA kernel-resident subsystem:
1308
1309 Updated all copyrights to 2018. This affects all source code modules.
1310
1311 Fixed a possible build error caused by an unresolved reference to the
1312 AcpiUtSafeStrncpy function.
1313
1314 Removed NULL pointer arithmetic in the various pointer manipulation
1315 macros. All "(void *) NULL" constructs are converted to "(void *) 0".
1316 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
1317
1318 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj
1319 Mittal.
1320
1321
1322 2) iASL Compiler/Disassembler and Tools:
1323
1324 ASLTS: Updated all copyrights to 2018.
1325
1326 Tools: Updated all signon copyrights to 2018.
1327
1328 AcpiXtract: Fixed a regression related to ACPI table signatures where the
1329 signature was truncated to 3 characters (instead of 4).
1330
1331 AcpiExec: Restore the original terminal mode after the use of the -v and
1332 -vd options.
1333
1334 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
1335
1336 ----------------------------------------
1337 14 December 2017. Summary of changes for version 20171214:
1338
1339
1340 1) ACPICA kernel-resident subsystem:
1341
1342 Fixed a regression in the external (public) AcpiEvaluateObjectTyped
1343 interface where the optional "pathname" argument had inadvertently become
1344 a required argument returning an error if omitted (NULL pointer
1345 argument).
1346
1347 Fixed two possible memory leaks related to the recently developed "late
1348 resolution" of reference objects within ASL Package Object definitions.
1349
1350 Added two recently defined _OSI strings: "Windows 2016" and "Windows
1351 2017". Mario Limonciello.
1352
1353 Implemented and deployed a safer version of the C library function
1354 strncpy: AcpiUtSafeStrncpy. The intent is to at least prevent the
1355 creation of unterminated strings as a possible result of a standard
1356 strncpy.
1357
1358 Cleaned up and restructured the global variable file (acglobal.h). There
1359 are many changes, but no functional changes.
1360
1361
1362 2) iASL Compiler/Disassembler and Tools:
1363
1364 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the
1365 optional OemData field at the end of the table was incorrectly required
1366 for proper compilation. It is now correctly an optional field.
1367
1368 ASLTS: The entire suite was converted from standard ASL to the ASL+
1369 language, using the ASL-to-ASL+ converter which is integrated into the
1370 iASL compiler. A binary compare of all output files has verified the
1371 correctness of the conversion.
1372
1373 iASL: Fixed the source code build for platforms where "char" is unsigned.
1374 This affected the iASL lexer only. Jung-uk Kim.
1375
1376 ----------------------------------------
1377 10 November 2017. Summary of changes for version 20171110:
1378
1379
1380 1) ACPICA kernel-resident subsystem:
1381
1382 This release implements full support for ACPI 6.2A:
1383 NFIT - Added a new subtable, "Platform Capabilities Structure"
1384 No other changes to ACPICA were required, since ACPI 6.2A is primarily an
1385 errata release of the specification.
1386
1387 Other ACPI table changes:
1388 IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
1389 PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy
1390 Linton
1391
1392 Utilities: Modified the string/integer conversion functions to use
1393 internal 64-bit divide support instead of a native divide. On 32-bit
1394 platforms, a 64-bit divide typically requires a library function which
1395 may not be present in the build (kernel or otherwise).
1396
1397 Implemented a targeted error message for timeouts returned from the
1398 Embedded Controller device driver. This is seen frequently enough to
1399 special-case an AE_TIME returned from an EC operation region access:
1400 "Timeout from EC hardware or EC device driver"
1401
1402 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all
1403 runtime error messages have the identical prefix.
1404
1405
1406 2) iASL Compiler/Disassembler and Tools:
1407
1408 AcpiXtract: Fixed a problem with table header detection within the
1409 acpidump file. Processing a table could be ended early if a 0x40 (@)
1410 appears in the original binary table, resulting in the @ symbol appearing
1411 in the decoded ASCII field at the end of the acpidump text line. The
1412 symbol caused acpixtract to incorrectly think it had reached the end of
1413 the current table and the beginning of a new table.
1414
1415 AcpiXtract: Added an option (-f) to ignore some errors during table
1416 extraction. This initial implementation ignores non-ASCII and non-
1417 printable characters found in the acpidump text file.
1418
1419 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics
1420 for ASLTS. This feature is used to track memory allocations from
1421 different memory caches within the ACPICA code. At the end of an ASLTS
1422 run, these memory statistics are recorded and stored in a log file.
1423
1424 Debugger (user-space version): Implemented a simple "Background" command.
1425 Creates a new thread to execute a control method in the background, while
1426 control returns to the debugger prompt to allow additional commands.
1427 Syntax: Background <Namepath> [Arguments]
1428
1429 ----------------------------------------
1430 29 September 2017. Summary of changes for version 20170929:
1431
1432
1433 1) ACPICA kernel-resident subsystem:
1434
1435 Redesigned and implemented an improved ASL While() loop timeout
1436 mechanism. This mechanism is used to prevent infinite loops in the kernel
1437 AML interpreter caused by either non-responsive hardware or incorrect AML
1438 code. The new implementation uses AcpiOsGetTimer instead of a simple
1439 maximum loop count, and is thus more accurate and constant across
1440 different machines. The default timeout is currently 30 seconds, but this
1441 may be adjusted later.
1442
1443 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to
1444 better reflect the new implementation of the loop timeout mechanism.
1445
1446 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support
1447 and to fix an off-by-one error. Jung-uk Kim.
1448
1449 Fixed an EFI build problem by updating the makefiles to for a new file
1450 that was added, utstrsuppt.c
1451
1452
1453 2) iASL Compiler/Disassembler and Tools:
1454
1455 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This
1456 includes support in the table disassembler, compiler, and template
1457 generator.
1458
1459 iASL: Added an exception for an illegal type of recursive method
1460 invocation. If a method creates named objects, the first recursive call
1461 will fail at runtime. This change adds an error detection at compile time
1462 to catch the problem up front. Note: Marking such a method as
1463 "serialized" will not help with this problem, because the same thread can
1464 acquire the method mutex more than once. Example compiler and runtime
1465 output:
1466
1467 Method (MTH1)
1468 {
1469 Name (INT1, 1)
1470 MTH1 ()
1471 }
1472
1473 dsdt.asl 22: MTH1 ()
1474 Error 6152 - ^ Illegal recursive call to method
1475 that creates named objects (MTH1)
1476
1477 Previous runtime exception:
1478 ACPI Error: [INT1] Namespace lookup failure,
1479 AE_ALREADY_EXISTS (20170831/dswload2-465)
1480
1481 iASL: Updated support for External() opcodes to improve namespace
1482 management and error detection. These changes are related to issues seen
1483 with multiple-segment namespace pathnames within External declarations,
1484 such as below:
1485
1486 External(\_SB.PCI0.GFX0, DeviceObj)
1487 External(\_SB.PCI0.GFX0.ALSI)
1488
1489 iASL: Implemented support for multi-line error/warning messages. This
1490 enables more detailed and helpful error messages as below, from the
1491 initial deployment for the duplicate names error:
1492
1493 DSDT.iiii 1692: Device(PEG2) {
1494 Error 6074 - ^ Name already exists in scope
1495 (PEG2)
1496
1497 Original name creation/declaration below:
1498 DSDT.iiii 93: External(\_SB.PCI0.PEG2, DeviceObj)
1499
1500 AcpiXtract: Added additional flexibility to support differing input hex
1501 dump formats. Specifically, hex dumps that contain partial disassembly
1502 and/or comments within the ACPI table data definition. There exist some
1503 dump utilities seen in the field that create this type of hex dump (such
1504 as Simics). For example:
1505
1506 DSDT @ 0xdfffd0c0 (10999 bytes)
1507 Signature DSDT
1508 Length 10999
1509 Revision 1
1510 Checksum 0xf3 (Ok)
1511 OEM_ID BXPC
1512 OEM_table_id BXDSDT
1513 OEM_revision 1
1514 Creator_id 1280593481
1515 Creator_revision 537399345
1516 0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
1517 ...
1518 2af0: 5f 4c 30 46 00 a4 01
1519
1520 Test suite: Miscellaneous changes/fixes:
1521 More cleanup and simplification of makefiles
1522 Continue compilation of test cases after a compile failure
1523 Do not perform binary compare unless both files actually exist
1524
1525 iASL: Performed some code/module restructuring. Moved all memory
1526 allocation functions to new modules. Two new files, aslallocate.c and
1527 aslcache.c
1528
1529 ----------------------------------------
1530 31 August 2017. Summary of changes for version 20170831:
1531
1532
1533 1) ACPICA kernel-resident subsystem:
1534
1535 Implemented internal support for full 64-bit addresses that appear in all
1536 Generic Address Structure (GAS) structures. Previously, only the lower 32
1537 bits were used. Affects the use of GAS structures in the FADT and other
1538 tables, as well as the GAS structures passed to the AcpiRead and
1539 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
1540
1541 Added header support for the PDTT ACPI table (Processor Debug Trigger
1542 Table). Full support in the iASL Data Table Compiler and disassembler is
1543 forthcoming.
1544
1545
1546 2) iASL Compiler/Disassembler and Tools:
1547
1548 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor
1549 Properties Topology Table) where a flag bit was specified in the wrong
1550 bit position ("Line Size Valid", bit 6).
1551
1552 iASL: Implemented support for Octal integer constants as defined by the
1553 ASL language grammar, per the ACPI specification. Any integer constant
1554 that starts with a zero is an octal constant. For example,
1555 Store (037777, Local0) /* Octal constant */
1556 Store (0x3FFF, Local0) /* Hex equivalent */
1557 Store (16383, Local0) /* Decimal equivalent */
1558
1559 iASL: Improved overflow detection for 64-bit string conversions during
1560 compilation of integer constants. "Overflow" in this case means a string
1561 that represents an integer that is too large to fit into a 64-bit value.
1562 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to
1563 the low-order 32 bits with a warning, as previously implemented. Several
1564 new exceptions are defined that indicate a 64-bit overflow, as well as
1565 the base (radix) that was used during the attempted conversion. Examples:
1566 Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF // AE_HEX_OVERFLOW
1567 Local0 = 01111222233334444555566667777 // AE_OCTAL_OVERFLOW
1568 Local0 = 11112222333344445555666677778888 // AE_DECIMAL_OVERFLOW
1569
1570 iASL: Added a warning for the case where a ResourceTemplate is declared
1571 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In
1572 this case, the resulting template is created with a single END_TAG
1573 descriptor, which is essentially useless.
1574
1575 iASL: Expanded the -vw option (ignore specific warnings/remarks) to
1576 include compilation error codes as well.
1577
1578 ----------------------------------------
1579 28 July 2017. Summary of changes for version 20170728:
1580
1581
1582 1) ACPICA kernel-resident subsystem:
1583
1584 Fixed a regression seen with small resource descriptors that could cause
1585 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
1586
1587 AML interpreter: Implemented a new feature that allows forward references
1588 from individual named references within package objects that are
1589 contained within blocks of "module-level code". This provides
1590 compatibility with other ACPI implementations and supports existing
1591 firmware that depends on this feature. Example:
1592
1593 Name (ABCD, 1)
1594 If (ABCD) /* An If() at module-level */
1595 {
1596 Name (PKG1, Package()
1597 {
1598 INT1 /* Forward reference to object INT1
1599 */
1600 })
1601 Name (INT1, 0x1234)
1602 }
1603
1604 AML Interpreter: Fixed a problem with the Alias() operator where aliases
1605 to some ASL objects were not handled properly. Objects affected are:
1606 Mutex, Event, and OperationRegion.
1607
1608 AML Debugger: Enhanced to properly handle AML Alias objects. These
1609 objects have one level of indirection which was not fully supported by
1610 the debugger.
1611
1612 Table Manager: Added support to detect and ignore duplicate SSDTs within
1613 the XSDT/RSDT. This error in the XSDT has been seen in the field.
1614
1615 EFI and EDK2 support:
1616 Enabled /WX flag for MSVC builds
1617 Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
1618 Added local support for 64-bit multiply and shift operations
1619 Added support to compile acpidump.efi on Windows
1620 Added OSL function stubs for interfaces not used under EFI
1621
1622 Added additional support for the _DMA predefined name. _DMA returns a
1623 buffer containing a resource template. This change add support within the
1624 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of
1625 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi (a] arm.com>
1626
1627
1628 2) iASL Compiler/Disassembler and Tools:
1629
1630 iASL: Fixed a problem where the internal input line buffer(s) could
1631 overflow if there are very long lines in the input ASL source code file.
1632 Implemented buffer management that automatically increases the size of
1633 the buffers as necessary.
1634
1635 iASL: Added an option (-vx) to "expect" particular remarks, warnings and
1636 errors. If the specified exception is not raised during compilation, the
1637 compiler emits an error. This is intended to support the ASL test suite,
1638 but may be useful in other contexts.
1639
1640 iASL: Implemented a new predefined macro, __METHOD__, which returns a
1641 string containing the name of the current control method that is being
1642 compiled.
1643
1644 iASL: Implemented debugger and table compiler support for the SDEI ACPI
1645 table (Software Delegated Exception Interface). James Morse
1646 <james.morse (a] arm.com>
1647
1648 Unix/Linux makefiles: Added an option to disable compile optimizations.
1649 The disable occurs when the NOOPT flag is set to TRUE.
1650 theracermaster (a] gmail.com
1651
1652 Acpidump: Added support for multiple DSDT and FACS tables. This can occur
1653 when there are different tables for 32-bit versus 64-bit.
1654
1655 Enhanced error reporting for the ASL test suite (ASLTS) by removing
1656 unnecessary/verbose text, and emit the actual line number where an error
1657 has occurred. These changes are intended to improve the usefulness of the
1658 test suite.
1659
1660 ----------------------------------------
1661 29 June 2017. Summary of changes for version 20170629:
1662
1663
1664 1) ACPICA kernel-resident subsystem:
1665
1666 Tables: Implemented a deferred ACPI table verification. This is useful
1667 for operating systems where the tables cannot be verified in the early
1668 initialization stage due to early memory mapping limitations on some
1669 architectures. Lv Zheng.
1670
1671 Tables: Removed the signature validation for dynamically loaded tables.
1672 Provides compatibility with other ACPI implementations. Previously, only
1673 SSDT tables were allowed, as per the ACPI specification. Now, any table
1674 signature can be used via the Load() operator. Lv Zheng.
1675
1676 Tables: Fixed several mutex issues that could cause errors during table
1677 acquisition. Lv Zheng.
1678
1679 Tables: Fixed a problem where an ACPI warning could be generated if a
1680 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
1681
1682 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and
1683 AcpiPutTable interfaces. This applies to the "late stage" table loading
1684 when the use of AcpiPutTable is no longer required (since the system
1685 memory manager is fully running and available). Lv Zheng.
1686
1687 Fixed/Reverted a regression during processing of resource descriptors
1688 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG
1689 exception in this case.
1690
1691 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the
1692 I/O Remapping specification. Robin Murphy <robin.murphy (a] arm.com>
1693
1694 Interpreter: Fixed a possible fault if an Alias operator with an invalid
1695 or duplicate target is encountered during Alias creation in
1696 AcpiExCreateAlias. Alex James <theracermaster (a] gmail.com>
1697
1698 Added an option to use designated initializers for function pointers.
1699 Kees Cook <keescook (a] google.com>
1700
1701
1702 2) iASL Compiler/Disassembler and Tools:
1703
1704 iASL: Allow compilation of External declarations with target pathnames
1705 that refer to existing named objects within the table. Erik Schmauss.
1706
1707 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a
1708 FieldUnit name also is declared via External in the same table. Erik
1709 Schmauss.
1710
1711 iASL: Allow existing scope names within pathnames used in External
1712 statements. For example:
1713 External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
1714 Device (ABCD)
1715
1716 iASL: IORT ACPI table: Implemented changes required to decode the new
1717 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table
1718 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni (a] cavium.com>
1719
1720 Disassembler: Don't abort disassembly on errors from External()
1721 statements. Erik Schmauss.
1722
1723 Disassembler: fixed a possible fault when one of the Create*Field
1724 operators references a Resource Template. ACPICA Bugzilla 1396.
1725
1726 iASL: In the source code, resolved some naming inconsistences across the
1727 parsing support. Fixes confusion between "Parse Op" and "Parse Node".
1728 Adds a new file, aslparseop.c
1729
1730 ----------------------------------------
1731 31 May 2017. Summary of changes for version 20170531:
1732
1733
1734 0) ACPI 6.2 support:
1735
1736 The ACPI specification version 6.2 has been released and is available at
1737 http://uefi.org/specifications
1738
1739 This version of ACPICA fully supports the ACPI 6.2 specification. Changes
1740 are summarized below.
1741
1742 New ACPI tables (Table Compiler/Disassembler/Templates):
1743 HMAT (Heterogeneous Memory Attributes Table)
1744 WSMT (Windows SMM Security Mitigation Table)
1745 PPTT (Processor Properties Topology Table)
1746
1747 New subtables for existing ACPI tables:
1748 HEST (New subtable, Arch-deferred machine check)
1749 SRAT (New subtable, Arch-specific affinity structure)
1750 PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
1751
1752 Simple updates for existing ACPI tables:
1753 BGRT (two new flag bits)
1754 HEST (New bit defined for several subtables, GHES_ASSIST)
1755
1756 New Resource Descriptors and Resource macros (Compiler/Disassembler):
1757 PinConfig()
1758 PinFunction()
1759 PinGroup()
1760 PinGroupConfig()
1761 PinGroupFunction()
1762 New type for hardware error notification (section 18.3.2.9)
1763
1764 New predefined names/methods (Compiler/Interpreter):
1765 _HMA (Heterogeneous Memory Attributes)
1766 _LSI (Label Storage Information)
1767 _LSR (Label Storage Read)
1768 _LSW (Label Storage Write)
1769
1770 ASL grammar/macro changes (Compiler):
1771 For() ASL macro, implemented with the AML while operator
1772 Extensions to Concatenate operator
1773 Support for multiple definition blocks in same ASL file
1774 Clarification for Buffer operator
1775 Allow executable AML code underneath all scopes (Devices, etc.)
1776 Clarification/change for the _OSI return value
1777 ASL grammar update for reference operators
1778 Allow a zero-length string for AML filename in DefinitionBlock
1779
1780 Miscellaneous:
1781 New device object notification value
1782 Remove a notify value (0x0C) for graceful shutdown
1783 New UUIDs for processor/cache properties and
1784 physical package property
1785 New _HID, ACPI0014 (Wireless Power Calibration Device)
1786
1787
1788 1) ACPICA kernel-resident subsystem:
1789
1790 Added support to disable ACPI events on hardware-reduced platforms.
1791 Eliminates error messages of the form "Could not enable fixed event". Lv
1792 Zheng
1793
1794 Fixed a problem using Device/Thermal objects with the ObjectType and
1795 DerefOf ASL operators. This support had not been fully/properly
1796 implemented.
1797
1798 Fixed a problem where if a Buffer object containing a resource template
1799 was longer than the actual resource template, an error was generated --
1800 even though the AML is legal. This case has been seen in the field.
1801
1802 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag.
1803 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
1804
1805 Added header file changes for the TPM2 ACPI table. Update to new version
1806 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
1807
1808 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex.
1809 These interfaces are intended to be used only in conjunction with the
1810 predefined _DLM method (Device Lock Method). "This object appears in a
1811 device scope when AML access to the device must be synchronized with the
1812 OS environment".
1813
1814 Example Code and Data Size: These are the sizes for the OS-independent
1815 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1816 debug version of the code includes the debug output trace mechanism and
1817 has a much larger code and data size.
1818
1819 Current Release:
1820 Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
1821 Debug Version: 204.0K Code, 84.3K Data, 288.3K Total
1822 Previous Release:
1823 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1824 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
1825
1826
1827 2) iASL Compiler/Disassembler and Tools:
1828
1829 iASL: Fixed a problem where an External() declaration could not refer to
1830 a Field Unit. Erik Schmauss.
1831
1832 Disassembler: Improved support for the Switch/Case operators. This
1833 feature will disassemble AML code back to the original Switch operators
1834 when possible, instead of an If..Else sequence. David Box
1835
1836 iASL and disassembler: Improved the handling of multiple extraneous
1837 parentheses for both ASL input and disassembled ASL output.
1838
1839 Improved the behavior of the iASL compiler and disassembler to detect
1840 improper use of external declarations
1841
1842 Disassembler: Now aborts immediately upon detection of an unknown AML
1843 opcode. The AML parser has no real way to recover from this, and can
1844 result in the creation of an ill-formed parse tree that causes errors
1845 later during the disassembly.
1846
1847 All tools: Fixed a problem where the Unix application OSL did not handle
1848 control-c correctly. For example, a control-c could incorrectly wake the
1849 debugger.
1850
1851 AcpiExec: Improved the Control-C handling and added a handler for
1852 segmentation faults (SIGSEGV). Supports both Windows and Unix-like
1853 environments.
1854
1855 Reduced the verbosity of the generic unix makefiles. Previously, each
1856 compilation displayed the full set of compiler options. This has been
1857 eliminated as the options are easily inspected within the makefiles. Each
1858 compilation now results in a single line of output.
1859
1860 ----------------------------------------
1861 03 March 2017. Summary of changes for version 20170303:
1862
1863
1864 0) ACPICA licensing:
1865
1866 The licensing information at the start of each source code module has
1867 been updated. In addition to the Intel license, the dual GPLv2/BSD
1868 license has been added for completeness. Now, a single version of the
1869 source code should be suitable for all ACPICA customers. This is the
1870 major change for this release since it affects all source code modules.
1871
1872
1873 1) ACPICA kernel-resident subsystem:
1874
1875 Fixed two issues with the common asltypes.h header that could cause
1876 problems in some environments: (Kim Jung-uk)
1877 Removed typedef for YY_BUFFER_STATE ?
1878 Fixes an error with earlier versions of Flex.
1879 Removed use of FILE typedef (which is only defined in stdio.h)
1880
1881
1882 2) iASL Compiler/Disassembler and Tools:
1883
1884 Disassembler: fixed a regression introduced in 20170224. A fix for a
1885 memory leak related to resource descriptor tags (names) could fault when
1886 the disassembler was generated with 64-bit compilers.
1887
1888 The ASLTS test suite has been updated to implement a new testing
1889 architecture. During generation of the suite from ASL source, both the
1890 ASL and ASL+ compilers are now validated, as well as the disassembler
1891 itself (Erik Schmauss). The architecture executes as follows:
1892
1893 For every ASL source module:
1894 Compile (legacy ASL compilation)
1895 Disassemble the resulting AML to ASL+ source code
1896 Compile the new ASL+ module
1897 Perform a binary compare on the legacy AML and the new ASL+ AML
1898 The ASLTS suite then executes normally using the AML binaries.
1899
1900 ----------------------------------------
1901 24 February 2017. Summary of changes for version 20170224:
1902
1903
1904 1) ACPICA kernel-resident subsystem:
1905
1906 Interpreter: Fixed two issues with the control method return value auto-
1907 repair feature, where an attempt to double-delete an internal object
1908 could result in an ACPICA warning (for _CID repair and others). No fault
1909 occurs, however, because the attempted deletion (actually a release to an
1910 internal cache) is detected and ignored via object poisoning.
1911
1912 Debugger: Fixed an AML interpreter mutex issue during the single stepping
1913 of control methods. If certain debugger commands are executed during
1914 stepping, a mutex acquire/release error could occur. Lv Zheng.
1915
1916 Fixed some issues generating ACPICA with the Intel C compiler by
1917 restoring the original behavior and compiler-specific include file in
1918 acenv.h. Lv Zheng.
1919
1920 Example Code and Data Size: These are the sizes for the OS-independent
1921 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1922 debug version of the code includes the debug output trace mechanism and
1923 has a much larger code and data size.
1924
1925 Current Release:
1926 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1927 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
1928 Previous Release:
1929 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1930 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
1931
1932
1933 2) iASL Compiler/Disassembler and Tools:
1934
1935 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
1936 tool has been designed, implemented, and included in this release. The
1937 key feature of this utility is that the original comments within the
1938 input ASL file are preserved during the conversion process, and included
1939 within the converted ASL+ file -- thus creating a transparent conversion
1940 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
1941
1942 Usage: iasl -ca <ASL-filename> // Output is a .dsl file with
1943 converted code
1944
1945 iASL/Disassembler: Improved the detection and correct disassembly of
1946 Switch/Case operators. This feature detects sequences of if/elseif/else
1947 operators that originated from ASL Switch/Case/Default operators and
1948 emits the original operators. David Box.
1949
1950 iASL: Improved the IORT ACPI table support in the following areas. Lv
1951 Zheng:
1952 Clear MappingOffset if the MappingCount is zero.
1953 Fix the disassembly of the SMMU GSU interrupt offset.
1954 Update the template file for the IORT table.
1955
1956 Disassembler: Enhanced the detection and disassembly of resource
1957 template/descriptor within a Buffer object. An EndTag descriptor is now
1958 required to have a zero second byte, since all known ASL compilers emit
1959 this. This helps eliminate incorrect decisions when a buffer is
1960 disassembled (false positives on resource templates).
1961
1962 ----------------------------------------
1963 19 January 2017. Summary of changes for version 20170119:
1964
1965
1966 1) General ACPICA software:
1967
1968 Entire source code base: Added the 2017 copyright to all source code
1969 legal/licensing module headers and utility/tool signons. This includes
1970 the standard Linux dual-license header. This affects virtually every file
1971 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and
1972 the ACPICA test suite.
1973
1974
1975 2) iASL Compiler/Disassembler and Tools:
1976
1977 iASL: Removed/fixed an inadvertent remark when a method argument
1978 containing a reference is used as a target operand within the method (and
1979 never used as a simple argument), as in the example below. Jeffrey Hugo.
1980
1981 dsdt.asl 1507: Store(0x1, Arg0)
1982 Remark 2146 - ^ Method Argument is never used (Arg0)
1983
1984 All tools: Removed the bit width of the compiler that generated the tool
1985 from the common signon for all user space tools. This proved to be
1986 confusing and unnecessary. This includes similar removal of HARDWARE_NAME
1987 from the generic makefiles (Thomas Petazzoni). Example below.
1988
1989 Old:
1990 ASL+ Optimizing Compiler version 20170119-32
1991 ASL+ Optimizing Compiler version 20170119-64
1992
1993 New:
1994 ASL+ Optimizing Compiler version 20170119
1995
1996 ----------------------------------------
1997 22 December 2016. Summary of changes for version 20161222:
1998
1999
2000 1) ACPICA kernel-resident subsystem:
2001
2002 AML Debugger: Implemented a new mechanism to simplify and enhance
2003 debugger integration into all environments, including kernel debuggers
2004 and user-space utilities, as well as remote debug services. This
2005 mechanism essentially consists of new OSL interfaces to support debugger
2006 initialization/termination, as well as wait/notify interfaces to perform
2007 the debugger handshake with the host. Lv Zheng.
2008
2009 New OSL interfaces:
2010 AcpiOsInitializeDebugger (void)
2011 AcpiOsTerminateDebugger (void)
2012 AcpiOsWaitCommandReady (void)
2013 AcpiOsNotifyCommandComplete (void)
2014
2015 New OS services layer:
2016 osgendbg.c -- Example implementation, and used for AcpiExec
2017
2018 Update for Generic Address Space (GAS) support: Although the AccessWidth
2019 and/or BitOffset fields of the GAS are not often used, this change now
2020 fully supports these fields. This affects the internal support for FADT
2021 registers, registers in other ACPI data tables, and the AcpiRead and
2022 AcpiWrite public interfaces. Lv Zheng.
2023
2024 Sleep support: In order to simplify integration of ACPI sleep for the
2025 various host operating systems, a new OSL interface has been introduced.
2026 AcpiOsEnterSleep allows the host to perform any required operations
2027 before the final write to the sleep control register(s) is performed by
2028 ACPICA. Lv Zheng.
2029
2030 New OSL interface:
2031 AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
2032
2033 Called from these internal interfaces:
2034 AcpiHwLegacySleep
2035 AcpiHwExtendedSleep
2036
2037 EFI support: Added a very small EFI/ACPICA example application. Provides
2038 a simple demo for EFI integration, as well as assisting with resolution
2039 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
2040
2041 source/tools/efihello/efihello.c
2042
2043 Local C library: Implemented several new functions to enhance ACPICA
2044 portability, for environments where these clib functions are not
2045 available (such as EFI). Lv Zheng:
2046 putchar
2047 getchar
2048 strpbrk
2049 strtok
2050 memmove
2051
2052 Fixed a regression where occasionally a valid resource descriptor was
2053 incorrectly detected as invalid at runtime, and a
2054 AE_AML_NO_RESOURCE_END_TAG was returned.
2055
2056 Fixed a problem with the recently implemented support that enables
2057 control method invocations as Target operands to many ASL operators.
2058 Warnings of this form: "Needed type [Reference], found [Processor]" were
2059 seen at runtime for some method invocations.
2060
2061 Example Code and Data Size: These are the sizes for the OS-independent
2062 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2063 debug version of the code includes the debug output trace mechanism and
2064 has a much larger code and data size.
2065
2066 Current Release:
2067 Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
2068 Debug Version: 201.7K Code, 82.7K Data, 284.4K Total
2069 Previous Release:
2070 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
2071 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
2072
2073
2074 2) iASL Compiler/Disassembler and Tools:
2075
2076 Disassembler: Enhanced output by adding the capability to detect and
2077 disassemble ASL Switch/Case statements back to the original ASL source
2078 code instead of if/else blocks. David Box.
2079
2080 AcpiHelp: Split a large file into separate files based upon
2081 functionality/purpose. New files are:
2082 ahaml.c
2083 ahasl.c
2084
2085 ----------------------------------------
2086 17 November 2016. Summary of changes for version 20161117:
2087
2088
2089 1) ACPICA kernel-resident subsystem:
2090
2091 Table Manager: Fixed a regression introduced in 20160729, "FADT support
2092 cleanup". This was an attempt to remove all references in the source to
2093 the FADT version 2, which never was a legal version number. It was
2094 skipped because it was an early version of 64-bit support that was
2095 eventually abandoned for the current 64-bit support.
2096
2097 Interpreter: Fixed a problem where runtime implicit conversion was
2098 incorrectly disabled for the ASL operators below. This brings the
2099 behavior into compliance with the ACPI specification:
2100 FromBCD
2101 ToBCD
2102 ToDecimalString
2103 ToHexString
2104 ToInteger
2105 ToBuffer
2106
2107 Table Manager: Added a new public interface, AcpiPutTable, used to
2108 release and free an ACPI table returned by AcpiGetTable and related
2109 interfaces. Lv Zheng.
2110
2111 Example Code and Data Size: These are the sizes for the OS-independent
2112 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2113 debug version of the code includes the debug output trace mechanism and
2114 has a much larger code and data size.
2115
2116 Current Release:
2117 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
2118 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
2119 Previous Release:
2120 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
2121 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
2122
2123
2124 2) iASL Compiler/Disassembler and Tools:
2125
2126 Disassembler: Fixed a regression for disassembly of Resource Template.
2127 Detection of templates in the AML stream missed some types of templates.
2128
2129 iASL: Fixed a problem where an Access Size error was returned for the PCC
2130 address space when the AccessSize of the GAS register is greater than a
2131 DWORD. Hoan Tran.
2132
2133 iASL: Implemented several grammar changes for the operators below. These
2134 changes are slated for the next version of the ACPI specification:
2135 RefOf - Disallow method invocation as an operand
2136 CondRefOf - Disallow method invocation as an operand
2137 DerefOf - Disallow operands that use the result from operators
2138 that
2139 do not return a reference (Changed TermArg to
2140 SuperName).
2141
2142 iASL: Control method invocations are now allowed for Target operands, as
2143 per the ACPI specification. Removed error for using a control method
2144 invocation as a Target operand.
2145
2146 Disassembler: Improved detection of Resource Templates, Unicode, and
2147 Strings within Buffer objects. These subtypes do not contain a specific
2148 opcode to indicate the originating ASL code, and they must be detected by
2149 other means within the disassembler.
2150
2151 iASL: Implemented an optimization improvement for 32-bit ACPI tables
2152 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode
2153 only after 64-bit to 32-bit truncation. A truncation warning message is
2154 still emitted, however.
2155
2156 AcpiXtract: Implemented handling for both types of line terminators (LF
2157 or CR/LF) so that it can accept AcpiDump output files from any system.
2158 Peter Wu.
2159
2160 AcpiBin: Added two new options for comparing AML files:
2161 -a: compare and display ALL mismatches
2162 -o: start compare at this offset into the second file
2163
2164 ----------------------------------------
2165 30 September 2016. Summary of changes for version 20160930:
2166
2167
2168 1) ACPICA kernel-resident subsystem:
2169
2170 Fixed a regression in the internal AcpiTbFindTable function where a non
2171 AE_OK exception could inadvertently be returned even if the function did
2172 not fail. This problem affects the following operators:
2173 DataTableRegion
2174 LoadTable
2175
2176 Fixed a regression in the LoadTable operator where a load to any
2177 namespace location other than the root no longer worked properly.
2178
2179 Increased the maximum loop count value that will result in the
2180 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to
2181 prevent infinite loops within the AML interpreter and thus the host OS
2182 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to
2183 1,048,575).
2184
2185 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public
2186 acpixf.h file. This allows hosts to easily configure the maximum loop
2187 count at runtime.
2188
2189 Removed an illegal character in the strtoul64.c file. This character
2190 caused errors with some C compilers.
2191
2192 Example Code and Data Size: These are the sizes for the OS-independent
2193 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2194 debug version of the code includes the debug output trace mechanism and
2195 has a much larger code and data size.
2196
2197 Current Release:
2198 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
2199 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
2200 Previous Release:
2201 Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
2202 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
2203
2204
2205 2) iASL Compiler/Disassembler and Tools:
2206
2207 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into
2208 the simpler ASL ElseIf keyword. During the conversion, a trailing If
2209 block could be lost and missing from the disassembled output.
2210
2211 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+,
2212 the missing rule caused a parse error when using the Index operator as an
2213 operand to ObjectType. This construct now compiles properly. Example:
2214 ObjectType(PKG1[4]).
2215
2216 iASL: Correctly handle unresolved symbols in the hardware map file (-lm
2217 option). Previously, unresolved symbols could cause a protection fault.
2218 Such symbols are now marked as unresolved in the map file.
2219
2220 iASL: Implemented support to allow control method invocations as an
2221 operand to the ASL DeRefOf operator. Example:
2222 DeRefOf(MTH1(Local0))
2223
2224 Disassembler: Improved support for the ToPLD ASL macro. Detection of a
2225 possible _PLD buffer now includes examination of both the normal buffer
2226 length (16 or 20) as well as the surrounding AML package length.
2227
2228 Disassembler: Fixed a problem with the decoding of complex expressions
2229 within the Divide operator for ASL+. For the case where both the quotient
2230 and remainder targets are specified, the entire statement cannot be
2231 disassembled. Previously, the output incorrectly contained a mix of ASL-
2232 and ASL+ operators. This mixed statement causes a syntax error when
2233 compiled. Example:
2234 Divide (Add (INT1, 6), 128, RSLT, QUOT) // was incorrectly
2235 disassembled to:
2236 Divide (INT1 + 6, 128, RSLT, QUOT)
2237
2238 iASL/Tools: Added support to process AML and non-AML ACPI tables
2239 consistently. For the disassembler and AcpiExec, allow all types of ACPI
2240 tables (AML and data tables). For the iASL -e option, allow only AML
2241 tables (DSDT/SSDT).
2242
2243 ----------------------------------------
2244 31 August 2016. Summary of changes for version 20160831:
2245
2246
2247 1) ACPICA kernel-resident subsystem:
2248
2249 Improve support for the so-called "module-level code", which is defined
2250 to be math, logical and control AML opcodes that appear outside of any
2251 control method. This change improves the support by adding more opcodes
2252 that can be executed in the manner. Some other issues have been solved,
2253 and the ASL grammar changes to support such code under all scope
2254 operators (Device, etc.) are complete. Lv Zheng.
2255
2256 UEFI support: these OSL functions have been implemented. This is an
2257 additional step toward supporting the AcpiExec utility natively (with
2258 full hardware access) under UEFI. Marcelo Ferreira.
2259 AcpiOsReadPciConfiguration
2260 AcpiOsWritePciConfiguration
2261
2262 Fixed a possible mutex error during control method auto-serialization. Lv
2263 Zheng.
2264
2265 Updated support for the Generic Address Structure by fully implementing
2266 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv
2267 Zheng.
2268
2269 Updated the return value for the internal _OSI method. Instead of
2270 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF
2271 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI
2272 implementations, and will be reflected and clarified in the next version
2273 of the ACPI specification.
2274
2275 Implemented two new table events that can be passed to an ACPICA table
2276 handler. These events are used to indicate a table installation or
2277 uninstallation. These events are used in addition to existed table load
2278 and unload events. Lv Zheng.
2279
2280 Implemented a cleanup for all internal string-to-integer conversions.
2281 Consolidate multiple versions of this functionality and limit possible
2282 bases to either 10 or 16 to simplify the code. Adds a new file,
2283 utstrtoul64.
2284
2285 Cleanup the inclusion order of the various compiler-specific headers.
2286 This simplifies build configuration management. The compiler-specific
2287 headers are now split out from the host-specific headers. Lv Zheng.
2288
2289 Example Code and Data Size: These are the sizes for the OS-independent
2290 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2291 debug version of the code includes the debug output trace mechanism and
2292 has a much larger code and data size.
2293
2294 Current Release:
2295 Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
2296 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
2297
2298
2299 2) iASL Compiler/Disassembler and Tools:
2300
2301 iASL/AcpiExec: Added a command line option to display the build date/time
2302 of the tool (-vd). This can be useful to verify that the correct version
2303 of the tools are being used.
2304
2305 AML Debugger: Implemented a new subcommand ("execute predef") to execute
2306 all predefined control methods and names within the current namespace.
2307 This can be useful for debugging problems with ACPI tables and the ACPI
2308 namespace.
2309
2310 ----------------------------------------
2311 29 July 2016. Summary of changes for version 20160729:
2312
2313
2314 1) ACPICA kernel-resident subsystem:
2315
2316 Implemented basic UEFI support for the various ACPICA tools. This
2317 includes:
2318 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
2319 2) Support to obtain the ACPI tables on UEFI.
2320 3) Local implementation of required C library functions not available on
2321 UEFI.
2322 4) A front-end (main) function for the tools for UEFI-related
2323 initialization.
2324
2325 The initial deployment of this support is the AcpiDump utility executing
2326 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit").
2327 Current environments supported are Linux/Unix. MSVC generation is not
2328 supported at this time. See the generate/efi/README file for build
2329 instructions. Lv Zheng.
2330
2331 Future plans include porting the AcpiExec utility to execute natively on
2332 the platform with I/O and memory access. This will allow viewing/dump of
2333 the platform namespace and native execution of ACPI control methods that
2334 access the actual hardware. To fully implement this support, the OSL
2335 functions below must be implemented with UEFI interfaces. Any community
2336 help in the implementation of these functions would be appreciated:
2337 AcpiOsReadPort
2338 AcpiOsWritePort
2339 AcpiOsReadMemory
2340 AcpiOsWriteMemory
2341 AcpiOsReadPciConfiguration
2342 AcpiOsWritePciConfiguration
2343
2344 Restructured and standardized the C library configuration for ACPICA,
2345 resulting in the various configuration options below. This includes a
2346 global restructuring of the compiler-dependent and platform-dependent
2347 include files. These changes may affect the existing platform-dependent
2348 configuration files on some hosts. Lv Zheng.
2349
2350 The current C library configuration options appear below. For any issues,
2351 it may be helpful to examine the existing compiler-dependent and
2352 platform-dependent files as examples. Lv Zheng.
2353
2354 1) Linux kernel:
2355 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
2356 library.
2357 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
2358 2) Unix/Windows/BSD applications:
2359 ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C
2360 library.
2361 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
2362 3) UEFI applications:
2363 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
2364 library.
2365 ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
2366 4) UEFI applications (EDK2/StdLib):
2367 ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
2368 ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
2369
2370
2371 AML interpreter: "module-level code" support. Allows for execution of so-
2372 called "executable" AML code (math/logical operations, etc.) outside of
2373 control methods not just at the module level (top level) but also within
2374 any scope declared outside of a control method - Scope{}, Device{},
2375 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng.
2376
2377 Simplified the configuration of the "maximum AML loops" global option by
2378 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be
2379 modified at runtime.
2380
2381
2382 Example Code and Data Size: These are the sizes for the OS-independent
2383 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2384 debug version of the code includes the debug output trace mechanism and
2385 has a much larger code and data size.
2386
2387 Current Release:
2388 Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
2389 Debug Version: 199.0K Code, 81.8K Data, 280.8K Total
2390
2391
2392 2) iASL Compiler/Disassembler and Tools:
2393
2394 iASL: Add full support for the RASF ACPI table (RAS Features Table).
2395 Includes disassembler, data table compiler, and header support.
2396
2397 iASL Expand "module-level code" support. Allows for
2398 compilation/disassembly of so-called "executable" AML code (math/logical
2399 operations, etc.) outside of control methods not just at the module level
2400 (top level) but also within any scope declared outside of a control
2401 method - Scope{}, Device{}, Processor{}, PowerResource{}, and
2402 ThermalZone{}.
2403
2404 AcpiDump: Added support for dumping all SSDTs on newer versions of
2405 Windows. These tables are now easily available -- SSDTs are not available
2406 through the registry on older versions.
2407
2408 ----------------------------------------
2409 27 May 2016. Summary of changes for version 20160527:
2410
2411
2412 1) ACPICA kernel-resident subsystem:
2413
2414 Temporarily reverted the new arbitrary bit length/alignment support in
2415 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
2416 a number of regressions with the new code that need to be fully resolved
2417 and tested before this support can be finally integrated into ACPICA.
2418 Apologies for any inconveniences these issues may have caused.
2419
2420 The ACPI message macros are not configurable (ACPI_MSG_ERROR,
2421 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
2422 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
2423
2424 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
2425 option. Adds a new return macro, return_STR. Junk-uk Kim.
2426
2427 Example Code and Data Size: These are the sizes for the OS-independent
2428 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2429 debug version of the code includes the debug output trace mechanism and
2430 has a much larger code and data size.
2431
2432 Current Release:
2433 Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
2434 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
2435 Previous Release:
2436 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
2437 Debug Version: 200.9K Code, 82.2K Data, 283.1K Total
2438
2439 ----------------------------------------
2440 22 April 2016. Summary of changes for version 20160422:
2441
2442 1) ACPICA kernel-resident subsystem:
2443
2444 Fixed a regression in the GAS (generic address structure) arbitrary bit
2445 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
2446 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
2447
2448 ACPI 6.0: Added support for new/renamed resource macros. One new argument
2449 was added to each of these macros, and the original name has been
2450 deprecated. The AML disassembler will always disassemble to the new
2451 names. Support for the new macros was added to iASL, disassembler,
2452 resource manager, and the acpihelp utility. ACPICA BZ 1274.
2453
2454 I2cSerialBus -> I2cSerialBusV2
2455 SpiSerialBus -> SpiSerialBusV2
2456 UartSerialBus -> UartSerialBusV2
2457
2458 ACPI 6.0: Added support for a new integer field that was appended to the
2459 package object returned by the _BIX method. This adds iASL compile-time
2460 and AML runtime error checking. ACPICA BZ 1273.
2461
2462 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
2463 Subspace Type2" (Headers, Disassembler, and data table compiler).
2464
2465 Example Code and Data Size: These are the sizes for the OS-independent
2466 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2467 debug version of the code includes the debug output trace mechanism and
2468 has a much larger code and data size.
2469
2470 Current Release:
2471 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
2472 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
2473 Previous Release:
2474 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
2475 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
2476
2477
2478 2) iASL Compiler/Disassembler and Tools:
2479
2480 iASL: Implemented an ASL grammar extension to allow/enable executable
2481 "module-level code" to be created and executed under the various
2482 operators that create new scopes. This type of AML code is already
2483 supported in all known AML interpreters, and the grammar change will
2484 appear in the next version of the ACPI specification. Simplifies the
2485 conditional runtime creation of named objects under these object types:
2486
2487 Device
2488 PowerResource
2489 Processor
2490 Scope
2491 ThermalZone
2492
2493 iASL: Implemented a new ASL extension, a "For" loop macro to add greater
2494 ease-of-use to the ASL language. The syntax is similar to the
2495 corresponding C operator, and is implemented with the existing AML While
2496 opcode -- thus requiring no changes to existing AML interpreters.
2497
2498 For (Initialize, Predicate, Update) {TermList}
2499
2500 Grammar:
2501 ForTerm :=
2502 For (
2503 Initializer // Nothing | TermArg => ComputationalData
2504 Predicate // Nothing | TermArg => ComputationalData
2505 Update // Nothing | TermArg => ComputationalData
2506 ) {TermList}
2507
2508
2509 iASL: The _HID/_ADR detection and validation has been enhanced to search
2510 under conditionals in order to allow these objects to be conditionally
2511 created at runtime.
2512
2513 iASL: Fixed several issues with the constant folding feature. The
2514 improvement allows better detection and resolution of statements that can
2515 be folded at compile time. ACPICA BZ 1266.
2516
2517 iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
2518 conversion to the ASL ElseIf operator where incorrect ASL code could be
2519 generated.
2520
2521 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
2522 sometimes an extra (and extraneous) set of parentheses were emitted for
2523 some combinations of operators. Although this did not cause any problems
2524 with recompilation of the disassembled code, it made the code more
2525 difficult to read. David Box. ACPICA BZ 1231.
2526
2527 iASL: Changed to ignore the unreferenced detection for predefined names
2528 of resource descriptor elements, when the resource descriptor is
2529 created/defined within a control method.
2530
2531 iASL: Disassembler: Fix a possible fault with externally declared Buffer
2532 objects.
2533
2534 ----------------------------------------
2535 18 March 2016. Summary of changes for version 20160318:
2536
2537 1) ACPICA kernel-resident subsystem:
2538
2539 Added support for arbitrary bit lengths and bit offsets for registers
2540 defined by the Generic Address Structure. Previously, only aligned bit
2541 lengths of 8/16/32/64 were supported. This was sufficient for many years,
2542 but recently some machines have been seen that require arbitrary bit-
2543 level support. ACPICA BZ 1240. Lv Zheng.
2544
2545 Fixed an issue where the \_SB._INI method sometimes must be evaluated
2546 before any _REG methods are evaluated. Lv Zheng.
2547
2548 Implemented several changes related to ACPI table support
2549 (Headers/Disassembler/TableCompiler):
2550 NFIT: For ACPI 6.1, updated to add some additional new fields and
2551 constants.
2552 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
2553 6).
2554 DMAR: Added new constants per the 10/2014 DMAR spec.
2555 IORT: Added new subtable per the 10/2015 IORT spec.
2556 HEST: For ACPI 6.1, added new constants and new subtable.
2557 DBG2: Added new constants per the 12/2015 DBG2 spec.
2558 FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
2559 ACPICA BZ 1249.
2560 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
2561
2562 Updated header support for the DMAR table to match the current version of
2563 the related spec.
2564
2565 Added extensions to the ASL Concatenate operator to allow any ACPI object
2566 to be passed as an operand. Any object other than Integer/String/Buffer
2567 simply returns a string containing the object type. This extends the
2568 usefulness of the Printf macros. Previously, Concatenate would abort the
2569 control method if a non-data object was encountered.
2570
2571 ACPICA source code: Deployed the C "const" keyword across the source code
2572 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
2573
2574 Example Code and Data Size: These are the sizes for the OS-independent
2575 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2576 debug version of the code includes the debug output trace mechanism and
2577 has a much larger code and data size.
2578
2579 Current Release:
2580 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
2581 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
2582 Previous Release:
2583 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
2584 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
2585
2586
2587 2) iASL Compiler/Disassembler and Tools:
2588
2589 iASL/Disassembler: Improved the heuristic used to determine the number of
2590 arguments for an externally defined control method (a method in another
2591 table). Although this is an improvement, there is no deterministic way to
2592 "guess" the number of method arguments. Only the ACPI 6.0 External opcode
2593 will completely solve this problem as it is deployed (automatically) in
2594 newer BIOS code.
2595
2596 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
2597 statements that could cause errors when the disassembled file is
2598 compiled. ACPICA BZ 1243. David Box.
2599
2600 iASL: Fixed a regression caused by the merger of the two versions of the
2601 local strtoul64. Because of a dependency on a global variable, strtoul64
2602 could return an error for integers greater than a 32-bit value. ACPICA BZ
2603 1260.
2604
2605 iASL: Fixed a regression where a fault could occur for an ASL Return
2606 statement if it invokes a control method that is not resolved. ACPICA BZ
2607 1264.
2608
2609 AcpiXtract: Improved input file validation: detection of binary files and
2610 non-acpidump text files.
2611
2612 ----------------------------------------
2613 12 February 2016. Summary of changes for version 20160212:
2614
2615 1) ACPICA kernel-resident subsystem:
2616
2617 Implemented full support for the ACPI 6.1 specification (released in
2618 January). This version of the specification is available at:
2619 http://www.uefi.org/specifications
2620
2621 Only a relatively small number of changes were required in ACPICA to
2622 support ACPI 6.1, in these areas:
2623 - New predefined names
2624 - New _HID values
2625 - A new subtable for HEST
2626 - A few other header changes for new values
2627
2628 Ensure \_SB_._INI is executed before any _REG methods are executed. There
2629 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
2630
2631 Reverted a change made in version 20151218 which enabled method
2632 invocations to be targets of various ASL operators (SuperName and Target
2633 grammar elements). While the new behavior is supported by the ACPI
2634 specification, other AML interpreters do not support this behavior and
2635 never will. The ACPI specification will be updated for ACPI 6.2 to remove
2636 this support. Therefore, the change was reverted to the original ACPICA
2637 behavior.
2638
2639 ACPICA now supports the GCC 6 compiler.
2640
2641 Current Release: (Note: build changes increased sizes)
2642 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
2643 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
2644 Previous Release:
2645 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2646 Debug Version: 200.4K Code, 81.9K Data, 282.3K Total
2647
2648
2649 2) iASL Compiler/Disassembler and Tools:
2650
2651 Completed full support for the ACPI 6.0 External() AML opcode. The
2652 compiler emits an external AML opcode for each ASL External statement.
2653 This opcode is used by the disassembler to assist with the disassembly of
2654 external control methods by specifying the required number of arguments
2655 for the method. AML interpreters do not use this opcode. To ensure that
2656 interpreters do not even see the opcode, a block of one or more external
2657 opcodes is surrounded by an "If(0)" construct. As this feature becomes
2658 commonly deployed in BIOS code, the ability of disassemblers to correctly
2659 disassemble AML code will be greatly improved. David Box.
2660
2661 iASL: Implemented support for an optional cross-reference output file.
2662 The -lx option will create a the cross-reference file with the suffix
2663 "xrf". Three different types of cross-reference are created in this file:
2664 - List of object references made from within each control method
2665 - Invocation (caller) list for each user-defined control method
2666 - List of references to each non-method object in the namespace
2667
2668 iASL: Method invocations as ASL Target operands are now disallowed and
2669 flagged as errors in preparation for ACPI 6.2 (see the description of the
2670 problem above).
2671
2672 ----------------------------------------
2673 8 January 2016. Summary of changes for version 20160108:
2674
2675 1) ACPICA kernel-resident subsystem:
2676
2677 Updated all ACPICA copyrights and signons to 2016: Added the 2016
2678 copyright to all source code module headers and utility/tool signons.
2679 This includes the standard Linux dual-license header. This affects
2680 virtually every file in the ACPICA core subsystem, iASL compiler, all
2681 ACPICA utilities, and the ACPICA test suite.
2682
2683 Fixed a regression introduced in version 20151218 concerning the
2684 execution of so-called module-level ASL/AML code. Namespace objects
2685 created under a module-level If() construct were not properly/fully
2686 entered into the namespace and could cause an interpreter fault when
2687 accessed.
2688
2689 Example Code and Data Size: These are the sizes for the OS-independent
2690 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2691 debug version of the code includes the debug output trace mechanism and
2692 has a much larger code and data size.
2693
2694 Current Release:
2695 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2696 Debug Version: 200.4K Code, 81.9K Data, 282.4K Total
2697 Previous Release:
2698 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2699 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
2700
2701
2702 2) iASL Compiler/Disassembler and Tools:
2703
2704 Fixed a problem with the compilation of the GpioIo and GpioInt resource
2705 descriptors. The _PIN field name was incorrectly defined to be an array
2706 of 32-bit values, but the _PIN values are in fact 16 bits each. This
2707 would cause incorrect bit width warnings when using Word (16-bit) fields
2708 to access the descriptors.
2709
2710
2711 ----------------------------------------
2712 18 December 2015. Summary of changes for version 20151218:
2713
2714 1) ACPICA kernel-resident subsystem:
2715
2716 Implemented per-AML-table execution of "module-level code" as individual
2717 ACPI tables are loaded into the namespace during ACPICA initialization.
2718 In other words, any module-level code within an AML table is executed
2719 immediately after the table is loaded, instead of batched and executed
2720 after all of the tables have been loaded. This provides compatibility
2721 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
2722 David Box.
2723
2724 To fully support the feature above, the default operation region handlers
2725 for the SystemMemory, SystemIO, and PCI_Config address spaces are now
2726 installed before any ACPI tables are loaded. This enables module-level
2727 code to access these address spaces during the table load and module-
2728 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
2729 Box.
2730
2731 Implemented several changes to the internal _REG support in conjunction
2732 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
2733 utilities for the changes above. Although these tools were changed, host
2734 operating systems that simply use the default handlers for SystemMemory,
2735 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
2736
2737 For example, in the code below, DEV1 is conditionally added to the
2738 namespace by the DSDT via module-level code that accesses an operation
2739 region. The SSDT references DEV1 via the Scope operator. DEV1 must be
2740 created immediately after the DSDT is loaded in order for the SSDT to
2741 successfully reference DEV1. Previously, this code would cause an
2742 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
2743 fully supported by ACPICA.
2744
2745 DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
2746 {
2747 OperationRegion (OPR1, SystemMemory, 0x400, 32)
2748 Field (OPR1, AnyAcc, NoLock, Preserve)
2749 {
2750 FLD1, 1
2751 }
2752 If (FLD1)
2753 {
2754 Device (\DEV1)
2755 {
2756 }
2757 }
2758 }
2759 DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
2760 {
2761 External (\DEV1, DeviceObj)
2762 Scope (\DEV1)
2763 {
2764 }
2765 }
2766
2767 Fixed an AML interpreter problem where control method invocations were
2768 not handled correctly when the invocation was itself a SuperName argument
2769 to another ASL operator. In these cases, the method was not invoked.
2770 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
2771 argument:
2772 Store
2773 Acquire, Wait
2774 CondRefOf, RefOf
2775 Decrement, Increment
2776 Load, Unload
2777 Notify
2778 Signal, Release, Reset
2779 SizeOf
2780
2781 Implemented automatic String-to-ObjectReference conversion support for
2782 packages returned by predefined names (such as _DEP). A common BIOS error
2783 is to add double quotes around an ObjectReference namepath, which turns
2784 the reference into an unexpected string object. This support detects the
2785 problem and corrects it before the package is returned to the caller that
2786 invoked the method. Lv Zheng.
2787
2788 Implemented extensions to the Concatenate operator. Concatenate now
2789 accepts any type of object, it is not restricted to simply
2790 Integer/String/Buffer. For objects other than these 3 basic data types,
2791 the argument is treated as a string containing the name of the object
2792 type. This expands the utility of Concatenate and the Printf/Fprintf
2793 macros. ACPICA BZ 1222.
2794
2795 Cleaned up the output of the ASL Debug object. The timer() value is now
2796 optional and no longer emitted by default. Also, the basic data types of
2797 Integer/String/Buffer are simply emitted as their values, without a data
2798 type string -- since the data type is obvious from the output. ACPICA BZ
2799 1221.
2800
2801 Example Code and Data Size: These are the sizes for the OS-independent
2802 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2803 debug version of the code includes the debug output trace mechanism and
2804 has a much larger code and data size.
2805
2806 Current Release:
2807 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2808 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
2809 Previous Release:
2810 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2811 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
2812
2813
2814 2) iASL Compiler/Disassembler and Tools:
2815
2816 iASL: Fixed some issues with the ASL Include() operator. This operator
2817 was incorrectly defined in the iASL parser rules, causing a new scope to
2818 be opened for the code within the include file. This could lead to
2819 several issues, including allowing ASL code that is technically illegal
2820 and not supported by AML interpreters. Note, this does not affect the
2821 related #include preprocessor operator. ACPICA BZ 1212.
2822
2823 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
2824 operator is essentially an ASL macro since there is no AML opcode
2825 associated with it. The code emitted by the iASL compiler for ElseIf is
2826 an Else opcode followed immediately by an If opcode. The disassembler
2827 will now emit an ElseIf if it finds an Else immediately followed by an
2828 If. This simplifies the decoded ASL, especially for deeply nested
2829 If..Else and large Switch constructs. Thus, the disassembled code more
2830 closely follows the original source ASL. ACPICA BZ 1211. Example:
2831
2832 Old disassembly:
2833 Else
2834 {
2835 If (Arg0 == 0x02)
2836 {
2837 Local0 = 0x05
2838 }
2839 }
2840
2841 New disassembly:
2842 ElseIf (Arg0 == 0x02)
2843 {
2844 Local0 = 0x05
2845 }
2846
2847 AcpiExec: Added support for the new module level code behavior and the
2848 early region installation. This required a small change to the
2849 initialization, since AcpiExec must install its own operation region
2850 handlers.
2851
2852 AcpiExec: Added support to make the debug object timer optional. Default
2853 is timer disabled. This cleans up the debug object output -- the timer
2854 data is rarely used.
2855
2856 AcpiExec: Multiple ACPI tables are now loaded in the order that they
2857 appear on the command line. This can be important when there are
2858 interdependencies/references between the tables.
2859
2860 iASL/Templates. Add support to generate template files with multiple
2861 SSDTs within a single output file. Also added ommand line support to
2862 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
2863 1223, 1225.
2864
2865
2866 ----------------------------------------
2867 24 November 2015. Summary of changes for version 20151124:
2868
2869 1) ACPICA kernel-resident subsystem:
2870
2871 Fixed a possible regression for a previous update to FADT handling. The
2872 FADT no longer has a fixed table ID, causing some issues with code that
2873 was hardwired to a specific ID. Lv Zheng.
2874
2875 Fixed a problem where the method auto-serialization could interfere with
2876 the current SyncLevel. This change makes the auto-serialization support
2877 transparent to the SyncLevel support and management.
2878
2879 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
2880 interface is intended for early access to the namespace during the
2881 initial namespace device discovery walk. The _SUB method has been seen to
2882 access operation regions in some cases, causing errors because the
2883 operation regions are not fully initialized.
2884
2885 AML Debugger: Fixed some issues with the terminate/quit/exit commands
2886 that can cause faults. Lv Zheng.
2887
2888 AML Debugger: Add thread ID support so that single-step mode only applies
2889 to the AML Debugger thread. This prevents runtime errors within some
2890 kernels. Lv Zheng.
2891
2892 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
2893 methods that are invoked by this interface are optional, removed warnings
2894 emitted for the case where one or more of these methods do not exist.
2895 ACPICA BZ 1208, original change by Prarit Bhargava.
2896
2897 Made a major pass through the entire ACPICA source code base to
2898 standardize formatting that has diverged a bit over time. There are no
2899 functional changes, but this will of course cause quite a few code
2900 differences from the previous ACPICA release.
2901
2902 Example Code and Data Size: These are the sizes for the OS-independent
2903 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2904 debug version of the code includes the debug output trace mechanism and
2905 has a much larger code and data size.
2906
2907 Current Release:
2908 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2909 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
2910 Previous Release:
2911 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2912 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
2913
2914
2915 2) iASL Compiler/Disassembler and Tools:
2916
2917 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
2918 definition blocks within a single ASL file and the resulting AML file.
2919 Support for this type of file was also added to the various tools that
2920 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
2921 example code below shows two definition blocks within the same file:
2922
2923 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
2924 0x12345678)
2925 {
2926 }
2927 DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
2928 {
2929 }
2930
2931 iASL: Enhanced typechecking for the Name() operator. All expressions for
2932 the value of the named object must be reduced/folded to a single constant
2933 at compile time, as per the ACPI specification (the AML definition of
2934 Name()).
2935
2936 iASL: Fixed some code indentation issues for the -ic and -ia options (C
2937 and assembly headers). Now all emitted code correctly begins in column 1.
2938
2939 iASL: Added an error message for an attempt to open a Scope() on an
2940 object defined in an SSDT. The DSDT is always loaded into the namespace
2941 first, so any attempt to open a Scope on an SSDT object will fail at
2942 runtime.
2943
2944
2945 ----------------------------------------
2946 30 September 2015. Summary of changes for version 20150930:
2947
2948 1) ACPICA kernel-resident subsystem:
2949
2950 Debugger: Implemented several changes and bug fixes to assist support for
2951 the in-kernel version of the AML debugger. Lv Zheng.
2952 - Fix the "predefined" command for in-kernel debugger.
2953 - Do not enter debug command loop for the help and version commands.
2954 - Disallow "execute" command during execution/single-step of a method.
2955
2956 Interpreter: Updated runtime typechecking for all operators that have
2957 target operands. The operand is resolved and validated that it is legal.
2958 For example, the target cannot be a non-data object such as a Device,
2959 Mutex, ThermalZone, etc., as per the ACPI specification.
2960
2961 Debugger: Fixed the double-mutex user I/O handshake to work when local
2962 deadlock detection is enabled.
2963
2964 Debugger: limited display of method locals and arguments (LocalX and
2965 ArgX) to only those that have actually been initialized. This prevents
2966 lines of extraneous output.
2967
2968 Updated the definition of the NFIT table to correct the bit polarity of
2969 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
2970
2971 Example Code and Data Size: These are the sizes for the OS-independent
2972 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2973 debug version of the code includes the debug output trace mechanism and
2974 has a much larger code and data size.
2975
2976 Current Release:
2977 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2978 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
2979 Previous Release:
2980 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2981 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
2982
2983
2984 2) iASL Compiler/Disassembler and Tools:
2985
2986 iASL: Improved the compile-time typechecking for operands of many of the
2987 ASL operators:
2988
2989 -- Added an option to disable compiler operand/operator typechecking (-
2990 ot).
2991
2992 -- For the following operators, the TermArg operands are now validated
2993 when possible to be Integer data objects: BankField, OperationRegion,
2994 DataTableRegion, Buffer, and Package.
2995
2996 -- Store (Source, Target): Both the source and target operands are
2997 resolved and checked that the operands are both legal. For example,
2998 neither operand can be a non-data object such as a Device, Mutex,
2999 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
3000 operator can be used to store an object to any type of target object.
3001
3002 -- Store (Source, Target): If the source is a Package object, the target
3003 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
3004 is a Package, the source must also be a Package.
3005
3006 -- Store (Source, Target): A warning is issued if the source and target
3007 resolve to the identical named object.
3008
3009 -- Store (Source, <method invocation>): An error is generated for the
3010 target method invocation, as this construct is not supported by the AML
3011 interpreter.
3012
3013 -- For all ASL math and logic operators, the target operand must be a
3014 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
3015 includes the function return value also.
3016
3017 -- External declarations are also included in the typechecking where
3018 possible. External objects defined using the UnknownObj keyword cannot be
3019 typechecked, however.
3020
3021 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
3022 operator:
3023 - Legacy code: Index(PKG1, 3)
3024 - New ASL+ code: PKG1[3]
3025 This completes the ACPI 6.0 ASL+ support as it was the only operator not
3026 supported.
3027
3028 iASL: Fixed the file suffix for the preprocessor output file (.i). Two
3029 spaces were inadvertently appended to the filename, causing file access
3030 and deletion problems on some systems.
3031
3032 ASL Test Suite (ASLTS): Updated the master makefile to generate all
3033 possible compiler output files when building the test suite -- thus
3034 exercising these features of the compiler. These files are automatically
3035 deleted when the test suite exits.
3036
3037
3038 ----------------------------------------
3039 18 August 2015. Summary of changes for version 20150818:
3040
3041 1) ACPICA kernel-resident subsystem:
3042
3043 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
3044 Zheng. ACPICA BZ 1186.
3045
3046 Completed development to ensure that the ACPICA Disassembler and Debugger
3047 are fully standalone components of ACPICA. Removed cross-component
3048 dependences. Lv Zheng.
3049
3050 The max-number-of-AML-loops is now runtime configurable (previously was
3051 compile-time only). This is essentially a loop timeout to force-abort
3052 infinite AML loops. ACPCIA BZ 1192.
3053
3054 Debugger: Cleanup output to dump ACPI names and namepaths without any
3055 trailing underscores. Lv Zheng. ACPICA BZ 1135.
3056
3057 Removed unnecessary conditional compilations across the Debugger and
3058 Disassembler components where entire modules could be left uncompiled.
3059
3060 The aapits test is deprecated and has been removed from the ACPICA git
3061 tree. The test has never been completed and has not been maintained, thus
3062 becoming rather useless. ACPICA BZ 1015, 794.
3063
3064 A batch of small changes to close bugzilla and other reports:
3065 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
3066 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
3067 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
3068 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob
3069 Moore.
3070 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
3071 ACPICA BZ 1184.
3072 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
3073 operators.
3074 - Debugger: Split debugger initialization/termination interfaces. Lv
3075 Zheng.
3076 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table
3077 identification.
3078 - AcpiExec: Add debug message during _REG method phase during table
3079 load/init.
3080 - AcpiNames: Fix a regression where some output was missing and no longer
3081 emitted.
3082 - Debugger: General cleanup and simplification. Lv Zheng.
3083 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
3084
3085 Example Code and Data Size: These are the sizes for the OS-independent
3086 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3087 debug version of the code includes the debug output trace mechanism and
3088 has a much larger code and data size.
3089
3090 Current Release:
3091 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
3092 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
3093 Previous Release:
3094 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
3095 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
3096
3097
3098 2) iASL Compiler/Disassembler and Tools:
3099
3100 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
3101 were not handled properly and caused load errors. Now, properly invoke
3102 and use the ACPICA auto-reallocate mechanism for ACPI table data
3103 structures. ACPICA BZ 1188
3104
3105 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
3106 BZ 1190.
3107
3108 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
3109 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
3110 executed during initialization. ACPICA BZ 1187, 1189.
3111
3112 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
3113 that corresponds to each disassembled ASL statement, to simplify
3114 debugging. ACPICA BZ 1191.
3115
3116 Debugger: Add option to the "objects" command to display a summary of the
3117 current namespace objects (Object type and count). This is displayed if
3118 the command is entered with no arguments.
3119
3120 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
3121
3122
3123 ----------------------------------------
3124 17 July 2015. Summary of changes for version 20150717:
3125
3126 1) ACPICA kernel-resident subsystem:
3127
3128 Improved the partitioning between the Debugger and Disassembler
3129 components. This allows the Debugger to be used standalone within kernel
3130 code without the Disassembler (which is used for single stepping also).
3131 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
3132
3133 Debugger: Implemented a new command to trace the execution of control
3134 methods (Trace). This is especially useful for the in-kernel version of
3135 the debugger when file I/O may not be available for method trace output.
3136 See the ACPICA reference for more information. Lv Zheng.
3137
3138 Moved all C library prototypes (used for the local versions of these
3139 functions when requested) to a new header, acclib.h
3140 Cleaned up the use of non-ANSI C library functions. These functions are
3141 implemented locally in ACPICA. Moved all such functions to a common
3142 source file, utnonansi.c
3143
3144 Debugger: Fixed a problem with the "!!" command (get last command
3145 executed) where the debugger could enter an infinite loop and eventually
3146 crash.
3147
3148 Removed the use of local macros that were used for some of the standard C
3149 library functions to automatically cast input parameters. This mostly
3150 affected the is* functions where the input parameter is defined to be an
3151 int. This required a few modifications to the main ACPICA source code to
3152 provide casting for these functions and eliminate possible compiler
3153 warnings for these parameters.
3154
3155 Across the source code, added additional status/error checking to resolve
3156 issues discovered by static source code analysis tools such as Coverity.
3157
3158 Example Code and Data Size: These are the sizes for the OS-independent
3159 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3160 debug version of the code includes the debug output trace mechanism and
3161 has a much larger code and data size.
3162
3163 Current Release:
3164 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
3165 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
3166 Previous Release:
3167 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
3168 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
3169
3170
3171 2) iASL Compiler/Disassembler and Tools:
3172
3173 iASL: Fixed a regression where the device map file feature no longer
3174 worked properly when used in conjunction with the disassembler. It only
3175 worked properly with the compiler itself.
3176
3177 iASL: Implemented a new warning for method LocalX variables that are set
3178 but never used (similar to a C compiler such as gcc). This also applies
3179 to ArgX variables that are not defined by the parent method, and are
3180 instead (legally) used as local variables.
3181
3182 iASL/Preprocessor: Finished the pass-through of line numbers from the
3183 preprocessor to the compiler. This ensures that compiler errors/warnings
3184 have the correct original line numbers and filenames, regardless of any
3185 #include files.
3186
3187 iASL/Preprocessor: Fixed a couple of issues with comment handling and the
3188 pass-through of comments to the preprocessor output file (which becomes
3189 the compiler input file). Also fixed a problem with // comments that
3190 appear after a math expression.
3191
3192 iASL: Added support for the TCPA server table to the table compiler and
3193 template generator. (The client table was already previously supported)
3194
3195 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
3196 identify the iASL compiler.
3197
3198 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
3199 multiple times. The new names are ACPI_SIGN_NEGATIVE and
3200 ACPI_SIGN_POSITIVE.
3201
3202 AcpiHelp: Update to expand help messages for the iASL preprocessor
3203 directives.
3204
3205
3206 ----------------------------------------
3207 19 June 2015. Summary of changes for version 20150619:
3208
3209 Two regressions in version 20150616 have been addressed:
3210
3211 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
3212 etc.) This update changes ACPICA to only use the standard headers for
3213 functions, or the prototypes for the local versions of the C library
3214 functions. Across the source code, this required some additional casts
3215 for some Clib invocations for portability. Moved all local prototypes to
3216 a new file, acclib.h
3217
3218 Fixes several problems with recent changes to the handling of the FACS
3219 table that could cause some systems not to boot.
3220
3221
3222 ----------------------------------------
3223 16 June 2015. Summary of changes for version 20150616:
3224
3225
3226 1) ACPICA kernel-resident subsystem:
3227
3228 Across the entire ACPICA source code base, the various macros for the C
3229 library functions (such as ACPI_STRLEN, etc.) have been removed and
3230 replaced by the standard C library names (strlen, etc.) The original
3231 purpose for these macros is no longer applicable. This simplification
3232 reduces the number of macros used in the ACPICA source code
3233 significantly, improving readability and maintainability.
3234
3235 Implemented support for a new ACPI table, the OSDT. This table, the
3236 "override" SDT, can be loaded directly by the host OS at boot time. It
3237 enables the replacement of existing namespace objects that were installed
3238 via the DSDT and/or SSDTs. The primary purpose for this is to replace
3239 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
3240 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
3241 Moore.
3242
3243 Added support for systems with (improperly) two FACS tables -- a "32-bit"
3244 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
3245 X field). This change will support both automatically. There continues to
3246 be systems found with this issue. This support requires a change to the
3247 AcpiSetFirmwareWakingVector interface. Also, a public global variable has
3248 been added to allow the host to select which FACS is desired
3249 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
3250 details Lv Zheng.
3251
3252 Added a new feature to allow for systems that do not contain an FACS.
3253 Although this is already supported on hardware-reduced platforms, the
3254 feature has been extended for all platforms. The reasoning is that we do
3255 not want to abort the entire ACPICA initialization just because the
3256 system is seriously buggy and has no FACS.
3257
3258 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
3259 not correctly transcribed from the ACPI specification in ACPICA version
3260 20150515.
3261
3262 Implemented support for the _CLS object in the AcpiGetObjectInfo external
3263 interface.
3264
3265 Updated the definitions of the TCPA and TPM2 ACPI tables to the more
3266 recent TCG ACPI Specification, December 14, 2014. Table disassembler and
3267 compiler also updated. Note: The TCPA "server" table is not supported by
3268 the disassembler/table-compiler at this time.
3269
3270 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
3271
3272 Example Code and Data Size: These are the sizes for the OS-independent
3273 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3274 debug version of the code includes the debug output trace mechanism and
3275 has a much larger code and data size.
3276
3277 Current Release:
3278 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
3279 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
3280 Previous Release:
3281 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
3282 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
3283
3284
3285 2) iASL Compiler/Disassembler and Tools:
3286
3287 Disassembler: Fixed a problem with the new symbolic operator disassembler
3288 where incorrect ASL code could be emitted in some cases for the "non-
3289 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
3290 ShiftRight. The actual problem cases seem to be rather unusual in common
3291 ASL code, however. David Box.
3292
3293 Modified the linux version of acpidump to obtain ACPI tables from not
3294 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
3295 Zheng.
3296
3297 iASL: Fixed a problem where the user preprocessor output file (.i)
3298 contained extra data that was not expected. The compiler was using this
3299 file as a temporary file and passed through #line directives in order to
3300 keep compiler error messages in sync with the input file and line number
3301 across multiple include files. The (.i) is no longer a temporary file as
3302 the compiler uses a new, different file for the original purpose.
3303
3304 iASL: Fixed a problem where comments within the original ASL source code
3305 file were not passed through to the preprocessor output file, nor any
3306 listing files.
3307
3308 iASL: Fixed some issues for the handling of the "#include" preprocessor
3309 directive and the similar (but not the same) "Include" ASL operator.
3310
3311 iASL: Add support for the new OSDT in both the disassembler and compiler.
3312
3313 iASL: Fixed a problem with the constant folding support where a Buffer
3314 object could be incorrectly generated (incorrectly formed) during a
3315 conversion to a Store() operator.
3316
3317 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
3318 description text for the _REV predefined name. _REV now permanently
3319 returns 2, as per the ACPI 6.0 specification.
3320
3321 Debugger: Enhanced the output of the Debug ASL object for references
3322 produced by the Index operator. For Buffers and strings, only output the
3323 actual byte pointed to by the index. For packages, only print the single
3324 package element decoded by the index. Previously, the entire
3325 buffer/string/package was emitted.
3326
3327 iASL/Table-compiler: Fixed a regression where the "generic" data types
3328 were no longer recognized, causing errors.
3329
3330
3331 ----------------------------------------
3332 15 May 2015. Summary of changes for version 20150515:
3333
3334 This release implements most of ACPI 6.0 as described below.
3335
3336 1) ACPICA kernel-resident subsystem:
3337
3338 Implemented runtime argument checking and return value checking for all
3339 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
3340 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
3341
3342 Example Code and Data Size: These are the sizes for the OS-independent
3343 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3344 debug version of the code includes the debug output trace mechanism and
3345 has a much larger code and data size.
3346
3347 Current Release:
3348 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
3349 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
3350 Previous Release:
3351 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
3352 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
3353
3354
3355 2) iASL Compiler/Disassembler and Tools:
3356
3357 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
3358 names (argument count validation and return value typechecking.)
3359
3360 iASL disassembler and table compiler: implemented support for all new
3361 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
3362
3363 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
3364 tables: FADT, MADT.
3365
3366 iASL preprocessor: Added a new directive to enable inclusion of binary
3367 blobs into ASL code. The new directive is #includebuffer. It takes a
3368 binary file as input and emits a named ascii buffer object into the ASL
3369 code.
3370
3371 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
3372
3373 AcpiHelp: Added a new option, -d, to display all iASL preprocessor
3374 directives.
3375
3376 AcpiHelp: Added a new option, -t, to display all known/supported ACPI
3377 tables.
3378
3379
3380 ----------------------------------------
3381 10 April 2015. Summary of changes for version 20150410:
3382
3383 Reverted a change introduced in version 20150408 that caused
3384 a regression in the disassembler where incorrect operator
3385 symbols could be emitted.
3386
3387
3388 ----------------------------------------
3389 08 April 2015. Summary of changes for version 20150408:
3390
3391
3392 1) ACPICA kernel-resident subsystem:
3393
3394 Permanently set the return value for the _REV predefined name. It now
3395 returns 2 (was 5). This matches other ACPI implementations. _REV will be
3396 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
3397 for ACPI 2.0 and later. It should never be used to differentiate or
3398 identify operating systems.
3399
3400 Added the "Windows 2015" string to the _OSI support. ACPICA will now
3401 return TRUE to a query with this string.
3402
3403 Fixed several issues with the local version of the printf function.
3404
3405 Added the C99 compiler option (-std=c99) to the Unix makefiles.
3406
3407 Current Release:
3408 Non-Debug Version: 99.9K Code, 27.4K Data, 127.3K Total
3409 Debug Version: 195.2K Code, 80.7K Data, 275.9K Total
3410 Previous Release:
3411 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
3412 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
3413
3414
3415 2) iASL Compiler/Disassembler and Tools:
3416
3417 iASL: Implemented an enhancement to the constant folding feature to
3418 transform the parse tree to a simple Store operation whenever possible:
3419 Add (2, 3, X) ==> is converted to: Store (5, X)
3420 X = 2 + 3 ==> is converted to: Store (5, X)
3421
3422 Updated support for the SLIC table (Software Licensing Description Table)
3423 in both the Data Table compiler and the disassembler. The SLIC table
3424 support now conforms to "Microsoft Software Licensing Tables (SLIC and
3425 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
3426 following the ACPI header is now defined to be "Proprietary Data", and as
3427 such, can only be entered or displayed as a hex data block.
3428
3429 Implemented full support for the MSDM table as described in the document
3430 above. Note: The format of MSDM is similar to SLIC. Any MSDM data
3431 following the ACPI header is defined to be "Proprietary Data", and can
3432 only be entered or displayed as a hex data block.
3433
3434 Implemented the -Pn option for the iASL Table Compiler (was only
3435 implemented for the ASL compiler). This option disables the iASL
3436 preprocessor.
3437
3438 Disassembler: For disassembly of Data Tables, added a comment field
3439 around the Ascii equivalent data that is emitted as part of the "Raw
3440 Table Data" block. This prevents the iASL Preprocessor from possible
3441 confusion if/when the table is compiled.
3442
3443 Disassembler: Added an option (-df) to force the disassembler to assume
3444 that the table being disassembled contains valid AML. This feature is
3445 useful for disassembling AML files that contain ACPI signatures other
3446 than DSDT or SSDT (such as OEMx or other signatures).
3447
3448 Changes for the EFI version of the tools:
3449 1) Fixed a build error/issue
3450 2) Fixed a cast warning
3451
3452 iASL: Fixed a path issue with the __FILE__ operator by making the
3453 directory prefix optional within the internal SplitInputFilename
3454 function.
3455
3456 Debugger: Removed some unused global variables.
3457
3458 Tests: Updated the makefile for proper generation of the AAPITS suite.
3459
3460
3461 ----------------------------------------
3462 04 February 2015. Summary of changes for version 20150204:
3463
3464 ACPICA kernel-resident subsystem:
3465
3466 Updated all ACPICA copyrights and signons to 2014. Added the 2014
3467 copyright to all module headers and signons, including the standard Linux
3468 header. This affects virtually every file in the ACPICA core subsystem,
3469 iASL compiler, all ACPICA utilities, and the test suites.
3470
3471 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
3472 A raw gpe handling mechanism was created to allow better handling of GPE
3473 storms that aren't easily managed by the normal handler. The raw handler
3474 allows disabling/renabling of the the GPE so that interrupt storms can be
3475 avoided in cases where events cannot be timely serviced. In this
3476 scenario, handlers should use the AcpiSetGpe() API to disable/enable the
3477 GPE. This API will leave the reference counts undisturbed, thereby
3478 preventing unintentional clearing of the GPE when the intent in only to
3479 temporarily disable it. Raw handlers allow enabling and disabling of a
3480 GPE by removing GPE register locking. As such, raw handlers much provide
3481 their own locks while using GPE API's to protect access to GPE data
3482 structures.
3483 Lv Zheng
3484
3485 Events: Always modify GPE registers under the GPE lock.
3486 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
3487 values. Reported as bug by joe.liu (a] apple.com.
3488
3489 Unix makefiles: Separate option to disable optimizations and
3490 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
3491 NOOPT disable option and creates a separate flag (NOFORTIFY) for this
3492 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
3493 errors when building ACPICA. This allows disabling the option without
3494 also having to disable optimazations.
3495 David Box
3496
3497 Current Release:
3498 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
3499 Debug Version: 199.2K Code, 82.4K Data, 281.6K Total
3500
3501 --
3502 --------------------------------------
3503 07 November 2014. Summary of changes for version 20141107:
3504
3505 This release is available at https://acpica.org/downloads
3506
3507 This release introduces and implements language extensions to ASL that
3508 provide support for symbolic ("C-style") operators and expressions. These
3509 language extensions are known collectively as ASL+.
3510
3511
3512 1) iASL Compiler/Disassembler and Tools:
3513
3514 Disassembler: Fixed a problem with disassembly of the UartSerialBus
3515 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
3516 Box.
3517
3518 Disassembler: Fixed the Unicode macro support to add escape sequences.
3519 All non-printable ASCII values are emitted as escape sequences, as well
3520 as the standard escapes for quote and backslash. Ensures that the
3521 disassembled macro can be correctly recompiled.
3522
3523 iASL: Added Printf/Fprintf macros for formatted output. These macros are
3524 translated to existing AML Concatenate and Store operations. Printf
3525 writes to the ASL Debug object. Fprintf allows the specification of an
3526 ASL name as the target. Only a single format specifier is required, %o,
3527 since the AML interpreter dynamically converts objects to the required
3528 type. David E. Box.
3529
3530 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
3531 (Concatenate (Concatenate (Concatenate ("", Arg0),
3532 ": Unexpected value for "), Arg1), ", "), Arg2),
3533 " at line "), Arg3), Debug)
3534
3535 (new) Printf ("%o: Unexpected value for %o, %o at line %o",
3536 Arg0, Arg1, Arg2, Arg3)
3537
3538 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
3539 ("", Arg1), ": "), Arg0), " Successful"), STR1)
3540
3541 (new) Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
3542
3543 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
3544 ASL parse tree before the AML code is generated. This allows blocks of
3545 ASL code to be removed in order to help locate and identify problem
3546 devices and/or code. David E. Box.
3547
3548 AcpiExec: Added support (-fi) for an optional namespace object
3549 initialization file. This file specifies initial values for namespace
3550 objects as necessary for debugging and testing different ASL code paths
3551 that may be taken as a result of BIOS options.
3552
3553
3554 2) Overview of symbolic operator support for ASL (ASL+)
3555 -------------------------------------------------------
3556
3557 As an extension to the ASL language, iASL implements support for symbolic
3558 (C-style) operators for math and logical expressions. This can greatly
3559 simplify ASL code as well as improve both readability and
3560 maintainability. These language extensions can exist concurrently with
3561 all legacy ASL code and expressions.
3562
3563 The symbolic extensions are 100% compatible with existing AML
3564 interpreters, since no new AML opcodes are created. To implement the
3565 extensions, the iASL compiler transforms the symbolic expressions into
3566 the legacy ASL/AML equivalents at compile time.
3567
3568 Full symbolic expressions are supported, along with the standard C
3569 precedence and associativity rules.
3570
3571 Full disassembler support for the symbolic expressions is provided, and
3572 creates an automatic migration path for existing ASL code to ASL+ code
3573 via the disassembly process. By default, the disassembler now emits ASL+
3574 code with symbolic expressions. An option (-dl) is provided to force the
3575 disassembler to emit legacy ASL code if desired.
3576
3577 Below is the complete list of the currently supported symbolic operators
3578 with examples. See the iASL User Guide for additional information.
3579
3580
3581 ASL+ Syntax Legacy ASL Equivalent
3582 ----------- ---------------------
3583
3584 // Math operators
3585
3586 Z = X + Y Add (X, Y, Z)
3587 Z = X - Y Subtract (X, Y, Z)
3588 Z = X * Y Multiply (X, Y, Z)
3589 Z = X / Y Divide (X, Y, , Z)
3590 Z = X % Y Mod (X, Y, Z)
3591 Z = X << Y ShiftLeft (X, Y, Z)
3592 Z = X >> Y ShiftRight (X, Y, Z)
3593 Z = X & Y And (X, Y, Z)
3594 Z = X | Y Or (X, Y, Z)
3595 Z = X ^ Y Xor (X, Y, Z)
3596 Z = ~X Not (X, Z)
3597 X++ Increment (X)
3598 X-- Decrement (X)
3599
3600 // Logical operators
3601
3602 (X == Y) LEqual (X, Y)
3603 (X != Y) LNotEqual (X, Y)
3604 (X < Y) LLess (X, Y)
3605 (X > Y) LGreater (X, Y)
3606 (X <= Y) LLessEqual (X, Y)
3607 (X >= Y) LGreaterEqual (X, Y)
3608 (X && Y) LAnd (X, Y)
3609 (X || Y) LOr (X, Y)
3610 (!X) LNot (X)
3611
3612 // Assignment and compound assignment operations
3613
3614 X = Y Store (Y, X)
3615 X += Y Add (X, Y, X)
3616 X -= Y Subtract (X, Y, X)
3617 X *= Y Multiply (X, Y, X)
3618 X /= Y Divide (X, Y, , X)
3619 X %= Y Mod (X, Y, X)
3620 X <<= Y ShiftLeft (X, Y, X)
3621 X >>= Y ShiftRight (X, Y, X)
3622 X &= Y And (X, Y, X)
3623 X |= Y Or (X, Y, X)
3624 X ^= Y Xor (X, Y, X)
3625
3626
3627 3) ASL+ Examples:
3628 -----------------
3629
3630 Legacy ASL:
3631 If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
3632 And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
3633 0x03FB),
3634 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
3635 {
3636 And (MEMB, 0xFFFFFFF0, SRMB)
3637 Store (MEMB, Local2)
3638 Store (PDBM, Local1)
3639 And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
3640 Store (SRMB, MEMB)
3641 Or (PDBM, 0x02, PDBM)
3642 }
3643
3644 ASL+ version:
3645 If (((R510 & 0x03FB) == 0x02E0) ||
3646 ((R520 & 0x03FB) == 0x02E0) ||
3647 ((R530 & 0x03FB) == 0x02E0) ||
3648 ((R540 & 0x03FB) == 0x02E0))
3649 {
3650 SRMB = (MEMB & 0xFFFFFFF0)
3651 Local2 = MEMB
3652 Local1 = PDBM
3653 PDBM &= 0xFFFFFFFFFFFFFFF9
3654 MEMB = SRMB
3655 PDBM |= 0x02
3656 }
3657
3658 Legacy ASL:
3659 Store (0x1234, Local1)
3660 Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
3661 Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
3662 Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
3663 Store (Index (PKG1, 0x03), Local6)
3664 Store (Add (Local3, Local2), Debug)
3665 Add (Local1, 0x0F, Local2)
3666 Add (Local1, Multiply (Local2, Local3), Local2)
3667 Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
3668
3669 ASL+ version:
3670 Local1 = 0x1234
3671 Local3 = (((Local1 + TEST) + 0x20) * Local2)
3672 Local3 = (Local2 * ((Local1 + TEST) + 0x20))
3673 Local3 = (Local1 + (TEST + (0x20 * Local2)))
3674 Local6 = Index (PKG1, 0x03)
3675 Debug = (Local3 + Local2)
3676 Local2 = (Local1 + 0x0F)
3677 Local2 = (Local1 + (Local2 * Local3))
3678 Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
3679
3680
3681 ----------------------------------------
3682 26 September 2014. Summary of changes for version 20140926:
3683
3684 1) ACPICA kernel-resident subsystem:
3685
3686 Updated the GPIO operation region handler interface (GeneralPurposeIo).
3687 In order to support GPIO Connection objects with multiple pins, along
3688 with the related Field objects, the following changes to the interface
3689 have been made: The Address is now defined to be the offset in bits of
3690 the field unit from the previous invocation of a Connection. It can be
3691 viewed as a "Pin Number Index" into the connection resource descriptor.
3692 The BitWidth is the exact bit width of the field. It is usually one bit,
3693 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
3694 additional information and examples.
3695
3696 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
3697 corresponding _Lxx/_Exx methods are disabled (they may have been enabled
3698 by the firmware), so that they cannot fire until they are enabled via
3699 AcpiUpdateAllGpes. Rafael J. Wysocki.
3700
3701 Added a new return flag for the Event/GPE status interfaces --
3702 AcpiGetEventStatus and AcpiGetGpeStatus. The new
3703 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
3704 GPE currently has a handler associated with it, and can thus actually
3705 affect the system. Lv Zheng.
3706
3707 Example Code and Data Size: These are the sizes for the OS-independent
3708 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3709 debug version of the code includes the debug output trace mechanism and
3710 has a much larger code and data size.
3711
3712 Current Release:
3713 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
3714 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
3715 Previous Release:
3716 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
3717 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
3718
3719 2) iASL Compiler/Disassembler and Tools:
3720
3721 iASL: Fixed a memory allocation/free regression introduced in 20140828
3722 that could cause the compiler to crash. This was introduced inadvertently
3723 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
3724 1113.
3725
3726 iASL: Removed two error messages that have been found to create false
3727 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
3728 1) Illegal forward reference within a method
3729 2) Illegal reference across two methods
3730
3731 iASL: Implemented a new option (-lm) to create a hardware mapping file
3732 that summarizes all GPIO, I2C, SPI, and UART connections. This option
3733 works for both the compiler and disassembler. See the iASL compiler user
3734 guide for additional information and examples (section 6.4.6).
3735
3736 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
3737 version 2. This corrects the AE_BAD_HEADER exception seen on systems with
3738 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
3739
3740 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
3741 unless STDIN is actually a terminal. Assists with batch-mode processing.
3742 ACPICA BZ 1114.
3743
3744 Disassembler/AcpiHelp: Added another large group of recognized _HID
3745 values.
3746
3747
3748 ----------------------------------------
3749 28 August 2014. Summary of changes for version 20140828:
3750
3751 1) ACPICA kernel-resident subsystem:
3752
3753 Fixed a problem related to the internal use of the Timer() operator where
3754 a 64-bit divide could cause an attempted link to a double-precision math
3755 library. This divide is not actually necessary, so the code was
3756 restructured to eliminate it. Lv Zheng.
3757
3758 ACPI 5.1: Added support for the runtime validation of the _DSD package
3759 (similar to the iASL support).
3760
3761 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
3762 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
3763
3764 Example Code and Data Size: These are the sizes for the OS-independent
3765 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3766 debug version of the code includes the debug output trace mechanism and
3767 has a much larger code and data size.
3768
3769 Current Release:
3770 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
3771 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
3772 Previous Release:
3773 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total1
3774 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
3775
3776 2) iASL Compiler/Disassembler and Tools:
3777
3778 AcpiExec: Fixed a problem on unix systems where the original terminal
3779 state was not always properly restored upon exit. Seen when using the -v
3780 option. ACPICA BZ 1104.
3781
3782 iASL: Fixed a problem with the validation of the ranges/length within the
3783 Memory24 resource descriptor. There was a boundary condition when the
3784 range was equal to the (length -1) caused by the fact that these values
3785 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
3786
3787 Disassembler: Fixed a problem with the GpioInt descriptor interrupt
3788 polarity
3789 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
3790 is
3791 now supported properly.
3792
3793 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
3794 in the disassembler, data table compiler, and table template generator.
3795
3796 iASL: Added a requirement for Device() objects that one of either a _HID
3797 or _ADR must exist within the scope of a Device, as per the ACPI
3798 specification. Remove a similar requirement that was incorrectly in place
3799 for the _DSD object.
3800
3801 iASL: Added error detection for illegal named references within control
3802 methods that would cause runtime failures. Now trapped as errors are: 1)
3803 References to objects within a non-parent control method. 2) Forward
3804 references (within a method) -- for control methods, AML interpreters use
3805 a one-pass parse of control methods. ACPICA BZ 1008.
3806
3807 iASL: Added error checking for dependencies related to the _PSx power
3808 methods. ACPICA BZ 1029.
3809 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
3810 _PS3.
3811 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
3812 scope.
3813
3814 iASL and table compiler: Cleanup miscellaneous memory leaks by fully
3815 deploying the existing object and string caches and adding new caches for
3816 the table compiler.
3817
3818 iASL: Split the huge parser source file into multiple subfiles to improve
3819 manageability. Generation now requires the M4 macro preprocessor, which
3820 is part of the Bison distribution on both unix and windows platforms.
3821
3822 AcpiSrc: Fixed and removed all extraneous warnings generated during
3823 entire ACPICA source code scan and/or conversion.
3824
3825
3826 ----------------------------------------
3827
3828 24 July 2014. Summary of changes for version 20140724:
3829
3830 The ACPI 5.1 specification has been released and is available at:
3831 http://uefi.org/specs/access
3832
3833
3834 0) ACPI 5.1 support in ACPICA:
3835
3836 ACPI 5.1 is fully supported in ACPICA as of this release.
3837
3838 New predefined names. Support includes iASL and runtime ACPICA
3839 validation.
3840 _CCA (Cache Coherency Attribute).
3841 _DSD (Device-Specific Data). David Box.
3842
3843 Modifications to existing ACPI tables. Support includes headers, iASL
3844 Data Table compiler, disassembler, and the template generator.
3845 FADT - New fields and flags. Graeme Gregory.
3846 GTDT - One new subtable and new fields. Tomasz Nowicki.
3847 MADT - Two new subtables. Tomasz Nowicki.
3848 PCCT - One new subtable.
3849
3850 Miscellaneous.
3851 New notification type for System Resource Affinity change events.
3852
3853
3854 1) ACPICA kernel-resident subsystem:
3855
3856 Fixed a regression introduced in 20140627 where a fault can happen during
3857 the deletion of Alias AML namespace objects. The problem affected both
3858 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
3859
3860 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
3861 simple mechanism to enable wake GPEs that have no associated handler or
3862 control method. Rafael Wysocki.
3863
3864 Updated the AcpiEnableGpe interface to disallow the enable if there is no
3865 handler or control method associated with the particular GPE. This will
3866 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
3867
3868 Updated GPE handling and dispatch by disabling the GPE before clearing
3869 the status bit for edge-triggered GPEs. Lv Zheng.
3870
3871 Added Timer() support to the AML Debug object. The current timer value is
3872 now displayed with each invocation of (Store to) the debug object to
3873 enable simple generation of execution times for AML code (method
3874 execution for example.) ACPICA BZ 1093.
3875
3876 Example Code and Data Size: These are the sizes for the OS-independent
3877 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3878 debug version of the code includes the debug output trace mechanism and
3879 has a much larger code and data size.
3880
3881 Current Release:
3882 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total
3883 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
3884 Previous Release:
3885 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
3886 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
3887
3888
3889 2) iASL Compiler/Disassembler and Tools:
3890
3891 Fixed an issue with the recently added local printf implementation,
3892 concerning width/precision specifiers that could cause incorrect output.
3893 Lv Zheng. ACPICA BZ 1094.
3894
3895 Disassembler: Added support to detect buffers that contain UUIDs and
3896 disassemble them to an invocation of the ToUUID operator. Also emit
3897 commented descriptions of known ACPI-related UUIDs.
3898
3899 AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
3900 -u. Adds three new files.
3901
3902 iASL: Update table compiler and disassembler for DMAR table changes that
3903 were introduced in September 2013. With assistance by David Woodhouse.
3904
3905 ----------------------------------------
3906 27 June 2014. Summary of changes for version 20140627:
3907
3908 1) ACPICA kernel-resident subsystem:
3909
3910 Formatted Output: Implemented local versions of standard formatted output
3911 utilities such as printf, etc. Over time, it has been discovered that
3912 there are in fact many portability issues with printf, and the addition
3913 of this feature will fix/prevent these issues once and for all. Some
3914 known issues are summarized below:
3915
3916 1) Output of 64-bit values is not portable. For example, UINT64 is %ull
3917 for the Linux kernel and is %uI64 for some MSVC versions.
3918 2) Invoking printf consistently in a manner that is portable across both
3919 32-bit and 64-bit platforms is difficult at best in many situations.
3920 3) The output format for pointers varies from system to system (leading
3921 zeros especially), and leads to inconsistent output from ACPICA across
3922 platforms.
3923 4) Certain platform-specific printf formats may conflict with ACPICA use.
3924 5) If there is no local C library available, ACPICA now has local support
3925 for printf.
3926
3927 -- To address these printf issues in a complete manner, ACPICA now
3928 directly implements a small subset of printf format specifiers, only
3929 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
3930
3931 Implemented support for ACPICA generation within the EFI environment.
3932 Initially, the AcpiDump utility is supported in the UEFI shell
3933 environment. Lv Zheng.
3934
3935 Added a new external interface, AcpiLogError, to improve ACPICA
3936 portability. This allows the host to redirect error messages from the
3937 ACPICA utilities. Lv Zheng.
3938
3939 Added and deployed new OSL file I/O interfaces to improve ACPICA
3940 portability:
3941 AcpiOsOpenFile
3942 AcpiOsCloseFile
3943 AcpiOsReadFile
3944 AcpiOsWriteFile
3945 AcpiOsGetFileOffset
3946 AcpiOsSetFileOffset
3947 There are C library implementations of these functions in the new file
3948 service_layers/oslibcfs.c -- however, the functions can be implemented by
3949 the local host in any way necessary. Lv Zheng.
3950
3951 Implemented a mechanism to disable/enable ACPI table checksum validation
3952 at runtime. This can be useful when loading tables very early during OS
3953 initialization when it may not be possible to map the entire table in
3954 order to compute the checksum. Lv Zheng.
3955
3956 Fixed a buffer allocation issue for the Generic Serial Bus support.
3957 Originally, a fixed buffer length was used. This change allows for
3958 variable-length buffers based upon the protocol indicated by the field
3959 access attributes. Reported by Lan Tianyu. Lv Zheng.
3960
3961 Fixed a problem where an object detached from a namespace node was not
3962 properly terminated/cleared and could cause a circular list problem if
3963 reattached. ACPICA BZ 1063. David Box.
3964
3965 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
3966
3967 Fixed a possible memory leak in an error return path within the function
3968 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
3969
3970 Example Code and Data Size: These are the sizes for the OS-independent
3971 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3972 debug version of the code includes the debug output trace mechanism and
3973 has a much larger code and data size.
3974
3975 Current Release:
3976 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
3977 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
3978 Previous Release:
3979 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
3980 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
3981
3982
3983 2) iASL Compiler/Disassembler and Tools:
3984
3985 Disassembler: Add dump of ASCII equivalent text within a comment at the
3986 end of each line of the output for the Buffer() ASL operator.
3987
3988 AcpiDump: Miscellaneous changes:
3989 Fixed repetitive table dump in -n mode.
3990 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
3991 the ACPI 2.0 GUID fails.
3992
3993 iASL: Fixed a problem where the compiler could fault if incorrectly given
3994 an acpidump output file as input. ACPICA BZ 1088. David Box.
3995
3996 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
3997 they are invoked without any arguments.
3998
3999 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
4000 1086. Colin Ian King.
4001
4002 Disassembler: Cleaned up a block of code that extracts a parent Op
4003 object. Added a comment that explains that the parent is guaranteed to be
4004 valid in this case. ACPICA BZ 1069.
4005
4006
4007 ----------------------------------------
4008 24 April 2014. Summary of changes for version 20140424:
4009
4010 1) ACPICA kernel-resident subsystem:
4011
4012 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
4013 Some of these tables are known to contain a trailing NULL entry. Lv
4014 Zheng.
4015
4016 Removed an extraneous error message for the case where there are a large
4017 number of system GPEs (> 124). This was the "32-bit FADT register is too
4018 long to convert to GAS struct" message, which is irrelevant for GPEs
4019 since the GPEx_BLK_LEN fields of the FADT are always used instead of the
4020 (limited capacity) GAS bit length. Also, several changes to ensure proper
4021 support for GPE numbers > 255, where some "GPE number" fields were 8-bits
4022 internally.
4023
4024 Implemented and deployed additional configuration support for the public
4025 ACPICA external interfaces. Entire classes of interfaces can now be
4026 easily modified or configured out, replaced by stubbed inline functions
4027 by default. Lv Zheng.
4028
4029 Moved all public ACPICA runtime configuration globals to the public
4030 ACPICA external interface file for convenience. Also, removed some
4031 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
4032
4033 Documentation: Added a new section to the ACPICA reference describing the
4034 maximum number of GPEs that can be supported by the FADT-defined GPEs in
4035 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
4036 reference.
4037
4038 Example Code and Data Size: These are the sizes for the OS-independent
4039 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4040 debug version of the code includes the debug output trace mechanism and
4041 has a much larger code and data size.
4042
4043 Current Release:
4044 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
4045 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
4046 Previous Release:
4047 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
4048 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
4049
4050
4051 2) iASL Compiler/Disassembler and Tools:
4052
4053 iASL and disassembler: Add full support for the LPIT table (Low Power
4054 Idle Table). Includes support in the disassembler, data table compiler,
4055 and template generator.
4056
4057 AcpiDump utility:
4058 1) Add option to force the use of the RSDT (over the XSDT).
4059 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
4060
4061 iASL: Add check for predefined packages that are too large. For
4062 predefined names that contain subpackages, check if each subpackage is
4063 too large. (Check for too small already exists.)
4064
4065 Debugger: Updated the GPE command (which simulates a GPE by executing the
4066 GPE code paths in ACPICA). The GPE device is now optional, and defaults
4067 to the GPE 0/1 FADT-defined blocks.
4068
4069 Unix application OSL: Update line-editing support. Add additional error
4070 checking and take care not to reset terminal attributes on exit if they
4071 were never set. This should help guarantee that the terminal is always
4072 left in the previous state on program exit.
4073
4074
4075 ----------------------------------------
4076 25 March 2014. Summary of changes for version 20140325:
4077
4078 1) ACPICA kernel-resident subsystem:
4079
4080 Updated the auto-serialize feature for control methods. This feature
4081 automatically serializes all methods that create named objects in order
4082 to prevent runtime errors. The update adds support to ignore the
4083 currently executing AML SyncLevel when invoking such a method, in order
4084 to prevent disruption of any existing SyncLevel priorities that may exist
4085 in the AML code. Although the use of SyncLevels is relatively rare, this
4086 change fixes a regression where an AE_AML_MUTEX_ORDER exception can
4087 appear on some machines starting with the 20140214 release.
4088
4089 Added a new external interface to allow the host to install ACPI tables
4090 very early, before the namespace is even created. AcpiInstallTable gives
4091 the host additional flexibility for ACPI table management. Tables can be
4092 installed directly by the host as if they had originally appeared in the
4093 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
4094 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along
4095 with additional internal restructuring and cleanup. See the ACPICA
4096 Reference for interface details. Lv Zheng.
4097
4098 Added validation of the checksum for all incoming dynamically loaded
4099 tables (via external interfaces or via AML Load/LoadTable operators). Lv
4100 Zheng.
4101
4102 Updated the use of the AcpiOsWaitEventsComplete interface during Notify
4103 and GPE handler removal. Restructured calls to eliminate possible race
4104 conditions. Lv Zheng.
4105
4106 Added a warning for the use/execution of the ASL/AML Unload (table)
4107 operator. This will help detect and identify machines that use this
4108 operator if and when it is ever used. This operator has never been seen
4109 in the field and the usage model and possible side-effects of the drastic
4110 runtime action of a full table removal are unknown.
4111
4112 Reverted the use of #pragma push/pop which was introduced in the 20140214
4113 release. It appears that push and pop are not implemented by enough
4114 compilers to make the use of this feature feasible for ACPICA at this
4115 time. However, these operators may be deployed in a future ACPICA
4116 release.
4117
4118 Added the missing EXPORT_SYMBOL macros for the install and remove SCI
4119 handler interfaces.
4120
4121 Source code generation:
4122 1) Disabled the use of the "strchr" macro for the gcc-specific
4123 generation. For some versions of gcc, this macro can periodically expose
4124 a compiler bug which in turn causes compile-time error(s).
4125 2) Added support for PPC64 compilation. Colin Ian King.
4126
4127 Example Code and Data Size: These are the sizes for the OS-independent
4128 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4129 debug version of the code includes the debug output trace mechanism and
4130 has a much larger code and data size.
4131
4132 Current Release:
4133 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
4134 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
4135 Previous Release:
4136 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
4137 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
4138
4139
4140 2) iASL Compiler/Disassembler and Tools:
4141
4142 Disassembler: Added several new features to improve the readability of
4143 the resulting ASL code. Extra information is emitted within comment
4144 fields in the ASL code:
4145 1) Known _HID/_CID values are decoded to descriptive text.
4146 2) Standard values for the Notify() operator are decoded to descriptive
4147 text.
4148 3) Target operands are expanded to full pathnames (in a comment) when
4149 possible.
4150
4151 Disassembler: Miscellaneous updates for extern() handling:
4152 1) Abort compiler if file specified by -fe option does not exist.
4153 2) Silence unnecessary warnings about argument count mismatches.
4154 3) Update warning messages concerning unresolved method externals.
4155 4) Emit "UnknownObj" keyword for externals whose type cannot be
4156 determined.
4157
4158 AcpiHelp utility:
4159 1) Added the -a option to display both the ASL syntax and the AML
4160 encoding for an input ASL operator. This effectively displays all known
4161 information about an ASL operator with one AcpiHelp invocation.
4162 2) Added substring match support (similar to a wildcard) for the -i
4163 (_HID/PNP IDs) option.
4164
4165 iASL/Disassembler: Since this tool does not yet support execution on big-
4166 endian machines, added detection of endianness and an error message if
4167 execution is attempted on big-endian. Support for big-endian within iASL
4168 is a feature that is on the ACPICA to-be-done list.
4169
4170 AcpiBin utility:
4171 1) Remove option to extract binary files from an acpidump; this function
4172 is made obsolete by the AcpiXtract utility.
4173 2) General cleanup of open files and allocated buffers.
4174
4175
4176 ----------------------------------------
4177 14 February 2014. Summary of changes for version 20140214:
4178
4179 1) ACPICA kernel-resident subsystem:
4180
4181 Implemented a new mechanism to proactively prevent problems with ill-
4182 behaved reentrant control methods that create named ACPI objects. This
4183 behavior is illegal as per the ACPI specification, but is nonetheless
4184 frequently seen in the field. Previously, this could lead to an
4185 AE_ALREADY_EXISTS exception if the method was actually entered by more
4186 than one thread. This new mechanism detects such methods at table load
4187 time and marks them "serialized" to prevent reentrancy. A new global
4188 option, AcpiGbl_AutoSerializeMethods, has been added to disable this
4189 feature if desired. This mechanism and global option obsoletes and
4190 supersedes the previous AcpiGbl_SerializeAllMethods option.
4191
4192 Added the "Windows 2013" string to the _OSI support. ACPICA will now
4193 respond TRUE to _OSI queries with this string. It is the stated policy of
4194 ACPICA to add new strings to the _OSI support as soon as possible after
4195 they are defined. See the full ACPICA _OSI policy which has been added to
4196 the utilities/utosi.c file.
4197
4198 Hardened/updated the _PRT return value auto-repair code:
4199 1) Do not abort the repair on a single subpackage failure, continue to
4200 check all subpackages.
4201 2) Add check for the minimum subpackage length (4).
4202 3) Properly handle extraneous NULL package elements.
4203
4204 Added support to avoid the possibility of infinite loops when traversing
4205 object linked lists. Never allow an infinite loop, even in the face of
4206 corrupted object lists.
4207
4208 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
4209 pack(pop) directives to ensure that the ACPICA headers are independent of
4210 compiler settings or other host headers.
4211
4212 Example Code and Data Size: These are the sizes for the OS-independent
4213 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4214 debug version of the code includes the debug output trace mechanism and
4215 has a much larger code and data size.
4216
4217 Current Release:
4218 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
4219 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
4220 Previous Release:
4221 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
4222 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
4223
4224
4225 2) iASL Compiler/Disassembler and Tools:
4226
4227 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
4228 first reserved field was incorrectly forced to have a value of zero. This
4229 change correctly forces the field to have a value of one. ACPICA BZ 1081.
4230
4231 Debugger: Added missing support for the "Extra" and "Data" subobjects
4232 when displaying object data.
4233
4234 Debugger: Added support to display entire object linked lists when
4235 displaying object data.
4236
4237 iASL: Removed the obsolete -g option to obtain ACPI tables from the
4238 Windows registry. This feature has been superseded by the acpidump
4239 utility.
4240
4241
4242 ----------------------------------------
4243 14 January 2014. Summary of changes for version 20140114:
4244
4245 1) ACPICA kernel-resident subsystem:
4246
4247 Updated all ACPICA copyrights and signons to 2014. Added the 2014
4248 copyright to all module headers and signons, including the standard Linux
4249 header. This affects virtually every file in the ACPICA core subsystem,
4250 iASL compiler, all ACPICA utilities, and the test suites.
4251
4252 Improved parameter validation for AcpiInstallGpeBlock. Added the
4253 following checks:
4254 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
4255 2) There is not already a GPE block attached to the device.
4256 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
4257 device.
4258
4259 Correctly support "references" in the ACPI_OBJECT. This change fixes the
4260 support to allow references (namespace nodes) to be passed as arguments
4261 to control methods via the evaluate object interface. This is probably
4262 most useful for testing purposes, however.
4263
4264 Improved support for 32/64 bit physical addresses in printf()-like
4265 output. This change improves the support for physical addresses in printf
4266 debug statements and other output on both 32-bit and 64-bit hosts. It
4267 consistently outputs the appropriate number of bytes for each host. The
4268 %p specifier is unsatisfactory since it does not emit uniform output on
4269 all hosts/clib implementations (on some, leading zeros are not supported,
4270 leading to difficult-to-read output).
4271
4272 Example Code and Data Size: These are the sizes for the OS-independent
4273 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4274 debug version of the code includes the debug output trace mechanism and
4275 has a much larger code and data size.
4276
4277 Current Release:
4278 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
4279 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
4280 Previous Release:
4281 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
4282 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
4283
4284
4285 2) iASL Compiler/Disassembler and Tools:
4286
4287 iASL: Fix a possible fault when using the Connection() operator. Fixes a
4288 problem if the parent Field definition for the Connection operator refers
4289 to an operation region that does not exist. ACPICA BZ 1064.
4290
4291 AcpiExec: Load of local test tables is now optional. The utility has the
4292 capability to load some various tables to test features of ACPICA.
4293 However, there are enough of them that the output of the utility became
4294 confusing. With this change, only the required local tables are displayed
4295 (RSDP, XSDT, etc.) along with the actual tables loaded via the command
4296 line specification. This makes the default output simler and easier to
4297 understand. The -el command line option restores the original behavior
4298 for testing purposes.
4299
4300 AcpiExec: Added support for overlapping operation regions. This change
4301 expands the simulation of operation regions by supporting regions that
4302 overlap within the given address space. Supports SystemMemory and
4303 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
4304
4305 AcpiExec: Added region handler support for PCI_Config and EC spaces. This
4306 allows AcpiExec to simulate these address spaces, similar to the current
4307 support for SystemMemory and SystemIO.
4308
4309 Debugger: Added new command to read/write/compare all namespace objects.
4310 The command "test objects" will exercise the entire namespace by writing
4311 new values to each data object, and ensuring that the write was
4312 successful. The original value is then restored and verified.
4313
4314 Debugger: Added the "test predefined" command. This change makes this
4315 test public and puts it under the new "test" command. The test executes
4316 each and every predefined name within the current namespace.
4317
4318
4319 ----------------------------------------
4320 18 December 2013. Summary of changes for version 20131218:
4321
4322 Global note: The ACPI 5.0A specification was released this month. There
4323 are no changes needed for ACPICA since this release of ACPI is an
4324 errata/clarification release. The specification is available at
4325 acpi.info.
4326
4327
4328 1) ACPICA kernel-resident subsystem:
4329
4330 Added validation of the XSDT root table if it is present. Some older
4331 platforms contain an XSDT that is ill-formed or otherwise invalid (such
4332 as containing some or all entries that are NULL pointers). This change
4333 adds a new function to validate the XSDT before actually using it. If the
4334 XSDT is found to be invalid, ACPICA will now automatically fall back to
4335 using the RSDT instead. Original implementation by Zhao Yakui. Ported to
4336 ACPICA and enhanced by Lv Zheng and Bob Moore.
4337
4338 Added a runtime option to ignore the XSDT and force the use of the RSDT.
4339 This change adds a runtime option that will force ACPICA to use the RSDT
4340 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
4341 requires that an XSDT be used instead of the RSDT, the XSDT has been
4342 found to be corrupt or ill-formed on some machines. Lv Zheng.
4343
4344 Added a runtime option to favor 32-bit FADT register addresses over the
4345 64-bit addresses. This change adds an option to favor 32-bit FADT
4346 addresses when there is a conflict between the 32-bit and 64-bit versions
4347 of the same register. The default behavior is to use the 64-bit version
4348 in accordance with the ACPI specification. This can now be overridden via
4349 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
4350
4351 During the change above, the internal "Convert FADT" and "Verify FADT"
4352 functions have been merged to simplify the code, making it easier to
4353 understand and maintain. ACPICA BZ 933.
4354
4355 Improve exception reporting and handling for GPE block installation.
4356 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
4357 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
4358
4359 Added helper macros to extract bus/segment numbers from the HEST table.
4360 This change adds two macros to extract the encoded bus and segment
4361 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
4362 Betty Dall <betty.dall (a] hp.com>
4363
4364 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
4365 by ACPICA. It is not a public macro, so it should have no effect on
4366 existing OSV code. Lv Zheng.
4367
4368 Example Code and Data Size: These are the sizes for the OS-independent
4369 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4370 debug version of the code includes the debug output trace mechanism and
4371 has a much larger code and data size.
4372
4373 Current Release:
4374 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
4375 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
4376 Previous Release:
4377 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
4378 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
4379
4380
4381 2) iASL Compiler/Disassembler and Tools:
4382
4383 Disassembler: Improved pathname support for emitted External()
4384 statements. This change adds full pathname support for external names
4385 that have been resolved internally by the inclusion of additional ACPI
4386 tables (via the iASL -e option). Without this change, the disassembler
4387 can emit multiple externals for the same object, or it become confused
4388 when the Scope() operator is used on an external object. Overall, greatly
4389 improves the ability to actually recompile the emitted ASL code when
4390 objects a referenced across multiple ACPI tables. Reported by Michael
4391 Tsirkin (mst (a] redhat.com).
4392
4393 Tests/ASLTS: Updated functional control suite to execute with no errors.
4394 David Box. Fixed several errors related to the testing of the interpreter
4395 slack mode. Lv Zheng.
4396
4397 iASL: Added support to detect names that are declared within a control
4398 method, but are unused (these are temporary names that are only valid
4399 during the time the method is executing). A remark is issued for these
4400 cases. ACPICA BZ 1022.
4401
4402 iASL: Added full support for the DBG2 table. Adds full disassembler,
4403 table compiler, and template generator support for the DBG2 table (Debug
4404 Port 2 table).
4405
4406 iASL: Added full support for the PCCT table, update the table definition.
4407 Updates the PCCT table definition in the actbl3.h header and adds table
4408 compiler and template generator support.
4409
4410 iASL: Added an option to emit only error messages (no warnings/remarks).
4411 The -ve option will enable only error messages, warnings and remarks are
4412 suppressed. This can simplify debugging when only the errors are
4413 important, such as when an ACPI table is disassembled and there are many
4414 warnings and remarks -- but only the actual errors are of real interest.
4415
4416 Example ACPICA code (source/tools/examples): Updated the example code so
4417 that it builds to an actual working program, not just example code. Added
4418 ACPI tables and execution of an example control method in the DSDT. Added
4419 makefile support for Unix generation.
4420
4421
4422 ----------------------------------------
4423 15 November 2013. Summary of changes for version 20131115:
4424
4425 This release is available at https://acpica.org/downloads
4426
4427
4428 1) ACPICA kernel-resident subsystem:
4429
4430 Resource Manager: Fixed loop termination for the "get AML length"
4431 function. The loop previously had an error termination on a NULL resource
4432 pointer, which can never happen since the loop simply increments a valid
4433 resource pointer. This fix changes the loop to terminate with an error on
4434 an invalid end-of-buffer condition. The problem can be seen as an
4435 infinite loop by callers to AcpiSetCurrentResources with an invalid or
4436 corrupted resource descriptor, or a resource descriptor that is missing
4437 an END_TAG descriptor. Reported by Dan Carpenter
4438 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
4439
4440 Table unload and ACPICA termination: Delete all attached data objects
4441 during namespace node deletion. This fix updates namespace node deletion
4442 to delete the entire list of attached objects (attached via
4443 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
4444 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
4445
4446 ACPICA termination: Added support to delete all objects attached to the
4447 root namespace node. This fix deletes any and all objects that have been
4448 attached to the root node via AcpiAttachData. Previously, none of these
4449 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
4450
4451 Debug output: Do not emit the function nesting level for the in-kernel
4452 build. The nesting level is really only useful during a single-thread
4453 execution. Therefore, only enable this output for the AcpiExec utility.
4454 Also, only emit the thread ID when executing under AcpiExec (Context
4455 switches are still always detected and a message is emitted). ACPICA BZ
4456 972.
4457
4458 Example Code and Data Size: These are the sizes for the OS-independent
4459 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4460 debug version of the code includes the debug output trace mechanism and
4461 has a much larger code and data size.
4462
4463 Current Release:
4464 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
4465 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
4466 Previous Release:
4467 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
4468 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
4469
4470
4471 2) iASL Compiler/Disassembler and Tools:
4472
4473 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
4474 correct portable POSIX header for terminal control functions.
4475
4476 Disassembler: Fixed control method invocation issues related to the use
4477 of the CondRefOf() operator. The problem is seen in the disassembly where
4478 control method invocations may not be disassembled properly if the
4479 control method name has been used previously as an argument to CondRefOf.
4480 The solution is to not attempt to emit an external declaration for the
4481 CondRefOf target (it is not necessary in the first place). This prevents
4482 disassembler object type confusion. ACPICA BZ 988.
4483
4484 Unix Makefiles: Added an option to disable compiler optimizations and the
4485 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
4486 with optimizations (reportedly, gcc 4.4 for example). This change adds a
4487 command line option for make (NOOPT) that disables all compiler
4488 optimizations and the _FORTIFY_SOURCE compiler flag. The default
4489 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
4490 1034. Lv Zheng, Bob Moore.
4491
4492 Tests/ASLTS: Added options to specify individual test cases and modes.
4493 This allows testers running aslts.sh to optionally specify individual
4494 test modes and test cases. Also added an option to disable the forced
4495 generation of the ACPICA tools from source if desired. Lv Zheng.
4496
4497 ----------------------------------------
4498 27 September 2013. Summary of changes for version 20130927:
4499
4500 This release is available at https://acpica.org/downloads
4501
4502
4503 1) ACPICA kernel-resident subsystem:
4504
4505 Fixed a problem with store operations to reference objects. This change
4506 fixes a problem where a Store operation to an ArgX object that contained
4507 a
4508 reference to a field object did not complete the automatic dereference
4509 and
4510 then write to the actual field object. Instead, the object type of the
4511 field object was inadvertently changed to match the type of the source
4512 operand. The new behavior will actually write to the field object (buffer
4513 field or field unit), thus matching the correct ACPI-defined behavior.
4514
4515 Implemented support to allow the host to redefine individual OSL
4516 prototypes. This change enables the host to redefine OSL prototypes found
4517 in the acpiosxf.h file. This allows the host to implement OSL interfaces
4518 with a macro or inlined function. Further, it allows the host to add any
4519 additional required modifiers such as __iomem, __init, __exit, etc., as
4520 necessary on a per-interface basis. Enables maximum flexibility for the
4521 OSL interfaces. Lv Zheng.
4522
4523 Hardcoded the access width for the FADT-defined reset register. The ACPI
4524 specification requires the reset register width to be 8 bits. ACPICA now
4525 hardcodes the width to 8 and ignores the FADT width value. This provides
4526 compatibility with other ACPI implementations that have allowed BIOS code
4527 with bad register width values to go unnoticed. Matthew Garett, Bob
4528 Moore,
4529 Lv Zheng.
4530
4531 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
4532 used
4533 in the OSL header (acpiosxf). The change modifies the position of this
4534 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
4535 build issues if the OSL defines the implementation of the interface to be
4536 an inline stub function. Lv Zheng.
4537
4538 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
4539 initialization interfaces. This change adds a new macro for the main init
4540 and terminate external interfaces in order to support hosts that require
4541 additional or different processing for these functions. Changed from
4542 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
4543 Zheng, Bob Moore.
4544
4545 Cleaned up the memory allocation macros for configurability. In the
4546 common
4547 case, the ACPI_ALLOCATE and related macros now resolve directly to their
4548 respective AcpiOs* OSL interfaces. Two options:
4549 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
4550 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
4551 2) For AcpiExec (and for debugging), the macros can optionally be
4552 resolved
4553 to the local ACPICA interfaces that track each allocation (local tracking
4554 is used to immediately detect memory leaks).
4555 Lv Zheng.
4556
4557 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
4558 to predefine this macro to either TRUE or FALSE during the system build.
4559
4560 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
4561
4562 Example Code and Data Size: These are the sizes for the OS-independent
4563 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4564 debug version of the code includes the debug output trace mechanism and
4565 has a much larger code and data size.
4566
4567 Current Release:
4568 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
4569 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
4570 Previous Release:
4571 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
4572 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
4573
4574
4575 2) iASL Compiler/Disassembler and Tools:
4576
4577 iASL: Implemented wildcard support for the -e option. This simplifies use
4578 when there are many SSDTs that must be included to resolve external
4579 method
4580 declarations. ACPICA BZ 1041. Example:
4581 iasl -e ssdt*.dat -d dsdt.dat
4582
4583 AcpiExec: Add history/line-editing for Unix/Linux systems. This change
4584 adds a portable module that implements full history and limited line
4585 editing for Unix and Linux systems. It does not use readline() due to
4586 portability issues. Instead it uses the POSIX termio interface to put the
4587 terminal in raw input mode so that the various special keys can be
4588 trapped
4589 (such as up/down-arrow for history support and left/right-arrow for line
4590 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
4591
4592 AcpiXtract: Add support to handle (ignore) "empty" lines containing only
4593 one or more spaces. This provides compatible with early or different
4594 versions of the AcpiDump utility. ACPICA BZ 1044.
4595
4596 AcpiDump: Do not ignore tables that contain only an ACPI table header.
4597 Apparently, some BIOSs create SSDTs that contain an ACPI table header but
4598 no other data. This change adds support to dump these tables. Any tables
4599 shorter than the length of an ACPI table header remain in error (an error
4600 message is emitted). Reported by Yi Li.
4601
4602 Debugger: Echo actual command along with the "unknown command" message.
4603
4604 ----------------------------------------
4605 23 August 2013. Summary of changes for version 20130823:
4606
4607 1) ACPICA kernel-resident subsystem:
4608
4609 Implemented support for host-installed System Control Interrupt (SCI)
4610 handlers. Certain ACPI functionality requires the host to handle raw
4611 SCIs. For example, the "SCI Doorbell" that is defined for memory power
4612 state support requires the host device driver to handle SCIs to examine
4613 if the doorbell has been activated. Multiple SCI handlers can be
4614 installed to allow for future expansion. New external interfaces are
4615 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
4616 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
4617
4618 Operation region support: Never locally free the handler "context"
4619 pointer. This change removes some dangerous code that attempts to free
4620 the handler context pointer in some (rare) circumstances. The owner of
4621 the handler owns this pointer and the ACPICA code should never touch it.
4622 Although not seen to be an issue in any kernel, it did show up as a
4623 problem (fault) under AcpiExec. Also, set the internal storage field for
4624 the context pointer to zero when the region is deactivated, simply for
4625 sanity. David Box. ACPICA BZ 1039.
4626
4627 AcpiRead: On error, do not modify the return value target location. If an
4628 error happens in the middle of a split 32/32 64-bit I/O operation, do not
4629 modify the target of the return value pointer. Makes the code consistent
4630 with the rest of ACPICA. Bjorn Helgaas.
4631
4632 Example Code and Data Size: These are the sizes for the OS-independent
4633 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4634 debug version of the code includes the debug output trace mechanism and
4635 has a much larger code and data size.
4636
4637 Current Release:
4638 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
4639 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
4640 Previous Release:
4641 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
4642 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
4643
4644
4645 2) iASL Compiler/Disassembler and Tools:
4646
4647 AcpiDump: Implemented several new features and fixed some problems:
4648 1) Added support to dump the RSDP, RSDT, and XSDT tables.
4649 2) Added support for multiple table instances (SSDT, UEFI).
4650 3) Added option to dump "customized" (overridden) tables (-c).
4651 4) Fixed a problem where some table filenames were improperly
4652 constructed.
4653 5) Improved some error messages, removed some unnecessary messages.
4654
4655 iASL: Implemented additional support for disassembly of ACPI tables that
4656 contain invocations of external control methods. The -fe<file> option
4657 allows the import of a file that specifies the external methods along
4658 with the required number of arguments for each -- allowing for the
4659 correct disassembly of the table. This is a workaround for a limitation
4660 of AML code where the disassembler often cannot determine the number of
4661 arguments required for an external control method and generates incorrect
4662 ASL code. See the iASL reference for details. ACPICA BZ 1030.
4663
4664 Debugger: Implemented a new command (paths) that displays the full
4665 pathnames (namepaths) and object types of all objects in the namespace.
4666 This is an alternative to the namespace command.
4667
4668 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
4669 mechanism and any installed handlers.
4670
4671 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
4672 This can occur if there are too many parent prefixes in a namepath (for
4673 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
4674
4675 Application OSLs: Set the return value for the PCI read functions. These
4676 functions simply return AE_OK, but should set the return value to zero
4677 also. This change implements this. ACPICA BZ 1038.
4678
4679 Debugger: Prevent possible command line buffer overflow. Increase the
4680 size of a couple of the debugger line buffers, and ensure that overflow
4681 cannot happen. ACPICA BZ 1037.
4682
4683 iASL: Changed to abort immediately on serious errors during the parsing
4684 phase. Due to the nature of ASL, there is no point in attempting to
4685 compile these types of errors, and they typically end up causing a
4686 cascade of hundreds of errors which obscure the original problem.
4687
4688 ----------------------------------------
4689 25 July 2013. Summary of changes for version 20130725:
4690
4691 1) ACPICA kernel-resident subsystem:
4692
4693 Fixed a problem with the DerefOf operator where references to FieldUnits
4694 and BufferFields incorrectly returned the parent object, not the actual
4695 value of the object. After this change, a dereference of a FieldUnit
4696 reference results in a read operation on the field to get the value, and
4697 likewise, the appropriate BufferField value is extracted from the target
4698 buffer.
4699
4700 Fixed a problem where the _WAK method could cause a fault under these
4701 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
4702 method returned no value. The problem is rarely seen because most kernels
4703 run ACPICA in slack mode.
4704
4705 For the DerefOf operator, a fatal error now results if an attempt is made
4706 to dereference a reference (created by the Index operator) to a NULL
4707 package element. Provides compatibility with other ACPI implementations,
4708 and this behavior will be added to a future version of the ACPI
4709 specification.
4710
4711 The ACPI Power Management Timer (defined in the FADT) is now optional.
4712 This provides compatibility with other ACPI implementations and will
4713 appear in the next version of the ACPI specification. If there is no PM
4714 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
4715 zero in the FADT indicates no PM timer.
4716
4717 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
4718 allows the host to globally enable/disable all vendor strings, all
4719 feature strings, or both. Intended to be primarily used for debugging
4720 purposes only. Lv Zheng.
4721
4722 Expose the collected _OSI data to the host via a global variable. This
4723 data tracks the highest level vendor ID that has been invoked by the BIOS
4724 so that the host (and potentially ACPICA itself) can change behaviors
4725 based upon the age of the BIOS.
4726
4727 Example Code and Data Size: These are the sizes for the OS-independent
4728 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4729 debug version of the code includes the debug output trace mechanism and
4730 has a much larger code and data size.
4731
4732 Current Release:
4733 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
4734 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
4735 Previous Release:
4736 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
4737 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
4738
4739
4740 2) iASL Compiler/Disassembler and Tools:
4741
4742 iASL: Created the following enhancements for the -so option (create
4743 offset table):
4744 1)Add offsets for the last nameseg in each namepath for every supported
4745 object type
4746 2)Add support for Processor, Device, Thermal Zone, and Scope objects
4747 3)Add the actual AML opcode for the parent object of every supported
4748 object type
4749 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
4750
4751 Disassembler: Emit all unresolved external symbols in a single block.
4752 These are external references to control methods that could not be
4753 resolved, and thus, the disassembler had to make a guess at the number of
4754 arguments to parse.
4755
4756 iASL: The argument to the -T option (create table template) is now
4757 optional. If not specified, the default table is a DSDT, typically the
4758 most common case.
4759
4760 ----------------------------------------
4761 26 June 2013. Summary of changes for version 20130626:
4762
4763 1) ACPICA kernel-resident subsystem:
4764
4765 Fixed an issue with runtime repair of the _CST object. Null or invalid
4766 elements were not always removed properly. Lv Zheng.
4767
4768 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
4769 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
4770 the maximum number of GPEs is 1016. Use of multiple GPE block devices
4771 makes the system-wide number of GPEs essentially unlimited.
4772
4773 Example Code and Data Size: These are the sizes for the OS-independent
4774 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4775 debug version of the code includes the debug output trace mechanism and
4776 has a much larger code and data size.
4777
4778 Current Release:
4779 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
4780 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
4781 Previous Release:
4782 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
4783 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
4784
4785
4786 2) iASL Compiler/Disassembler and Tools:
4787
4788 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
4789 hosts. Now supports Linux, FreeBSD, and Windows.
4790
4791 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
4792 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
4793
4794 iASL/Preprocessor: Implemented full support for nested
4795 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
4796
4797 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
4798 max. The original purpose of this constraint was to limit the amount of
4799 debug output. However, the string function in question (UtPrintString) is
4800 now used for the disassembler also, where 256 bytes is insufficient.
4801 Reported by RehabMan@GitHub.
4802
4803 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
4804 tables. ACPICA BZ 999. Lv Zheng.
4805
4806 iASL: Fixed a couple of error exit issues that could result in a "Could
4807 not delete <file>" message during ASL compilation.
4808
4809 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
4810 the actual signatures for these tables are "FACP" and "APIC",
4811 respectively.
4812
4813 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
4814 tables are allowed to have multiple instances.
4815
4816 ----------------------------------------
4817 17 May 2013. Summary of changes for version 20130517:
4818
4819 1) ACPICA kernel-resident subsystem:
4820
4821 Fixed a regression introduced in version 20130328 for _INI methods. This
4822 change fixes a problem introduced in 20130328 where _INI methods are no
4823 longer executed properly because of a memory block that was not
4824 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
4825 <tomasz.nowicki (a] linaro.org>.
4826
4827 Fixed a possible problem with the new extended sleep registers in the
4828 ACPI
4829 5.0 FADT. Do not use these registers (even if populated) unless the HW-
4830 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
4831 1020. Lv Zheng.
4832
4833 Implemented return value repair code for _CST predefined objects: Sort
4834 the
4835 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
4836
4837 Implemented a debug-only option to disable loading of SSDTs from the
4838 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
4839 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
4840 acglobal.h - ACPICA BZ 1005. Lv Zheng.
4841
4842 Fixed some issues in the ACPICA initialization and termination code:
4843 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
4844 1) Clear events initialized flag upon event component termination. ACPICA
4845 BZ 1013.
4846 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
4847 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
4848 4) Clear debug buffer global on termination to prevent possible multiple
4849 delete. ACPICA BZ 1010.
4850
4851 Standardized all switch() blocks across the entire source base. After
4852 many
4853 years, different formatting for switch() had crept in. This change makes
4854 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
4855
4856 Split some files to enhance ACPICA modularity and configurability:
4857 1) Split buffer dump routines into utilities/utbuffer.c
4858 2) Split internal error message routines into utilities/uterror.c
4859 3) Split table print utilities into tables/tbprint.c
4860 4) Split iASL command-line option processing into asloptions.c
4861
4862 Makefile enhancements:
4863 1) Support for all new files above.
4864 2) Abort make on errors from any subcomponent. Chao Guan.
4865 3) Add build support for Apple Mac OS X. Liang Qi.
4866
4867 Example Code and Data Size: These are the sizes for the OS-independent
4868 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4869 debug version of the code includes the debug output trace mechanism and
4870 has a much larger code and data size.
4871
4872 Current Release:
4873 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
4874 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
4875 Previous Release:
4876 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
4877 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
4878
4879
4880 2) iASL Compiler/Disassembler and Tools:
4881
4882 New utility: Implemented an easily portable version of the acpidump
4883 utility to extract ACPI tables from the system (or a file) in an ASCII
4884 hex
4885 dump format. The top-level code implements the various command line
4886 options, file I/O, and table dump routines. To port to a new host, only
4887 three functions need to be implemented to get tables -- since this
4888 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
4889 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
4890 1) The Windows version obtains the ACPI tables from the Registry.
4891 2) The Linux version is under development.
4892 3) Other hosts - If an OS-dependent module is submitted, it will be
4893 distributed with ACPICA.
4894
4895 iASL: Fixed a regression for -D preprocessor option (define symbol). A
4896 restructuring/change to the initialization sequence caused this option to
4897 no longer work properly.
4898
4899 iASL: Implemented a mechanism to disable specific warnings and remarks.
4900 Adds a new command line option, "-vw <messageid> as well as "#pragma
4901 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
4902
4903 iASL: Fix for too-strict package object validation. The package object
4904 validation for return values from the predefined names is a bit too
4905 strict, it does not allow names references within the package (which will
4906 be resolved at runtime.) These types of references cannot be validated at
4907 compile time. This change ignores named references within package objects
4908 for names that return or define static packages.
4909
4910 Debugger: Fixed the 80-character command line limitation for the History
4911 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
4912
4913 iASL: Added control method and package support for the -so option
4914 (generates AML offset table for BIOS support.)
4915
4916 iASL: issue a remark if a non-serialized method creates named objects. If
4917 a thread blocks within the method for any reason, and another thread
4918 enters the method, the method will fail because an attempt will be made
4919 to
4920 create the same (named) object twice. In this case, issue a remark that
4921 the method should be marked serialized. NOTE: may become a warning later.
4922 ACPICA BZ 909.
4923
4924 ----------------------------------------
4925 18 April 2013. Summary of changes for version 20130418:
4926
4927 1) ACPICA kernel-resident subsystem:
4928
4929 Fixed a possible buffer overrun during some rare but specific field unit
4930 read operations. This overrun can only happen if the DSDT version is 1 --
4931 meaning that all AML integers are 32 bits -- and the field length is
4932 between 33 and 55 bits long. During the read, an internal buffer object
4933 is
4934 created for the field unit because the field is larger than an integer
4935 (32
4936 bits). However, in this case, the buffer will be incorrectly written
4937 beyond the end because the buffer length is less than the internal
4938 minimum
4939 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
4940 long, but a full 8 bytes will be written.
4941
4942 Updated the Embedded Controller "orphan" _REG method support. This refers
4943 to _REG methods under the EC device that have no corresponding operation
4944 region. This is allowed by the ACPI specification. This update removes a
4945 dependency on the existence an ECDT table. It will execute an orphan _REG
4946 method as long as the operation region handler for the EC is installed at
4947 the EC device node and not the namespace root. Rui Zhang (original
4948 update), Bob Moore (update/integrate).
4949
4950 Implemented run-time argument typechecking for all predefined ACPI names
4951 (_STA, _BIF, etc.) This change performs object typechecking on all
4952 incoming arguments for all predefined names executed via
4953 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
4954 passing correct object types as well as the correct number of arguments
4955 (therefore identifying any issues immediately). Also, the ASL/namespace
4956 definition of the predefined name is checked against the ACPI
4957 specification for the proper argument count. Adds one new file,
4958 nsarguments.c
4959
4960 Changed an exception code for the ASL UnLoad() operator. Changed the
4961 exception code for the case where the input DdbHandle is invalid, from
4962 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
4963
4964 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
4965 global makefile. The use of this flag causes compiler errors on earlier
4966 versions of GCC, so it has been removed for compatibility.
4967
4968 Miscellaneous cleanup:
4969 1) Removed some unused/obsolete macros
4970 2) Fixed a possible memory leak in the _OSI support
4971 3) Removed an unused variable in the predefined name support
4972 4) Windows OSL: remove obsolete reference to a memory list field
4973
4974 Example Code and Data Size: These are the sizes for the OS-independent
4975 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4976 debug version of the code includes the debug output trace mechanism and
4977 has a much larger code and data size.
4978
4979 Current Release:
4980 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
4981 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
4982 Previous Release:
4983 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
4984 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
4985
4986
4987 2) iASL Compiler/Disassembler and Tools:
4988
4989 AcpiExec: Added installation of a handler for the SystemCMOS address
4990 space. This prevents control method abort if a method accesses this
4991 space.
4992
4993 AcpiExec: Added support for multiple EC devices, and now install EC
4994 operation region handler(s) at the actual EC device instead of the
4995 namespace root. This reflects the typical behavior of host operating
4996 systems.
4997
4998 AcpiExec: Updated to ensure that all operation region handlers are
4999 installed before the _REG methods are executed. This prevents a _REG
5000 method from aborting if it accesses an address space has no handler.
5001 AcpiExec installs a handler for every possible address space.
5002
5003 Debugger: Enhanced the "handlers" command to display non-root handlers.
5004 This change enhances the handlers command to display handlers associated
5005 with individual devices throughout the namespace, in addition to the
5006 currently supported display of handlers associated with the root
5007 namespace
5008 node.
5009
5010 ASL Test Suite: Several test suite errors have been identified and
5011 resolved, reducing the total error count during execution. Chao Guan.
5012
5013 ----------------------------------------
5014 28 March 2013. Summary of changes for version 20130328:
5015
5016 1) ACPICA kernel-resident subsystem:
5017
5018 Fixed several possible race conditions with the internal object reference
5019 counting mechanism. Some of the external ACPICA interfaces update object
5020 reference counts without holding the interpreter or namespace lock. This
5021 change adds a spinlock to protect reference count updates on the internal
5022 ACPICA objects. Reported by and with assistance from Andriy Gapon
5023 (avg (a] FreeBSD.org).
5024
5025 FADT support: Removed an extraneous warning for very large GPE register
5026 sets. This change removes a size mismatch warning if the legacy length
5027 field for a GPE register set is larger than the 64-bit GAS structure can
5028 accommodate. GPE register sets can be larger than the 255-bit width
5029 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
5030
5031 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
5032 return from this interface. Handles a possible timeout case if
5033 ACPI_WAIT_FOREVER is modified by the host to be a value less than
5034 "forever". Jung-uk Kim.
5035
5036 Predefined name support: Add allowed/required argument type information
5037 to
5038 the master predefined info table. This change adds the infrastructure to
5039 enable typechecking on incoming arguments for all predefined
5040 methods/objects. It does not actually contain the code that will fully
5041 utilize this information, this is still under development. Also condenses
5042 some duplicate code for the predefined names into a new module,
5043 utilities/utpredef.c
5044
5045 Example Code and Data Size: These are the sizes for the OS-independent
5046 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5047 debug version of the code includes the debug output trace mechanism and
5048 has a much larger code and data size.
5049
5050 Previous Release:
5051 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
5052 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
5053 Current Release:
5054 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
5055 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
5056
5057
5058 2) iASL Compiler/Disassembler and Tools:
5059
5060 iASL: Implemented a new option to simplify the development of ACPI-
5061 related
5062 BIOS code. Adds support for a new "offset table" output file. The -so
5063 option will create a C table containing the AML table offsets of various
5064 named objects in the namespace so that BIOS code can modify them easily
5065 at
5066 boot time. This can simplify BIOS runtime code by eliminating expensive
5067 searches for "magic values", enhancing boot times and adding greater
5068 reliability. With assistance from Lee Hamel.
5069
5070 iASL: Allow additional predefined names to return zero-length packages.
5071 Now, all predefined names that are defined by the ACPI specification to
5072 return a "variable-length package of packages" are allowed to return a
5073 zero length top-level package. This allows the BIOS to tell the host that
5074 the requested feature is not supported, and supports existing BIOS/ASL
5075 code and practices.
5076
5077 iASL: Changed the "result not used" warning to an error. This is the case
5078 where an ASL operator is effectively a NOOP because the result of the
5079 operation is not stored anywhere. For example:
5080 Add (4, Local0)
5081 There is no target (missing 3rd argument), nor is the function return
5082 value used. This is potentially a very serious problem -- since the code
5083 was probably intended to do something, but for whatever reason, the value
5084 was not stored. Therefore, this issue has been upgraded from a warning to
5085 an error.
5086
5087 AcpiHelp: Added allowable/required argument types to the predefined names
5088 info display. This feature utilizes the recent update to the predefined
5089 names table (above).
5090
5091 ----------------------------------------
5092 14 February 2013. Summary of changes for version 20130214:
5093
5094 1) ACPICA Kernel-resident Subsystem:
5095
5096 Fixed a possible regression on some hosts: Reinstated the safe return
5097 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
5098 evaluated only once. Although these macros are not needed for the ACPICA
5099 code itself, they are often used by ACPI-related host device drivers
5100 where
5101 the safe feature may be necessary.
5102
5103 Fixed several issues related to the ACPI 5.0 reduced hardware support
5104 (SOC): Now ensure that if the platform declares itself as hardware-
5105 reduced
5106 via the FADT, the following functions become NOOPs (and always return
5107 AE_OK) because ACPI is always enabled by definition on these machines:
5108 AcpiEnable
5109 AcpiDisable
5110 AcpiHwGetMode
5111 AcpiHwSetMode
5112
5113 Dynamic Object Repair: Implemented additional runtime repairs for
5114 predefined name return values. Both of these repairs can simplify code in
5115 the related device drivers that invoke these methods:
5116 1) For the _STR and _MLS names, automatically repair/convert an ASCII
5117 string to a Unicode buffer.
5118 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
5119 a
5120 lone end tag descriptor in the following cases: A Return(0) was executed,
5121 a null buffer was returned, or no object at all was returned (non-slack
5122 mode only). Adds a new file, nsconvert.c
5123 ACPICA BZ 998. Bob Moore, Lv Zheng.
5124
5125 Resource Manager: Added additional code to prevent possible infinite
5126 loops
5127 while traversing corrupted or ill-formed resource template buffers. Check
5128 for zero-length resource descriptors in all code that loops through
5129 resource templates (the length field is used to index through the
5130 template). This change also hardens the external AcpiWalkResources and
5131 AcpiWalkResourceBuffer interfaces.
5132
5133 Local Cache Manager: Enhanced the main data structure to eliminate an
5134 unnecessary mechanism to access the next object in the list. Actually
5135 provides a small performance enhancement for hosts that use the local
5136 ACPICA cache manager. Jung-uk Kim.
5137
5138 Example Code and Data Size: These are the sizes for the OS-independent
5139 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5140 debug version of the code includes the debug output trace mechanism and
5141 has a much larger code and data size.
5142
5143 Previous Release:
5144 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
5145 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
5146 Current Release:
5147 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
5148 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
5149
5150
5151 2) iASL Compiler/Disassembler and Tools:
5152
5153 iASL/Disassembler: Fixed several issues with the definition of the ACPI
5154 5.0 RASF table (RAS Feature Table). This change incorporates late changes
5155 that were made to the ACPI 5.0 specification.
5156
5157 iASL/Disassembler: Added full support for the following new ACPI tables:
5158 1) The MTMR table (MID Timer Table)
5159 2) The VRTC table (Virtual Real Time Clock Table).
5160 Includes header file, disassembler, table compiler, and template support
5161 for both tables.
5162
5163 iASL: Implemented compile-time validation of package objects returned by
5164 predefined names. This new feature validates static package objects
5165 returned by the various predefined names defined to return packages. Both
5166 object types and package lengths are validated, for both parent packages
5167 and sub-packages, if any. The code is similar in structure and behavior
5168 to
5169 the runtime repair mechanism within the AML interpreter and uses the
5170 existing predefined name information table. Adds a new file, aslprepkg.c.
5171 ACPICA BZ 938.
5172
5173 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
5174 This feature detects a binary file with a valid ACPI table header and
5175 invokes the disassembler automatically. Eliminates the need to
5176 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
5177
5178 iASL/Disassembler: Added several warnings for the case where there are
5179 unresolved control methods during the disassembly. This can potentially
5180 cause errors when the output file is compiled, because the disassembler
5181 assumes zero method arguments in these cases (it cannot determine the
5182 actual number of arguments without resolution/definition of the method).
5183
5184 Debugger: Added support to display all resources with a single command.
5185 Invocation of the resources command with no arguments will now display
5186 all
5187 resources within the current namespace.
5188
5189 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
5190 via the -e option.
5191
5192 ----------------------------------------
5193 17 January 2013. Summary of changes for version 20130117:
5194
5195 1) ACPICA Kernel-resident Subsystem:
5196
5197 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
5198 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
5199 objects to return a package containing one integer, most BIOS code
5200 returns
5201 two integers and the previous code reflects that. However, we also need
5202 to
5203 support BIOS code that actually implements to the ACPI spec, and this
5204 change reflects this.
5205
5206 Fixed two issues with the ACPI_DEBUG_PRINT macros:
5207 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
5208 C compilers that require this support.
5209 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
5210 ACPI_DEBUG is already used by many of the various hosts.
5211
5212 Updated all ACPICA copyrights and signons to 2013. Added the 2013
5213 copyright to all module headers and signons, including the standard Linux
5214 header. This affects virtually every file in the ACPICA core subsystem,
5215 iASL compiler, all ACPICA utilities, and the test suites.
5216
5217 Example Code and Data Size: These are the sizes for the OS-independent
5218 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5219 debug version of the code includes the debug output trace mechanism and
5220 has a much larger code and data size.
5221
5222 Previous Release:
5223 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
5224 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
5225 Current Release:
5226 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
5227 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
5228
5229
5230 2) iASL Compiler/Disassembler and Tools:
5231
5232 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
5233 prevent a possible fault on some hosts. Some C libraries modify the arg
5234 pointer parameter to vfprintf making it difficult to call it twice in the
5235 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
5236 does not affect the Windows OSL since the Win C library does not modify
5237 the arg pointer. Chao Guan, Bob Moore.
5238
5239 iASL: Fixed a possible infinite loop when the maximum error count is
5240 reached. If an output file other than the .AML file is specified (such as
5241 a listing file), and the maximum number of errors is reached, do not
5242 attempt to flush data to the output file(s) as the compiler is aborting.
5243 This can cause an infinite loop as the max error count code essentially
5244 keeps calling itself.
5245
5246 iASL/Disassembler: Added an option (-in) to ignore NOOP
5247 opcodes/operators.
5248 Implemented for both the compiler and the disassembler. Often, the NOOP
5249 opcode is used as padding for packages that are changed dynamically by
5250 the
5251 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
5252 errors. This option causes the disassembler to ignore all NOOP opcodes
5253 (0xA3), and it also causes the compiler to ignore all ASL source code
5254 NOOP
5255 statements as well.
5256
5257 Debugger: Enhanced the Sleep command to execute all sleep states. This
5258 change allows Sleep to be invoked with no arguments and causes the
5259 debugger to execute all of the sleep states, 0-5, automatically.
5260
5261 ----------------------------------------
5262 20 December 2012. Summary of changes for version 20121220:
5263
5264 1) ACPICA Kernel-resident Subsystem:
5265
5266 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
5267 alternate entry point for AcpiWalkResources and improves the usability of
5268 the resource manager by accepting as input a buffer containing the output
5269 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
5270 input buffer is not deleted by this interface so that it can be used by
5271 the host later. See the ACPICA reference for details.
5272
5273 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
5274 (DSDT version < 2). The constant will be truncated and this warning
5275 reflects that behavior.
5276
5277 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
5278 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
5279 both get and set the new wake bit in these descriptors, separately from
5280 the existing share bit. Reported by Aaron Lu.
5281
5282 Interpreter: Fix Store() when an implicit conversion is not possible. For
5283 example, in the cases such as a store of a string to an existing package
5284 object, implement the store as a CopyObject(). This is a small departure
5285 from the ACPI specification which states that the control method should
5286 be
5287 aborted in this case. However, the ASLTS suite depends on this behavior.
5288
5289 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
5290 macros: check if debug output is currently enabled as soon as possible to
5291 minimize performance impact if debug is in fact not enabled.
5292
5293 Source code restructuring: Cleanup to improve modularity. The following
5294 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
5295 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
5296 Associated makefiles and project files have been updated.
5297
5298 Changed an exception code for LoadTable operator. For the case where one
5299 of the input strings is too long, change the returned exception code from
5300 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
5301
5302 Fixed a possible memory leak in dispatcher error path. On error, delete
5303 the mutex object created during method mutex creation. Reported by
5304 tim.gardner (a] canonical.com.
5305
5306 Example Code and Data Size: These are the sizes for the OS-independent
5307 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5308 debug version of the code includes the debug output trace mechanism and
5309 has a much larger code and data size.
5310
5311 Previous Release:
5312 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
5313 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
5314 Current Release:
5315 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
5316 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
5317
5318
5319 2) iASL Compiler/Disassembler and Tools:
5320
5321 iASL: Disallow a method call as argument to the ObjectType ASL operator.
5322 This change tracks an errata to the ACPI 5.0 document. The AML grammar
5323 will not allow the interpreter to differentiate between a method and a
5324 method invocation when these are used as an argument to the ObjectType
5325 operator. The ACPI specification change is to disallow a method
5326 invocation
5327 (UserTerm) for the ObjectType operator.
5328
5329 Finish support for the TPM2 and CSRT tables in the headers, table
5330 compiler, and disassembler.
5331
5332 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
5333 always expires immediately if the semaphore is not available. The
5334 original
5335 code was using a relative-time timeout, but sem_timedwait requires the
5336 use
5337 of an absolute time.
5338
5339 iASL: Added a remark if the Timer() operator is used within a 32-bit
5340 table. This operator returns a 64-bit time value that will be truncated
5341 within a 32-bit table.
5342
5343 iASL Source code restructuring: Cleanup to improve modularity. The
5344 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
5345 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
5346 been updated.
5347
5348
5349 ----------------------------------------
5350 14 November 2012. Summary of changes for version 20121114:
5351
5352 1) ACPICA Kernel-resident Subsystem:
5353
5354 Implemented a performance enhancement for ACPI/AML Package objects. This
5355 change greatly increases the performance of Package objects within the
5356 interpreter. It changes the processing of reference counts for packages
5357 by
5358 optimizing for the most common case where the package sub-objects are
5359 either Integers, Strings, or Buffers. Increases the overall performance
5360 of
5361 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
5362 2X.)
5363 Chao Guan. ACPICA BZ 943.
5364
5365 Implemented and deployed common macros to extract flag bits from resource
5366 descriptors. Improves readability and maintainability of the code. Fixes
5367 a
5368 problem with the UART serial bus descriptor for the number of data bits
5369 flags (was incorrectly 2 bits, should be 3).
5370
5371 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
5372 of the macros and changed the SETx macros to the style of (destination,
5373 source). Also added ACPI_CASTx companion macros. Lv Zheng.
5374
5375 Example Code and Data Size: These are the sizes for the OS-independent
5376 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5377 debug version of the code includes the debug output trace mechanism and
5378 has a much larger code and data size.
5379
5380 Previous Release:
5381 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
5382 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
5383 Current Release:
5384 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
5385 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
5386
5387
5388 2) iASL Compiler/Disassembler and Tools:
5389
5390 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
5391 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
5392 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
5393
5394 Disassembler: Fixed a problem with external declaration generation. Fixes
5395 a problem where an incorrect pathname could be generated for an external
5396 declaration if the original reference to the object includes leading
5397 carats (^). ACPICA BZ 984.
5398
5399 Debugger: Completed a major update for the Disassemble<method> command.
5400 This command was out-of-date and did not properly disassemble control
5401 methods that had any reasonable complexity. This fix brings the command
5402 up
5403 to the same level as the rest of the disassembler. Adds one new file,
5404 dmdeferred.c, which is existing code that is now common with the main
5405 disassembler and the debugger disassemble command. ACPICA MZ 978.
5406
5407 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
5408 Newer versions of Bison emit this prototype, so moved the prototype out
5409 of
5410 the iASL header to where it is actually used in order to avoid a
5411 duplicate
5412 declaration.
5413
5414 iASL/Tools: Standardized use of the stream I/O functions:
5415 1) Ensure check for I/O error after every fopen/fread/fwrite
5416 2) Ensure proper order of size/count arguments for fread/fwrite
5417 3) Use test of (Actual != Requested) after all fwrite, and most fread
5418 4) Standardize I/O error messages
5419 Improves reliability and maintainability of the code. Bob Moore, Lv
5420 Zheng.
5421 ACPICA BZ 981.
5422
5423 Disassembler: Prevent duplicate External() statements. During generation
5424 of external statements, detect similar pathnames that are actually
5425 duplicates such as these:
5426 External (\ABCD)
5427 External (ABCD)
5428 Remove all leading '\' characters from pathnames during the external
5429 statement generation so that duplicates will be detected and tossed.
5430 ACPICA BZ 985.
5431
5432 Tools: Replace low-level I/O with stream I/O functions. Replace
5433 open/read/write/close with the stream I/O equivalents
5434 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
5435 Moore.
5436
5437 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
5438 name header so that AcpiXtract recognizes the output file/table.
5439
5440 iASL: Remove obsolete -2 option flag. Originally intended to force the
5441 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
5442 and the entire concept is now obsolete.
5443
5444 ----------------------------------------
5445 18 October 2012. Summary of changes for version 20121018:
5446
5447
5448 1) ACPICA Kernel-resident Subsystem:
5449
5450 Updated support for the ACPI 5.0 MPST table. Fixes some problems
5451 introduced by late changes to the table as it was added to the ACPI 5.0
5452 specification. Includes header, disassembler, and data table compiler
5453 support as well as a new version of the MPST template.
5454
5455 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
5456 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
5457 methods: _HID, _CID, and _UID.
5458
5459 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
5460 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
5461 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
5462 names for their various drivers. Affects the AcpiGetObjectInfo external
5463 interface, and other internal interfaces as well.
5464
5465 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
5466 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
5467 on machines that support non-aligned transfers. Optimizes for this case
5468 rather than using a strncpy. With assistance from Zheng Lv.
5469
5470 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
5471 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
5472
5473 Added a new debug print message for AML mutex objects that are force-
5474 released. At control method termination, any currently acquired mutex
5475 objects are force-released. Adds a new debug-only message for each one
5476 that is released.
5477
5478 Audited/updated all ACPICA return macros and the function debug depth
5479 counter: 1) Ensure that all functions that use the various TRACE macros
5480 also use the appropriate ACPICA return macros. 2) Ensure that all normal
5481 return statements surround the return expression (value) with parens to
5482 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
5483 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
5484
5485 Global source code changes/maintenance: All extra lines at the start and
5486 end of each source file have been removed for consistency. Also, within
5487 comments, all new sentences start with a single space instead of a double
5488 space, again for consistency across the code base.
5489
5490 Example Code and Data Size: These are the sizes for the OS-independent
5491 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5492 debug version of the code includes the debug output trace mechanism and
5493 has a much larger code and data size.
5494
5495 Previous Release:
5496 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
5497 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
5498 Current Release:
5499 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
5500 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
5501
5502
5503 2) iASL Compiler/Disassembler and Tools:
5504
5505 AcpiExec: Improved the algorithm used for memory leak/corruption
5506 detection. Added some intelligence to the code that maintains the global
5507 list of allocated memory. The list is now ordered by allocated memory
5508 address, significantly improving performance. When running AcpiExec on
5509 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
5510 on the platform and/or the environment. Note, this performance
5511 enhancement affects the AcpiExec utility only, not the kernel-resident
5512 ACPICA code.
5513
5514 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
5515 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
5516 incorrect table offset reported for invalid opcodes. Report the original
5517 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
5518
5519 Disassembler: Enhanced the -vt option to emit the binary table data in
5520 hex format to assist with debugging.
5521
5522 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
5523 size of file structure. Colin Ian King.
5524
5525 ----------------------------------------
5526 13 September 2012. Summary of changes for version 20120913:
5527
5528
5529 1) ACPICA Kernel-resident Subsystem:
5530
5531 ACPI 5.0: Added two new notify types for the Hardware Error Notification
5532 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
5533 and
5534 MCE(6).
5535
5536 Table Manager: Merged/removed duplicate code in the root table resize
5537 functions. One function is external, the other is internal. Lv Zheng,
5538 ACPICA
5539 BZ 846.
5540
5541 Makefiles: Completely removed the obsolete "Linux" makefiles under
5542 acpica/generate/linux. These makefiles are obsolete and have been
5543 replaced
5544 by
5545 the generic unix makefiles under acpica/generate/unix.
5546
5547 Makefiles: Ensure that binary files always copied properly. Minor rule
5548 change
5549 to ensure that the final binary output files are always copied up to the
5550 appropriate binary directory (bin32 or bin64.)
5551
5552 Example Code and Data Size: These are the sizes for the OS-independent
5553 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5554 debug
5555 version of the code includes the debug output trace mechanism and has a
5556 much
5557 larger code and data size.
5558
5559 Previous Release:
5560 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
5561 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
5562 Current Release:
5563 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
5564 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
5565
5566
5567 2) iASL Compiler/Disassembler and Tools:
5568
5569 Disassembler: Fixed a possible fault during the disassembly of resource
5570 descriptors when a second parse is required because of the invocation of
5571 external control methods within the table. With assistance from
5572 adq (a] lidskialf.net. ACPICA BZ 976.
5573
5574 iASL: Fixed a namepath optimization problem. An error can occur if the
5575 parse
5576 node that contains the namepath to be optimized does not have a parent
5577 node
5578 that is a named object. This change fixes the problem.
5579
5580 iASL: Fixed a regression where the AML file is not deleted on errors. The
5581 AML
5582 output file should be deleted if there are any errors during the
5583 compiler.
5584 The
5585 only exception is if the -f (force output) option is used. ACPICA BZ 974.
5586
5587 iASL: Added a feature to automatically increase internal line buffer
5588 sizes.
5589 Via realloc(), automatically increase the internal line buffer sizes as
5590 necessary to support very long source code lines. The current version of
5591 the
5592 preprocessor requires a buffer long enough to contain full source code
5593 lines.
5594 This change increases the line buffer(s) if the input lines go beyond the
5595 current buffer size. This eliminates errors that occurred when a source
5596 code
5597 line was longer than the buffer.
5598
5599 iASL: Fixed a problem with constant folding in method declarations. The
5600 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
5601 if a
5602 Type3 opcode was used.
5603
5604 Debugger: Improved command help support. For incorrect argument count,
5605 display
5606 full help for the command. For help command itself, allow an argument to
5607 specify a command.
5608
5609 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
5610 errors during execution of the suite. Guan Chao.
5611
5612 ----------------------------------------
5613 16 August 2012. Summary of changes for version 20120816:
5614
5615
5616 1) ACPICA Kernel-resident Subsystem:
5617
5618 Removed all use of the deprecated _GTS and _BFS predefined methods. The
5619 _GTS
5620 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
5621 deprecated and will probably be removed from the ACPI specification.
5622 Windows
5623 does not invoke them, and reportedly never will. The final nail in the
5624 coffin
5625 is that the ACPI specification states that these methods must be run with
5626 interrupts off, which is not going to happen in a kernel interpreter.
5627 Note:
5628 Linux has removed all use of the methods also. It was discovered that
5629 invoking these functions caused failures on some machines, probably
5630 because
5631 they were never tested since Windows does not call them. Affects two
5632 external
5633 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
5634 ACPICA BZ 969.
5635
5636 Implemented support for complex bit-packed buffers returned from the _PLD
5637 (Physical Location of Device) predefined method. Adds a new external
5638 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
5639 C
5640 structure. Note: C Bitfields cannot be used for this type of predefined
5641 structure since the memory layout of individual bitfields is not defined
5642 by
5643 the C language. In addition, there are endian concerns where a compiler
5644 will
5645 change the bitfield ordering based on the machine type. The new ACPICA
5646 interface eliminates these issues, and should be called after _PLD is
5647 executed. ACPICA BZ 954.
5648
5649 Implemented a change to allow a scope change to root (via "Scope (\)")
5650 during
5651 execution of module-level ASL code (code that is executed at table load
5652 time.) Lin Ming.
5653
5654 Added the Windows8/Server2012 string for the _OSI method. This change
5655 adds
5656 a
5657 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
5658 2012.
5659
5660 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
5661 2)
5662 and CSRT (Core System Resource Table).
5663
5664 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
5665 names. This simplifies access to the buffers returned by these predefined
5666 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
5667
5668 GPE support: Removed an extraneous parameter from the various low-level
5669 internal GPE functions. Tang Feng.
5670
5671 Removed the linux makefiles from the unix packages. The generate/linux
5672 makefiles are obsolete and have been removed from the unix tarball
5673 release
5674 packages. The replacement makefiles are under generate/unix, and there is
5675 a
5676 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
5677
5678 Updates for Unix makefiles:
5679 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
5680 2) Update linker flags (move to end of command line) for AcpiExec
5681 utility.
5682 Guan Chao.
5683
5684 Split ACPICA initialization functions to new file, utxfinit.c. Split from
5685 utxface.c to improve modularity and reduce file size.
5686
5687 Example Code and Data Size: These are the sizes for the OS-independent
5688 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5689 debug version of the code includes the debug output trace mechanism and
5690 has a
5691 much larger code and data size.
5692
5693 Previous Release:
5694 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
5695 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
5696 Current Release:
5697 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
5698 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
5699
5700
5701 2) iASL Compiler/Disassembler and Tools:
5702
5703 iASL: Fixed a problem with constant folding for fixed-length constant
5704 expressions. The constant-folding code was not being invoked for constant
5705 expressions that allow the use of type 3/4/5 opcodes to generate
5706 constants
5707 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
5708 result
5709 in the generation of invalid AML bytecode. ACPICA BZ 970.
5710
5711 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
5712 apparently automatically emit some of the necessary externals. This
5713 change
5714 handles these versions in order to eliminate generation warnings.
5715
5716 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
5717
5718 Disassembler: Add support to decode _PLD buffers. The decoded buffer
5719 appears
5720 within comments in the output file.
5721
5722 Debugger: Fixed a regression with the "Threads" command where
5723 AE_BAD_PARAMETER was always returned.
5724
5725 ----------------------------------------
5726 11 July 2012. Summary of changes for version 20120711:
5727
5728 1) ACPICA Kernel-resident Subsystem:
5729
5730 Fixed a possible fault in the return package object repair code. Fixes a
5731 problem that can occur when a lone package object is wrapped with an
5732 outer
5733 package object in order to force conformance to the ACPI specification.
5734 Can
5735 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
5736 _DLM,
5737 _CSD, _PSD, _TSD.
5738
5739 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
5740 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
5741 ARB_DIS bit must be implemented in the host-dependent C3 processor power
5742 state
5743 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
5744 both
5745 Intel and other vendors. (for Intel: ICH4-M and earlier)
5746
5747 This change removes the code to disable/enable bus master arbitration
5748 during
5749 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
5750 causes
5751 resume problems on some machines. The change has been in use for over
5752 seven
5753 years within Linux.
5754
5755 Implemented two new external interfaces to support host-directed dynamic
5756 ACPI
5757 table load and unload. They are intended to simplify the host
5758 implementation
5759 of hot-plug support:
5760 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
5761 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
5762 table.
5763 See the ACPICA reference for additional details. Adds one new file,
5764 components/tables/tbxfload.c
5765
5766 Implemented and deployed two new interfaces for errors and warnings that
5767 are
5768 known to be caused by BIOS/firmware issues:
5769 AcpiBiosError: Prints "ACPI Firmware Error" message.
5770 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
5771 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
5772 table
5773 and FADT errors. Additional deployment to be completed as appropriate in
5774 the
5775 future. The associated conditional macros are ACPI_BIOS_ERROR and
5776 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
5777 ACPICA
5778 BZ
5779 843.
5780
5781 Implicit notify support: ensure that no memory allocation occurs within a
5782 critical region. This fix moves a memory allocation outside of the time
5783 that a
5784 spinlock is held. Fixes issues on systems that do not allow this
5785 behavior.
5786 Jung-uk Kim.
5787
5788 Split exception code utilities and tables into a new file,
5789 utilities/utexcep.c
5790
5791 Example Code and Data Size: These are the sizes for the OS-independent
5792 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5793 debug
5794 version of the code includes the debug output trace mechanism and has a
5795 much
5796 larger code and data size.
5797
5798 Previous Release:
5799 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
5800 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
5801 Current Release:
5802 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
5803 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
5804
5805
5806 2) iASL Compiler/Disassembler and Tools:
5807
5808 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
5809 of
5810 0. Jung-uk Kim.
5811
5812 Debugger: Enhanced the "tables" command to emit additional information
5813 about
5814 the current set of ACPI tables, including the owner ID and flags decode.
5815
5816 Debugger: Reimplemented the "unload" command to use the new
5817 AcpiUnloadParentTable external interface. This command was disable
5818 previously
5819 due to need for an unload interface.
5820
5821 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
5822 option
5823 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
5824
5825 ----------------------------------------
5826 20 June 2012. Summary of changes for version 20120620:
5827
5828
5829 1) ACPICA Kernel-resident Subsystem:
5830
5831 Implemented support to expand the "implicit notify" feature to allow
5832 multiple
5833 devices to be notified by a single GPE. This feature automatically
5834 generates a
5835 runtime device notification in the absence of a BIOS-provided GPE control
5836 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
5837 notify is
5838 provided by ACPICA for Windows compatibility, and is a workaround for
5839 BIOS
5840 AML
5841 code errors. See the description of the AcpiSetupGpeForWake interface in
5842 the
5843 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
5844
5845 Changed some comments and internal function names to simplify and ensure
5846 correctness of the Linux code translation. No functional changes.
5847
5848 Example Code and Data Size: These are the sizes for the OS-independent
5849 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5850 debug
5851 version of the code includes the debug output trace mechanism and has a
5852 much
5853 larger code and data size.
5854
5855 Previous Release:
5856 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
5857 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
5858 Current Release:
5859 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
5860 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
5861
5862
5863 2) iASL Compiler/Disassembler and Tools:
5864
5865 Disassembler: Added support to emit short, commented descriptions for the
5866 ACPI
5867 predefined names in order to improve the readability of the disassembled
5868 output. ACPICA BZ 959. Changes include:
5869 1) Emit descriptions for all standard predefined names (_INI, _STA,
5870 _PRW,
5871 etc.)
5872 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
5873 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
5874 etc.)
5875
5876 AcpiSrc: Fixed several long-standing Linux code translation issues.
5877 Argument
5878 descriptions in function headers are now translated properly to lower
5879 case
5880 and
5881 underscores. ACPICA BZ 961. Also fixes translation problems such as
5882 these:
5883 (old -> new)
5884 i_aSL -> iASL
5885 00-7_f -> 00-7F
5886 16_k -> 16K
5887 local_fADT -> local_FADT
5888 execute_oSI -> execute_OSI
5889
5890 iASL: Fixed a problem where null bytes were inadvertently emitted into
5891 some
5892 listing files.
5893
5894 iASL: Added the existing debug options to the standard help screen. There
5895 are
5896 no longer two different help screens. ACPICA BZ 957.
5897
5898 AcpiHelp: Fixed some typos in the various predefined name descriptions.
5899 Also
5900 expand some of the descriptions where appropriate.
5901
5902 iASL: Fixed the -ot option (display compile times/statistics). Was not
5903 working
5904 properly for standard output; only worked for the debug file case.
5905
5906 ----------------------------------------
5907 18 May 2012. Summary of changes for version 20120518:
5908
5909
5910 1) ACPICA Core Subsystem:
5911
5912 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
5913 defined
5914 to block until asynchronous events such as notifies and GPEs have
5915 completed.
5916 Within ACPICA, it is only called before a notify or GPE handler is
5917 removed/uninstalled. It also may be useful for the host OS within related
5918 drivers such as the Embedded Controller driver. See the ACPICA reference
5919 for
5920 additional information. ACPICA BZ 868.
5921
5922 ACPI Tables: Added a new error message for a possible overflow failure
5923 during
5924 the conversion of FADT 32-bit legacy register addresses to internal
5925 common
5926 64-
5927 bit GAS structure representation. The GAS has a one-byte "bit length"
5928 field,
5929 thus limiting the register length to 255 bits. ACPICA BZ 953.
5930
5931 Example Code and Data Size: These are the sizes for the OS-independent
5932 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5933 debug
5934 version of the code includes the debug output trace mechanism and has a
5935 much
5936 larger code and data size.
5937
5938 Previous Release:
5939 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
5940 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
5941 Current Release:
5942 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
5943 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
5944
5945
5946 2) iASL Compiler/Disassembler and Tools:
5947
5948 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
5949 macro.
5950 This keyword was added late in the ACPI 5.0 release cycle and was not
5951 implemented until now.
5952
5953 Disassembler: Added support for Operation Region externals. Adds missing
5954 support for operation regions that are defined in another table, and
5955 referenced locally via a Field or BankField ASL operator. Now generates
5956 the
5957 correct External statement.
5958
5959 Disassembler: Several additional fixes for the External() statement
5960 generation
5961 related to some ASL operators. Also, order the External() statements
5962 alphabetically in the disassembler output. Fixes the External()
5963 generation
5964 for
5965 the Create* field, Alias, and Scope operators:
5966 1) Create* buffer field operators - fix type mismatch warning on
5967 disassembly
5968 2) Alias - implement missing External support
5969 3) Scope - fix to make sure all necessary externals are emitted.
5970
5971 iASL: Improved pathname support. For include files, merge the prefix
5972 pathname
5973 with the file pathname and eliminate unnecessary components. Convert
5974 backslashes in all pathnames to forward slashes, for readability. Include
5975 file
5976 pathname changes affect both #include and Include() type operators.
5977
5978 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
5979 end
5980 of a valid line by inserting a newline and then returning the EOF during
5981 the
5982 next call to GetNextLine. Prevents the line from being ignored due to EOF
5983 condition.
5984
5985 iASL: Implemented some changes to enhance the IDE support (-vi option.)
5986 Error
5987 and Warning messages are now correctly recognized for both the source
5988 code
5989 browser and the global error and warning counts.
5990
5991 ----------------------------------------
5992 20 April 2012. Summary of changes for version 20120420:
5993
5994
5995 1) ACPICA Core Subsystem:
5996
5997 Implemented support for multiple notify handlers. This change adds
5998 support
5999 to
6000 allow multiple system and device notify handlers on Device, Thermal Zone,
6001 and
6002 Processor objects. This can simplify the host OS notification
6003 implementation.
6004 Also re-worked and restructured the entire notify support code to
6005 simplify
6006 handler installation, handler removal, notify event queuing, and notify
6007 dispatch to handler(s). Note: there can still only be two global notify
6008 handlers - one for system notifies and one for device notifies. There are
6009 no
6010 changes to the existing handler install/remove interfaces. Lin Ming, Bob
6011 Moore, Rafael Wysocki.
6012
6013 Fixed a regression in the package repair code where the object reference
6014 count was calculated incorrectly. Regression was introduced in the commit
6015 "Support to add Package wrappers".
6016
6017 Fixed a couple possible memory leaks in the AML parser, in the error
6018 recovery
6019 path. Jesper Juhl, Lin Ming.
6020
6021 Example Code and Data Size: These are the sizes for the OS-independent
6022 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6023 debug version of the code includes the debug output trace mechanism and
6024 has a
6025 much larger code and data size.
6026
6027 Previous Release:
6028 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
6029 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
6030 Current Release:
6031 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
6032 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
6033
6034
6035 2) iASL Compiler/Disassembler and Tools:
6036
6037 iASL: Fixed a problem with the resource descriptor support where the
6038 length
6039 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
6040 included in cumulative descriptor offset, resulting in incorrect values
6041 for
6042 resource tags within resource descriptors appearing after a
6043 StartDependent*
6044 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
6045
6046 iASL and Preprocessor: Implemented full support for the #line directive
6047 to
6048 correctly track original source file line numbers through the .i
6049 preprocessor
6050 output file - for error and warning messages.
6051
6052 iASL: Expand the allowable byte constants for address space IDs.
6053 Previously,
6054 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
6055 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
6056
6057 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
6058
6059 iASL: Add option to completely disable the preprocessor (-Pn).
6060
6061 iASL: Now emit all error/warning messages to standard error (stderr) by
6062 default (instead of the previous stdout).
6063
6064 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
6065 Update
6066 for resource descriptor offset fix above. Update/cleanup error output
6067 routines. Enable and send iASL errors/warnings to an error logfile
6068 (error.txt). Send all other iASL output to a logfile (compiler.txt).
6069 Fixed
6070 several extraneous "unrecognized operator" messages.
6071
6072 ----------------------------------------
6073 20 March 2012. Summary of changes for version 20120320:
6074
6075
6076 1) ACPICA Core Subsystem:
6077
6078 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
6079 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
6080 apparently
6081 does not execute these methods, and therefore these methods are often
6082 untested. It has been seen on some systems where the execution of these
6083 methods causes errors and also prevents the machine from entering S5. It
6084 is
6085 therefore suggested that host operating systems do not execute these
6086 methods
6087 by default. In the future, perhaps these methods can be optionally
6088 executed
6089 based on the age of the system and/or what is the newest version of
6090 Windows
6091 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
6092 and
6093 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
6094 Ming.
6095
6096 Fixed a problem where the length of the local/common FADT was set too
6097 early.
6098 The local FADT table length cannot be set to the common length until the
6099 original length has been examined. There is code that checks the table
6100 length
6101 and sets various fields appropriately. This can affect older machines
6102 with
6103 early FADT versions. For example, this can cause inadvertent writes to
6104 the
6105 CST_CNT register. Julian Anastasov.
6106
6107 Fixed a mapping issue related to a physical table override. Use the
6108 deferred
6109 mapping mechanism for tables loaded via the physical override OSL
6110 interface.
6111 This allows for early mapping before the virtual memory manager is
6112 available.
6113 Thomas Renninger, Bob Moore.
6114
6115 Enhanced the automatic return-object repair code: Repair a common problem
6116 with
6117 predefined methods that are defined to return a variable-length Package
6118 of
6119 sub-objects. If there is only one sub-object, some BIOS ASL code
6120 mistakenly
6121 simply returns the single object instead of a Package with one sub-
6122 object.
6123 This new support will repair this error by wrapping a Package object
6124 around
6125 the original object, creating the correct and expected Package with one
6126 sub-
6127 object. Names that can be repaired in this manner include: _ALR, _CSD,
6128 _HPX,
6129 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
6130 939.
6131
6132 Changed the exception code returned for invalid ACPI paths passed as
6133 parameters to external interfaces such as AcpiEvaluateObject. Was
6134 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
6135
6136 Example Code and Data Size: These are the sizes for the OS-independent
6137 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6138 debug
6139 version of the code includes the debug output trace mechanism and has a
6140 much
6141 larger code and data size.
6142
6143 Previous Release:
6144 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
6145 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
6146 Current Release:
6147 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
6148 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
6149
6150
6151 2) iASL Compiler/Disassembler and Tools:
6152
6153 iASL: Added the infrastructure and initial implementation of a integrated
6154 C-
6155 like preprocessor. This will simplify BIOS development process by
6156 eliminating
6157 the need for a separate preprocessing step during builds. On Windows, it
6158 also
6159 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
6160 features including full #define() macro support are still under
6161 development.
6162 These preprocessor directives are supported:
6163 #define
6164 #elif
6165 #else
6166 #endif
6167 #error
6168 #if
6169 #ifdef
6170 #ifndef
6171 #include
6172 #pragma message
6173 #undef
6174 #warning
6175 In addition, these new command line options are supported:
6176 -D <symbol> Define symbol for preprocessor use
6177 -li Create preprocessed output file (*.i)
6178 -P Preprocess only and create preprocessor output file (*.i)
6179
6180 Table Compiler: Fixed a problem where the equals operator within an
6181 expression
6182 did not work properly.
6183
6184 Updated iASL to use the current versions of Bison/Flex. Updated the
6185 Windows
6186 project file to invoke these tools from the standard location. ACPICA BZ
6187 904.
6188 Versions supported:
6189 Flex for Windows: V2.5.4
6190 Bison for Windows: V2.4.1
6191
6192 ----------------------------------------
6193 15 February 2012. Summary of changes for version 20120215:
6194
6195
6196 1) ACPICA Core Subsystem:
6197
6198 There have been some major changes to the sleep/wake support code, as
6199 described below (a - e).
6200
6201 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
6202 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
6203 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
6204 the
6205 time the _BFS method is called and the _WAK method is called. NOTE: all
6206 hosts
6207 must update their wake/resume code or else sleep/wake will not work
6208 properly.
6209 Rafael Wysocki.
6210
6211 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
6212 _WAK
6213 method. Some machines require that the GPEs are enabled before the _WAK
6214 method
6215 is executed. Thomas Renninger.
6216
6217 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
6218 bit.
6219 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
6220 to
6221 determine whether the system is rebooting or resuming. Matthew Garrett.
6222
6223 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
6224 Sleep) to
6225 match the ACPI specification requirement. Rafael Wysocki.
6226
6227 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
6228 registers within the V5 FADT. This support adds two new files:
6229 hardware/hwesleep.c implements the support for the new registers. Moved
6230 all
6231 sleep/wake external interfaces to hardware/hwxfsleep.c.
6232
6233
6234 Added a new OSL interface for ACPI table overrides,
6235 AcpiOsPhysicalTableOverride. This interface allows the host to override a
6236 table via a physical address, instead of the logical address required by
6237 AcpiOsTableOverride. This simplifies the host implementation. Initial
6238 implementation by Thomas Renninger. The ACPICA implementation creates a
6239 single
6240 shared function for table overrides that attempts both a logical and a
6241 physical override.
6242
6243 Expanded the OSL memory read/write interfaces to 64-bit data
6244 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
6245 transfer support for GAS register structures passed to AcpiRead and
6246 AcpiWrite.
6247
6248 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
6249 custom
6250 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
6251 model.
6252 See the ACPICA reference for details. ACPICA BZ 942. This option removes
6253 about
6254 10% of the code and 5% of the static data, and the following hardware
6255 ACPI
6256 features become unavailable:
6257 PM Event and Control registers
6258 SCI interrupt (and handler)
6259 Fixed Events
6260 General Purpose Events (GPEs)
6261 Global Lock
6262 ACPI PM timer
6263 FACS table (Waking vectors and Global Lock)
6264
6265 Updated the unix tarball directory structure to match the ACPICA git
6266 source
6267 tree. This ensures that the generic unix makefiles work properly (in
6268 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
6269 867.
6270
6271 Updated the return value of the _REV predefined method to integer value 5
6272 to
6273 reflect ACPI 5.0 support.
6274
6275 Moved the external ACPI PM timer interface prototypes to the public
6276 acpixf.h
6277 file where they belong.
6278
6279 Example Code and Data Size: These are the sizes for the OS-independent
6280 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6281 debug
6282 version of the code includes the debug output trace mechanism and has a
6283 much
6284 larger code and data size.
6285
6286 Previous Release:
6287 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
6288 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
6289 Current Release:
6290 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
6291 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
6292
6293
6294 2) iASL Compiler/Disassembler and Tools:
6295
6296 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
6297 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
6298 incorrectly displayed.
6299
6300 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
6301 specification.
6302
6303 ----------------------------------------
6304 11 January 2012. Summary of changes for version 20120111:
6305
6306
6307 1) ACPICA Core Subsystem:
6308
6309 Implemented a new mechanism to allow host device drivers to check for
6310 address
6311 range conflicts with ACPI Operation Regions. Both SystemMemory and
6312 SystemIO
6313 address spaces are supported. A new external interface,
6314 AcpiCheckAddressRange,
6315 allows drivers to check an address range against the ACPI namespace. See
6316 the
6317 ACPICA reference for additional details. Adds one new file,
6318 utilities/utaddress.c. Lin Ming, Bob Moore.
6319
6320 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
6321 Control
6322 and
6323 Status registers, update the ACPI 5.0 flags, and update internal data
6324 structures to handle an FADT larger than 256 bytes. The size of the ACPI
6325 5.0
6326 FADT is 268 bytes.
6327
6328 Updated all ACPICA copyrights and signons to 2012. Added the 2012
6329 copyright to
6330 all module headers and signons, including the standard Linux header. This
6331 affects virtually every file in the ACPICA core subsystem, iASL compiler,
6332 and
6333 all ACPICA utilities.
6334
6335 Example Code and Data Size: These are the sizes for the OS-independent
6336 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6337 debug
6338 version of the code includes the debug output trace mechanism and has a
6339 much
6340 larger code and data size.
6341
6342 Previous Release:
6343 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
6344 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
6345 Current Release:
6346 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
6347 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
6348
6349
6350 2) iASL Compiler/Disassembler and Tools:
6351
6352 Disassembler: fixed a problem with the automatic resource tag generation
6353 support. Fixes a problem where the resource tags are inadvertently not
6354 constructed if the table being disassembled contains external references
6355 to
6356 control methods. Moved the actual construction of the tags to after the
6357 final
6358 namespace is constructed (after 2nd parse is invoked due to external
6359 control
6360 method references.) ACPICA BZ 941.
6361
6362 Table Compiler: Make all "generic" operators caseless. These are the
6363 operators
6364 like UINT8, String, etc. Making these caseless improves ease-of-use.
6365 ACPICA BZ
6366 934.
6367
6368 ----------------------------------------
6369 23 November 2011. Summary of changes for version 20111123:
6370
6371 0) ACPI 5.0 Support:
6372
6373 This release contains full support for the ACPI 5.0 specification, as
6374 summarized below.
6375
6376 Reduced Hardware Support:
6377 -------------------------
6378
6379 This support allows for ACPI systems without the usual ACPI hardware.
6380 This
6381 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
6382 will
6383 not attempt to initialize or use any of the usual ACPI hardware. Note,
6384 when
6385 this flag is set, all of the following ACPI hardware is assumed to be not
6386 present and is not initialized or accessed:
6387
6388 General Purpose Events (GPEs)
6389 Fixed Events (PM1a/PM1b and PM Control)
6390 Power Management Timer and Console Buttons (power/sleep)
6391 Real-time Clock Alarm
6392 Global Lock
6393 System Control Interrupt (SCI)
6394 The FACS is assumed to be non-existent
6395
6396 ACPI Tables:
6397 ------------
6398
6399 All new tables and updates to existing tables are fully supported in the
6400 ACPICA headers (for use by device drivers), the disassembler, and the
6401 iASL
6402 Data Table Compiler. ACPI 5.0 defines these new tables:
6403
6404 BGRT /* Boot Graphics Resource Table */
6405 DRTM /* Dynamic Root of Trust for Measurement table */
6406 FPDT /* Firmware Performance Data Table */
6407 GTDT /* Generic Timer Description Table */
6408 MPST /* Memory Power State Table */
6409 PCCT /* Platform Communications Channel Table */
6410 PMTT /* Platform Memory Topology Table */
6411 RASF /* RAS Feature table */
6412
6413 Operation Regions/SpaceIDs:
6414 ---------------------------
6415
6416 All new operation regions are fully supported by the iASL compiler, the
6417 disassembler, and the ACPICA runtime code (for dispatch to region
6418 handlers.)
6419 The new operation region Space IDs are:
6420
6421 GeneralPurposeIo
6422 GenericSerialBus
6423
6424 Resource Descriptors:
6425 ---------------------
6426
6427 All new ASL resource descriptors are fully supported by the iASL
6428 compiler,
6429 the
6430 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
6431 (including
6432 all new predefined resource tags). New descriptors are:
6433
6434 FixedDma
6435 GpioIo
6436 GpioInt
6437 I2cSerialBus
6438 SpiSerialBus
6439 UartSerialBus
6440
6441 ASL/AML Operators, New and Modified:
6442 ------------------------------------
6443
6444 One new operator is added, the Connection operator, which is used to
6445 associate
6446 a GeneralPurposeIo or GenericSerialBus resource descriptor with
6447 individual
6448 field objects within an operation region. Several new protocols are
6449 associated
6450 with the AccessAs operator. All are fully supported by the iASL compiler,
6451 disassembler, and runtime ACPICA AML interpreter:
6452
6453 Connection // Declare Field Connection
6454 attributes
6455 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
6456 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
6457 Protocol
6458 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
6459 RawDataBuffer // Data type for Vendor Data
6460 fields
6461
6462 Predefined ASL/AML Objects:
6463 ---------------------------
6464
6465 All new predefined objects/control-methods are supported by the iASL
6466 compiler
6467 and the ACPICA runtime validation/repair (arguments and return values.)
6468 New
6469 predefined names include the following:
6470
6471 Standard Predefined Names (Objects or Control Methods):
6472 _AEI, _CLS, _CPC, _CWS, _DEP,
6473 _DLM, _EVT, _GCP, _CRT, _GWS,
6474 _HRV, _PRE, _PSE, _SRT, _SUB.
6475
6476 Resource Tags (Names used to access individual fields within resource
6477 descriptors):
6478 _DBT, _DPL, _DRS, _END, _FLC,
6479 _IOR, _LIN, _MOD, _PAR, _PHA,
6480 _PIN, _PPI, _POL, _RXL, _SLV,
6481 _SPE, _STB, _TXL, _VEN.
6482
6483 ACPICA External Interfaces:
6484 ---------------------------
6485
6486 Several new interfaces have been defined for use by ACPI-related device
6487 drivers and other host OS services:
6488
6489 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
6490 to
6491 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
6492 provided by the BIOS. They are intended to be used in conjunction with
6493 the
6494 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
6495 mutual exclusion with the AML code/interpreter.
6496
6497 AcpiGetEventResources: Returns the (formatted) resource descriptors as
6498 defined
6499 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
6500 provides
6501 resource descriptors associated with hardware-reduced platform events,
6502 similar
6503 to the AcpiGetCurrentResources interface.
6504
6505 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
6506 operation regions, information about the Connection() object and any
6507 optional
6508 length information is passed to the region handler within the Context
6509 parameter.
6510
6511 AcpiBufferToResource: This interface converts a raw AML buffer containing
6512 a
6513 resource template or resource descriptor to the ACPI_RESOURCE internal
6514 format
6515 suitable for use by device drivers. Can be used by an operation region
6516 handler
6517 to convert the Connection() buffer object into a ACPI_RESOURCE.
6518
6519 Miscellaneous/Tools/TestSuites:
6520 -------------------------------
6521
6522 Support for extended _HID names (Four alpha characters instead of three).
6523 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
6524 Support for ACPI 5.0 features in the ASLTS test suite.
6525 Fully updated documentation (ACPICA and iASL reference documents.)
6526
6527 ACPI Table Definition Language:
6528 -------------------------------
6529
6530 Support for this language was implemented and released as a subsystem of
6531 the
6532 iASL compiler in 2010. (See the iASL compiler User Guide.)
6533
6534
6535 Non-ACPI 5.0 changes for this release:
6536 --------------------------------------
6537
6538 1) ACPICA Core Subsystem:
6539
6540 Fix a problem with operation region declarations where a failure can
6541 occur
6542 if
6543 the region name and an argument that evaluates to an object (such as the
6544 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
6545 937.
6546
6547 Do not abort an ACPI table load if an invalid space ID is found within.
6548 This
6549 will be caught later if the offending method is executed. ACPICA BZ 925.
6550
6551 Fixed an issue with the FFixedHW space ID where the ID was not always
6552 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
6553
6554 Fixed a problem with the 32-bit generation of the unix-specific OSL
6555 (osunixxf.c). Lin Ming, ACPICA BZ 936.
6556
6557 Several changes made to enable generation with the GCC 4.6 compiler.
6558 ACPICA BZ
6559 935.
6560
6561 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
6562 Index/Bank
6563 field registers out-of-range.
6564
6565 2) iASL Compiler/Disassembler and Tools:
6566
6567 iASL: Implemented the __PATH__ operator, which returns the full pathname
6568 of
6569 the current source file.
6570
6571 AcpiHelp: Automatically display expanded keyword information for all ASL
6572 operators.
6573
6574 Debugger: Add "Template" command to disassemble/dump resource template
6575 buffers.
6576
6577 Added a new master script to generate and execute the ASLTS test suite.
6578 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
6579
6580 iASL: Fix problem with listing generation during processing of the
6581 Switch()
6582 operator where AML listing was disabled until the entire Switch block was
6583 completed.
6584
6585 iASL: Improve support for semicolon statement terminators. Fix "invalid
6586 character" message for some cases when the semicolon is used. Semicolons
6587 are
6588 now allowed after every <Term> grammar element. ACPICA BZ 927.
6589
6590 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
6591 923.
6592
6593 Disassembler: Fix problem with disassembly of the DataTableRegion
6594 operator
6595 where an inadvertent "Unhandled deferred opcode" message could be
6596 generated.
6597
6598 3) Example Code and Data Size
6599
6600 These are the sizes for the OS-independent acpica.lib produced by the
6601 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
6602 includes the debug output trace mechanism and has a much larger code and
6603 data
6604 size.
6605
6606 Previous Release:
6607 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6608 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6609 Current Release:
6610 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
6611 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
6612
6613 ----------------------------------------
6614 22 September 2011. Summary of changes for version 20110922:
6615
6616 0) ACPI 5.0 News:
6617
6618 Support for ACPI 5.0 in ACPICA has been underway for several months and
6619 will
6620 be released at the same time that ACPI 5.0 is officially released.
6621
6622 The ACPI 5.0 specification is on track for release in the next few
6623 months.
6624
6625 1) ACPICA Core Subsystem:
6626
6627 Fixed a problem where the maximum sleep time for the Sleep() operator was
6628 intended to be limited to two seconds, but was inadvertently limited to
6629 20
6630 seconds instead.
6631
6632 Linux and Unix makefiles: Added header file dependencies to ensure
6633 correct
6634 generation of ACPICA core code and utilities. Also simplified the
6635 makefiles
6636 considerably through the use of the vpath variable to specify search
6637 paths.
6638 ACPICA BZ 924.
6639
6640 2) iASL Compiler/Disassembler and Tools:
6641
6642 iASL: Implemented support to check the access length for all fields
6643 created to
6644 access named Resource Descriptor fields. For example, if a resource field
6645 is
6646 defined to be two bits, a warning is issued if a CreateXxxxField() is
6647 used
6648 with an incorrect bit length. This is implemented for all current
6649 resource
6650 descriptor names. ACPICA BZ 930.
6651
6652 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
6653 56-
6654 bit integers.
6655
6656 iASL: Fixed a couple of issues associated with variable-length package
6657 objects. 1) properly handle constants like One, Ones, Zero -- do not make
6658 a
6659 VAR_PACKAGE when these are used as a package length. 2) Allow the
6660 VAR_PACKAGE
6661 opcode (in addition to PACKAGE) when validating object types for
6662 predefined
6663 names.
6664
6665 iASL: Emit statistics for all output files (instead of just the ASL input
6666 and
6667 AML output). Includes listings, hex files, etc.
6668
6669 iASL: Added -G option to the table compiler to allow the compilation of
6670 custom
6671 ACPI tables. The only part of a table that is required is the standard
6672 36-
6673 byte
6674 ACPI header.
6675
6676 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
6677 headers),
6678 which also adds correct 64-bit support. Also, now all output filenames
6679 are
6680 completely lower case.
6681
6682 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
6683 loading table files. A warning is issued for any such tables. The only
6684 exception is an FADT. This also fixes a possible fault when attempting to
6685 load
6686 non-AML tables. ACPICA BZ 932.
6687
6688 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
6689 a
6690 missing table terminator could cause a fault when using the -p option.
6691
6692 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
6693 statistics.
6694
6695 3) Example Code and Data Size
6696
6697 These are the sizes for the OS-independent acpica.lib produced by the
6698 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
6699 includes the debug output trace mechanism and has a much larger code and
6700 data
6701 size.
6702
6703 Previous Release (VC 9.0):
6704 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6705 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6706 Current Release (VC 9.0):
6707 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6708 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6709
6710
6711 ----------------------------------------
6712 23 June 2011. Summary of changes for version 20110623:
6713
6714 1) ACPI CA Core Subsystem:
6715
6716 Updated the predefined name repair mechanism to not attempt repair of a
6717 _TSS
6718 return object if a _PSS object is present. We can only sort the _TSS
6719 return
6720 package if there is no _PSS within the same scope. This is because if
6721 _PSS
6722 is
6723 present, the ACPI specification dictates that the _TSS Power Dissipation
6724 field
6725 is to be ignored, and therefore some BIOSs leave garbage values in the
6726 _TSS
6727 Power field(s). In this case, it is best to just return the _TSS package
6728 as-
6729 is. Reported by, and fixed with assistance from Fenghua Yu.
6730
6731 Added an option to globally disable the control method return value
6732 validation
6733 and repair. This runtime option can be used to disable return value
6734 repair
6735 if
6736 this is causing a problem on a particular machine. Also added an option
6737 to
6738 AcpiExec (-dr) to set this disable flag.
6739
6740 All makefiles and project files: Major changes to improve generation of
6741 ACPICA
6742 tools. ACPICA BZ 912:
6743 Reduce default optimization levels to improve compatibility
6744 For Linux, add strict-aliasing=0 for gcc 4
6745 Cleanup and simplify use of command line defines
6746 Cleanup multithread library support
6747 Improve usage messages
6748
6749 Linux-specific header: update handling of THREAD_ID and pthread. For the
6750 32-
6751 bit case, improve casting to eliminate possible warnings, especially with
6752 the
6753 acpica tools.
6754
6755 Example Code and Data Size: These are the sizes for the OS-independent
6756 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6757 debug
6758 version of the code includes the debug output trace mechanism and has a
6759 much
6760 larger code and data size.
6761
6762 Previous Release (VC 9.0):
6763 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
6764 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6765 Current Release (VC 9.0):
6766 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6767 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6768
6769 2) iASL Compiler/Disassembler and Tools:
6770
6771 With this release, a new utility named "acpihelp" has been added to the
6772 ACPICA
6773 package. This utility summarizes the ACPI specification chapters for the
6774 ASL
6775 and AML languages. It generates under Linux/Unix as well as Windows, and
6776 provides the following functionality:
6777 Find/display ASL operator(s) -- with description and syntax.
6778 Find/display ASL keyword(s) -- with exact spelling and descriptions.
6779 Find/display ACPI predefined name(s) -- with description, number
6780 of arguments, and the return value data type.
6781 Find/display AML opcode name(s) -- with opcode, arguments, and
6782 grammar.
6783 Decode/display AML opcode -- with opcode name, arguments, and
6784 grammar.
6785
6786 Service Layers: Make multi-thread support configurable. Conditionally
6787 compile
6788 the multi-thread support so that threading libraries will not be linked
6789 if
6790 not
6791 necessary. The only tool that requires multi-thread support is AcpiExec.
6792
6793 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
6794 of
6795 Bison appear to want the interface to yyerror to be a const char * (or at
6796 least this is a problem when generating iASL on some systems.) ACPICA BZ
6797 923
6798 Pierre Lejeune.
6799
6800 Tools: Fix for systems where O_BINARY is not defined. Only used for
6801 Windows
6802 versions of the tools.
6803
6804 ----------------------------------------
6805 27 May 2011. Summary of changes for version 20110527:
6806
6807 1) ACPI CA Core Subsystem:
6808
6809 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
6810 table
6811 signature. Now, only allow SSDT, OEMx, and a null signature. History:
6812 1) Originally, we checked the table signature for "SSDT" or "PSDT".
6813 (PSDT is now obsolete.)
6814 2) We added support for OEMx tables, signature "OEM" plus a fourth
6815 "don't care" character.
6816 3) Valid tables were encountered with a null signature, so we just
6817 gave up on validating the signature, (05/2008).
6818 4) We encountered non-AML tables such as the MADT, which caused
6819 interpreter errors and kernel faults. So now, we once again allow
6820 only SSDT, OEMx, and now, also a null signature. (05/2011).
6821
6822 Added the missing _TDL predefined name to the global name list in order
6823 to
6824 enable validation. Affects both the core ACPICA code and the iASL
6825 compiler.
6826
6827 Example Code and Data Size: These are the sizes for the OS-independent
6828 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6829 debug
6830 version of the code includes the debug output trace mechanism and has a
6831 much
6832 larger code and data size.
6833
6834 Previous Release (VC 9.0):
6835 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
6836 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
6837 Current Release (VC 9.0):
6838 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
6839 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6840
6841 2) iASL Compiler/Disassembler and Tools:
6842
6843 Debugger/AcpiExec: Implemented support for "complex" method arguments on
6844 the
6845 debugger command line. This adds support beyond simple integers --
6846 including
6847 Strings, Buffers, and Packages. Includes support for nested packages.
6848 Increased the default command line buffer size to accommodate these
6849 arguments.
6850 See the ACPICA reference for details and syntax. ACPICA BZ 917.
6851
6852 Debugger/AcpiExec: Implemented support for "default" method arguments for
6853 the
6854 Execute/Debug command. Now, the debugger will always invoke a control
6855 method
6856 with the required number of arguments -- even if the command line
6857 specifies
6858 none or insufficient arguments. It uses default integer values for any
6859 missing
6860 arguments. Also fixes a bug where only six method arguments maximum were
6861 supported instead of the required seven.
6862
6863 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
6864 and
6865 also return status in order to prevent buffer overruns. See the ACPICA
6866 reference for details and syntax. ACPICA BZ 921
6867
6868 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
6869 makefiles to simplify support for the two different but similar parser
6870 generators, bison and yacc.
6871
6872 Updated the generic unix makefile for gcc 4. The default gcc version is
6873 now
6874 expected to be 4 or greater, since options specific to gcc 4 are used.
6875
6876 ----------------------------------------
6877 13 April 2011. Summary of changes for version 20110413:
6878
6879 1) ACPI CA Core Subsystem:
6880
6881 Implemented support to execute a so-called "orphan" _REG method under the
6882 EC
6883 device. This change will force the execution of a _REG method underneath
6884 the
6885 EC
6886 device even if there is no corresponding operation region of type
6887 EmbeddedControl. Fixes a problem seen on some machines and apparently is
6888 compatible with Windows behavior. ACPICA BZ 875.
6889
6890 Added more predefined methods that are eligible for automatic NULL
6891 package
6892 element removal. This change adds another group of predefined names to
6893 the
6894 list
6895 of names that can be repaired by having NULL package elements dynamically
6896 removed. This group are those methods that return a single variable-
6897 length
6898 package containing simple data types such as integers, buffers, strings.
6899 This
6900 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
6901 _PSL,
6902 _Sx,
6903 and _TZD. ACPICA BZ 914.
6904
6905 Split and segregated all internal global lock functions to a new file,
6906 evglock.c.
6907
6908 Updated internal address SpaceID for DataTable regions. Moved this
6909 internal
6910 space
6911 id in preparation for ACPI 5.0 changes that will include some new space
6912 IDs.
6913 This
6914 change should not affect user/host code.
6915
6916 Example Code and Data Size: These are the sizes for the OS-independent
6917 acpica.lib
6918 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
6919 version of
6920 the code includes the debug output trace mechanism and has a much larger
6921 code
6922 and
6923 data size.
6924
6925 Previous Release (VC 9.0):
6926 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
6927 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
6928 Current Release (VC 9.0):
6929 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
6930 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
6931
6932 2) iASL Compiler/Disassembler and Tools:
6933
6934 iASL/DTC: Major update for new grammar features. Allow generic data types
6935 in
6936 custom ACPI tables. Field names are now optional. Any line can be split
6937 to
6938 multiple lines using the continuation char (\). Large buffers now use
6939 line-
6940 continuation character(s) and no colon on the continuation lines. See the
6941 grammar
6942 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
6943 Moore.
6944
6945 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
6946 statements.
6947 Since the parser stuffs a "zero" as the return value for these statements
6948 (due
6949 to
6950 the underlying AML grammar), they were seen as "return with value" by the
6951 iASL
6952 semantic checking. They are now seen correctly as "null" return
6953 statements.
6954
6955 iASL: Check if a_REG declaration has a corresponding Operation Region.
6956 Adds a
6957 check for each _REG to ensure that there is in fact a corresponding
6958 operation
6959 region declaration in the same scope. If not, the _REG method is not very
6960 useful
6961 since it probably won't be executed. ACPICA BZ 915.
6962
6963 iASL/DTC: Finish support for expression evaluation. Added a new
6964 expression
6965 parser
6966 that implements c-style operator precedence and parenthesization. ACPICA
6967 bugzilla
6968 908.
6969
6970 Disassembler/DTC: Remove support for () and <> style comments in data
6971 tables.
6972 Now
6973 that DTC has full expression support, we don't want to have comment
6974 strings
6975 that
6976 start with a parentheses or a less-than symbol. Now, only the standard /*
6977 and
6978 //
6979 comments are supported, as well as the bracket [] comments.
6980
6981 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
6982 "unusual"
6983 headers in the acpidump file. Update the header validation to support
6984 these
6985 tables. Problem introduced in previous AcpiXtract version in the change
6986 to
6987 support "wrong checksum" error messages emitted by acpidump utility.
6988
6989 iASL: Add a * option to generate all template files (as a synonym for
6990 ALL)
6991 as
6992 in
6993 "iasl -T *" or "iasl -T ALL".
6994
6995 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
6996 completely
6997 abort the compiler on "fatal" errors, simply should abort the current
6998 compile.
6999 This allows multiple compiles with a single (possibly wildcard) compiler
7000 invocation.
7001
7002 ----------------------------------------
7003 16 March 2011. Summary of changes for version 20110316:
7004
7005 1) ACPI CA Core Subsystem:
7006
7007 Fixed a problem caused by a _PRW method appearing at the namespace root
7008 scope
7009 during the setup of wake GPEs. A fault could occur if a _PRW directly
7010 under
7011 the
7012 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
7013
7014 Implemented support for "spurious" Global Lock interrupts. On some
7015 systems, a
7016 global lock interrupt can occur without the pending flag being set. Upon
7017 a
7018 GL
7019 interrupt, we now ensure that a thread is actually waiting for the lock
7020 before
7021 signaling GL availability. Rafael Wysocki, Bob Moore.
7022
7023 Example Code and Data Size: These are the sizes for the OS-independent
7024 acpica.lib
7025 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
7026 version of
7027 the code includes the debug output trace mechanism and has a much larger
7028 code
7029 and
7030 data size.
7031
7032 Previous Release (VC 9.0):
7033 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
7034 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
7035 Current Release (VC 9.0):
7036 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
7037 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
7038
7039 2) iASL Compiler/Disassembler and Tools:
7040
7041 Implemented full support for the "SLIC" ACPI table. Includes support in
7042 the
7043 header files, disassembler, table compiler, and template generator. Bob
7044 Moore,
7045 Lin Ming.
7046
7047 AcpiXtract: Correctly handle embedded comments and messages from
7048 AcpiDump.
7049 Apparently some or all versions of acpidump will occasionally emit a
7050 comment
7051 like
7052 "Wrong checksum", etc., into the dump file. This was causing problems for
7053 AcpiXtract. ACPICA BZ 905.
7054
7055 iASL: Fix the Linux makefile by removing an inadvertent double file
7056 inclusion.
7057 ACPICA BZ 913.
7058
7059 AcpiExec: Update installation of operation region handlers. Install one
7060 handler
7061 for a user-defined address space. This is used by the ASL test suite
7062 (ASLTS).
7063
7064 ----------------------------------------
7065 11 February 2011. Summary of changes for version 20110211:
7066
7067 1) ACPI CA Core Subsystem:
7068
7069 Added a mechanism to defer _REG methods for some early-installed
7070 handlers.
7071 Most user handlers should be installed before call to
7072 AcpiEnableSubsystem.
7073 However, Event handlers and region handlers should be installed after
7074 AcpiInitializeObjects. Override handlers for the "default" regions should
7075 be
7076 installed early, however. This change executes all _REG methods for the
7077 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
7078 chicken/egg issues between them. ACPICA BZ 848.
7079
7080 Implemented an optimization for GPE detection. This optimization will
7081 simply
7082 ignore GPE registers that contain no enabled GPEs -- there is no need to
7083 read the register since this information is available internally. This
7084 becomes more important on machines with a large GPE space. ACPICA
7085 bugzilla
7086 884. Lin Ming. Suggestion from Joe Liu.
7087
7088 Removed all use of the highly unreliable FADT revision field. The
7089 revision
7090 number in the FADT has been found to be completely unreliable and cannot
7091 be
7092 trusted. Only the actual table length can be used to infer the version.
7093 This
7094 change updates the ACPICA core and the disassembler so that both no
7095 longer
7096 even look at the FADT version and instead depend solely upon the FADT
7097 length.
7098
7099 Fix an unresolved name issue for the no-debug and no-error-message source
7100 generation cases. The _AcpiModuleName was left undefined in these cases,
7101 but
7102 it is actually needed as a parameter to some interfaces. Define
7103 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
7104
7105 Split several large files (makefiles and project files updated)
7106 utglobal.c -> utdecode.c
7107 dbcomds.c -> dbmethod.c dbnames.c
7108 dsopcode.c -> dsargs.c dscontrol.c
7109 dsload.c -> dsload2.c
7110 aslanalyze.c -> aslbtypes.c aslwalks.c
7111
7112 Example Code and Data Size: These are the sizes for the OS-independent
7113 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
7114 debug version of the code includes the debug output trace mechanism and
7115 has
7116 a much larger code and data size.
7117
7118 Previous Release (VC 9.0):
7119 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
7120 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
7121 Current Release (VC 9.0):
7122 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
7123 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
7124
7125 2) iASL Compiler/Disassembler and Tools:
7126
7127 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
7128 These are useful C-style macros with the standard definitions. ACPICA
7129 bugzilla 898.
7130
7131 iASL/DTC: Added support for integer expressions and labels. Support for
7132 full
7133 expressions for all integer fields in all ACPI tables. Support for labels
7134 in
7135 "generic" portions of tables such as UEFI. See the iASL reference manual.
7136
7137 Debugger: Added a command to display the status of global handlers. The
7138 "handlers" command will display op region, fixed event, and miscellaneous
7139 global handlers. installation status -- and for op regions, whether
7140 default
7141 or user-installed handler will be used.
7142
7143 iASL: Warn if reserved method incorrectly returns a value. Many
7144 predefined
7145 names are defined such that they do not return a value. If implemented as
7146 a
7147 method, issue a warning if such a name explicitly returns a value. ACPICA
7148 Bugzilla 855.
7149
7150 iASL: Added detection of GPE method name conflicts. Detects a conflict
7151 where
7152 there are two GPE methods of the form _Lxy and _Exy in the same scope.
7153 (For
7154 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
7155
7156 iASL/DTC: Fixed a couple input scanner issues with comments and line
7157 numbers. Comment remover could get confused and miss a comment ending.
7158 Fixed
7159 a problem with line counter maintenance.
7160
7161 iASL/DTC: Reduced the severity of some errors from fatal to error. There
7162 is
7163 no need to abort on simple errors within a field definition.
7164
7165 Debugger: Simplified the output of the help command. All help output now
7166 in
7167 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
7168
7169 ----------------------------------------
7170 12 January 2011. Summary of changes for version 20110112:
7171
7172 1) ACPI CA Core Subsystem:
7173
7174 Fixed a race condition between method execution and namespace walks that
7175 can
7176 possibly cause a fault. The problem was apparently introduced in version
7177 20100528 as a result of a performance optimization that reduces the
7178 number
7179 of
7180 namespace walks upon method exit by using the delete_namespace_subtree
7181 function instead of the delete_namespace_by_owner function used
7182 previously.
7183 Bug is a missing namespace lock in the delete_namespace_subtree function.
7184 dana.myers (a] oracle.com
7185
7186 Fixed several issues and a possible fault with the automatic "serialized"
7187 method support. History: This support changes a method to "serialized" on
7188 the
7189 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
7190 possibility that it cannot handle reentrancy. This fix repairs a couple
7191 of
7192 issues seen in the field, especially on machines with many cores:
7193
7194 1) Delete method children only upon the exit of the last thread,
7195 so as to not delete objects out from under other running threads
7196 (and possibly causing a fault.)
7197 2) Set the "serialized" bit for the method only upon the exit of the
7198 Last thread, so as to not cause deadlock when running threads
7199 attempt to exit.
7200 3) Cleanup the use of the AML "MethodFlags" and internal method flags
7201 so that there is no longer any confusion between the two.
7202
7203 Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
7204
7205 Debugger: Now lock the namespace for duration of a namespace dump.
7206 Prevents
7207 issues if the namespace is changing dynamically underneath the debugger.
7208 Especially affects temporary namespace nodes, since the debugger displays
7209 these also.
7210
7211 Updated the ordering of include files. The ACPICA headers should appear
7212 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
7213 set
7214 any necessary compiler-specific defines, etc. Affects the ACPI-related
7215 tools
7216 and utilities.
7217
7218 Updated all ACPICA copyrights and signons to 2011. Added the 2011
7219 copyright
7220 to all module headers and signons, including the Linux header. This
7221 affects
7222 virtually every file in the ACPICA core subsystem, iASL compiler, and all
7223 utilities.
7224
7225 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
7226 project files for VC++ 6.0 are now obsolete. New project files can be
7227 found
7228 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
7229 details.
7230
7231 Example Code and Data Size: These are the sizes for the OS-independent
7232 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
7233 debug version of the code includes the debug output trace mechanism and
7234 has a
7235 much larger code and data size.
7236
7237 Previous Release (VC 6.0):
7238 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
7239 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
7240 Current Release (VC 9.0):
7241 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
7242 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
7243
7244 2) iASL Compiler/Disassembler and Tools:
7245
7246 iASL: Added generic data types to the Data Table compiler. Add "generic"
7247 data
7248 types such as UINT32, String, Unicode, etc., to simplify the generation
7249 of
7250 platform-defined tables such as UEFI. Lin Ming.
7251
7252 iASL: Added listing support for the Data Table Compiler. Adds listing
7253 support
7254 (-l) to display actual binary output for each line of input code.
7255
7256 ----------------------------------------
7257 09 December 2010. Summary of changes for version 20101209:
7258
7259 1) ACPI CA Core Subsystem:
7260
7261 Completed the major overhaul of the GPE support code that was begun in
7262 July
7263 2010. Major features include: removal of _PRW execution in ACPICA (host
7264 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
7265 changes to existing interfaces, simplification of GPE handler operation,
7266 and
7267 a handful of new interfaces:
7268
7269 AcpiUpdateAllGpes
7270 AcpiFinishGpe
7271 AcpiSetupGpeForWake
7272 AcpiSetGpeWakeMask
7273 One new file, evxfgpe.c to consolidate all external GPE interfaces.
7274
7275 See the ACPICA Programmer Reference for full details and programming
7276 information. See the new section 4.4 "General Purpose Event (GPE)
7277 Support"
7278 for a full overview, and section 8.7 "ACPI General Purpose Event
7279 Management"
7280 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
7281 Ming,
7282 Bob Moore, Rafael Wysocki.
7283
7284 Implemented a new GPE feature for Windows compatibility, the "Implicit
7285 Wake
7286 GPE Notify". This feature will automatically issue a Notify(2) on a
7287 device
7288 when a Wake GPE is received if there is no corresponding GPE method or
7289 handler. ACPICA BZ 870.
7290
7291 Fixed a problem with the Scope() operator during table parse and load
7292 phase.
7293 During load phase (table load or method execution), the scope operator
7294 should
7295 not enter the target into the namespace. Instead, it should open a new
7296 scope
7297 at the target location. Linux BZ 19462, ACPICA BZ 882.
7298
7299 Example Code and Data Size: These are the sizes for the OS-independent
7300 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7301 debug version of the code includes the debug output trace mechanism and
7302 has a
7303 much larger code and data size.
7304
7305 Previous Release:
7306 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
7307 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
7308 Current Release:
7309 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
7310 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
7311
7312 2) iASL Compiler/Disassembler and Tools:
7313
7314 iASL: Relax the alphanumeric restriction on _CID strings. These strings
7315 are
7316 "bus-specific" per the ACPI specification, and therefore any characters
7317 are
7318 acceptable. The only checks that can be performed are for a null string
7319 and
7320 perhaps for a leading asterisk. ACPICA BZ 886.
7321
7322 iASL: Fixed a problem where a syntax error that caused a premature EOF
7323 condition on the source file emitted a very confusing error message. The
7324 premature EOF is now detected correctly. ACPICA BZ 891.
7325
7326 Disassembler: Decode the AccessSize within a Generic Address Structure
7327 (byte
7328 access, word access, etc.) Note, this field does not allow arbitrary bit
7329 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
7330
7331 New: AcpiNames utility - Example namespace dump utility. Shows an example
7332 of
7333 ACPICA configuration for a minimal namespace dump utility. Uses table and
7334 namespace managers, but no AML interpreter. Does not add any
7335 functionality
7336 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
7337 partition and configure ACPICA. ACPICA BZ 883.
7338
7339 AML Debugger: Increased the debugger buffer size for method return
7340 objects.
7341 Was 4K, increased to 16K. Also enhanced error messages for debugger
7342 method
7343 execution, including the buffer overflow case.
7344
7345 ----------------------------------------
7346 13 October 2010. Summary of changes for version 20101013:
7347
7348 1) ACPI CA Core Subsystem:
7349
7350 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
7351 now
7352 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
7353 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
7354
7355 Changed the type of the predefined namespace object _TZ from ThermalZone
7356 to
7357 Device. This was found to be confusing to the host software that
7358 processes
7359 the various thermal zones, since _TZ is not really a ThermalZone.
7360 However,
7361 a
7362 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
7363 Zhang.
7364
7365 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
7366 string is "Windows 2006 SP2".
7367
7368 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
7369 nsrepair
7370 code automatically repairs _HID-related strings, this type of code is no
7371 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
7372 878.
7373
7374 Example Code and Data Size: These are the sizes for the OS-independent
7375 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7376 debug version of the code includes the debug output trace mechanism and
7377 has a
7378 much larger code and data size.
7379
7380 Previous Release:
7381 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
7382 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
7383 Current Release:
7384 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
7385 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
7386
7387 2) iASL Compiler/Disassembler and Tools:
7388
7389 iASL: Implemented additional compile-time validation for _HID strings.
7390 The
7391 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
7392 length
7393 of
7394 the string must be exactly seven or eight characters. For both _HID and
7395 _CID
7396 strings, all characters must be alphanumeric. ACPICA BZ 874.
7397
7398 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
7399 descriptors that are mostly or all zeros, with the expectation that they
7400 will
7401 be filled in at runtime. iASL now allows this as long as there is a
7402 "resource
7403 tag" (name) associated with the descriptor, which gives the ASL a handle
7404 needed to modify the descriptor. ACPICA BZ 873.
7405
7406 Added single-thread support to the generic Unix application OSL.
7407 Primarily
7408 for iASL support, this change removes the use of semaphores in the
7409 single-
7410 threaded ACPICA tools/applications - increasing performance. The
7411 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
7412 option. ACPICA BZ 879.
7413
7414 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
7415 support
7416 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
7417
7418 iASL: Moved all compiler messages to a new file, aslmessages.h.
7419
7420 ----------------------------------------
7421 15 September 2010. Summary of changes for version 20100915:
7422
7423 1) ACPI CA Core Subsystem:
7424
7425 Removed the AcpiOsDerivePciId OSL interface. The various host
7426 implementations
7427 of this function were not OS-dependent and are now obsolete and can be
7428 removed from all host OSLs. This function has been replaced by
7429 AcpiHwDerivePciId, which is now part of the ACPICA core code.
7430 AcpiHwDerivePciId has been implemented without recursion. Adds one new
7431 module, hwpci.c. ACPICA BZ 857.
7432
7433 Implemented a dynamic repair for _HID and _CID strings. The following
7434 problems are now repaired at runtime: 1) Remove a leading asterisk in the
7435 string, and 2) the entire string is uppercased. Both repairs are in
7436 accordance with the ACPI specification and will simplify host driver
7437 code.
7438 ACPICA BZ 871.
7439
7440 The ACPI_THREAD_ID type is no longer configurable, internally it is now
7441 always UINT64. This simplifies the ACPICA code, especially any printf
7442 output.
7443 UINT64 is the only common data type for all thread_id types across all
7444 operating systems. It is now up to the host OSL to cast the native
7445 thread_id
7446 type to UINT64 before returning the value to ACPICA (via
7447 AcpiOsGetThreadId).
7448 Lin Ming, Bob Moore.
7449
7450 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
7451 "inline"
7452 keyword is not standard across compilers, and this type allows inline to
7453 be
7454 configured on a per-compiler basis. Lin Ming.
7455
7456 Made the system global AcpiGbl_SystemAwakeAndRunning publicly
7457 available.
7458 Added an extern for this boolean in acpixf.h. Some hosts utilize this
7459 value
7460 during suspend/restore operations. ACPICA BZ 869.
7461
7462 All code that implements error/warning messages with the "ACPI:" prefix
7463 has
7464 been moved to a new module, utxferror.c.
7465
7466 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
7467 it
7468 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
7469
7470 Example Code and Data Size: These are the sizes for the OS-independent
7471 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7472 debug version of the code includes the debug output trace mechanism and
7473 has a
7474 much larger code and data size.
7475
7476 Previous Release:
7477 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
7478 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
7479 Current Release:
7480 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
7481 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
7482
7483 2) iASL Compiler/Disassembler and Tools:
7484
7485 iASL/Disassembler: Write ACPI errors to stderr instead of the output
7486 file.
7487 This keeps the output files free of random error messages that may
7488 originate
7489 from within the namespace/interpreter code. Used this opportunity to
7490 merge
7491 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
7492 866. Lin Ming, Bob Moore.
7493
7494 Tools: update some printfs for ansi warnings on size_t. Handle width
7495 change
7496 of size_t on 32-bit versus 64-bit generations. Lin Ming.
7497
7498 ----------------------------------------
7499 06 August 2010. Summary of changes for version 20100806:
7500
7501 1) ACPI CA Core Subsystem:
7502
7503 Designed and implemented a new host interface to the _OSI support code.
7504 This
7505 will allow the host to dynamically add or remove multiple _OSI strings,
7506 as
7507 well as install an optional handler that is called for each _OSI
7508 invocation.
7509 Also added a new AML debugger command, 'osi' to display and modify the
7510 global
7511 _OSI string table, and test support in the AcpiExec utility. See the
7512 ACPICA
7513 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
7514 New Functions:
7515 AcpiInstallInterface - Add an _OSI string.
7516 AcpiRemoveInterface - Delete an _OSI string.
7517 AcpiInstallInterfaceHandler - Install optional _OSI handler.
7518 Obsolete Functions:
7519 AcpiOsValidateInterface - no longer used.
7520 New Files:
7521 source/components/utilities/utosi.c
7522
7523 Re-introduced the support to enable multi-byte transfers for Embedded
7524 Controller (EC) operation regions. A reported problem was found to be a
7525 bug
7526 in the host OS, not in the multi-byte support. Previously, the maximum
7527 data
7528 size passed to the EC operation region handler was a single byte. There
7529 are
7530 often EC Fields larger than one byte that need to be transferred, and it
7531 is
7532 useful for the EC driver to lock these as a single transaction. This
7533 change
7534 enables single transfers larger than 8 bits. This effectively changes the
7535 access to the EC space from ByteAcc to AnyAcc, and will probably require
7536 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
7537 bit
7538 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
7539
7540 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
7541 prototype in acpiosxf.h had the output value pointer as a (void *).
7542 It should be a (UINT64 *). This may affect some host OSL code.
7543
7544 Fixed a couple problems with the recently modified Linux makefiles for
7545 iASL
7546 and AcpiExec. These new makefiles place the generated object files in the
7547 local directory so that there can be no collisions between the files that
7548 are
7549 shared between them that are compiled with different options.
7550
7551 Example Code and Data Size: These are the sizes for the OS-independent
7552 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7553 debug version of the code includes the debug output trace mechanism and
7554 has a
7555 much larger code and data size.
7556
7557 Previous Release:
7558 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7559 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
7560 Current Release:
7561 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
7562 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
7563
7564 2) iASL Compiler/Disassembler and Tools:
7565
7566 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
7567 the
7568 namespace from and disassemble an entire group of AML files. Useful for
7569 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
7570 and
7571 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
7572
7573 iASL: Allow multiple invocations of -e option. This change allows
7574 multiple
7575 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
7576 834.
7577 Lin Ming.
7578
7579 ----------------------------------------
7580 02 July 2010. Summary of changes for version 20100702:
7581
7582 1) ACPI CA Core Subsystem:
7583
7584 Implemented several updates to the recently added GPE reference count
7585 support. The model for "wake" GPEs is changing to give the host OS
7586 complete
7587 control of these GPEs. Eventually, the ACPICA core will not execute any
7588 _PRW
7589 methods, since the host already must execute them. Also, additional
7590 changes
7591 were made to help ensure that the reference counts are kept in proper
7592 synchronization with reality. Rafael J. Wysocki.
7593
7594 1) Ensure that GPEs are not enabled twice during initialization.
7595 2) Ensure that GPE enable masks stay in sync with the reference count.
7596 3) Do not inadvertently enable GPEs when writing GPE registers.
7597 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
7598 interface. This interface will set or clear individual GPEs for wakeup.
7599 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
7600 interfaces
7601 are now used for "runtime" GPEs only.
7602
7603 Changed the behavior of the GPE install/remove handler interfaces. The
7604 GPE
7605 is
7606 no longer disabled during this process, as it was found to cause problems
7607 on
7608 some machines. Rafael J. Wysocki.
7609
7610 Reverted a change introduced in version 20100528 to enable Embedded
7611 Controller multi-byte transfers. This change was found to cause problems
7612 with
7613 Index Fields and possibly Bank Fields. It will be reintroduced when these
7614 problems have been resolved.
7615
7616 Fixed a problem with references to Alias objects within Package Objects.
7617 A
7618 reference to an Alias within the definition of a Package was not always
7619 resolved properly. Aliases to objects like Processors, Thermal zones,
7620 etc.
7621 were resolved to the actual object instead of a reference to the object
7622 as
7623 it
7624 should be. Package objects are only allowed to contain integer, string,
7625 buffer, package, and reference objects. Redhat bugzilla 608648.
7626
7627 Example Code and Data Size: These are the sizes for the OS-independent
7628 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7629 debug version of the code includes the debug output trace mechanism and
7630 has a
7631 much larger code and data size.
7632
7633 Previous Release:
7634 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7635 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
7636 Current Release:
7637 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7638 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
7639
7640 2) iASL Compiler/Disassembler and Tools:
7641
7642 iASL: Implemented a new compiler subsystem to allow definition and
7643 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
7644 These
7645 are called "ACPI Data Tables", and the new compiler is the "Data Table
7646 Compiler". This compiler is intended to simplify the existing error-prone
7647 process of creating these tables for the BIOS, as well as allowing the
7648 disassembly, modification, recompilation, and override of existing ACPI
7649 data
7650 tables. See the iASL User Guide for detailed information.
7651
7652 iASL: Implemented a new Template Generator option in support of the new
7653 Data
7654 Table Compiler. This option will create examples of all known ACPI tables
7655 that can be used as the basis for table development. See the iASL
7656 documentation and the -T option.
7657
7658 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
7659 Descriptor Table).
7660
7661 Updated the Linux makefiles for iASL and AcpiExec to place the generated
7662 object files in the local directory so that there can be no collisions
7663 between the shared files between them that are generated with different
7664 options.
7665
7666 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
7667 Use
7668 the #define __APPLE__ to enable this support.
7669
7670 ----------------------------------------
7671 28 May 2010. Summary of changes for version 20100528:
7672
7673 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
7674 available at www.acpi.info. This is primarily an errata release.
7675
7676 1) ACPI CA Core Subsystem:
7677
7678 Undefined ACPI tables: We are looking for the definitions for the
7679 following
7680 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
7681
7682 Implemented support to enable multi-byte transfers for Embedded
7683 Controller
7684 (EC) operation regions. Previously, the maximum data size passed to the
7685 EC
7686 operation region handler was a single byte. There are often EC Fields
7687 larger
7688 than one byte that need to be transferred, and it is useful for the EC
7689 driver
7690 to lock these as a single transaction. This change enables single
7691 transfers
7692 larger than 8 bits. This effectively changes the access to the EC space
7693 from
7694 ByteAcc to AnyAcc, and will probably require changes to the host OS
7695 Embedded
7696 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
7697 bit
7698 transfers. Alexey Starikovskiy, Lin Ming
7699
7700 Implemented a performance enhancement for namespace search and access.
7701 This
7702 change enhances the performance of namespace searches and walks by adding
7703 a
7704 backpointer to the parent in each namespace node. On large namespaces,
7705 this
7706 change can improve overall ACPI performance by up to 9X. Adding a pointer
7707 to
7708 each namespace node increases the overall size of the internal namespace
7709 by
7710 about 5%, since each namespace entry usually consists of both a namespace
7711 node and an ACPI operand object. However, this is the first growth of the
7712 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
7713
7714 Implemented a performance optimization that reduces the number of
7715 namespace
7716 walks. On control method exit, only walk the namespace if the method is
7717 known
7718 to have created namespace objects outside of its local scope. Previously,
7719 the
7720 entire namespace was traversed on each control method exit. This change
7721 can
7722 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
7723 Moore.
7724
7725 Added support to truncate I/O addresses to 16 bits for Windows
7726 compatibility.
7727 Some ASL code has been seen in the field that inadvertently has bits set
7728 above bit 15. This feature is optional and is enabled if the BIOS
7729 requests
7730 any Windows OSI strings. It can also be enabled by the host OS. Matthew
7731 Garrett, Bob Moore.
7732
7733 Added support to limit the maximum time for the ASL Sleep() operator. To
7734 prevent accidental deep sleeps, limit the maximum time that Sleep() will
7735 actually sleep. Configurable, the default maximum is two seconds. ACPICA
7736 bugzilla 854.
7737
7738 Added run-time validation support for the _WDG and_WED Microsoft
7739 predefined
7740 methods. These objects are defined by "Windows Instrumentation", and are
7741 not
7742 part of the ACPI spec. ACPICA BZ 860.
7743
7744 Expanded all statistic counters used during namespace and device
7745 initialization from 16 to 32 bits in order to support very large
7746 namespaces.
7747
7748 Replaced all instances of %d in printf format specifiers with %u since
7749 nearly
7750 all integers in ACPICA are unsigned.
7751
7752 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
7753 returned
7754 as AE_NO_HANDLER.
7755
7756 Example Code and Data Size: These are the sizes for the OS-independent
7757 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7758 debug version of the code includes the debug output trace mechanism and
7759 has a
7760 much larger code and data size.
7761
7762 Previous Release:
7763 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
7764 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
7765 Current Release:
7766 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7767 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
7768
7769 2) iASL Compiler/Disassembler and Tools:
7770
7771 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
7772 methods. These objects are defined by "Windows Instrumentation", and are
7773 not
7774 part of the ACPI spec. ACPICA BZ 860.
7775
7776 AcpiExec: added option to disable the memory tracking mechanism. The -dt
7777 option will disable the tracking mechanism, which improves performance
7778 considerably.
7779
7780 AcpiExec: Restructured the command line options into -d (disable) and -e
7781 (enable) options.
7782
7783 ----------------------------------------
7784 28 April 2010. Summary of changes for version 20100428:
7785
7786 1) ACPI CA Core Subsystem:
7787
7788 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
7789 including FADT-based and GPE Block Devices, execute any _PRW methods in
7790 the
7791 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
7792 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
7793 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
7794 Devices. Provides compatibility with other ACPI implementations. Two new
7795 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
7796 Moore.
7797
7798 Fixed a regression introduced in version 20100331 within the table
7799 manager
7800 where initial table loading could fail. This was introduced in the fix
7801 for
7802 AcpiReallocateRootTable. Also, renamed some of fields in the table
7803 manager
7804 data structures to clarify their meaning and use.
7805
7806 Fixed a possible allocation overrun during internal object copy in
7807 AcpiUtCopySimpleObject. The original code did not correctly handle the
7808 case
7809 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
7810 847.
7811
7812 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
7813 possible access beyond end-of-allocation. Also, now fully validate
7814 descriptor
7815 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
7816
7817 Example Code and Data Size: These are the sizes for the OS-independent
7818 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7819 debug version of the code includes the debug output trace mechanism and
7820 has a
7821 much larger code and data size.
7822
7823 Previous Release:
7824 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
7825 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
7826 Current Release:
7827 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
7828 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
7829
7830 2) iASL Compiler/Disassembler and Tools:
7831
7832 iASL: Implemented Min/Max/Len/Gran validation for address resource
7833 descriptors. This change implements validation for the address fields
7834 that
7835 are common to all address-type resource descriptors. These checks are
7836 implemented: Checks for valid Min/Max, length within the Min/Max window,
7837 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
7838 per
7839 table 6-40 in the ACPI 4.0a specification. Also split the large
7840 aslrestype1.c
7841 and aslrestype2.c files into five new files. ACPICA BZ 840.
7842
7843 iASL: Added support for the _Wxx predefined names. This support was
7844 missing
7845 and these names were not recognized by the compiler as valid predefined
7846 names. ACPICA BZ 851.
7847
7848 iASL: Added an error for all predefined names that are defined to return
7849 no
7850 value and thus must be implemented as Control Methods. These include all
7851 of
7852 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
7853 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
7854
7855 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
7856 an
7857 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
7858 be
7859 dynamically loaded via the Load() operator. Also cleaned up output for
7860 the
7861 -
7862 ta and -tc options. ACPICA BZ 853.
7863
7864 Tests: Added a new file with examples of extended iASL error checking.
7865 Demonstrates the advanced error checking ability of the iASL compiler.
7866 Available at tests/misc/badcode.asl.
7867
7868 ----------------------------------------
7869 31 March 2010. Summary of changes for version 20100331:
7870
7871 1) ACPI CA Core Subsystem:
7872
7873 Completed a major update for the GPE support in order to improve support
7874 for
7875 shared GPEs and to simplify both host OS and ACPICA code. Added a
7876 reference
7877 count mechanism to support shared GPEs that require multiple device
7878 drivers.
7879 Several external interfaces have changed. One external interface has been
7880 removed. One new external interface was added. Most of the GPE external
7881 interfaces now use the GPE spinlock instead of the events mutex (and the
7882 Flags parameter for many GPE interfaces has been removed.) See the
7883 updated
7884 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
7885 Rafael
7886 Wysocki. ACPICA BZ 831.
7887
7888 Changed:
7889 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
7890 Removed:
7891 AcpiSetGpeType
7892 New:
7893 AcpiSetGpe
7894
7895 Implemented write support for DataTable operation regions. These regions
7896 are
7897 defined via the DataTableRegion() operator. Previously, only read support
7898 was
7899 implemented. The ACPI specification allows DataTableRegions to be
7900 read/write,
7901 however.
7902
7903 Implemented a new subsystem option to force a copy of the DSDT to local
7904 memory. Optionally copy the entire DSDT to local memory (instead of
7905 simply
7906 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
7907 replace
7908 the original DSDT, creating the need for this option. Default is FALSE,
7909 do
7910 not copy the DSDT.
7911
7912 Implemented detection of a corrupted or replaced DSDT. This change adds
7913 support to detect a DSDT that has been corrupted and/or replaced from
7914 outside
7915 the OS (by firmware). This is typically catastrophic for the system, but
7916 has
7917 been seen on some machines. Once this problem has been detected, the DSDT
7918 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
7919
7920 Fixed two problems with AcpiReallocateRootTable during the root table
7921 copy.
7922 When copying the root table to the new allocation, the length used was
7923 incorrect. The new size was used instead of the current table size,
7924 meaning
7925 too much data was copied. Also, the count of available slots for ACPI
7926 tables
7927 was not set correctly. Alexey Starikovskiy, Bob Moore.
7928
7929 Example Code and Data Size: These are the sizes for the OS-independent
7930 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7931 debug version of the code includes the debug output trace mechanism and
7932 has a
7933 much larger code and data size.
7934
7935 Previous Release:
7936 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
7937 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
7938 Current Release:
7939 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
7940 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
7941
7942 2) iASL Compiler/Disassembler and Tools:
7943
7944 iASL: Implement limited typechecking for values returned from predefined
7945 control methods. The type of any returned static (unnamed) object is now
7946 validated. For example, Return(1). ACPICA BZ 786.
7947
7948 iASL: Fixed a predefined name object verification regression. Fixes a
7949 problem
7950 introduced in version 20100304. An error is incorrectly generated if a
7951 predefined name is declared as a static named object with a value defined
7952 using the keywords "Zero", "One", or "Ones". Lin Ming.
7953
7954 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
7955 by
7956 reducing the requested registry access rights. ACPICA BZ 842.
7957
7958 Disassembler: fixed a possible fault when generating External()
7959 statements.
7960 Introduced in commit ae7d6fd: Properly handle externals with parent-
7961 prefix
7962 (carat). Fixes a string length allocation calculation. Lin Ming.
7963
7964 ----------------------------------------
7965 04 March 2010. Summary of changes for version 20100304:
7966
7967 1) ACPI CA Core Subsystem:
7968
7969 Fixed a possible problem with the AML Mutex handling function
7970 AcpiExReleaseMutex where the function could fault under the very rare
7971 condition when the interpreter has blocked, the interpreter lock is
7972 released,
7973 the interpreter is then reentered via the same thread, and attempts to
7974 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
7975 Lin
7976 Ming.
7977
7978 Implemented additional configuration support for the AML "Debug Object".
7979 Output from the debug object can now be enabled via a global variable,
7980 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
7981 debugging.
7982 This debug output is now available in the release version of ACPICA
7983 instead
7984 of just the debug version. Also, the entire debug output module can now
7985 be
7986 configured out of the ACPICA build if desired. One new file added,
7987 executer/exdebug.c. Lin Ming, Bob Moore.
7988
7989 Added header support for the ACPI MCHI table (Management Controller Host
7990 Interface Table). This table was added in ACPI 4.0, but the defining
7991 document
7992 has only recently become available.
7993
7994 Standardized output of integer values for ACPICA warnings/errors. Always
7995 use
7996 0x prefix for hex output, always use %u for unsigned integer decimal
7997 output.
7998 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
7999 400
8000 invocations.) These invocations were converted from the original
8001 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
8002
8003 Example Code and Data Size: These are the sizes for the OS-independent
8004 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8005 debug version of the code includes the debug output trace mechanism and
8006 has a
8007 much larger code and data size.
8008
8009 Previous Release:
8010 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
8011 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
8012 Current Release:
8013 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
8014 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
8015
8016 2) iASL Compiler/Disassembler and Tools:
8017
8018 iASL: Implemented typechecking support for static (non-control method)
8019 predefined named objects that are declared with the Name() operator. For
8020 example, the type of this object is now validated to be of type Integer:
8021 Name(_BBN, 1). This change migrates the compiler to using the core
8022 predefined
8023 name table instead of maintaining a local version. Added a new file,
8024 aslpredef.c. ACPICA BZ 832.
8025
8026 Disassembler: Added support for the ACPI 4.0 MCHI table.
8027
8028 ----------------------------------------
8029 21 January 2010. Summary of changes for version 20100121:
8030
8031 1) ACPI CA Core Subsystem:
8032
8033 Added the 2010 copyright to all module headers and signons. This affects
8034 virtually every file in the ACPICA core subsystem, the iASL compiler, the
8035 tools/utilities, and the test suites.
8036
8037 Implemented a change to the AcpiGetDevices interface to eliminate
8038 unnecessary
8039 invocations of the _STA method. In the case where a specific _HID is
8040 requested, do not run _STA until a _HID match is found. This eliminates
8041 potentially dozens of _STA calls during a search for a particular
8042 device/HID,
8043 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
8044
8045 Implemented an additional repair for predefined method return values.
8046 Attempt
8047 to repair unexpected NULL elements within returned Package objects.
8048 Create
8049 an
8050 Integer of value zero, a NULL String, or a zero-length Buffer as
8051 appropriate.
8052 ACPICA BZ 818. Lin Ming, Bob Moore.
8053
8054 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
8055 the
8056 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
8057 (with
8058 64-bit AML integers). It is now obsolete and this change removes it from
8059 the
8060 ACPICA code base, replaced by UINT64. The original typedef has been
8061 retained
8062 for now for compatibility with existing device driver code. ACPICA BZ
8063 824.
8064
8065 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
8066 in
8067 the parse tree object.
8068
8069 Added additional warning options for the gcc-4 generation. Updated the
8070 source
8071 accordingly. This includes some code restructuring to eliminate
8072 unreachable
8073 code, elimination of some gotos, elimination of unused return values,
8074 some
8075 additional casting, and removal of redundant declarations.
8076
8077 Example Code and Data Size: These are the sizes for the OS-independent
8078 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8079 debug version of the code includes the debug output trace mechanism and
8080 has a
8081 much larger code and data size.
8082
8083 Previous Release:
8084 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
8085 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
8086 Current Release:
8087 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
8088 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
8089
8090 2) iASL Compiler/Disassembler and Tools:
8091
8092 No functional changes for this release.
8093
8094 ----------------------------------------
8095 14 December 2009. Summary of changes for version 20091214:
8096
8097 1) ACPI CA Core Subsystem:
8098
8099 Enhanced automatic data type conversions for predefined name repairs.
8100 This
8101 change expands the automatic repairs/conversions for predefined name
8102 return
8103 values to make Integers, Strings, and Buffers fully interchangeable.
8104 Also,
8105 a
8106 Buffer can be converted to a Package of Integers if necessary. The
8107 nsrepair.c
8108 module was completely restructured. Lin Ming, Bob Moore.
8109
8110 Implemented automatic removal of null package elements during predefined
8111 name
8112 repairs. This change will automatically remove embedded and trailing NULL
8113 package elements from returned package objects that are defined to
8114 contain
8115 a
8116 variable number of sub-packages. The driver is then presented with a
8117 package
8118 with no null elements to deal with. ACPICA BZ 819.
8119
8120 Implemented a repair for the predefined _FDE and _GTM names. The expected
8121 return value for both names is a Buffer of 5 DWORDs. This repair fixes
8122 two
8123 possible problems (both seen in the field), where a package of integers
8124 is
8125 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
8126 Kim.
8127
8128 Implemented additional module-level code support. This change will
8129 properly
8130 execute module-level code that is not at the root of the namespace (under
8131 a
8132 Device object, etc.). Now executes the code within the current scope
8133 instead
8134 of the root. ACPICA BZ 762. Lin Ming.
8135
8136 Fixed possible mutex acquisition errors when running _REG methods. Fixes
8137 a
8138 problem where mutex errors can occur when running a _REG method that is
8139 in
8140 the same scope as a method-defined operation region or an operation
8141 region
8142 under a module-level IF block. This type of code is rare, so the problem
8143 has
8144 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
8145
8146 Fixed a possible memory leak during module-level code execution. An
8147 object
8148 could be leaked for each block of executed module-level code if the
8149 interpreter slack mode is enabled This change deletes any implicitly
8150 returned
8151 object from the module-level code block. Lin Ming.
8152
8153 Removed messages for successful predefined repair(s). The repair
8154 mechanism
8155 was considered too wordy. Now, messages are only unconditionally emitted
8156 if
8157 the return object cannot be repaired. Existing messages for successful
8158 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
8159 827.
8160
8161 Example Code and Data Size: These are the sizes for the OS-independent
8162 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8163 debug version of the code includes the debug output trace mechanism and
8164 has a
8165 much larger code and data size.
8166
8167 Previous Release:
8168 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
8169 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
8170 Current Release:
8171 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
8172 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
8173
8174 2) iASL Compiler/Disassembler and Tools:
8175
8176 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
8177 files
8178 were no longer automatically removed at the termination of the compile.
8179
8180 acpiexec: Implemented the -f option to specify default region fill value.
8181 This option specifies the value used to initialize buffers that simulate
8182 operation regions. Default value is zero. Useful for debugging problems
8183 that
8184 depend on a specific initial value for a region or field.
8185
8186 ----------------------------------------
8187 12 November 2009. Summary of changes for version 20091112:
8188
8189 1) ACPI CA Core Subsystem:
8190
8191 Implemented a post-order callback to AcpiWalkNamespace. The existing
8192 interface only has a pre-order callback. This change adds an additional
8193 parameter for a post-order callback which will be more useful for bus
8194 scans.
8195 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
8196
8197 Modified the behavior of the operation region memory mapping cache for
8198 SystemMemory. Ensure that the memory mappings created for operation
8199 regions
8200 do not cross 4K page boundaries. Crossing a page boundary while mapping
8201 regions can cause kernel warnings on some hosts if the pages have
8202 different
8203 attributes. Such regions are probably BIOS bugs, and this is the
8204 workaround.
8205 Linux BZ 14445. Lin Ming.
8206
8207 Implemented an automatic repair for predefined methods that must return
8208 sorted lists. This change will repair (by sorting) packages returned by
8209 _ALR,
8210 _PSS, and _TSS. Drivers can now assume that the packages are correctly
8211 sorted
8212 and do not contain NULL package elements. Adds one new file,
8213 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
8214
8215 Fixed a possible fault during predefined name validation if a return
8216 Package
8217 object contains NULL elements. Also adds a warning if a NULL element is
8218 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
8219 may
8220 include repair or removal of all such NULL elements where possible.
8221
8222 Implemented additional module-level executable AML code support. This
8223 change
8224 will execute module-level code that is not at the root of the namespace
8225 (under a Device object, etc.) at table load time. Module-level executable
8226 AML
8227 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
8228
8229 Implemented a new internal function to create Integer objects. This
8230 function
8231 simplifies miscellaneous object creation code. ACPICA BZ 823.
8232
8233 Reduced the severity of predefined repair messages, Warning to Info.
8234 Since
8235 the object was successfully repaired, a warning is too severe. Reduced to
8236 an
8237 info message for now. These messages may eventually be changed to debug-
8238 only.
8239 ACPICA BZ 812.
8240
8241 Example Code and Data Size: These are the sizes for the OS-independent
8242 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8243 debug version of the code includes the debug output trace mechanism and
8244 has a
8245 much larger code and data size.
8246
8247 Previous Release:
8248 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
8249 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
8250 Current Release:
8251 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
8252 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
8253
8254 2) iASL Compiler/Disassembler and Tools:
8255
8256 iASL: Implemented Switch() with While(1) so that Break works correctly.
8257 This
8258 change correctly implements the Switch operator with a surrounding
8259 While(1)
8260 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
8261
8262 iASL: Added a message if a package initializer list is shorter than
8263 package
8264 length. Adds a new remark for a Package() declaration if an initializer
8265 list
8266 exists, but is shorter than the declared length of the package. Although
8267 technically legal, this is probably a coding error and it is seen in the
8268 field. ACPICA BZ 815. Lin Ming, Bob Moore.
8269
8270 iASL: Fixed a problem where the compiler could fault after the maximum
8271 number
8272 of errors was reached (200).
8273
8274 acpixtract: Fixed a possible warning for pointer cast if the compiler
8275 warning
8276 level set very high.
8277
8278 ----------------------------------------
8279 13 October 2009. Summary of changes for version 20091013:
8280
8281 1) ACPI CA Core Subsystem:
8282
8283 Fixed a problem where an Operation Region _REG method could be executed
8284 more
8285 than once. If a custom address space handler is installed by the host
8286 before
8287 the "initialize operation regions" phase of the ACPICA initialization,
8288 any
8289 _REG methods for that address space could be executed twice. This change
8290 fixes the problem. ACPICA BZ 427. Lin Ming.
8291
8292 Fixed a possible memory leak for the Scope() ASL operator. When the exact
8293 invocation of "Scope(\)" is executed (change scope to root), one internal
8294 operand object was leaked. Lin Ming.
8295
8296 Implemented a run-time repair for the _MAT predefined method. If the _MAT
8297 return value is defined as a Field object in the AML, and the field
8298 size is less than or equal to the default width of an integer (32 or
8299 64),_MAT
8300 can incorrectly return an Integer instead of a Buffer. ACPICA now
8301 automatically repairs this problem. ACPICA BZ 810.
8302
8303 Implemented a run-time repair for the _BIF and _BIX predefined methods.
8304 The
8305 "OEM Information" field is often incorrectly returned as an Integer with
8306 value zero if the field is not supported by the platform. This is due to
8307 an
8308 ambiguity in the ACPI specification. The field should always be a string.
8309 ACPICA now automatically repairs this problem by returning a NULL string
8310 within the returned Package. ACPICA BZ 807.
8311
8312 Example Code and Data Size: These are the sizes for the OS-independent
8313 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8314 debug version of the code includes the debug output trace mechanism and
8315 has a
8316 much larger code and data size.
8317
8318 Previous Release:
8319 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
8320 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
8321 Current Release:
8322 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
8323 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
8324
8325 2) iASL Compiler/Disassembler and Tools:
8326
8327 Disassembler: Fixed a problem where references to external symbols that
8328 contained one or more parent-prefixes (carats) were not handled
8329 correctly,
8330 possibly causing a fault. ACPICA BZ 806. Lin Ming.
8331
8332 Disassembler: Restructured the code so that all functions that handle
8333 external symbols are in a single module. One new file is added,
8334 common/dmextern.c.
8335
8336 AML Debugger: Added a max count argument for the Batch command (which
8337 executes multiple predefined methods within the namespace.)
8338
8339 iASL: Updated the compiler documentation (User Reference.) Available at
8340 http://www.acpica.org/documentation/. ACPICA BZ 750.
8341
8342 AcpiXtract: Updated for Lint and other formatting changes. Close all open
8343 files.
8344
8345 ----------------------------------------
8346 03 September 2009. Summary of changes for version 20090903:
8347
8348 1) ACPI CA Core Subsystem:
8349
8350 For Windows Vista compatibility, added the automatic execution of an _INI
8351 method located at the namespace root (\_INI). This method is executed at
8352 table load time. This support is in addition to the automatic execution
8353 of
8354 \_SB._INI. Lin Ming.
8355
8356 Fixed a possible memory leak in the interpreter for AML package objects
8357 if
8358 the package initializer list is longer than the defined size of the
8359 package.
8360 This apparently can only happen if the BIOS changes the package size on
8361 the
8362 fly (seen in a _PSS object), as ASL compilers do not allow this. The
8363 interpreter will truncate the package to the defined size (and issue an
8364 error
8365 message), but previously could leave the extra objects undeleted if they
8366 were
8367 pre-created during the argument processing (such is the case if the
8368 package
8369 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
8370
8371 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
8372 This has been reported in the field. Previously, ACPICA would zero out
8373 the
8374 buffer/string. Now, the operation is treated as a noop. Provides Windows
8375 compatibility. ACPICA BZ 803. Lin Ming.
8376
8377 Removed an extraneous error message for ASL constructs of the form
8378 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
8379 statements
8380 are seen in many BIOSs and are once again treated as NOOPs and no error
8381 is
8382 emitted when they are encountered. ACPICA BZ 785.
8383
8384 Fixed an extraneous warning message if a _DSM reserved method returns a
8385 Package object. _DSM can return any type of object, so validation on the
8386 return type cannot be performed. ACPICA BZ 802.
8387
8388 Example Code and Data Size: These are the sizes for the OS-independent
8389 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8390 debug version of the code includes the debug output trace mechanism and
8391 has a
8392 much larger code and data size.
8393
8394 Previous Release:
8395 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
8396 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
8397 Current Release:
8398 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
8399 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
8400
8401 2) iASL Compiler/Disassembler and Tools:
8402
8403 iASL: Fixed a problem with the use of the Alias operator and Resource
8404 Templates. The correct alias is now constructed and no error is emitted.
8405 ACPICA BZ 738.
8406
8407 iASL: Implemented the -I option to specify additional search directories
8408 for
8409 include files. Allows multiple additional search paths for include files.
8410 Directories are searched in the order specified on the command line
8411 (after
8412 the local directory is searched.) ACPICA BZ 800.
8413
8414 iASL: Fixed a problem where the full pathname for include files was not
8415 emitted for warnings/errors. This caused the IDE support to not work
8416 properly. ACPICA BZ 765.
8417
8418 iASL: Implemented the -@ option to specify a Windows-style response file
8419 containing additional command line options. ACPICA BZ 801.
8420
8421 AcpiExec: Added support to load multiple AML files simultaneously (such
8422 as
8423 a
8424 DSDT and multiple SSDTs). Also added support for wildcards within the AML
8425 pathname. These features allow all machine tables to be easily loaded and
8426 debugged together. ACPICA BZ 804.
8427
8428 Disassembler: Added missing support for disassembly of HEST table Error
8429 Bank
8430 subtables.
8431
8432 ----------------------------------------
8433 30 July 2009. Summary of changes for version 20090730:
8434
8435 The ACPI 4.0 implementation for ACPICA is complete with this release.
8436
8437 1) ACPI CA Core Subsystem:
8438
8439 ACPI 4.0: Added header file support for all new and changed ACPI tables.
8440 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
8441 new
8442 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
8443 BERT,
8444 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
8445 There
8446 have been some ACPI 4.0 changes to other existing tables. Split the large
8447 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
8448
8449 ACPI 4.0: Implemented predefined name validation for all new names. There
8450 are
8451 31 new names in ACPI 4.0. The predefined validation module was split into
8452 two
8453 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
8454
8455 Implemented support for so-called "module-level executable code". This is
8456 executable AML code that exists outside of any control method and is
8457 intended
8458 to be executed at table load time. Although illegal since ACPI 2.0, this
8459 type
8460 of code still exists and is apparently still being created. Blocks of
8461 this
8462 code are now detected and executed as intended. Currently, the code
8463 blocks
8464 must exist under either an If, Else, or While construct; these are the
8465 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
8466
8467 Implemented an automatic dynamic repair for predefined names that return
8468 nested Package objects. This applies to predefined names that are defined
8469 to
8470 return a variable-length Package of sub-packages. If the number of sub-
8471 packages is one, BIOS code is occasionally seen that creates a simple
8472 single
8473 package with no sub-packages. This code attempts to fix the problem by
8474 wrapping a new package object around the existing package. These methods
8475 can
8476 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
8477 BZ
8478 790.
8479
8480 Fixed a regression introduced in 20090625 for the AcpiGetDevices
8481 interface.
8482 The _HID/_CID matching was broken and no longer matched IDs correctly.
8483 ACPICA
8484 BZ 793.
8485
8486 Fixed a problem with AcpiReset where the reset would silently fail if the
8487 register was one of the protected I/O ports. AcpiReset now bypasses the
8488 port
8489 validation mechanism. This may eventually be driven into the
8490 AcpiRead/Write
8491 interfaces.
8492
8493 Fixed a regression related to the recent update of the AcpiRead/Write
8494 interfaces. A sleep/suspend could fail if the optional PM2 Control
8495 register
8496 does not exist during an attempt to write the Bus Master Arbitration bit.
8497 (However, some hosts already delete the code that writes this bit, and
8498 the
8499 code may in fact be obsolete at this date.) ACPICA BZ 799.
8500
8501 Fixed a problem where AcpiTerminate could fault if inadvertently called
8502 twice
8503 in succession. ACPICA BZ 795.
8504
8505 Example Code and Data Size: These are the sizes for the OS-independent
8506 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8507 debug version of the code includes the debug output trace mechanism and
8508 has a
8509 much larger code and data size.
8510
8511 Previous Release:
8512 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
8513 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
8514 Current Release:
8515 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
8516 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
8517
8518 2) iASL Compiler/Disassembler and Tools:
8519
8520 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
8521 changes to existing tables. ACPICA BZ 775.
8522
8523 ----------------------------------------
8524 25 June 2009. Summary of changes for version 20090625:
8525
8526 The ACPI 4.0 Specification was released on June 16 and is available at
8527 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
8528 continue for the next few releases.
8529
8530 1) ACPI CA Core Subsystem:
8531
8532 ACPI 4.0: Implemented interpreter support for the IPMI operation region
8533 address space. Includes support for bi-directional data buffers and an
8534 IPMI
8535 address space handler (to be installed by an IPMI device driver.) ACPICA
8536 BZ
8537 773. Lin Ming.
8538
8539 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
8540 Includes
8541 support in both the header files and the disassembler.
8542
8543 Completed a major update for the AcpiGetObjectInfo external interface.
8544 Changes include:
8545 - Support for variable, unlimited length HID, UID, and CID strings.
8546 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
8547 etc.)
8548 - Call the _SxW power methods on behalf of a device object.
8549 - Determine if a device is a PCI root bridge.
8550 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
8551 These changes will require an update to all callers of this interface.
8552 See
8553 the updated ACPICA Programmer Reference for details. One new source file
8554 has
8555 been added - utilities/utids.c. ACPICA BZ 368, 780.
8556
8557 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
8558 transfers. The Value parameter has been extended from 32 bits to 64 bits
8559 in
8560 order to support new ACPI 4.0 tables. These changes will require an
8561 update
8562 to
8563 all callers of these interfaces. See the ACPICA Programmer Reference for
8564 details. ACPICA BZ 768.
8565
8566 Fixed several problems with AcpiAttachData. The handler was not invoked
8567 when
8568 the host node was deleted. The data sub-object was not automatically
8569 deleted
8570 when the host node was deleted. The interface to the handler had an
8571 unused
8572 parameter, this was removed. ACPICA BZ 778.
8573
8574 Enhanced the function that dumps ACPI table headers. All non-printable
8575 characters in the string fields are now replaced with '?' (Signature,
8576 OemId,
8577 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
8578 these fields are occasionally seen in the field. ACPICA BZ 788.
8579
8580 Fixed a problem with predefined method repair code where the code that
8581 attempts to repair/convert an object of incorrect type is only executed
8582 on
8583 the first time the predefined method is called. The mechanism that
8584 disables
8585 warnings on subsequent calls was interfering with the repair mechanism.
8586 ACPICA BZ 781.
8587
8588 Fixed a possible memory leak in the predefined validation/repair code
8589 when
8590 a
8591 buffer is automatically converted to an expected string object.
8592
8593 Removed obsolete 16-bit files from the distribution and from the current
8594 git
8595 tree head. ACPICA BZ 776.
8596
8597 Example Code and Data Size: These are the sizes for the OS-independent
8598 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8599 debug version of the code includes the debug output trace mechanism and
8600 has a
8601 much larger code and data size.
8602
8603 Previous Release:
8604 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
8605 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
8606 Current Release:
8607 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
8608 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
8609
8610 2) iASL Compiler/Disassembler and Tools:
8611
8612 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
8613 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
8614
8615 ACPI 4.0: iASL - implemented compile-time validation support for all new
8616 predefined names and control methods (31 total). ACPICA BZ 769.
8617
8618 ----------------------------------------
8619 21 May 2009. Summary of changes for version 20090521:
8620
8621 1) ACPI CA Core Subsystem:
8622
8623 Disabled the preservation of the SCI enable bit in the PM1 control
8624 register.
8625 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
8626 to
8627 be
8628 a "preserved" bit - "OSPM always preserves this bit position", section
8629 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
8630 because the bit needs to be explicitly set by the OS as a workaround. No
8631 machines fail if the bit is not preserved. Therefore, ACPICA no longer
8632 attempts to preserve this bit.
8633
8634 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
8635 incorrectly formed _PRT package could cause a fault. Added validation to
8636 ensure that each package element is actually a sub-package.
8637
8638 Implemented a new interface to install or override a single control
8639 method,
8640 AcpiInstallMethod. This interface is useful when debugging in order to
8641 repair
8642 an existing method or to install a missing method without having to
8643 override
8644 the entire ACPI table. See the ACPICA Programmer Reference for use and
8645 examples. Lin Ming, Bob Moore.
8646
8647 Fixed several reference count issues with the DdbHandle object that is
8648 created from a Load or LoadTable operator. Prevent premature deletion of
8649 the
8650 object. Also, mark the object as invalid once the table has been
8651 unloaded.
8652 This is needed because the handle itself may not be deleted after the
8653 table
8654 unload, depending on whether it has been stored in a named object by the
8655 caller. Lin Ming.
8656
8657 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
8658 mutexes of the same sync level are acquired but then not released in
8659 strict
8660 opposite order, the internally maintained Current Sync Level becomes
8661 confused
8662 and can cause subsequent execution errors. ACPICA BZ 471.
8663
8664 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
8665 specification has been changed to make the SyncLevel for mutex objects
8666 more
8667 useful. When releasing a mutex, the SyncLevel of the mutex must now be
8668 the
8669 same as the current sync level. This makes more sense than the previous
8670 rule
8671 (SyncLevel less than or equal). This change updates the code to match the
8672 specification.
8673
8674 Fixed a problem with the local version of the AcpiOsPurgeCache function.
8675 The
8676 (local) cache must be locked during all cache object deletions. Andrew
8677 Baumann.
8678
8679 Updated the Load operator to use operation region interfaces. This
8680 replaces
8681 direct memory mapping with region access calls. Now, all region accesses
8682 go
8683 through the installed region handler as they should.
8684
8685 Simplified and optimized the NsGetNextNode function. Reduced parameter
8686 count
8687 and reduced code for this frequently used function.
8688
8689 Example Code and Data Size: These are the sizes for the OS-independent
8690 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8691 debug version of the code includes the debug output trace mechanism and
8692 has a
8693 much larger code and data size.
8694
8695 Previous Release:
8696 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
8697 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
8698 Current Release:
8699 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
8700 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
8701
8702 2) iASL Compiler/Disassembler and Tools:
8703
8704 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
8705 problems
8706 with sub-table disassembly and handling invalid sub-tables. Attempt
8707 recovery
8708 after an invalid sub-table ID.
8709
8710 ----------------------------------------
8711 22 April 2009. Summary of changes for version 20090422:
8712
8713 1) ACPI CA Core Subsystem:
8714
8715 Fixed a compatibility issue with the recently released I/O port
8716 protection
8717 mechanism. For windows compatibility, 1) On a port protection violation,
8718 simply ignore the request and do not return an exception (allow the
8719 control
8720 method to continue execution.) 2) If only part of the request overlaps a
8721 protected port, read/write the individual ports that are not protected.
8722 Linux
8723 BZ 13036. Lin Ming
8724
8725 Enhanced the execution of the ASL/AML BreakPoint operator so that it
8726 actually
8727 breaks into the AML debugger if the debugger is present. This matches the
8728 ACPI-defined behavior.
8729
8730 Fixed several possible warnings related to the use of the configurable
8731 ACPI_THREAD_ID. This type can now be configured as either an integer or a
8732 pointer with no warnings. Also fixes several warnings in printf-like
8733 statements for the 64-bit build when the type is configured as a pointer.
8734 ACPICA BZ 766, 767.
8735
8736 Fixed a number of possible warnings when compiling with gcc 4+ (depending
8737 on
8738 warning options.) Examples include printf formats, aliasing, unused
8739 globals,
8740 missing prototypes, missing switch default statements, use of non-ANSI
8741 library functions, use of non-ANSI constructs. See generate/unix/Makefile
8742 for
8743 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
8744
8745 Example Code and Data Size: These are the sizes for the OS-independent
8746 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8747 debug version of the code includes the debug output trace mechanism and
8748 has a
8749 much larger code and data size.
8750
8751 Previous Release:
8752 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
8753 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
8754 Current Release:
8755 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
8756 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
8757
8758 2) iASL Compiler/Disassembler and Tools:
8759
8760 iASL: Fixed a generation warning from Bison 2.3 and fixed several
8761 warnings
8762 on
8763 the 64-bit build.
8764
8765 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
8766 not
8767 correctly digest Windows/DOS formatted files (with CR/LF).
8768
8769 iASL: Added a new option for "quiet mode" (-va) that produces only the
8770 compilation summary, not individual errors and warnings. Useful for large
8771 batch compilations.
8772
8773 AcpiExec: Implemented a new option (-z) to enable a forced
8774 semaphore/mutex
8775 timeout that can be used to detect hang conditions during execution of
8776 AML
8777 code (includes both internal semaphores and AML-defined mutexes and
8778 events.)
8779
8780 Added new makefiles for the generation of acpica in a generic unix-like
8781 environment. These makefiles are intended to generate the acpica tools
8782 and
8783 utilities from the original acpica git source tree structure.
8784
8785 Test Suites: Updated and cleaned up the documentation files. Updated the
8786 copyrights to 2009, affecting all source files. Use the new version of
8787 iASL
8788 with quiet mode. Increased the number of available semaphores in the
8789 Windows
8790 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
8791 added
8792 an alternate implementation of the semaphore timeout to allow aslts to
8793 execute fully on Cygwin.
8794
8795 ----------------------------------------
8796 20 March 2009. Summary of changes for version 20090320:
8797
8798 1) ACPI CA Core Subsystem:
8799
8800 Fixed a possible race condition between AcpiWalkNamespace and dynamic
8801 table
8802 unloads. Added a reader/writer locking mechanism to allow multiple
8803 concurrent
8804 namespace walks (readers), but block a dynamic table unload until it can
8805 gain
8806 exclusive write access to the namespace. This fixes a problem where a
8807 table
8808 unload could (possibly catastrophically) delete the portion of the
8809 namespace
8810 that is currently being examined by a walk. Adds a new file, utlock.c,
8811 that
8812 implements the reader/writer lock mechanism. ACPICA BZ 749.
8813
8814 Fixed a regression introduced in version 20090220 where a change to the
8815 FADT
8816 handling could cause the ACPICA subsystem to access non-existent I/O
8817 ports.
8818
8819 Modified the handling of FADT register and table (FACS/DSDT) addresses.
8820 The
8821 FADT can contain both 32-bit and 64-bit versions of these addresses.
8822 Previously, the 64-bit versions were favored, meaning that if both 32 and
8823 64
8824 versions were valid, but not equal, the 64-bit version was used. This was
8825 found to cause some machines to fail. Now, in this case, the 32-bit
8826 version
8827 is used instead. This now matches the Windows behavior.
8828
8829 Implemented a new mechanism to protect certain I/O ports. Provides
8830 Microsoft
8831 compatibility and protects the standard PC I/O ports from access via AML
8832 code. Adds a new file, hwvalid.c
8833
8834 Fixed a possible extraneous warning message from the FADT support. The
8835 message warns of a 32/64 length mismatch between the legacy and GAS
8836 definitions for a register.
8837
8838 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
8839 is
8840 made obsolete by the port protection mechanism above. It was previously
8841 used
8842 to validate the entire address range of an operation region, which could
8843 be
8844 incorrect if the range included illegal ports, but fields within the
8845 operation region did not actually access those ports. Validation is now
8846 performed on a per-field basis instead of the entire region.
8847
8848 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
8849 Ignored bits must be "preserved" according to the ACPI spec. Usually,
8850 this
8851 means a read/modify/write when writing to the register. However, for
8852 status
8853 registers, writing a one means clear the event. Writing a zero means
8854 preserve
8855 the event (do not clear.) This behavior is clarified in the ACPI 4.0
8856 spec,
8857 and the ACPICA code now simply always writes a zero to the ignored bit.
8858
8859 Modified the handling of ignored bits for the PM1 A/B Control Registers.
8860 As
8861 per the ACPI specification, for the control registers, preserve
8862 (read/modify/write) all bits that are defined as either reserved or
8863 ignored.
8864
8865 Updated the handling of write-only bits in the PM1 A/B Control Registers.
8866 When reading the register, zero the write-only bits as per the ACPI spec.
8867 ACPICA BZ 443. Lin Ming.
8868
8869 Removed "Linux" from the list of supported _OSI strings. Linux no longer
8870 wants to reply true to this request. The Windows strings are the only
8871 paths
8872 through the AML that are tested and known to work properly.
8873
8874 Previous Release:
8875 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
8876 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
8877 Current Release:
8878 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
8879 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
8880
8881 2) iASL Compiler/Disassembler and Tools:
8882
8883 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
8884 and
8885 aetables.c
8886
8887 ----------------------------------------
8888 20 February 2009. Summary of changes for version 20090220:
8889
8890 1) ACPI CA Core Subsystem:
8891
8892 Optimized the ACPI register locking. Removed locking for reads from the
8893 ACPI
8894 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
8895 is
8896 not required when reading the single-bit registers. The
8897 AcpiGetRegisterUnlocked function is no longer needed and has been
8898 removed.
8899 This will improve performance for reads on these registers. ACPICA BZ
8900 760.
8901
8902 Fixed the parameter validation for AcpiRead/Write. Now return
8903 AE_BAD_PARAMETER if the input register pointer is null, and
8904 AE_BAD_ADDRESS
8905 if
8906 the register has an address of zero. Previously, these cases simply
8907 returned
8908 AE_OK. For optional registers such as PM1B status/enable/control, the
8909 caller
8910 should check for a valid register address before calling. ACPICA BZ 748.
8911
8912 Renamed the external ACPI bit register access functions. Renamed
8913 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
8914 functions. The new names are AcpiReadBitRegister and
8915 AcpiWriteBitRegister.
8916 Also, restructured the code for these functions by simplifying the code
8917 path
8918 and condensing duplicate code to reduce code size.
8919
8920 Added new functions to transparently handle the possibly split PM1 A/B
8921 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
8922 functions
8923 now handle the split registers for PM1 Status, Enable, and Control.
8924 ACPICA
8925 BZ
8926 746.
8927
8928 Added a function to handle the PM1 control registers,
8929 AcpiHwWritePm1Control.
8930 This function writes both of the PM1 control registers (A/B). These
8931 registers
8932 are different than the PM1 A/B status and enable registers in that
8933 different
8934 values can be written to the A/B registers. Most notably, the SLP_TYP
8935 bits
8936 can be different, as per the values returned from the _Sx predefined
8937 methods.
8938
8939 Removed an extra register write within AcpiHwClearAcpiStatus. This
8940 function
8941 was writing an optional PM1B status register twice. The existing call to
8942 the
8943 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
8944 A/B
8945 register. ACPICA BZ 751.
8946
8947 Split out the PM1 Status registers from the FADT. Added new globals for
8948 these
8949 registers (A/B), similar to the way the PM1 Enable registers are handled.
8950 Instead of overloading the FADT Event Register blocks. This makes the
8951 code
8952 clearer and less prone to error.
8953
8954 Fixed the warning message for when the platform contains too many ACPI
8955 tables
8956 for the default size of the global root table data structure. The
8957 calculation
8958 for the truncation value was incorrect.
8959
8960 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
8961 obsolete macro, since it is now a simple reference to ->common.type.
8962 There
8963 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
8964
8965 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
8966 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
8967 simply SLEEP_TYPE. ACPICA BZ 754.
8968
8969 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
8970 function is only needed on 64-bit host operating systems and is thus not
8971 included for 32-bit hosts.
8972
8973 Debug output: print the input and result for invocations of the _OSI
8974 reserved
8975 control method via the ACPI_LV_INFO debug level. Also, reduced some of
8976 the
8977 verbosity of this debug level. Len Brown.
8978
8979 Example Code and Data Size: These are the sizes for the OS-independent
8980 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8981 debug version of the code includes the debug output trace mechanism and
8982 has a
8983 much larger code and data size.
8984
8985 Previous Release:
8986 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
8987 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
8988 Current Release:
8989 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
8990 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
8991
8992 2) iASL Compiler/Disassembler and Tools:
8993
8994 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
8995 various legal performance profiles.
8996
8997 ----------------------------------------
8998 23 January 2009. Summary of changes for version 20090123:
8999
9000 1) ACPI CA Core Subsystem:
9001
9002 Added the 2009 copyright to all module headers and signons. This affects
9003 virtually every file in the ACPICA core subsystem, the iASL compiler, and
9004 the tools/utilities.
9005
9006 Implemented a change to allow the host to override any ACPI table,
9007 including
9008 dynamically loaded tables. Previously, only the DSDT could be replaced by
9009 the
9010 host. With this change, the AcpiOsTableOverride interface is called for
9011 each
9012 table found in the RSDT/XSDT during ACPICA initialization, and also
9013 whenever
9014 a table is dynamically loaded via the AML Load operator.
9015
9016 Updated FADT flag definitions, especially the Boot Architecture flags.
9017
9018 Debugger: For the Find command, automatically pad the input ACPI name
9019 with
9020 underscores if the name is shorter than 4 characters. This enables a
9021 match
9022 with the actual namespace entry which is itself padded with underscores.
9023
9024 Example Code and Data Size: These are the sizes for the OS-independent
9025 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9026 debug version of the code includes the debug output trace mechanism and
9027 has a
9028 much larger code and data size.
9029
9030 Previous Release:
9031 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
9032 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
9033 Current Release:
9034 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
9035 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
9036
9037 2) iASL Compiler/Disassembler and Tools:
9038
9039 Fix build error under Bison-2.4.
9040
9041 Disassembler: Enhanced FADT support. Added decoding of the Boot
9042 Architecture
9043 flags. Now decode all flags, regardless of the FADT version. Flag output
9044 includes the FADT version which first defined each flag.
9045
9046 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
9047 and
9048 DSDT). Windows only.
9049
9050 ----------------------------------------
9051 04 December 2008. Summary of changes for version 20081204:
9052
9053 1) ACPI CA Core Subsystem:
9054
9055 The ACPICA Programmer Reference has been completely updated and revamped
9056 for
9057 this release. This includes updates to the external interfaces, OSL
9058 interfaces, the overview sections, and the debugger reference.
9059
9060 Several new ACPICA interfaces have been implemented and documented in the
9061 programmer reference:
9062 AcpiReset - Writes the reset value to the FADT-defined reset register.
9063 AcpiDisableAllGpes - Disable all available GPEs.
9064 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
9065 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
9066 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
9067 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
9068 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
9069
9070 Most of the public ACPI hardware-related interfaces have been moved to a
9071 new
9072 file, components/hardware/hwxface.c
9073
9074 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
9075 register lengths within the FADT are now used, and the low level ACPI
9076 register access no longer hardcodes the ACPI register lengths. Given that
9077 there may be some risk in actually trusting the FADT register lengths, a
9078 run-
9079 time option was added to fall back to the default hardcoded lengths if
9080 the
9081 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
9082 option is set to true for now, and a warning is issued if a suspicious
9083 FADT
9084 register length is overridden with the default value.
9085
9086 Fixed a reference count issue in NsRepairObject. This problem was
9087 introduced
9088 in version 20081031 as part of a fix to repair Buffer objects within
9089 Packages. Lin Ming.
9090
9091 Added semaphore support to the Linux/Unix application OS-services layer
9092 (OSL). ACPICA BZ 448. Lin Ming.
9093
9094 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
9095 will
9096 be implemented in the OSL, or will binary semaphores be used instead.
9097
9098 Example Code and Data Size: These are the sizes for the OS-independent
9099 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9100 debug version of the code includes the debug output trace mechanism and
9101 has a
9102 much larger code and data size.
9103
9104 Previous Release:
9105 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
9106 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
9107 Current Release:
9108 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
9109 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
9110
9111 2) iASL Compiler/Disassembler and Tools:
9112
9113 iASL: Completed the '-e' option to include additional ACPI tables in
9114 order
9115 to
9116 aid with disassembly and External statement generation. ACPICA BZ 742.
9117 Lin
9118 Ming.
9119
9120 iASL: Removed the "named object in while loop" error. The compiler cannot
9121 determine how many times a loop will execute. ACPICA BZ 730.
9122
9123 Disassembler: Implemented support for FADT revision 2 (MS extension).
9124 ACPICA
9125 BZ 743.
9126
9127 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
9128 MCFG).
9129
9130 ----------------------------------------
9131 31 October 2008. Summary of changes for version 20081031:
9132
9133 1) ACPI CA Core Subsystem:
9134
9135 Restructured the ACPICA header files into public/private. acpi.h now
9136 includes
9137 only the "public" acpica headers. All other acpica headers are "private"
9138 and
9139 should not be included by acpica users. One new file, accommon.h is used
9140 to
9141 include the commonly used private headers for acpica code generation.
9142 Future
9143 plans include moving all private headers to a new subdirectory.
9144
9145 Implemented an automatic Buffer->String return value conversion for
9146 predefined ACPI methods. For these methods (such as _BIF), added
9147 automatic
9148 conversion for return objects that are required to be a String, but a
9149 Buffer
9150 was found instead. This can happen when reading string battery data from
9151 an
9152 operation region, because it used to be difficult to convert the data
9153 from
9154 buffer to string from within the ASL. Ensures that the host OS is
9155 provided
9156 with a valid null-terminated string. Linux BZ 11822.
9157
9158 Updated the FACS waking vector interfaces. Split
9159 AcpiSetFirmwareWakingVector
9160 into two: one for the 32-bit vector, another for the 64-bit vector. This
9161 is
9162 required because the host OS must setup the wake much differently for
9163 each
9164 vector (real vs. protected mode, etc.) and the interface itself should
9165 not
9166 be
9167 deciding which vector to use. Also, eliminated the
9168 GetFirmwareWakingVector
9169 interface, as it served no purpose (only the firmware reads the vector,
9170 OS
9171 only writes the vector.) ACPICA BZ 731.
9172
9173 Implemented a mechanism to escape infinite AML While() loops. Added a
9174 loop
9175 counter to force exit from AML While loops if the count becomes too
9176 large.
9177 This can occur in poorly written AML when the hardware does not respond
9178 within a while loop and the loop does not implement a timeout. The
9179 maximum
9180 loop count is configurable. A new exception code is returned when a loop
9181 is
9182 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
9183
9184 Optimized the execution of AML While loops. Previously, a control state
9185 object was allocated and freed for each execution of the loop. The
9186 optimization is to simply reuse the control state for each iteration.
9187 This
9188 speeds up the raw loop execution time by about 5%.
9189
9190 Enhanced the implicit return mechanism. For Windows compatibility, return
9191 an
9192 implicit integer of value zero for methods that contain no executable
9193 code.
9194 Such methods are seen in the field as stubs (presumably), and can cause
9195 drivers to fail if they expect a return value. Lin Ming.
9196
9197 Allow multiple backslashes as root prefixes in namepaths. In a fully
9198 qualified namepath, allow multiple backslash prefixes. This can happen
9199 (and
9200 is seen in the field) because of the use of a double-backslash in strings
9201 (since backslash is the escape character) causing confusion. ACPICA BZ
9202 739
9203 Lin Ming.
9204
9205 Emit a warning if two different FACS or DSDT tables are discovered in the
9206 FADT. Checks if there are two valid but different addresses for the FACS
9207 and
9208 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
9209
9210 Consolidated the method argument count validation code. Merged the code
9211 that
9212 validates control method argument counts into the predefined validation
9213 module. Eliminates possible multiple warnings for incorrect argument
9214 counts.
9215
9216 Implemented ACPICA example code. Includes code for ACPICA initialization,
9217 handler installation, and calling a control method. Available at
9218 source/tools/examples.
9219
9220 Added a global pointer for FACS table to simplify internal FACS access.
9221 Use
9222 the global pointer instead of using AcpiGetTableByIndex for each FACS
9223 access.
9224 This simplifies the code for the Global Lock and the Firmware Waking
9225 Vector(s).
9226
9227 Example Code and Data Size: These are the sizes for the OS-independent
9228 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9229 debug version of the code includes the debug output trace mechanism and
9230 has a
9231 much larger code and data size.
9232
9233 Previous Release:
9234 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
9235 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
9236 Current Release:
9237 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
9238 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
9239
9240 2) iASL Compiler/Disassembler and Tools:
9241
9242 iASL: Improved disassembly of external method calls. Added the -e option
9243 to
9244 allow the inclusion of additional ACPI tables to help with the
9245 disassembly
9246 of
9247 method invocations and the generation of external declarations during the
9248 disassembly. Certain external method invocations cannot be disassembled
9249 properly without the actual declaration of the method. Use the -e option
9250 to
9251 include the table where the external method(s) are actually declared.
9252 Most
9253 useful for disassembling SSDTs that make method calls back to the master
9254 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
9255 -d
9256 -e dsdt.aml ssdt1.aml
9257
9258 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
9259 problem where the use of an alias within a namepath would result in a not
9260 found error or cause the compiler to fault. Also now allows forward
9261 references from the Alias operator itself. ACPICA BZ 738.
9262
9263 ----------------------------------------
9264 26 September 2008. Summary of changes for version 20080926:
9265
9266 1) ACPI CA Core Subsystem:
9267
9268 Designed and implemented a mechanism to validate predefined ACPI methods
9269 and
9270 objects. This code validates the predefined ACPI objects (objects whose
9271 names
9272 start with underscore) that appear in the namespace, at the time they are
9273 evaluated. The argument count and the type of the returned object are
9274 validated against the ACPI specification. The purpose of this validation
9275 is
9276 to detect problems with the BIOS-implemented predefined ACPI objects
9277 before
9278 the results are returned to the ACPI-related drivers. Future enhancements
9279 may
9280 include actual repair of incorrect return objects where possible. Two new
9281 files are nspredef.c and acpredef.h.
9282
9283 Fixed a fault in the AML parser if a memory allocation fails during the
9284 Op
9285 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
9286
9287 Fixed an issue with implicit return compatibility. This change improves
9288 the
9289 implicit return mechanism to be more compatible with the MS interpreter.
9290 Lin
9291 Ming, ACPICA BZ 349.
9292
9293 Implemented support for zero-length buffer-to-string conversions. Allow
9294 zero
9295 length strings during interpreter buffer-to-string conversions. For
9296 example,
9297 during the ToDecimalString and ToHexString operators, as well as implicit
9298 conversions. Fiodor Suietov, ACPICA BZ 585.
9299
9300 Fixed two possible memory leaks in the error exit paths of
9301 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
9302 are
9303 similar in that they use a stack of state objects in order to eliminate
9304 recursion. The stack must be fully unwound and deallocated if an error
9305 occurs. Lin Ming. ACPICA BZ 383.
9306
9307 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
9308 global
9309 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
9310 Moore ACPICA BZ 442.
9311
9312 Removed the obsolete version number in module headers. Removed the
9313 "$Revision" number that appeared in each module header. This version
9314 number
9315 was useful under SourceSafe and CVS, but has no meaning under git. It is
9316 not
9317 only incorrect, it could also be misleading.
9318
9319 Example Code and Data Size: These are the sizes for the OS-independent
9320 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9321 debug version of the code includes the debug output trace mechanism and
9322 has a
9323 much larger code and data size.
9324
9325 Previous Release:
9326 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
9327 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
9328 Current Release:
9329 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
9330 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
9331
9332 ----------------------------------------
9333 29 August 2008. Summary of changes for version 20080829:
9334
9335 1) ACPI CA Core Subsystem:
9336
9337 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
9338 Reference. Changes include the elimination of cheating on the Object
9339 field
9340 for the DdbHandle subtype, addition of a reference class field to
9341 differentiate the various reference types (instead of an AML opcode), and
9342 the
9343 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
9344
9345 Reduce an error to a warning for an incorrect method argument count.
9346 Previously aborted with an error if too few arguments were passed to a
9347 control method via the external ACPICA interface. Now issue a warning
9348 instead
9349 and continue. Handles the case where the method inadvertently declares
9350 too
9351 many arguments, but does not actually use the extra ones. Applies mainly
9352 to
9353 the predefined methods. Lin Ming. Linux BZ 11032.
9354
9355 Disallow the evaluation of named object types with no intrinsic value.
9356 Return
9357 AE_TYPE for objects that have no value and therefore evaluation is
9358 undefined:
9359 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
9360 of
9361 these types were allowed, but an exception would be generated at some
9362 point
9363 during the evaluation. Now, the error is generated up front.
9364
9365 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
9366 (nsnames.c). Fixes a leak in the error exit path.
9367
9368 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
9369 debug
9370 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
9371 ACPI_EXCEPTION
9372 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
9373 ACPI_LV_EVENTS.
9374
9375 Removed obsolete and/or unused exception codes from the acexcep.h header.
9376 There is the possibility that certain device drivers may be affected if
9377 they
9378 use any of these exceptions.
9379
9380 The ACPICA documentation has been added to the public git source tree,
9381 under
9382 acpica/documents. Included are the ACPICA programmer reference, the iASL
9383 compiler reference, and the changes.txt release logfile.
9384
9385 Example Code and Data Size: These are the sizes for the OS-independent
9386 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9387 debug version of the code includes the debug output trace mechanism and
9388 has a
9389 much larger code and data size.
9390
9391 Previous Release:
9392 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
9393 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
9394 Current Release:
9395 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
9396 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
9397
9398 2) iASL Compiler/Disassembler and Tools:
9399
9400 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
9401 defines _SCP with 3 arguments. Previous versions defined it with only 1
9402 argument. iASL now allows both definitions.
9403
9404 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
9405 zero-
9406 length subtables when disassembling ACPI tables. Also fixed a couple of
9407 errors where a full 16-bit table type field was not extracted from the
9408 input
9409 properly.
9410
9411 acpisrc: Improve comment counting mechanism for generating source code
9412 statistics. Count first and last lines of multi-line comments as
9413 whitespace,
9414 not comment lines. Handle Linux legal header in addition to standard
9415 acpica
9416 header.
9417
9418 ----------------------------------------
9419
9420 29 July 2008. Summary of changes for version 20080729:
9421
9422 1) ACPI CA Core Subsystem:
9423
9424 Fix a possible deadlock in the GPE dispatch. Remove call to
9425 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
9426 attempt
9427 to acquire the GPE lock but can deadlock since the GPE lock is already
9428 held
9429 at dispatch time. This code was introduced in version 20060831 as a
9430 response
9431 to Linux BZ 6881 and has since been removed from Linux.
9432
9433 Add a function to dereference returned reference objects. Examines the
9434 return
9435 object from a call to AcpiEvaluateObject. Any Index or RefOf references
9436 are
9437 automatically dereferenced in an attempt to return something useful
9438 (these
9439 reference types cannot be converted into an external ACPI_OBJECT.)
9440 Provides
9441 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
9442
9443 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
9444 subtables for the MADT and one new subtable for the SRAT. Includes
9445 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
9446 x2APIC
9447 Specification, June 2008.
9448
9449 Additional error checking for pathname utilities. Add error check after
9450 all
9451 calls to AcpiNsGetPathnameLength. Add status return from
9452 AcpiNsBuildExternalPath and check after all calls. Add parameter
9453 validation
9454 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
9455
9456 Return status from the global init function AcpiUtGlobalInitialize. This
9457 is
9458 used by both the kernel subsystem and the utilities such as iASL
9459 compiler.
9460 The function could possibly fail when the caches are initialized. Yang
9461 Yi.
9462
9463 Add a function to decode reference object types to strings. Created for
9464 improved error messages.
9465
9466 Improve object conversion error messages. Better error messages during
9467 object
9468 conversion from internal to the external ACPI_OBJECT. Used for external
9469 calls
9470 to AcpiEvaluateObject.
9471
9472 Example Code and Data Size: These are the sizes for the OS-independent
9473 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9474 debug version of the code includes the debug output trace mechanism and
9475 has a
9476 much larger code and data size.
9477
9478 Previous Release:
9479 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
9480 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
9481 Current Release:
9482 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
9483 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
9484
9485 2) iASL Compiler/Disassembler and Tools:
9486
9487 Debugger: fix a possible hang when evaluating non-methods. Fixes a
9488 problem
9489 introduced in version 20080701. If the object being evaluated (via
9490 execute
9491 command) is not a method, the debugger can hang while trying to obtain
9492 non-
9493 existent parameters.
9494
9495 iASL: relax error for using reserved "_T_x" identifiers. These names can
9496 appear in a disassembled ASL file if they were emitted by the original
9497 compiler. Instead of issuing an error or warning and forcing the user to
9498 manually change these names, issue a remark instead.
9499
9500 iASL: error if named object created in while loop. Emit an error if any
9501 named
9502 object is created within a While loop. If allowed, this code will
9503 generate
9504 a
9505 run-time error on the second iteration of the loop when an attempt is
9506 made
9507 to
9508 create the same named object twice. ACPICA bugzilla 730.
9509
9510 iASL: Support absolute pathnames for include files. Add support for
9511 absolute
9512 pathnames within the Include operator. previously, only relative
9513 pathnames
9514 were supported.
9515
9516 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
9517 Descriptor.
9518 The ACPI spec requires one interrupt minimum. BZ 423
9519
9520 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
9521 Handles the case for the Interrupt Resource Descriptor where
9522 the ResourceSource argument is omitted but ResourceSourceIndex
9523 is present. Now leave room for the Index. BZ 426
9524
9525 iASL: Prevent error message if CondRefOf target does not exist. Fixes
9526 cases
9527 where an error message is emitted if the target does not exist. BZ 516
9528
9529 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
9530 (get ACPI tables on Windows). This was apparently broken in version
9531 20070919.
9532
9533 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
9534 where
9535 the EOF happens immediately after the last table in the input file. Print
9536 completion message. Previously, no message was displayed in this case.
9537
9538 ----------------------------------------
9539 01 July 2008. Summary of changes for version 20080701:
9540
9541 0) Git source tree / acpica.org
9542
9543 Fixed a problem where a git-clone from http would not transfer the entire
9544 source tree.
9545
9546 1) ACPI CA Core Subsystem:
9547
9548 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
9549 enable bit. Now performs a read-change-write of the enable register
9550 instead
9551 of simply writing out the cached enable mask. This will prevent
9552 inadvertent
9553 enabling of GPEs if a rogue GPE is received during initialization (before
9554 GPE
9555 handlers are installed.)
9556
9557 Implemented a copy for dynamically loaded tables. Previously, dynamically
9558 loaded tables were simply mapped - but on some machines this memory is
9559 corrupted after suspend. Now copy the table to a local buffer. For the
9560 OpRegion case, added checksum verify. Use the table length from the table
9561 header, not the region length. For the Buffer case, use the table length
9562 also. Dennis Noordsij, Bob Moore. BZ 10734
9563
9564 Fixed a problem where the same ACPI table could not be dynamically loaded
9565 and
9566 unloaded more than once. Without this change, a table cannot be loaded
9567 again
9568 once it has been loaded/unloaded one time. The current mechanism does not
9569 unregister a table upon an unload. During a load, if the same table is
9570 found,
9571 this no longer returns an exception. BZ 722
9572
9573 Fixed a problem where the wrong descriptor length was calculated for the
9574 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
9575 EndTag
9576 are calculated as 12 bytes long, but the actual length in the internal
9577 descriptor is 16 because of the round-up to 8 on the 64-bit build.
9578 Reported
9579 by Linn Crosetto. BZ 728
9580
9581 Fixed a possible memory leak in the Unload operator. The DdbHandle
9582 returned
9583 by Load() did not have its reference count decremented during unload,
9584 leading
9585 to a memory leak. Lin Ming. BZ 727
9586
9587 Fixed a possible memory leak when deleting thermal/processor objects. Any
9588 associated notify handlers (and objects) were not being deleted. Fiodor
9589 Suietov. BZ 506
9590
9591 Fixed the ordering of the ASCII names in the global mutex table to match
9592 the
9593 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
9594 only.
9595 Vegard Nossum. BZ 726
9596
9597 Enhanced the AcpiGetObjectInfo interface to return the number of required
9598 arguments if the object is a control method. Added this call to the
9599 debugger
9600 so the proper number of default arguments are passed to a method. This
9601 prevents a warning when executing methods from AcpiExec.
9602
9603 Added a check for an invalid handle in AcpiGetObjectInfo. Return
9604 AE_BAD_PARAMETER if input handle is invalid. BZ 474
9605
9606 Fixed an extraneous warning from exconfig.c on the 64-bit build.
9607
9608 Example Code and Data Size: These are the sizes for the OS-independent
9609 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9610 debug version of the code includes the debug output trace mechanism and
9611 has a
9612 much larger code and data size.
9613
9614 Previous Release:
9615 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
9616 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
9617 Current Release:
9618 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
9619 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
9620
9621 2) iASL Compiler/Disassembler and Tools:
9622
9623 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
9624 resource descriptor names.
9625
9626 iASL: Detect invalid ASCII characters in input (windows version). Removed
9627 the
9628 "-CF" flag from the flex compile, enables correct detection of non-ASCII
9629 characters in the input. BZ 441
9630
9631 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
9632 the
9633 "result of operation not used" warning when the DDB handle returned from
9634 LoadTable is not used. The warning is not needed. BZ 590
9635
9636 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
9637 method
9638 to
9639 pass address of table to the AML. Added option to disable OpRegion
9640 simulation
9641 to allow creation of an OpRegion with a real address that was passed to
9642 _CFG.
9643 All of this allows testing of the Load and Unload operators from
9644 AcpiExec.
9645
9646 Debugger: update tables command for unloaded tables. Handle unloaded
9647 tables
9648 and use the standard table header output routine.
9649
9650 ----------------------------------------
9651 09 June 2008. Summary of changes for version 20080609:
9652
9653 1) ACPI CA Core Subsystem:
9654
9655 Implemented a workaround for reversed _PRT entries. A significant number
9656 of
9657 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
9658 change dynamically detects and repairs this problem. Provides
9659 compatibility
9660 with MS ACPI. BZ 6859
9661
9662 Simplified the internal ACPI hardware interfaces to eliminate the locking
9663 flag parameter from Register Read/Write. Added a new external interface,
9664 AcpiGetRegisterUnlocked.
9665
9666 Fixed a problem where the invocation of a GPE control method could hang.
9667 This
9668 was a regression introduced in 20080514. The new method argument count
9669 validation mechanism can enter an infinite loop when a GPE method is
9670 dispatched. Problem fixed by removing the obsolete code that passed GPE
9671 block
9672 information to the notify handler via the control method parameter
9673 pointer.
9674
9675 Fixed a problem where the _SST execution status was incorrectly returned
9676 to
9677 the caller of AcpiEnterSleepStatePrep. This was a regression introduced
9678 in
9679 20080514. _SST is optional and a NOT_FOUND exception should never be
9680 returned. BZ 716
9681
9682 Fixed a problem where a deleted object could be accessed from within the
9683 AML
9684 parser. This was a regression introduced in version 20080123 as a fix for
9685 the
9686 Unload operator. Lin Ming. BZ 10669
9687
9688 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
9689 operands
9690 and eliminated the use of a negative index in a loop. Operands are now
9691 displayed in the correct order, not backwards. This also fixes a
9692 regression
9693 introduced in 20080514 on 64-bit systems where the elimination of
9694 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
9695 715
9696
9697 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
9698 exit
9699 path did not delete a locally allocated structure.
9700
9701 Updated definitions for the DMAR and SRAT tables to synchronize with the
9702 current specifications. Includes disassembler support.
9703
9704 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
9705 loop termination value was used. Loop terminated on iteration early,
9706 missing
9707 one mutex. Linn Crosetto
9708
9709 Example Code and Data Size: These are the sizes for the OS-independent
9710 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9711 debug version of the code includes the debug output trace mechanism and
9712 has a
9713 much larger code and data size.
9714
9715 Previous Release:
9716 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
9717 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
9718 Current Release:
9719 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
9720 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
9721
9722 2) iASL Compiler/Disassembler and Tools:
9723
9724 Disassembler: Implemented support for EisaId() within _CID objects. Now
9725 disassemble integer _CID objects back to EisaId invocations, including
9726 multiple integers within _CID packages. Includes single-step support for
9727 debugger also.
9728
9729 Disassembler: Added support for DMAR and SRAT table definition changes.
9730
9731 ----------------------------------------
9732 14 May 2008. Summary of changes for version 20080514:
9733
9734 1) ACPI CA Core Subsystem:
9735
9736 Fixed a problem where GPEs were enabled too early during the ACPICA
9737 initialization. This could lead to "handler not installed" errors on some
9738 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
9739 This
9740 ensures that all operation regions and devices throughout the namespace
9741 have
9742 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
9743
9744 Implemented a change to the enter sleep code. Moved execution of the _GTS
9745 method to just before setting sleep enable bit. The execution was moved
9746 from
9747 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
9748 immediately before the SLP_EN bit is set, as per the ACPI specification.
9749 Luming Yu, BZ 1653.
9750
9751 Implemented a fix to disable unknown GPEs (2nd version). Now always
9752 disable
9753 the GPE, even if ACPICA thinks that that it is already disabled. It is
9754 possible that the AML or some other code has enabled the GPE unbeknownst
9755 to
9756 the ACPICA code.
9757
9758 Fixed a problem with the Field operator where zero-length fields would
9759 return
9760 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
9761 ASL
9762 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
9763
9764 Implemented a fix for the Load operator, now load the table at the
9765 namespace
9766 root. This reverts a change introduced in version 20071019. The table is
9767 now
9768 loaded at the namespace root even though this goes against the ACPI
9769 specification. This provides compatibility with other ACPI
9770 implementations.
9771 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
9772 Ming.
9773
9774 Fixed a problem where ACPICA would not Load() tables with unusual
9775 signatures.
9776 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
9777 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
9778 Therefore, signature validation is worthless. Apparently MS ACPI accepts
9779 such
9780 signatures, ACPICA must be compatible. BZ 10454.
9781
9782 Fixed a possible negative array index in AcpiUtValidateException. Added
9783 NULL
9784 fields to the exception string arrays to eliminate a -1 subtraction on
9785 the
9786 SubStatus field.
9787
9788 Updated the debug tracking macros to reduce overall code and data size.
9789 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
9790 instead of pointers to static strings. Jan Beulich and Bob Moore.
9791
9792 Implemented argument count checking in control method invocation via
9793 AcpiEvaluateObject. Now emit an error if too few arguments, warning if
9794 too
9795 many. This applies only to extern programmatic control method execution,
9796 not
9797 method-to-method calls within the AML. Lin Ming.
9798
9799 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
9800 no
9801 longer needed, especially with the removal of 16-bit support. It was
9802 replaced
9803 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
9804 bit
9805 on
9806 32/64-bit platforms is required.
9807
9808 Added the C const qualifier for appropriate string constants -- mostly
9809 MODULE_NAME and printf format strings. Jan Beulich.
9810
9811 Example Code and Data Size: These are the sizes for the OS-independent
9812 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9813 debug version of the code includes the debug output trace mechanism and
9814 has a
9815 much larger code and data size.
9816
9817 Previous Release:
9818 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
9819 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
9820 Current Release:
9821 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
9822 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
9823
9824 2) iASL Compiler/Disassembler and Tools:
9825
9826 Implemented ACPI table revision ID validation in the disassembler. Zero
9827 is
9828 always invalid. For DSDTs, the ID controls the interpreter integer width.
9829 1
9830 means 32-bit and this is unusual. 2 or greater is 64-bit.
9831
9832 ----------------------------------------
9833 21 March 2008. Summary of changes for version 20080321:
9834
9835 1) ACPI CA Core Subsystem:
9836
9837 Implemented an additional change to the GPE support in order to suppress
9838 spurious or stray GPEs. The AcpiEvDisableGpe function will now
9839 permanently
9840 disable incoming GPEs that are neither enabled nor disabled -- meaning
9841 that
9842 the GPE is unknown to the system. This should prevent future interrupt
9843 floods
9844 from that GPE. BZ 6217 (Zhang Rui)
9845
9846 Fixed a problem where NULL package elements were not returned to the
9847 AcpiEvaluateObject interface correctly. The element was simply ignored
9848 instead of returning a NULL ACPI_OBJECT package element, potentially
9849 causing
9850 a buffer overflow and/or confusing the caller who expected a fixed number
9851 of
9852 elements. BZ 10132 (Lin Ming, Bob Moore)
9853
9854 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
9855 Dword,
9856 Qword), Field, BankField, and IndexField operators when invoked from
9857 inside
9858 an executing control method. In this case, these operators created
9859 namespace
9860 nodes that were incorrectly left marked as permanent nodes instead of
9861 temporary nodes. This could cause a problem if there is race condition
9862 between an exiting control method and a running namespace walk. (Reported
9863 by
9864 Linn Crosetto)
9865
9866 Fixed a problem where the CreateField and CreateXXXField operators would
9867 incorrectly allow duplicate names (the name of the field) with no
9868 exception
9869 generated.
9870
9871 Implemented several changes for Notify handling. Added support for new
9872 Notify
9873 values (ACPI 2.0+) and improved the Notify debug output. Notify on
9874 PowerResource objects is no longer allowed, as per the ACPI
9875 specification.
9876 (Bob Moore, Zhang Rui)
9877
9878 All Reference Objects returned via the AcpiEvaluateObject interface are
9879 now
9880 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
9881 for
9882 NULL objects - either NULL package elements or unresolved named
9883 references.
9884
9885 Fixed a problem where an extraneous debug message was produced for
9886 package
9887 objects (when debugging enabled). The message "Package List length larger
9888 than NumElements count" is now produced in the correct case, and is now
9889 an
9890 error message rather than a debug message. Added a debug message for the
9891 opposite case, where NumElements is larger than the Package List (the
9892 package
9893 will be padded out with NULL elements as per the ACPI spec.)
9894
9895 Implemented several improvements for the output of the ASL "Debug" object
9896 to
9897 clarify and keep all data for a given object on one output line.
9898
9899 Fixed two size calculation issues with the variable-length Start
9900 Dependent
9901 resource descriptor.
9902
9903 Example Code and Data Size: These are the sizes for the OS-independent
9904 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9905 debug version of the code includes the debug output trace mechanism and
9906 has
9907 a much larger code and data size.
9908
9909 Previous Release:
9910 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
9911 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
9912 Current Release:
9913 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
9914 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
9915
9916 2) iASL Compiler/Disassembler and Tools:
9917
9918 Fixed a problem with the use of the Switch operator where execution of
9919 the
9920 containing method by multiple concurrent threads could cause an
9921 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
9922 actual Switch opcode, it must be simulated with local named temporary
9923 variables and if/else pairs. The solution chosen was to mark any method
9924 that
9925 uses Switch as Serialized, thus preventing multiple thread entries. BZ
9926 469.
9927
9928 ----------------------------------------
9929 13 February 2008. Summary of changes for version 20080213:
9930
9931 1) ACPI CA Core Subsystem:
9932
9933 Implemented another MS compatibility design change for GPE/Notify
9934 handling.
9935 GPEs are now cleared/enabled asynchronously to allow all pending notifies
9936 to
9937 complete first. It is expected that the OSL will queue the enable request
9938 behind all pending notify requests (may require changes to the local host
9939 OSL
9940 in AcpiOsExecute). Alexey Starikovskiy.
9941
9942 Fixed a problem where buffer and package objects passed as arguments to a
9943 control method via the external AcpiEvaluateObject interface could cause
9944 an
9945 AE_AML_INTERNAL exception depending on the order and type of operators
9946 executed by the target control method.
9947
9948 Fixed a problem where resource descriptor size optimization could cause a
9949 problem when a _CRS resource template is passed to a _SRS method. The
9950 _SRS
9951 resource template must use the same descriptors (with the same size) as
9952 returned from _CRS. This change affects the following resource
9953 descriptors:
9954 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
9955 9487)
9956
9957 Fixed a problem where a CopyObject to RegionField, BankField, and
9958 IndexField
9959 objects did not perform an implicit conversion as it should. These types
9960 must
9961 retain their initial type permanently as per the ACPI specification.
9962 However,
9963 a CopyObject to all other object types should not perform an implicit
9964 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
9965
9966 Fixed a problem with the AcpiGetDevices interface where the mechanism to
9967 match device CIDs did not examine the entire list of available CIDs, but
9968 instead aborted on the first non-matching CID. Andrew Patterson.
9969
9970 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
9971 was
9972 inadvertently changed to return a 16-bit value instead of a 32-bit value,
9973 truncating the upper dword of a 64-bit value. This macro is only used to
9974 display debug output, so no incorrect calculations were made. Also,
9975 reimplemented the macro so that a 64-bit shift is not performed by
9976 inefficient compilers.
9977
9978 Added missing va_end statements that should correspond with each va_start
9979 statement.
9980
9981 Example Code and Data Size: These are the sizes for the OS-independent
9982 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9983 debug version of the code includes the debug output trace mechanism and
9984 has
9985 a much larger code and data size.
9986
9987 Previous Release:
9988 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
9989 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
9990 Current Release:
9991 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
9992 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
9993
9994 2) iASL Compiler/Disassembler and Tools:
9995
9996 Implemented full disassembler support for the following new ACPI tables:
9997 BERT, EINJ, and ERST. Implemented partial disassembler support for the
9998 complicated HEST table. These tables support the Windows Hardware Error
9999 Architecture (WHEA).
10000
10001 ----------------------------------------
10002 23 January 2008. Summary of changes for version 20080123:
10003
10004 1) ACPI CA Core Subsystem:
10005
10006 Added the 2008 copyright to all module headers and signons. This affects
10007 virtually every file in the ACPICA core subsystem, the iASL compiler, and
10008 the tools/utilities.
10009
10010 Fixed a problem with the SizeOf operator when used with Package and
10011 Buffer
10012 objects. These objects have deferred execution for some arguments, and
10013 the
10014 execution is now completed before the SizeOf is executed. This problem
10015 caused
10016 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
10017 BZ
10018 9558
10019
10020 Implemented an enhancement to the interpreter "slack mode". In the
10021 absence
10022 of
10023 an explicit return or an implicitly returned object from the last
10024 executed
10025 opcode, a control method will now implicitly return an integer of value 0
10026 for
10027 Microsoft compatibility. (Lin Ming) BZ 392
10028
10029 Fixed a problem with the Load operator where an exception was not
10030 returned
10031 in
10032 the case where the table is already loaded. (Lin Ming) BZ 463
10033
10034 Implemented support for the use of DDBHandles as an Indexed Reference, as
10035 per
10036 the ACPI spec. (Lin Ming) BZ 486
10037
10038 Implemented support for UserTerm (Method invocation) for the Unload
10039 operator
10040 as per the ACPI spec. (Lin Ming) BZ 580
10041
10042 Fixed a problem with the LoadTable operator where the OemId and
10043 OemTableId
10044 input strings could cause unexpected failures if they were shorter than
10045 the
10046 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
10047
10048 Implemented support for UserTerm (Method invocation) for the Unload
10049 operator
10050 as per the ACPI spec. (Lin Ming) BZ 580
10051
10052 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
10053 HEST,
10054 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
10055
10056 Example Code and Data Size: These are the sizes for the OS-independent
10057 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10058 debug version of the code includes the debug output trace mechanism and
10059 has
10060 a much larger code and data size.
10061
10062 Previous Release:
10063 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
10064 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
10065 Current Release:
10066 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
10067 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
10068
10069 2) iASL Compiler/Disassembler and Tools:
10070
10071 Implemented support in the disassembler for checksum validation on
10072 incoming
10073 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
10074 table
10075 header dump at the start of the disassembly.
10076
10077 Implemented additional debugging information in the namespace listing
10078 file
10079 created during compilation. In addition to the namespace hierarchy, the
10080 full
10081 pathname to each namespace object is displayed.
10082
10083 Fixed a problem with the disassembler where invalid ACPI tables could
10084 cause
10085 faults or infinite loops.
10086
10087 Fixed an unexpected parse error when using the optional "parameter types"
10088 list in a control method declaration. (Lin Ming) BZ 397
10089
10090 Fixed a problem where two External declarations with the same name did
10091 not
10092 cause an error (Lin Ming) BZ 509
10093
10094 Implemented support for full TermArgs (adding Argx, Localx and method
10095 invocation) for the ParameterData parameter to the LoadTable operator.
10096 (Lin
10097 Ming) BZ 583,587
10098
10099 ----------------------------------------
10100 19 December 2007. Summary of changes for version 20071219:
10101
10102 1) ACPI CA Core Subsystem:
10103
10104 Implemented full support for deferred execution for the TermArg string
10105 arguments for DataTableRegion. This enables forward references and full
10106 operand resolution for the three string arguments. Similar to
10107 OperationRegion
10108 deferred argument execution.) Lin Ming. BZ 430
10109
10110 Implemented full argument resolution support for the BankValue argument
10111 to
10112 BankField. Previously, only constants were supported, now any TermArg may
10113 be
10114 used. Lin Ming BZ 387, 393
10115
10116 Fixed a problem with AcpiGetDevices where the search of a branch of the
10117 device tree could be terminated prematurely. In accordance with the ACPI
10118 specification, the search down the current branch is terminated if a
10119 device
10120 is both not present and not functional (instead of just not present.)
10121 Yakui
10122 Zhao.
10123
10124 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
10125 if
10126 the underlying AML code changed the GPE enable registers. Now, any
10127 unknown
10128 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
10129 disabled
10130 instead of simply ignored. Rui Zhang.
10131
10132 Fixed a problem with Index Fields where the Index register was
10133 incorrectly
10134 limited to a maximum of 32 bits. Now any size may be used.
10135
10136 Fixed a couple memory leaks associated with "implicit return" objects
10137 when
10138 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
10139
10140 Example Code and Data Size: These are the sizes for the OS-independent
10141 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10142 debug version of the code includes the debug output trace mechanism and
10143 has
10144 a much larger code and data size.
10145
10146 Previous Release:
10147 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
10148 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
10149 Current Release:
10150 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
10151 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
10152
10153 ----------------------------------------
10154 14 November 2007. Summary of changes for version 20071114:
10155
10156 1) ACPI CA Core Subsystem:
10157
10158 Implemented event counters for each of the Fixed Events, the ACPI SCI
10159 (interrupt) itself, and control methods executed. Named
10160 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
10161 These
10162 should be useful for debugging and statistics.
10163
10164 Implemented a new external interface, AcpiGetStatistics, to retrieve the
10165 contents of the various event counters. Returns the current values for
10166 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
10167 AcpiMethodCount. The interface can be expanded in the future if new
10168 counters
10169 are added. Device drivers should use this interface rather than access
10170 the
10171 counters directly.
10172
10173 Fixed a problem with the FromBCD and ToBCD operators. With some
10174 compilers,
10175 the ShortDivide function worked incorrectly, causing problems with the
10176 BCD
10177 functions with large input values. A truncation from 64-bit to 32-bit
10178 inadvertently occurred. Internal BZ 435. Lin Ming
10179
10180 Fixed a problem with Index references passed as method arguments.
10181 References
10182 passed as arguments to control methods were dereferenced immediately
10183 (before
10184 control was passed to the called method). The references are now
10185 correctly
10186 passed directly to the called method. BZ 5389. Lin Ming
10187
10188 Fixed a problem with CopyObject used in conjunction with the Index
10189 operator.
10190 The reference was incorrectly dereferenced before the copy. The reference
10191 is
10192 now correctly copied. BZ 5391. Lin Ming
10193
10194 Fixed a problem with Control Method references within Package objects.
10195 These
10196 references are now correctly generated. This completes the package
10197 construction overhaul that began in version 20071019.
10198
10199 Example Code and Data Size: These are the sizes for the OS-independent
10200 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10201 debug version of the code includes the debug output trace mechanism and
10202 has
10203 a much larger code and data size.
10204
10205 Previous Release:
10206 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
10207 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
10208 Current Release:
10209 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
10210 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
10211
10212
10213 2) iASL Compiler/Disassembler and Tools:
10214
10215 The AcpiExec utility now installs handlers for all of the predefined
10216 Operation Region types. New types supported are: PCI_Config, CMOS, and
10217 PCIBARTarget.
10218
10219 Fixed a problem with the 64-bit version of AcpiExec where the extended
10220 (64-
10221 bit) address fields for the DSDT and FACS within the FADT were not being
10222 used, causing truncation of the upper 32-bits of these addresses. Lin
10223 Ming
10224 and Bob Moore
10225
10226 ----------------------------------------
10227 19 October 2007. Summary of changes for version 20071019:
10228
10229 1) ACPI CA Core Subsystem:
10230
10231 Fixed a problem with the Alias operator when the target of the alias is a
10232 named ASL operator that opens a new scope -- Scope, Device,
10233 PowerResource,
10234 Processor, and ThermalZone. In these cases, any children of the original
10235 operator could not be accessed via the alias, potentially causing
10236 unexpected
10237 AE_NOT_FOUND exceptions. (BZ 9067)
10238
10239 Fixed a problem with the Package operator where all named references were
10240 created as object references and left otherwise unresolved. According to
10241 the
10242 ACPI specification, a Package can only contain Data Objects or references
10243 to
10244 control methods. The implication is that named references to Data Objects
10245 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
10246 immediately upon package creation. This is the approach taken with this
10247 change. References to all other named objects (Methods, Devices, Scopes,
10248 etc.) are all now properly created as reference objects. (BZ 5328)
10249
10250 Reverted a change to Notify handling that was introduced in version
10251 20070508. This version changed the Notify handling from asynchronous to
10252 fully synchronous (Device driver Notify handling with respect to the
10253 Notify
10254 ASL operator). It was found that this change caused more problems than it
10255 solved and was removed by most users.
10256
10257 Fixed a problem with the Increment and Decrement operators where the type
10258 of
10259 the target object could be unexpectedly and incorrectly changed. (BZ 353)
10260 Lin Ming.
10261
10262 Fixed a problem with the Load and LoadTable operators where the table
10263 location within the namespace was ignored. Instead, the table was always
10264 loaded into the root or current scope. Lin Ming.
10265
10266 Fixed a problem with the Load operator when loading a table from a buffer
10267 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
10268
10269 Fixed a problem with the Debug object where a store of a DdbHandle
10270 reference
10271 object to the Debug object could cause a fault.
10272
10273 Added a table checksum verification for the Load operator, in the case
10274 where
10275 the load is from a buffer. (BZ 578).
10276
10277 Implemented additional parameter validation for the LoadTable operator.
10278 The
10279 length of the input strings SignatureString, OemIdString, and OemTableId
10280 are
10281 now checked for maximum lengths. (BZ 582) Lin Ming.
10282
10283 Example Code and Data Size: These are the sizes for the OS-independent
10284 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10285 debug version of the code includes the debug output trace mechanism and
10286 has
10287 a much larger code and data size.
10288
10289 Previous Release:
10290 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
10291 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
10292 Current Release:
10293 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
10294 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
10295
10296
10297 2) iASL Compiler/Disassembler:
10298
10299 Fixed a problem where if a single file was specified and the file did not
10300 exist, no error message was emitted. (Introduced with wildcard support in
10301 version 20070917.)
10302
10303 ----------------------------------------
10304 19 September 2007. Summary of changes for version 20070919:
10305
10306 1) ACPI CA Core Subsystem:
10307
10308 Designed and implemented new external interfaces to install and remove
10309 handlers for ACPI table-related events. Current events that are defined
10310 are
10311 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
10312 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
10313 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
10314
10315 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
10316 (acpi_serialized option on Linux) could cause some systems to hang during
10317 initialization. (Bob Moore) BZ 8171
10318
10319 Fixed a problem where objects of certain types (Device, ThermalZone,
10320 Processor, PowerResource) can be not found if they are declared and
10321 referenced from within the same control method (Lin Ming) BZ 341
10322
10323 Example Code and Data Size: These are the sizes for the OS-independent
10324 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10325 debug version of the code includes the debug output trace mechanism and
10326 has
10327 a much larger code and data size.
10328
10329 Previous Release:
10330 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
10331 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
10332 Current Release:
10333 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
10334 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
10335
10336
10337 2) iASL Compiler/Disassembler:
10338
10339 Implemented support to allow multiple files to be compiled/disassembled
10340 in
10341 a
10342 single invocation. This includes command line wildcard support for both
10343 the
10344 Windows and Unix versions of the compiler. This feature simplifies the
10345 disassembly and compilation of multiple ACPI tables in a single
10346 directory.
10347
10348 ----------------------------------------
10349 08 May 2007. Summary of changes for version 20070508:
10350
10351 1) ACPI CA Core Subsystem:
10352
10353 Implemented a Microsoft compatibility design change for the handling of
10354 the
10355 Notify AML operator. Previously, notify handlers were dispatched and
10356 executed completely asynchronously in a deferred thread. The new design
10357 still executes the notify handlers in a different thread, but the
10358 original
10359 thread that executed the Notify() now waits at a synchronization point
10360 for
10361 the notify handler to complete. Some machines depend on a synchronous
10362 Notify
10363 operator in order to operate correctly.
10364
10365 Implemented support to allow Package objects to be passed as method
10366 arguments to the external AcpiEvaluateObject interface. Previously, this
10367 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
10368 implemented since there were no reserved control methods that required it
10369 until recently.
10370
10371 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
10372 that
10373 contained invalid non-zero values in reserved fields could cause later
10374 failures because these fields have meaning in later revisions of the
10375 FADT.
10376 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
10377 fields
10378 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
10379
10380 Fixed a problem where the Global Lock handle was not properly updated if
10381 a
10382 thread that acquired the Global Lock via executing AML code then
10383 attempted
10384 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
10385 Joe
10386 Liu.
10387
10388 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
10389 could be corrupted if the interrupt being removed was at the head of the
10390 list. Reported by Linn Crosetto.
10391
10392 Example Code and Data Size: These are the sizes for the OS-independent
10393 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10394 debug version of the code includes the debug output trace mechanism and
10395 has
10396 a much larger code and data size.
10397
10398 Previous Release:
10399 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10400 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
10401 Current Release:
10402 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
10403 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
10404
10405 ----------------------------------------
10406 20 March 2007. Summary of changes for version 20070320:
10407
10408 1) ACPI CA Core Subsystem:
10409
10410 Implemented a change to the order of interpretation and evaluation of AML
10411 operand objects within the AML interpreter. The interpreter now evaluates
10412 operands in the order that they appear in the AML stream (and the
10413 corresponding ASL code), instead of in the reverse order (after the
10414 entire
10415 operand list has been parsed). The previous behavior caused several
10416 subtle
10417 incompatibilities with the Microsoft AML interpreter as well as being
10418 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
10419
10420 Implemented a change to the ACPI Global Lock support. All interfaces to
10421 the
10422 global lock now allow the same thread to acquire the lock multiple times.
10423 This affects the AcpiAcquireGlobalLock external interface to the global
10424 lock
10425 as well as the internal use of the global lock to support AML fields -- a
10426 control method that is holding the global lock can now simultaneously
10427 access
10428 AML fields that require global lock protection. Previously, in both
10429 cases,
10430 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
10431 to
10432 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
10433 Controller. There is no change to the behavior of the AML Acquire
10434 operator,
10435 as this can already be used to acquire a mutex multiple times by the same
10436 thread. BZ 8066. With assistance from Alexey Starikovskiy.
10437
10438 Fixed a problem where invalid objects could be referenced in the AML
10439 Interpreter after error conditions. During operand evaluation, ensure
10440 that
10441 the internal "Return Object" field is cleared on error and only valid
10442 pointers are stored there. Caused occasional access to deleted objects
10443 that
10444 resulted in "large reference count" warning messages. Valery Podrezov.
10445
10446 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
10447 on
10448 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
10449 Podrezov.
10450
10451 Fixed an internal problem with the handling of result objects on the
10452 interpreter result stack. BZ 7872. Valery Podrezov.
10453
10454 Removed obsolete code that handled the case where AML_NAME_OP is the
10455 target
10456 of a reference (Reference.Opcode). This code was no longer necessary. BZ
10457 7874. Valery Podrezov.
10458
10459 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
10460 was
10461 a
10462 remnant from the previously discontinued 16-bit support.
10463
10464 Example Code and Data Size: These are the sizes for the OS-independent
10465 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10466 debug version of the code includes the debug output trace mechanism and
10467 has
10468 a much larger code and data size.
10469
10470 Previous Release:
10471 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10472 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
10473 Current Release:
10474 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10475 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
10476
10477 ----------------------------------------
10478 26 January 2007. Summary of changes for version 20070126:
10479
10480 1) ACPI CA Core Subsystem:
10481
10482 Added the 2007 copyright to all module headers and signons. This affects
10483 virtually every file in the ACPICA core subsystem, the iASL compiler, and
10484 the utilities.
10485
10486 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
10487 during a table load. A bad pointer was passed in the case where the DSDT
10488 is
10489 overridden, causing a fault in this case.
10490
10491 Example Code and Data Size: These are the sizes for the OS-independent
10492 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10493 debug version of the code includes the debug output trace mechanism and
10494 has
10495 a much larger code and data size.
10496
10497 Previous Release:
10498 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10499 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
10500 Current Release:
10501 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10502 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
10503
10504 ----------------------------------------
10505 15 December 2006. Summary of changes for version 20061215:
10506
10507 1) ACPI CA Core Subsystem:
10508
10509 Support for 16-bit ACPICA has been completely removed since it is no
10510 longer
10511 necessary and it clutters the code. All 16-bit macros, types, and
10512 conditional compiles have been removed, cleaning up and simplifying the
10513 code
10514 across the entire subsystem. DOS support is no longer needed since the
10515 bootable Linux firmware kit is now available.
10516
10517 The handler for the Global Lock is now removed during AcpiTerminate to
10518 enable a clean subsystem restart, via the implementation of the
10519 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
10520 HP)
10521
10522 Implemented enhancements to the multithreading support within the
10523 debugger
10524 to enable improved multithreading debugging and evaluation of the
10525 subsystem.
10526 (Valery Podrezov)
10527
10528 Debugger: Enhanced the Statistics/Memory command to emit the total
10529 (maximum)
10530 memory used during the execution, as well as the maximum memory consumed
10531 by
10532 each of the various object types. (Valery Podrezov)
10533
10534 Example Code and Data Size: These are the sizes for the OS-independent
10535 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10536 debug version of the code includes the debug output trace mechanism and
10537 has
10538 a much larger code and data size.
10539
10540 Previous Release:
10541 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
10542 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
10543 Current Release:
10544 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
10545 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
10546
10547
10548 2) iASL Compiler/Disassembler and Tools:
10549
10550 AcpiExec: Implemented a new option (-m) to display full memory use
10551 statistics upon subsystem/program termination. (Valery Podrezov)
10552
10553 ----------------------------------------
10554 09 November 2006. Summary of changes for version 20061109:
10555
10556 1) ACPI CA Core Subsystem:
10557
10558 Optimized the Load ASL operator in the case where the source operand is
10559 an
10560 operation region. Simply map the operation region memory, instead of
10561 performing a bytewise read. (Region must be of type SystemMemory, see
10562 below.)
10563
10564 Fixed the Load ASL operator for the case where the source operand is a
10565 region field. A buffer object is also allowed as the source operand. BZ
10566 480
10567
10568 Fixed a problem where the Load ASL operator allowed the source operand to
10569 be
10570 an operation region of any type. It is now restricted to regions of type
10571 SystemMemory, as per the ACPI specification. BZ 481
10572
10573 Additional cleanup and optimizations for the new Table Manager code.
10574
10575 AcpiEnable will now fail if all of the required ACPI tables are not
10576 loaded
10577 (FADT, FACS, DSDT). BZ 477
10578
10579 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
10580 this
10581 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
10582 manually optimized to be aligned and will not work if it is byte-packed.
10583
10584 Example Code and Data Size: These are the sizes for the OS-independent
10585 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10586 debug version of the code includes the debug output trace mechanism and
10587 has
10588 a much larger code and data size.
10589
10590 Previous Release:
10591 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
10592 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
10593 Current Release:
10594 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
10595 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
10596
10597
10598 2) iASL Compiler/Disassembler and Tools:
10599
10600 Fixed a problem where the presence of the _OSI predefined control method
10601 within complex expressions could cause an internal compiler error.
10602
10603 AcpiExec: Implemented full region support for multiple address spaces.
10604 SpaceId is now part of the REGION object. BZ 429
10605
10606 ----------------------------------------
10607 11 October 2006. Summary of changes for version 20061011:
10608
10609 1) ACPI CA Core Subsystem:
10610
10611 Completed an AML interpreter performance enhancement for control method
10612 execution. Previously a 2-pass parse/execution, control methods are now
10613 completely parsed and executed in a single pass. This improves overall
10614 interpreter performance by ~25%, reduces code size, and reduces CPU stack
10615 use. (Valery Podrezov + interpreter changes in version 20051202 that
10616 eliminated namespace loading during the pass one parse.)
10617
10618 Implemented _CID support for PCI Root Bridge detection. If the _HID does
10619 not
10620 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
10621 now
10622 obtained and also checked for an ID match.
10623
10624 Implemented additional support for the PCI _ADR execution: upsearch until
10625 a
10626 device scope is found before executing _ADR. This allows PCI_Config
10627 operation regions to be declared locally within control methods
10628 underneath
10629 PCI device objects.
10630
10631 Fixed a problem with a possible race condition between threads executing
10632 AcpiWalkNamespace and the AML interpreter. This condition was removed by
10633 modifying AcpiWalkNamespace to (by default) ignore all temporary
10634 namespace
10635 entries created during any concurrent control method execution. An
10636 additional namespace race condition is known to exist between
10637 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
10638 investigation.
10639
10640 Restructured the AML ParseLoop function, breaking it into several
10641 subfunctions in order to reduce CPU stack use and improve
10642 maintainability.
10643 (Mikhail Kouzmich)
10644
10645 AcpiGetHandle: Fix for parameter validation to detect invalid
10646 combinations
10647 of prefix handle and pathname. BZ 478
10648
10649 Example Code and Data Size: These are the sizes for the OS-independent
10650 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10651 debug version of the code includes the debug output trace mechanism and
10652 has
10653 a much larger code and data size.
10654
10655 Previous Release:
10656 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10657 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
10658 Current Release:
10659 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
10660 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
10661
10662 2) iASL Compiler/Disassembler and Tools:
10663
10664 Ported the -g option (get local ACPI tables) to the new ACPICA Table
10665 Manager
10666 to restore original behavior.
10667
10668 ----------------------------------------
10669 27 September 2006. Summary of changes for version 20060927:
10670
10671 1) ACPI CA Core Subsystem:
10672
10673 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
10674 These functions now use a spinlock for mutual exclusion and the interrupt
10675 level indication flag is not needed.
10676
10677 Fixed a problem with the Global Lock where the lock could appear to be
10678 obtained before it is actually obtained. The global lock semaphore was
10679 inadvertently created with one unit instead of zero units. (BZ 464)
10680 Fiodor
10681 Suietov.
10682
10683 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
10684 during
10685 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
10686
10687 Example Code and Data Size: These are the sizes for the OS-independent
10688 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10689 debug version of the code includes the debug output trace mechanism and
10690 has
10691 a much larger code and data size.
10692
10693 Previous Release:
10694 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10695 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
10696 Current Release:
10697 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10698 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
10699
10700
10701 2) iASL Compiler/Disassembler and Tools:
10702
10703 Fixed a compilation problem with the pre-defined Resource Descriptor
10704 field
10705 names where an "object does not exist" error could be incorrectly
10706 generated
10707 if the parent ResourceTemplate pathname places the template within a
10708 different namespace scope than the current scope. (BZ 7212)
10709
10710 Fixed a problem where the compiler could hang after syntax errors
10711 detected
10712 in an ElseIf construct. (BZ 453)
10713
10714 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
10715 operator. An incorrect output filename was produced when this parameter
10716 was
10717 a null string (""). Now, the original input filename is used as the AML
10718 output filename, with an ".aml" extension.
10719
10720 Implemented a generic batch command mode for the AcpiExec utility
10721 (execute
10722 any AML debugger command) (Valery Podrezov).
10723
10724 ----------------------------------------
10725 12 September 2006. Summary of changes for version 20060912:
10726
10727 1) ACPI CA Core Subsystem:
10728
10729 Enhanced the implementation of the "serialized mode" of the interpreter
10730 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
10731 specified, instead of creating a serialization semaphore per control
10732 method,
10733 the interpreter lock is simply no longer released before a blocking
10734 operation during control method execution. This effectively makes the AML
10735 Interpreter single-threaded. The overhead of a semaphore per-method is
10736 eliminated.
10737
10738 Fixed a regression where an error was no longer emitted if a control
10739 method
10740 attempts to create 2 objects of the same name. This once again returns
10741 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
10742 that
10743 will dynamically serialize the control method to possible prevent future
10744 errors. (BZ 440)
10745
10746 Integrated a fix for a problem with PCI Express HID detection in the PCI
10747 Config Space setup procedure. (BZ 7145)
10748
10749 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
10750 AcpiHwInitialize function - the FADT registers are now validated when the
10751 table is loaded.
10752
10753 Added two new warnings during FADT verification - 1) if the FADT is
10754 larger
10755 than the largest known FADT version, and 2) if there is a mismatch
10756 between
10757 a
10758 32-bit block address and the 64-bit X counterpart (when both are non-
10759 zero.)
10760
10761 Example Code and Data Size: These are the sizes for the OS-independent
10762 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10763 debug version of the code includes the debug output trace mechanism and
10764 has
10765 a much larger code and data size.
10766
10767 Previous Release:
10768 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
10769 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
10770 Current Release:
10771 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10772 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
10773
10774
10775 2) iASL Compiler/Disassembler and Tools:
10776
10777 Fixed a problem with the implementation of the Switch() operator where
10778 the
10779 temporary variable was declared too close to the actual Switch, instead
10780 of
10781 at method level. This could cause a problem if the Switch() operator is
10782 within a while loop, causing an error on the second iteration. (BZ 460)
10783
10784 Disassembler - fix for error emitted for unknown type for target of scope
10785 operator. Now, ignore it and continue.
10786
10787 Disassembly of an FADT now verifies the input FADT and reports any errors
10788 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
10789
10790 Disassembly of raw data buffers with byte initialization data now
10791 prefixes
10792 each output line with the current buffer offset.
10793
10794 Disassembly of ASF! table now includes all variable-length data fields at
10795 the end of some of the subtables.
10796
10797 The disassembler now emits a comment if a buffer appears to be a
10798 ResourceTemplate, but cannot be disassembled as such because the EndTag
10799 does
10800 not appear at the very end of the buffer.
10801
10802 AcpiExec - Added the "-t" command line option to enable the serialized
10803 mode
10804 of the AML interpreter.
10805
10806 ----------------------------------------
10807 31 August 2006. Summary of changes for version 20060831:
10808
10809 1) ACPI CA Core Subsystem:
10810
10811 Miscellaneous fixes for the Table Manager:
10812 - Correctly initialize internal common FADT for all 64-bit "X" fields
10813 - Fixed a couple table mapping issues during table load
10814 - Fixed a couple alignment issues for IA64
10815 - Initialize input array to zero in AcpiInitializeTables
10816 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
10817 AcpiGetTableByIndex
10818
10819 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
10820 now
10821 immediately disabled to prevent the waking GPE from firing again and to
10822 prevent other wake GPEs from interrupting the wake process.
10823
10824 Added the AcpiGpeCount global that tracks the number of processed GPEs,
10825 to
10826 be used for debugging systems with a large number of ACPI interrupts.
10827
10828 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
10829 both the ACPICA headers and the disassembler.
10830
10831 Example Code and Data Size: These are the sizes for the OS-independent
10832 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10833 debug version of the code includes the debug output trace mechanism and
10834 has
10835 a much larger code and data size.
10836
10837 Previous Release:
10838 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
10839 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
10840 Current Release:
10841 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
10842 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
10843
10844
10845 2) iASL Compiler/Disassembler and Tools:
10846
10847 Disassembler support for the DMAR ACPI table.
10848
10849 ----------------------------------------
10850 23 August 2006. Summary of changes for version 20060823:
10851
10852 1) ACPI CA Core Subsystem:
10853
10854 The Table Manager component has been completely redesigned and
10855 reimplemented. The new design is much simpler, and reduces the overall
10856 code
10857 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
10858 is
10859 now possible to obtain the ACPI tables very early during kernel
10860 initialization, even before dynamic memory management is initialized.
10861 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
10862
10863 Obsolete ACPICA interfaces:
10864
10865 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
10866 init
10867 time).
10868 - AcpiLoadTable: Not needed.
10869 - AcpiUnloadTable: Not needed.
10870
10871 New ACPICA interfaces:
10872
10873 - AcpiInitializeTables: Must be called before the table manager can be
10874 used.
10875 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
10876 allocated memory after it becomes available.
10877 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
10878 tables
10879 in the RSDT/XSDT.
10880
10881 Other ACPICA changes:
10882
10883 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
10884 Use
10885 AcpiOsUnmapMemory to free this mapping.
10886 - AcpiGetTable returns the actual mapped table. The mapping is managed
10887 internally and must not be deleted by the caller. Use of this interface
10888 causes no additional dynamic memory allocation.
10889 - AcpiFindRootPointer: Support for physical addressing has been
10890 eliminated,
10891 it appeared to be unused.
10892 - The interface to AcpiOsMapMemory has changed to be consistent with the
10893 other allocation interfaces.
10894 - The interface to AcpiOsGetRootPointer has changed to eliminate
10895 unnecessary
10896 parameters.
10897 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
10898 64-
10899 bit platforms. Was previously 64 bits on all platforms.
10900 - The interface to the ACPI Global Lock acquire/release macros have
10901 changed
10902 slightly since ACPICA no longer keeps a local copy of the FACS with a
10903 constructed pointer to the actual global lock.
10904
10905 Porting to the new table manager:
10906
10907 - AcpiInitializeTables: Must be called once, and can be called anytime
10908 during the OS initialization process. It allows the host to specify an
10909 area
10910 of memory to be used to store the internal version of the RSDT/XSDT (root
10911 table). This allows the host to access ACPI tables before memory
10912 management
10913 is initialized and running.
10914 - AcpiReallocateRootTable: Can be called after memory management is
10915 running
10916 to copy the root table to a dynamically allocated array, freeing up the
10917 scratch memory specified in the call to AcpiInitializeTables.
10918 - AcpiSubsystemInitialize: This existing interface is independent of the
10919 Table Manager, and does not have to be called before the Table Manager
10920 can
10921 be used, it only must be called before the rest of ACPICA can be used.
10922 - ACPI Tables: Some changes have been made to the names and structure of
10923 the
10924 actbl.h and actbl1.h header files and may require changes to existing
10925 code.
10926 For example, bitfields have been completely removed because of their lack
10927 of
10928 portability across C compilers.
10929 - Update interfaces to the Global Lock acquire/release macros if local
10930 versions are used. (see acwin.h)
10931
10932 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
10933
10934 New files: tbfind.c
10935
10936 Example Code and Data Size: These are the sizes for the OS-independent
10937 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10938 debug version of the code includes the debug output trace mechanism and
10939 has
10940 a much larger code and data size.
10941
10942 Previous Release:
10943 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
10944 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
10945 Current Release:
10946 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
10947 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
10948
10949
10950 2) iASL Compiler/Disassembler and Tools:
10951
10952 No changes for this release.
10953
10954 ----------------------------------------
10955 21 July 2006. Summary of changes for version 20060721:
10956
10957 1) ACPI CA Core Subsystem:
10958
10959 The full source code for the ASL test suite used to validate the iASL
10960 compiler and the ACPICA core subsystem is being released with the ACPICA
10961 source for the first time. The source is contained in a separate package
10962 and
10963 consists of over 1100 files that exercise all ASL/AML operators. The
10964 package
10965 should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
10966 Fiodor
10967 Suietov)
10968
10969 Completed a new design and implementation for support of the ACPI Global
10970 Lock. On the OS side, the global lock is now treated as a standard AML
10971 mutex. Previously, multiple OS threads could "acquire" the global lock
10972 simultaneously. However, this could cause the BIOS to be starved out of
10973 the
10974 lock - especially in cases such as the Embedded Controller driver where
10975 there is a tight coupling between the OS and the BIOS.
10976
10977 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
10978 The Global Lock interrupt handler no longer queues the execution of a
10979 separate thread to signal the global lock semaphore. Instead, the
10980 semaphore
10981 is signaled directly from the interrupt handler.
10982
10983 Implemented support within the AML interpreter for package objects that
10984 contain a larger AML length (package list length) than the package
10985 element
10986 count. In this case, the length of the package is truncated to match the
10987 package element count. Some BIOS code apparently modifies the package
10988 length
10989 on the fly, and this change supports this behavior. Provides
10990 compatibility
10991 with the MS AML interpreter. (With assistance from Fiodor Suietov)
10992
10993 Implemented a temporary fix for the BankValue parameter of a Bank Field
10994 to
10995 support all constant values, now including the Zero and One opcodes.
10996 Evaluation of this parameter must eventually be converted to a full
10997 TermArg
10998 evaluation. A not-implemented error is now returned (temporarily) for
10999 non-
11000 constant values for this parameter.
11001
11002 Fixed problem reports (Fiodor Suietov) integrated:
11003 - Fix for premature object deletion after CopyObject on Operation Region
11004 (BZ
11005 350)
11006
11007 Example Code and Data Size: These are the sizes for the OS-independent
11008 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11009 debug version of the code includes the debug output trace mechanism and
11010 has
11011 a much larger code and data size.
11012
11013 Previous Release:
11014 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
11015 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
11016 Current Release:
11017 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
11018 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
11019
11020
11021 2) iASL Compiler/Disassembler and Tools:
11022
11023 No changes for this release.
11024
11025 ----------------------------------------
11026 07 July 2006. Summary of changes for version 20060707:
11027
11028 1) ACPI CA Core Subsystem:
11029
11030 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
11031 that do not allow the initialization of address pointers within packed
11032 structures - even though the hardware itself may support misaligned
11033 transfers. Some of the debug data structures are packed by default to
11034 minimize size.
11035
11036 Added an error message for the case where AcpiOsGetThreadId() returns
11037 zero.
11038 A non-zero value is required by the core ACPICA code to ensure the proper
11039 operation of AML mutexes and recursive control methods.
11040
11041 The DSDT is now the only ACPI table that determines whether the AML
11042 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
11043 but
11044 the hooks for per-table 32/64 switching have been removed from the code.
11045 A
11046 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
11047
11048 Fixed a possible leak of an OwnerID in the error path of
11049 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
11050 deletion to a single place in AcpiTbUninstallTable to correct possible
11051 leaks
11052 when using the AcpiTbDeleteTablesByType interface (with assistance from
11053 Lance Ortiz.)
11054
11055 Fixed a problem with Serialized control methods where the semaphore
11056 associated with the method could be over-signaled after multiple method
11057 invocations.
11058
11059 Fixed two issues with the locking of the internal namespace data
11060 structure.
11061 Both the Unload() operator and AcpiUnloadTable interface now lock the
11062 namespace during the namespace deletion associated with the table unload
11063 (with assistance from Linn Crosetto.)
11064
11065 Fixed problem reports (Valery Podrezov) integrated:
11066 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
11067
11068 Fixed problem reports (Fiodor Suietov) integrated:
11069 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
11070 - On Address Space handler deletion, needless deactivation call (BZ 374)
11071 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
11072 375)
11073 - Possible memory leak, Notify sub-objects of Processor, Power,
11074 ThermalZone
11075 (BZ 376)
11076 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
11077 - Minimum Length of RSDT should be validated (BZ 379)
11078 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
11079 Handler (BZ (380)
11080 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
11081 loaded
11082 (BZ 381)
11083
11084 Example Code and Data Size: These are the sizes for the OS-independent
11085 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11086 debug version of the code includes the debug output trace mechanism and
11087 has
11088 a much larger code and data size.
11089
11090 Previous Release:
11091 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
11092 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
11093 Current Release:
11094 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
11095 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
11096
11097
11098 2) iASL Compiler/Disassembler and Tools:
11099
11100 Fixed problem reports:
11101 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
11102 436)
11103
11104 ----------------------------------------
11105 23 June 2006. Summary of changes for version 20060623:
11106
11107 1) ACPI CA Core Subsystem:
11108
11109 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
11110 allows the type to be customized to the host OS for improved efficiency
11111 (since a spinlock is usually a very small object.)
11112
11113 Implemented support for "ignored" bits in the ACPI registers. According
11114 to
11115 the ACPI specification, these bits should be preserved when writing the
11116 registers via a read/modify/write cycle. There are 3 bits preserved in
11117 this
11118 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
11119
11120 Implemented the initial deployment of new OSL mutex interfaces. Since
11121 some
11122 host operating systems have separate mutex and semaphore objects, this
11123 feature was requested. The base code now uses mutexes (and the new mutex
11124 interfaces) wherever a binary semaphore was used previously. However, for
11125 the current release, the mutex interfaces are defined as macros to map
11126 them
11127 to the existing semaphore interfaces. Therefore, no OSL changes are
11128 required
11129 at this time. (See acpiosxf.h)
11130
11131 Fixed several problems with the support for the control method SyncLevel
11132 parameter. The SyncLevel now works according to the ACPI specification
11133 and
11134 in concert with the Mutex SyncLevel parameter, since the current
11135 SyncLevel
11136 is a property of the executing thread. Mutual exclusion for control
11137 methods
11138 is now implemented with a mutex instead of a semaphore.
11139
11140 Fixed three instances of the use of the C shift operator in the bitfield
11141 support code (exfldio.c) to avoid the use of a shift value larger than
11142 the
11143 target data width. The behavior of C compilers is undefined in this case
11144 and
11145 can cause unpredictable results, and therefore the case must be detected
11146 and
11147 avoided. (Fiodor Suietov)
11148
11149 Added an info message whenever an SSDT or OEM table is loaded dynamically
11150 via the Load() or LoadTable() ASL operators. This should improve
11151 debugging
11152 capability since it will show exactly what tables have been loaded
11153 (beyond
11154 the tables present in the RSDT/XSDT.)
11155
11156 Example Code and Data Size: These are the sizes for the OS-independent
11157 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11158 debug version of the code includes the debug output trace mechanism and
11159 has
11160 a much larger code and data size.
11161
11162 Previous Release:
11163 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
11164 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
11165 Current Release:
11166 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
11167 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
11168
11169
11170 2) iASL Compiler/Disassembler and Tools:
11171
11172 No changes for this release.
11173
11174 ----------------------------------------
11175 08 June 2006. Summary of changes for version 20060608:
11176
11177 1) ACPI CA Core Subsystem:
11178
11179 Converted the locking mutex used for the ACPI hardware to a spinlock.
11180 This
11181 change should eliminate all problems caused by attempting to acquire a
11182 semaphore at interrupt level, and it means that all ACPICA external
11183 interfaces that directly access the ACPI hardware can be safely called
11184 from
11185 interrupt level. OSL code that implements the semaphore interfaces should
11186 be
11187 able to eliminate any workarounds for being called at interrupt level.
11188
11189 Fixed a regression introduced in 20060526 where the ACPI device
11190 initialization could be prematurely aborted with an AE_NOT_FOUND if a
11191 device
11192 did not have an optional _INI method.
11193
11194 Fixed an IndexField issue where a write to the Data Register should be
11195 limited in size to the AccessSize (width) of the IndexField itself. (BZ
11196 433,
11197 Fiodor Suietov)
11198
11199 Fixed problem reports (Valery Podrezov) integrated:
11200 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
11201
11202 Fixed problem reports (Fiodor Suietov) integrated:
11203 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
11204
11205 Removed four global mutexes that were obsolete and were no longer being
11206 used.
11207
11208 Example Code and Data Size: These are the sizes for the OS-independent
11209 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11210 debug version of the code includes the debug output trace mechanism and
11211 has
11212 a much larger code and data size.
11213
11214 Previous Release:
11215 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
11216 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
11217 Current Release:
11218 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
11219 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
11220
11221
11222 2) iASL Compiler/Disassembler and Tools:
11223
11224 Fixed a fault when using -g option (get tables from registry) on Windows
11225 machines.
11226
11227 Fixed problem reports integrated:
11228 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
11229 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
11230 Suietov)
11231 - Global table revision override (-r) is ignored (BZ 413)
11232
11233 ----------------------------------------
11234 26 May 2006. Summary of changes for version 20060526:
11235
11236 1) ACPI CA Core Subsystem:
11237
11238 Restructured, flattened, and simplified the internal interfaces for
11239 namespace object evaluation - resulting in smaller code, less CPU stack
11240 use,
11241 and fewer interfaces. (With assistance from Mikhail Kouzmich)
11242
11243 Fixed a problem with the CopyObject operator where the first parameter
11244 was
11245 not typed correctly for the parser, interpreter, compiler, and
11246 disassembler.
11247 Caused various errors and unexpected behavior.
11248
11249 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
11250 produced incorrect results with some C compilers. Since the behavior of C
11251 compilers when the shift value is larger than the datatype width is
11252 apparently not well defined, the interpreter now detects this condition
11253 and
11254 simply returns zero as expected in all such cases. (BZ 395)
11255
11256 Fixed problem reports (Valery Podrezov) integrated:
11257 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
11258 - Allow interpreter to handle nested method declarations (BZ 5361)
11259
11260 Fixed problem reports (Fiodor Suietov) integrated:
11261 - AcpiTerminate doesn't free debug memory allocation list objects (BZ
11262 355)
11263 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
11264 356)
11265 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
11266 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
11267 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
11268 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
11269 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
11270 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
11271 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
11272 365)
11273 - Status of the Global Initialization Handler call not used (BZ 366)
11274 - Incorrect object parameter to Global Initialization Handler (BZ 367)
11275
11276 Example Code and Data Size: These are the sizes for the OS-independent
11277 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11278 debug version of the code includes the debug output trace mechanism and
11279 has
11280 a much larger code and data size.
11281
11282 Previous Release:
11283 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
11284 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
11285 Current Release:
11286 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
11287 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
11288
11289
11290 2) iASL Compiler/Disassembler and Tools:
11291
11292 Modified the parser to allow the names IO, DMA, and IRQ to be used as
11293 namespace identifiers with no collision with existing resource descriptor
11294 macro names. This provides compatibility with other ASL compilers and is
11295 most useful for disassembly/recompilation of existing tables without
11296 parse
11297 errors. (With assistance from Thomas Renninger)
11298
11299 Disassembler: fixed an incorrect disassembly problem with the
11300 DataTableRegion and CopyObject operators. Fixed a possible fault during
11301 disassembly of some Alias operators.
11302
11303 ----------------------------------------
11304 12 May 2006. Summary of changes for version 20060512:
11305
11306 1) ACPI CA Core Subsystem:
11307
11308 Replaced the AcpiOsQueueForExecution interface with a new interface named
11309 AcpiOsExecute. The major difference is that the new interface does not
11310 have
11311 a Priority parameter, this appeared to be useless and has been replaced
11312 by
11313 a
11314 Type parameter. The Type tells the host what type of execution is being
11315 requested, such as global lock handler, notify handler, GPE handler, etc.
11316 This allows the host to queue and execute the request as appropriate for
11317 the
11318 request type, possibly using different work queues and different
11319 priorities
11320 for the various request types. This enables fixes for multithreading
11321 deadlock problems such as BZ #5534, and will require changes to all
11322 existing
11323 OS interface layers. (Alexey Starikovskiy and Bob Moore)
11324
11325 Fixed a possible memory leak associated with the support for the so-
11326 called
11327 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
11328 Suietov)
11329
11330 Fixed a problem with the Load() operator where a table load from an
11331 operation region could overwrite an internal table buffer by up to 7
11332 bytes
11333 and cause alignment faults on IPF systems. (With assistance from Luming
11334 Yu)
11335
11336 Example Code and Data Size: These are the sizes for the OS-independent
11337 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11338 debug version of the code includes the debug output trace mechanism and
11339 has
11340 a much larger code and data size.
11341
11342 Previous Release:
11343 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
11344 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
11345 Current Release:
11346 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
11347 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
11348
11349
11350
11351 2) iASL Compiler/Disassembler and Tools:
11352
11353 Disassembler: Implemented support to cross reference the internal
11354 namespace
11355 and automatically generate ASL External() statements for symbols not
11356 defined
11357 within the current table being disassembled. This will simplify the
11358 disassembly and recompilation of interdependent tables such as SSDTs
11359 since
11360 these statements will no longer have to be added manually.
11361
11362 Disassembler: Implemented experimental support to automatically detect
11363 invocations of external control methods and generate appropriate
11364 External()
11365 statements. This is problematic because the AML cannot be correctly
11366 parsed
11367 until the number of arguments for each control method is known.
11368 Currently,
11369 standalone method invocations and invocations as the source operand of a
11370 Store() statement are supported.
11371
11372 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
11373 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
11374 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
11375 more readable and likely closer to the original ASL source.
11376
11377 ----------------------------------------
11378 21 April 2006. Summary of changes for version 20060421:
11379
11380 1) ACPI CA Core Subsystem:
11381
11382 Removed a device initialization optimization introduced in 20051216 where
11383 the _STA method was not run unless an _INI was also present for the same
11384 device. This optimization could cause problems because it could allow
11385 _INI
11386 methods to be run within a not-present device subtree. (If a not-present
11387 device had no _INI, _STA would not be run, the not-present status would
11388 not
11389 be discovered, and the children of the device would be incorrectly
11390 traversed.)
11391
11392 Implemented a new _STA optimization where namespace subtrees that do not
11393 contain _INI are identified and ignored during device initialization.
11394 Selectively running _STA can significantly improve boot time on large
11395 machines (with assistance from Len Brown.)
11396
11397 Implemented support for the device initialization case where the returned
11398 _STA flags indicate a device not-present but functioning. In this case,
11399 _INI
11400 is not run, but the device children are examined for presence, as per the
11401 ACPI specification.
11402
11403 Implemented an additional change to the IndexField support in order to
11404 conform to MS behavior. The value written to the Index Register is not
11405 simply a byte offset, it is a byte offset in units of the access width of
11406 the parent Index Field. (Fiodor Suietov)
11407
11408 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
11409 interface is called during the creation of all AML operation regions, and
11410 allows the host OS to exert control over what addresses it will allow the
11411 AML code to access. Operation Regions whose addresses are disallowed will
11412 cause a runtime exception when they are actually accessed (will not
11413 affect
11414 or abort table loading.) See oswinxf or osunixxf for an example
11415 implementation.
11416
11417 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
11418 interface allows the host OS to match the various "optional"
11419 interface/behavior strings for the _OSI predefined control method as
11420 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
11421 for an example implementation.
11422
11423 Restructured and corrected various problems in the exception handling
11424 code
11425 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
11426 (with assistance from Takayoshi Kochi.)
11427
11428 Modified the Linux source converter to ignore quoted string literals
11429 while
11430 converting identifiers from mixed to lower case. This will correct
11431 problems
11432 with the disassembler and other areas where such strings must not be
11433 modified.
11434
11435 The ACPI_FUNCTION_* macros no longer require quotes around the function
11436 name. This allows the Linux source converter to convert the names, now
11437 that
11438 the converter ignores quoted strings.
11439
11440 Example Code and Data Size: These are the sizes for the OS-independent
11441 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11442 debug version of the code includes the debug output trace mechanism and
11443 has
11444 a much larger code and data size.
11445
11446 Previous Release:
11447
11448 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
11449 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
11450 Current Release:
11451 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
11452 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
11453
11454
11455 2) iASL Compiler/Disassembler and Tools:
11456
11457 Implemented 3 new warnings for iASL, and implemented multiple warning
11458 levels
11459 (w2 flag).
11460
11461 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
11462 not
11463 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
11464 check for the possible timeout, a warning is issued.
11465
11466 2) Useless operators: If an ASL operator does not specify an optional
11467 target
11468 operand and it also does not use the function return value from the
11469 operator, a warning is issued since the operator effectively does
11470 nothing.
11471
11472 3) Unreferenced objects: If a namespace object is created, but never
11473 referenced, a warning is issued. This is a warning level 2 since there
11474 are
11475 cases where this is ok, such as when a secondary table is loaded that
11476 uses
11477 the unreferenced objects. Even so, care is taken to only flag objects
11478 that
11479 don't look like they will ever be used. For example, the reserved methods
11480 (starting with an underscore) are usually not referenced because it is
11481 expected that the OS will invoke them.
11482
11483 ----------------------------------------
11484 31 March 2006. Summary of changes for version 20060331:
11485
11486 1) ACPI CA Core Subsystem:
11487
11488 Implemented header file support for the following additional ACPI tables:
11489 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
11490 support,
11491 all current and known ACPI tables are now defined in the ACPICA headers
11492 and
11493 are available for use by device drivers and other software.
11494
11495 Implemented support to allow tables that contain ACPI names with invalid
11496 characters to be loaded. Previously, this would cause the table load to
11497 fail, but since there are several known cases of such tables on existing
11498 machines, this change was made to enable ACPI support for them. Also,
11499 this
11500 matches the behavior of the Microsoft ACPI implementation.
11501
11502 Fixed a couple regressions introduced during the memory optimization in
11503 the
11504 20060317 release. The namespace node definition required additional
11505 reorganization and an internal datatype that had been changed to 8-bit
11506 was
11507 restored to 32-bit. (Valery Podrezov)
11508
11509 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
11510 could be passed through to AcpiOsReleaseObject which is unexpected. Such
11511 null pointers are now trapped and ignored, matching the behavior of the
11512 previous implementation before the deployment of AcpiOsReleaseObject.
11513 (Valery Podrezov, Fiodor Suietov)
11514
11515 Fixed a memory mapping leak during the deletion of a SystemMemory
11516 operation
11517 region where a cached memory mapping was not deleted. This became a
11518 noticeable problem for operation regions that are defined within
11519 frequently
11520 used control methods. (Dana Meyers)
11521
11522 Reorganized the ACPI table header files into two main files: one for the
11523 ACPI tables consumed by the ACPICA core, and another for the
11524 miscellaneous
11525 ACPI tables that are consumed by the drivers and other software. The
11526 various
11527 FADT definitions were merged into one common section and three different
11528 tables (ACPI 1.0, 1.0+, and 2.0)
11529
11530 Example Code and Data Size: These are the sizes for the OS-independent
11531 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
11532 debug version of the code includes the debug output trace mechanism and
11533 has
11534 a much larger code and data size.
11535
11536 Previous Release:
11537 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
11538 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
11539 Current Release:
11540 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
11541 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
11542
11543
11544 2) iASL Compiler/Disassembler and Tools:
11545
11546 Disassembler: Implemented support to decode and format all non-AML ACPI
11547 tables (tables other than DSDTs and SSDTs.) This includes the new tables
11548 added to the ACPICA headers, therefore all current and known ACPI tables
11549 are
11550 supported.
11551
11552 Disassembler: The change to allow ACPI names with invalid characters also
11553 enables the disassembly of such tables. Invalid characters within names
11554 are
11555 changed to '*' to make the name printable; the iASL compiler will still
11556 generate an error for such names, however, since this is an invalid ACPI
11557 character.
11558
11559 Implemented an option for AcpiXtract (-a) to extract all tables found in
11560 the
11561 input file. The default invocation extracts only the DSDTs and SSDTs.
11562
11563 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
11564 makefile for the AcpiXtract utility.
11565
11566 ----------------------------------------
11567 17 March 2006. Summary of changes for version 20060317:
11568
11569 1) ACPI CA Core Subsystem:
11570
11571 Implemented the use of a cache object for all internal namespace nodes.
11572 Since there are about 1000 static nodes in a typical system, this will
11573 decrease memory use for cache implementations that minimize per-
11574 allocation
11575 overhead (such as a slab allocator.)
11576
11577 Removed the reference count mechanism for internal namespace nodes, since
11578 it
11579 was deemed unnecessary. This reduces the size of each namespace node by
11580 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
11581 case,
11582 and 32 bytes for the 64-bit case.
11583
11584 Optimized several internal data structures to reduce object size on 64-
11585 bit
11586 platforms by packing data within the 64-bit alignment. This includes the
11587 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
11588 instances corresponding to the namespace objects.
11589
11590 Added two new strings for the predefined _OSI method: "Windows 2001.1
11591 SP1"
11592 and "Windows 2006".
11593
11594 Split the allocation tracking mechanism out to a separate file, from
11595 utalloc.c to uttrack.c. This mechanism appears to be only useful for
11596 application-level code. Kernels may wish to not include uttrack.c in
11597 distributions.
11598
11599 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
11600 associated
11601 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
11602 macros.)
11603
11604 Code and Data Size: These are the sizes for the acpica.lib produced by
11605 the
11606 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11607 ACPI
11608 driver or OSPM code. The debug version of the code includes the debug
11609 output
11610 trace mechanism and has a much larger code and data size. Note that these
11611 values will vary depending on the efficiency of the compiler and the
11612 compiler options used during generation.
11613
11614 Previous Release:
11615 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11616 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
11617 Current Release:
11618 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
11619 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
11620
11621
11622 2) iASL Compiler/Disassembler and Tools:
11623
11624 Implemented an ANSI C version of the acpixtract utility. This version
11625 will
11626 automatically extract the DSDT and all SSDTs from the input acpidump text
11627 file and dump the binary output to separate files. It can also display a
11628 summary of the input file including the headers for each table found and
11629 will extract any single ACPI table, with any signature. (See
11630 source/tools/acpixtract)
11631
11632 ----------------------------------------
11633 10 March 2006. Summary of changes for version 20060310:
11634
11635 1) ACPI CA Core Subsystem:
11636
11637 Tagged all external interfaces to the subsystem with the new
11638 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
11639 assist
11640 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
11641 macro. The default definition is NULL.
11642
11643 Added the ACPI_THREAD_ID type for the return value from
11644 AcpiOsGetThreadId.
11645 This allows the host to define this as necessary to simplify kernel
11646 integration. The default definition is ACPI_NATIVE_UINT.
11647
11648 Fixed two interpreter problems related to error processing, the deletion
11649 of
11650 objects, and placing invalid pointers onto the internal operator result
11651 stack. BZ 6028, 6151 (Valery Podrezov)
11652
11653 Increased the reference count threshold where a warning is emitted for
11654 large
11655 reference counts in order to eliminate unnecessary warnings on systems
11656 with
11657 large namespaces (especially 64-bit.) Increased the value from 0x400 to
11658 0x800.
11659
11660 Due to universal disagreement as to the meaning of the 'c' in the
11661 calloc()
11662 function, the ACPI_MEM_CALLOCATE macro has been renamed to
11663 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
11664 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
11665 ACPI_FREE.
11666
11667 Code and Data Size: These are the sizes for the acpica.lib produced by
11668 the
11669 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11670 ACPI
11671 driver or OSPM code. The debug version of the code includes the debug
11672 output
11673 trace mechanism and has a much larger code and data size. Note that these
11674 values will vary depending on the efficiency of the compiler and the
11675 compiler options used during generation.
11676
11677 Previous Release:
11678 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
11679 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
11680 Current Release:
11681 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11682 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
11683
11684
11685 2) iASL Compiler/Disassembler:
11686
11687 Disassembler: implemented support for symbolic resource descriptor
11688 references. If a CreateXxxxField operator references a fixed offset
11689 within
11690 a
11691 resource descriptor, a name is assigned to the descriptor and the offset
11692 is
11693 translated to the appropriate resource tag and pathname. The addition of
11694 this support brings the disassembled code very close to the original ASL
11695 source code and helps eliminate run-time errors when the disassembled
11696 code
11697 is modified (and recompiled) in such a way as to invalidate the original
11698 fixed offsets.
11699
11700 Implemented support for a Descriptor Name as the last parameter to the
11701 ASL
11702 Register() macro. This parameter was inadvertently left out of the ACPI
11703 specification, and will be added for ACPI 3.0b.
11704
11705 Fixed a problem where the use of the "_OSI" string (versus the full path
11706 "\_OSI") caused an internal compiler error. ("No back ptr to op")
11707
11708 Fixed a problem with the error message that occurs when an invalid string
11709 is
11710 used for a _HID object (such as one with an embedded asterisk:
11711 "*PNP010A".)
11712 The correct message is now displayed.
11713
11714 ----------------------------------------
11715 17 February 2006. Summary of changes for version 20060217:
11716
11717 1) ACPI CA Core Subsystem:
11718
11719 Implemented a change to the IndexField support to match the behavior of
11720 the
11721 Microsoft AML interpreter. The value written to the Index register is now
11722 a
11723 byte offset, no longer an index based upon the width of the Data
11724 register.
11725 This should fix IndexField problems seen on some machines where the Data
11726 register is not exactly one byte wide. The ACPI specification will be
11727 clarified on this point.
11728
11729 Fixed a problem where several resource descriptor types could overrun the
11730 internal descriptor buffer due to size miscalculation: VendorShort,
11731 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
11732 affect all platforms.
11733
11734 Fixed a problem where individual resource descriptors were misaligned
11735 within
11736 the internal buffer, causing alignment faults on IA64 platforms.
11737
11738 Code and Data Size: These are the sizes for the acpica.lib produced by
11739 the
11740 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11741 ACPI
11742 driver or OSPM code. The debug version of the code includes the debug
11743 output
11744 trace mechanism and has a much larger code and data size. Note that these
11745 values will vary depending on the efficiency of the compiler and the
11746 compiler options used during generation.
11747
11748 Previous Release:
11749 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11750 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
11751 Current Release:
11752 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
11753 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
11754
11755
11756 2) iASL Compiler/Disassembler:
11757
11758 Implemented support for new reserved names: _WDG and _WED are Microsoft
11759 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
11760 defined method (Throttling Depth Limit.)
11761
11762 Fixed a problem where a zero-length VendorShort or VendorLong resource
11763 descriptor was incorrectly emitted as a descriptor of length one.
11764
11765 ----------------------------------------
11766 10 February 2006. Summary of changes for version 20060210:
11767
11768 1) ACPI CA Core Subsystem:
11769
11770 Removed a couple of extraneous ACPI_ERROR messages that appeared during
11771 normal execution. These became apparent after the conversion from
11772 ACPI_DEBUG_PRINT.
11773
11774 Fixed a problem where the CreateField operator could hang if the BitIndex
11775 or
11776 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
11777
11778 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
11779 failed with an exception. This also fixes a couple of related RefOf and
11780 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
11781
11782 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
11783 of
11784 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
11785 BZ
11786 5480)
11787
11788 Implemented a memory cleanup at the end of the execution of each
11789 iteration
11790 of an AML While() loop, preventing the accumulation of outstanding
11791 objects.
11792 (Valery Podrezov, BZ 5427)
11793
11794 Eliminated a chunk of duplicate code in the object resolution code.
11795 (Valery
11796 Podrezov, BZ 5336)
11797
11798 Fixed several warnings during the 64-bit code generation.
11799
11800 The AcpiSrc source code conversion tool now inserts one line of
11801 whitespace
11802 after an if() statement that is followed immediately by a comment,
11803 improving
11804 readability of the Linux code.
11805
11806 Code and Data Size: The current and previous library sizes for the core
11807 subsystem are shown below. These are the code and data sizes for the
11808 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11809 These
11810 values do not include any ACPI driver or OSPM code. The debug version of
11811 the
11812 code includes the debug output trace mechanism and has a much larger code
11813 and data size. Note that these values will vary depending on the
11814 efficiency
11815 of the compiler and the compiler options used during generation.
11816
11817 Previous Release:
11818 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
11819 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
11820 Current Release:
11821 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11822 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
11823
11824
11825 2) iASL Compiler/Disassembler:
11826
11827 Fixed a problem with the disassembly of a BankField operator with a
11828 complex
11829 expression for the BankValue parameter.
11830
11831 ----------------------------------------
11832 27 January 2006. Summary of changes for version 20060127:
11833
11834 1) ACPI CA Core Subsystem:
11835
11836 Implemented support in the Resource Manager to allow unresolved
11837 namestring
11838 references within resource package objects for the _PRT method. This
11839 support
11840 is in addition to the previously implemented unresolved reference support
11841 within the AML parser. If the interpreter slack mode is enabled, these
11842 unresolved references will be passed through to the caller as a NULL
11843 package
11844 entry.
11845
11846 Implemented and deployed new macros and functions for error and warning
11847 messages across the subsystem. These macros are simpler and generate less
11848 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
11849 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
11850 macros remain defined to allow ACPI drivers time to migrate to the new
11851 macros.
11852
11853 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
11854 the
11855 Acquire/Release Lock OSL interfaces.
11856
11857 Fixed a problem where Alias ASL operators are sometimes not correctly
11858 resolved, in both the interpreter and the iASL compiler.
11859
11860 Fixed several problems with the implementation of the
11861 ConcatenateResTemplate
11862 ASL operator. As per the ACPI specification, zero length buffers are now
11863 treated as a single EndTag. One-length buffers always cause a fatal
11864 exception. Non-zero length buffers that do not end with a full 2-byte
11865 EndTag
11866 cause a fatal exception.
11867
11868 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
11869 interface. (With assistance from Thomas Renninger)
11870
11871 Code and Data Size: The current and previous library sizes for the core
11872 subsystem are shown below. These are the code and data sizes for the
11873 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11874 These
11875 values do not include any ACPI driver or OSPM code. The debug version of
11876 the
11877 code includes the debug output trace mechanism and has a much larger code
11878 and data size. Note that these values will vary depending on the
11879 efficiency
11880 of the compiler and the compiler options used during generation.
11881
11882 Previous Release:
11883 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
11884 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
11885 Current Release:
11886 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
11887 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
11888
11889
11890 2) iASL Compiler/Disassembler:
11891
11892 Fixed an internal error that was generated for any forward references to
11893 ASL
11894 Alias objects.
11895
11896 ----------------------------------------
11897 13 January 2006. Summary of changes for version 20060113:
11898
11899 1) ACPI CA Core Subsystem:
11900
11901 Added 2006 copyright to all module headers and signons. This affects
11902 virtually every file in the ACPICA core subsystem, iASL compiler, and the
11903 utilities.
11904
11905 Enhanced the ACPICA error reporting in order to simplify user migration
11906 to
11907 the non-debug version of ACPICA. Replaced all instances of the
11908 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
11909 debug
11910 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
11911 respectively. This preserves all error and warning messages in the non-
11912 debug
11913 version of the ACPICA code (this has been referred to as the "debug lite"
11914 option.) Over 200 cases were converted to create a total of over 380
11915 error/warning messages across the ACPICA code. This increases the code
11916 and
11917 data size of the default non-debug version of the code somewhat (about
11918 13K),
11919 but all error/warning reporting may be disabled if desired (and code
11920 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
11921 configuration option. The size of the debug version of ACPICA remains
11922 about
11923 the same.
11924
11925 Fixed a memory leak within the AML Debugger "Set" command. One object was
11926 not properly deleted for every successful invocation of the command.
11927
11928 Code and Data Size: The current and previous library sizes for the core
11929 subsystem are shown below. These are the code and data sizes for the
11930 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11931 These
11932 values do not include any ACPI driver or OSPM code. The debug version of
11933 the
11934 code includes the debug output trace mechanism and has a much larger code
11935 and data size. Note that these values will vary depending on the
11936 efficiency
11937 of the compiler and the compiler options used during generation.
11938
11939 Previous Release:
11940 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
11941 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
11942 Current Release:
11943 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
11944 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
11945
11946
11947 2) iASL Compiler/Disassembler:
11948
11949 The compiler now officially supports the ACPI 3.0a specification that was
11950 released on December 30, 2005. (Specification is available at
11951 www.acpi.info)
11952
11953 ----------------------------------------
11954 16 December 2005. Summary of changes for version 20051216:
11955
11956 1) ACPI CA Core Subsystem:
11957
11958 Implemented optional support to allow unresolved names within ASL Package
11959 objects. A null object is inserted in the package when a named reference
11960 cannot be located in the current namespace. Enabled via the interpreter
11961 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
11962 machines
11963 that contain such code.
11964
11965 Implemented an optimization to the initialization sequence that can
11966 improve
11967 boot time. During ACPI device initialization, the _STA method is now run
11968 if
11969 and only if the _INI method exists. The _STA method is used to determine
11970 if
11971 the device is present; An _INI can only be run if _STA returns present,
11972 but
11973 it is a waste of time to run the _STA method if the _INI does not exist.
11974 (Prototype and assistance from Dong Wei)
11975
11976 Implemented use of the C99 uintptr_t for the pointer casting macros if it
11977 is
11978 available in the current compiler. Otherwise, the default (void *) cast
11979 is
11980 used as before.
11981
11982 Fixed some possible memory leaks found within the execution path of the
11983 Break, Continue, If, and CreateField operators. (Valery Podrezov)
11984
11985 Fixed a problem introduced in the 20051202 release where an exception is
11986 generated during method execution if a control method attempts to declare
11987 another method.
11988
11989 Moved resource descriptor string constants that are used by both the AML
11990 disassembler and AML debugger to the common utilities directory so that
11991 these components are independent.
11992
11993 Implemented support in the AcpiExec utility (-e switch) to globally
11994 ignore
11995 exceptions during control method execution (method is not aborted.)
11996
11997 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
11998 generation.
11999
12000 Code and Data Size: The current and previous library sizes for the core
12001 subsystem are shown below. These are the code and data sizes for the
12002 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12003 These
12004 values do not include any ACPI driver or OSPM code. The debug version of
12005 the
12006 code includes the debug output trace mechanism and has a much larger code
12007 and data size. Note that these values will vary depending on the
12008 efficiency
12009 of the compiler and the compiler options used during generation.
12010
12011 Previous Release:
12012 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
12013 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
12014 Current Release:
12015 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
12016 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
12017
12018
12019 2) iASL Compiler/Disassembler:
12020
12021 Fixed a problem where a CPU stack overflow fault could occur if a
12022 recursive
12023 method call was made from within a Return statement.
12024
12025 ----------------------------------------
12026 02 December 2005. Summary of changes for version 20051202:
12027
12028 1) ACPI CA Core Subsystem:
12029
12030 Modified the parsing of control methods to no longer create namespace
12031 objects during the first pass of the parse. Objects are now created only
12032 during the execute phase, at the moment the namespace creation operator
12033 is
12034 encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
12035 This
12036 should eliminate ALREADY_EXISTS exceptions seen on some machines where
12037 reentrant control methods are protected by an AML mutex. The mutex will
12038 now
12039 correctly block multiple threads from attempting to create the same
12040 object
12041 more than once.
12042
12043 Increased the number of available Owner Ids for namespace object tracking
12044 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
12045 on
12046 some machines with a large number of ACPI tables (either static or
12047 dynamic).
12048
12049 Fixed a problem with the AcpiExec utility where a fault could occur when
12050 the
12051 -b switch (batch mode) is used.
12052
12053 Enhanced the namespace dump routine to output the owner ID for each
12054 namespace object.
12055
12056 Code and Data Size: The current and previous library sizes for the core
12057 subsystem are shown below. These are the code and data sizes for the
12058 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12059 These
12060 values do not include any ACPI driver or OSPM code. The debug version of
12061 the
12062 code includes the debug output trace mechanism and has a much larger code
12063 and data size. Note that these values will vary depending on the
12064 efficiency
12065 of the compiler and the compiler options used during generation.
12066
12067 Previous Release:
12068 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
12069 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
12070 Current Release:
12071 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
12072 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
12073
12074
12075 2) iASL Compiler/Disassembler:
12076
12077 Fixed a parse error during compilation of certain Switch/Case constructs.
12078 To
12079 simplify the parse, the grammar now allows for multiple Default
12080 statements
12081 and this error is now detected and flagged during the analysis phase.
12082
12083 Disassembler: The disassembly now includes the contents of the original
12084 table header within a comment at the start of the file. This includes the
12085 name and version of the original ASL compiler.
12086
12087 ----------------------------------------
12088 17 November 2005. Summary of changes for version 20051117:
12089
12090 1) ACPI CA Core Subsystem:
12091
12092 Fixed a problem in the AML parser where the method thread count could be
12093 decremented below zero if any errors occurred during the method parse
12094 phase.
12095 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
12096 machines.
12097 This also fixed a related regression with the mechanism that detects and
12098 corrects methods that cannot properly handle reentrancy (related to the
12099 deployment of the new OwnerId mechanism.)
12100
12101 Eliminated the pre-parsing of control methods (to detect errors) during
12102 table load. Related to the problem above, this was causing unwind issues
12103 if
12104 any errors occurred during the parse, and it seemed to be overkill. A
12105 table
12106 load should not be aborted if there are problems with any single control
12107 method, thus rendering this feature rather pointless.
12108
12109 Fixed a problem with the new table-driven resource manager where an
12110 internal
12111 buffer overflow could occur for small resource templates.
12112
12113 Implemented a new external interface, AcpiGetVendorResource. This
12114 interface
12115 will find and return a vendor-defined resource descriptor within a _CRS
12116 or
12117 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
12118 Helgaas.
12119
12120 Removed the length limit (200) on string objects as per the upcoming ACPI
12121 3.0A specification. This affects the following areas of the interpreter:
12122 1)
12123 any implicit conversion of a Buffer to a String, 2) a String object
12124 result
12125 of the ASL Concatenate operator, 3) the String object result of the ASL
12126 ToString operator.
12127
12128 Fixed a problem in the Windows OS interface layer (OSL) where a
12129 WAIT_FOREVER
12130 on a semaphore object would incorrectly timeout. This allows the
12131 multithreading features of the AcpiExec utility to work properly under
12132 Windows.
12133
12134 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
12135 the recently added file named "utresrc.c".
12136
12137 Code and Data Size: The current and previous library sizes for the core
12138 subsystem are shown below. These are the code and data sizes for the
12139 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12140 These
12141 values do not include any ACPI driver or OSPM code. The debug version of
12142 the
12143 code includes the debug output trace mechanism and has a much larger code
12144 and data size. Note that these values will vary depending on the
12145 efficiency
12146 of the compiler and the compiler options used during generation.
12147
12148 Previous Release:
12149 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
12150 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
12151 Current Release:
12152 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
12153 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
12154
12155
12156 2) iASL Compiler/Disassembler:
12157
12158 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
12159 specification. For the iASL compiler, this means that string literals
12160 within
12161 the source ASL can be of any length.
12162
12163 Enhanced the listing output to dump the AML code for resource descriptors
12164 immediately after the ASL code for each descriptor, instead of in a block
12165 at
12166 the end of the entire resource template.
12167
12168 Enhanced the compiler debug output to dump the entire original parse tree
12169 constructed during the parse phase, before any transforms are applied to
12170 the
12171 tree. The transformed tree is dumped also.
12172
12173 ----------------------------------------
12174 02 November 2005. Summary of changes for version 20051102:
12175
12176 1) ACPI CA Core Subsystem:
12177
12178 Modified the subsystem initialization sequence to improve GPE support.
12179 The
12180 GPE initialization has been split into two parts in order to defer
12181 execution
12182 of the _PRW methods (Power Resources for Wake) until after the hardware
12183 is
12184 fully initialized and the SCI handler is installed. This allows the _PRW
12185 methods to access fields protected by the Global Lock. This will fix
12186 systems
12187 where a NO_GLOBAL_LOCK exception has been seen during initialization.
12188
12189 Converted the ACPI internal object disassemble and display code within
12190 the
12191 AML debugger to fully table-driven operation, reducing code size and
12192 increasing maintainability.
12193
12194 Fixed a regression with the ConcatenateResTemplate() ASL operator
12195 introduced
12196 in the 20051021 release.
12197
12198 Implemented support for "local" internal ACPI object types within the
12199 debugger "Object" command and the AcpiWalkNamespace external interfaces.
12200 These local types include RegionFields, BankFields, IndexFields, Alias,
12201 and
12202 reference objects.
12203
12204 Moved common AML resource handling code into a new file, "utresrc.c".
12205 This
12206 code is shared by both the Resource Manager and the AML Debugger.
12207
12208 Code and Data Size: The current and previous library sizes for the core
12209 subsystem are shown below. These are the code and data sizes for the
12210 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12211 These
12212 values do not include any ACPI driver or OSPM code. The debug version of
12213 the
12214 code includes the debug output trace mechanism and has a much larger code
12215 and data size. Note that these values will vary depending on the
12216 efficiency
12217 of the compiler and the compiler options used during generation.
12218
12219 Previous Release:
12220 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
12221 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
12222 Current Release:
12223 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
12224 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
12225
12226
12227 2) iASL Compiler/Disassembler:
12228
12229 Fixed a problem with very large initializer lists (more than 4000
12230 elements)
12231 for both Buffer and Package objects where the parse stack could overflow.
12232
12233 Enhanced the pre-compile source code scan for non-ASCII characters to
12234 ignore
12235 characters within comment fields. The scan is now always performed and is
12236 no
12237 longer optional, detecting invalid characters within a source file
12238 immediately rather than during the parse phase or later.
12239
12240 Enhanced the ASL grammar definition to force early reductions on all
12241 list-
12242 style grammar elements so that the overall parse stack usage is greatly
12243 reduced. This should improve performance and reduce the possibility of
12244 parse
12245 stack overflow.
12246
12247 Eliminated all reduce/reduce conflicts in the iASL parser generation.
12248 Also,
12249 with the addition of a %expected statement, the compiler generates from
12250 source with no warnings.
12251
12252 Fixed a possible segment fault in the disassembler if the input filename
12253 does not contain a "dot" extension (Thomas Renninger).
12254
12255 ----------------------------------------
12256 21 October 2005. Summary of changes for version 20051021:
12257
12258 1) ACPI CA Core Subsystem:
12259
12260 Implemented support for the EM64T and other x86-64 processors. This
12261 essentially entails recognizing that these processors support non-aligned
12262 memory transfers. Previously, all 64-bit processors were assumed to lack
12263 hardware support for non-aligned transfers.
12264
12265 Completed conversion of the Resource Manager to nearly full table-driven
12266 operation. Specifically, the resource conversion code (convert AML to
12267 internal format and the reverse) and the debug code to dump internal
12268 resource descriptors are fully table-driven, reducing code and data size
12269 and
12270 improving maintainability.
12271
12272 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
12273 word
12274 on 64-bit processors instead of a fixed 32-bit word. (With assistance
12275 from
12276 Alexey Starikovskiy)
12277
12278 Implemented support within the resource conversion code for the Type-
12279 Specific byte within the various ACPI 3.0 *WordSpace macros.
12280
12281 Fixed some issues within the resource conversion code for the type-
12282 specific
12283 flags for both Memory and I/O address resource descriptors. For Memory,
12284 implemented support for the MTP and TTP flags. For I/O, split the TRS and
12285 TTP flags into two separate fields.
12286
12287 Code and Data Size: The current and previous library sizes for the core
12288 subsystem are shown below. These are the code and data sizes for the
12289 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12290 These
12291 values do not include any ACPI driver or OSPM code. The debug version of
12292 the
12293 code includes the debug output trace mechanism and has a much larger code
12294 and data size. Note that these values will vary depending on the
12295 efficiency
12296 of the compiler and the compiler options used during generation.
12297
12298 Previous Release:
12299 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
12300 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
12301 Current Release:
12302 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
12303 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
12304
12305
12306
12307 2) iASL Compiler/Disassembler:
12308
12309 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
12310 the
12311 corresponding ResourceSource string was not also present in a resource
12312 descriptor declaration. This restriction caused problems with existing
12313 AML/ASL code that includes the Index byte without the string. When such
12314 AML
12315 was disassembled, it could not be compiled without modification. Further,
12316 the modified code created a resource template with a different size than
12317 the
12318 original, breaking code that used fixed offsets into the resource
12319 template
12320 buffer.
12321
12322 Removed a recent feature of the disassembler to ignore a lone
12323 ResourceIndex
12324 byte. This byte is now emitted if present so that the exact AML can be
12325 reproduced when the disassembled code is recompiled.
12326
12327 Improved comments and text alignment for the resource descriptor code
12328 emitted by the disassembler.
12329
12330 Implemented disassembler support for the ACPI 3.0 AccessSize field within
12331 a
12332 Register() resource descriptor.
12333
12334 ----------------------------------------
12335 30 September 2005. Summary of changes for version 20050930:
12336
12337 1) ACPI CA Core Subsystem:
12338
12339 Completed a major overhaul of the Resource Manager code - specifically,
12340 optimizations in the area of the AML/internal resource conversion code.
12341 The
12342 code has been optimized to simplify and eliminate duplicated code, CPU
12343 stack
12344 use has been decreased by optimizing function parameters and local
12345 variables, and naming conventions across the manager have been
12346 standardized
12347 for clarity and ease of maintenance (this includes function, parameter,
12348 variable, and struct/typedef names.) The update may force changes in some
12349 driver code, depending on how resources are handled by the host OS.
12350
12351 All Resource Manager dispatch and information tables have been moved to a
12352 single location for clarity and ease of maintenance. One new file was
12353 created, named "rsinfo.c".
12354
12355 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
12356 guarantee that the argument is not evaluated twice, making them less
12357 prone
12358 to macro side-effects. However, since there exists the possibility of
12359 additional stack use if a particular compiler cannot optimize them (such
12360 as
12361 in the debug generation case), the original macros are optionally
12362 available.
12363 Note that some invocations of the return_VALUE macro may now cause size
12364 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
12365 to
12366 eliminate these. (From Randy Dunlap)
12367
12368 Implemented a new mechanism to enable debug tracing for individual
12369 control
12370 methods. A new external interface, AcpiDebugTrace, is provided to enable
12371 this mechanism. The intent is to allow the host OS to easily enable and
12372 disable tracing for problematic control methods. This interface can be
12373 easily exposed to a user or debugger interface if desired. See the file
12374 psxface.c for details.
12375
12376 AcpiUtCallocate will now return a valid pointer if a length of zero is
12377 specified - a length of one is used and a warning is issued. This matches
12378 the behavior of AcpiUtAllocate.
12379
12380 Code and Data Size: The current and previous library sizes for the core
12381 subsystem are shown below. These are the code and data sizes for the
12382 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12383 These
12384 values do not include any ACPI driver or OSPM code. The debug version of
12385 the
12386 code includes the debug output trace mechanism and has a much larger code
12387 and data size. Note that these values will vary depending on the
12388 efficiency
12389 of the compiler and the compiler options used during generation.
12390
12391 Previous Release:
12392 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
12393 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
12394 Current Release:
12395 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
12396 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
12397
12398
12399 2) iASL Compiler/Disassembler:
12400
12401 A remark is issued if the effective compile-time length of a package or
12402 buffer is zero. Previously, this was a warning.
12403
12404 ----------------------------------------
12405 16 September 2005. Summary of changes for version 20050916:
12406
12407 1) ACPI CA Core Subsystem:
12408
12409 Fixed a problem within the Resource Manager where support for the Generic
12410 Register descriptor was not fully implemented. This descriptor is now
12411 fully
12412 recognized, parsed, disassembled, and displayed.
12413
12414 Completely restructured the Resource Manager code to utilize table-driven
12415 dispatch and lookup, eliminating many of the large switch() statements.
12416 This
12417 reduces overall subsystem code size and code complexity. Affects the
12418 resource parsing and construction, disassembly, and debug dump output.
12419
12420 Cleaned up and restructured the debug dump output for all resource
12421 descriptors. Improved readability of the output and reduced code size.
12422
12423 Fixed a problem where changes to internal data structures caused the
12424 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
12425
12426 Code and Data Size: The current and previous library sizes for the core
12427 subsystem are shown below. These are the code and data sizes for the
12428 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
12429 These
12430 values do not include any ACPI driver or OSPM code. The debug version of
12431 the
12432 code includes the debug output trace mechanism and has a much larger code
12433 and data size. Note that these values will vary depending on the
12434 efficiency
12435 of the compiler and the compiler options used during generation.
12436
12437 Previous Release:
12438 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
12439 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
12440 Current Release:
12441 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
12442 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
12443
12444
12445 2) iASL Compiler/Disassembler:
12446
12447 Updated the disassembler to automatically insert an EndDependentFn()
12448 macro
12449 into the ASL stream if this macro is missing in the original AML code,
12450 simplifying compilation of the resulting ASL module.
12451
12452 Fixed a problem in the disassembler where a disassembled ResourceSource
12453 string (within a large resource descriptor) was not surrounded by quotes
12454 and
12455 not followed by a comma, causing errors when the resulting ASL module was
12456 compiled. Also, escape sequences within a ResourceSource string are now
12457 handled correctly (especially "\\")
12458
12459 ----------------------------------------
12460 02 September 2005. Summary of changes for version 20050902:
12461
12462 1) ACPI CA Core Subsystem:
12463
12464 Fixed a problem with the internal Owner ID allocation and deallocation
12465 mechanisms for control method execution and recursive method invocation.
12466 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
12467 messages seen on some systems. Recursive method invocation depth is
12468 currently limited to 255. (Alexey Starikovskiy)
12469
12470 Completely eliminated all vestiges of support for the "module-level
12471 executable code" until this support is fully implemented and debugged.
12472 This
12473 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
12474 some systems that invoke this support.
12475
12476 Fixed a problem within the resource manager code where the transaction
12477 flags
12478 for a 64-bit address descriptor were handled incorrectly in the type-
12479 specific flag byte.
12480
12481 Consolidated duplicate code within the address descriptor resource
12482 manager
12483 code, reducing overall subsystem code size.
12484
12485 Fixed a fault when using the AML debugger "disassemble" command to
12486 disassemble individual control methods.
12487
12488 Removed references to the "release_current" directory within the Unix
12489 release package.
12490
12491 Code and Data Size: The current and previous core subsystem library sizes
12492 are shown below. These are the code and data sizes for the acpica.lib
12493 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
12494 include any ACPI driver or OSPM code. The debug version of the code
12495 includes
12496 the debug output trace mechanism and has a much larger code and data
12497 size.
12498 Note that these values will vary depending on the efficiency of the
12499 compiler
12500 and the compiler options used during generation.
12501
12502 Previous Release:
12503 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
12504 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
12505 Current Release:
12506 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
12507 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
12508
12509
12510 2) iASL Compiler/Disassembler:
12511
12512 Implemented an error check for illegal duplicate values in the interrupt
12513 and
12514 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
12515 Interrupt().
12516
12517 Implemented error checking for the Irq() and IrqNoFlags() macros to
12518 detect
12519 too many values in the interrupt list (16 max) and invalid values in the
12520 list (range 0 - 15)
12521
12522 The maximum length string literal within an ASL file is now restricted to
12523 200 characters as per the ACPI specification.
12524
12525 Fixed a fault when using the -ln option (generate namespace listing).
12526
12527 Implemented an error check to determine if a DescriptorName within a
12528 resource descriptor has already been used within the current scope.
12529
12530 ----------------------------------------
12531 15 August 2005. Summary of changes for version 20050815:
12532
12533 1) ACPI CA Core Subsystem:
12534
12535 Implemented a full bytewise compare to determine if a table load request
12536 is
12537 attempting to load a duplicate table. The compare is performed if the
12538 table
12539 signatures and table lengths match. This will allow different tables with
12540 the same OEM Table ID and revision to be loaded - probably against the
12541 ACPI
12542 specification, but discovered in the field nonetheless.
12543
12544 Added the changes.txt logfile to each of the zipped release packages.
12545
12546 Code and Data Size: Current and previous core subsystem library sizes are
12547 shown below. These are the code and data sizes for the acpica.lib
12548 produced
12549 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12550 any ACPI driver or OSPM code. The debug version of the code includes the
12551 debug output trace mechanism and has a much larger code and data size.
12552 Note
12553 that these values will vary depending on the efficiency of the compiler
12554 and
12555 the compiler options used during generation.
12556
12557 Previous Release:
12558 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
12559 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
12560 Current Release:
12561 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
12562 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
12563
12564
12565 2) iASL Compiler/Disassembler:
12566
12567 Fixed a problem where incorrect AML code could be generated for Package
12568 objects if optimization is disabled (via the -oa switch).
12569
12570 Fixed a problem with where incorrect AML code is generated for variable-
12571 length packages when the package length is not specified and the number
12572 of
12573 initializer values is greater than 255.
12574
12575
12576 ----------------------------------------
12577 29 July 2005. Summary of changes for version 20050729:
12578
12579 1) ACPI CA Core Subsystem:
12580
12581 Implemented support to ignore an attempt to install/load a particular
12582 ACPI
12583 table more than once. Apparently there exists BIOS code that repeatedly
12584 attempts to load the same SSDT upon certain events. With assistance from
12585 Venkatesh Pallipadi.
12586
12587 Restructured the main interface to the AML parser in order to correctly
12588 handle all exceptional conditions. This will prevent leakage of the
12589 OwnerId
12590 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
12591 some
12592 machines. With assistance from Alexey Starikovskiy.
12593
12594 Support for "module level code" has been disabled in this version due to
12595 a
12596 number of issues that have appeared on various machines. The support can
12597 be
12598 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
12599 compilation. When the issues are fully resolved, the code will be enabled
12600 by
12601 default again.
12602
12603 Modified the internal functions for debug print support to define the
12604 FunctionName parameter as a (const char *) for compatibility with
12605 compiler
12606 built-in macros such as __FUNCTION__, etc.
12607
12608 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
12609
12610 Implemented support to display an object count summary for the AML
12611 Debugger
12612 commands Object and Methods.
12613
12614 Code and Data Size: Current and previous core subsystem library sizes are
12615 shown below. These are the code and data sizes for the acpica.lib
12616 produced
12617 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12618 any ACPI driver or OSPM code. The debug version of the code includes the
12619 debug output trace mechanism and has a much larger code and data size.
12620 Note
12621 that these values will vary depending on the efficiency of the compiler
12622 and
12623 the compiler options used during generation.
12624
12625 Previous Release:
12626 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
12627 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
12628 Current Release:
12629 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
12630 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
12631
12632
12633 2) iASL Compiler/Disassembler:
12634
12635 Fixed a regression that appeared in the 20050708 version of the compiler
12636 where an error message was inadvertently emitted for invocations of the
12637 _OSI
12638 reserved control method.
12639
12640 ----------------------------------------
12641 08 July 2005. Summary of changes for version 20050708:
12642
12643 1) ACPI CA Core Subsystem:
12644
12645 The use of the CPU stack in the debug version of the subsystem has been
12646 considerably reduced. Previously, a debug structure was declared in every
12647 function that used the debug macros. This structure has been removed in
12648 favor of declaring the individual elements as parameters to the debug
12649 functions. This reduces the cumulative stack use during nested execution
12650 of
12651 ACPI function calls at the cost of a small increase in the code size of
12652 the
12653 debug version of the subsystem. With assistance from Alexey Starikovskiy
12654 and
12655 Len Brown.
12656
12657 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
12658 headers to define a macro that will return the current function name at
12659 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
12660 by
12661 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
12662 compiler-dependent header, the function name is saved on the CPU stack
12663 (one
12664 pointer per function.) This mechanism is used because apparently there
12665 exists no standard ANSI-C defined macro that that returns the function
12666 name.
12667
12668 Redesigned and reimplemented the "Owner ID" mechanism used to track
12669 namespace objects created/deleted by ACPI tables and control method
12670 execution. A bitmap is now used to allocate and free the IDs, thus
12671 solving
12672 the wraparound problem present in the previous implementation. The size
12673 of
12674 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
12675 Starikovskiy).
12676
12677 Removed the UINT32_BIT and UINT16_BIT types that were used for the
12678 bitfield
12679 flag definitions within the headers for the predefined ACPI tables. These
12680 have been replaced by UINT8_BIT in order to increase the code portability
12681 of
12682 the subsystem. If the use of UINT8 remains a problem, we may be forced to
12683 eliminate bitfields entirely because of a lack of portability.
12684
12685 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
12686 This
12687 is a frequently used function and this improvement increases the
12688 performance
12689 of the entire subsystem (Alexey Starikovskiy).
12690
12691 Fixed several possible memory leaks and the inverse - premature object
12692 deletion (Alexey Starikovskiy).
12693
12694 Code and Data Size: Current and previous core subsystem library sizes are
12695 shown below. These are the code and data sizes for the acpica.lib
12696 produced
12697 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12698 any ACPI driver or OSPM code. The debug version of the code includes the
12699 debug output trace mechanism and has a much larger code and data size.
12700 Note
12701 that these values will vary depending on the efficiency of the compiler
12702 and
12703 the compiler options used during generation.
12704
12705 Previous Release:
12706 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
12707 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
12708 Current Release:
12709 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
12710 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
12711
12712 ----------------------------------------
12713 24 June 2005. Summary of changes for version 20050624:
12714
12715 1) ACPI CA Core Subsystem:
12716
12717 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
12718 the host-defined cache object. This allows the OSL implementation to
12719 define
12720 and type this object in any manner desired, simplifying the OSL
12721 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
12722 Linux, and should be defined in the OS-specific header file for other
12723 operating systems as required.
12724
12725 Changed the interface to AcpiOsAcquireObject to directly return the
12726 requested object as the function return (instead of ACPI_STATUS.) This
12727 change was made for performance reasons, since this is the purpose of the
12728 interface in the first place. AcpiOsAcquireObject is now similar to the
12729 AcpiOsAllocate interface.
12730
12731 Implemented a new AML debugger command named Businfo. This command
12732 displays
12733 information about all devices that have an associate _PRT object. The
12734 _ADR,
12735 _HID, _UID, and _CID are displayed for these devices.
12736
12737 Modified the initialization sequence in AcpiInitializeSubsystem to call
12738 the
12739 OSL interface AcpiOslInitialize first, before any local initialization.
12740 This
12741 change was required because the global initialization now calls OSL
12742 interfaces.
12743
12744 Enhanced the Dump command to display the entire contents of Package
12745 objects
12746 (including all sub-objects and their values.)
12747
12748 Restructured the code base to split some files because of size and/or
12749 because the code logically belonged in a separate file. New files are
12750 listed
12751 below. All makefiles and project files included in the ACPI CA release
12752 have
12753 been updated.
12754 utilities/utcache.c /* Local cache interfaces */
12755 utilities/utmutex.c /* Local mutex support */
12756 utilities/utstate.c /* State object support */
12757 interpreter/parser/psloop.c /* Main AML parse loop */
12758
12759 Code and Data Size: Current and previous core subsystem library sizes are
12760 shown below. These are the code and data sizes for the acpica.lib
12761 produced
12762 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12763 any ACPI driver or OSPM code. The debug version of the code includes the
12764 debug output trace mechanism and has a much larger code and data size.
12765 Note
12766 that these values will vary depending on the efficiency of the compiler
12767 and
12768 the compiler options used during generation.
12769
12770 Previous Release:
12771 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
12772 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
12773 Current Release:
12774 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
12775 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
12776
12777
12778 2) iASL Compiler/Disassembler:
12779
12780 Fixed a regression introduced in version 20050513 where the use of a
12781 Package
12782 object within a Case() statement caused a compile time exception. The
12783 original behavior has been restored (a Match() operator is emitted.)
12784
12785 ----------------------------------------
12786 17 June 2005. Summary of changes for version 20050617:
12787
12788 1) ACPI CA Core Subsystem:
12789
12790 Moved the object cache operations into the OS interface layer (OSL) to
12791 allow
12792 the host OS to handle these operations if desired (for example, the Linux
12793 OSL will invoke the slab allocator). This support is optional; the
12794 compile
12795 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
12796 cache
12797 code in the ACPI CA core. The new OSL interfaces are shown below. See
12798 utalloc.c for an example implementation, and acpiosxf.h for the exact
12799 interface definitions. With assistance from Alexey Starikovskiy.
12800 AcpiOsCreateCache
12801 AcpiOsDeleteCache
12802 AcpiOsPurgeCache
12803 AcpiOsAcquireObject
12804 AcpiOsReleaseObject
12805
12806 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
12807 return
12808 and restore a flags parameter. This fits better with many OS lock models.
12809 Note: the current execution state (interrupt handler or not) is no longer
12810 passed to these interfaces. If necessary, the OSL must determine this
12811 state
12812 by itself, a simple and fast operation. With assistance from Alexey
12813 Starikovskiy.
12814
12815 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
12816 present if the revision of the RSDP was 2 or greater. According to the
12817 ACPI
12818 specification, the XSDT is optional in all cases, and the table manager
12819 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
12820 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
12821 contain
12822 only the RSDT.
12823
12824 Fixed an interpreter problem with the Mid() operator in the case of an
12825 input
12826 string where the resulting output string is of zero length. It now
12827 correctly
12828 returns a valid, null terminated string object instead of a string object
12829 with a null pointer.
12830
12831 Fixed a problem with the control method argument handling to allow a
12832 store
12833 to an Arg object that already contains an object of type Device. The
12834 Device
12835 object is now correctly overwritten. Previously, an error was returned.
12836
12837
12838 Enhanced the debugger Find command to emit object values in addition to
12839 the
12840 found object pathnames. The output format is the same as the dump
12841 namespace
12842 command.
12843
12844 Enhanced the debugger Set command. It now has the ability to set the
12845 value
12846 of any Named integer object in the namespace (Previously, only method
12847 locals
12848 and args could be set.)
12849
12850 Code and Data Size: Current and previous core subsystem library sizes are
12851 shown below. These are the code and data sizes for the acpica.lib
12852 produced
12853 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12854 any ACPI driver or OSPM code. The debug version of the code includes the
12855 debug output trace mechanism and has a much larger code and data size.
12856 Note
12857 that these values will vary depending on the efficiency of the compiler
12858 and
12859 the compiler options used during generation.
12860
12861 Previous Release:
12862 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
12863 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
12864 Current Release:
12865 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
12866 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
12867
12868
12869 2) iASL Compiler/Disassembler:
12870
12871 Fixed a regression in the disassembler where if/else/while constructs
12872 were
12873 output incorrectly. This problem was introduced in the previous release
12874 (20050526). This problem also affected the single-step disassembly in the
12875 debugger.
12876
12877 Fixed a problem where compiling the reserved _OSI method would randomly
12878 (but
12879 rarely) produce compile errors.
12880
12881 Enhanced the disassembler to emit compilable code in the face of
12882 incorrect
12883 AML resource descriptors. If the optional ResourceSourceIndex is present,
12884 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
12885 disassembly. Otherwise, the resulting code cannot be compiled without
12886 errors.
12887
12888 ----------------------------------------
12889 26 May 2005. Summary of changes for version 20050526:
12890
12891 1) ACPI CA Core Subsystem:
12892
12893 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
12894 the module level (not within a control method.) These opcodes are
12895 executed
12896 exactly once at the time the table is loaded. This type of code was legal
12897 up
12898 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
12899 in
12900 order to provide backwards compatibility with earlier BIOS
12901 implementations.
12902 This eliminates the "Encountered executable code at module level" warning
12903 that was previously generated upon detection of such code.
12904
12905 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
12906 inadvertently be generated during the lookup of namespace objects in the
12907 second pass parse of ACPI tables and control methods. It appears that
12908 this
12909 problem could occur during the resolution of forward references to
12910 namespace
12911 objects.
12912
12913 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
12914 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
12915 allows the deadlock detection debug code to be compiled out in the normal
12916 case, improving mutex performance (and overall subsystem performance)
12917 considerably.
12918
12919 Implemented a handful of miscellaneous fixes for possible memory leaks on
12920 error conditions and error handling control paths. These fixes were
12921 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
12922
12923 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
12924 (tbxfroot.c)
12925 to prevent a fault in this error case.
12926
12927 Code and Data Size: Current and previous core subsystem library sizes are
12928 shown below. These are the code and data sizes for the acpica.lib
12929 produced
12930 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12931 any ACPI driver or OSPM code. The debug version of the code includes the
12932 debug output trace mechanism and has a much larger code and data size.
12933 Note
12934 that these values will vary depending on the efficiency of the compiler
12935 and
12936 the compiler options used during generation.
12937
12938 Previous Release:
12939 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
12940 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
12941 Current Release:
12942 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
12943 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
12944
12945
12946 2) iASL Compiler/Disassembler:
12947
12948 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
12949 the module level (not within a control method.) These operators will be
12950 executed once at the time the table is loaded. This type of code was
12951 legal
12952 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
12953 compiler in order to provide backwards compatibility with earlier BIOS
12954 ASL
12955 code.
12956
12957 The ACPI integer width (specified via the table revision ID or the -r
12958 override, 32 or 64 bits) is now used internally during compile-time
12959 constant
12960 folding to ensure that constants are truncated to 32 bits if necessary.
12961 Previously, the revision ID value was only emitted in the AML table
12962 header.
12963
12964 An error message is now generated for the Mutex and Method operators if
12965 the
12966 SyncLevel parameter is outside the legal range of 0 through 15.
12967
12968 Fixed a problem with the Method operator ParameterTypes list handling
12969 (ACPI
12970 3.0). Previously, more than 2 types or 2 arguments generated a syntax
12971 error.
12972 The actual underlying implementation of method argument typechecking is
12973 still under development, however.
12974
12975 ----------------------------------------
12976 13 May 2005. Summary of changes for version 20050513:
12977
12978 1) ACPI CA Core Subsystem:
12979
12980 Implemented support for PCI Express root bridges -- added support for
12981 device
12982 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
12983
12984 The interpreter now automatically truncates incoming 64-bit constants to
12985 32
12986 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
12987 This
12988 also affects the iASL compiler constant folding. (Note: as per below, the
12989 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
12990
12991 Fixed a problem where string and buffer objects with "static" pointers
12992 (pointers to initialization data within an ACPI table) were not handled
12993 consistently. The internal object copy operation now always copies the
12994 data
12995 to a newly allocated buffer, regardless of whether the source object is
12996 static or not.
12997
12998 Fixed a problem with the FromBCD operator where an implicit result
12999 conversion was improperly performed while storing the result to the
13000 target
13001 operand. Since this is an "explicit conversion" operator, the implicit
13002 conversion should never be performed on the output.
13003
13004 Fixed a problem with the CopyObject operator where a copy to an existing
13005 named object did not always completely overwrite the existing object
13006 stored
13007 at name. Specifically, a buffer-to-buffer copy did not delete the
13008 existing
13009 buffer.
13010
13011 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
13012 and
13013 structs for consistency.
13014
13015 Code and Data Size: Current and previous core subsystem library sizes are
13016 shown below. These are the code and data sizes for the acpica.lib
13017 produced
13018 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13019 any ACPI driver or OSPM code. The debug version of the code includes the
13020 debug output trace mechanism and has a much larger code and data size.
13021 Note
13022 that these values will vary depending on the efficiency of the compiler
13023 and
13024 the compiler options used during generation.
13025
13026 Previous Release:
13027 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
13028 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
13029 Current Release: (Same sizes)
13030 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
13031 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
13032
13033
13034 2) iASL Compiler/Disassembler:
13035
13036 The compiler now emits a warning if an attempt is made to generate a 64-
13037 bit
13038 integer constant from within a 32-bit ACPI table (Revision < 2). The
13039 integer
13040 is truncated to 32 bits.
13041
13042 Fixed a problem with large package objects: if the static length of the
13043 package is greater than 255, the "variable length package" opcode is
13044 emitted. Previously, this caused an error. This requires an update to the
13045 ACPI spec, since it currently (incorrectly) states that packages larger
13046 than
13047 255 elements are not allowed.
13048
13049 The disassembler now correctly handles variable length packages and
13050 packages
13051 larger than 255 elements.
13052
13053 ----------------------------------------
13054 08 April 2005. Summary of changes for version 20050408:
13055
13056 1) ACPI CA Core Subsystem:
13057
13058 Fixed three cases in the interpreter where an "index" argument to an ASL
13059 function was still (internally) 32 bits instead of the required 64 bits.
13060 This was the Index argument to the Index, Mid, and Match operators.
13061
13062 The "strupr" function is now permanently local (AcpiUtStrupr), since this
13063 is
13064 not a POSIX-defined function and not present in most kernel-level C
13065 libraries. All references to the C library strupr function have been
13066 removed
13067 from the headers.
13068
13069 Completed the deployment of static functions/prototypes. All prototypes
13070 with
13071 the static attribute have been moved from the headers to the owning C
13072 file.
13073
13074 Implemented an extract option (-e) for the AcpiBin utility (AML binary
13075 utility). This option allows the utility to extract individual ACPI
13076 tables
13077 from the output of AcpiDmp. It provides the same functionality of the
13078 acpixtract.pl perl script without the worry of setting the correct perl
13079 options. AcpiBin runs on Windows and has not yet been generated/validated
13080 in
13081 the Linux/Unix environment (but should be soon).
13082
13083 Updated and fixed the table dump option for AcpiBin (-d). This option
13084 converts a single ACPI table to a hex/ascii file, similar to the output
13085 of
13086 AcpiDmp.
13087
13088 Code and Data Size: Current and previous core subsystem library sizes are
13089 shown below. These are the code and data sizes for the acpica.lib
13090 produced
13091 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13092 any ACPI driver or OSPM code. The debug version of the code includes the
13093 debug output trace mechanism and has a much larger code and data size.
13094 Note
13095 that these values will vary depending on the efficiency of the compiler
13096 and
13097 the compiler options used during generation.
13098
13099 Previous Release:
13100 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
13101 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
13102 Current Release:
13103 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
13104 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
13105
13106
13107 2) iASL Compiler/Disassembler:
13108
13109 Disassembler fix: Added a check to ensure that the table length found in
13110 the
13111 ACPI table header within the input file is not longer than the actual
13112 input
13113 file size. This indicates some kind of file or table corruption.
13114
13115 ----------------------------------------
13116 29 March 2005. Summary of changes for version 20050329:
13117
13118 1) ACPI CA Core Subsystem:
13119
13120 An error is now generated if an attempt is made to create a Buffer Field
13121 of
13122 length zero (A CreateField with a length operand of zero.)
13123
13124 The interpreter now issues a warning whenever executable code at the
13125 module
13126 level is detected during ACPI table load. This will give some idea of the
13127 prevalence of this type of code.
13128
13129 Implemented support for references to named objects (other than control
13130 methods) within package objects.
13131
13132 Enhanced package object output for the debug object. Package objects are
13133 now
13134 completely dumped, showing all elements.
13135
13136 Enhanced miscellaneous object output for the debug object. Any object can
13137 now be written to the debug object (for example, a device object can be
13138 written, and the type of the object will be displayed.)
13139
13140 The "static" qualifier has been added to all local functions across both
13141 the
13142 core subsystem and the iASL compiler.
13143
13144 The number of "long" lines (> 80 chars) within the source has been
13145 significantly reduced, by about 1/3.
13146
13147 Cleaned up all header files to ensure that all CA/iASL functions are
13148 prototyped (even static functions) and the formatting is consistent.
13149
13150 Two new header files have been added, acopcode.h and acnames.h.
13151
13152 Removed several obsolete functions that were no longer used.
13153
13154 Code and Data Size: Current and previous core subsystem library sizes are
13155 shown below. These are the code and data sizes for the acpica.lib
13156 produced
13157 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13158 any ACPI driver or OSPM code. The debug version of the code includes the
13159 debug output trace mechanism and has a much larger code and data size.
13160 Note
13161 that these values will vary depending on the efficiency of the compiler
13162 and
13163 the compiler options used during generation.
13164
13165 Previous Release:
13166 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13167 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
13168 Current Release:
13169 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
13170 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
13171
13172
13173
13174 2) iASL Compiler/Disassembler:
13175
13176 Fixed a problem with the resource descriptor generation/support. For the
13177 ResourceSourceIndex and the ResourceSource fields, both must be present,
13178 or
13179 both must be not present - can't have one without the other.
13180
13181 The compiler now returns non-zero from the main procedure if any errors
13182 have
13183 occurred during the compilation.
13184
13185
13186 ----------------------------------------
13187 09 March 2005. Summary of changes for version 20050309:
13188
13189 1) ACPI CA Core Subsystem:
13190
13191 The string-to-buffer implicit conversion code has been modified again
13192 after
13193 a change to the ACPI specification. In order to match the behavior of
13194 the
13195 other major ACPI implementation, the target buffer is no longer truncated
13196 if
13197 the source string is smaller than an existing target buffer. This change
13198 requires an update to the ACPI spec, and should eliminate the recent
13199 AE_AML_BUFFER_LIMIT issues.
13200
13201 The "implicit return" support was rewritten to a new algorithm that
13202 solves
13203 the general case. Rather than attempt to determine when a method is about
13204 to
13205 exit, the result of every ASL operator is saved momentarily until the
13206 very
13207 next ASL operator is executed. Therefore, no matter how the method exits,
13208 there will always be a saved implicit return value. This feature is only
13209 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
13210 eliminate
13211 AE_AML_NO_RETURN_VALUE errors when enabled.
13212
13213 Implemented implicit conversion support for the predicate (operand) of
13214 the
13215 If, Else, and While operators. String and Buffer arguments are
13216 automatically
13217 converted to Integers.
13218
13219 Changed the string-to-integer conversion behavior to match the new ACPI
13220 errata: "If no integer object exists, a new integer is created. The ASCII
13221 string is interpreted as a hexadecimal constant. Each string character is
13222 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
13223 with the first character as the most significant digit, and ending with
13224 the
13225 first non-hexadecimal character or end-of-string." This means that the
13226 first
13227 non-hex character terminates the conversion and this is the code that was
13228 changed.
13229
13230 Fixed a problem where the ObjectType operator would fail (fault) when
13231 used
13232 on an Index of a Package which pointed to a null package element. The
13233 operator now properly returns zero (Uninitialized) in this case.
13234
13235 Fixed a problem where the While operator used excessive memory by not
13236 properly popping the result stack during execution. There was no memory
13237 leak
13238 after execution, however. (Code provided by Valery Podrezov.)
13239
13240 Fixed a problem where references to control methods within Package
13241 objects
13242 caused the method to be invoked, instead of producing a reference object
13243 pointing to the method.
13244
13245 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
13246 to
13247 improve performance and reduce code size. (Code provided by Alexey
13248 Starikovskiy.)
13249
13250 Code and Data Size: Current and previous core subsystem library sizes are
13251 shown below. These are the code and data sizes for the acpica.lib
13252 produced
13253 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13254 any ACPI driver or OSPM code. The debug version of the code includes the
13255 debug output trace mechanism and has a much larger code and data size.
13256 Note
13257 that these values will vary depending on the efficiency of the compiler
13258 and
13259 the compiler options used during generation.
13260
13261 Previous Release:
13262 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13263 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
13264 Current Release:
13265 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13266 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
13267
13268
13269 2) iASL Compiler/Disassembler:
13270
13271 Fixed a problem with the Return operator with no arguments. Since the AML
13272 grammar for the byte encoding requires an operand for the Return opcode,
13273 the
13274 compiler now emits a Return(Zero) for this case. An ACPI specification
13275 update has been written for this case.
13276
13277 For tables other than the DSDT, namepath optimization is automatically
13278 disabled. This is because SSDTs can be loaded anywhere in the namespace,
13279 the
13280 compiler has no knowledge of where, and thus cannot optimize namepaths.
13281
13282 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
13283 inadvertently omitted from the ACPI specification, and will require an
13284 update to the spec.
13285
13286 The source file scan for ASCII characters is now optional (-a). This
13287 change
13288 was made because some vendors place non-ascii characters within comments.
13289 However, the scan is simply a brute-force byte compare to ensure all
13290 characters in the file are in the range 0x00 to 0x7F.
13291
13292 Fixed a problem with the CondRefOf operator where the compiler was
13293 inappropriately checking for the existence of the target. Since the point
13294 of
13295 the operator is to check for the existence of the target at run-time, the
13296 compiler no longer checks for the target existence.
13297
13298 Fixed a problem where errors generated from the internal AML interpreter
13299 during constant folding were not handled properly, causing a fault.
13300
13301 Fixed a problem with overly aggressive range checking for the Stall
13302 operator. The valid range (max 255) is now only checked if the operand is
13303 of
13304 type Integer. All other operand types cannot be statically checked.
13305
13306 Fixed a problem where control method references within the RefOf,
13307 DeRefOf,
13308 and ObjectType operators were not treated properly. They are now treated
13309 as
13310 actual references, not method invocations.
13311
13312 Fixed and enhanced the "list namespace" option (-ln). This option was
13313 broken
13314 a number of releases ago.
13315
13316 Improved error handling for the Field, IndexField, and BankField
13317 operators.
13318 The compiler now cleanly reports and recovers from errors in the field
13319 component (FieldUnit) list.
13320
13321 Fixed a disassembler problem where the optional ResourceDescriptor fields
13322 TRS and TTP were not always handled correctly.
13323
13324 Disassembler - Comments in output now use "//" instead of "/*"
13325
13326 ----------------------------------------
13327 28 February 2005. Summary of changes for version 20050228:
13328
13329 1) ACPI CA Core Subsystem:
13330
13331 Fixed a problem where the result of an Index() operator (an object
13332 reference) must increment the reference count on the target object for
13333 the
13334 life of the object reference.
13335
13336 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
13337 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
13338 WordSpace
13339 resource descriptors.
13340
13341 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
13342 Space Descriptor" string, indicating interpreter support for the
13343 descriptors
13344 above.
13345
13346 Implemented header support for the new ACPI 3.0 FADT flag bits.
13347
13348 Implemented header support for the new ACPI 3.0 PCI Express bits for the
13349 PM1
13350 status/enable registers.
13351
13352 Updated header support for the MADT processor local Apic struct and MADT
13353 platform interrupt source struct for new ACPI 3.0 fields.
13354
13355 Implemented header support for the SRAT and SLIT ACPI tables.
13356
13357 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
13358 flag
13359 at runtime.
13360
13361 Code and Data Size: Current and previous core subsystem library sizes are
13362 shown below. These are the code and data sizes for the acpica.lib
13363 produced
13364 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13365 any ACPI driver or OSPM code. The debug version of the code includes the
13366 debug output trace mechanism and has a much larger code and data size.
13367 Note
13368 that these values will vary depending on the efficiency of the compiler
13369 and
13370 the compiler options used during generation.
13371
13372 Previous Release:
13373 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
13374 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
13375 Current Release:
13376 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13377 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
13378
13379
13380 2) iASL Compiler/Disassembler:
13381
13382 Fixed a problem with the internal 64-bit String-to-integer conversion
13383 with
13384 strings less than two characters long.
13385
13386 Fixed a problem with constant folding where the result of the Index()
13387 operator can not be considered a constant. This means that Index() cannot
13388 be
13389 a type3 opcode and this will require an update to the ACPI specification.
13390
13391 Disassembler: Implemented support for the TTP, MTP, and TRS resource
13392 descriptor fields. These fields were inadvertently ignored and not output
13393 in
13394 the disassembly of the resource descriptor.
13395
13396
13397 ----------------------------------------
13398 11 February 2005. Summary of changes for version 20050211:
13399
13400 1) ACPI CA Core Subsystem:
13401
13402 Implemented ACPI 3.0 support for implicit conversion within the Match()
13403 operator. MatchObjects can now be of type integer, buffer, or string
13404 instead
13405 of just type integer. Package elements are implicitly converted to the
13406 type
13407 of the MatchObject. This change aligns the behavior of Match() with the
13408 behavior of the other logical operators (LLess(), etc.) It also requires
13409 an
13410 errata change to the ACPI specification as this support was intended for
13411 ACPI 3.0, but was inadvertently omitted.
13412
13413 Fixed a problem with the internal implicit "to buffer" conversion.
13414 Strings
13415 that are converted to buffers will cause buffer truncation if the string
13416 is
13417 smaller than the target buffer. Integers that are converted to buffers
13418 will
13419 not cause buffer truncation, only zero extension (both as per the ACPI
13420 spec.) The problem was introduced when code was added to truncate the
13421 buffer, but this should not be performed in all cases, only the string
13422 case.
13423
13424 Fixed a problem with the Buffer and Package operators where the
13425 interpreter
13426 would get confused if two such operators were used as operands to an ASL
13427 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
13428 stack was not being popped after the execution of these operators,
13429 resulting
13430 in an AE_NO_RETURN_VALUE exception.
13431
13432 Fixed a problem with constructs of the form Store(Index(...),...). The
13433 reference object returned from Index was inadvertently resolved to an
13434 actual
13435 value. This problem was introduced in version 20050114 when the behavior
13436 of
13437 Store() was modified to restrict the object types that can be used as the
13438 source operand (to match the ACPI specification.)
13439
13440 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
13441
13442 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
13443
13444 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
13445
13446 Code and Data Size: Current and previous core subsystem library sizes are
13447 shown below. These are the code and data sizes for the acpica.lib
13448 produced
13449 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13450 any ACPI driver or OSPM code. The debug version of the code includes the
13451 debug output trace mechanism and has a much larger code and data size.
13452 Note
13453 that these values will vary depending on the efficiency of the compiler
13454 and
13455 the compiler options used during generation.
13456
13457 Previous Release:
13458 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
13459 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
13460 Current Release:
13461 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
13462 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
13463
13464
13465 2) iASL Compiler/Disassembler:
13466
13467 Fixed a code generation problem in the constant folding optimization code
13468 where incorrect code was generated if a constant was reduced to a buffer
13469 object (i.e., a reduced type 5 opcode.)
13470
13471 Fixed a typechecking problem for the ToBuffer operator. Caused by an
13472 incorrect return type in the internal opcode information table.
13473
13474 ----------------------------------------
13475 25 January 2005. Summary of changes for version 20050125:
13476
13477 1) ACPI CA Core Subsystem:
13478
13479 Fixed a recently introduced problem with the Global Lock where the
13480 underlying semaphore was not created. This problem was introduced in
13481 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
13482 Acquire() operation on _GL.
13483
13484 The local object cache is now optional, and is disabled by default. Both
13485 AcpiExec and the iASL compiler enable the cache because they run in user
13486 mode and this enhances their performance. #define
13487 ACPI_ENABLE_OBJECT_CACHE
13488 to enable the local cache.
13489
13490 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
13491 the
13492 optional "implicit return" support where an error was returned if no
13493 return
13494 object was expected, but one was implicitly returned. AE_OK is now
13495 returned
13496 in this case and the implicitly returned object is deleted.
13497 AcpiUtEvaluateObject is only occasionally used, and only to execute
13498 reserved
13499 methods such as _STA and _INI where the return type is known up front.
13500
13501 Fixed a few issues with the internal convert-to-integer code. It now
13502 returns
13503 an error if an attempt is made to convert a null string, a string of only
13504 blanks/tabs, or a zero-length buffer. This affects both implicit
13505 conversion
13506 and explicit conversion via the ToInteger() operator.
13507
13508 The internal debug code in AcpiUtAcquireMutex has been commented out. It
13509 is
13510 not needed for normal operation and should increase the performance of
13511 the
13512 entire subsystem. The code remains in case it is needed for debug
13513 purposes
13514 again.
13515
13516 The AcpiExec source and makefile are included in the Unix/Linux package
13517 for
13518 the first time.
13519
13520 Code and Data Size: Current and previous core subsystem library sizes are
13521 shown below. These are the code and data sizes for the acpica.lib
13522 produced
13523 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13524 any ACPI driver or OSPM code. The debug version of the code includes the
13525 debug output trace mechanism and has a much larger code and data size.
13526 Note
13527 that these values will vary depending on the efficiency of the compiler
13528 and
13529 the compiler options used during generation.
13530
13531 Previous Release:
13532 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
13533 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
13534 Current Release:
13535 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
13536 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
13537
13538 2) iASL Compiler/Disassembler:
13539
13540 Switch/Case support: A warning is now issued if the type of the Switch
13541 value
13542 cannot be determined at compile time. For example, Switch(Arg0) will
13543 generate the warning, and the type is assumed to be an integer. As per
13544 the
13545 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
13546 the
13547 warning.
13548
13549 Switch/Case support: Implemented support for buffer and string objects as
13550 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
13551 buffers and strings.
13552
13553 Switch/Case support: The emitted code for the LEqual() comparisons now
13554 uses
13555 the switch value as the first operand, not the second. The case value is
13556 now
13557 the second operand, and this allows the case value to be implicitly
13558 converted to the type of the switch value, not the other way around.
13559
13560 Switch/Case support: Temporary variables are now emitted immediately
13561 within
13562 the control method, not at the global level. This means that there are
13563 now
13564 36 temps available per-method, not 36 temps per-module as was the case
13565 with
13566 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
13567
13568 ----------------------------------------
13569 14 January 2005. Summary of changes for version 20050114:
13570
13571 Added 2005 copyright to all module headers. This affects every module in
13572 the core subsystem, iASL compiler, and the utilities.
13573
13574 1) ACPI CA Core Subsystem:
13575
13576 Fixed an issue with the String-to-Buffer conversion code where the string
13577 null terminator was not included in the buffer after conversion, but
13578 there
13579 is existing ASL that assumes the string null terminator is included. This
13580 is
13581 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
13582 introduced in the previous version when the code was updated to correctly
13583 set the converted buffer size as per the ACPI specification. The ACPI
13584 spec
13585 is ambiguous and will be updated to specify that the null terminator must
13586 be
13587 included in the converted buffer. This also affects the ToBuffer() ASL
13588 operator.
13589
13590 Fixed a problem with the Mid() ASL/AML operator where it did not work
13591 correctly on Buffer objects. Newly created sub-buffers were not being
13592 marked
13593 as initialized.
13594
13595
13596 Fixed a problem in AcpiTbFindTable where incorrect string compares were
13597 performed on the OemId and OemTableId table header fields. These fields
13598 are
13599 not null terminated, so strncmp is now used instead of strcmp.
13600
13601 Implemented a restriction on the Store() ASL/AML operator to align the
13602 behavior with the ACPI specification. Previously, any object could be
13603 used
13604 as the source operand. Now, the only objects that may be used are
13605 Integers,
13606 Buffers, Strings, Packages, Object References, and DDB Handles. If
13607 necessary, the original behavior can be restored by enabling the
13608 EnableInterpreterSlack flag.
13609
13610 Enhanced the optional "implicit return" support to allow an implicit
13611 return
13612 value from methods that are invoked externally via the AcpiEvaluateObject
13613 interface. This enables implicit returns from the _STA and _INI methods,
13614 for example.
13615
13616 Changed the Revision() ASL/AML operator to return the current version of
13617 the
13618 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
13619 returned
13620 the supported ACPI version (This is the function of the _REV method).
13621
13622 Updated the _REV predefined method to return the currently supported
13623 version
13624 of ACPI, now 3.
13625
13626 Implemented batch mode option for the AcpiExec utility (-b).
13627
13628 Code and Data Size: Current and previous core subsystem library sizes are
13629 shown below. These are the code and data sizes for the acpica.lib
13630 produced
13631 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13632 any ACPI driver or OSPM code. The debug version of the code includes the
13633 debug output trace mechanism and has a much larger code and data size.
13634 Note
13635 that these values will vary depending on the efficiency of the compiler
13636 and
13637 the compiler options used during generation.
13638
13639 Previous Release:
13640 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13641 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
13642 Current Release:
13643 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
13644 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
13645
13646 ----------------------------------------
13647 10 December 2004. Summary of changes for version 20041210:
13648
13649 ACPI 3.0 support is nearing completion in both the iASL compiler and the
13650 ACPI CA core subsystem.
13651
13652 1) ACPI CA Core Subsystem:
13653
13654 Fixed a problem in the ToDecimalString operator where the resulting
13655 string
13656 length was incorrectly calculated. The length is now calculated exactly,
13657 eliminating incorrect AE_STRING_LIMIT exceptions.
13658
13659 Fixed a problem in the ToHexString operator to allow a maximum 200
13660 character
13661 string to be produced.
13662
13663 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
13664 copy
13665 routine where the length of the resulting buffer was not truncated to the
13666 new size (if the target buffer already existed).
13667
13668 Code and Data Size: Current and previous core subsystem library sizes are
13669 shown below. These are the code and data sizes for the acpica.lib
13670 produced
13671 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13672 any ACPI driver or OSPM code. The debug version of the code includes the
13673 debug output trace mechanism and has a much larger code and data size.
13674 Note
13675 that these values will vary depending on the efficiency of the compiler
13676 and
13677 the compiler options used during generation.
13678
13679 Previous Release:
13680 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13681 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
13682 Current Release:
13683 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13684 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
13685
13686
13687 2) iASL Compiler/Disassembler:
13688
13689 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
13690 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
13691 Includes support in the disassembler.
13692
13693 Implemented support for the new (ACPI 3.0) parameter to the Register
13694 macro,
13695 AccessSize.
13696
13697 Fixed a problem where the _HE resource name for the Interrupt macro was
13698 referencing bit 0 instead of bit 1.
13699
13700 Implemented check for maximum 255 interrupts in the Interrupt macro.
13701
13702 Fixed a problem with the predefined resource descriptor names where
13703 incorrect AML code was generated if the offset within the resource buffer
13704 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
13705 but did not update the surrounding package lengths.
13706
13707 Changes to the Dma macro: All channels within the channel list must be
13708 in
13709 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
13710 optional (default is BusMaster).
13711
13712 Implemented check for maximum 7 data bytes for the VendorShort macro.
13713
13714 The ReadWrite parameter is now optional for the Memory32 and similar
13715 macros.
13716
13717 ----------------------------------------
13718 03 December 2004. Summary of changes for version 20041203:
13719
13720 1) ACPI CA Core Subsystem:
13721
13722 The low-level field insertion/extraction code (exfldio) has been
13723 completely
13724 rewritten to eliminate unnecessary complexity, bugs, and boundary
13725 conditions.
13726
13727 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
13728 ToDecimalString
13729 operators where the input operand could be inadvertently deleted if no
13730 conversion was necessary (e.g., if the input to ToInteger was an Integer
13731 object.)
13732
13733 Fixed a problem with the ToDecimalString and ToHexString where an
13734 incorrect
13735 exception code was returned if the resulting string would be > 200 chars.
13736 AE_STRING_LIMIT is now returned.
13737
13738 Fixed a problem with the Concatenate operator where AE_OK was always
13739 returned, even if the operation failed.
13740
13741 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
13742 semaphores to be allocated.
13743
13744 Code and Data Size: Current and previous core subsystem library sizes are
13745 shown below. These are the code and data sizes for the acpica.lib
13746 produced
13747 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13748 any ACPI driver or OSPM code. The debug version of the code includes the
13749 debug output trace mechanism and has a much larger code and data size.
13750 Note
13751 that these values will vary depending on the efficiency of the compiler
13752 and
13753 the compiler options used during generation.
13754
13755 Previous Release:
13756 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13757 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13758 Current Release:
13759 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13760 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
13761
13762
13763 2) iASL Compiler/Disassembler:
13764
13765 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
13766 recently introduced in 20041119.
13767
13768 Fixed a problem with the ToUUID macro where the upper nybble of each
13769 buffer
13770 byte was inadvertently set to zero.
13771
13772 ----------------------------------------
13773 19 November 2004. Summary of changes for version 20041119:
13774
13775 1) ACPI CA Core Subsystem:
13776
13777 Fixed a problem in the internal ConvertToInteger routine where new
13778 integers
13779 were not truncated to 32 bits for 32-bit ACPI tables. This routine
13780 converts
13781 buffers and strings to integers.
13782
13783 Implemented support to store a value to an Index() on a String object.
13784 This
13785 is an ACPI 2.0 feature that had not yet been implemented.
13786
13787 Implemented new behavior for storing objects to individual package
13788 elements
13789 (via the Index() operator). The previous behavior was to invoke the
13790 implicit
13791 conversion rules if an object was already present at the index. The new
13792 behavior is to simply delete any existing object and directly store the
13793 new
13794 object. Although the ACPI specification seems unclear on this subject,
13795 other
13796 ACPI implementations behave in this manner. (This is the root of the
13797 AE_BAD_HEX_CONSTANT issue.)
13798
13799 Modified the RSDP memory scan mechanism to support the extended checksum
13800 for
13801 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
13802 RSDP signature is found with a valid checksum.
13803
13804 Code and Data Size: Current and previous core subsystem library sizes are
13805 shown below. These are the code and data sizes for the acpica.lib
13806 produced
13807 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13808 any ACPI driver or OSPM code. The debug version of the code includes the
13809 debug output trace mechanism and has a much larger code and data size.
13810 Note
13811 that these values will vary depending on the efficiency of the compiler
13812 and
13813 the compiler options used during generation.
13814
13815 Previous Release:
13816 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13817 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13818 Current Release:
13819 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13820 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13821
13822
13823 2) iASL Compiler/Disassembler:
13824
13825 Fixed a missing semicolon in the aslcompiler.y file.
13826
13827 ----------------------------------------
13828 05 November 2004. Summary of changes for version 20041105:
13829
13830 1) ACPI CA Core Subsystem:
13831
13832 Implemented support for FADT revision 2. This was an interim table
13833 (between
13834 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
13835
13836 Implemented optional support to allow uninitialized LocalX and ArgX
13837 variables in a control method. The variables are initialized to an
13838 Integer
13839 object with a value of zero. This support is enabled by setting the
13840 AcpiGbl_EnableInterpreterSlack flag to TRUE.
13841
13842 Implemented support for Integer objects for the SizeOf operator. Either
13843 4
13844 or 8 is returned, depending on the current integer size (32-bit or 64-
13845 bit,
13846 depending on the parent table revision).
13847
13848 Fixed a problem in the implementation of the SizeOf and ObjectType
13849 operators
13850 where the operand was resolved to a value too early, causing incorrect
13851 return values for some objects.
13852
13853 Fixed some possible memory leaks during exceptional conditions.
13854
13855 Code and Data Size: Current and previous core subsystem library sizes are
13856 shown below. These are the code and data sizes for the acpica.lib
13857 produced
13858 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13859 any ACPI driver or OSPM code. The debug version of the code includes the
13860 debug output trace mechanism and has a much larger code and data size.
13861 Note
13862 that these values will vary depending on the efficiency of the compiler
13863 and
13864 the compiler options used during generation.
13865
13866 Previous Release:
13867 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
13868 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
13869 Current Release:
13870 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13871 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13872
13873
13874 2) iASL Compiler/Disassembler:
13875
13876 Implemented support for all ACPI 3.0 reserved names and methods.
13877
13878 Implemented all ACPI 3.0 grammar elements in the front-end, including
13879 support for semicolons.
13880
13881 Implemented the ACPI 3.0 Function() and ToUUID() macros
13882
13883 Fixed a problem in the disassembler where a Scope() operator would not be
13884 emitted properly if the target of the scope was in another table.
13885
13886 ----------------------------------------
13887 15 October 2004. Summary of changes for version 20041015:
13888
13889 Note: ACPI CA is currently undergoing an in-depth and complete formal
13890 evaluation to test/verify the following areas. Other suggestions are
13891 welcome. This will result in an increase in the frequency of releases and
13892 the number of bug fixes in the next few months.
13893 - Functional tests for all ASL/AML operators
13894 - All implicit/explicit type conversions
13895 - Bit fields and operation regions
13896 - 64-bit math support and 32-bit-only "truncated" math support
13897 - Exceptional conditions, both compiler and interpreter
13898 - Dynamic object deletion and memory leaks
13899 - ACPI 3.0 support when implemented
13900 - External interfaces to the ACPI subsystem
13901
13902
13903 1) ACPI CA Core Subsystem:
13904
13905 Fixed two alignment issues on 64-bit platforms - within debug statements
13906 in
13907 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
13908 Address
13909 field within the non-aligned ACPI generic address structure.
13910
13911 Fixed a problem in the Increment and Decrement operators where incorrect
13912 operand resolution could result in the inadvertent modification of the
13913 original integer when the integer is passed into another method as an
13914 argument and the arg is then incremented/decremented.
13915
13916 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
13917 bit
13918 BCD number were truncated during conversion.
13919
13920 Fixed a problem in the ToDecimal operator where the length of the
13921 resulting
13922 string could be set incorrectly too long if the input operand was a
13923 Buffer
13924 object.
13925
13926 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
13927 (0)
13928 within a buffer would prematurely terminate a compare between buffer
13929 objects.
13930
13931 Added a check for string overflow (>200 characters as per the ACPI
13932 specification) during the Concatenate operator with two string operands.
13933
13934 Code and Data Size: Current and previous core subsystem library sizes are
13935 shown below. These are the code and data sizes for the acpica.lib
13936 produced
13937 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13938 any ACPI driver or OSPM code. The debug version of the code includes the
13939 debug output trace mechanism and has a much larger code and data size.
13940 Note
13941 that these values will vary depending on the efficiency of the compiler
13942 and
13943 the compiler options used during generation.
13944
13945 Previous Release:
13946 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
13947 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
13948 Current Release:
13949 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
13950 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
13951
13952
13953
13954 2) iASL Compiler/Disassembler:
13955
13956 Allow the use of the ObjectType operator on uninitialized Locals and Args
13957 (returns 0 as per the ACPI specification).
13958
13959 Fixed a problem where the compiler would fault if there was a syntax
13960 error
13961 in the FieldName of all of the various CreateXXXField operators.
13962
13963 Disallow the use of lower case letters within the EISAID macro, as per
13964 the
13965 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
13966 Where
13967 U is an uppercase letter and N is a hex digit.
13968
13969
13970 ----------------------------------------
13971 06 October 2004. Summary of changes for version 20041006:
13972
13973 1) ACPI CA Core Subsystem:
13974
13975 Implemented support for the ACPI 3.0 Timer operator. This ASL function
13976 implements a 64-bit timer with 100 nanosecond granularity.
13977
13978 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
13979 implement the ACPI 3.0 Timer operator. This allows the host OS to
13980 implement
13981 the timer with the best clock available. Also, it keeps the core
13982 subsystem
13983 out of the clock handling business, since the host OS (usually) performs
13984 this function.
13985
13986 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
13987 functions use a 64-bit address which is part of the packed ACPI Generic
13988 Address Structure. Since the structure is non-aligned, the alignment
13989 macros
13990 are now used to extract the address to a local variable before use.
13991
13992 Fixed a problem where the ToInteger operator assumed all input strings
13993 were
13994 hexadecimal. The operator now handles both decimal strings and hex
13995 strings
13996 (prefixed with "0x").
13997
13998 Fixed a problem where the string length in the string object created as a
13999 result of the internal ConvertToString procedure could be incorrect. This
14000 potentially affected all implicit conversions and also the
14001 ToDecimalString
14002 and ToHexString operators.
14003
14004 Fixed two problems in the ToString operator. If the length parameter was
14005 zero, an incorrect string object was created and the value of the input
14006 length parameter was inadvertently changed from zero to Ones.
14007
14008 Fixed a problem where the optional ResourceSource string in the
14009 ExtendedIRQ
14010 resource macro was ignored.
14011
14012 Simplified the interfaces to the internal division functions, reducing
14013 code
14014 size and complexity.
14015
14016 Code and Data Size: Current and previous core subsystem library sizes are
14017 shown below. These are the code and data sizes for the acpica.lib
14018 produced
14019 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14020 any ACPI driver or OSPM code. The debug version of the code includes the
14021 debug output trace mechanism and has a much larger code and data size.
14022 Note
14023 that these values will vary depending on the efficiency of the compiler
14024 and
14025 the compiler options used during generation.
14026
14027 Previous Release:
14028 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
14029 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
14030 Current Release:
14031 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
14032 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
14033
14034
14035 2) iASL Compiler/Disassembler:
14036
14037 Implemented support for the ACPI 3.0 Timer operator.
14038
14039 Fixed a problem where the Default() operator was inadvertently ignored in
14040 a
14041 Switch/Case block. This was a problem in the translation of the Switch
14042 statement to If...Else pairs.
14043
14044 Added support to allow a standalone Return operator, with no parentheses
14045 (or
14046 operands).
14047
14048 Fixed a problem with code generation for the ElseIf operator where the
14049 translated Else...If parse tree was improperly constructed leading to the
14050 loss of some code.
14051
14052 ----------------------------------------
14053 22 September 2004. Summary of changes for version 20040922:
14054
14055 1) ACPI CA Core Subsystem:
14056
14057 Fixed a problem with the implementation of the LNot() operator where
14058 "Ones"
14059 was not returned for the TRUE case. Changed the code to return Ones
14060 instead
14061 of (!Arg) which was usually 1. This change affects iASL constant folding
14062 for
14063 this operator also.
14064
14065 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
14066 not
14067 initialized properly -- Now zero the entire buffer in this case where the
14068 buffer already exists.
14069
14070 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
14071 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
14072 related code considerably. This will require changes/updates to all OS
14073 interface layers (OSLs.)
14074
14075 Implemented a new external interface, AcpiInstallExceptionHandler, to
14076 allow
14077 a system exception handler to be installed. This handler is invoked upon
14078 any
14079 run-time exception that occurs during control method execution.
14080
14081 Added support for the DSDT in AcpiTbFindTable. This allows the
14082 DataTableRegion() operator to access the local copy of the DSDT.
14083
14084 Code and Data Size: Current and previous core subsystem library sizes are
14085 shown below. These are the code and data sizes for the acpica.lib
14086 produced
14087 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14088 any ACPI driver or OSPM code. The debug version of the code includes the
14089 debug output trace mechanism and has a much larger code and data size.
14090 Note
14091 that these values will vary depending on the efficiency of the compiler
14092 and
14093 the compiler options used during generation.
14094
14095 Previous Release:
14096 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
14097 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
14098 Current Release:
14099 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
14100 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
14101
14102
14103 2) iASL Compiler/Disassembler:
14104
14105 Fixed a problem with constant folding and the LNot operator. LNot was
14106 returning 1 in the TRUE case, not Ones as per the ACPI specification.
14107 This
14108 could result in the generation of an incorrect folded/reduced constant.
14109
14110 End-Of-File is now allowed within a "//"-style comment. A parse error no
14111 longer occurs if such a comment is at the very end of the input ASL
14112 source
14113 file.
14114
14115 Implemented the "-r" option to override the Revision in the table header.
14116 The initial use of this option will be to simplify the evaluation of the
14117 AML
14118 interpreter by allowing a single ASL source module to be compiled for
14119 either
14120 32-bit or 64-bit integers.
14121
14122
14123 ----------------------------------------
14124 27 August 2004. Summary of changes for version 20040827:
14125
14126 1) ACPI CA Core Subsystem:
14127
14128 - Implemented support for implicit object conversion in the non-numeric
14129 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
14130 and
14131 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
14132 the second operand is implicitly converted on the fly to match the type
14133 of
14134 the first operand. For example:
14135
14136 LEqual (Source1, Source2)
14137
14138 Source1 and Source2 must each evaluate to an integer, a string, or a
14139 buffer.
14140 The data type of Source1 dictates the required type of Source2. Source2
14141 is
14142 implicitly converted if necessary to match the type of Source1.
14143
14144 - Updated and corrected the behavior of the string conversion support.
14145 The
14146 rules concerning conversion of buffers to strings (according to the ACPI
14147 specification) are as follows:
14148
14149 ToDecimalString - explicit byte-wise conversion of buffer to string of
14150 decimal values (0-255) separated by commas. ToHexString - explicit byte-
14151 wise
14152 conversion of buffer to string of hex values (0-FF) separated by commas.
14153 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
14154 byte
14155 copy with no transform except NULL terminated. Any other implicit buffer-
14156 to-
14157 string conversion - byte-wise conversion of buffer to string of hex
14158 values
14159 (0-FF) separated by spaces.
14160
14161 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
14162
14163 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
14164 was
14165 one byte too short in the case of a node in the root scope. This could
14166 cause a fault during debug output.
14167
14168 - Code and Data Size: Current and previous core subsystem library sizes
14169 are
14170 shown below. These are the code and data sizes for the acpica.lib
14171 produced
14172 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14173 any ACPI driver or OSPM code. The debug version of the code includes the
14174 debug output trace mechanism and has a much larger code and data size.
14175 Note
14176 that these values will vary depending on the efficiency of the compiler
14177 and
14178 the compiler options used during generation.
14179
14180 Previous Release:
14181 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
14182 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
14183 Current Release:
14184 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
14185 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
14186
14187
14188 2) iASL Compiler/Disassembler:
14189
14190 - Fixed a Linux generation error.
14191
14192
14193 ----------------------------------------
14194 16 August 2004. Summary of changes for version 20040816:
14195
14196 1) ACPI CA Core Subsystem:
14197
14198 Designed and implemented support within the AML interpreter for the so-
14199 called "implicit return". This support returns the result of the last
14200 ASL
14201 operation within a control method, in the absence of an explicit Return()
14202 operator. A few machines depend on this behavior, even though it is not
14203 explicitly supported by the ASL language. It is optional support that
14204 can
14205 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
14206
14207 Removed support for the PCI_Config address space from the internal low
14208 level
14209 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
14210 support was not used internally, and would not work correctly anyway
14211 because
14212 the PCI bus number and segment number were not supported. There are
14213 separate interfaces for PCI configuration space access because of the
14214 unique
14215 interface.
14216
14217 Code and Data Size: Current and previous core subsystem library sizes are
14218 shown below. These are the code and data sizes for the acpica.lib
14219 produced
14220 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14221 any ACPI driver or OSPM code. The debug version of the code includes the
14222 debug output trace mechanism and has a much larger code and data size.
14223 Note
14224 that these values will vary depending on the efficiency of the compiler
14225 and
14226 the compiler options used during generation.
14227
14228 Previous Release:
14229 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
14230 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
14231 Current Release:
14232 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
14233 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
14234
14235
14236 2) iASL Compiler/Disassembler:
14237
14238 Fixed a problem where constants in ASL expressions at the root level (not
14239 within a control method) could be inadvertently truncated during code
14240 generation. This problem was introduced in the 20040715 release.
14241
14242
14243 ----------------------------------------
14244 15 July 2004. Summary of changes for version 20040715:
14245
14246 1) ACPI CA Core Subsystem:
14247
14248 Restructured the internal HW GPE interfaces to pass/track the current
14249 state
14250 of interrupts (enabled/disabled) in order to avoid possible deadlock and
14251 increase flexibility of the interfaces.
14252
14253 Implemented a "lexicographical compare" for String and Buffer objects
14254 within
14255 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
14256 -
14257 as per further clarification to the ACPI specification. Behavior is
14258 similar
14259 to C library "strcmp".
14260
14261 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
14262 external function. In the 32-bit non-debug case, the stack use has been
14263 reduced from 168 bytes to 32 bytes.
14264
14265 Deployed a new run-time configuration flag,
14266 AcpiGbl_EnableInterpreterSlack,
14267 whose purpose is to allow the AML interpreter to forgive certain bad AML
14268 constructs. Default setting is FALSE.
14269
14270 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
14271 IO
14272 support code. If enabled, it allows field access to go beyond the end of
14273 a
14274 region definition if the field is within the region length rounded up to
14275 the
14276 next access width boundary (a common coding error.)
14277
14278 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
14279 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
14280 these
14281 symbols are lowercase by the latest version of the AcpiSrc tool.
14282
14283 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
14284 rename "Register" to simply "Reg" to prevent certain compilers from
14285 complaining.
14286
14287 Code and Data Size: Current and previous core subsystem library sizes are
14288 shown below. These are the code and data sizes for the acpica.lib
14289 produced
14290 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14291 any ACPI driver or OSPM code. The debug version of the code includes the
14292 debug output trace mechanism and has a much larger code and data size.
14293 Note
14294 that these values will vary depending on the efficiency of the compiler
14295 and
14296 the compiler options used during generation.
14297
14298 Previous Release:
14299 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
14300 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
14301 Current Release:
14302 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
14303 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
14304
14305
14306 2) iASL Compiler/Disassembler:
14307
14308 Implemented full support for Package objects within the Case() operator.
14309 Note: The Break() operator is currently not supported within Case blocks
14310 (TermLists) as there is some question about backward compatibility with
14311 ACPI
14312 1.0 interpreters.
14313
14314
14315 Fixed a problem where complex terms were not supported properly within
14316 the
14317 Switch() operator.
14318
14319 Eliminated extraneous warning for compiler-emitted reserved names of the
14320 form "_T_x". (Used in Switch/Case operators.)
14321
14322 Eliminated optimization messages for "_T_x" objects and small constants
14323 within the DefinitionBlock operator.
14324
14325
14326 ----------------------------------------
14327 15 June 2004. Summary of changes for version 20040615:
14328
14329 1) ACPI CA Core Subsystem:
14330
14331 Implemented support for Buffer and String objects (as per ACPI 2.0) for
14332 the
14333 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
14334 LLessEqual.
14335
14336 All directory names in the entire source package are lower case, as they
14337 were in earlier releases.
14338
14339 Implemented "Disassemble" command in the AML debugger that will
14340 disassemble
14341 a single control method.
14342
14343 Code and Data Size: Current and previous core subsystem library sizes are
14344 shown below. These are the code and data sizes for the acpica.lib
14345 produced
14346 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14347 any ACPI driver or OSPM code. The debug version of the code includes the
14348 debug output trace mechanism and has a much larger code and data size.
14349 Note
14350 that these values will vary depending on the efficiency of the compiler
14351 and
14352 the compiler options used during generation.
14353
14354 Previous Release:
14355 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
14356 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
14357
14358 Current Release:
14359 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
14360 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
14361
14362
14363 2) iASL Compiler/Disassembler:
14364
14365 Implemented support for Buffer and String objects (as per ACPI 2.0) for
14366 the
14367 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
14368 LLessEqual.
14369
14370 All directory names in the entire source package are lower case, as they
14371 were in earlier releases.
14372
14373 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
14374 not found.
14375
14376 Fixed an issue with the Windows version of the compiler where later
14377 versions
14378 of Windows place the FADT in the registry under the name "FADT" and not
14379 "FACP" as earlier versions did. This applies when using the -g or -
14380 d<nofilename> options. The compiler now looks for both strings as
14381 necessary.
14382
14383 Fixed a problem with compiler namepath optimization where a namepath
14384 within
14385 the Scope() operator could not be optimized if the namepath was a subpath
14386 of
14387 the current scope path.
14388
14389 ----------------------------------------
14390 27 May 2004. Summary of changes for version 20040527:
14391
14392 1) ACPI CA Core Subsystem:
14393
14394 Completed a new design and implementation for EBDA (Extended BIOS Data
14395 Area)
14396 support in the RSDP scan code. The original code improperly scanned for
14397 the
14398 EBDA by simply scanning from memory location 0 to 0x400. The correct
14399 method
14400 is to first obtain the EBDA pointer from within the BIOS data area, then
14401 scan 1K of memory starting at the EBDA pointer. There appear to be few
14402 if
14403 any machines that place the RSDP in the EBDA, however.
14404
14405 Integrated a fix for a possible fault during evaluation of BufferField
14406 arguments. Obsolete code that was causing the problem was removed.
14407
14408 Found and fixed a problem in the Field Support Code where data could be
14409 corrupted on a bit field read that starts on an aligned boundary but does
14410 not end on an aligned boundary. Merged the read/write "datum length"
14411 calculation code into a common procedure.
14412
14413 Rolled in a couple of changes to the FreeBSD-specific header.
14414
14415
14416 Code and Data Size: Current and previous core subsystem library sizes are
14417 shown below. These are the code and data sizes for the acpica.lib
14418 produced
14419 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14420 any ACPI driver or OSPM code. The debug version of the code includes the
14421 debug output trace mechanism and has a much larger code and data size.
14422 Note
14423 that these values will vary depending on the efficiency of the compiler
14424 and
14425 the compiler options used during generation.
14426
14427 Previous Release:
14428 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
14429 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
14430 Current Release:
14431 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
14432 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
14433
14434
14435 2) iASL Compiler/Disassembler:
14436
14437 Fixed a generation warning produced by some overly-verbose compilers for
14438 a
14439 64-bit constant.
14440
14441 ----------------------------------------
14442 14 May 2004. Summary of changes for version 20040514:
14443
14444 1) ACPI CA Core Subsystem:
14445
14446 Fixed a problem where hardware GPE enable bits sometimes not set properly
14447 during and after GPE method execution. Result of 04/27 changes.
14448
14449 Removed extra "clear all GPEs" when sleeping/waking.
14450
14451 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
14452 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
14453 to
14454 the new AcpiEv* calls as appropriate.
14455
14456 ACPI_OS_NAME was removed from the OS-specific headers. The default name
14457 is
14458 now "Microsoft Windows NT" for maximum compatibility. However this can
14459 be
14460 changed by modifying the acconfig.h file.
14461
14462 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
14463 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
14464
14465 Run _INI methods on ThermalZone objects. This is against the ACPI
14466 specification, but there is apparently ASL code in the field that has
14467 these
14468 _INI methods, and apparently "other" AML interpreters execute them.
14469
14470 Performed a full 16/32/64 bit lint that resulted in some small changes.
14471
14472 Added a sleep simulation command to the AML debugger to test sleep code.
14473
14474 Code and Data Size: Current and previous core subsystem library sizes are
14475 shown below. These are the code and data sizes for the acpica.lib
14476 produced
14477 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14478 any ACPI driver or OSPM code. The debug version of the code includes the
14479 debug output trace mechanism and has a much larger code and data size.
14480 Note
14481 that these values will vary depending on the efficiency of the compiler
14482 and
14483 the compiler options used during generation.
14484
14485 Previous Release:
14486 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
14487 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
14488 Current Release:
14489 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
14490 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
14491
14492 ----------------------------------------
14493 27 April 2004. Summary of changes for version 20040427:
14494
14495 1) ACPI CA Core Subsystem:
14496
14497 Completed a major overhaul of the GPE handling within ACPI CA. There are
14498 now three types of GPEs: wake-only, runtime-only, and combination
14499 wake/run.
14500 The only GPEs allowed to be combination wake/run are for button-style
14501 devices such as a control-method power button, control-method sleep
14502 button,
14503 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
14504 not
14505 referenced by any _PRW methods are marked for "runtime" and hardware
14506 enabled. Any GPE that is referenced by a _PRW method is marked for
14507 "wake"
14508 (and disabled at runtime). However, at sleep time, only those GPEs that
14509 have been specifically enabled for wake via the AcpiEnableGpe interface
14510 will
14511 actually be hardware enabled.
14512
14513 A new external interface has been added, AcpiSetGpeType(), that is meant
14514 to
14515 be used by device drivers to force a GPE to a particular type. It will
14516 be
14517 especially useful for the drivers for the button devices mentioned above.
14518
14519 Completed restructuring of the ACPI CA initialization sequence so that
14520 default operation region handlers are installed before GPEs are
14521 initialized
14522 and the _PRW methods are executed. This will prevent errors when the
14523 _PRW
14524 methods attempt to access system memory or I/O space.
14525
14526 GPE enable/disable no longer reads the GPE enable register. We now keep
14527 the
14528 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
14529 thus no longer depend on the hardware to maintain these bits.
14530
14531 Always clear the wake status and fixed/GPE status bits before sleep, even
14532 for state S5.
14533
14534 Improved the AML debugger output for displaying the GPE blocks and their
14535 current status.
14536
14537 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
14538 where
14539 x = 0,1,2,3,4.
14540
14541 Fixed a problem where the physical address was incorrectly calculated
14542 when
14543 the Load() operator was used to directly load from an Operation Region
14544 (vs.
14545 loading from a Field object.) Also added check for minimum table length
14546 for
14547 this case.
14548
14549 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
14550 mutex release.
14551
14552 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
14553 consistency with the other fields returned.
14554
14555 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
14556 structure for each GPE in the system, so the size of this structure is
14557 important.
14558
14559 CPU stack requirement reduction: Cleaned up the method execution and
14560 object
14561 evaluation paths so that now a parameter structure is passed, instead of
14562 copying the various method parameters over and over again.
14563
14564 In evregion.c: Correctly exit and reenter the interpreter region if and
14565 only if dispatching an operation region request to a user-installed
14566 handler.
14567 Do not exit/reenter when dispatching to a default handler (e.g., default
14568 system memory or I/O handlers)
14569
14570
14571 Notes for updating drivers for the new GPE support. The following
14572 changes
14573 must be made to ACPI-related device drivers that are attached to one or
14574 more
14575 GPEs: (This information will be added to the ACPI CA Programmer
14576 Reference.)
14577
14578 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
14579 must
14580 explicitly call AcpiEnableGpe.
14581 2) There is a new interface called AcpiSetGpeType. This should be called
14582 before enabling the GPE. Also, this interface will automatically disable
14583 the GPE if it is currently enabled.
14584 3) AcpiEnableGpe no longer supports a GPE type flag.
14585
14586 Specific drivers that must be changed:
14587 1) EC driver:
14588 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
14589 AeGpeHandler, NULL);
14590 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
14591 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
14592
14593 2) Button Drivers (Power, Lid, Sleep):
14594 Run _PRW method under parent device
14595 If _PRW exists: /* This is a control-method button */
14596 Extract GPE number and possibly GpeDevice
14597 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
14598 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
14599
14600 For all other devices that have _PRWs, we automatically set the GPE type
14601 to
14602 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
14603 This
14604 must be done on a selective basis, usually requiring some kind of user
14605 app
14606 to allow the user to pick the wake devices.
14607
14608
14609 Code and Data Size: Current and previous core subsystem library sizes are
14610 shown below. These are the code and data sizes for the acpica.lib
14611 produced
14612 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14613 any ACPI driver or OSPM code. The debug version of the code includes the
14614 debug output trace mechanism and has a much larger code and data size.
14615 Note
14616 that these values will vary depending on the efficiency of the compiler
14617 and
14618 the compiler options used during generation.
14619
14620 Previous Release:
14621 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
14622 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
14623 Current Release:
14624
14625 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
14626 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
14627
14628
14629
14630 ----------------------------------------
14631 02 April 2004. Summary of changes for version 20040402:
14632
14633 1) ACPI CA Core Subsystem:
14634
14635 Fixed an interpreter problem where an indirect store through an ArgX
14636 parameter was incorrectly applying the "implicit conversion rules" during
14637 the store. From the ACPI specification: "If the target is a method local
14638 or
14639 argument (LocalX or ArgX), no conversion is performed and the result is
14640 stored directly to the target". The new behavior is to disable implicit
14641 conversion during ALL stores to an ArgX.
14642
14643 Changed the behavior of the _PRW method scan to ignore any and all errors
14644 returned by a given _PRW. This prevents the scan from aborting from the
14645 failure of any single _PRW.
14646
14647 Moved the runtime configuration parameters from the global init procedure
14648 to
14649 static variables in acglobal.h. This will allow the host to override the
14650 default values easily.
14651
14652 Code and Data Size: Current and previous core subsystem library sizes are
14653 shown below. These are the code and data sizes for the acpica.lib
14654 produced
14655 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14656 any ACPI driver or OSPM code. The debug version of the code includes the
14657 debug output trace mechanism and has a much larger code and data size.
14658 Note
14659 that these values will vary depending on the efficiency of the compiler
14660 and
14661 the compiler options used during generation.
14662
14663 Previous Release:
14664 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
14665 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
14666 Current Release:
14667 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
14668 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
14669
14670
14671 2) iASL Compiler/Disassembler:
14672
14673 iASL now fully disassembles SSDTs. However, External() statements are
14674 not
14675 generated automatically for unresolved symbols at this time. This is a
14676 planned feature for future implementation.
14677
14678 Fixed a scoping problem in the disassembler that occurs when the type of
14679 the
14680 target of a Scope() operator is overridden. This problem caused an
14681 incorrectly nested internal namespace to be constructed.
14682
14683 Any warnings or errors that are emitted during disassembly are now
14684 commented
14685 out automatically so that the resulting file can be recompiled without
14686 any
14687 hand editing.
14688
14689 ----------------------------------------
14690 26 March 2004. Summary of changes for version 20040326:
14691
14692 1) ACPI CA Core Subsystem:
14693
14694 Implemented support for "wake" GPEs via interaction between GPEs and the
14695 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
14696 identified as a WAKE GPE and by default will no longer be enabled at
14697 runtime. Previously, we were blindly enabling all GPEs with a
14698 corresponding
14699 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
14700 We
14701 believe this has been the cause of thousands of "spurious" GPEs on some
14702 systems.
14703
14704 This new GPE behavior is can be reverted to the original behavior (enable
14705 ALL GPEs at runtime) via a runtime flag.
14706
14707 Fixed a problem where aliased control methods could not access objects
14708 properly. The proper scope within the namespace was not initialized
14709 (transferred to the target of the aliased method) before executing the
14710 target method.
14711
14712 Fixed a potential race condition on internal object deletion on the
14713 return
14714 object in AcpiEvaluateObject.
14715
14716 Integrated a fix for resource descriptors where both _MEM and _MTP were
14717 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
14718 wide, 0x0F instead of 0x03.)
14719
14720 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
14721 preventing
14722 a
14723 fault in some cases.
14724
14725 Updated Notify() values for debug statements in evmisc.c
14726
14727 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
14728
14729 Code and Data Size: Current and previous core subsystem library sizes are
14730 shown below. These are the code and data sizes for the acpica.lib
14731 produced
14732 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14733 any ACPI driver or OSPM code. The debug version of the code includes the
14734 debug output trace mechanism and has a much larger code and data size.
14735 Note
14736 that these values will vary depending on the efficiency of the compiler
14737 and
14738 the compiler options used during generation.
14739
14740 Previous Release:
14741
14742 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
14743 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
14744 Current Release:
14745 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
14746 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
14747
14748 ----------------------------------------
14749 11 March 2004. Summary of changes for version 20040311:
14750
14751 1) ACPI CA Core Subsystem:
14752
14753 Fixed a problem where errors occurring during the parse phase of control
14754 method execution did not abort cleanly. For example, objects created and
14755 installed in the namespace were not deleted. This caused all subsequent
14756 invocations of the method to return the AE_ALREADY_EXISTS exception.
14757
14758 Implemented a mechanism to force a control method to "Serialized"
14759 execution
14760 if the method attempts to create namespace objects. (The root of the
14761 AE_ALREADY_EXISTS problem.)
14762
14763 Implemented support for the predefined _OSI "internal" control method.
14764 Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
14765 and
14766 "Windows 2001.1", and can be easily upgraded for new strings as
14767 necessary.
14768 This feature will allow "other" operating systems to execute the fully
14769 tested, "Windows" code path through the ASL code
14770
14771 Global Lock Support: Now allows multiple acquires and releases with any
14772 internal thread. Removed concept of "owning thread" for this special
14773 mutex.
14774
14775 Fixed two functions that were inappropriately declaring large objects on
14776 the
14777 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
14778 during
14779 method execution considerably.
14780
14781 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
14782 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
14783
14784 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
14785 defined on the machine.
14786
14787 Implemented two runtime options: One to force all control method
14788 execution
14789 to "Serialized" to mimic Windows behavior, another to disable _OSI
14790 support
14791 if it causes problems on a given machine.
14792
14793 Code and Data Size: Current and previous core subsystem library sizes are
14794 shown below. These are the code and data sizes for the acpica.lib
14795 produced
14796 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14797 any ACPI driver or OSPM code. The debug version of the code includes the
14798 debug output trace mechanism and has a much larger code and data size.
14799 Note
14800 that these values will vary depending on the efficiency of the compiler
14801 and
14802 the compiler options used during generation.
14803
14804 Previous Release:
14805 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
14806 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
14807 Current Release:
14808 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
14809 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
14810
14811 2) iASL Compiler/Disassembler:
14812
14813 Fixed an array size problem for FreeBSD that would cause the compiler to
14814 fault.
14815
14816 ----------------------------------------
14817 20 February 2004. Summary of changes for version 20040220:
14818
14819
14820 1) ACPI CA Core Subsystem:
14821
14822 Implemented execution of _SxD methods for Device objects in the
14823 GetObjectInfo interface.
14824
14825 Fixed calls to _SST method to pass the correct arguments.
14826
14827 Added a call to _SST on wake to restore to "working" state.
14828
14829 Check for End-Of-Buffer failure case in the WalkResources interface.
14830
14831 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
14832 structures to the beginning of the file.
14833
14834 After wake, clear GPE status register(s) before enabling GPEs.
14835
14836 After wake, clear/enable power button. (Perhaps we should clear/enable
14837 all
14838 fixed events upon wake.)
14839
14840 Fixed a couple of possible memory leaks in the Namespace manager.
14841
14842 Integrated latest acnetbsd.h file.
14843
14844 ----------------------------------------
14845 11 February 2004. Summary of changes for version 20040211:
14846
14847
14848 1) ACPI CA Core Subsystem:
14849
14850 Completed investigation and implementation of the call-by-reference
14851 mechanism for control method arguments.
14852
14853 Fixed a problem where a store of an object into an indexed package could
14854 fail if the store occurs within a different method than the method that
14855 created the package.
14856
14857 Fixed a problem where the ToDecimal operator could return incorrect
14858 results.
14859
14860 Fixed a problem where the CopyObject operator could fail on some of the
14861 more
14862 obscure objects (e.g., Reference objects.)
14863
14864 Improved the output of the Debug object to display buffer, package, and
14865 index objects.
14866
14867 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
14868 return
14869 the expected result.
14870
14871 Added permanent ACPI_REPORT_ERROR macros for all instances of the
14872 ACPI_AML_INTERNAL exception.
14873
14874 Integrated latest version of acfreebsd.h
14875
14876 ----------------------------------------
14877 16 January 2004. Summary of changes for version 20040116:
14878
14879 The purpose of this release is primarily to update the copyright years in
14880 each module, thus causing a huge number of diffs. There are a few small
14881 functional changes, however.
14882
14883 1) ACPI CA Core Subsystem:
14884
14885 Improved error messages when there is a problem finding one or more of
14886 the
14887 required base ACPI tables
14888
14889 Reintroduced the definition of APIC_HEADER in actbl.h
14890
14891 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
14892
14893 Removed extraneous reference to NewObj in dsmthdat.c
14894
14895 2) iASL compiler
14896
14897 Fixed a problem introduced in December that disabled the correct
14898 disassembly
14899 of Resource Templates
14900
14901
14902 ----------------------------------------
14903 03 December 2003. Summary of changes for version 20031203:
14904
14905 1) ACPI CA Core Subsystem:
14906
14907 Changed the initialization of Operation Regions during subsystem
14908 init to perform two entire walks of the ACPI namespace; The first
14909 to initialize the regions themselves, the second to execute the
14910 _REG methods. This fixed some interdependencies across _REG
14911 methods found on some machines.
14912
14913 Fixed a problem where a Store(Local0, Local1) could simply update
14914 the object reference count, and not create a new copy of the
14915 object if the Local1 is uninitialized.
14916
14917 Implemented support for the _SST reserved method during sleep
14918 transitions.
14919
14920 Implemented support to clear the SLP_TYP and SLP_EN bits when
14921 waking up, this is apparently required by some machines.
14922
14923 When sleeping, clear the wake status only if SleepState is not S5.
14924
14925 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
14926 pointer arithmetic advanced a string pointer too far.
14927
14928 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
14929 could be returned if the requested table has not been loaded.
14930
14931 Within the support for IRQ resources, restructured the handling of
14932 the active and edge/level bits.
14933
14934 Fixed a few problems in AcpiPsxExecute() where memory could be
14935 leaked under certain error conditions.
14936
14937 Improved error messages for the cases where the ACPI mode could
14938 not be entered.
14939
14940 Code and Data Size: Current and previous core subsystem library
14941 sizes are shown below. These are the code and data sizes for the
14942 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14943 these values do not include any ACPI driver or OSPM code. The
14944 debug version of the code includes the debug output trace
14945 mechanism and has a much larger code and data size. Note that
14946 these values will vary depending on the efficiency of the compiler
14947 and the compiler options used during generation.
14948
14949 Previous Release (20031029):
14950 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
14951 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
14952 Current Release:
14953 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
14954 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
14955
14956 2) iASL Compiler/Disassembler:
14957
14958 Implemented a fix for the iASL disassembler where a bad index was
14959 generated. This was most noticeable on 64-bit platforms
14960
14961
14962 ----------------------------------------
14963 29 October 2003. Summary of changes for version 20031029:
14964
14965 1) ACPI CA Core Subsystem:
14966
14967
14968 Fixed a problem where a level-triggered GPE with an associated
14969 _Lxx control method was incorrectly cleared twice.
14970
14971 Fixed a problem with the Field support code where an access can
14972 occur beyond the end-of-region if the field is non-aligned but
14973 extends to the very end of the parent region (resulted in an
14974 AE_AML_REGION_LIMIT exception.)
14975
14976 Fixed a problem with ACPI Fixed Events where an RT Clock handler
14977 would not get invoked on an RTC event. The RTC event bitmasks for
14978 the PM1 registers were not being initialized properly.
14979
14980 Implemented support for executing _STA and _INI methods for
14981 Processor objects. Although this is currently not part of the
14982 ACPI specification, there is existing ASL code that depends on the
14983 init-time execution of these methods.
14984
14985 Implemented and deployed a GetDescriptorName function to decode
14986 the various types of internal descriptors. Guards against null
14987 descriptors during debug output also.
14988
14989 Implemented and deployed a GetNodeName function to extract the 4-
14990 character namespace node name. This function simplifies the debug
14991 and error output, as well as guarding against null pointers during
14992 output.
14993
14994 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
14995 simplify the debug and error output of 64-bit integers. This
14996 macro replaces the HIDWORD and LODWORD macros for dumping these
14997 integers.
14998
14999 Updated the implementation of the Stall() operator to only call
15000 AcpiOsStall(), and also return an error if the operand is larger
15001 than 255. This preserves the required behavior of not
15002 relinquishing the processor, as would happen if AcpiOsSleep() was
15003 called for "long stalls".
15004
15005 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
15006 initialized are now treated as NOOPs.
15007
15008 Cleaned up a handful of warnings during 64-bit generation.
15009
15010 Fixed a reported error where and incorrect GPE number was passed
15011 to the GPE dispatch handler. This value is only used for error
15012 output, however. Used this opportunity to clean up and streamline
15013 the GPE dispatch code.
15014
15015 Code and Data Size: Current and previous core subsystem library
15016 sizes are shown below. These are the code and data sizes for the
15017 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
15018 these values do not include any ACPI driver or OSPM code. The
15019
15020 debug version of the code includes the debug output trace
15021 mechanism and has a much larger code and data size. Note that
15022 these values will vary depending on the efficiency of the compiler
15023 and the compiler options used during generation.
15024
15025 Previous Release (20031002):
15026 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
15027 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
15028 Current Release:
15029 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
15030 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
15031
15032
15033 2) iASL Compiler/Disassembler:
15034
15035 Updated the iASL compiler to return an error if the operand to the
15036 Stall() operator is larger than 255.
15037
15038
15039 ----------------------------------------
15040 02 October 2003. Summary of changes for version 20031002:
15041
15042
15043 1) ACPI CA Core Subsystem:
15044
15045 Fixed a problem with Index Fields where the index was not
15046 incremented for fields that require multiple writes to the
15047 index/data registers (Fields that are wider than the data
15048 register.)
15049
15050 Fixed a problem with all Field objects where a write could go
15051 beyond the end-of-field if the field was larger than the access
15052 granularity and therefore required multiple writes to complete the
15053 request. An extra write beyond the end of the field could happen
15054 inadvertently.
15055
15056 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
15057 would incorrectly be returned if the width of the Data Register
15058 was larger than the specified field access width.
15059
15060 Completed fixes for LoadTable() and Unload() and verified their
15061 operation. Implemented full support for the "DdbHandle" object
15062 throughout the ACPI CA subsystem.
15063
15064 Implemented full support for the MADT and ECDT tables in the ACPI
15065 CA header files. Even though these tables are not directly
15066 consumed by ACPI CA, the header definitions are useful for ACPI
15067 device drivers.
15068
15069 Integrated resource descriptor fixes posted to the Linux ACPI
15070 list. This included checks for minimum descriptor length, and
15071 support for trailing NULL strings within descriptors that have
15072 optional string elements.
15073
15074 Code and Data Size: Current and previous core subsystem library
15075 sizes are shown below. These are the code and data sizes for the
15076 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
15077 these values do not include any ACPI driver or OSPM code. The
15078 debug version of the code includes the debug output trace
15079 mechanism and has a much larger code and data size. Note that
15080 these values will vary depending on the efficiency of the compiler
15081 and the compiler options used during generation.
15082
15083 Previous Release (20030918):
15084 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
15085 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
15086 Current Release:
15087 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
15088 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
15089
15090
15091 2) iASL Compiler:
15092
15093 Implemented detection of non-ASCII characters within the input
15094 source ASL file. This catches attempts to compile binary (AML)
15095 files early in the compile, with an informative error message.
15096
15097 Fixed a problem where the disassembler would fault if the output
15098 filename could not be generated or if the output file could not be
15099 opened.
15100
15101 ----------------------------------------
15102 18 September 2003. Summary of changes for version 20030918:
15103
15104
15105 1) ACPI CA Core Subsystem:
15106
15107 Found and fixed a longstanding problem with the late execution of
15108 the various deferred AML opcodes (such as Operation Regions,
15109 Buffer Fields, Buffers, and Packages). If the name string
15110 specified for the name of the new object placed the object in a
15111 scope other than the current scope, the initialization/execution
15112 of the opcode failed. The solution to this problem was to
15113 implement a mechanism where the late execution of such opcodes
15114 does not attempt to lookup/create the name a second time in an
15115 incorrect scope. This fixes the "region size computed
15116 incorrectly" problem.
15117
15118 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
15119 Global Lock AE_BAD_PARAMETER error.
15120
15121 Fixed several 64-bit issues with prototypes, casting and data
15122 types.
15123
15124 Removed duplicate prototype from acdisasm.h
15125
15126 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
15127
15128 Code and Data Size: Current and previous core subsystem library
15129 sizes are shown below. These are the code and data sizes for the
15130 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
15131 these values do not include any ACPI driver or OSPM code. The
15132 debug version of the code includes the debug output trace
15133 mechanism and has a much larger code and data size. Note that
15134 these values will vary depending on the efficiency of the compiler
15135 and the compiler options used during generation.
15136
15137 Previous Release:
15138
15139 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
15140 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
15141 Current Release:
15142 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
15143 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
15144
15145
15146 2) Linux:
15147
15148 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
15149 correct sleep time in seconds.
15150
15151 ----------------------------------------
15152 14 July 2003. Summary of changes for version 20030619:
15153
15154 1) ACPI CA Core Subsystem:
15155
15156 Parse SSDTs in order discovered, as opposed to reverse order
15157 (Hrvoje Habjanic)
15158
15159 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
15160 Klausner,
15161 Nate Lawson)
15162
15163
15164 2) Linux:
15165
15166 Dynamically allocate SDT list (suggested by Andi Kleen)
15167
15168 proc function return value cleanups (Andi Kleen)
15169
15170 Correctly handle NMI watchdog during long stalls (Andrew Morton)
15171
15172 Make it so acpismp=force works (reported by Andrew Morton)
15173
15174
15175 ----------------------------------------
15176 19 June 2003. Summary of changes for version 20030619:
15177
15178 1) ACPI CA Core Subsystem:
15179
15180 Fix To/FromBCD, eliminating the need for an arch-specific #define.
15181
15182 Do not acquire a semaphore in the S5 shutdown path.
15183
15184 Fix ex_digits_needed for 0. (Takayoshi Kochi)
15185
15186 Fix sleep/stall code reversal. (Andi Kleen)
15187
15188 Revert a change having to do with control method calling
15189 semantics.
15190
15191 2) Linux:
15192
15193 acpiphp update (Takayoshi Kochi)
15194
15195 Export acpi_disabled for sonypi (Stelian Pop)
15196
15197 Mention acpismp=force in config help
15198
15199 Re-add acpitable.c and acpismp=force. This improves backwards
15200
15201 compatibility and also cleans up the code to a significant degree.
15202
15203 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
15204
15205 ----------------------------------------
15206 22 May 2003. Summary of changes for version 20030522:
15207
15208 1) ACPI CA Core Subsystem:
15209
15210 Found and fixed a reported problem where an AE_NOT_FOUND error
15211 occurred occasionally during _BST evaluation. This turned out to
15212 be an Owner ID allocation issue where a called method did not get
15213 a new ID assigned to it. Eventually, (after 64k calls), the Owner
15214 ID UINT16 would wraparound so that the ID would be the same as the
15215 caller's and the called method would delete the caller's
15216 namespace.
15217
15218 Implemented extended error reporting for control methods that are
15219 aborted due to a run-time exception. Output includes the exact
15220 AML instruction that caused the method abort, a dump of the method
15221 locals and arguments at the time of the abort, and a trace of all
15222 nested control method calls.
15223
15224 Modified the interpreter to allow the creation of buffers of zero
15225 length from the AML code. Implemented new code to ensure that no
15226 attempt is made to actually allocate a memory buffer (of length
15227 zero) - instead, a simple buffer object with a NULL buffer pointer
15228 and length zero is created. A warning is no longer issued when
15229 the AML attempts to create a zero-length buffer.
15230
15231 Implemented a workaround for the "leading asterisk issue" in
15232 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
15233 asterisk is automatically removed if present in any HID, UID, or
15234 CID strings. The iASL compiler will still flag this asterisk as
15235 an error, however.
15236
15237 Implemented full support for _CID methods that return a package of
15238 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
15239 now additionally returns a device _CID list if present. This
15240 required a change to the external interface in order to pass an
15241 ACPI_BUFFER object as a parameter since the _CID list is of
15242 variable length.
15243
15244 Fixed a problem with the new AE_SAME_HANDLER exception where
15245 handler initialization code did not know about this exception.
15246
15247 Code and Data Size: Current and previous core subsystem library
15248 sizes are shown below. These are the code and data sizes for the
15249 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
15250 these values do not include any ACPI driver or OSPM code. The
15251 debug version of the code includes the debug output trace
15252 mechanism and has a much larger code and data size. Note that
15253 these values will vary depending on the efficiency of the compiler
15254 and the compiler options used during generation.
15255
15256 Previous Release (20030509):
15257 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
15258 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
15259 Current Release:
15260 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
15261 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
15262
15263
15264 2) Linux:
15265
15266 Fixed a bug in which we would reinitialize the ACPI interrupt
15267 after it was already working, thus disabling all ACPI and the IRQs
15268 for any other device sharing the interrupt. (Thanks to Stian
15269 Jordet)
15270
15271 Toshiba driver update (John Belmonte)
15272
15273 Return only 0 or 1 for our interrupt handler status (Andrew
15274 Morton)
15275
15276
15277 3) iASL Compiler:
15278
15279 Fixed a reported problem where multiple (nested) ElseIf()
15280 statements were not handled correctly by the compiler, resulting
15281 in incorrect warnings and incorrect AML code. This was a problem
15282 in both the ASL parser and the code generator.
15283
15284
15285 4) Documentation:
15286
15287 Added changes to existing interfaces, new exception codes, and new
15288 text concerning reference count object management versus garbage
15289 collection.
15290
15291 ----------------------------------------
15292 09 May 2003. Summary of changes for version 20030509.
15293
15294
15295 1) ACPI CA Core Subsystem:
15296
15297 Changed the subsystem initialization sequence to hold off
15298 installation of address space handlers until the hardware has been
15299 initialized and the system has entered ACPI mode. This is because
15300 the installation of space handlers can cause _REG methods to be
15301 run. Previously, the _REG methods could potentially be run before
15302 ACPI mode was enabled.
15303
15304 Fixed some memory leak issues related to address space handler and
15305 notify handler installation. There were some problems with the
15306 reference count mechanism caused by the fact that the handler
15307 objects are shared across several namespace objects.
15308
15309 Fixed a reported problem where reference counts within the
15310 namespace were not properly updated when named objects created by
15311 method execution were deleted.
15312
15313 Fixed a reported problem where multiple SSDTs caused a deletion
15314 issue during subsystem termination. Restructured the table data
15315 structures to simplify the linked lists and the related code.
15316
15317 Fixed a problem where the table ID associated with secondary
15318 tables (SSDTs) was not being propagated into the namespace objects
15319 created by those tables. This would only present a problem for
15320 tables that are unloaded at run-time, however.
15321
15322 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
15323 type as the length parameter (instead of UINT32).
15324
15325 Solved a long-standing problem where an ALREADY_EXISTS error
15326 appears on various systems. This problem could happen when there
15327 are multiple PCI_Config operation regions under a single PCI root
15328 bus. This doesn't happen very frequently, but there are some
15329 systems that do this in the ASL.
15330
15331 Fixed a reported problem where the internal DeleteNode function
15332 was incorrectly handling the case where a namespace node was the
15333 first in the parent's child list, and had additional peers (not
15334 the only child, but first in the list of children.)
15335
15336 Code and Data Size: Current core subsystem library sizes are shown
15337 below. These are the code and data sizes for the acpica.lib
15338 produced by the Microsoft Visual C++ 6.0 compiler, and these
15339 values do not include any ACPI driver or OSPM code. The debug
15340 version of the code includes the debug output trace mechanism and
15341 has a much larger code and data size. Note that these values will
15342 vary depending on the efficiency of the compiler and the compiler
15343 options used during generation.
15344
15345 Previous Release
15346 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
15347 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
15348 Current Release:
15349 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
15350 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
15351
15352
15353 2) Linux:
15354
15355 Allow ":" in OS override string (Ducrot Bruno)
15356
15357 Kobject fix (Greg KH)
15358
15359
15360 3 iASL Compiler/Disassembler:
15361
15362 Fixed a problem in the generation of the C source code files (AML
15363 is emitted in C source statements for BIOS inclusion) where the
15364 Ascii dump that appears within a C comment at the end of each line
15365 could cause a compile time error if the AML sequence happens to
15366 have an open comment or close comment sequence embedded.
15367
15368
15369 ----------------------------------------
15370 24 April 2003. Summary of changes for version 20030424.
15371
15372
15373 1) ACPI CA Core Subsystem:
15374
15375 Support for big-endian systems has been implemented. Most of the
15376 support has been invisibly added behind big-endian versions of the
15377 ACPI_MOVE_* macros.
15378
15379 Fixed a problem in AcpiHwDisableGpeBlock() and
15380 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
15381 low level hardware write routine. The offset parameter was
15382 actually eliminated from the low level read/write routines because
15383 they had become obsolete.
15384
15385 Fixed a problem where a handler object was deleted twice during
15386 the removal of a fixed event handler.
15387
15388
15389 2) Linux:
15390
15391 A fix for SMP systems with link devices was contributed by
15392
15393 Compaq's Dan Zink.
15394
15395 (2.5) Return whether we handled the interrupt in our IRQ handler.
15396 (Linux ISRs no longer return void, so we can propagate the handler
15397 return value from the ACPI CA core back to the OS.)
15398
15399
15400
15401 3) Documentation:
15402
15403 The ACPI CA Programmer Reference has been updated to reflect new
15404 interfaces and changes to existing interfaces.
15405
15406 ----------------------------------------
15407 28 March 2003. Summary of changes for version 20030328.
15408
15409 1) ACPI CA Core Subsystem:
15410
15411 The GPE Block Device support has been completed. New interfaces
15412 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
15413 interfaces (enable, disable, clear, getstatus) have been split
15414 into separate interfaces for Fixed Events and General Purpose
15415 Events (GPEs) in order to support GPE Block Devices properly.
15416
15417 Fixed a problem where the error message "Failed to acquire
15418 semaphore" would appear during operations on the embedded
15419 controller (EC).
15420
15421 Code and Data Size: Current core subsystem library sizes are shown
15422 below. These are the code and data sizes for the acpica.lib
15423 produced by the Microsoft Visual C++ 6.0 compiler, and these
15424 values do not include any ACPI driver or OSPM code. The debug
15425 version of the code includes the debug output trace mechanism and
15426 has a much larger code and data size. Note that these values will
15427 vary depending on the efficiency of the compiler and the compiler
15428 options used during generation.
15429
15430 Previous Release
15431 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
15432 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
15433 Current Release:
15434 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
15435 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
15436
15437
15438 ----------------------------------------
15439 28 February 2003. Summary of changes for version 20030228.
15440
15441
15442 1) ACPI CA Core Subsystem:
15443
15444 The GPE handling and dispatch code has been completely overhauled
15445 in preparation for support of GPE Block Devices (ID ACPI0006).
15446 This affects internal data structures and code only; there should
15447 be no differences visible externally. One new file has been
15448 added, evgpeblk.c
15449
15450 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
15451 fields that are used to determine the GPE block lengths. The
15452 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
15453 structures are ignored. This is per the ACPI specification but it
15454 isn't very clear. The full 256 Block 0/1 GPEs are now supported
15455 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
15456
15457 In the SCI interrupt handler, removed the read of the PM1_CONTROL
15458 register to look at the SCI_EN bit. On some machines, this read
15459 causes an SMI event and greatly slows down SCI events. (This may
15460 in fact be the cause of slow battery status response on some
15461 systems.)
15462
15463 Fixed a problem where a store of a NULL string to a package object
15464 could cause the premature deletion of the object. This was seen
15465 during execution of the battery _BIF method on some systems,
15466 resulting in no battery data being returned.
15467
15468 Added AcpiWalkResources interface to simplify parsing of resource
15469 lists.
15470
15471 Code and Data Size: Current core subsystem library sizes are shown
15472 below. These are the code and data sizes for the acpica.lib
15473 produced by the Microsoft Visual C++ 6.0 compiler, and these
15474 values do not include any ACPI driver or OSPM code. The debug
15475 version of the code includes the debug output trace mechanism and
15476 has a much larger code and data size. Note that these values will
15477 vary depending on the efficiency of the compiler and the compiler
15478 options used during generation.
15479
15480 Previous Release
15481 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15482 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15483 Current Release:
15484 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
15485 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
15486
15487
15488 2) Linux
15489
15490 S3 fixes (Ole Rohne)
15491
15492 Update ACPI PHP driver with to use new acpi_walk_resource API
15493 (Bjorn Helgaas)
15494
15495 Add S4BIOS support (Pavel Machek)
15496
15497 Map in entire table before performing checksum (John Stultz)
15498
15499 Expand the mem= cmdline to allow the specification of reserved and
15500 ACPI DATA blocks (Pavel Machek)
15501
15502 Never use ACPI on VISWS
15503
15504 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
15505
15506 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
15507 causing us to think that some systems support C2 when they really
15508 don't.
15509
15510 Do not count processor objects for non-present CPUs (Thanks to
15511 Dominik Brodowski)
15512
15513
15514 3) iASL Compiler:
15515
15516 Fixed a problem where ASL include files could not be found and
15517 opened.
15518
15519 Added support for the _PDC reserved name.
15520
15521
15522 ----------------------------------------
15523 22 January 2003. Summary of changes for version 20030122.
15524
15525
15526 1) ACPI CA Core Subsystem:
15527
15528 Added a check for constructs of the form: Store (Local0, Local0)
15529 where Local0 is not initialized. Apparently, some BIOS
15530 programmers believe that this is a NOOP. Since this store doesn't
15531 do anything anyway, the new prototype behavior will ignore this
15532 error. This is a case where we can relax the strict checking in
15533 the interpreter in the name of compatibility.
15534
15535
15536 2) Linux
15537
15538 The AcpiSrc Source Conversion Utility has been released with the
15539 Linux package for the first time. This is the utility that is
15540 used to convert the ACPI CA base source code to the Linux version.
15541
15542 (Both) Handle P_BLK lengths shorter than 6 more gracefully
15543
15544 (Both) Move more headers to include/acpi, and delete an unused
15545 header.
15546
15547 (Both) Move drivers/acpi/include directory to include/acpi
15548
15549 (Both) Boot functions don't use cmdline, so don't pass it around
15550
15551 (Both) Remove include of unused header (Adrian Bunk)
15552
15553 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
15554 the
15555 former now also includes the latter, acpiphp.h only needs the one,
15556 now.
15557
15558 (2.5) Make it possible to select method of bios restoring after S3
15559 resume. [=> no more ugly ifdefs] (Pavel Machek)
15560
15561 (2.5) Make proc write interfaces work (Pavel Machek)
15562
15563 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
15564
15565 (2.5) Break out ACPI Perf code into its own module, under cpufreq
15566 (Dominik Brodowski)
15567
15568 (2.4) S4BIOS support (Ducrot Bruno)
15569
15570 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
15571 Visinoni)
15572
15573
15574 3) iASL Compiler:
15575
15576 Added support to disassemble SSDT and PSDTs.
15577
15578 Implemented support to obtain SSDTs from the Windows registry if
15579 available.
15580
15581
15582 ----------------------------------------
15583 09 January 2003. Summary of changes for version 20030109.
15584
15585 1) ACPI CA Core Subsystem:
15586
15587 Changed the behavior of the internal Buffer-to-String conversion
15588 function. The current ACPI specification states that the contents
15589 of the buffer are "converted to a string of two-character
15590 hexadecimal numbers, each separated by a space". Unfortunately,
15591 this definition is not backwards compatible with existing ACPI 1.0
15592 implementations (although the behavior was not defined in the ACPI
15593 1.0 specification). The new behavior simply copies data from the
15594 buffer to the string until a null character is found or the end of
15595 the buffer is reached. The new String object is always null
15596 terminated. This problem was seen during the generation of _BIF
15597 battery data where incorrect strings were returned for battery
15598 type, etc. This will also require an errata to the ACPI
15599 specification.
15600
15601 Renamed all instances of NATIVE_UINT and NATIVE_INT to
15602 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
15603
15604 Copyright in all module headers (both Linux and non-Linux) has be
15605 updated to 2003.
15606
15607 Code and Data Size: Current core subsystem library sizes are shown
15608 below. These are the code and data sizes for the acpica.lib
15609 produced by the Microsoft Visual C++ 6.0 compiler, and these
15610 values do not include any ACPI driver or OSPM code. The debug
15611 version of the code includes the debug output trace mechanism and
15612 has a much larger code and data size. Note that these values will
15613 vary depending on the efficiency of the compiler and the compiler
15614 options used during generation.
15615
15616 Previous Release
15617 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15618 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15619 Current Release:
15620 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15621 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15622
15623
15624 2) Linux
15625
15626 Fixed an oops on module insertion/removal (Matthew Tippett)
15627
15628 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
15629
15630 (2.5) Replace pr_debug (Randy Dunlap)
15631
15632 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
15633
15634 (Both) Eliminate spawning of thread from timer callback, in favor
15635 of schedule_work()
15636
15637 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
15638
15639 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
15640
15641 (Both) Add missing statics to button.c (Pavel Machek)
15642
15643 Several changes have been made to the source code translation
15644 utility that generates the Linux Code in order to make the code
15645 more "Linux-like":
15646
15647 All typedefs on structs and unions have been removed in keeping
15648 with the Linux coding style.
15649
15650 Removed the non-Linux SourceSafe module revision number from each
15651 module header.
15652
15653 Completed major overhaul of symbols to be lowercase for linux.
15654 Doubled the number of symbols that are lowercase.
15655
15656 Fixed a problem where identifiers within procedure headers and
15657 within quotes were not fully lower cased (they were left with a
15658 starting capital.)
15659
15660 Some C macros whose only purpose is to allow the generation of 16-
15661 bit code are now completely removed in the Linux code, increasing
15662 readability and maintainability.
15663
15664 ----------------------------------------
15665
15666 12 December 2002. Summary of changes for version 20021212.
15667
15668
15669 1) ACPI CA Core Subsystem:
15670
15671 Fixed a problem where the creation of a zero-length AML Buffer
15672 would cause a fault.
15673
15674 Fixed a problem where a Buffer object that pointed to a static AML
15675 buffer (in an ACPI table) could inadvertently be deleted, causing
15676 memory corruption.
15677
15678 Fixed a problem where a user buffer (passed in to the external
15679 ACPI CA interfaces) could be overwritten if the buffer was too
15680 small to complete the operation, causing memory corruption.
15681
15682 Fixed a problem in the Buffer-to-String conversion code where a
15683 string of length one was always returned, regardless of the size
15684 of the input Buffer object.
15685
15686 Removed the NATIVE_CHAR data type across the entire source due to
15687 lack of need and lack of consistent use.
15688
15689 Code and Data Size: Current core subsystem library sizes are shown
15690 below. These are the code and data sizes for the acpica.lib
15691 produced by the Microsoft Visual C++ 6.0 compiler, and these
15692 values do not include any ACPI driver or OSPM code. The debug
15693 version of the code includes the debug output trace mechanism and
15694 has a much larger code and data size. Note that these values will
15695 vary depending on the efficiency of the compiler and the compiler
15696 options used during generation.
15697
15698 Previous Release
15699 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
15700 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
15701 Current Release:
15702 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15703 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15704
15705
15706 ----------------------------------------
15707 05 December 2002. Summary of changes for version 20021205.
15708
15709 1) ACPI CA Core Subsystem:
15710
15711 Fixed a problem where a store to a String or Buffer object could
15712 cause corruption of the DSDT if the object type being stored was
15713 the same as the target object type and the length of the object
15714 being stored was equal to or smaller than the original (existing)
15715 target object. This was seen to cause corruption of battery _BIF
15716 buffers if the _BIF method modified the buffer on the fly.
15717
15718 Fixed a problem where an internal error was generated if a control
15719 method invocation was used in an OperationRegion, Buffer, or
15720 Package declaration. This was caused by the deferred parsing of
15721 the control method and thus the deferred creation of the internal
15722 method object. The solution to this problem was to create the
15723 internal method object at the moment the method is encountered in
15724 the first pass - so that subsequent references to the method will
15725 able to obtain the required parameter count and thus properly
15726 parse the method invocation. This problem presented itself as an
15727 AE_AML_INTERNAL during the pass 1 parse phase during table load.
15728
15729 Fixed a problem where the internal String object copy routine did
15730 not always allocate sufficient memory for the target String object
15731 and caused memory corruption. This problem was seen to cause
15732 "Allocation already present in list!" errors as memory allocation
15733 became corrupted.
15734
15735 Implemented a new function for the evaluation of namespace objects
15736 that allows the specification of the allowable return object
15737 types. This simplifies a lot of code that checks for a return
15738 object of one or more specific objects returned from the
15739 evaluation (such as _STA, etc.) This may become and external
15740 function if it would be useful to ACPI-related drivers.
15741
15742 Completed another round of prefixing #defines with "ACPI_" for
15743 clarity.
15744
15745 Completed additional code restructuring to allow more modular
15746 linking for iASL compiler and AcpiExec. Several files were split
15747 creating new files. New files: nsparse.c dsinit.c evgpe.c
15748
15749 Implemented an abort mechanism to terminate an executing control
15750 method via the AML debugger. This feature is useful for debugging
15751 control methods that depend (wait) for specific hardware
15752 responses.
15753
15754 Code and Data Size: Current core subsystem library sizes are shown
15755 below. These are the code and data sizes for the acpica.lib
15756 produced by the Microsoft Visual C++ 6.0 compiler, and these
15757 values do not include any ACPI driver or OSPM code. The debug
15758 version of the code includes the debug output trace mechanism and
15759 has a much larger code and data size. Note that these values will
15760 vary depending on the efficiency of the compiler and the compiler
15761 options used during generation.
15762
15763 Previous Release
15764 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15765 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
15766 Current Release:
15767 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
15768 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
15769
15770
15771 2) iASL Compiler/Disassembler
15772
15773 Fixed a compiler code generation problem for "Interrupt" Resource
15774 Descriptors. If specified in the ASL, the optional "Resource
15775 Source Index" and "Resource Source" fields were not inserted into
15776 the correct location within the AML resource descriptor, creating
15777 an invalid descriptor.
15778
15779 Fixed a disassembler problem for "Interrupt" resource descriptors.
15780 The optional "Resource Source Index" and "Resource Source" fields
15781 were ignored.
15782
15783
15784 ----------------------------------------
15785 22 November 2002. Summary of changes for version 20021122.
15786
15787
15788 1) ACPI CA Core Subsystem:
15789
15790 Fixed a reported problem where an object stored to a Method Local
15791 or Arg was not copied to a new object during the store - the
15792 object pointer was simply copied to the Local/Arg. This caused
15793 all subsequent operations on the Local/Arg to also affect the
15794 original source of the store operation.
15795
15796 Fixed a problem where a store operation to a Method Local or Arg
15797 was not completed properly if the Local/Arg contained a reference
15798 (from RefOf) to a named field. The general-purpose store-to-
15799 namespace-node code is now used so that this case is handled
15800 automatically.
15801
15802 Fixed a problem where the internal object copy routine would cause
15803 a protection fault if the object being copied was a Package and
15804 contained either 1) a NULL package element or 2) a nested sub-
15805 package.
15806
15807 Fixed a problem with the GPE initialization that resulted from an
15808 ambiguity in the ACPI specification. One section of the
15809 specification states that both the address and length of the GPE
15810 block must be zero if the block is not supported. Another section
15811 implies that only the address need be zero if the block is not
15812 supported. The code has been changed so that both the address and
15813 the length must be non-zero to indicate a valid GPE block (i.e.,
15814 if either the address or the length is zero, the GPE block is
15815 invalid.)
15816
15817 Code and Data Size: Current core subsystem library sizes are shown
15818 below. These are the code and data sizes for the acpica.lib
15819 produced by the Microsoft Visual C++ 6.0 compiler, and these
15820 values do not include any ACPI driver or OSPM code. The debug
15821 version of the code includes the debug output trace mechanism and
15822 has a much larger code and data size. Note that these values will
15823 vary depending on the efficiency of the compiler and the compiler
15824 options used during generation.
15825
15826 Previous Release
15827 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
15828 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
15829 Current Release:
15830 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15831 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
15832
15833
15834 2) Linux
15835
15836 Cleaned up EC driver. Exported an external EC read/write
15837 interface. By going through this, other drivers (most notably
15838 sonypi) will be able to serialize access to the EC.
15839
15840
15841 3) iASL Compiler/Disassembler
15842
15843 Implemented support to optionally generate include files for both
15844 ASM and C (the -i switch). This simplifies BIOS development by
15845 automatically creating include files that contain external
15846 declarations for the symbols that are created within the
15847
15848 (optionally generated) ASM and C AML source files.
15849
15850
15851 ----------------------------------------
15852 15 November 2002. Summary of changes for version 20021115.
15853
15854 1) ACPI CA Core Subsystem:
15855
15856 Fixed a memory leak problem where an error during resolution of
15857
15858 method arguments during a method invocation from another method
15859 failed to cleanup properly by deleting all successfully resolved
15860 argument objects.
15861
15862 Fixed a problem where the target of the Index() operator was not
15863 correctly constructed if the source object was a package. This
15864 problem has not been detected because the use of a target operand
15865 with Index() is very rare.
15866
15867 Fixed a problem with the Index() operator where an attempt was
15868 made to delete the operand objects twice.
15869
15870 Fixed a problem where an attempt was made to delete an operand
15871 twice during execution of the CondRefOf() operator if the target
15872 did not exist.
15873
15874 Implemented the first of perhaps several internal create object
15875 functions that create and initialize a specific object type. This
15876 consolidates duplicated code wherever the object is created, thus
15877 shrinking the size of the subsystem.
15878
15879 Implemented improved debug/error messages for errors that occur
15880 during nested method invocations. All executing method pathnames
15881 are displayed (with the error) as the call stack is unwound - thus
15882 simplifying debug.
15883
15884 Fixed a problem introduced in the 10/02 release that caused
15885 premature deletion of a buffer object if a buffer was used as an
15886 ASL operand where an integer operand is required (Thus causing an
15887 implicit object conversion from Buffer to Integer.) The change in
15888 the 10/02 release was attempting to fix a memory leak (albeit
15889 incorrectly.)
15890
15891 Code and Data Size: Current core subsystem library sizes are shown
15892 below. These are the code and data sizes for the acpica.lib
15893 produced by the Microsoft Visual C++ 6.0 compiler, and these
15894 values do not include any ACPI driver or OSPM code. The debug
15895 version of the code includes the debug output trace mechanism and
15896 has a much larger code and data size. Note that these values will
15897 vary depending on the efficiency of the compiler and the compiler
15898 options used during generation.
15899
15900 Previous Release
15901 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
15902 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
15903 Current Release:
15904 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
15905 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
15906
15907
15908 2) Linux
15909
15910 Changed the implementation of the ACPI semaphores to use down()
15911 instead of down_interruptable(). It is important that the
15912 execution of ACPI control methods not be interrupted by signals.
15913 Methods must run to completion, or the system may be left in an
15914 unknown/unstable state.
15915
15916 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
15917 (Shawn Starr)
15918
15919
15920 3) iASL Compiler/Disassembler
15921
15922
15923 Changed the default location of output files. All output files
15924 are now placed in the current directory by default instead of in
15925 the directory of the source file. This change may affect some
15926 existing makefiles, but it brings the behavior of the compiler in
15927 line with other similar tools. The location of the output files
15928 can be overridden with the -p command line switch.
15929
15930
15931 ----------------------------------------
15932 11 November 2002. Summary of changes for version 20021111.
15933
15934
15935 0) ACPI Specification 2.0B is released and is now available at:
15936 http://www.acpi.info/index.html
15937
15938
15939 1) ACPI CA Core Subsystem:
15940
15941 Implemented support for the ACPI 2.0 SMBus Operation Regions.
15942 This includes the early detection and handoff of the request to
15943 the SMBus region handler (avoiding all of the complex field
15944 support code), and support for the bidirectional return packet
15945 from an SMBus write operation. This paves the way for the
15946 development of SMBus drivers in each host operating system.
15947
15948 Fixed a problem where the semaphore WAIT_FOREVER constant was
15949 defined as 32 bits, but must be 16 bits according to the ACPI
15950 specification. This had the side effect of causing ASL
15951 Mutex/Event timeouts even though the ASL code requested a wait
15952 forever. Changed all internal references to the ACPI timeout
15953 parameter to 16 bits to prevent future problems. Changed the name
15954 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
15955
15956 Code and Data Size: Current core subsystem library sizes are shown
15957 below. These are the code and data sizes for the acpica.lib
15958 produced by the Microsoft Visual C++ 6.0 compiler, and these
15959 values do not include any ACPI driver or OSPM code. The debug
15960 version of the code includes the debug output trace mechanism and
15961 has a much larger code and data size. Note that these values will
15962 vary depending on the efficiency of the compiler and the compiler
15963 options used during generation.
15964
15965 Previous Release
15966 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15967 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
15968 Current Release:
15969 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
15970 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
15971
15972
15973 2) Linux
15974
15975 Module loading/unloading fixes (John Cagle)
15976
15977
15978 3) iASL Compiler/Disassembler
15979
15980 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
15981
15982 Implemented support for the disassembly of all SMBus protocol
15983 keywords (SMBQuick, SMBWord, etc.)
15984
15985 ----------------------------------------
15986 01 November 2002. Summary of changes for version 20021101.
15987
15988
15989 1) ACPI CA Core Subsystem:
15990
15991 Fixed a problem where platforms that have a GPE1 block but no GPE0
15992 block were not handled correctly. This resulted in a "GPE
15993 overlap" error message. GPE0 is no longer required.
15994
15995 Removed code added in the previous release that inserted nodes
15996 into the namespace in alphabetical order. This caused some side-
15997 effects on various machines. The root cause of the problem is
15998 still under investigation since in theory, the internal ordering
15999 of the namespace nodes should not matter.
16000
16001
16002 Enhanced error reporting for the case where a named object is not
16003 found during control method execution. The full ACPI namepath
16004 (name reference) of the object that was not found is displayed in
16005 this case.
16006
16007 Note: as a result of the overhaul of the namespace object types in
16008 the previous release, the namespace nodes for the predefined
16009 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
16010 instead of ACPI_TYPE_ANY. This simplifies the namespace
16011 management code but may affect code that walks the namespace tree
16012 looking for specific object types.
16013
16014 Code and Data Size: Current core subsystem library sizes are shown
16015 below. These are the code and data sizes for the acpica.lib
16016 produced by the Microsoft Visual C++ 6.0 compiler, and these
16017 values do not include any ACPI driver or OSPM code. The debug
16018 version of the code includes the debug output trace mechanism and
16019 has a much larger code and data size. Note that these values will
16020 vary depending on the efficiency of the compiler and the compiler
16021 options used during generation.
16022
16023 Previous Release
16024 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
16025 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
16026 Current Release:
16027 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
16028 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
16029
16030
16031 2) Linux
16032
16033 Fixed a problem introduced in the previous release where the
16034 Processor and Thermal objects were not recognized and installed in
16035 /proc. This was related to the scope type change described above.
16036
16037
16038 3) iASL Compiler/Disassembler
16039
16040 Implemented the -g option to get all of the required ACPI tables
16041 from the registry and save them to files (Windows version of the
16042 compiler only.) The required tables are the FADT, FACS, and DSDT.
16043
16044 Added ACPI table checksum validation during table disassembly in
16045 order to catch corrupted tables.
16046
16047
16048 ----------------------------------------
16049 22 October 2002. Summary of changes for version 20021022.
16050
16051 1) ACPI CA Core Subsystem:
16052
16053 Implemented a restriction on the Scope operator that the target
16054 must already exist in the namespace at the time the operator is
16055 encountered (during table load or method execution). In other
16056 words, forward references are not allowed and Scope() cannot
16057 create a new object. This changes the previous behavior where the
16058 interpreter would create the name if not found. This new behavior
16059 correctly enables the search-to-root algorithm during namespace
16060 lookup of the target name. Because of this upsearch, this fixes
16061 the known Compaq _SB_.OKEC problem and makes both the AML
16062 interpreter and iASL compiler compatible with other ACPI
16063 implementations.
16064
16065 Completed a major overhaul of the internal ACPI object types for
16066 the ACPI Namespace and the associated operand objects. Many of
16067 these types had become obsolete with the introduction of the two-
16068 pass namespace load. This cleanup simplifies the code and makes
16069 the entire namespace load mechanism much clearer and easier to
16070 understand.
16071
16072 Improved debug output for tracking scope opening/closing to help
16073 diagnose scoping issues. The old scope name as well as the new
16074 scope name are displayed. Also improved error messages for
16075 problems with ASL Mutex objects and error messages for GPE
16076 problems.
16077
16078 Cleaned up the namespace dump code, removed obsolete code.
16079
16080 All string output (for all namespace/object dumps) now uses the
16081 common ACPI string output procedure which handles escapes properly
16082 and does not emit non-printable characters.
16083
16084 Fixed some issues with constants in the 64-bit version of the
16085 local C library (utclib.c)
16086
16087
16088 2) Linux
16089
16090 EC Driver: No longer attempts to acquire the Global Lock at
16091 interrupt level.
16092
16093
16094 3) iASL Compiler/Disassembler
16095
16096 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
16097 2 opcodes outside of a control method. This means that the
16098 "executable" operators (versus the "namespace" operators) cannot
16099 be used at the table level; they can only be used within a control
16100 method.
16101
16102 Implemented the restriction on the Scope() operator where the
16103 target must already exist in the namespace at the time the
16104 operator is encountered (during ASL compilation). In other words,
16105 forward references are not allowed and Scope() cannot create a new
16106 object. This makes the iASL compiler compatible with other ACPI
16107 implementations and makes the Scope() implementation adhere to the
16108 ACPI specification.
16109
16110 Fixed a problem where namepath optimization for the Alias operator
16111 was optimizing the wrong path (of the two namepaths.) This caused
16112 a "Missing alias link" error message.
16113
16114 Fixed a problem where an "unknown reserved name" warning could be
16115 incorrectly generated for names like "_SB" when the trailing
16116 underscore is not used in the original ASL.
16117
16118 Fixed a problem where the reserved name check did not handle
16119 NamePaths with multiple NameSegs correctly. The first nameseg of
16120 the NamePath was examined instead of the last NameSeg.
16121
16122
16123 ----------------------------------------
16124
16125 02 October 2002. Summary of changes for this release.
16126
16127
16128 1) ACPI CA Core Subsystem version 20021002:
16129
16130 Fixed a problem where a store/copy of a string to an existing
16131 string did not always set the string length properly in the String
16132 object.
16133
16134 Fixed a reported problem with the ToString operator where the
16135 behavior was identical to the ToHexString operator instead of just
16136 simply converting a raw buffer to a string data type.
16137
16138 Fixed a problem where CopyObject and the other "explicit"
16139 conversion operators were not updating the internal namespace node
16140 type as part of the store operation.
16141
16142 Fixed a memory leak during implicit source operand conversion
16143 where the original object was not deleted if it was converted to a
16144 new object of a different type.
16145
16146 Enhanced error messages for all problems associated with namespace
16147 lookups. Common procedure generates and prints the lookup name as
16148 well as the formatted status.
16149
16150 Completed implementation of a new design for the Alias support
16151 within the namespace. The existing design did not handle the case
16152 where a new object was assigned to one of the two names due to the
16153 use of an explicit conversion operator, resulting in the two names
16154 pointing to two different objects. The new design simply points
16155 the Alias name to the original name node - not to the object.
16156 This results in a level of indirection that must be handled in the
16157 name resolution mechanism.
16158
16159 Code and Data Size: Current core subsystem library sizes are shown
16160 below. These are the code and data sizes for the acpica.lib
16161 produced by the Microsoft Visual C++ 6.0 compiler, and these
16162 values do not include any ACPI driver or OSPM code. The debug
16163 version of the code includes the debug output trace mechanism and
16164 has a larger code and data size. Note that these values will vary
16165 depending on the efficiency of the compiler and the compiler
16166 options used during generation.
16167
16168 Previous Release
16169 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
16170 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
16171 Current Release:
16172 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
16173 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
16174
16175
16176 2) Linux
16177
16178 Initialize thermal driver's timer before it is used. (Knut
16179 Neumann)
16180
16181 Allow handling negative celsius values. (Kochi Takayoshi)
16182
16183 Fix thermal management and make trip points. R/W (Pavel Machek)
16184
16185 Fix /proc/acpi/sleep. (P. Christeas)
16186
16187 IA64 fixes. (David Mosberger)
16188
16189 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
16190
16191 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
16192 Brodowski)
16193
16194
16195 3) iASL Compiler/Disassembler
16196
16197 Clarified some warning/error messages.
16198
16199
16200 ----------------------------------------
16201 18 September 2002. Summary of changes for this release.
16202
16203
16204 1) ACPI CA Core Subsystem version 20020918:
16205
16206 Fixed a reported problem with reference chaining (via the Index()
16207 and RefOf() operators) in the ObjectType() and SizeOf() operators.
16208 The definition of these operators includes the dereferencing of
16209 all chained references to return information on the base object.
16210
16211 Fixed a problem with stores to indexed package elements - the
16212 existing code would not complete the store if an "implicit
16213 conversion" was not performed. In other words, if the existing
16214 object (package element) was to be replaced completely, the code
16215 didn't handle this case.
16216
16217 Relaxed typechecking on the ASL "Scope" operator to allow the
16218 target name to refer to an object of type Integer, String, or
16219 Buffer, in addition to the scoping object types (Device,
16220 predefined Scopes, Processor, PowerResource, and ThermalZone.)
16221 This allows existing AML code that has workarounds for a bug in
16222 Windows to function properly. A warning is issued, however. This
16223 affects both the AML interpreter and the iASL compiler. Below is
16224 an example of this type of ASL code:
16225
16226 Name(DEB,0x00)
16227 Scope(DEB)
16228 {
16229
16230 Fixed some reported problems with 64-bit integer support in the
16231 local implementation of C library functions (clib.c)
16232
16233
16234 2) Linux
16235
16236 Use ACPI fix map region instead of IOAPIC region, since it is
16237 undefined in non-SMP.
16238
16239 Ensure that the SCI has the proper polarity and trigger, even on
16240 systems that do not have an interrupt override entry in the MADT.
16241
16242 2.5 big driver reorganization (Pat Mochel)
16243
16244 Use early table mapping code from acpitable.c (Andi Kleen)
16245
16246 New blacklist entries (Andi Kleen)
16247
16248 Blacklist improvements. Split blacklist code out into a separate
16249 file. Move checking the blacklist to very early. Previously, we
16250 would use ACPI tables, and then halfway through init, check the
16251 blacklist -- too late. Now, it's early enough to completely fall-
16252 back to non-ACPI.
16253
16254
16255 3) iASL Compiler/Disassembler version 20020918:
16256
16257 Fixed a problem where the typechecking code didn't know that an
16258 alias could point to a method. In other words, aliases were not
16259 being dereferenced during typechecking.
16260
16261
16262 ----------------------------------------
16263 29 August 2002. Summary of changes for this release.
16264
16265 1) ACPI CA Core Subsystem Version 20020829:
16266
16267 If the target of a Scope() operator already exists, it must be an
16268 object type that actually opens a scope -- such as a Device,
16269 Method, Scope, etc. This is a fatal runtime error. Similar error
16270 check has been added to the iASL compiler also.
16271
16272 Tightened up the namespace load to disallow multiple names in the
16273 same scope. This previously was allowed if both objects were of
16274 the same type. (i.e., a lookup was the same as entering a new
16275 name).
16276
16277
16278 2) Linux
16279
16280 Ensure that the ACPI interrupt has the proper trigger and
16281 polarity.
16282
16283 local_irq_disable is extraneous. (Matthew Wilcox)
16284
16285 Make "acpi=off" actually do what it says, and not use the ACPI
16286 interpreter *or* the tables.
16287
16288 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
16289 Takayoshi)
16290
16291
16292 3) iASL Compiler/Disassembler Version 20020829:
16293
16294 Implemented namepath optimization for name declarations. For
16295 example, a declaration like "Method (\_SB_.ABCD)" would get
16296 optimized to "Method (ABCD)" if the declaration is within the
16297 \_SB_ scope. This optimization is in addition to the named
16298 reference path optimization first released in the previous
16299 version. This would seem to complete all possible optimizations
16300 for namepaths within the ASL/AML.
16301
16302 If the target of a Scope() operator already exists, it must be an
16303 object type that actually opens a scope -- such as a Device,
16304 Method, Scope, etc.
16305
16306 Implemented a check and warning for unreachable code in the same
16307 block below a Return() statement.
16308
16309 Fixed a problem where the listing file was not generated if the
16310 compiler aborted if the maximum error count was exceeded (200).
16311
16312 Fixed a problem where the typechecking of method return values was
16313 broken. This includes the check for a return value when the
16314 method is invoked as a TermArg (a return value is expected.)
16315
16316 Fixed a reported problem where EOF conditions during a quoted
16317 string or comment caused a fault.
16318
16319
16320 ----------------------------------------
16321 15 August 2002. Summary of changes for this release.
16322
16323 1) ACPI CA Core Subsystem Version 20020815:
16324
16325 Fixed a reported problem where a Store to a method argument that
16326 contains a reference did not perform the indirect store correctly.
16327 This problem was created during the conversion to the new
16328 reference object model - the indirect store to a method argument
16329 code was not updated to reflect the new model.
16330
16331 Reworked the ACPI mode change code to better conform to ACPI 2.0,
16332 handle corner cases, and improve code legibility (Kochi Takayoshi)
16333
16334 Fixed a problem with the pathname parsing for the carat (^)
16335 prefix. The heavy use of the carat operator by the new namepath
16336 optimization in the iASL compiler uncovered a problem with the AML
16337 interpreter handling of this prefix. In the case where one or
16338 more carats precede a single nameseg, the nameseg was treated as
16339 standalone and the search rule (to root) was inadvertently
16340 applied. This could cause both the iASL compiler and the
16341 interpreter to find the wrong object or to miss the error that
16342 should occur if the object does not exist at that exact pathname.
16343
16344 Found and fixed the problem where the HP Pavilion DSDT would not
16345 load. This was a relatively minor tweak to the table loading code
16346 (a problem caused by the unexpected encounter with a method
16347 invocation not within a control method), but it does not solve the
16348 overall issue of the execution of AML code at the table level.
16349 This investigation is still ongoing.
16350
16351 Code and Data Size: Current core subsystem library sizes are shown
16352 below. These are the code and data sizes for the acpica.lib
16353 produced by the Microsoft Visual C++ 6.0 compiler, and these
16354 values do not include any ACPI driver or OSPM code. The debug
16355 version of the code includes the debug output trace mechanism and
16356 has a larger code and data size. Note that these values will vary
16357 depending on the efficiency of the compiler and the compiler
16358 options used during generation.
16359
16360 Previous Release
16361 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
16362 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
16363 Current Release:
16364 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
16365 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
16366
16367
16368 2) Linux
16369
16370 Remove redundant slab.h include (Brad Hards)
16371
16372 Fix several bugs in thermal.c (Herbert Nachtnebel)
16373
16374 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
16375
16376 Change acpi_system_suspend to use updated irq functions (Pavel
16377 Machek)
16378
16379 Export acpi_get_firmware_table (Matthew Wilcox)
16380
16381 Use proper root proc entry for ACPI (Kochi Takayoshi)
16382
16383 Fix early-boot table parsing (Bjorn Helgaas)
16384
16385
16386 3) iASL Compiler/Disassembler
16387
16388 Reworked the compiler options to make them more consistent and to
16389 use two-letter options where appropriate. We were running out of
16390 sensible letters. This may break some makefiles, so check the
16391 current options list by invoking the compiler with no parameters.
16392
16393 Completed the design and implementation of the ASL namepath
16394 optimization option for the compiler. This option optimizes all
16395 references to named objects to the shortest possible path. The
16396 first attempt tries to utilize a single nameseg (4 characters) and
16397 the "search-to-root" algorithm used by the interpreter. If that
16398 cannot be used (because either the name is not in the search path
16399 or there is a conflict with another object with the same name),
16400 the pathname is optimized using the carat prefix (usually a
16401 shorter string than specifying the entire path from the root.)
16402
16403 Implemented support to obtain the DSDT from the Windows registry
16404 (when the disassembly option is specified with no input file).
16405 Added this code as the implementation for AcpiOsTableOverride in
16406 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
16407 utility) to scan memory for the DSDT to the AcpiOsTableOverride
16408 function in the DOS OSL to make the disassembler truly OS
16409 independent.
16410
16411 Implemented a new option to disassemble and compile in one step.
16412 When used without an input filename, this option will grab the
16413 DSDT from the local machine, disassemble it, and compile it in one
16414 step.
16415
16416 Added a warning message for invalid escapes (a backslash followed
16417 by any character other than the allowable escapes). This catches
16418 the quoted string error "\_SB_" (which should be "\\_SB_" ).
16419
16420 Also, there are numerous instances in the ACPI specification where
16421 this error occurs.
16422
16423 Added a compiler option to disable all optimizations. This is
16424 basically the "compatibility mode" because by using this option,
16425 the AML code will come out exactly the same as other ASL
16426 compilers.
16427
16428 Added error messages for incorrectly ordered dependent resource
16429 functions. This includes: missing EndDependentFn macro at end of
16430 dependent resource list, nested dependent function macros (both
16431 start and end), and missing StartDependentFn macro. These are
16432 common errors that should be caught at compile time.
16433
16434 Implemented _OSI support for the disassembler and compiler. _OSI
16435 must be included in the namespace for proper disassembly (because
16436 the disassembler must know the number of arguments.)
16437
16438 Added an "optimization" message type that is optional (off by
16439 default). This message is used for all optimizations - including
16440 constant folding, integer optimization, and namepath optimization.
16441
16442 ----------------------------------------
16443 25 July 2002. Summary of changes for this release.
16444
16445
16446 1) ACPI CA Core Subsystem Version 20020725:
16447
16448 The AML Disassembler has been enhanced to produce compilable ASL
16449 code and has been integrated into the iASL compiler (see below) as
16450 well as the single-step disassembly for the AML debugger and the
16451 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
16452 resource templates and macros are fully supported. The
16453 disassembler has been tested on over 30 different AML files,
16454 producing identical AML when the resulting disassembled ASL file
16455 is recompiled with the same ASL compiler.
16456
16457 Modified the Resource Manager to allow zero interrupts and zero
16458 dma channels during the GetCurrentResources call. This was
16459 causing problems on some platforms.
16460
16461 Added the AcpiOsRedirectOutput interface to the OSL to simplify
16462 output redirection for the AcpiOsPrintf and AcpiOsVprintf
16463 interfaces.
16464
16465 Code and Data Size: Current core subsystem library sizes are shown
16466 below. These are the code and data sizes for the acpica.lib
16467 produced by the Microsoft Visual C++ 6.0 compiler, and these
16468 values do not include any ACPI driver or OSPM code. The debug
16469 version of the code includes the debug output trace mechanism and
16470 has a larger code and data size. Note that these values will vary
16471 depending on the efficiency of the compiler and the compiler
16472 options used during generation.
16473
16474 Previous Release
16475 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
16476 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
16477 Current Release:
16478 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
16479 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
16480
16481
16482 2) Linux
16483
16484 Fixed a panic in the EC driver (Dominik Brodowski)
16485
16486 Implemented checksum of the R/XSDT itself during Linux table scan
16487 (Richard Schaal)
16488
16489
16490 3) iASL compiler
16491
16492 The AML disassembler is integrated into the compiler. The "-d"
16493 option invokes the disassembler to completely disassemble an
16494 input AML file, producing as output a text ASL file with the
16495 extension ".dsl" (to avoid name collisions with existing .asl
16496 source files.) A future enhancement will allow the disassembler
16497 to obtain the BIOS DSDT from the registry under Windows.
16498
16499 Fixed a problem with the VendorShort and VendorLong resource
16500 descriptors where an invalid AML sequence was created.
16501
16502 Implemented a fix for BufferData term in the ASL parser. It was
16503 inadvertently defined twice, allowing invalid syntax to pass and
16504 causing reduction conflicts.
16505
16506 Fixed a problem where the Ones opcode could get converted to a
16507 value of zero if "Ones" was used where a byte, word or dword value
16508 was expected. The 64-bit value is now truncated to the correct
16509 size with the correct value.
16510
16511
16512
16513 ----------------------------------------
16514 02 July 2002. Summary of changes for this release.
16515
16516
16517 1) ACPI CA Core Subsystem Version 20020702:
16518
16519 The Table Manager code has been restructured to add several new
16520 features. Tables that are not required by the core subsystem
16521 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
16522 validated in any way and are returned from AcpiGetFirmwareTable if
16523 requested. The AcpiOsTableOverride interface is now called for
16524 each table that is loaded by the subsystem in order to allow the
16525 host to override any table it chooses. Previously, only the DSDT
16526 could be overridden. Added one new files, tbrsdt.c and
16527 tbgetall.c.
16528
16529 Fixed a problem with the conversion of internal package objects to
16530 external objects (when a package is returned from a control
16531 method.) The return buffer length was set to zero instead of the
16532 proper length of the package object.
16533
16534 Fixed a reported problem with the use of the RefOf and DeRefOf
16535 operators when passing reference arguments to control methods. A
16536 new type of Reference object is used internally for references
16537 produced by the RefOf operator.
16538
16539 Added additional error messages in the Resource Manager to explain
16540 AE_BAD_DATA errors when they occur during resource parsing.
16541
16542 Split the AcpiEnableSubsystem into two primitives to enable a
16543 finer granularity initialization sequence. These two calls should
16544 be called in this order: AcpiEnableSubsystem (flags),
16545 AcpiInitializeObjects (flags). The flags parameter remains the
16546 same.
16547
16548
16549 2) Linux
16550
16551 Updated the ACPI utilities module to understand the new style of
16552 fully resolved package objects that are now returned from the core
16553 subsystem. This eliminates errors of the form:
16554
16555 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
16556 acpi_utils-0430 [145] acpi_evaluate_reference:
16557 Invalid element in package (not a device reference)
16558
16559 The method evaluation utility uses the new buffer allocation
16560 scheme instead of calling AcpiEvaluate Object twice.
16561
16562 Added support for ECDT. This allows the use of the Embedded
16563
16564 Controller before the namespace has been fully initialized, which
16565 is necessary for ACPI 2.0 support, and for some laptops to
16566 initialize properly. (Laptops using ECDT are still rare, so only
16567 limited testing was performed of the added functionality.)
16568
16569 Fixed memory leaks in the EC driver.
16570
16571 Eliminated a brittle code structure in acpi_bus_init().
16572
16573 Eliminated the acpi_evaluate() helper function in utils.c. It is
16574 no longer needed since acpi_evaluate_object can optionally
16575 allocate memory for the return object.
16576
16577 Implemented fix for keyboard hang when getting battery readings on
16578 some systems (Stephen White)
16579
16580 PCI IRQ routing update (Dominik Brodowski)
16581
16582 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
16583 support
16584
16585 ----------------------------------------
16586 11 June 2002. Summary of changes for this release.
16587
16588
16589 1) ACPI CA Core Subsystem Version 20020611:
16590
16591 Fixed a reported problem where constants such as Zero and One
16592 appearing within _PRT packages were not handled correctly within
16593 the resource manager code. Originally reported against the ASL
16594 compiler because the code generator now optimizes integers to
16595 their minimal AML representation (i.e. AML constants if possible.)
16596 The _PRT code now handles all AML constant opcodes correctly
16597 (Zero, One, Ones, Revision).
16598
16599 Fixed a problem with the Concatenate operator in the AML
16600 interpreter where a buffer result object was incorrectly marked as
16601 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
16602
16603 All package sub-objects are now fully resolved before they are
16604 returned from the external ACPI interfaces. This means that name
16605 strings are resolved to object handles, and constant operators
16606 (Zero, One, Ones, Revision) are resolved to Integers.
16607
16608 Implemented immediate resolution of the AML Constant opcodes
16609 (Zero, One, Ones, Revision) to Integer objects upon detection
16610 within the AML stream. This has simplified and reduced the
16611 generated code size of the subsystem by eliminating about 10
16612 switch statements for these constants (which previously were
16613 contained in Reference objects.) The complicating issues are that
16614 the Zero opcode is used as a "placeholder" for unspecified
16615 optional target operands and stores to constants are defined to be
16616 no-ops.
16617
16618 Code and Data Size: Current core subsystem library sizes are shown
16619 below. These are the code and data sizes for the acpica.lib
16620 produced by the Microsoft Visual C++ 6.0 compiler, and these
16621 values do not include any ACPI driver or OSPM code. The debug
16622 version of the code includes the debug output trace mechanism and
16623 has a larger code and data size. Note that these values will vary
16624 depending on the efficiency of the compiler and the compiler
16625 options used during generation.
16626
16627 Previous Release
16628 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
16629 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
16630 Current Release:
16631 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
16632 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
16633
16634
16635 2) Linux
16636
16637
16638 Added preliminary support for obtaining _TRA data for PCI root
16639 bridges (Bjorn Helgaas).
16640
16641
16642 3) iASL Compiler Version X2046:
16643
16644 Fixed a problem where the "_DDN" reserved name was defined to be a
16645 control method with one argument. There are no arguments, and
16646 _DDN does not have to be a control method.
16647
16648 Fixed a problem with the Linux version of the compiler where the
16649 source lines printed with error messages were the wrong lines.
16650 This turned out to be the "LF versus CR/LF" difference between
16651 Windows and Unix. This appears to be the longstanding issue
16652 concerning listing output and error messages.
16653
16654 Fixed a problem with the Linux version of compiler where opcode
16655 names within error messages were wrong. This was caused by a
16656 slight difference in the output of the Flex tool on Linux versus
16657 Windows.
16658
16659 Fixed a problem with the Linux compiler where the hex output files
16660 contained some garbage data caused by an internal buffer overrun.
16661
16662
16663 ----------------------------------------
16664 17 May 2002. Summary of changes for this release.
16665
16666
16667 1) ACPI CA Core Subsystem Version 20020517:
16668
16669 Implemented a workaround to an BIOS bug discovered on the HP
16670 OmniBook where the FADT revision number and the table size are
16671 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
16672 behavior is to fallback to using only the ACPI 1.0 fields of the
16673 FADT if the table is too small to be a ACPI 2.0 table as claimed
16674 by the revision number. Although this is a BIOS bug, this is a
16675 case where the workaround is simple enough and with no side
16676 effects, so it seemed prudent to add it. A warning message is
16677 issued, however.
16678
16679 Implemented minimum size checks for the fixed-length ACPI tables -
16680 - the FADT and FACS, as well as consistency checks between the
16681 revision number and the table size.
16682
16683 Fixed a reported problem in the table override support where the
16684 new table pointer was incorrectly treated as a physical address
16685 instead of a logical address.
16686
16687 Eliminated the use of the AE_AML_ERROR exception and replaced it
16688 with more descriptive codes.
16689
16690 Fixed a problem where an exception would occur if an ASL Field was
16691 defined with no named Field Units underneath it (used by some
16692 index fields).
16693
16694 Code and Data Size: Current core subsystem library sizes are shown
16695 below. These are the code and data sizes for the acpica.lib
16696 produced by the Microsoft Visual C++ 6.0 compiler, and these
16697 values do not include any ACPI driver or OSPM code. The debug
16698 version of the code includes the debug output trace mechanism and
16699 has a larger code and data size. Note that these values will vary
16700 depending on the efficiency of the compiler and the compiler
16701 options used during generation.
16702
16703 Previous Release
16704 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
16705 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
16706 Current Release:
16707 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
16708 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
16709
16710
16711
16712 2) Linux
16713
16714 Much work done on ACPI init (MADT and PCI IRQ routing support).
16715 (Paul D. and Dominik Brodowski)
16716
16717 Fix PCI IRQ-related panic on boot (Sam Revitch)
16718
16719 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
16720
16721 Fix "MHz" typo (Dominik Brodowski)
16722
16723 Fix RTC year 2000 issue (Dominik Brodowski)
16724
16725 Preclude multiple button proc entries (Eric Brunet)
16726
16727 Moved arch-specific code out of include/platform/aclinux.h
16728
16729 3) iASL Compiler Version X2044:
16730
16731 Implemented error checking for the string used in the EISAID macro
16732 (Usually used in the definition of the _HID object.) The code now
16733 strictly enforces the PnP format - exactly 7 characters, 3
16734 uppercase letters and 4 hex digits.
16735
16736 If a raw string is used in the definition of the _HID object
16737 (instead of the EISAID macro), the string must contain all
16738 alphanumeric characters (e.g., "*PNP0011" is not allowed because
16739 of the asterisk.)
16740
16741 Implemented checking for invalid use of ACPI reserved names for
16742 most of the name creation operators (Name, Device, Event, Mutex,
16743 OperationRegion, PowerResource, Processor, and ThermalZone.)
16744 Previously, this check was only performed for control methods.
16745
16746 Implemented an additional check on the Name operator to emit an
16747 error if a reserved name that must be implemented in ASL as a
16748 control method is used. We know that a reserved name must be a
16749 method if it is defined with input arguments.
16750
16751 The warning emitted when a namespace object reference is not found
16752 during the cross reference phase has been changed into an error.
16753 The "External" directive should be used for names defined in other
16754 modules.
16755
16756
16757 4) Tools and Utilities
16758
16759 The 16-bit tools (adump16 and aexec16) have been regenerated and
16760 tested.
16761
16762 Fixed a problem with the output of both acpidump and adump16 where
16763 the indentation of closing parentheses and brackets was not
16764
16765 aligned properly with the parent block.
16766
16767
16768 ----------------------------------------
16769 03 May 2002. Summary of changes for this release.
16770
16771
16772 1) ACPI CA Core Subsystem Version 20020503:
16773
16774 Added support a new OSL interface that allows the host operating
16775
16776 system software to override the DSDT found in the firmware -
16777 AcpiOsTableOverride. With this interface, the OSL can examine the
16778 version of the firmware DSDT and replace it with a different one
16779 if desired.
16780
16781 Added new external interfaces for accessing ACPI registers from
16782 device drivers and other system software - AcpiGetRegister and
16783 AcpiSetRegister. This was simply an externalization of the
16784 existing AcpiHwBitRegister interfaces.
16785
16786 Fixed a regression introduced in the previous build where the
16787 ASL/AML CreateField operator always returned an error,
16788 "destination must be a NS Node".
16789
16790 Extended the maximum time (before failure) to successfully enable
16791 ACPI mode to 3 seconds.
16792
16793 Code and Data Size: Current core subsystem library sizes are shown
16794 below. These are the code and data sizes for the acpica.lib
16795 produced by the Microsoft Visual C++ 6.0 compiler, and these
16796 values do not include any ACPI driver or OSPM code. The debug
16797 version of the code includes the debug output trace mechanism and
16798 has a larger code and data size. Note that these values will vary
16799 depending on the efficiency of the compiler and the compiler
16800 options used during generation.
16801
16802 Previous Release
16803 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
16804 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
16805 Current Release:
16806 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
16807 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
16808
16809
16810 2) Linux
16811
16812 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
16813 free. While 3 out of 4 of our in-house systems work fine, the last
16814 one still hangs when testing the LAPIC timer.
16815
16816 Renamed many files in 2.5 kernel release to omit "acpi_" from the
16817 name.
16818
16819 Added warning on boot for Presario 711FR.
16820
16821 Sleep improvements (Pavel Machek)
16822
16823 ACPI can now be built without CONFIG_PCI enabled.
16824
16825 IA64: Fixed memory map functions (JI Lee)
16826
16827
16828 3) iASL Compiler Version X2043:
16829
16830 Added support to allow the compiler to be integrated into the MS
16831 VC++ development environment for one-button compilation of single
16832 files or entire projects -- with error-to-source-line mapping.
16833
16834 Implemented support for compile-time constant folding for the
16835 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
16836 specification. This allows the ASL writer to use expressions
16837 instead of Integer/Buffer/String constants in terms that must
16838 evaluate to constants at compile time and will also simplify the
16839 emitted AML in any such sub-expressions that can be folded
16840 (evaluated at compile-time.) This increases the size of the
16841 compiler significantly because a portion of the ACPI CA AML
16842 interpreter is included within the compiler in order to pre-
16843 evaluate constant expressions.
16844
16845
16846 Fixed a problem with the "Unicode" ASL macro that caused the
16847 compiler to fault. (This macro is used in conjunction with the
16848 _STR reserved name.)
16849
16850 Implemented an AML opcode optimization to use the Zero, One, and
16851 Ones opcodes where possible to further reduce the size of integer
16852 constants and thus reduce the overall size of the generated AML
16853 code.
16854
16855 Implemented error checking for new reserved terms for ACPI version
16856 2.0A.
16857
16858 Implemented the -qr option to display the current list of ACPI
16859 reserved names known to the compiler.
16860
16861 Implemented the -qc option to display the current list of ASL
16862 operators that are allowed within constant expressions and can
16863 therefore be folded at compile time if the operands are constants.
16864
16865
16866 4) Documentation
16867
16868 Updated the Programmer's Reference for new interfaces, data types,
16869 and memory allocation model options.
16870
16871 Updated the iASL Compiler User Reference to apply new format and
16872 add information about new features and options.
16873
16874 ----------------------------------------
16875 19 April 2002. Summary of changes for this release.
16876
16877 1) ACPI CA Core Subsystem Version 20020419:
16878
16879 The source code base for the Core Subsystem has been completely
16880 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
16881 versions. The Lint option files used are included in the
16882 /acpi/generate/lint directory.
16883
16884 Implemented enhanced status/error checking across the entire
16885 Hardware manager subsystem. Any hardware errors (reported from
16886 the OSL) are now bubbled up and will abort a running control
16887 method.
16888
16889
16890 Fixed a problem where the per-ACPI-table integer width (32 or 64)
16891 was stored only with control method nodes, causing a fault when
16892 non-control method code was executed during table loading. The
16893 solution implemented uses a global variable to indicate table
16894 width across the entire ACPI subsystem. Therefore, ACPI CA does
16895 not support mixed integer widths across different ACPI tables
16896 (DSDT, SSDT).
16897
16898 Fixed a problem where NULL extended fields (X fields) in an ACPI
16899 2.0 ACPI FADT caused the table load to fail. Although the
16900 existing ACPI specification is a bit fuzzy on this topic, the new
16901 behavior is to fall back on a ACPI 1.0 field if the corresponding
16902 ACPI 2.0 X field is zero (even though the table revision indicates
16903 a full ACPI 2.0 table.) The ACPI specification will be updated to
16904 clarify this issue.
16905
16906 Fixed a problem with the SystemMemory operation region handler
16907 where memory was always accessed byte-wise even if the AML-
16908 specified access width was larger than a byte. This caused
16909 problems on systems with memory-mapped I/O. Memory is now
16910 accessed with the width specified. On systems that do not support
16911 non-aligned transfers, a check is made to guarantee proper address
16912 alignment before proceeding in order to avoid an AML-caused
16913 alignment fault within the kernel.
16914
16915
16916 Fixed a problem with the ExtendedIrq resource where only one byte
16917 of the 4-byte Irq field was extracted.
16918
16919 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
16920 function was out of date and required a rewrite.
16921
16922 Code and Data Size: Current core subsystem library sizes are shown
16923 below. These are the code and data sizes for the acpica.lib
16924 produced by the Microsoft Visual C++ 6.0 compiler, and these
16925 values do not include any ACPI driver or OSPM code. The debug
16926 version of the code includes the debug output trace mechanism and
16927 has a larger code and data size. Note that these values will vary
16928 depending on the efficiency of the compiler and the compiler
16929 options used during generation.
16930
16931 Previous Release
16932 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
16933 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
16934 Current Release:
16935 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
16936 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
16937
16938
16939 2) Linux
16940
16941 PCI IRQ routing fixes (Dominik Brodowski)
16942
16943
16944 3) iASL Compiler Version X2042:
16945
16946 Implemented an additional compile-time error check for a field
16947 unit whose size + minimum access width would cause a run-time
16948 access beyond the end-of-region. Previously, only the field size
16949 itself was checked.
16950
16951 The Core subsystem and iASL compiler now share a common parse
16952 object in preparation for compile-time evaluation of the type
16953 3/4/5 ASL operators.
16954
16955
16956 ----------------------------------------
16957 Summary of changes for this release: 03_29_02
16958
16959 1) ACPI CA Core Subsystem Version 20020329:
16960
16961 Implemented support for late evaluation of TermArg operands to
16962 Buffer and Package objects. This allows complex expressions to be
16963 used in the declarations of these object types.
16964
16965 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
16966 1.0, if the field was larger than 32 bits, it was returned as a
16967 buffer - otherwise it was returned as an integer. In ACPI 2.0,
16968 the field is returned as a buffer only if the field is larger than
16969 64 bits. The TableRevision is now considered when making this
16970 conversion to avoid incompatibility with existing ASL code.
16971
16972 Implemented logical addressing for AcpiOsGetRootPointer. This
16973 allows an RSDP with either a logical or physical address. With
16974 this support, the host OS can now override all ACPI tables with
16975 one logical RSDP. Includes implementation of "typed" pointer
16976 support to allow a common data type for both physical and logical
16977 pointers internally. This required a change to the
16978 AcpiOsGetRootPointer interface.
16979
16980 Implemented the use of ACPI 2.0 Generic Address Structures for all
16981 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
16982 mapped I/O for these ACPI features.
16983
16984 Initialization now ignores not only non-required tables (All
16985 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
16986 not validate the table headers of unrecognized tables.
16987
16988 Fixed a problem where a notify handler could only be
16989 installed/removed on an object of type Device. All "notify"
16990
16991 objects are now supported -- Devices, Processor, Power, and
16992 Thermal.
16993
16994 Removed most verbosity from the ACPI_DB_INFO debug level. Only
16995 critical information is returned when this debug level is enabled.
16996
16997 Code and Data Size: Current core subsystem library sizes are shown
16998 below. These are the code and data sizes for the acpica.lib
16999 produced by the Microsoft Visual C++ 6.0 compiler, and these
17000 values do not include any ACPI driver or OSPM code. The debug
17001 version of the code includes the debug output trace mechanism and
17002 has a larger code and data size. Note that these values will vary
17003 depending on the efficiency of the compiler and the compiler
17004 options used during generation.
17005
17006 Previous Release
17007 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
17008 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
17009 Current Release:
17010 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
17011 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
17012
17013
17014 2) Linux:
17015
17016 The processor driver (acpi_processor.c) now fully supports ACPI
17017 2.0-based processor performance control (e.g. Intel(R)
17018 SpeedStep(TM) technology) Note that older laptops that only have
17019 the Intel "applet" interface are not supported through this. The
17020 'limit' and 'performance' interface (/proc) are fully functional.
17021 [Note that basic policy for controlling performance state
17022 transitions will be included in the next version of ospmd.] The
17023 idle handler was modified to more aggressively use C2, and PIIX4
17024 errata handling underwent a complete overhaul (big thanks to
17025 Dominik Brodowski).
17026
17027 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
17028 based devices in the ACPI namespace are now dynamically bound
17029 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
17030 This allows, among other things, ACPI to resolve bus numbers for
17031 subordinate PCI bridges.
17032
17033 Enhanced PCI IRQ routing to get the proper bus number for _PRT
17034 entries defined underneath PCI bridges.
17035
17036 Added IBM 600E to bad bios list due to invalid _ADR value for
17037 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
17038
17039 In the process of adding full MADT support (e.g. IOAPIC) for IA32
17040 (acpi.c, mpparse.c) -- stay tuned.
17041
17042 Added back visual differentiation between fixed-feature and
17043 control-method buttons in dmesg. Buttons are also subtyped (e.g.
17044 button/power/PWRF) to simplify button identification.
17045
17046 We no longer use -Wno-unused when compiling debug. Please ignore
17047 any "_THIS_MODULE defined but not used" messages.
17048
17049 Can now shut down the system using "magic sysrq" key.
17050
17051
17052 3) iASL Compiler version 2041:
17053
17054 Fixed a problem where conversion errors for hex/octal/decimal
17055 constants were not reported.
17056
17057 Implemented a fix for the General Register template Address field.
17058 This field was 8 bits when it should be 64.
17059
17060 Fixed a problem where errors/warnings were no longer being emitted
17061 within the listing output file.
17062
17063 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
17064 exactly 4 characters, alphanumeric only.
17065
17066
17067
17068
17069 ----------------------------------------
17070 Summary of changes for this release: 03_08_02
17071
17072
17073 1) ACPI CA Core Subsystem Version 20020308:
17074
17075 Fixed a problem with AML Fields where the use of the "AccessAny"
17076 keyword could cause an interpreter error due to attempting to read
17077 or write beyond the end of the parent Operation Region.
17078
17079 Fixed a problem in the SystemMemory Operation Region handler where
17080 an attempt was made to map memory beyond the end of the region.
17081 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
17082 errors on some Linux systems.
17083
17084 Fixed a problem where the interpreter/namespace "search to root"
17085 algorithm was not functioning for some object types. Relaxed the
17086 internal restriction on the search to allow upsearches for all
17087 external object types as well as most internal types.
17088
17089
17090 2) Linux:
17091
17092 We now use safe_halt() macro versus individual calls to sti | hlt.
17093
17094 Writing to the processor limit interface should now work. "echo 1"
17095 will increase the limit, 2 will decrease, and 0 will reset to the
17096
17097 default.
17098
17099
17100 3) ASL compiler:
17101
17102 Fixed segfault on Linux version.
17103
17104
17105 ----------------------------------------
17106 Summary of changes for this release: 02_25_02
17107
17108 1) ACPI CA Core Subsystem:
17109
17110
17111 Fixed a problem where the GPE bit masks were not initialized
17112 properly, causing erratic GPE behavior.
17113
17114 Implemented limited support for multiple calling conventions. The
17115 code can be generated with either the VPL (variable parameter
17116 list, or "C") convention, or the FPL (fixed parameter list, or
17117 "Pascal") convention. The core subsystem is about 3.4% smaller
17118 when generated with FPL.
17119
17120
17121 2) Linux
17122
17123 Re-add some /proc/acpi/event functionality that was lost during
17124 the rewrite
17125
17126 Resolved issue with /proc events for fixed-feature buttons showing
17127 up as the system device.
17128
17129 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
17130
17131 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
17132
17133 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
17134
17135 Fixed limit interface & usage to fix bugs with passive cooling
17136 hysterisis.
17137
17138 Restructured PRT support.
17139
17140
17141 ----------------------------------------
17142 Summary of changes for this label: 02_14_02
17143
17144
17145 1) ACPI CA Core Subsystem:
17146
17147 Implemented support in AcpiLoadTable to allow loading of FACS and
17148 FADT tables.
17149
17150 Support for the now-obsolete interim 0.71 64-bit ACPI tables has
17151 been removed. All 64-bit platforms should be migrated to the ACPI
17152 2.0 tables. The actbl71.h header has been removed from the source
17153 tree.
17154
17155 All C macros defined within the subsystem have been prefixed with
17156 "ACPI_" to avoid collision with other system include files.
17157
17158 Removed the return value for the two AcpiOsPrint interfaces, since
17159 it is never used and causes lint warnings for ignoring the return
17160 value.
17161
17162 Added error checking to all internal mutex acquire and release
17163 calls. Although a failure from one of these interfaces is
17164 probably a fatal system error, these checks will cause the
17165 immediate abort of the currently executing method or interface.
17166
17167 Fixed a problem where the AcpiSetCurrentResources interface could
17168 fault. This was a side effect of the deployment of the new memory
17169 allocation model.
17170
17171 Fixed a couple of problems with the Global Lock support introduced
17172 in the last major build. The "common" (1.0/2.0) internal FACS was
17173 being overwritten with the FACS signature and clobbering the
17174 Global Lock pointer. Also, the actual firmware FACS was being
17175 unmapped after construction of the "common" FACS, preventing
17176 access to the actual Global Lock field within it. The "common"
17177 internal FACS is no longer installed as an actual ACPI table; it
17178 is used simply as a global.
17179
17180 Code and Data Size: Current core subsystem library sizes are shown
17181 below. These are the code and data sizes for the acpica.lib
17182 produced by the Microsoft Visual C++ 6.0 compiler, and these
17183 values do not include any ACPI driver or OSPM code. The debug
17184 version of the code includes the debug output trace mechanism and
17185 has a larger code and data size. Note that these values will vary
17186 depending on the efficiency of the compiler and the compiler
17187 options used during generation.
17188
17189 Previous Release (02_07_01)
17190 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
17191 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
17192 Current Release:
17193 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
17194 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
17195
17196
17197 2) Linux
17198
17199 Updated Linux-specific code for core macro and OSL interface
17200 changes described above.
17201
17202 Improved /proc/acpi/event. It now can be opened only once and has
17203 proper poll functionality.
17204
17205 Fixed and restructured power management (acpi_bus).
17206
17207 Only create /proc "view by type" when devices of that class exist.
17208
17209 Fixed "charging/discharging" bug (and others) in acpi_battery.
17210
17211 Improved thermal zone code.
17212
17213
17214 3) ASL Compiler, version X2039:
17215
17216
17217 Implemented the new compiler restriction on ASL String hex/octal
17218 escapes to non-null, ASCII values. An error results if an invalid
17219 value is used. (This will require an ACPI 2.0 specification
17220 change.)
17221
17222 AML object labels that are output to the optional C and ASM source
17223 are now prefixed with both the ACPI table signature and table ID
17224 to help guarantee uniqueness within a large BIOS project.
17225
17226
17227 ----------------------------------------
17228 Summary of changes for this label: 02_01_02
17229
17230 1) ACPI CA Core Subsystem:
17231
17232 ACPI 2.0 support is complete in the entire Core Subsystem and the
17233 ASL compiler. All new ACPI 2.0 operators are implemented and all
17234 other changes for ACPI 2.0 support are complete. With
17235 simultaneous code and data optimizations throughout the subsystem,
17236 ACPI 2.0 support has been implemented with almost no additional
17237 cost in terms of code and data size.
17238
17239 Implemented a new mechanism for allocation of return buffers. If
17240 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
17241 be allocated on behalf of the caller. Consolidated all return
17242 buffer validation and allocation to a common procedure. Return
17243 buffers will be allocated via the primary OSL allocation interface
17244 since it appears that a separate pool is not needed by most users.
17245 If a separate pool is required for these buffers, the caller can
17246 still use the original mechanism and pre-allocate the buffer(s).
17247
17248 Implemented support for string operands within the DerefOf
17249 operator.
17250
17251 Restructured the Hardware and Event managers to be table driven,
17252 simplifying the source code and reducing the amount of generated
17253 code.
17254
17255 Split the common read/write low-level ACPI register bitfield
17256 procedure into a separate read and write, simplifying the code
17257 considerably.
17258
17259 Obsoleted the AcpiOsCallocate OSL interface. This interface was
17260 used only a handful of times and didn't have enough critical mass
17261 for a separate interface. Replaced with a common calloc procedure
17262 in the core.
17263
17264 Fixed a reported problem with the GPE number mapping mechanism
17265 that allows GPE1 numbers to be non-contiguous with GPE0.
17266 Reorganized the GPE information and shrunk a large array that was
17267 originally large enough to hold info for all possible GPEs (256)
17268 to simply large enough to hold all GPEs up to the largest GPE
17269 number on the machine.
17270
17271 Fixed a reported problem with resource structure alignment on 64-
17272 bit platforms.
17273
17274 Changed the AcpiEnableEvent and AcpiDisableEvent external
17275 interfaces to not require any flags for the common case of
17276 enabling/disabling a GPE.
17277
17278 Implemented support to allow a "Notify" on a Processor object.
17279
17280 Most TBDs in comments within the source code have been resolved
17281 and eliminated.
17282
17283
17284 Fixed a problem in the interpreter where a standalone parent
17285 prefix (^) was not handled correctly in the interpreter and
17286 debugger.
17287
17288 Removed obsolete and unnecessary GPE save/restore code.
17289
17290 Implemented Field support in the ASL Load operator. This allows a
17291 table to be loaded from a named field, in addition to loading a
17292 table directly from an Operation Region.
17293
17294 Implemented timeout and handle support in the external Global Lock
17295 interfaces.
17296
17297 Fixed a problem in the AcpiDump utility where pathnames were no
17298 longer being generated correctly during the dump of named objects.
17299
17300 Modified the AML debugger to give a full display of if/while
17301 predicates instead of just one AML opcode at a time. (The
17302 predicate can have several nested ASL statements.) The old method
17303 was confusing during single stepping.
17304
17305 Code and Data Size: Current core subsystem library sizes are shown
17306 below. These are the code and data sizes for the acpica.lib
17307 produced by the Microsoft Visual C++ 6.0 compiler, and these
17308 values do not include any ACPI driver or OSPM code. The debug
17309 version of the code includes the debug output trace mechanism and
17310 has a larger code and data size. Note that these values will vary
17311 depending on the efficiency of the compiler and the compiler
17312 options used during generation.
17313
17314 Previous Release (12_18_01)
17315 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
17316 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
17317 Current Release:
17318 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
17319 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
17320
17321 2) Linux
17322
17323 Implemented fix for PIIX reverse throttling errata (Processor
17324 driver)
17325
17326 Added new Limit interface (Processor and Thermal drivers)
17327
17328 New thermal policy (Thermal driver)
17329
17330 Many updates to /proc
17331
17332 Battery "low" event support (Battery driver)
17333
17334 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
17335
17336 IA32 - IA64 initialization unification, no longer experimental
17337
17338 Menuconfig options redesigned
17339
17340 3) ASL Compiler, version X2037:
17341
17342 Implemented several new output features to simplify integration of
17343 AML code into firmware: 1) Output the AML in C source code with
17344 labels for each named ASL object. The original ASL source code
17345 is interleaved as C comments. 2) Output the AML in ASM source code
17346 with labels and interleaved ASL source. 3) Output the AML in
17347 raw hex table form, in either C or ASM.
17348
17349 Implemented support for optional string parameters to the
17350 LoadTable operator.
17351
17352 Completed support for embedded escape sequences within string
17353 literals. The compiler now supports all single character escapes
17354 as well as the Octal and Hex escapes. Note: the insertion of a
17355 null byte into a string literal (via the hex/octal escape) causes
17356 the string to be immediately terminated. A warning is issued.
17357
17358 Fixed a problem where incorrect AML was generated for the case
17359 where an ASL namepath consists of a single parent prefix (
17360
17361 ) with no trailing name segments.
17362
17363 The compiler has been successfully generated with a 64-bit C
17364 compiler.
17365
17366
17367
17368
17369 ----------------------------------------
17370 Summary of changes for this label: 12_18_01
17371
17372 1) Linux
17373
17374 Enhanced blacklist with reason and severity fields. Any table's
17375 signature may now be used to identify a blacklisted system.
17376
17377 Call _PIC control method to inform the firmware which interrupt
17378 model the OS is using. Turn on any disabled link devices.
17379
17380 Cleaned up busmgr /proc error handling (Andreas Dilger)
17381
17382 2) ACPI CA Core Subsystem:
17383
17384 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
17385 while loop)
17386
17387 Completed implementation of the ACPI 2.0 "Continue",
17388 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
17389 operators. All new ACPI 2.0 operators are now implemented in both
17390 the ASL compiler and the AML interpreter. The only remaining ACPI
17391 2.0 task is support for the String data type in the DerefOf
17392 operator. Fixed a problem with AcquireMutex where the status code
17393 was lost if the caller had to actually wait for the mutex.
17394
17395 Increased the maximum ASL Field size from 64K bits to 4G bits.
17396
17397 Completed implementation of the external Global Lock interfaces --
17398 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
17399 Handler parameters were added.
17400
17401 Completed another pass at removing warnings and issues when
17402 compiling with 64-bit compilers. The code now compiles cleanly
17403 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
17404 add and subtract (diff) macros have changed considerably.
17405
17406
17407 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
17408 64-bit platforms, 32-bits on all others. This type is used
17409 wherever memory allocation and/or the C sizeof() operator is used,
17410 and affects the OSL memory allocation interfaces AcpiOsAllocate
17411 and AcpiOsCallocate.
17412
17413 Implemented sticky user breakpoints in the AML debugger.
17414
17415 Code and Data Size: Current core subsystem library sizes are shown
17416 below. These are the code and data sizes for the acpica.lib
17417 produced by the Microsoft Visual C++ 6.0 compiler, and these
17418 values do not include any ACPI driver or OSPM code. The debug
17419 version of the code includes the debug output trace mechanism and
17420 has a larger code and data size. Note that these values will vary
17421 depending on the efficiency of the compiler and the compiler
17422 options used during generation.
17423
17424 Previous Release (12_05_01)
17425 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
17426 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
17427 Current Release:
17428 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
17429 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
17430
17431 3) ASL Compiler, version X2034:
17432
17433 Now checks for (and generates an error if detected) the use of a
17434 Break or Continue statement without an enclosing While statement.
17435
17436
17437 Successfully generated the compiler with the Intel 64-bit C
17438 compiler.
17439
17440 ----------------------------------------
17441 Summary of changes for this label: 12_05_01
17442
17443 1) ACPI CA Core Subsystem:
17444
17445 The ACPI 2.0 CopyObject operator is fully implemented. This
17446 operator creates a new copy of an object (and is also used to
17447 bypass the "implicit conversion" mechanism of the Store operator.)
17448
17449 The ACPI 2.0 semantics for the SizeOf operator are fully
17450 implemented. The change is that performing a SizeOf on a
17451 reference object causes an automatic dereference of the object to
17452 tha actual value before the size is evaluated. This behavior was
17453 undefined in ACPI 1.0.
17454
17455 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
17456 have been implemented. The interrupt polarity and mode are now
17457 independently set.
17458
17459 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
17460 appearing in Package objects were not properly converted to
17461 integers when the internal Package was converted to an external
17462 object (via the AcpiEvaluateObject interface.)
17463
17464 Fixed a problem with the namespace object deletion mechanism for
17465 objects created by control methods. There were two parts to this
17466 problem: 1) Objects created during the initialization phase method
17467 parse were not being deleted, and 2) The object owner ID mechanism
17468 to track objects was broken.
17469
17470 Fixed a problem where the use of the ASL Scope operator within a
17471 control method would result in an invalid opcode exception.
17472
17473 Fixed a problem introduced in the previous label where the buffer
17474 length required for the _PRT structure was not being returned
17475 correctly.
17476
17477 Code and Data Size: Current core subsystem library sizes are shown
17478 below. These are the code and data sizes for the acpica.lib
17479 produced by the Microsoft Visual C++ 6.0 compiler, and these
17480 values do not include any ACPI driver or OSPM code. The debug
17481 version of the code includes the debug output trace mechanism and
17482 has a larger code and data size. Note that these values will vary
17483 depending on the efficiency of the compiler and the compiler
17484 options used during generation.
17485
17486 Previous Release (11_20_01)
17487 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
17488 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
17489
17490 Current Release:
17491 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
17492 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
17493
17494 2) Linux:
17495
17496 Updated all files to apply cleanly against 2.4.16.
17497
17498 Added basic PCI Interrupt Routing Table (PRT) support for IA32
17499 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
17500 version supports both static and dynamic PRT entries, but dynamic
17501 entries are treated as if they were static (not yet
17502 reconfigurable). Architecture- specific code to use this data is
17503 absent on IA32 but should be available shortly.
17504
17505 Changed the initialization sequence to start the ACPI interpreter
17506 (acpi_init) prior to initialization of the PCI driver (pci_init)
17507 in init/main.c. This ordering is required to support PRT and
17508 facilitate other (future) enhancement. A side effect is that the
17509 ACPI bus driver and certain device drivers can no longer be loaded
17510 as modules.
17511
17512 Modified the 'make menuconfig' options to allow PCI Interrupt
17513 Routing support to be included without the ACPI Bus and other
17514 device drivers.
17515
17516 3) ASL Compiler, version X2033:
17517
17518 Fixed some issues with the use of the new CopyObject and
17519 DataTableRegion operators. Both are fully functional.
17520
17521 ----------------------------------------
17522 Summary of changes for this label: 11_20_01
17523
17524 20 November 2001. Summary of changes for this release.
17525
17526 1) ACPI CA Core Subsystem:
17527
17528 Updated Index support to match ACPI 2.0 semantics. Storing a
17529 Integer, String, or Buffer to an Index of a Buffer will store only
17530 the least-significant byte of the source to the Indexed buffer
17531 byte. Multiple writes are not performed.
17532
17533 Fixed a problem where the access type used in an AccessAs ASL
17534 operator was not recorded correctly into the field object.
17535
17536 Fixed a problem where ASL Event objects were created in a
17537 signalled state. Events are now created in an unsignalled state.
17538
17539 The internal object cache is now purged after table loading and
17540 initialization to reduce the use of dynamic kernel memory -- on
17541 the assumption that object use is greatest during the parse phase
17542 of the entire table (versus the run-time use of individual control
17543 methods.)
17544
17545 ACPI 2.0 variable-length packages are now fully operational.
17546
17547 Code and Data Size: Code and Data optimizations have permitted new
17548 feature development with an actual reduction in the library size.
17549 Current core subsystem library sizes are shown below. These are
17550 the code and data sizes for the acpica.lib produced by the
17551 Microsoft Visual C++ 6.0 compiler, and these values do not include
17552 any ACPI driver or OSPM code. The debug version of the code
17553 includes the debug output trace mechanism and has a larger code
17554 and data size. Note that these values will vary depending on the
17555 efficiency of the compiler and the compiler options used during
17556 generation.
17557
17558 Previous Release (11_09_01):
17559 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
17560 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
17561
17562 Current Release:
17563 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
17564 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
17565
17566 2) Linux:
17567
17568 Enhanced the ACPI boot-time initialization code to allow the use
17569 of Local APIC tables for processor enumeration on IA-32, and to
17570 pave the way for a fully MPS-free boot (on SMP systems) in the
17571 near future. This functionality replaces
17572 arch/i386/kernel/acpitables.c, which was introduced in an earlier
17573 2.4.15-preX release. To enable this feature you must add
17574 "acpi_boot=on" to the kernel command line -- see the help entry
17575 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
17576 the works...
17577
17578 Restructured the configuration options to allow boot-time table
17579 parsing support without inclusion of the ACPI Interpreter (and
17580 other) code.
17581
17582 NOTE: This release does not include fixes for the reported events,
17583 power-down, and thermal passive cooling issues (coming soon).
17584
17585 3) ASL Compiler:
17586
17587 Added additional typechecking for Fields within restricted access
17588 Operation Regions. All fields within EC and CMOS regions must be
17589 declared with ByteAcc. All fields within SMBus regions must be
17590 declared with the BufferAcc access type.
17591
17592 Fixed a problem where the listing file output of control methods
17593 no longer interleaved the actual AML code with the ASL source
17594 code.
17595
17596
17597
17598
17599 ----------------------------------------
17600 Summary of changes for this label: 11_09_01
17601
17602 1) ACPI CA Core Subsystem:
17603
17604 Implemented ACPI 2.0-defined support for writes to fields with a
17605 Buffer, String, or Integer source operand that is smaller than the
17606 target field. In these cases, the source operand is zero-extended
17607 to fill the target field.
17608
17609 Fixed a problem where a Field starting bit offset (within the
17610 parent operation region) was calculated incorrectly if the
17611
17612 alignment of the field differed from the access width. This
17613 affected CreateWordField, CreateDwordField, CreateQwordField, and
17614 possibly other fields that use the "AccessAny" keyword.
17615
17616 Fixed a problem introduced in the 11_02_01 release where indirect
17617 stores through method arguments did not operate correctly.
17618
17619 2) Linux:
17620
17621 Implemented boot-time ACPI table parsing support
17622 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
17623 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
17624 legacy BIOS interfaces (e.g. MPS) for the configuration of system
17625 processors, memory, and interrupts during setup_arch(). Note that
17626 this patch does not include the required architecture-specific
17627 changes required to apply this information -- subsequent patches
17628 will be posted for both IA32 and IA64 to achieve this.
17629
17630 Added low-level sleep support for IA32 platforms, courtesy of Pat
17631 Mochel. This allows IA32 systems to transition to/from various
17632 sleeping states (e.g. S1, S3), although the lack of a centralized
17633 driver model and power-manageable drivers will prevent its
17634 (successful) use on most systems.
17635
17636 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
17637 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
17638 tables" option, etc.
17639
17640 Increased the default timeout for the EC driver from 1ms to 10ms
17641 (1000 cycles of 10us) to try to address AE_TIME errors during EC
17642 transactions.
17643
17644 ----------------------------------------
17645 Summary of changes for this label: 11_02_01
17646
17647 1) ACPI CA Core Subsystem:
17648
17649 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
17650 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
17651 implemented.
17652
17653 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
17654 changes to support ACPI 2.0 Qword field access. Read/Write
17655 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
17656 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
17657 the value parameter for the address space handler interface is now
17658 an ACPI_INTEGER. OSL implementations of these interfaces must now
17659 handle the case where the Width parameter is 64.
17660
17661 Index Fields: Fixed a problem where unaligned bit assembly and
17662 disassembly for IndexFields was not supported correctly.
17663
17664 Index and Bank Fields: Nested Index and Bank Fields are now
17665 supported. During field access, a check is performed to ensure
17666 that the value written to an Index or Bank register is not out of
17667 the range of the register. The Index (or Bank) register is
17668 written before each access to the field data. Future support will
17669 include allowing individual IndexFields to be wider than the
17670 DataRegister width.
17671
17672 Fields: Fixed a problem where the AML interpreter was incorrectly
17673 attempting to write beyond the end of a Field/OpRegion. This was
17674 a boundary case that occurred when a DWORD field was written to a
17675 BYTE access OpRegion, forcing multiple writes and causing the
17676 interpreter to write one datum too many.
17677
17678 Fields: Fixed a problem with Field/OpRegion access where the
17679 starting bit address of a field was incorrectly calculated if the
17680 current access type was wider than a byte (WordAcc, DwordAcc, or
17681 QwordAcc).
17682
17683 Fields: Fixed a problem where forward references to individual
17684 FieldUnits (individual Field names within a Field definition) were
17685 not resolved during the AML table load.
17686
17687 Fields: Fixed a problem where forward references from a Field
17688 definition to the parent Operation Region definition were not
17689 resolved during the AML table load.
17690
17691 Fields: Duplicate FieldUnit names within a scope are now detected
17692 during AML table load.
17693
17694 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
17695 returned an incorrect name for the root node.
17696
17697 Code and Data Size: Code and Data optimizations have permitted new
17698 feature development with an actual reduction in the library size.
17699 Current core subsystem library sizes are shown below. These are
17700 the code and data sizes for the acpica.lib produced by the
17701 Microsoft Visual C++ 6.0 compiler, and these values do not include
17702 any ACPI driver or OSPM code. The debug version of the code
17703 includes the debug output trace mechanism and has a larger code
17704 and data size. Note that these values will vary depending on the
17705 efficiency of the compiler and the compiler options used during
17706 generation.
17707
17708 Previous Release (10_18_01):
17709 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
17710 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
17711
17712 Current Release:
17713 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
17714 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
17715
17716 2) Linux:
17717
17718 Improved /proc processor output (Pavel Machek) Re-added
17719 MODULE_LICENSE("GPL") to all modules.
17720
17721 3) ASL Compiler version X2030:
17722
17723 Duplicate FieldUnit names within a scope are now detected and
17724 flagged as errors.
17725
17726 4) Documentation:
17727
17728 Programmer Reference updated to reflect OSL and address space
17729 handler interface changes described above.
17730
17731 ----------------------------------------
17732 Summary of changes for this label: 10_18_01
17733
17734 ACPI CA Core Subsystem:
17735
17736 Fixed a problem with the internal object reference count mechanism
17737 that occasionally caused premature object deletion. This resolves
17738 all of the outstanding problem reports where an object is deleted
17739 in the middle of an interpreter evaluation. Although this problem
17740 only showed up in rather obscure cases, the solution to the
17741 problem involved an adjustment of all reference counts involving
17742 objects attached to namespace nodes.
17743
17744 Fixed a problem with Field support in the interpreter where
17745 writing to an aligned field whose length is an exact multiple (2
17746 or greater) of the field access granularity would cause an attempt
17747 to write beyond the end of the field.
17748
17749 The top level AML opcode execution functions within the
17750 interpreter have been renamed with a more meaningful and
17751 consistent naming convention. The modules exmonad.c and
17752 exdyadic.c were eliminated. New modules are exoparg1.c,
17753 exoparg2.c, exoparg3.c, and exoparg6.c.
17754
17755 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
17756
17757 Fixed a problem where the AML debugger was causing some internal
17758 objects to not be deleted during subsystem termination.
17759
17760 Fixed a problem with the external AcpiEvaluateObject interface
17761 where the subsystem would fault if the named object to be
17762 evaluated referred to a constant such as Zero, Ones, etc.
17763
17764 Fixed a problem with IndexFields and BankFields where the
17765 subsystem would fault if the index, data, or bank registers were
17766 not defined in the same scope as the field itself.
17767
17768 Added printf format string checking for compilers that support
17769 this feature. Corrected more than 50 instances of issues with
17770 format specifiers within invocations of ACPI_DEBUG_PRINT
17771 throughout the core subsystem code.
17772
17773 The ASL "Revision" operator now returns the ACPI support level
17774 implemented in the core - the value "2" since the ACPI 2.0 support
17775 is more than 50% implemented.
17776
17777 Enhanced the output of the AML debugger "dump namespace" command
17778 to output in a more human-readable form.
17779
17780 Current core subsystem library code sizes are shown below. These
17781
17782 are the code and data sizes for the acpica.lib produced by the
17783 Microsoft Visual C++ 6.0 compiler, and these values do not include
17784 any ACPI driver or OSPM code. The debug version of the code
17785 includes the full debug trace mechanism -- leading to a much
17786
17787 larger code and data size. Note that these values will vary
17788 depending on the efficiency of the compiler and the compiler
17789 options used during generation.
17790
17791 Previous Label (09_20_01):
17792 Non-Debug Version: 65K Code, 5K Data, 70K Total
17793 Debug Version: 138K Code, 58K Data, 196K Total
17794
17795 This Label:
17796
17797 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
17798 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
17799
17800 Linux:
17801
17802 Implemented a "Bad BIOS Blacklist" to track machines that have
17803 known ASL/AML problems.
17804
17805 Enhanced the /proc interface for the thermal zone driver and added
17806 support for _HOT (the critical suspend trip point). The 'info'
17807 file now includes threshold/policy information, and allows setting
17808 of _SCP (cooling preference) and _TZP (polling frequency) values
17809 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
17810 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
17811 preference to the passive/quiet mode (if supported by the ASL).
17812
17813 Implemented a workaround for a gcc bug that resuted in an OOPs
17814 when loading the control method battery driver.
17815
17816 ----------------------------------------
17817 Summary of changes for this label: 09_20_01
17818
17819 ACPI CA Core Subsystem:
17820
17821 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
17822 modified to allow individual GPE levels to be flagged as wake-
17823 enabled (i.e., these GPEs are to remain enabled when the platform
17824 sleeps.)
17825
17826 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
17827 support wake-enabled GPEs. This means that upon entering the
17828 sleep state, all GPEs that are not wake-enabled are disabled.
17829 When leaving the sleep state, these GPEs are re-enabled.
17830
17831 A local double-precision divide/modulo module has been added to
17832 enhance portability to OS kernels where a 64-bit math library is
17833 not available. The new module is "utmath.c".
17834
17835 Several optimizations have been made to reduce the use of CPU
17836 stack. Originally over 2K, the maximum stack usage is now below
17837 2K at 1860 bytes (1.82k)
17838
17839 Fixed a problem with the AcpiGetFirmwareTable interface where the
17840 root table pointer was not mapped into a logical address properly.
17841
17842 Fixed a problem where a NULL pointer was being dereferenced in the
17843 interpreter code for the ASL Notify operator.
17844
17845 Fixed a problem where the use of the ASL Revision operator
17846 returned an error. This operator now returns the current version
17847 of the ACPI CA core subsystem.
17848
17849 Fixed a problem where objects passed as control method parameters
17850 to AcpiEvaluateObject were always deleted at method termination.
17851 However, these objects may end up being stored into the namespace
17852 by the called method. The object reference count mechanism was
17853 applied to these objects instead of a force delete.
17854
17855 Fixed a problem where static strings or buffers (contained in the
17856 AML code) that are declared as package elements within the ASL
17857 code could cause a fault because the interpreter would attempt to
17858 delete them. These objects are now marked with the "static
17859 object" flag to prevent any attempt to delete them.
17860
17861 Implemented an interpreter optimization to use operands directly
17862 from the state object instead of extracting the operands to local
17863 variables. This reduces stack use and code size, and improves
17864 performance.
17865
17866 The module exxface.c was eliminated as it was an unnecessary extra
17867 layer of code.
17868
17869 Current core subsystem library code sizes are shown below. These
17870 are the code and data sizes for the acpica.lib produced by the
17871 Microsoft Visual C++ 6.0 compiler, and these values do not include
17872 any ACPI driver or OSPM code. The debug version of the code
17873 includes the full debug trace mechanism -- leading to a much
17874 larger code and data size. Note that these values will vary
17875 depending on the efficiency of the compiler and the compiler
17876 options used during generation.
17877
17878 Non-Debug Version: 65K Code, 5K Data, 70K Total
17879 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
17880 Total (Previously 195K)
17881
17882 Linux:
17883
17884 Support for ACPI 2.0 64-bit integers has been added. All ACPI
17885 Integer objects are now 64 bits wide
17886
17887 All Acpi data types and structures are now in lower case. Only
17888 Acpi macros are upper case for differentiation.
17889
17890 Documentation:
17891
17892 Changes to the external interfaces as described above.
17893
17894 ----------------------------------------
17895 Summary of changes for this label: 08_31_01
17896
17897 ACPI CA Core Subsystem:
17898
17899 A bug with interpreter implementation of the ASL Divide operator
17900 was found and fixed. The implicit function return value (not the
17901 explicit store operands) was returning the remainder instead of
17902 the quotient. This was a longstanding bug and it fixes several
17903 known outstanding issues on various platforms.
17904
17905 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
17906 been further optimized for size. There are 700 invocations of the
17907 DEBUG_PRINT macro alone, so each optimization reduces the size of
17908 the debug version of the subsystem significantly.
17909
17910 A stack trace mechanism has been implemented. The maximum stack
17911 usage is about 2K on 32-bit platforms. The debugger command "stat
17912 stack" will display the current maximum stack usage.
17913
17914 All public symbols and global variables within the subsystem are
17915 now prefixed with the string "Acpi". This keeps all of the
17916 symbols grouped together in a kernel map, and avoids conflicts
17917 with other kernel subsystems.
17918
17919 Most of the internal fixed lookup tables have been moved into the
17920 code segment via the const operator.
17921
17922 Several enhancements have been made to the interpreter to both
17923 reduce the code size and improve performance.
17924
17925 Current core subsystem library code sizes are shown below. These
17926 are the code and data sizes for the acpica.lib produced by the
17927 Microsoft Visual C++ 6.0 compiler, and these values do not include
17928 any ACPI driver or OSPM code. The debug version of the code
17929 includes the full debug trace mechanism which contains over 700
17930 invocations of the DEBUG_PRINT macro, 500 function entry macro
17931 invocations, and over 900 function exit macro invocations --
17932 leading to a much larger code and data size. Note that these
17933 values will vary depending on the efficiency of the compiler and
17934 the compiler options used during generation.
17935
17936 Non-Debug Version: 64K Code, 5K Data, 69K Total
17937 Debug Version: 137K Code, 58K Data, 195K Total
17938
17939 Linux:
17940
17941 Implemented wbinvd() macro, pending a kernel-wide definition.
17942
17943 Fixed /proc/acpi/event to handle poll() and short reads.
17944
17945 ASL Compiler, version X2026:
17946
17947 Fixed a problem introduced in the previous label where the AML
17948
17949 code emitted for package objects produced packages with zero
17950 length.
17951
17952 ----------------------------------------
17953 Summary of changes for this label: 08_16_01
17954
17955 ACPI CA Core Subsystem:
17956
17957 The following ACPI 2.0 ASL operators have been implemented in the
17958 AML interpreter (These are already supported by the Intel ASL
17959 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
17960 ToBuffer. Support for 64-bit AML constants is implemented in the
17961 AML parser, debugger, and disassembler.
17962
17963 The internal memory tracking mechanism (leak detection code) has
17964 been upgraded to reduce the memory overhead (a separate tracking
17965 block is no longer allocated for each memory allocation), and now
17966 supports all of the internal object caches.
17967
17968 The data structures and code for the internal object caches have
17969 been coelesced and optimized so that there is a single cache and
17970 memory list data structure and a single group of functions that
17971 implement generic cache management. This has reduced the code
17972 size in both the debug and release versions of the subsystem.
17973
17974 The DEBUG_PRINT macro(s) have been optimized for size and replaced
17975 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
17976 different, because it generates a single call to an internal
17977 function. This results in a savings of about 90 bytes per
17978 invocation, resulting in an overall code and data savings of about
17979 16% in the debug version of the subsystem.
17980
17981 Linux:
17982
17983 Fixed C3 disk corruption problems and re-enabled C3 on supporting
17984 machines.
17985
17986 Integrated low-level sleep code by Patrick Mochel.
17987
17988 Further tweaked source code Linuxization.
17989
17990 Other minor fixes.
17991
17992 ASL Compiler:
17993
17994 Support for ACPI 2.0 variable length packages is fixed/completed.
17995
17996 Fixed a problem where the optional length parameter for the ACPI
17997 2.0 ToString operator.
17998
17999 Fixed multiple extraneous error messages when a syntax error is
18000 detected within the declaration line of a control method.
18001
18002 ----------------------------------------
18003 Summary of changes for this label: 07_17_01
18004
18005 ACPI CA Core Subsystem:
18006
18007 Added a new interface named AcpiGetFirmwareTable to obtain any
18008 ACPI table via the ACPI signature. The interface can be called at
18009 any time during kernel initialization, even before the kernel
18010 virtual memory manager is initialized and paging is enabled. This
18011 allows kernel subsystems to obtain ACPI tables very early, even
18012 before the ACPI CA subsystem is initialized.
18013
18014 Fixed a problem where Fields defined with the AnyAcc attribute
18015 could be resolved to the incorrect address under the following
18016 conditions: 1) the field width is larger than 8 bits and 2) the
18017 parent operation region is not defined on a DWORD boundary.
18018
18019 Fixed a problem where the interpreter is not being locked during
18020 namespace initialization (during execution of the _INI control
18021 methods), causing an error when an attempt is made to release it
18022 later.
18023
18024 ACPI 2.0 support in the AML Interpreter has begun and will be
18025 ongoing throughout the rest of this year. In this label, The Mod
18026 operator is implemented.
18027
18028 Added a new data type to contain full PCI addresses named
18029 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
18030 and Function values.
18031
18032 Linux:
18033
18034 Enhanced the Linux version of the source code to change most
18035 capitalized ACPI type names to lowercase. For example, all
18036 instances of ACPI_STATUS are changed to acpi_status. This will
18037 result in a large diff, but the change is strictly cosmetic and
18038 aligns the CA code closer to the Linux coding standard.
18039
18040 OSL Interfaces:
18041
18042 The interfaces to the PCI configuration space have been changed to
18043 add the PCI Segment number and to split the single 32-bit combined
18044 DeviceFunction field into two 16-bit fields. This was
18045 accomplished by moving the four values that define an address in
18046 PCI configuration space (segment, bus, device, and function) to
18047 the new ACPI_PCI_ID structure.
18048
18049 The changes to the PCI configuration space interfaces led to a
18050 reexamination of the complete set of address space access
18051 interfaces for PCI, I/O, and Memory. The previously existing 18
18052 interfaces have proven difficult to maintain (any small change
18053 must be propagated across at least 6 interfaces) and do not easily
18054 allow for future expansion to 64 bits if necessary. Also, on some
18055 systems, it would not be appropriate to demultiplex the access
18056 width (8, 16, 32,or 64) before calling the OSL if the
18057 corresponding native OS interfaces contain a similar access width
18058 parameter. For these reasons, the 18 address space interfaces
18059 have been replaced by these 6 new ones:
18060
18061 AcpiOsReadPciConfiguration
18062 AcpiOsWritePciConfiguration
18063 AcpiOsReadMemory
18064 AcpiOsWriteMemory
18065 AcpiOsReadPort
18066 AcpiOsWritePort
18067
18068 Added a new interface named AcpiOsGetRootPointer to allow the OSL
18069 to perform the platform and/or OS-specific actions necessary to
18070 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
18071 interface will simply call down to the CA core to perform the low-
18072 memory search for the table. On IA-64, the RSDP is obtained from
18073 EFI. Migrating this interface to the OSL allows the CA core to
18074
18075 remain OS and platform independent.
18076
18077 Added a new interface named AcpiOsSignal to provide a generic
18078 "function code and pointer" interface for various miscellaneous
18079 signals and notifications that must be made to the host OS. The
18080 first such signals are intended to support the ASL Fatal and
18081 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
18082 interface has been obsoleted.
18083
18084 The definition of the AcpiFormatException interface has been
18085 changed to simplify its use. The caller no longer must supply a
18086 buffer to the call; A pointer to a const string is now returned
18087 directly. This allows the call to be easily used in printf
18088 statements, etc. since the caller does not have to manage a local
18089 buffer.
18090
18091
18092 ASL Compiler, Version X2025:
18093
18094 The ACPI 2.0 Switch/Case/Default operators have been implemented
18095 and are fully functional. They will work with all ACPI 1.0
18096 interpreters, since the operators are simply translated to If/Else
18097 pairs.
18098
18099 The ACPI 2.0 ElseIf operator is implemented and will also work
18100 with 1.0 interpreters, for the same reason.
18101
18102 Implemented support for ACPI 2.0 variable-length packages. These
18103 packages have a separate opcode, and their size is determined by
18104 the interpreter at run-time.
18105
18106 Documentation The ACPI CA Programmer Reference has been updated to
18107 reflect the new interfaces and changes to existing interfaces.
18108
18109 ------------------------------------------
18110 Summary of changes for this label: 06_15_01
18111
18112 ACPI CA Core Subsystem:
18113
18114 Fixed a problem where a DWORD-accessed field within a Buffer
18115 object would get its byte address inadvertently rounded down to
18116 the nearest DWORD. Buffers are always Byte-accessible.
18117
18118 ASL Compiler, version X2024:
18119
18120 Fixed a problem where the Switch() operator would either fault or
18121 hang the compiler. Note however, that the AML code for this ACPI
18122 2.0 operator is not yet implemented.
18123
18124 Compiler uses the new AcpiOsGetTimer interface to obtain compile
18125 timings.
18126
18127 Implementation of the CreateField operator automatically converts
18128 a reference to a named field within a resource descriptor from a
18129 byte offset to a bit offset if required.
18130
18131 Added some missing named fields from the resource descriptor
18132 support. These are the names that are automatically created by the
18133 compiler to reference fields within a descriptor. They are only
18134 valid at compile time and are not passed through to the AML
18135 interpreter.
18136
18137 Resource descriptor named fields are now typed as Integers and
18138 subject to compile-time typechecking when used in expressions.
18139
18140 ------------------------------------------
18141 Summary of changes for this label: 05_18_01
18142
18143 ACPI CA Core Subsystem:
18144
18145 Fixed a couple of problems in the Field support code where bits
18146 from adjacent fields could be returned along with the proper field
18147 bits. Restructured the field support code to improve performance,
18148 readability and maintainability.
18149
18150 New DEBUG_PRINTP macro automatically inserts the procedure name
18151 into the output, saving hundreds of copies of procedure name
18152 strings within the source, shrinking the memory footprint of the
18153 debug version of the core subsystem.
18154
18155 Source Code Structure:
18156
18157 The source code directory tree was restructured to reflect the
18158 current organization of the component architecture. Some files
18159 and directories have been moved and/or renamed.
18160
18161 Linux:
18162
18163 Fixed leaking kacpidpc processes.
18164
18165 Fixed queueing event data even when /proc/acpi/event is not
18166 opened.
18167
18168 ASL Compiler, version X2020:
18169
18170 Memory allocation performance enhancement - over 24X compile time
18171 improvement on large ASL files. Parse nodes and namestring
18172 buffers are now allocated from a large internal compiler buffer.
18173
18174 The temporary .SRC file is deleted unless the "-s" option is
18175 specified
18176
18177 The "-d" debug output option now sends all output to the .DBG file
18178 instead of the console.
18179
18180 "External" second parameter is now optional
18181
18182 "ElseIf" syntax now properly allows the predicate
18183
18184 Last operand to "Load" now recognized as a Target operand
18185
18186 Debug object can now be used anywhere as a normal object.
18187
18188 ResourceTemplate now returns an object of type BUFFER
18189
18190 EISAID now returns an object of type INTEGER
18191
18192 "Index" now works with a STRING operand
18193
18194 "LoadTable" now accepts optional parameters
18195
18196 "ToString" length parameter is now optional
18197
18198 "Interrupt (ResourceType," parse error fixed.
18199
18200 "Register" with a user-defined region space parse error fixed
18201
18202 Escaped backslash at the end of a string ("\\") scan/parse error
18203 fixed
18204
18205 "Revision" is now an object of type INTEGER.
18206
18207
18208
18209 ------------------------------------------
18210 Summary of changes for this label: 05_02_01
18211
18212 Linux:
18213
18214 /proc/acpi/event now blocks properly.
18215
18216 Removed /proc/sys/acpi. You can still dump your DSDT from
18217 /proc/acpi/dsdt.
18218
18219 ACPI CA Core Subsystem:
18220
18221 Fixed a problem introduced in the previous label where some of the
18222 "small" resource descriptor types were not recognized.
18223
18224 Improved error messages for the case where an ASL Field is outside
18225 the range of the parent operation region.
18226
18227 ASL Compiler, version X2018:
18228
18229
18230 Added error detection for ASL Fields that extend beyond the length
18231 of the parent operation region (only if the length of the region
18232 is known at compile time.) This includes fields that have a
18233 minimum access width that is smaller than the parent region, and
18234 individual field units that are partially or entirely beyond the
18235 extent of the parent.
18236
18237
18238
18239 ------------------------------------------
18240 Summary of changes for this label: 04_27_01
18241
18242 ACPI CA Core Subsystem:
18243
18244 Fixed a problem where the namespace mutex could be released at the
18245 wrong time during execution of AcpiRemoveAddressSpaceHandler.
18246
18247 Added optional thread ID output for debug traces, to simplify
18248 debugging of multiple threads. Added context switch notification
18249 when the debug code realizes that a different thread is now
18250 executing ACPI code.
18251
18252 Some additional external data types have been prefixed with the
18253 string "ACPI_" for consistency. This may effect existing code.
18254 The data types affected are the external callback typedefs - e.g.,
18255
18256 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
18257
18258 Linux:
18259
18260 Fixed an issue with the OSL semaphore implementation where a
18261 thread was waking up with an error from receiving a SIGCHLD
18262 signal.
18263
18264 Linux version of ACPI CA now uses the system C library for string
18265 manipulation routines instead of a local implementation.
18266
18267 Cleaned up comments and removed TBDs.
18268
18269 ASL Compiler, version X2017:
18270
18271 Enhanced error detection and reporting for all file I/O
18272 operations.
18273
18274 Documentation:
18275
18276 Programmer Reference updated to version 1.06.
18277
18278
18279
18280 ------------------------------------------
18281 Summary of changes for this label: 04_13_01
18282
18283 ACPI CA Core Subsystem:
18284
18285 Restructured support for BufferFields and RegionFields.
18286 BankFields support is now fully operational. All known 32-bit
18287 limitations on field sizes have been removed. Both BufferFields
18288 and (Operation) RegionFields are now supported by the same field
18289 management code.
18290
18291 Resource support now supports QWORD address and IO resources. The
18292 16/32/64 bit address structures and the Extended IRQ structure
18293 have been changed to properly handle Source Resource strings.
18294
18295 A ThreadId of -1 is now used to indicate a "mutex not acquired"
18296 condition internally and must never be returned by AcpiOsThreadId.
18297 This reserved value was changed from 0 since Unix systems allow a
18298 thread ID of 0.
18299
18300 Linux:
18301
18302 Driver code reorganized to enhance portability
18303
18304 Added a kernel configuration option to control ACPI_DEBUG
18305
18306 Fixed the EC driver to honor _GLK.
18307
18308 ASL Compiler, version X2016:
18309
18310 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
18311 address space was set to 0, not 0x7f as it should be.
18312
18313 ------------------------------------------
18314 Summary of changes for this label: 03_13_01
18315
18316 ACPI CA Core Subsystem:
18317
18318 During ACPI initialization, the _SB_._INI method is now run if
18319 present.
18320
18321 Notify handler fix - notifies are deferred until the parent method
18322 completes execution. This fixes the "mutex already acquired"
18323 issue seen occasionally.
18324
18325 Part of the "implicit conversion" rules in ACPI 2.0 have been
18326 found to cause compatibility problems with existing ASL/AML. The
18327 convert "result-to-target-type" implementation has been removed
18328 for stores to method Args and Locals. Source operand conversion
18329 is still fully implemented. Possible changes to ACPI 2.0
18330 specification pending.
18331
18332 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
18333 length.
18334
18335 Fix for compiler warnings for 64-bit compiles.
18336
18337 Linux:
18338
18339 /proc output aligned for easier parsing.
18340
18341 Release-version compile problem fixed.
18342
18343 New kernel configuration options documented in Configure.help.
18344
18345 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
18346 context" message.
18347
18348 OSPM:
18349
18350 Power resource driver integrated with bus manager.
18351
18352 Fixed kernel fault during active cooling for thermal zones.
18353
18354 Source Code:
18355
18356 The source code tree has been restructured.
18357
18358
18359
18360 ------------------------------------------
18361 Summary of changes for this label: 03_02_01
18362
18363 Linux OS Services Layer (OSL):
18364
18365 Major revision of all Linux-specific code.
18366
18367 Modularized all ACPI-specific drivers.
18368
18369 Added new thermal zone and power resource drivers.
18370
18371 Revamped /proc interface (new functionality is under /proc/acpi).
18372
18373 New kernel configuration options.
18374
18375 Linux known issues:
18376
18377 New kernel configuration options not documented in Configure.help
18378 yet.
18379
18380
18381 Module dependencies not currently implemented. If used, they
18382 should be loaded in this order: busmgr, power, ec, system,
18383 processor, battery, ac_adapter, button, thermal.
18384
18385 Modules will not load if CONFIG_MODVERSION is set.
18386
18387 IBM 600E - entering S5 may reboot instead of shutting down.
18388
18389 IBM 600E - Sleep button may generate "Invalid <NULL> context"
18390 message.
18391
18392 Some systems may fail with "execution mutex already acquired"
18393 message.
18394
18395 ACPI CA Core Subsystem:
18396
18397 Added a new OSL Interface, AcpiOsGetThreadId. This was required
18398 for the deadlock detection code. Defined to return a non-zero, 32-
18399 bit thread ID for the currently executing thread. May be a non-
18400 zero constant integer on single-thread systems.
18401
18402 Implemented deadlock detection for internal subsystem mutexes. We
18403 may add conditional compilation for this code (debug only) later.
18404
18405 ASL/AML Mutex object semantics are now fully supported. This
18406 includes multiple acquires/releases by owner and support for the
18407
18408 Mutex SyncLevel parameter.
18409
18410 A new "Force Release" mechanism automatically frees all ASL
18411 Mutexes that have been acquired but not released when a thread
18412 exits the interpreter. This forces conformance to the ACPI spec
18413 ("All mutexes must be released when an invocation exits") and
18414 prevents deadlocked ASL threads. This mechanism can be expanded
18415 (later) to monitor other resource acquisitions if OEM ASL code
18416 continues to misbehave (which it will).
18417
18418 Several new ACPI exception codes have been added for the Mutex
18419 support.
18420
18421 Recursive method calls are now allowed and supported (the ACPI
18422 spec does in fact allow recursive method calls.) The number of
18423 recursive calls is subject to the restrictions imposed by the
18424 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
18425 parameter.
18426
18427 Implemented support for the SyncLevel parameter for control
18428 methods (ACPI 2.0 feature)
18429
18430 Fixed a deadlock problem when multiple threads attempted to use
18431 the interpreter.
18432
18433 Fixed a problem where the string length of a String package
18434 element was not always set in a package returned from
18435 AcpiEvaluateObject.
18436
18437 Fixed a problem where the length of a String package element was
18438 not always included in the length of the overall package returned
18439 from AcpiEvaluateObject.
18440
18441 Added external interfaces (Acpi*) to the ACPI debug memory
18442 manager. This manager keeps a list of all outstanding
18443 allocations, and can therefore detect memory leaks and attempts to
18444 free memory blocks more than once. Useful for code such as the
18445 power manager, etc. May not be appropriate for device drivers.
18446 Performance with the debug code enabled is slow.
18447
18448 The ACPI Global Lock is now an optional hardware element.
18449
18450 ASL Compiler Version X2015:
18451
18452 Integrated changes to allow the compiler to be generated on
18453 multiple platforms.
18454
18455 Linux makefile added to generate the compiler on Linux
18456
18457 Source Code:
18458
18459 All platform-specific headers have been moved to their own
18460 subdirectory, Include/Platform.
18461
18462 New source file added, Interpreter/ammutex.c
18463
18464 New header file, Include/acstruct.h
18465
18466 Documentation:
18467
18468 The programmer reference has been updated for the following new
18469 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
18470
18471 ------------------------------------------
18472 Summary of changes for this label: 02_08_01
18473
18474 Core ACPI CA Subsystem: Fixed a problem where an error was
18475 incorrectly returned if the return resource buffer was larger than
18476 the actual data (in the resource interfaces).
18477
18478 References to named objects within packages are resolved to the
18479
18480 full pathname string before packages are returned directly (via
18481 the AcpiEvaluateObject interface) or indirectly via the resource
18482 interfaces.
18483
18484 Linux OS Services Layer (OSL):
18485
18486 Improved /proc battery interface.
18487
18488
18489 Added C-state debugging output and other miscellaneous fixes.
18490
18491 ASL Compiler Version X2014:
18492
18493 All defined method arguments can now be used as local variables,
18494 including the ones that are not actually passed in as parameters.
18495 The compiler tracks initialization of the arguments and issues an
18496 exception if they are used without prior assignment (just like
18497 locals).
18498
18499 The -o option now specifies a filename prefix that is used for all
18500 output files, including the AML output file. Otherwise, the
18501 default behavior is as follows: 1) the AML goes to the file
18502 specified in the DSDT. 2) all other output files use the input
18503 source filename as the base.
18504
18505 ------------------------------------------
18506 Summary of changes for this label: 01_25_01
18507
18508 Core ACPI CA Subsystem: Restructured the implementation of object
18509 store support within the interpreter. This includes support for
18510 the Store operator as well as any ASL operators that include a
18511 target operand.
18512
18513 Partially implemented support for Implicit Result-to-Target
18514 conversion. This is when a result object is converted on the fly
18515 to the type of an existing target object. Completion of this
18516 support is pending further analysis of the ACPI specification
18517 concerning this matter.
18518
18519 CPU-specific code has been removed from the subsystem (hardware
18520 directory).
18521
18522 New Power Management Timer functions added
18523
18524 Linux OS Services Layer (OSL): Moved system state transition code
18525 to the core, fixed it, and modified Linux OSL accordingly.
18526
18527 Fixed C2 and C3 latency calculations.
18528
18529
18530 We no longer use the compilation date for the version message on
18531 initialization, but retrieve the version from AcpiGetSystemInfo().
18532
18533 Incorporated for fix Sony VAIO machines.
18534
18535 Documentation: The Programmer Reference has been updated and
18536 reformatted.
18537
18538
18539 ASL Compiler: Version X2013: Fixed a problem where the line
18540 numbering and error reporting could get out of sync in the
18541 presence of multiple include files.
18542
18543 ------------------------------------------
18544 Summary of changes for this label: 01_15_01
18545
18546 Core ACPI CA Subsystem:
18547
18548 Implemented support for type conversions in the execution of the
18549 ASL Concatenate operator (The second operand is converted to
18550 match the type of the first operand before concatenation.)
18551
18552 Support for implicit source operand conversion is partially
18553 implemented. The ASL source operand types Integer, Buffer, and
18554 String are freely interchangeable for most ASL operators and are
18555 converted by the interpreter on the fly as required. Implicit
18556 Target operand conversion (where the result is converted to the
18557 target type before storing) is not yet implemented.
18558
18559 Support for 32-bit and 64-bit BCD integers is implemented.
18560
18561 Problem fixed where a field read on an aligned field could cause a
18562 read past the end of the field.
18563
18564 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
18565 does not return a value, but the caller expects one. (The ASL
18566 compiler flags this as a warning.)
18567
18568 ASL Compiler:
18569
18570 Version X2011:
18571 1. Static typechecking of all operands is implemented. This
18572 prevents the use of invalid objects (such as using a Package where
18573 an Integer is required) at compile time instead of at interpreter
18574 run-time.
18575 2. The ASL source line is printed with ALL errors and warnings.
18576 3. Bug fix for source EOF without final linefeed.
18577 4. Debug option is split into a parse trace and a namespace trace.
18578 5. Namespace output option (-n) includes initial values for
18579 integers and strings.
18580 6. Parse-only option added for quick syntax checking.
18581 7. Compiler checks for duplicate ACPI name declarations
18582
18583 Version X2012:
18584 1. Relaxed typechecking to allow interchangeability between
18585 strings, integers, and buffers. These types are now converted by
18586 the interpreter at runtime.
18587 2. Compiler reports time taken by each internal subsystem in the
18588 debug output file.
18589
18590
18591 ------------------------------------------
18592 Summary of changes for this label: 12_14_00
18593
18594 ASL Compiler:
18595
18596 This is the first official release of the compiler. Since the
18597 compiler requires elements of the Core Subsystem, this label
18598 synchronizes everything.
18599
18600 ------------------------------------------
18601 Summary of changes for this label: 12_08_00
18602
18603
18604 Fixed a problem where named references within the ASL definition
18605 of both OperationRegions and CreateXXXFields did not work
18606 properly. The symptom was an AE_AML_OPERAND_TYPE during
18607 initialization of the region/field. This is similar (but not
18608 related internally) to the problem that was fixed in the last
18609 label.
18610
18611 Implemented both 32-bit and 64-bit support for the BCD ASL
18612 functions ToBCD and FromBCD.
18613
18614 Updated all legal headers to include "2000" in the copyright
18615 years.
18616
18617 ------------------------------------------
18618 Summary of changes for this label: 12_01_00
18619
18620 Fixed a problem where method invocations within the ASL definition
18621 of both OperationRegions and CreateXXXFields did not work
18622 properly. The symptom was an AE_AML_OPERAND_TYPE during
18623 initialization of the region/field:
18624
18625 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
18626 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
18627 (0x3005)
18628
18629 Fixed a problem where operators with more than one nested
18630 subexpression would fail. The symptoms were varied, by mostly
18631 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
18632 problem that has gone unnoticed until now.
18633
18634 Subtract (Add (1,2), Multiply (3,4))
18635
18636 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
18637 previous build (The prefix part of a relative path was handled
18638 incorrectly).
18639
18640 Fixed a problem where Operation Region initialization failed if
18641 the operation region name was a "namepath" instead of a simple
18642 "nameseg". Symptom was an AE_NO_OPERAND error.
18643
18644 Fixed a problem where an assignment to a local variable via the
18645 indirect RefOf mechanism only worked for the first such
18646 assignment. Subsequent assignments were ignored.
18647
18648 ------------------------------------------
18649 Summary of changes for this label: 11_15_00
18650
18651 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
18652 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
18653 the AML interpreter does NOT have support for the new 2.0 ASL
18654 grammar terms at this time.
18655
18656 All ACPI hardware access is via the GAS structures in the ACPI 2.0
18657 FADT.
18658
18659 All physical memory addresses across all platforms are now 64 bits
18660 wide. Logical address width remains dependent on the platform
18661 (i.e., "void *").
18662
18663 AcpiOsMapMemory interface changed to a 64-bit physical address.
18664
18665 The AML interpreter integer size is now 64 bits, as per the ACPI
18666 2.0 specification.
18667
18668 For backwards compatibility with ACPI 1.0, ACPI tables with a
18669 revision number less than 2 use 32-bit integers only.
18670
18671 Fixed a problem where the evaluation of OpRegion operands did not
18672 always resolve them to numbers properly.
18673
18674 ------------------------------------------
18675 Summary of changes for this label: 10_20_00
18676
18677 Fix for CBN_._STA issue. This fix will allow correct access to
18678 CBN_ OpRegions when the _STA returns 0x8.
18679
18680 Support to convert ACPI constants (Ones, Zeros, One) to actual
18681 values before a package object is returned
18682
18683 Fix for method call as predicate to if/while construct causing
18684 incorrect if/while behavior
18685
18686 Fix for Else block package lengths sometimes calculated wrong (if
18687 block > 63 bytes)
18688
18689 Fix for Processor object length field, was always zero
18690
18691 Table load abort if FACP sanity check fails
18692
18693 Fix for problem with Scope(name) if name already exists
18694
18695 Warning emitted if a named object referenced cannot be found
18696 (resolved) during method execution.
18697
18698
18699
18700
18701
18702 ------------------------------------------
18703 Summary of changes for this label: 9_29_00
18704
18705 New table initialization interfaces: AcpiInitializeSubsystem no
18706 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
18707 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
18708 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
18709 AcpiLoadTables
18710
18711 Note: These interface changes require changes to all existing OSDs
18712
18713 The PCI_Config default address space handler is always installed
18714 at the root namespace object.
18715
18716 -------------------------------------------
18717 Summary of changes for this label: 09_15_00
18718
18719 The new initialization architecture is implemented. New
18720 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
18721 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
18722
18723 (Namespace is automatically loaded when a table is loaded)
18724
18725 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
18726 52 bytes to 32 bytes. There is usually one of these for every
18727 namespace object, so the memory savings is significant.
18728
18729 Implemented just-in-time evaluation of the CreateField operators.
18730
18731 Bug fixes for IA-64 support have been integrated.
18732
18733 Additional code review comments have been implemented
18734
18735 The so-called "third pass parse" has been replaced by a final walk
18736 through the namespace to initialize all operation regions (address
18737 spaces) and fields that have not yet been initialized during the
18738 execution of the various _INI and REG methods.
18739
18740 New file - namespace/nsinit.c
18741
18742 -------------------------------------------
18743 Summary of changes for this label: 09_01_00
18744
18745 Namespace manager data structures have been reworked to change the
18746 primary object from a table to a single object. This has
18747 resulted in dynamic memory savings of 3X within the namespace and
18748 2X overall in the ACPI CA subsystem.
18749
18750 Fixed problem where the call to AcpiEvFindPciRootBuses was
18751 inadvertently left commented out.
18752
18753 Reduced the warning count when generating the source with the GCC
18754 compiler.
18755
18756 Revision numbers added to each module header showing the
18757 SourceSafe version of the file. Please refer to this version
18758 number when giving us feedback or comments on individual modules.
18759
18760 The main object types within the subsystem have been renamed to
18761 clarify their purpose:
18762
18763 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
18764 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
18765 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
18766
18767 NOTE: no changes to the initialization sequence are included in
18768 this label.
18769
18770 -------------------------------------------
18771 Summary of changes for this label: 08_23_00
18772
18773 Fixed problem where TerminateControlMethod was being called
18774 multiple times per method
18775
18776 Fixed debugger problem where single stepping caused a semaphore to
18777 be oversignalled
18778
18779 Improved performance through additional parse object caching -
18780 added ACPI_EXTENDED_OP type
18781
18782 -------------------------------------------
18783 Summary of changes for this label: 08_10_00
18784
18785 Parser/Interpreter integration: Eliminated the creation of
18786 complete parse trees for ACPI tables and control methods.
18787 Instead, parse subtrees are created and then deleted as soon as
18788 they are processed (Either entered into the namespace or executed
18789 by the interpreter). This reduces the use of dynamic kernel
18790 memory significantly. (about 10X)
18791
18792 Exception codes broken into classes and renumbered. Be sure to
18793 recompile all code that includes acexcep.h. Hopefully we won't
18794 have to renumber the codes again now that they are split into
18795 classes (environment, programmer, AML code, ACPI table, and
18796 internal).
18797
18798 Fixed some additional alignment issues in the Resource Manager
18799 subcomponent
18800
18801 Implemented semaphore tracking in the AcpiExec utility, and fixed
18802 several places where mutexes/semaphores were being unlocked
18803 without a corresponding lock operation. There are no known
18804 semaphore or mutex "leaks" at this time.
18805
18806 Fixed the case where an ASL Return operator is used to return an
18807 unnamed package.
18808
18809 -------------------------------------------
18810 Summary of changes for this label: 07_28_00
18811
18812 Fixed a problem with the way addresses were calculated in
18813 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
18814 manifested itself when a Field was created with WordAccess or
18815 DwordAccess, but the field unit defined within the Field was less
18816
18817 than a Word or Dword.
18818
18819 Fixed a problem in AmlDumpOperands() module's loop to pull
18820 operands off of the operand stack to display information. The
18821 problem manifested itself as a TLB error on 64-bit systems when
18822 accessing an operand stack with two or more operands.
18823
18824 Fixed a problem with the PCI configuration space handlers where
18825 context was getting confused between accesses. This required a
18826 change to the generic address space handler and address space
18827 setup definitions. Handlers now get both a global handler context
18828 (this is the one passed in by the user when executing
18829 AcpiInstallAddressSpaceHandler() and a specific region context
18830 that is unique to each region (For example, the _ADR, _SEG and
18831 _BBN values associated with a specific region). The generic
18832 function definitions have changed to the following:
18833
18834 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
18835 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
18836 *HandlerContext, // This used to be void *Context void
18837 *RegionContext); // This is an additional parameter
18838
18839 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
18840 RegionHandle, UINT32 Function, void *HandlerContext, void
18841 **RegionContext); // This used to be **ReturnContext
18842
18843 -------------------------------------------
18844 Summary of changes for this label: 07_21_00
18845
18846 Major file consolidation and rename. All files within the
18847 interpreter have been renamed as well as most header files. This
18848 was done to prevent collisions with existing files in the host
18849 OSs -- filenames such as "config.h" and "global.h" seem to be
18850 quite common. The VC project files have been updated. All
18851 makefiles will require modification.
18852
18853 The parser/interpreter integration continues in Phase 5 with the
18854 implementation of a complete 2-pass parse (the AML is parsed
18855 twice) for each table; This avoids the construction of a huge
18856 parse tree and therefore reduces the amount of dynamic memory
18857 required by the subsystem. Greater use of the parse object cache
18858 means that performance is unaffected.
18859
18860 Many comments from the two code reviews have been rolled in.
18861
18862 The 64-bit alignment support is complete.
18863
18864 -------------------------------------------
18865 Summary of changes for this label: 06_30_00
18866
18867 With a nod and a tip of the hat to the technology of yesteryear,
18868 we've added support in the source code for 80 column output
18869 devices. The code is now mostly constrained to 80 columns or
18870 less to support environments and editors that 1) cannot display
18871 or print more than 80 characters on a single line, and 2) cannot
18872 disable line wrapping.
18873
18874 A major restructuring of the namespace data structure has been
18875 completed. The result is 1) cleaner and more
18876 understandable/maintainable code, and 2) a significant reduction
18877 in the dynamic memory requirement for each named ACPI object
18878 (almost half).
18879
18880 -------------------------------------------
18881 Summary of changes for this label: 06_23_00
18882
18883 Linux support has been added. In order to obtain approval to get
18884 the ACPI CA subsystem into the Linux kernel, we've had to make
18885 quite a few changes to the base subsystem that will affect all
18886 users (all the changes are generic and OS- independent). The
18887 effects of these global changes have been somewhat far reaching.
18888 Files have been merged and/or renamed and interfaces have been
18889 renamed. The major changes are described below.
18890
18891 Osd* interfaces renamed to AcpiOs* to eliminate namespace
18892 pollution/confusion within our target kernels. All OSD
18893 interfaces must be modified to match the new naming convention.
18894
18895 Files merged across the subsystem. A number of the smaller source
18896 and header files have been merged to reduce the file count and
18897 increase the density of the existing files. There are too many
18898 to list here. In general, makefiles that call out individual
18899 files will require rebuilding.
18900
18901 Interpreter files renamed. All interpreter files now have the
18902 prefix am* instead of ie* and is*.
18903
18904 Header files renamed: The acapi.h file is now acpixf.h. The
18905 acpiosd.h file is now acpiosxf.h. We are removing references to
18906 the acronym "API" since it is somewhat windowsy. The new name is
18907 "external interface" or xface or xf in the filenames.j
18908
18909
18910 All manifest constants have been forced to upper case (some were
18911 mixed case.) Also, the string "ACPI_" has been prepended to many
18912 (not all) of the constants, typedefs, and structs.
18913
18914 The globals "DebugLevel" and "DebugLayer" have been renamed
18915 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
18916
18917 All other globals within the subsystem are now prefixed with
18918 "AcpiGbl_" Internal procedures within the subsystem are now
18919 prefixed with "Acpi" (with only a few exceptions). The original
18920 two-letter abbreviation for the subcomponent remains after "Acpi"
18921 - for example, CmCallocate became AcpiCmCallocate.
18922
18923 Added a source code translation/conversion utility. Used to
18924 generate the Linux source code, it can be modified to generate
18925 other types of source as well. Can also be used to cleanup
18926 existing source by removing extraneous spaces and blank lines.
18927 Found in tools/acpisrc/*
18928
18929 OsdUnMapMemory was renamed to OsdUnmapMemory and then
18930 AcpiOsUnmapMemory. (UnMap became Unmap).
18931
18932 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
18933 When set to one, this indicates that the caller wants to use the
18934
18935 semaphore as a mutex, not a counting semaphore. ACPI CA uses
18936 both types. However, implementers of this call may want to use
18937 different OS primitives depending on the type of semaphore
18938 requested. For example, some operating systems provide separate
18939
18940 "mutex" and "semaphore" interfaces - where the mutex interface is
18941 much faster because it doesn't have all the overhead of a full
18942 semaphore implementation.
18943
18944 Fixed a deadlock problem where a method that accesses the PCI
18945 address space can block forever if it is the first access to the
18946 space.
18947
18948 -------------------------------------------
18949 Summary of changes for this label: 06_02_00
18950
18951 Support for environments that cannot handle unaligned data
18952 accesses (e.g. firmware and OS environments devoid of alignment
18953 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
18954 been added (via configurable macros) in these three areas: -
18955 Transfer of data from the raw AML byte stream is done via byte
18956 moves instead of word/dword/qword moves. - External objects are
18957 aligned within the user buffer, including package elements (sub-
18958 objects). - Conversion of name strings to UINT32 Acpi Names is now
18959 done byte-wise.
18960
18961 The Store operator was modified to mimic Microsoft's
18962 implementation when storing to a Buffer Field.
18963
18964 Added a check of the BM_STS bit before entering C3.
18965
18966 The methods subdirectory has been obsoleted and removed. A new
18967 file, cmeval.c subsumes the functionality.
18968
18969 A 16-bit (DOS) version of AcpiExec has been developed. The
18970 makefile is under the acpiexec directory.
18971