changes.txt revision 1.1.1.8 1 ----------------------------------------
2 8 January 2016. Summary of changes for version 20160108:
3
4 1) ACPICA kernel-resident subsystem:
5
6 Updated all ACPICA copyrights and signons to 2016: Added the 2016
7 copyright to all source code module headers and utility/tool signons.
8 This includes the standard Linux dual-license header. This affects
9 virtually every file in the ACPICA core subsystem, iASL compiler, all
10 ACPICA utilities, and the ACPICA test suite.
11
12 Fixed a regression introduced in version 20151218 concerning the
13 execution of so-called module-level ASL/AML code. Namespace objects
14 created under a module-level If() construct were not properly/fully
15 entered into the namespace and could cause an interpreter fault when
16 accessed.
17
18 Example Code and Data Size: These are the sizes for the OS-independent
19 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
20 debug version of the code includes the debug output trace mechanism and
21 has a much larger code and data size.
22
23 Current Release:
24 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
25 Debug Version: 200.4K Code, 81.9K Data, 282.4K Total
26 Previous Release:
27 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
28 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
29
30
31 2) iASL Compiler/Disassembler and Tools:
32
33 Fixed a problem with the compilation of the GpioIo and GpioInt resource
34 descriptors. The _PIN field name was incorrectly defined to be an array
35 of 32-bit values, but the _PIN values are in fact 16 bits each. This
36 would cause incorrect bit width warnings when using Word (16-bit) fields
37 to access the descriptors.
38
39
40 ----------------------------------------
41 18 December 2015. Summary of changes for version 20151218:
42
43 1) ACPICA kernel-resident subsystem:
44
45 Implemented per-AML-table execution of "module-level code" as individual
46 ACPI tables are loaded into the namespace during ACPICA initialization.
47 In other words, any module-level code within an AML table is executed
48 immediately after the table is loaded, instead of batched and executed
49 after all of the tables have been loaded. This provides compatibility
50 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
51 David Box.
52
53 To fully support the feature above, the default operation region handlers
54 for the SystemMemory, SystemIO, and PCI_Config address spaces are now
55 installed before any ACPI tables are loaded. This enables module-level
56 code to access these address spaces during the table load and module-
57 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
58 Box.
59
60 Implemented several changes to the internal _REG support in conjunction
61 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
62 utilities for the changes above. Although these tools were changed, host
63 operating systems that simply use the default handlers for SystemMemory,
64 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
65
66 For example, in the code below, DEV1 is conditionally added to the
67 namespace by the DSDT via module-level code that accesses an operation
68 region. The SSDT references DEV1 via the Scope operator. DEV1 must be
69 created immediately after the DSDT is loaded in order for the SSDT to
70 successfully reference DEV1. Previously, this code would cause an
71 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
72 fully supported by ACPICA.
73
74 DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
75 {
76 OperationRegion (OPR1, SystemMemory, 0x400, 32)
77 Field (OPR1, AnyAcc, NoLock, Preserve)
78 {
79 FLD1, 1
80 }
81 If (FLD1)
82 {
83 Device (\DEV1)
84 {
85 }
86 }
87 }
88 DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
89 {
90 External (\DEV1, DeviceObj)
91 Scope (\DEV1)
92 {
93 }
94 }
95
96 Fixed an AML interpreter problem where control method invocations were
97 not handled correctly when the invocation was itself a SuperName argument
98 to another ASL operator. In these cases, the method was not invoked.
99 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
100 argument:
101 Store
102 Acquire, Wait
103 CondRefOf, RefOf
104 Decrement, Increment
105 Load, Unload
106 Notify
107 Signal, Release, Reset
108 SizeOf
109
110 Implemented automatic String-to-ObjectReference conversion support for
111 packages returned by predefined names (such as _DEP). A common BIOS error
112 is to add double quotes around an ObjectReference namepath, which turns
113 the reference into an unexpected string object. This support detects the
114 problem and corrects it before the package is returned to the caller that
115 invoked the method. Lv Zheng.
116
117 Implemented extensions to the Concatenate operator. Concatenate now
118 accepts any type of object, it is not restricted to simply
119 Integer/String/Buffer. For objects other than these 3 basic data types,
120 the argument is treated as a string containing the name of the object
121 type. This expands the utility of Concatenate and the Printf/Fprintf
122 macros. ACPICA BZ 1222.
123
124 Cleaned up the output of the ASL Debug object. The timer() value is now
125 optional and no longer emitted by default. Also, the basic data types of
126 Integer/String/Buffer are simply emitted as their values, without a data
127 type string -- since the data type is obvious from the output. ACPICA BZ
128 1221.
129
130 Example Code and Data Size: These are the sizes for the OS-independent
131 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
132 debug version of the code includes the debug output trace mechanism and
133 has a much larger code and data size.
134
135 Current Release:
136 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
137 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
138 Previous Release:
139 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
140 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
141
142
143 2) iASL Compiler/Disassembler and Tools:
144
145 iASL: Fixed some issues with the ASL Include() operator. This operator
146 was incorrectly defined in the iASL parser rules, causing a new scope to
147 be opened for the code within the include file. This could lead to
148 several issues, including allowing ASL code that is technically illegal
149 and not supported by AML interpreters. Note, this does not affect the
150 related #include preprocessor operator. ACPICA BZ 1212.
151
152 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
153 operator is essentially an ASL macro since there is no AML opcode
154 associated with it. The code emitted by the iASL compiler for ElseIf is
155 an Else opcode followed immediately by an If opcode. The disassembler
156 will now emit an ElseIf if it finds an Else immediately followed by an
157 If. This simplifies the decoded ASL, especially for deeply nested
158 If..Else and large Switch constructs. Thus, the disassembled code more
159 closely follows the original source ASL. ACPICA BZ 1211. Example:
160
161 Old disassembly:
162 Else
163 {
164 If (Arg0 == 0x02)
165 {
166 Local0 = 0x05
167 }
168 }
169
170 New disassembly:
171 ElseIf (Arg0 == 0x02)
172 {
173 Local0 = 0x05
174 }
175
176 AcpiExec: Added support for the new module level code behavior and the
177 early region installation. This required a small change to the
178 initialization, since AcpiExec must install its own operation region
179 handlers.
180
181 AcpiExec: Added support to make the debug object timer optional. Default
182 is timer disabled. This cleans up the debug object output -- the timer
183 data is rarely used.
184
185 AcpiExec: Multiple ACPI tables are now loaded in the order that they
186 appear on the command line. This can be important when there are
187 interdependencies/references between the tables.
188
189 iASL/Templates. Add support to generate template files with multiple
190 SSDTs within a single output file. Also added ommand line support to
191 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
192 1223, 1225.
193
194
195 ----------------------------------------
196 24 November 2015. Summary of changes for version 20151124:
197
198 1) ACPICA kernel-resident subsystem:
199
200 Fixed a possible regression for a previous update to FADT handling. The
201 FADT no longer has a fixed table ID, causing some issues with code that
202 was hardwired to a specific ID. Lv Zheng.
203
204 Fixed a problem where the method auto-serialization could interfere with
205 the current SyncLevel. This change makes the auto-serialization support
206 transparent to the SyncLevel support and management.
207
208 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
209 interface is intended for early access to the namespace during the
210 initial namespace device discovery walk. The _SUB method has been seen to
211 access operation regions in some cases, causing errors because the
212 operation regions are not fully initialized.
213
214 AML Debugger: Fixed some issues with the terminate/quit/exit commands
215 that can cause faults. Lv Zheng.
216
217 AML Debugger: Add thread ID support so that single-step mode only applies
218 to the AML Debugger thread. This prevents runtime errors within some
219 kernels. Lv Zheng.
220
221 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
222 methods that are invoked by this interface are optional, removed warnings
223 emitted for the case where one or more of these methods do not exist.
224 ACPICA BZ 1208, original change by Prarit Bhargava.
225
226 Made a major pass through the entire ACPICA source code base to
227 standardize formatting that has diverged a bit over time. There are no
228 functional changes, but this will of course cause quite a few code
229 differences from the previous ACPICA release.
230
231 Example Code and Data Size: These are the sizes for the OS-independent
232 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
233 debug version of the code includes the debug output trace mechanism and
234 has a much larger code and data size.
235
236 Current Release:
237 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
238 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
239 Previous Release:
240 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
241 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
242
243
244 2) iASL Compiler/Disassembler and Tools:
245
246 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
247 definition blocks within a single ASL file and the resulting AML file.
248 Support for this type of file was also added to the various tools that
249 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
250 example code below shows two definition blocks within the same file:
251
252 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
253 0x12345678)
254 {
255 }
256 DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
257 {
258 }
259
260 iASL: Enhanced typechecking for the Name() operator. All expressions for
261 the value of the named object must be reduced/folded to a single constant
262 at compile time, as per the ACPI specification (the AML definition of
263 Name()).
264
265 iASL: Fixed some code indentation issues for the -ic and -ia options (C
266 and assembly headers). Now all emitted code correctly begins in column 1.
267
268 iASL: Added an error message for an attempt to open a Scope() on an
269 object defined in an SSDT. The DSDT is always loaded into the namespace
270 first, so any attempt to open a Scope on an SSDT object will fail at
271 runtime.
272
273
274 ----------------------------------------
275 30 September 2015. Summary of changes for version 20150930:
276
277 1) ACPICA kernel-resident subsystem:
278
279 Debugger: Implemented several changes and bug fixes to assist support for
280 the in-kernel version of the AML debugger. Lv Zheng.
281 - Fix the "predefined" command for in-kernel debugger.
282 - Do not enter debug command loop for the help and version commands.
283 - Disallow "execute" command during execution/single-step of a method.
284
285 Interpreter: Updated runtime typechecking for all operators that have
286 target operands. The operand is resolved and validated that it is legal.
287 For example, the target cannot be a non-data object such as a Device,
288 Mutex, ThermalZone, etc., as per the ACPI specification.
289
290 Debugger: Fixed the double-mutex user I/O handshake to work when local
291 deadlock detection is enabled.
292
293 Debugger: limited display of method locals and arguments (LocalX and
294 ArgX) to only those that have actually been initialized. This prevents
295 lines of extraneous output.
296
297 Updated the definition of the NFIT table to correct the bit polarity of
298 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
299
300 Example Code and Data Size: These are the sizes for the OS-independent
301 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
302 debug version of the code includes the debug output trace mechanism and
303 has a much larger code and data size.
304
305 Current Release:
306 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
307 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
308 Previous Release:
309 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
310 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
311
312
313 2) iASL Compiler/Disassembler and Tools:
314
315 iASL: Improved the compile-time typechecking for operands of many of the
316 ASL operators:
317
318 -- Added an option to disable compiler operand/operator typechecking (-
319 ot).
320
321 -- For the following operators, the TermArg operands are now validated
322 when possible to be Integer data objects: BankField, OperationRegion,
323 DataTableRegion, Buffer, and Package.
324
325 -- Store (Source, Target): Both the source and target operands are
326 resolved and checked that the operands are both legal. For example,
327 neither operand can be a non-data object such as a Device, Mutex,
328 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
329 operator can be used to store an object to any type of target object.
330
331 -- Store (Source, Target): If the source is a Package object, the target
332 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
333 is a Package, the source must also be a Package.
334
335 -- Store (Source, Target): A warning is issued if the source and target
336 resolve to the identical named object.
337
338 -- Store (Source, <method invocation>): An error is generated for the
339 target method invocation, as this construct is not supported by the AML
340 interpreter.
341
342 -- For all ASL math and logic operators, the target operand must be a
343 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
344 includes the function return value also.
345
346 -- External declarations are also included in the typechecking where
347 possible. External objects defined using the UnknownObj keyword cannot be
348 typechecked, however.
349
350 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
351 operator:
352 - Legacy code: Index(PKG1, 3)
353 - New ASL+ code: PKG1[3]
354 This completes the ACPI 6.0 ASL+ support as it was the only operator not
355 supported.
356
357 iASL: Fixed the file suffix for the preprocessor output file (.i). Two
358 spaces were inadvertently appended to the filename, causing file access
359 and deletion problems on some systems.
360
361 ASL Test Suite (ASLTS): Updated the master makefile to generate all
362 possible compiler output files when building the test suite -- thus
363 exercising these features of the compiler. These files are automatically
364 deleted when the test suite exits.
365
366
367 ----------------------------------------
368 18 August 2015. Summary of changes for version 20150818:
369
370 1) ACPICA kernel-resident subsystem:
371
372 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
373 Zheng. ACPICA BZ 1186.
374
375 Completed development to ensure that the ACPICA Disassembler and Debugger
376 are fully standalone components of ACPICA. Removed cross-component
377 dependences. Lv Zheng.
378
379 The max-number-of-AML-loops is now runtime configurable (previously was
380 compile-time only). This is essentially a loop timeout to force-abort
381 infinite AML loops. ACPCIA BZ 1192.
382
383 Debugger: Cleanup output to dump ACPI names and namepaths without any
384 trailing underscores. Lv Zheng. ACPICA BZ 1135.
385
386 Removed unnecessary conditional compilations across the Debugger and
387 Disassembler components where entire modules could be left uncompiled.
388
389 The aapits test is deprecated and has been removed from the ACPICA git
390 tree. The test has never been completed and has not been maintained, thus
391 becoming rather useless. ACPICA BZ 1015, 794.
392
393 A batch of small changes to close bugzilla and other reports:
394 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
395 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
396 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
397 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob
398 Moore.
399 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
400 ACPICA BZ 1184.
401 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
402 operators.
403 - Debugger: Split debugger initialization/termination interfaces. Lv
404 Zheng.
405 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table
406 identification.
407 - AcpiExec: Add debug message during _REG method phase during table
408 load/init.
409 - AcpiNames: Fix a regression where some output was missing and no longer
410 emitted.
411 - Debugger: General cleanup and simplification. Lv Zheng.
412 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
413
414 Example Code and Data Size: These are the sizes for the OS-independent
415 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
416 debug version of the code includes the debug output trace mechanism and
417 has a much larger code and data size.
418
419 Current Release:
420 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
421 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
422 Previous Release:
423 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
424 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
425
426
427 2) iASL Compiler/Disassembler and Tools:
428
429 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
430 were not handled properly and caused load errors. Now, properly invoke
431 and use the ACPICA auto-reallocate mechanism for ACPI table data
432 structures. ACPICA BZ 1188
433
434 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
435 BZ 1190.
436
437 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
438 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
439 executed during initialization. ACPICA BZ 1187, 1189.
440
441 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
442 that corresponds to each disassembled ASL statement, to simplify
443 debugging. ACPICA BZ 1191.
444
445 Debugger: Add option to the "objects" command to display a summary of the
446 current namespace objects (Object type and count). This is displayed if
447 the command is entered with no arguments.
448
449 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
450
451
452 ----------------------------------------
453 17 July 2015. Summary of changes for version 20150717:
454
455 1) ACPICA kernel-resident subsystem:
456
457 Improved the partitioning between the Debugger and Disassembler
458 components. This allows the Debugger to be used standalone within kernel
459 code without the Disassembler (which is used for single stepping also).
460 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
461
462 Debugger: Implemented a new command to trace the execution of control
463 methods (Trace). This is especially useful for the in-kernel version of
464 the debugger when file I/O may not be available for method trace output.
465 See the ACPICA reference for more information. Lv Zheng.
466
467 Moved all C library prototypes (used for the local versions of these
468 functions when requested) to a new header, acclib.h
469 Cleaned up the use of non-ANSI C library functions. These functions are
470 implemented locally in ACPICA. Moved all such functions to a common
471 source file, utnonansi.c
472
473 Debugger: Fixed a problem with the "!!" command (get last command
474 executed) where the debugger could enter an infinite loop and eventually
475 crash.
476
477 Removed the use of local macros that were used for some of the standard C
478 library functions to automatically cast input parameters. This mostly
479 affected the is* functions where the input parameter is defined to be an
480 int. This required a few modifications to the main ACPICA source code to
481 provide casting for these functions and eliminate possible compiler
482 warnings for these parameters.
483
484 Across the source code, added additional status/error checking to resolve
485 issues discovered by static source code analysis tools such as Coverity.
486
487 Example Code and Data Size: These are the sizes for the OS-independent
488 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
489 debug version of the code includes the debug output trace mechanism and
490 has a much larger code and data size.
491
492 Current Release:
493 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
494 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
495 Previous Release:
496 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
497 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
498
499
500 2) iASL Compiler/Disassembler and Tools:
501
502 iASL: Fixed a regression where the device map file feature no longer
503 worked properly when used in conjunction with the disassembler. It only
504 worked properly with the compiler itself.
505
506 iASL: Implemented a new warning for method LocalX variables that are set
507 but never used (similar to a C compiler such as gcc). This also applies
508 to ArgX variables that are not defined by the parent method, and are
509 instead (legally) used as local variables.
510
511 iASL/Preprocessor: Finished the pass-through of line numbers from the
512 preprocessor to the compiler. This ensures that compiler errors/warnings
513 have the correct original line numbers and filenames, regardless of any
514 #include files.
515
516 iASL/Preprocessor: Fixed a couple of issues with comment handling and the
517 pass-through of comments to the preprocessor output file (which becomes
518 the compiler input file). Also fixed a problem with // comments that
519 appear after a math expression.
520
521 iASL: Added support for the TCPA server table to the table compiler and
522 template generator. (The client table was already previously supported)
523
524 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
525 identify the iASL compiler.
526
527 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
528 multiple times. The new names are ACPI_SIGN_NEGATIVE and
529 ACPI_SIGN_POSITIVE.
530
531 AcpiHelp: Update to expand help messages for the iASL preprocessor
532 directives.
533
534
535 ----------------------------------------
536 19 June 2015. Summary of changes for version 20150619:
537
538 Two regressions in version 20150616 have been addressed:
539
540 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
541 etc.) This update changes ACPICA to only use the standard headers for
542 functions, or the prototypes for the local versions of the C library
543 functions. Across the source code, this required some additional casts
544 for some Clib invocations for portability. Moved all local prototypes to
545 a new file, acclib.h
546
547 Fixes several problems with recent changes to the handling of the FACS
548 table that could cause some systems not to boot.
549
550
551 ----------------------------------------
552 16 June 2015. Summary of changes for version 20150616:
553
554
555 1) ACPICA kernel-resident subsystem:
556
557 Across the entire ACPICA source code base, the various macros for the C
558 library functions (such as ACPI_STRLEN, etc.) have been removed and
559 replaced by the standard C library names (strlen, etc.) The original
560 purpose for these macros is no longer applicable. This simplification
561 reduces the number of macros used in the ACPICA source code
562 significantly, improving readability and maintainability.
563
564 Implemented support for a new ACPI table, the OSDT. This table, the
565 "override" SDT, can be loaded directly by the host OS at boot time. It
566 enables the replacement of existing namespace objects that were installed
567 via the DSDT and/or SSDTs. The primary purpose for this is to replace
568 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
569 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
570 Moore.
571
572 Added support for systems with (improperly) two FACS tables -- a "32-bit"
573 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
574 X field). This change will support both automatically. There continues to
575 be systems found with this issue. This support requires a change to the
576 AcpiSetFirmwareWakingVector interface. Also, a public global variable has
577 been added to allow the host to select which FACS is desired
578 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
579 details Lv Zheng.
580
581 Added a new feature to allow for systems that do not contain an FACS.
582 Although this is already supported on hardware-reduced platforms, the
583 feature has been extended for all platforms. The reasoning is that we do
584 not want to abort the entire ACPICA initialization just because the
585 system is seriously buggy and has no FACS.
586
587 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
588 not correctly transcribed from the ACPI specification in ACPICA version
589 20150515.
590
591 Implemented support for the _CLS object in the AcpiGetObjectInfo external
592 interface.
593
594 Updated the definitions of the TCPA and TPM2 ACPI tables to the more
595 recent TCG ACPI Specification, December 14, 2014. Table disassembler and
596 compiler also updated. Note: The TCPA "server" table is not supported by
597 the disassembler/table-compiler at this time.
598
599 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
600
601 Example Code and Data Size: These are the sizes for the OS-independent
602 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
603 debug version of the code includes the debug output trace mechanism and
604 has a much larger code and data size.
605
606 Current Release:
607 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
608 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
609 Previous Release:
610 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
611 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
612
613
614 2) iASL Compiler/Disassembler and Tools:
615
616 Disassembler: Fixed a problem with the new symbolic operator disassembler
617 where incorrect ASL code could be emitted in some cases for the "non-
618 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
619 ShiftRight. The actual problem cases seem to be rather unusual in common
620 ASL code, however. David Box.
621
622 Modified the linux version of acpidump to obtain ACPI tables from not
623 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
624 Zheng.
625
626 iASL: Fixed a problem where the user preprocessor output file (.i)
627 contained extra data that was not expected. The compiler was using this
628 file as a temporary file and passed through #line directives in order to
629 keep compiler error messages in sync with the input file and line number
630 across multiple include files. The (.i) is no longer a temporary file as
631 the compiler uses a new, different file for the original purpose.
632
633 iASL: Fixed a problem where comments within the original ASL source code
634 file were not passed through to the preprocessor output file, nor any
635 listing files.
636
637 iASL: Fixed some issues for the handling of the "#include" preprocessor
638 directive and the similar (but not the same) "Include" ASL operator.
639
640 iASL: Add support for the new OSDT in both the disassembler and compiler.
641
642 iASL: Fixed a problem with the constant folding support where a Buffer
643 object could be incorrectly generated (incorrectly formed) during a
644 conversion to a Store() operator.
645
646 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
647 description text for the _REV predefined name. _REV now permanently
648 returns 2, as per the ACPI 6.0 specification.
649
650 Debugger: Enhanced the output of the Debug ASL object for references
651 produced by the Index operator. For Buffers and strings, only output the
652 actual byte pointed to by the index. For packages, only print the single
653 package element decoded by the index. Previously, the entire
654 buffer/string/package was emitted.
655
656 iASL/Table-compiler: Fixed a regression where the "generic" data types
657 were no longer recognized, causing errors.
658
659
660 ----------------------------------------
661 15 May 2015. Summary of changes for version 20150515:
662
663 This release implements most of ACPI 6.0 as described below.
664
665 1) ACPICA kernel-resident subsystem:
666
667 Implemented runtime argument checking and return value checking for all
668 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
669 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
670
671 Example Code and Data Size: These are the sizes for the OS-independent
672 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
673 debug version of the code includes the debug output trace mechanism and
674 has a much larger code and data size.
675
676 Current Release:
677 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
678 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
679 Previous Release:
680 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
681 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
682
683
684 2) iASL Compiler/Disassembler and Tools:
685
686 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
687 names (argument count validation and return value typechecking.)
688
689 iASL disassembler and table compiler: implemented support for all new
690 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
691
692 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
693 tables: FADT, MADT.
694
695 iASL preprocessor: Added a new directive to enable inclusion of binary
696 blobs into ASL code. The new directive is #includebuffer. It takes a
697 binary file as input and emits a named ascii buffer object into the ASL
698 code.
699
700 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
701
702 AcpiHelp: Added a new option, -d, to display all iASL preprocessor
703 directives.
704
705 AcpiHelp: Added a new option, -t, to display all known/supported ACPI
706 tables.
707
708
709 ----------------------------------------
710 10 April 2015. Summary of changes for version 20150410:
711
712 Reverted a change introduced in version 20150408 that caused
713 a regression in the disassembler where incorrect operator
714 symbols could be emitted.
715
716
717 ----------------------------------------
718 08 April 2015. Summary of changes for version 20150408:
719
720
721 1) ACPICA kernel-resident subsystem:
722
723 Permanently set the return value for the _REV predefined name. It now
724 returns 2 (was 5). This matches other ACPI implementations. _REV will be
725 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
726 for ACPI 2.0 and later. It should never be used to differentiate or
727 identify operating systems.
728
729 Added the "Windows 2015" string to the _OSI support. ACPICA will now
730 return TRUE to a query with this string.
731
732 Fixed several issues with the local version of the printf function.
733
734 Added the C99 compiler option (-std=c99) to the Unix makefiles.
735
736 Current Release:
737 Non-Debug Version: 99.9K Code, 27.4K Data, 127.3K Total
738 Debug Version: 195.2K Code, 80.7K Data, 275.9K Total
739 Previous Release:
740 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
741 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
742
743
744 2) iASL Compiler/Disassembler and Tools:
745
746 iASL: Implemented an enhancement to the constant folding feature to
747 transform the parse tree to a simple Store operation whenever possible:
748 Add (2, 3, X) ==> is converted to: Store (5, X)
749 X = 2 + 3 ==> is converted to: Store (5, X)
750
751 Updated support for the SLIC table (Software Licensing Description Table)
752 in both the Data Table compiler and the disassembler. The SLIC table
753 support now conforms to "Microsoft Software Licensing Tables (SLIC and
754 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
755 following the ACPI header is now defined to be "Proprietary Data", and as
756 such, can only be entered or displayed as a hex data block.
757
758 Implemented full support for the MSDM table as described in the document
759 above. Note: The format of MSDM is similar to SLIC. Any MSDM data
760 following the ACPI header is defined to be "Proprietary Data", and can
761 only be entered or displayed as a hex data block.
762
763 Implemented the -Pn option for the iASL Table Compiler (was only
764 implemented for the ASL compiler). This option disables the iASL
765 preprocessor.
766
767 Disassembler: For disassembly of Data Tables, added a comment field
768 around the Ascii equivalent data that is emitted as part of the "Raw
769 Table Data" block. This prevents the iASL Preprocessor from possible
770 confusion if/when the table is compiled.
771
772 Disassembler: Added an option (-df) to force the disassembler to assume
773 that the table being disassembled contains valid AML. This feature is
774 useful for disassembling AML files that contain ACPI signatures other
775 than DSDT or SSDT (such as OEMx or other signatures).
776
777 Changes for the EFI version of the tools:
778 1) Fixed a build error/issue
779 2) Fixed a cast warning
780
781 iASL: Fixed a path issue with the __FILE__ operator by making the
782 directory prefix optional within the internal SplitInputFilename
783 function.
784
785 Debugger: Removed some unused global variables.
786
787 Tests: Updated the makefile for proper generation of the AAPITS suite.
788
789
790 ----------------------------------------
791 04 February 2015. Summary of changes for version 20150204:
792
793 ACPICA kernel-resident subsystem:
794
795 Updated all ACPICA copyrights and signons to 2014. Added the 2014
796 copyright to all module headers and signons, including the standard Linux
797 header. This affects virtually every file in the ACPICA core subsystem,
798 iASL compiler, all ACPICA utilities, and the test suites.
799
800 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
801 A raw gpe handling mechanism was created to allow better handling of GPE
802 storms that aren't easily managed by the normal handler. The raw handler
803 allows disabling/renabling of the the GPE so that interrupt storms can be
804 avoided in cases where events cannot be timely serviced. In this
805 scenario, handlers should use the AcpiSetGpe() API to disable/enable the
806 GPE. This API will leave the reference counts undisturbed, thereby
807 preventing unintentional clearing of the GPE when the intent in only to
808 temporarily disable it. Raw handlers allow enabling and disabling of a
809 GPE by removing GPE register locking. As such, raw handlers much provide
810 their own locks while using GPE API's to protect access to GPE data
811 structures.
812 Lv Zheng
813
814 Events: Always modify GPE registers under the GPE lock.
815 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
816 values. Reported as bug by joe.liu (a] apple.com.
817
818 Unix makefiles: Separate option to disable optimizations and
819 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
820 NOOPT disable option and creates a separate flag (NOFORTIFY) for this
821 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
822 errors when building ACPICA. This allows disabling the option without
823 also having to disable optimazations.
824 David Box
825
826 Current Release:
827 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
828 Debug Version: 199.2K Code, 82.4K Data, 281.6K Total
829
830 --
831 --------------------------------------
832 07 November 2014. Summary of changes for version 20141107:
833
834 This release is available at https://acpica.org/downloads
835
836 This release introduces and implements language extensions to ASL that
837 provide support for symbolic ("C-style") operators and expressions. These
838 language extensions are known collectively as ASL+.
839
840
841 1) iASL Compiler/Disassembler and Tools:
842
843 Disassembler: Fixed a problem with disassembly of the UartSerialBus
844 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
845 Box.
846
847 Disassembler: Fixed the Unicode macro support to add escape sequences.
848 All non-printable ASCII values are emitted as escape sequences, as well
849 as the standard escapes for quote and backslash. Ensures that the
850 disassembled macro can be correctly recompiled.
851
852 iASL: Added Printf/Fprintf macros for formatted output. These macros are
853 translated to existing AML Concatenate and Store operations. Printf
854 writes to the ASL Debug object. Fprintf allows the specification of an
855 ASL name as the target. Only a single format specifier is required, %o,
856 since the AML interpreter dynamically converts objects to the required
857 type. David E. Box.
858
859 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
860 (Concatenate (Concatenate (Concatenate ("", Arg0),
861 ": Unexpected value for "), Arg1), ", "), Arg2),
862 " at line "), Arg3), Debug)
863
864 (new) Printf ("%o: Unexpected value for %o, %o at line %o",
865 Arg0, Arg1, Arg2, Arg3)
866
867 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
868 ("", Arg1), ": "), Arg0), " Successful"), STR1)
869
870 (new) Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
871
872 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
873 ASL parse tree before the AML code is generated. This allows blocks of
874 ASL code to be removed in order to help locate and identify problem
875 devices and/or code. David E. Box.
876
877 AcpiExec: Added support (-fi) for an optional namespace object
878 initialization file. This file specifies initial values for namespace
879 objects as necessary for debugging and testing different ASL code paths
880 that may be taken as a result of BIOS options.
881
882
883 2) Overview of symbolic operator support for ASL (ASL+)
884 -------------------------------------------------------
885
886 As an extension to the ASL language, iASL implements support for symbolic
887 (C-style) operators for math and logical expressions. This can greatly
888 simplify ASL code as well as improve both readability and
889 maintainability. These language extensions can exist concurrently with
890 all legacy ASL code and expressions.
891
892 The symbolic extensions are 100% compatible with existing AML
893 interpreters, since no new AML opcodes are created. To implement the
894 extensions, the iASL compiler transforms the symbolic expressions into
895 the legacy ASL/AML equivalents at compile time.
896
897 Full symbolic expressions are supported, along with the standard C
898 precedence and associativity rules.
899
900 Full disassembler support for the symbolic expressions is provided, and
901 creates an automatic migration path for existing ASL code to ASL+ code
902 via the disassembly process. By default, the disassembler now emits ASL+
903 code with symbolic expressions. An option (-dl) is provided to force the
904 disassembler to emit legacy ASL code if desired.
905
906 Below is the complete list of the currently supported symbolic operators
907 with examples. See the iASL User Guide for additional information.
908
909
910 ASL+ Syntax Legacy ASL Equivalent
911 ----------- ---------------------
912
913 // Math operators
914
915 Z = X + Y Add (X, Y, Z)
916 Z = X - Y Subtract (X, Y, Z)
917 Z = X * Y Multiply (X, Y, Z)
918 Z = X / Y Divide (X, Y, , Z)
919 Z = X % Y Mod (X, Y, Z)
920 Z = X << Y ShiftLeft (X, Y, Z)
921 Z = X >> Y ShiftRight (X, Y, Z)
922 Z = X & Y And (X, Y, Z)
923 Z = X | Y Or (X, Y, Z)
924 Z = X ^ Y Xor (X, Y, Z)
925 Z = ~X Not (X, Z)
926 X++ Increment (X)
927 X-- Decrement (X)
928
929 // Logical operators
930
931 (X == Y) LEqual (X, Y)
932 (X != Y) LNotEqual (X, Y)
933 (X < Y) LLess (X, Y)
934 (X > Y) LGreater (X, Y)
935 (X <= Y) LLessEqual (X, Y)
936 (X >= Y) LGreaterEqual (X, Y)
937 (X && Y) LAnd (X, Y)
938 (X || Y) LOr (X, Y)
939 (!X) LNot (X)
940
941 // Assignment and compound assignment operations
942
943 X = Y Store (Y, X)
944 X += Y Add (X, Y, X)
945 X -= Y Subtract (X, Y, X)
946 X *= Y Multiply (X, Y, X)
947 X /= Y Divide (X, Y, , X)
948 X %= Y Mod (X, Y, X)
949 X <<= Y ShiftLeft (X, Y, X)
950 X >>= Y ShiftRight (X, Y, X)
951 X &= Y And (X, Y, X)
952 X |= Y Or (X, Y, X)
953 X ^= Y Xor (X, Y, X)
954
955
956 3) ASL+ Examples:
957 -----------------
958
959 Legacy ASL:
960 If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
961 And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
962 0x03FB),
963 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
964 {
965 And (MEMB, 0xFFFFFFF0, SRMB)
966 Store (MEMB, Local2)
967 Store (PDBM, Local1)
968 And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
969 Store (SRMB, MEMB)
970 Or (PDBM, 0x02, PDBM)
971 }
972
973 ASL+ version:
974 If (((R510 & 0x03FB) == 0x02E0) ||
975 ((R520 & 0x03FB) == 0x02E0) ||
976 ((R530 & 0x03FB) == 0x02E0) ||
977 ((R540 & 0x03FB) == 0x02E0))
978 {
979 SRMB = (MEMB & 0xFFFFFFF0)
980 Local2 = MEMB
981 Local1 = PDBM
982 PDBM &= 0xFFFFFFFFFFFFFFF9
983 MEMB = SRMB
984 PDBM |= 0x02
985 }
986
987 Legacy ASL:
988 Store (0x1234, Local1)
989 Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
990 Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
991 Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
992 Store (Index (PKG1, 0x03), Local6)
993 Store (Add (Local3, Local2), Debug)
994 Add (Local1, 0x0F, Local2)
995 Add (Local1, Multiply (Local2, Local3), Local2)
996 Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
997
998 ASL+ version:
999 Local1 = 0x1234
1000 Local3 = (((Local1 + TEST) + 0x20) * Local2)
1001 Local3 = (Local2 * ((Local1 + TEST) + 0x20))
1002 Local3 = (Local1 + (TEST + (0x20 * Local2)))
1003 Local6 = Index (PKG1, 0x03)
1004 Debug = (Local3 + Local2)
1005 Local2 = (Local1 + 0x0F)
1006 Local2 = (Local1 + (Local2 * Local3))
1007 Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
1008
1009
1010 ----------------------------------------
1011 26 September 2014. Summary of changes for version 20140926:
1012
1013 1) ACPICA kernel-resident subsystem:
1014
1015 Updated the GPIO operation region handler interface (GeneralPurposeIo).
1016 In order to support GPIO Connection objects with multiple pins, along
1017 with the related Field objects, the following changes to the interface
1018 have been made: The Address is now defined to be the offset in bits of
1019 the field unit from the previous invocation of a Connection. It can be
1020 viewed as a "Pin Number Index" into the connection resource descriptor.
1021 The BitWidth is the exact bit width of the field. It is usually one bit,
1022 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
1023 additional information and examples.
1024
1025 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
1026 corresponding _Lxx/_Exx methods are disabled (they may have been enabled
1027 by the firmware), so that they cannot fire until they are enabled via
1028 AcpiUpdateAllGpes. Rafael J. Wysocki.
1029
1030 Added a new return flag for the Event/GPE status interfaces --
1031 AcpiGetEventStatus and AcpiGetGpeStatus. The new
1032 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
1033 GPE currently has a handler associated with it, and can thus actually
1034 affect the system. Lv Zheng.
1035
1036 Example Code and Data Size: These are the sizes for the OS-independent
1037 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1038 debug version of the code includes the debug output trace mechanism and
1039 has a much larger code and data size.
1040
1041 Current Release:
1042 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
1043 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
1044 Previous Release:
1045 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1046 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1047
1048 2) iASL Compiler/Disassembler and Tools:
1049
1050 iASL: Fixed a memory allocation/free regression introduced in 20140828
1051 that could cause the compiler to crash. This was introduced inadvertently
1052 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
1053 1113.
1054
1055 iASL: Removed two error messages that have been found to create false
1056 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
1057 1) Illegal forward reference within a method
1058 2) Illegal reference across two methods
1059
1060 iASL: Implemented a new option (-lm) to create a hardware mapping file
1061 that summarizes all GPIO, I2C, SPI, and UART connections. This option
1062 works for both the compiler and disassembler. See the iASL compiler user
1063 guide for additional information and examples (section 6.4.6).
1064
1065 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
1066 version 2. This corrects the AE_BAD_HEADER exception seen on systems with
1067 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
1068
1069 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
1070 unless STDIN is actually a terminal. Assists with batch-mode processing.
1071 ACPICA BZ 1114.
1072
1073 Disassembler/AcpiHelp: Added another large group of recognized _HID
1074 values.
1075
1076
1077 ----------------------------------------
1078 28 August 2014. Summary of changes for version 20140828:
1079
1080 1) ACPICA kernel-resident subsystem:
1081
1082 Fixed a problem related to the internal use of the Timer() operator where
1083 a 64-bit divide could cause an attempted link to a double-precision math
1084 library. This divide is not actually necessary, so the code was
1085 restructured to eliminate it. Lv Zheng.
1086
1087 ACPI 5.1: Added support for the runtime validation of the _DSD package
1088 (similar to the iASL support).
1089
1090 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
1091 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
1092
1093 Example Code and Data Size: These are the sizes for the OS-independent
1094 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1095 debug version of the code includes the debug output trace mechanism and
1096 has a much larger code and data size.
1097
1098 Current Release:
1099 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1100 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1101 Previous Release:
1102 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total1
1103 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
1104
1105 2) iASL Compiler/Disassembler and Tools:
1106
1107 AcpiExec: Fixed a problem on unix systems where the original terminal
1108 state was not always properly restored upon exit. Seen when using the -v
1109 option. ACPICA BZ 1104.
1110
1111 iASL: Fixed a problem with the validation of the ranges/length within the
1112 Memory24 resource descriptor. There was a boundary condition when the
1113 range was equal to the (length -1) caused by the fact that these values
1114 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
1115
1116 Disassembler: Fixed a problem with the GpioInt descriptor interrupt
1117 polarity
1118 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
1119 is
1120 now supported properly.
1121
1122 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
1123 in the disassembler, data table compiler, and table template generator.
1124
1125 iASL: Added a requirement for Device() objects that one of either a _HID
1126 or _ADR must exist within the scope of a Device, as per the ACPI
1127 specification. Remove a similar requirement that was incorrectly in place
1128 for the _DSD object.
1129
1130 iASL: Added error detection for illegal named references within control
1131 methods that would cause runtime failures. Now trapped as errors are: 1)
1132 References to objects within a non-parent control method. 2) Forward
1133 references (within a method) -- for control methods, AML interpreters use
1134 a one-pass parse of control methods. ACPICA BZ 1008.
1135
1136 iASL: Added error checking for dependencies related to the _PSx power
1137 methods. ACPICA BZ 1029.
1138 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
1139 _PS3.
1140 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
1141 scope.
1142
1143 iASL and table compiler: Cleanup miscellaneous memory leaks by fully
1144 deploying the existing object and string caches and adding new caches for
1145 the table compiler.
1146
1147 iASL: Split the huge parser source file into multiple subfiles to improve
1148 manageability. Generation now requires the M4 macro preprocessor, which
1149 is part of the Bison distribution on both unix and windows platforms.
1150
1151 AcpiSrc: Fixed and removed all extraneous warnings generated during
1152 entire ACPICA source code scan and/or conversion.
1153
1154
1155 ----------------------------------------
1156
1157 24 July 2014. Summary of changes for version 20140724:
1158
1159 The ACPI 5.1 specification has been released and is available at:
1160 http://uefi.org/specs/access
1161
1162
1163 0) ACPI 5.1 support in ACPICA:
1164
1165 ACPI 5.1 is fully supported in ACPICA as of this release.
1166
1167 New predefined names. Support includes iASL and runtime ACPICA
1168 validation.
1169 _CCA (Cache Coherency Attribute).
1170 _DSD (Device-Specific Data). David Box.
1171
1172 Modifications to existing ACPI tables. Support includes headers, iASL
1173 Data Table compiler, disassembler, and the template generator.
1174 FADT - New fields and flags. Graeme Gregory.
1175 GTDT - One new subtable and new fields. Tomasz Nowicki.
1176 MADT - Two new subtables. Tomasz Nowicki.
1177 PCCT - One new subtable.
1178
1179 Miscellaneous.
1180 New notification type for System Resource Affinity change events.
1181
1182
1183 1) ACPICA kernel-resident subsystem:
1184
1185 Fixed a regression introduced in 20140627 where a fault can happen during
1186 the deletion of Alias AML namespace objects. The problem affected both
1187 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
1188
1189 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
1190 simple mechanism to enable wake GPEs that have no associated handler or
1191 control method. Rafael Wysocki.
1192
1193 Updated the AcpiEnableGpe interface to disallow the enable if there is no
1194 handler or control method associated with the particular GPE. This will
1195 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
1196
1197 Updated GPE handling and dispatch by disabling the GPE before clearing
1198 the status bit for edge-triggered GPEs. Lv Zheng.
1199
1200 Added Timer() support to the AML Debug object. The current timer value is
1201 now displayed with each invocation of (Store to) the debug object to
1202 enable simple generation of execution times for AML code (method
1203 execution for example.) ACPICA BZ 1093.
1204
1205 Example Code and Data Size: These are the sizes for the OS-independent
1206 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1207 debug version of the code includes the debug output trace mechanism and
1208 has a much larger code and data size.
1209
1210 Current Release:
1211 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total
1212 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
1213 Previous Release:
1214 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
1215 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
1216
1217
1218 2) iASL Compiler/Disassembler and Tools:
1219
1220 Fixed an issue with the recently added local printf implementation,
1221 concerning width/precision specifiers that could cause incorrect output.
1222 Lv Zheng. ACPICA BZ 1094.
1223
1224 Disassembler: Added support to detect buffers that contain UUIDs and
1225 disassemble them to an invocation of the ToUUID operator. Also emit
1226 commented descriptions of known ACPI-related UUIDs.
1227
1228 AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
1229 -u. Adds three new files.
1230
1231 iASL: Update table compiler and disassembler for DMAR table changes that
1232 were introduced in September 2013. With assistance by David Woodhouse.
1233
1234 ----------------------------------------
1235 27 June 2014. Summary of changes for version 20140627:
1236
1237 1) ACPICA kernel-resident subsystem:
1238
1239 Formatted Output: Implemented local versions of standard formatted output
1240 utilities such as printf, etc. Over time, it has been discovered that
1241 there are in fact many portability issues with printf, and the addition
1242 of this feature will fix/prevent these issues once and for all. Some
1243 known issues are summarized below:
1244
1245 1) Output of 64-bit values is not portable. For example, UINT64 is %ull
1246 for the Linux kernel and is %uI64 for some MSVC versions.
1247 2) Invoking printf consistently in a manner that is portable across both
1248 32-bit and 64-bit platforms is difficult at best in many situations.
1249 3) The output format for pointers varies from system to system (leading
1250 zeros especially), and leads to inconsistent output from ACPICA across
1251 platforms.
1252 4) Certain platform-specific printf formats may conflict with ACPICA use.
1253 5) If there is no local C library available, ACPICA now has local support
1254 for printf.
1255
1256 -- To address these printf issues in a complete manner, ACPICA now
1257 directly implements a small subset of printf format specifiers, only
1258 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
1259
1260 Implemented support for ACPICA generation within the EFI environment.
1261 Initially, the AcpiDump utility is supported in the UEFI shell
1262 environment. Lv Zheng.
1263
1264 Added a new external interface, AcpiLogError, to improve ACPICA
1265 portability. This allows the host to redirect error messages from the
1266 ACPICA utilities. Lv Zheng.
1267
1268 Added and deployed new OSL file I/O interfaces to improve ACPICA
1269 portability:
1270 AcpiOsOpenFile
1271 AcpiOsCloseFile
1272 AcpiOsReadFile
1273 AcpiOsWriteFile
1274 AcpiOsGetFileOffset
1275 AcpiOsSetFileOffset
1276 There are C library implementations of these functions in the new file
1277 service_layers/oslibcfs.c -- however, the functions can be implemented by
1278 the local host in any way necessary. Lv Zheng.
1279
1280 Implemented a mechanism to disable/enable ACPI table checksum validation
1281 at runtime. This can be useful when loading tables very early during OS
1282 initialization when it may not be possible to map the entire table in
1283 order to compute the checksum. Lv Zheng.
1284
1285 Fixed a buffer allocation issue for the Generic Serial Bus support.
1286 Originally, a fixed buffer length was used. This change allows for
1287 variable-length buffers based upon the protocol indicated by the field
1288 access attributes. Reported by Lan Tianyu. Lv Zheng.
1289
1290 Fixed a problem where an object detached from a namespace node was not
1291 properly terminated/cleared and could cause a circular list problem if
1292 reattached. ACPICA BZ 1063. David Box.
1293
1294 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
1295
1296 Fixed a possible memory leak in an error return path within the function
1297 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
1298
1299 Example Code and Data Size: These are the sizes for the OS-independent
1300 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1301 debug version of the code includes the debug output trace mechanism and
1302 has a much larger code and data size.
1303
1304 Current Release:
1305 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
1306 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
1307 Previous Release:
1308 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
1309 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
1310
1311
1312 2) iASL Compiler/Disassembler and Tools:
1313
1314 Disassembler: Add dump of ASCII equivalent text within a comment at the
1315 end of each line of the output for the Buffer() ASL operator.
1316
1317 AcpiDump: Miscellaneous changes:
1318 Fixed repetitive table dump in -n mode.
1319 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
1320 the ACPI 2.0 GUID fails.
1321
1322 iASL: Fixed a problem where the compiler could fault if incorrectly given
1323 an acpidump output file as input. ACPICA BZ 1088. David Box.
1324
1325 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
1326 they are invoked without any arguments.
1327
1328 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
1329 1086. Colin Ian King.
1330
1331 Disassembler: Cleaned up a block of code that extracts a parent Op
1332 object. Added a comment that explains that the parent is guaranteed to be
1333 valid in this case. ACPICA BZ 1069.
1334
1335
1336 ----------------------------------------
1337 24 April 2014. Summary of changes for version 20140424:
1338
1339 1) ACPICA kernel-resident subsystem:
1340
1341 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
1342 Some of these tables are known to contain a trailing NULL entry. Lv
1343 Zheng.
1344
1345 Removed an extraneous error message for the case where there are a large
1346 number of system GPEs (> 124). This was the "32-bit FADT register is too
1347 long to convert to GAS struct" message, which is irrelevant for GPEs
1348 since the GPEx_BLK_LEN fields of the FADT are always used instead of the
1349 (limited capacity) GAS bit length. Also, several changes to ensure proper
1350 support for GPE numbers > 255, where some "GPE number" fields were 8-bits
1351 internally.
1352
1353 Implemented and deployed additional configuration support for the public
1354 ACPICA external interfaces. Entire classes of interfaces can now be
1355 easily modified or configured out, replaced by stubbed inline functions
1356 by default. Lv Zheng.
1357
1358 Moved all public ACPICA runtime configuration globals to the public
1359 ACPICA external interface file for convenience. Also, removed some
1360 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
1361
1362 Documentation: Added a new section to the ACPICA reference describing the
1363 maximum number of GPEs that can be supported by the FADT-defined GPEs in
1364 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
1365 reference.
1366
1367 Example Code and Data Size: These are the sizes for the OS-independent
1368 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1369 debug version of the code includes the debug output trace mechanism and
1370 has a much larger code and data size.
1371
1372 Current Release:
1373 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
1374 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
1375 Previous Release:
1376 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
1377 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
1378
1379
1380 2) iASL Compiler/Disassembler and Tools:
1381
1382 iASL and disassembler: Add full support for the LPIT table (Low Power
1383 Idle Table). Includes support in the disassembler, data table compiler,
1384 and template generator.
1385
1386 AcpiDump utility:
1387 1) Add option to force the use of the RSDT (over the XSDT).
1388 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
1389
1390 iASL: Add check for predefined packages that are too large. For
1391 predefined names that contain subpackages, check if each subpackage is
1392 too large. (Check for too small already exists.)
1393
1394 Debugger: Updated the GPE command (which simulates a GPE by executing the
1395 GPE code paths in ACPICA). The GPE device is now optional, and defaults
1396 to the GPE 0/1 FADT-defined blocks.
1397
1398 Unix application OSL: Update line-editing support. Add additional error
1399 checking and take care not to reset terminal attributes on exit if they
1400 were never set. This should help guarantee that the terminal is always
1401 left in the previous state on program exit.
1402
1403
1404 ----------------------------------------
1405 25 March 2014. Summary of changes for version 20140325:
1406
1407 1) ACPICA kernel-resident subsystem:
1408
1409 Updated the auto-serialize feature for control methods. This feature
1410 automatically serializes all methods that create named objects in order
1411 to prevent runtime errors. The update adds support to ignore the
1412 currently executing AML SyncLevel when invoking such a method, in order
1413 to prevent disruption of any existing SyncLevel priorities that may exist
1414 in the AML code. Although the use of SyncLevels is relatively rare, this
1415 change fixes a regression where an AE_AML_MUTEX_ORDER exception can
1416 appear on some machines starting with the 20140214 release.
1417
1418 Added a new external interface to allow the host to install ACPI tables
1419 very early, before the namespace is even created. AcpiInstallTable gives
1420 the host additional flexibility for ACPI table management. Tables can be
1421 installed directly by the host as if they had originally appeared in the
1422 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
1423 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along
1424 with additional internal restructuring and cleanup. See the ACPICA
1425 Reference for interface details. Lv Zheng.
1426
1427 Added validation of the checksum for all incoming dynamically loaded
1428 tables (via external interfaces or via AML Load/LoadTable operators). Lv
1429 Zheng.
1430
1431 Updated the use of the AcpiOsWaitEventsComplete interface during Notify
1432 and GPE handler removal. Restructured calls to eliminate possible race
1433 conditions. Lv Zheng.
1434
1435 Added a warning for the use/execution of the ASL/AML Unload (table)
1436 operator. This will help detect and identify machines that use this
1437 operator if and when it is ever used. This operator has never been seen
1438 in the field and the usage model and possible side-effects of the drastic
1439 runtime action of a full table removal are unknown.
1440
1441 Reverted the use of #pragma push/pop which was introduced in the 20140214
1442 release. It appears that push and pop are not implemented by enough
1443 compilers to make the use of this feature feasible for ACPICA at this
1444 time. However, these operators may be deployed in a future ACPICA
1445 release.
1446
1447 Added the missing EXPORT_SYMBOL macros for the install and remove SCI
1448 handler interfaces.
1449
1450 Source code generation:
1451 1) Disabled the use of the "strchr" macro for the gcc-specific
1452 generation. For some versions of gcc, this macro can periodically expose
1453 a compiler bug which in turn causes compile-time error(s).
1454 2) Added support for PPC64 compilation. Colin Ian King.
1455
1456 Example Code and Data Size: These are the sizes for the OS-independent
1457 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1458 debug version of the code includes the debug output trace mechanism and
1459 has a much larger code and data size.
1460
1461 Current Release:
1462 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
1463 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
1464 Previous Release:
1465 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
1466 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
1467
1468
1469 2) iASL Compiler/Disassembler and Tools:
1470
1471 Disassembler: Added several new features to improve the readability of
1472 the resulting ASL code. Extra information is emitted within comment
1473 fields in the ASL code:
1474 1) Known _HID/_CID values are decoded to descriptive text.
1475 2) Standard values for the Notify() operator are decoded to descriptive
1476 text.
1477 3) Target operands are expanded to full pathnames (in a comment) when
1478 possible.
1479
1480 Disassembler: Miscellaneous updates for extern() handling:
1481 1) Abort compiler if file specified by -fe option does not exist.
1482 2) Silence unnecessary warnings about argument count mismatches.
1483 3) Update warning messages concerning unresolved method externals.
1484 4) Emit "UnknownObj" keyword for externals whose type cannot be
1485 determined.
1486
1487 AcpiHelp utility:
1488 1) Added the -a option to display both the ASL syntax and the AML
1489 encoding for an input ASL operator. This effectively displays all known
1490 information about an ASL operator with one AcpiHelp invocation.
1491 2) Added substring match support (similar to a wildcard) for the -i
1492 (_HID/PNP IDs) option.
1493
1494 iASL/Disassembler: Since this tool does not yet support execution on big-
1495 endian machines, added detection of endianness and an error message if
1496 execution is attempted on big-endian. Support for big-endian within iASL
1497 is a feature that is on the ACPICA to-be-done list.
1498
1499 AcpiBin utility:
1500 1) Remove option to extract binary files from an acpidump; this function
1501 is made obsolete by the AcpiXtract utility.
1502 2) General cleanup of open files and allocated buffers.
1503
1504
1505 ----------------------------------------
1506 14 February 2014. Summary of changes for version 20140214:
1507
1508 1) ACPICA kernel-resident subsystem:
1509
1510 Implemented a new mechanism to proactively prevent problems with ill-
1511 behaved reentrant control methods that create named ACPI objects. This
1512 behavior is illegal as per the ACPI specification, but is nonetheless
1513 frequently seen in the field. Previously, this could lead to an
1514 AE_ALREADY_EXISTS exception if the method was actually entered by more
1515 than one thread. This new mechanism detects such methods at table load
1516 time and marks them "serialized" to prevent reentrancy. A new global
1517 option, AcpiGbl_AutoSerializeMethods, has been added to disable this
1518 feature if desired. This mechanism and global option obsoletes and
1519 supersedes the previous AcpiGbl_SerializeAllMethods option.
1520
1521 Added the "Windows 2013" string to the _OSI support. ACPICA will now
1522 respond TRUE to _OSI queries with this string. It is the stated policy of
1523 ACPICA to add new strings to the _OSI support as soon as possible after
1524 they are defined. See the full ACPICA _OSI policy which has been added to
1525 the utilities/utosi.c file.
1526
1527 Hardened/updated the _PRT return value auto-repair code:
1528 1) Do not abort the repair on a single subpackage failure, continue to
1529 check all subpackages.
1530 2) Add check for the minimum subpackage length (4).
1531 3) Properly handle extraneous NULL package elements.
1532
1533 Added support to avoid the possibility of infinite loops when traversing
1534 object linked lists. Never allow an infinite loop, even in the face of
1535 corrupted object lists.
1536
1537 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
1538 pack(pop) directives to ensure that the ACPICA headers are independent of
1539 compiler settings or other host headers.
1540
1541 Example Code and Data Size: These are the sizes for the OS-independent
1542 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1543 debug version of the code includes the debug output trace mechanism and
1544 has a much larger code and data size.
1545
1546 Current Release:
1547 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
1548 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
1549 Previous Release:
1550 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
1551 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
1552
1553
1554 2) iASL Compiler/Disassembler and Tools:
1555
1556 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
1557 first reserved field was incorrectly forced to have a value of zero. This
1558 change correctly forces the field to have a value of one. ACPICA BZ 1081.
1559
1560 Debugger: Added missing support for the "Extra" and "Data" subobjects
1561 when displaying object data.
1562
1563 Debugger: Added support to display entire object linked lists when
1564 displaying object data.
1565
1566 iASL: Removed the obsolete -g option to obtain ACPI tables from the
1567 Windows registry. This feature has been superseded by the acpidump
1568 utility.
1569
1570
1571 ----------------------------------------
1572 14 January 2014. Summary of changes for version 20140114:
1573
1574 1) ACPICA kernel-resident subsystem:
1575
1576 Updated all ACPICA copyrights and signons to 2014. Added the 2014
1577 copyright to all module headers and signons, including the standard Linux
1578 header. This affects virtually every file in the ACPICA core subsystem,
1579 iASL compiler, all ACPICA utilities, and the test suites.
1580
1581 Improved parameter validation for AcpiInstallGpeBlock. Added the
1582 following checks:
1583 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
1584 2) There is not already a GPE block attached to the device.
1585 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
1586 device.
1587
1588 Correctly support "references" in the ACPI_OBJECT. This change fixes the
1589 support to allow references (namespace nodes) to be passed as arguments
1590 to control methods via the evaluate object interface. This is probably
1591 most useful for testing purposes, however.
1592
1593 Improved support for 32/64 bit physical addresses in printf()-like
1594 output. This change improves the support for physical addresses in printf
1595 debug statements and other output on both 32-bit and 64-bit hosts. It
1596 consistently outputs the appropriate number of bytes for each host. The
1597 %p specifier is unsatisfactory since it does not emit uniform output on
1598 all hosts/clib implementations (on some, leading zeros are not supported,
1599 leading to difficult-to-read output).
1600
1601 Example Code and Data Size: These are the sizes for the OS-independent
1602 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1603 debug version of the code includes the debug output trace mechanism and
1604 has a much larger code and data size.
1605
1606 Current Release:
1607 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
1608 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
1609 Previous Release:
1610 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
1611 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
1612
1613
1614 2) iASL Compiler/Disassembler and Tools:
1615
1616 iASL: Fix a possible fault when using the Connection() operator. Fixes a
1617 problem if the parent Field definition for the Connection operator refers
1618 to an operation region that does not exist. ACPICA BZ 1064.
1619
1620 AcpiExec: Load of local test tables is now optional. The utility has the
1621 capability to load some various tables to test features of ACPICA.
1622 However, there are enough of them that the output of the utility became
1623 confusing. With this change, only the required local tables are displayed
1624 (RSDP, XSDT, etc.) along with the actual tables loaded via the command
1625 line specification. This makes the default output simler and easier to
1626 understand. The -el command line option restores the original behavior
1627 for testing purposes.
1628
1629 AcpiExec: Added support for overlapping operation regions. This change
1630 expands the simulation of operation regions by supporting regions that
1631 overlap within the given address space. Supports SystemMemory and
1632 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
1633
1634 AcpiExec: Added region handler support for PCI_Config and EC spaces. This
1635 allows AcpiExec to simulate these address spaces, similar to the current
1636 support for SystemMemory and SystemIO.
1637
1638 Debugger: Added new command to read/write/compare all namespace objects.
1639 The command "test objects" will exercise the entire namespace by writing
1640 new values to each data object, and ensuring that the write was
1641 successful. The original value is then restored and verified.
1642
1643 Debugger: Added the "test predefined" command. This change makes this
1644 test public and puts it under the new "test" command. The test executes
1645 each and every predefined name within the current namespace.
1646
1647
1648 ----------------------------------------
1649 18 December 2013. Summary of changes for version 20131218:
1650
1651 Global note: The ACPI 5.0A specification was released this month. There
1652 are no changes needed for ACPICA since this release of ACPI is an
1653 errata/clarification release. The specification is available at
1654 acpi.info.
1655
1656
1657 1) ACPICA kernel-resident subsystem:
1658
1659 Added validation of the XSDT root table if it is present. Some older
1660 platforms contain an XSDT that is ill-formed or otherwise invalid (such
1661 as containing some or all entries that are NULL pointers). This change
1662 adds a new function to validate the XSDT before actually using it. If the
1663 XSDT is found to be invalid, ACPICA will now automatically fall back to
1664 using the RSDT instead. Original implementation by Zhao Yakui. Ported to
1665 ACPICA and enhanced by Lv Zheng and Bob Moore.
1666
1667 Added a runtime option to ignore the XSDT and force the use of the RSDT.
1668 This change adds a runtime option that will force ACPICA to use the RSDT
1669 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
1670 requires that an XSDT be used instead of the RSDT, the XSDT has been
1671 found to be corrupt or ill-formed on some machines. Lv Zheng.
1672
1673 Added a runtime option to favor 32-bit FADT register addresses over the
1674 64-bit addresses. This change adds an option to favor 32-bit FADT
1675 addresses when there is a conflict between the 32-bit and 64-bit versions
1676 of the same register. The default behavior is to use the 64-bit version
1677 in accordance with the ACPI specification. This can now be overridden via
1678 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
1679
1680 During the change above, the internal "Convert FADT" and "Verify FADT"
1681 functions have been merged to simplify the code, making it easier to
1682 understand and maintain. ACPICA BZ 933.
1683
1684 Improve exception reporting and handling for GPE block installation.
1685 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
1686 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
1687
1688 Added helper macros to extract bus/segment numbers from the HEST table.
1689 This change adds two macros to extract the encoded bus and segment
1690 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
1691 Betty Dall <betty.dall (a] hp.com>
1692
1693 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
1694 by ACPICA. It is not a public macro, so it should have no effect on
1695 existing OSV code. Lv Zheng.
1696
1697 Example Code and Data Size: These are the sizes for the OS-independent
1698 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1699 debug version of the code includes the debug output trace mechanism and
1700 has a much larger code and data size.
1701
1702 Current Release:
1703 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
1704 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
1705 Previous Release:
1706 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
1707 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
1708
1709
1710 2) iASL Compiler/Disassembler and Tools:
1711
1712 Disassembler: Improved pathname support for emitted External()
1713 statements. This change adds full pathname support for external names
1714 that have been resolved internally by the inclusion of additional ACPI
1715 tables (via the iASL -e option). Without this change, the disassembler
1716 can emit multiple externals for the same object, or it become confused
1717 when the Scope() operator is used on an external object. Overall, greatly
1718 improves the ability to actually recompile the emitted ASL code when
1719 objects a referenced across multiple ACPI tables. Reported by Michael
1720 Tsirkin (mst (a] redhat.com).
1721
1722 Tests/ASLTS: Updated functional control suite to execute with no errors.
1723 David Box. Fixed several errors related to the testing of the interpreter
1724 slack mode. Lv Zheng.
1725
1726 iASL: Added support to detect names that are declared within a control
1727 method, but are unused (these are temporary names that are only valid
1728 during the time the method is executing). A remark is issued for these
1729 cases. ACPICA BZ 1022.
1730
1731 iASL: Added full support for the DBG2 table. Adds full disassembler,
1732 table compiler, and template generator support for the DBG2 table (Debug
1733 Port 2 table).
1734
1735 iASL: Added full support for the PCCT table, update the table definition.
1736 Updates the PCCT table definition in the actbl3.h header and adds table
1737 compiler and template generator support.
1738
1739 iASL: Added an option to emit only error messages (no warnings/remarks).
1740 The -ve option will enable only error messages, warnings and remarks are
1741 suppressed. This can simplify debugging when only the errors are
1742 important, such as when an ACPI table is disassembled and there are many
1743 warnings and remarks -- but only the actual errors are of real interest.
1744
1745 Example ACPICA code (source/tools/examples): Updated the example code so
1746 that it builds to an actual working program, not just example code. Added
1747 ACPI tables and execution of an example control method in the DSDT. Added
1748 makefile support for Unix generation.
1749
1750
1751 ----------------------------------------
1752 15 November 2013. Summary of changes for version 20131115:
1753
1754 This release is available at https://acpica.org/downloads
1755
1756
1757 1) ACPICA kernel-resident subsystem:
1758
1759 Resource Manager: Fixed loop termination for the "get AML length"
1760 function. The loop previously had an error termination on a NULL resource
1761 pointer, which can never happen since the loop simply increments a valid
1762 resource pointer. This fix changes the loop to terminate with an error on
1763 an invalid end-of-buffer condition. The problem can be seen as an
1764 infinite loop by callers to AcpiSetCurrentResources with an invalid or
1765 corrupted resource descriptor, or a resource descriptor that is missing
1766 an END_TAG descriptor. Reported by Dan Carpenter
1767 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
1768
1769 Table unload and ACPICA termination: Delete all attached data objects
1770 during namespace node deletion. This fix updates namespace node deletion
1771 to delete the entire list of attached objects (attached via
1772 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
1773 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
1774
1775 ACPICA termination: Added support to delete all objects attached to the
1776 root namespace node. This fix deletes any and all objects that have been
1777 attached to the root node via AcpiAttachData. Previously, none of these
1778 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
1779
1780 Debug output: Do not emit the function nesting level for the in-kernel
1781 build. The nesting level is really only useful during a single-thread
1782 execution. Therefore, only enable this output for the AcpiExec utility.
1783 Also, only emit the thread ID when executing under AcpiExec (Context
1784 switches are still always detected and a message is emitted). ACPICA BZ
1785 972.
1786
1787 Example Code and Data Size: These are the sizes for the OS-independent
1788 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1789 debug version of the code includes the debug output trace mechanism and
1790 has a much larger code and data size.
1791
1792 Current Release:
1793 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
1794 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
1795 Previous Release:
1796 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
1797 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
1798
1799
1800 2) iASL Compiler/Disassembler and Tools:
1801
1802 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
1803 correct portable POSIX header for terminal control functions.
1804
1805 Disassembler: Fixed control method invocation issues related to the use
1806 of the CondRefOf() operator. The problem is seen in the disassembly where
1807 control method invocations may not be disassembled properly if the
1808 control method name has been used previously as an argument to CondRefOf.
1809 The solution is to not attempt to emit an external declaration for the
1810 CondRefOf target (it is not necessary in the first place). This prevents
1811 disassembler object type confusion. ACPICA BZ 988.
1812
1813 Unix Makefiles: Added an option to disable compiler optimizations and the
1814 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
1815 with optimizations (reportedly, gcc 4.4 for example). This change adds a
1816 command line option for make (NOOPT) that disables all compiler
1817 optimizations and the _FORTIFY_SOURCE compiler flag. The default
1818 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
1819 1034. Lv Zheng, Bob Moore.
1820
1821 Tests/ASLTS: Added options to specify individual test cases and modes.
1822 This allows testers running aslts.sh to optionally specify individual
1823 test modes and test cases. Also added an option to disable the forced
1824 generation of the ACPICA tools from source if desired. Lv Zheng.
1825
1826 ----------------------------------------
1827 27 September 2013. Summary of changes for version 20130927:
1828
1829 This release is available at https://acpica.org/downloads
1830
1831
1832 1) ACPICA kernel-resident subsystem:
1833
1834 Fixed a problem with store operations to reference objects. This change
1835 fixes a problem where a Store operation to an ArgX object that contained
1836 a
1837 reference to a field object did not complete the automatic dereference
1838 and
1839 then write to the actual field object. Instead, the object type of the
1840 field object was inadvertently changed to match the type of the source
1841 operand. The new behavior will actually write to the field object (buffer
1842 field or field unit), thus matching the correct ACPI-defined behavior.
1843
1844 Implemented support to allow the host to redefine individual OSL
1845 prototypes. This change enables the host to redefine OSL prototypes found
1846 in the acpiosxf.h file. This allows the host to implement OSL interfaces
1847 with a macro or inlined function. Further, it allows the host to add any
1848 additional required modifiers such as __iomem, __init, __exit, etc., as
1849 necessary on a per-interface basis. Enables maximum flexibility for the
1850 OSL interfaces. Lv Zheng.
1851
1852 Hardcoded the access width for the FADT-defined reset register. The ACPI
1853 specification requires the reset register width to be 8 bits. ACPICA now
1854 hardcodes the width to 8 and ignores the FADT width value. This provides
1855 compatibility with other ACPI implementations that have allowed BIOS code
1856 with bad register width values to go unnoticed. Matthew Garett, Bob
1857 Moore,
1858 Lv Zheng.
1859
1860 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
1861 used
1862 in the OSL header (acpiosxf). The change modifies the position of this
1863 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
1864 build issues if the OSL defines the implementation of the interface to be
1865 an inline stub function. Lv Zheng.
1866
1867 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
1868 initialization interfaces. This change adds a new macro for the main init
1869 and terminate external interfaces in order to support hosts that require
1870 additional or different processing for these functions. Changed from
1871 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
1872 Zheng, Bob Moore.
1873
1874 Cleaned up the memory allocation macros for configurability. In the
1875 common
1876 case, the ACPI_ALLOCATE and related macros now resolve directly to their
1877 respective AcpiOs* OSL interfaces. Two options:
1878 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
1879 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
1880 2) For AcpiExec (and for debugging), the macros can optionally be
1881 resolved
1882 to the local ACPICA interfaces that track each allocation (local tracking
1883 is used to immediately detect memory leaks).
1884 Lv Zheng.
1885
1886 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
1887 to predefine this macro to either TRUE or FALSE during the system build.
1888
1889 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
1890
1891 Example Code and Data Size: These are the sizes for the OS-independent
1892 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1893 debug version of the code includes the debug output trace mechanism and
1894 has a much larger code and data size.
1895
1896 Current Release:
1897 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
1898 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
1899 Previous Release:
1900 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
1901 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
1902
1903
1904 2) iASL Compiler/Disassembler and Tools:
1905
1906 iASL: Implemented wildcard support for the -e option. This simplifies use
1907 when there are many SSDTs that must be included to resolve external
1908 method
1909 declarations. ACPICA BZ 1041. Example:
1910 iasl -e ssdt*.dat -d dsdt.dat
1911
1912 AcpiExec: Add history/line-editing for Unix/Linux systems. This change
1913 adds a portable module that implements full history and limited line
1914 editing for Unix and Linux systems. It does not use readline() due to
1915 portability issues. Instead it uses the POSIX termio interface to put the
1916 terminal in raw input mode so that the various special keys can be
1917 trapped
1918 (such as up/down-arrow for history support and left/right-arrow for line
1919 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
1920
1921 AcpiXtract: Add support to handle (ignore) "empty" lines containing only
1922 one or more spaces. This provides compatible with early or different
1923 versions of the AcpiDump utility. ACPICA BZ 1044.
1924
1925 AcpiDump: Do not ignore tables that contain only an ACPI table header.
1926 Apparently, some BIOSs create SSDTs that contain an ACPI table header but
1927 no other data. This change adds support to dump these tables. Any tables
1928 shorter than the length of an ACPI table header remain in error (an error
1929 message is emitted). Reported by Yi Li.
1930
1931 Debugger: Echo actual command along with the "unknown command" message.
1932
1933 ----------------------------------------
1934 23 August 2013. Summary of changes for version 20130823:
1935
1936 1) ACPICA kernel-resident subsystem:
1937
1938 Implemented support for host-installed System Control Interrupt (SCI)
1939 handlers. Certain ACPI functionality requires the host to handle raw
1940 SCIs. For example, the "SCI Doorbell" that is defined for memory power
1941 state support requires the host device driver to handle SCIs to examine
1942 if the doorbell has been activated. Multiple SCI handlers can be
1943 installed to allow for future expansion. New external interfaces are
1944 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
1945 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
1946
1947 Operation region support: Never locally free the handler "context"
1948 pointer. This change removes some dangerous code that attempts to free
1949 the handler context pointer in some (rare) circumstances. The owner of
1950 the handler owns this pointer and the ACPICA code should never touch it.
1951 Although not seen to be an issue in any kernel, it did show up as a
1952 problem (fault) under AcpiExec. Also, set the internal storage field for
1953 the context pointer to zero when the region is deactivated, simply for
1954 sanity. David Box. ACPICA BZ 1039.
1955
1956 AcpiRead: On error, do not modify the return value target location. If an
1957 error happens in the middle of a split 32/32 64-bit I/O operation, do not
1958 modify the target of the return value pointer. Makes the code consistent
1959 with the rest of ACPICA. Bjorn Helgaas.
1960
1961 Example Code and Data Size: These are the sizes for the OS-independent
1962 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1963 debug version of the code includes the debug output trace mechanism and
1964 has a much larger code and data size.
1965
1966 Current Release:
1967 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
1968 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
1969 Previous Release:
1970 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
1971 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
1972
1973
1974 2) iASL Compiler/Disassembler and Tools:
1975
1976 AcpiDump: Implemented several new features and fixed some problems:
1977 1) Added support to dump the RSDP, RSDT, and XSDT tables.
1978 2) Added support for multiple table instances (SSDT, UEFI).
1979 3) Added option to dump "customized" (overridden) tables (-c).
1980 4) Fixed a problem where some table filenames were improperly
1981 constructed.
1982 5) Improved some error messages, removed some unnecessary messages.
1983
1984 iASL: Implemented additional support for disassembly of ACPI tables that
1985 contain invocations of external control methods. The -fe<file> option
1986 allows the import of a file that specifies the external methods along
1987 with the required number of arguments for each -- allowing for the
1988 correct disassembly of the table. This is a workaround for a limitation
1989 of AML code where the disassembler often cannot determine the number of
1990 arguments required for an external control method and generates incorrect
1991 ASL code. See the iASL reference for details. ACPICA BZ 1030.
1992
1993 Debugger: Implemented a new command (paths) that displays the full
1994 pathnames (namepaths) and object types of all objects in the namespace.
1995 This is an alternative to the namespace command.
1996
1997 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
1998 mechanism and any installed handlers.
1999
2000 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
2001 This can occur if there are too many parent prefixes in a namepath (for
2002 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
2003
2004 Application OSLs: Set the return value for the PCI read functions. These
2005 functions simply return AE_OK, but should set the return value to zero
2006 also. This change implements this. ACPICA BZ 1038.
2007
2008 Debugger: Prevent possible command line buffer overflow. Increase the
2009 size of a couple of the debugger line buffers, and ensure that overflow
2010 cannot happen. ACPICA BZ 1037.
2011
2012 iASL: Changed to abort immediately on serious errors during the parsing
2013 phase. Due to the nature of ASL, there is no point in attempting to
2014 compile these types of errors, and they typically end up causing a
2015 cascade of hundreds of errors which obscure the original problem.
2016
2017 ----------------------------------------
2018 25 July 2013. Summary of changes for version 20130725:
2019
2020 1) ACPICA kernel-resident subsystem:
2021
2022 Fixed a problem with the DerefOf operator where references to FieldUnits
2023 and BufferFields incorrectly returned the parent object, not the actual
2024 value of the object. After this change, a dereference of a FieldUnit
2025 reference results in a read operation on the field to get the value, and
2026 likewise, the appropriate BufferField value is extracted from the target
2027 buffer.
2028
2029 Fixed a problem where the _WAK method could cause a fault under these
2030 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
2031 method returned no value. The problem is rarely seen because most kernels
2032 run ACPICA in slack mode.
2033
2034 For the DerefOf operator, a fatal error now results if an attempt is made
2035 to dereference a reference (created by the Index operator) to a NULL
2036 package element. Provides compatibility with other ACPI implementations,
2037 and this behavior will be added to a future version of the ACPI
2038 specification.
2039
2040 The ACPI Power Management Timer (defined in the FADT) is now optional.
2041 This provides compatibility with other ACPI implementations and will
2042 appear in the next version of the ACPI specification. If there is no PM
2043 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
2044 zero in the FADT indicates no PM timer.
2045
2046 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
2047 allows the host to globally enable/disable all vendor strings, all
2048 feature strings, or both. Intended to be primarily used for debugging
2049 purposes only. Lv Zheng.
2050
2051 Expose the collected _OSI data to the host via a global variable. This
2052 data tracks the highest level vendor ID that has been invoked by the BIOS
2053 so that the host (and potentially ACPICA itself) can change behaviors
2054 based upon the age of the BIOS.
2055
2056 Example Code and Data Size: These are the sizes for the OS-independent
2057 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2058 debug version of the code includes the debug output trace mechanism and
2059 has a much larger code and data size.
2060
2061 Current Release:
2062 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
2063 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2064 Previous Release:
2065 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
2066 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
2067
2068
2069 2) iASL Compiler/Disassembler and Tools:
2070
2071 iASL: Created the following enhancements for the -so option (create
2072 offset table):
2073 1)Add offsets for the last nameseg in each namepath for every supported
2074 object type
2075 2)Add support for Processor, Device, Thermal Zone, and Scope objects
2076 3)Add the actual AML opcode for the parent object of every supported
2077 object type
2078 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
2079
2080 Disassembler: Emit all unresolved external symbols in a single block.
2081 These are external references to control methods that could not be
2082 resolved, and thus, the disassembler had to make a guess at the number of
2083 arguments to parse.
2084
2085 iASL: The argument to the -T option (create table template) is now
2086 optional. If not specified, the default table is a DSDT, typically the
2087 most common case.
2088
2089 ----------------------------------------
2090 26 June 2013. Summary of changes for version 20130626:
2091
2092 1) ACPICA kernel-resident subsystem:
2093
2094 Fixed an issue with runtime repair of the _CST object. Null or invalid
2095 elements were not always removed properly. Lv Zheng.
2096
2097 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
2098 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
2099 the maximum number of GPEs is 1016. Use of multiple GPE block devices
2100 makes the system-wide number of GPEs essentially unlimited.
2101
2102 Example Code and Data Size: These are the sizes for the OS-independent
2103 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2104 debug version of the code includes the debug output trace mechanism and
2105 has a much larger code and data size.
2106
2107 Current Release:
2108 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
2109 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
2110 Previous Release:
2111 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
2112 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
2113
2114
2115 2) iASL Compiler/Disassembler and Tools:
2116
2117 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
2118 hosts. Now supports Linux, FreeBSD, and Windows.
2119
2120 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
2121 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
2122
2123 iASL/Preprocessor: Implemented full support for nested
2124 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
2125
2126 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
2127 max. The original purpose of this constraint was to limit the amount of
2128 debug output. However, the string function in question (UtPrintString) is
2129 now used for the disassembler also, where 256 bytes is insufficient.
2130 Reported by RehabMan@GitHub.
2131
2132 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
2133 tables. ACPICA BZ 999. Lv Zheng.
2134
2135 iASL: Fixed a couple of error exit issues that could result in a "Could
2136 not delete <file>" message during ASL compilation.
2137
2138 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
2139 the actual signatures for these tables are "FACP" and "APIC",
2140 respectively.
2141
2142 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
2143 tables are allowed to have multiple instances.
2144
2145 ----------------------------------------
2146 17 May 2013. Summary of changes for version 20130517:
2147
2148 1) ACPICA kernel-resident subsystem:
2149
2150 Fixed a regression introduced in version 20130328 for _INI methods. This
2151 change fixes a problem introduced in 20130328 where _INI methods are no
2152 longer executed properly because of a memory block that was not
2153 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
2154 <tomasz.nowicki (a] linaro.org>.
2155
2156 Fixed a possible problem with the new extended sleep registers in the
2157 ACPI
2158 5.0 FADT. Do not use these registers (even if populated) unless the HW-
2159 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
2160 1020. Lv Zheng.
2161
2162 Implemented return value repair code for _CST predefined objects: Sort
2163 the
2164 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
2165
2166 Implemented a debug-only option to disable loading of SSDTs from the
2167 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
2168 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
2169 acglobal.h - ACPICA BZ 1005. Lv Zheng.
2170
2171 Fixed some issues in the ACPICA initialization and termination code:
2172 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
2173 1) Clear events initialized flag upon event component termination. ACPICA
2174 BZ 1013.
2175 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
2176 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
2177 4) Clear debug buffer global on termination to prevent possible multiple
2178 delete. ACPICA BZ 1010.
2179
2180 Standardized all switch() blocks across the entire source base. After
2181 many
2182 years, different formatting for switch() had crept in. This change makes
2183 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
2184
2185 Split some files to enhance ACPICA modularity and configurability:
2186 1) Split buffer dump routines into utilities/utbuffer.c
2187 2) Split internal error message routines into utilities/uterror.c
2188 3) Split table print utilities into tables/tbprint.c
2189 4) Split iASL command-line option processing into asloptions.c
2190
2191 Makefile enhancements:
2192 1) Support for all new files above.
2193 2) Abort make on errors from any subcomponent. Chao Guan.
2194 3) Add build support for Apple Mac OS X. Liang Qi.
2195
2196 Example Code and Data Size: These are the sizes for the OS-independent
2197 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2198 debug version of the code includes the debug output trace mechanism and
2199 has a much larger code and data size.
2200
2201 Current Release:
2202 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
2203 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
2204 Previous Release:
2205 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
2206 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
2207
2208
2209 2) iASL Compiler/Disassembler and Tools:
2210
2211 New utility: Implemented an easily portable version of the acpidump
2212 utility to extract ACPI tables from the system (or a file) in an ASCII
2213 hex
2214 dump format. The top-level code implements the various command line
2215 options, file I/O, and table dump routines. To port to a new host, only
2216 three functions need to be implemented to get tables -- since this
2217 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
2218 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
2219 1) The Windows version obtains the ACPI tables from the Registry.
2220 2) The Linux version is under development.
2221 3) Other hosts - If an OS-dependent module is submitted, it will be
2222 distributed with ACPICA.
2223
2224 iASL: Fixed a regression for -D preprocessor option (define symbol). A
2225 restructuring/change to the initialization sequence caused this option to
2226 no longer work properly.
2227
2228 iASL: Implemented a mechanism to disable specific warnings and remarks.
2229 Adds a new command line option, "-vw <messageid> as well as "#pragma
2230 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
2231
2232 iASL: Fix for too-strict package object validation. The package object
2233 validation for return values from the predefined names is a bit too
2234 strict, it does not allow names references within the package (which will
2235 be resolved at runtime.) These types of references cannot be validated at
2236 compile time. This change ignores named references within package objects
2237 for names that return or define static packages.
2238
2239 Debugger: Fixed the 80-character command line limitation for the History
2240 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
2241
2242 iASL: Added control method and package support for the -so option
2243 (generates AML offset table for BIOS support.)
2244
2245 iASL: issue a remark if a non-serialized method creates named objects. If
2246 a thread blocks within the method for any reason, and another thread
2247 enters the method, the method will fail because an attempt will be made
2248 to
2249 create the same (named) object twice. In this case, issue a remark that
2250 the method should be marked serialized. NOTE: may become a warning later.
2251 ACPICA BZ 909.
2252
2253 ----------------------------------------
2254 18 April 2013. Summary of changes for version 20130418:
2255
2256 1) ACPICA kernel-resident subsystem:
2257
2258 Fixed a possible buffer overrun during some rare but specific field unit
2259 read operations. This overrun can only happen if the DSDT version is 1 --
2260 meaning that all AML integers are 32 bits -- and the field length is
2261 between 33 and 55 bits long. During the read, an internal buffer object
2262 is
2263 created for the field unit because the field is larger than an integer
2264 (32
2265 bits). However, in this case, the buffer will be incorrectly written
2266 beyond the end because the buffer length is less than the internal
2267 minimum
2268 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
2269 long, but a full 8 bytes will be written.
2270
2271 Updated the Embedded Controller "orphan" _REG method support. This refers
2272 to _REG methods under the EC device that have no corresponding operation
2273 region. This is allowed by the ACPI specification. This update removes a
2274 dependency on the existence an ECDT table. It will execute an orphan _REG
2275 method as long as the operation region handler for the EC is installed at
2276 the EC device node and not the namespace root. Rui Zhang (original
2277 update), Bob Moore (update/integrate).
2278
2279 Implemented run-time argument typechecking for all predefined ACPI names
2280 (_STA, _BIF, etc.) This change performs object typechecking on all
2281 incoming arguments for all predefined names executed via
2282 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
2283 passing correct object types as well as the correct number of arguments
2284 (therefore identifying any issues immediately). Also, the ASL/namespace
2285 definition of the predefined name is checked against the ACPI
2286 specification for the proper argument count. Adds one new file,
2287 nsarguments.c
2288
2289 Changed an exception code for the ASL UnLoad() operator. Changed the
2290 exception code for the case where the input DdbHandle is invalid, from
2291 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
2292
2293 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
2294 global makefile. The use of this flag causes compiler errors on earlier
2295 versions of GCC, so it has been removed for compatibility.
2296
2297 Miscellaneous cleanup:
2298 1) Removed some unused/obsolete macros
2299 2) Fixed a possible memory leak in the _OSI support
2300 3) Removed an unused variable in the predefined name support
2301 4) Windows OSL: remove obsolete reference to a memory list field
2302
2303 Example Code and Data Size: These are the sizes for the OS-independent
2304 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2305 debug version of the code includes the debug output trace mechanism and
2306 has a much larger code and data size.
2307
2308 Current Release:
2309 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
2310 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
2311 Previous Release:
2312 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
2313 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
2314
2315
2316 2) iASL Compiler/Disassembler and Tools:
2317
2318 AcpiExec: Added installation of a handler for the SystemCMOS address
2319 space. This prevents control method abort if a method accesses this
2320 space.
2321
2322 AcpiExec: Added support for multiple EC devices, and now install EC
2323 operation region handler(s) at the actual EC device instead of the
2324 namespace root. This reflects the typical behavior of host operating
2325 systems.
2326
2327 AcpiExec: Updated to ensure that all operation region handlers are
2328 installed before the _REG methods are executed. This prevents a _REG
2329 method from aborting if it accesses an address space has no handler.
2330 AcpiExec installs a handler for every possible address space.
2331
2332 Debugger: Enhanced the "handlers" command to display non-root handlers.
2333 This change enhances the handlers command to display handlers associated
2334 with individual devices throughout the namespace, in addition to the
2335 currently supported display of handlers associated with the root
2336 namespace
2337 node.
2338
2339 ASL Test Suite: Several test suite errors have been identified and
2340 resolved, reducing the total error count during execution. Chao Guan.
2341
2342 ----------------------------------------
2343 28 March 2013. Summary of changes for version 20130328:
2344
2345 1) ACPICA kernel-resident subsystem:
2346
2347 Fixed several possible race conditions with the internal object reference
2348 counting mechanism. Some of the external ACPICA interfaces update object
2349 reference counts without holding the interpreter or namespace lock. This
2350 change adds a spinlock to protect reference count updates on the internal
2351 ACPICA objects. Reported by and with assistance from Andriy Gapon
2352 (avg (a] FreeBSD.org).
2353
2354 FADT support: Removed an extraneous warning for very large GPE register
2355 sets. This change removes a size mismatch warning if the legacy length
2356 field for a GPE register set is larger than the 64-bit GAS structure can
2357 accommodate. GPE register sets can be larger than the 255-bit width
2358 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
2359
2360 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
2361 return from this interface. Handles a possible timeout case if
2362 ACPI_WAIT_FOREVER is modified by the host to be a value less than
2363 "forever". Jung-uk Kim.
2364
2365 Predefined name support: Add allowed/required argument type information
2366 to
2367 the master predefined info table. This change adds the infrastructure to
2368 enable typechecking on incoming arguments for all predefined
2369 methods/objects. It does not actually contain the code that will fully
2370 utilize this information, this is still under development. Also condenses
2371 some duplicate code for the predefined names into a new module,
2372 utilities/utpredef.c
2373
2374 Example Code and Data Size: These are the sizes for the OS-independent
2375 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2376 debug version of the code includes the debug output trace mechanism and
2377 has a much larger code and data size.
2378
2379 Previous Release:
2380 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
2381 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
2382 Current Release:
2383 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
2384 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
2385
2386
2387 2) iASL Compiler/Disassembler and Tools:
2388
2389 iASL: Implemented a new option to simplify the development of ACPI-
2390 related
2391 BIOS code. Adds support for a new "offset table" output file. The -so
2392 option will create a C table containing the AML table offsets of various
2393 named objects in the namespace so that BIOS code can modify them easily
2394 at
2395 boot time. This can simplify BIOS runtime code by eliminating expensive
2396 searches for "magic values", enhancing boot times and adding greater
2397 reliability. With assistance from Lee Hamel.
2398
2399 iASL: Allow additional predefined names to return zero-length packages.
2400 Now, all predefined names that are defined by the ACPI specification to
2401 return a "variable-length package of packages" are allowed to return a
2402 zero length top-level package. This allows the BIOS to tell the host that
2403 the requested feature is not supported, and supports existing BIOS/ASL
2404 code and practices.
2405
2406 iASL: Changed the "result not used" warning to an error. This is the case
2407 where an ASL operator is effectively a NOOP because the result of the
2408 operation is not stored anywhere. For example:
2409 Add (4, Local0)
2410 There is no target (missing 3rd argument), nor is the function return
2411 value used. This is potentially a very serious problem -- since the code
2412 was probably intended to do something, but for whatever reason, the value
2413 was not stored. Therefore, this issue has been upgraded from a warning to
2414 an error.
2415
2416 AcpiHelp: Added allowable/required argument types to the predefined names
2417 info display. This feature utilizes the recent update to the predefined
2418 names table (above).
2419
2420 ----------------------------------------
2421 14 February 2013. Summary of changes for version 20130214:
2422
2423 1) ACPICA Kernel-resident Subsystem:
2424
2425 Fixed a possible regression on some hosts: Reinstated the safe return
2426 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
2427 evaluated only once. Although these macros are not needed for the ACPICA
2428 code itself, they are often used by ACPI-related host device drivers
2429 where
2430 the safe feature may be necessary.
2431
2432 Fixed several issues related to the ACPI 5.0 reduced hardware support
2433 (SOC): Now ensure that if the platform declares itself as hardware-
2434 reduced
2435 via the FADT, the following functions become NOOPs (and always return
2436 AE_OK) because ACPI is always enabled by definition on these machines:
2437 AcpiEnable
2438 AcpiDisable
2439 AcpiHwGetMode
2440 AcpiHwSetMode
2441
2442 Dynamic Object Repair: Implemented additional runtime repairs for
2443 predefined name return values. Both of these repairs can simplify code in
2444 the related device drivers that invoke these methods:
2445 1) For the _STR and _MLS names, automatically repair/convert an ASCII
2446 string to a Unicode buffer.
2447 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
2448 a
2449 lone end tag descriptor in the following cases: A Return(0) was executed,
2450 a null buffer was returned, or no object at all was returned (non-slack
2451 mode only). Adds a new file, nsconvert.c
2452 ACPICA BZ 998. Bob Moore, Lv Zheng.
2453
2454 Resource Manager: Added additional code to prevent possible infinite
2455 loops
2456 while traversing corrupted or ill-formed resource template buffers. Check
2457 for zero-length resource descriptors in all code that loops through
2458 resource templates (the length field is used to index through the
2459 template). This change also hardens the external AcpiWalkResources and
2460 AcpiWalkResourceBuffer interfaces.
2461
2462 Local Cache Manager: Enhanced the main data structure to eliminate an
2463 unnecessary mechanism to access the next object in the list. Actually
2464 provides a small performance enhancement for hosts that use the local
2465 ACPICA cache manager. Jung-uk Kim.
2466
2467 Example Code and Data Size: These are the sizes for the OS-independent
2468 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2469 debug version of the code includes the debug output trace mechanism and
2470 has a much larger code and data size.
2471
2472 Previous Release:
2473 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
2474 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
2475 Current Release:
2476 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
2477 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
2478
2479
2480 2) iASL Compiler/Disassembler and Tools:
2481
2482 iASL/Disassembler: Fixed several issues with the definition of the ACPI
2483 5.0 RASF table (RAS Feature Table). This change incorporates late changes
2484 that were made to the ACPI 5.0 specification.
2485
2486 iASL/Disassembler: Added full support for the following new ACPI tables:
2487 1) The MTMR table (MID Timer Table)
2488 2) The VRTC table (Virtual Real Time Clock Table).
2489 Includes header file, disassembler, table compiler, and template support
2490 for both tables.
2491
2492 iASL: Implemented compile-time validation of package objects returned by
2493 predefined names. This new feature validates static package objects
2494 returned by the various predefined names defined to return packages. Both
2495 object types and package lengths are validated, for both parent packages
2496 and sub-packages, if any. The code is similar in structure and behavior
2497 to
2498 the runtime repair mechanism within the AML interpreter and uses the
2499 existing predefined name information table. Adds a new file, aslprepkg.c.
2500 ACPICA BZ 938.
2501
2502 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
2503 This feature detects a binary file with a valid ACPI table header and
2504 invokes the disassembler automatically. Eliminates the need to
2505 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
2506
2507 iASL/Disassembler: Added several warnings for the case where there are
2508 unresolved control methods during the disassembly. This can potentially
2509 cause errors when the output file is compiled, because the disassembler
2510 assumes zero method arguments in these cases (it cannot determine the
2511 actual number of arguments without resolution/definition of the method).
2512
2513 Debugger: Added support to display all resources with a single command.
2514 Invocation of the resources command with no arguments will now display
2515 all
2516 resources within the current namespace.
2517
2518 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
2519 via the -e option.
2520
2521 ----------------------------------------
2522 17 January 2013. Summary of changes for version 20130117:
2523
2524 1) ACPICA Kernel-resident Subsystem:
2525
2526 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
2527 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
2528 objects to return a package containing one integer, most BIOS code
2529 returns
2530 two integers and the previous code reflects that. However, we also need
2531 to
2532 support BIOS code that actually implements to the ACPI spec, and this
2533 change reflects this.
2534
2535 Fixed two issues with the ACPI_DEBUG_PRINT macros:
2536 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
2537 C compilers that require this support.
2538 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
2539 ACPI_DEBUG is already used by many of the various hosts.
2540
2541 Updated all ACPICA copyrights and signons to 2013. Added the 2013
2542 copyright to all module headers and signons, including the standard Linux
2543 header. This affects virtually every file in the ACPICA core subsystem,
2544 iASL compiler, all ACPICA utilities, and the test suites.
2545
2546 Example Code and Data Size: These are the sizes for the OS-independent
2547 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2548 debug version of the code includes the debug output trace mechanism and
2549 has a much larger code and data size.
2550
2551 Previous Release:
2552 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
2553 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
2554 Current Release:
2555 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
2556 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
2557
2558
2559 2) iASL Compiler/Disassembler and Tools:
2560
2561 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
2562 prevent a possible fault on some hosts. Some C libraries modify the arg
2563 pointer parameter to vfprintf making it difficult to call it twice in the
2564 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
2565 does not affect the Windows OSL since the Win C library does not modify
2566 the arg pointer. Chao Guan, Bob Moore.
2567
2568 iASL: Fixed a possible infinite loop when the maximum error count is
2569 reached. If an output file other than the .AML file is specified (such as
2570 a listing file), and the maximum number of errors is reached, do not
2571 attempt to flush data to the output file(s) as the compiler is aborting.
2572 This can cause an infinite loop as the max error count code essentially
2573 keeps calling itself.
2574
2575 iASL/Disassembler: Added an option (-in) to ignore NOOP
2576 opcodes/operators.
2577 Implemented for both the compiler and the disassembler. Often, the NOOP
2578 opcode is used as padding for packages that are changed dynamically by
2579 the
2580 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
2581 errors. This option causes the disassembler to ignore all NOOP opcodes
2582 (0xA3), and it also causes the compiler to ignore all ASL source code
2583 NOOP
2584 statements as well.
2585
2586 Debugger: Enhanced the Sleep command to execute all sleep states. This
2587 change allows Sleep to be invoked with no arguments and causes the
2588 debugger to execute all of the sleep states, 0-5, automatically.
2589
2590 ----------------------------------------
2591 20 December 2012. Summary of changes for version 20121220:
2592
2593 1) ACPICA Kernel-resident Subsystem:
2594
2595 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
2596 alternate entry point for AcpiWalkResources and improves the usability of
2597 the resource manager by accepting as input a buffer containing the output
2598 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
2599 input buffer is not deleted by this interface so that it can be used by
2600 the host later. See the ACPICA reference for details.
2601
2602 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
2603 (DSDT version < 2). The constant will be truncated and this warning
2604 reflects that behavior.
2605
2606 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
2607 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
2608 both get and set the new wake bit in these descriptors, separately from
2609 the existing share bit. Reported by Aaron Lu.
2610
2611 Interpreter: Fix Store() when an implicit conversion is not possible. For
2612 example, in the cases such as a store of a string to an existing package
2613 object, implement the store as a CopyObject(). This is a small departure
2614 from the ACPI specification which states that the control method should
2615 be
2616 aborted in this case. However, the ASLTS suite depends on this behavior.
2617
2618 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
2619 macros: check if debug output is currently enabled as soon as possible to
2620 minimize performance impact if debug is in fact not enabled.
2621
2622 Source code restructuring: Cleanup to improve modularity. The following
2623 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
2624 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
2625 Associated makefiles and project files have been updated.
2626
2627 Changed an exception code for LoadTable operator. For the case where one
2628 of the input strings is too long, change the returned exception code from
2629 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
2630
2631 Fixed a possible memory leak in dispatcher error path. On error, delete
2632 the mutex object created during method mutex creation. Reported by
2633 tim.gardner (a] canonical.com.
2634
2635 Example Code and Data Size: These are the sizes for the OS-independent
2636 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2637 debug version of the code includes the debug output trace mechanism and
2638 has a much larger code and data size.
2639
2640 Previous Release:
2641 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
2642 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2643 Current Release:
2644 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
2645 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
2646
2647
2648 2) iASL Compiler/Disassembler and Tools:
2649
2650 iASL: Disallow a method call as argument to the ObjectType ASL operator.
2651 This change tracks an errata to the ACPI 5.0 document. The AML grammar
2652 will not allow the interpreter to differentiate between a method and a
2653 method invocation when these are used as an argument to the ObjectType
2654 operator. The ACPI specification change is to disallow a method
2655 invocation
2656 (UserTerm) for the ObjectType operator.
2657
2658 Finish support for the TPM2 and CSRT tables in the headers, table
2659 compiler, and disassembler.
2660
2661 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
2662 always expires immediately if the semaphore is not available. The
2663 original
2664 code was using a relative-time timeout, but sem_timedwait requires the
2665 use
2666 of an absolute time.
2667
2668 iASL: Added a remark if the Timer() operator is used within a 32-bit
2669 table. This operator returns a 64-bit time value that will be truncated
2670 within a 32-bit table.
2671
2672 iASL Source code restructuring: Cleanup to improve modularity. The
2673 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
2674 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
2675 been updated.
2676
2677
2678 ----------------------------------------
2679 14 November 2012. Summary of changes for version 20121114:
2680
2681 1) ACPICA Kernel-resident Subsystem:
2682
2683 Implemented a performance enhancement for ACPI/AML Package objects. This
2684 change greatly increases the performance of Package objects within the
2685 interpreter. It changes the processing of reference counts for packages
2686 by
2687 optimizing for the most common case where the package sub-objects are
2688 either Integers, Strings, or Buffers. Increases the overall performance
2689 of
2690 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
2691 2X.)
2692 Chao Guan. ACPICA BZ 943.
2693
2694 Implemented and deployed common macros to extract flag bits from resource
2695 descriptors. Improves readability and maintainability of the code. Fixes
2696 a
2697 problem with the UART serial bus descriptor for the number of data bits
2698 flags (was incorrectly 2 bits, should be 3).
2699
2700 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
2701 of the macros and changed the SETx macros to the style of (destination,
2702 source). Also added ACPI_CASTx companion macros. Lv Zheng.
2703
2704 Example Code and Data Size: These are the sizes for the OS-independent
2705 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2706 debug version of the code includes the debug output trace mechanism and
2707 has a much larger code and data size.
2708
2709 Previous Release:
2710 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
2711 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2712 Current Release:
2713 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
2714 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2715
2716
2717 2) iASL Compiler/Disassembler and Tools:
2718
2719 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
2720 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
2721 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
2722
2723 Disassembler: Fixed a problem with external declaration generation. Fixes
2724 a problem where an incorrect pathname could be generated for an external
2725 declaration if the original reference to the object includes leading
2726 carats (^). ACPICA BZ 984.
2727
2728 Debugger: Completed a major update for the Disassemble<method> command.
2729 This command was out-of-date and did not properly disassemble control
2730 methods that had any reasonable complexity. This fix brings the command
2731 up
2732 to the same level as the rest of the disassembler. Adds one new file,
2733 dmdeferred.c, which is existing code that is now common with the main
2734 disassembler and the debugger disassemble command. ACPICA MZ 978.
2735
2736 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
2737 Newer versions of Bison emit this prototype, so moved the prototype out
2738 of
2739 the iASL header to where it is actually used in order to avoid a
2740 duplicate
2741 declaration.
2742
2743 iASL/Tools: Standardized use of the stream I/O functions:
2744 1) Ensure check for I/O error after every fopen/fread/fwrite
2745 2) Ensure proper order of size/count arguments for fread/fwrite
2746 3) Use test of (Actual != Requested) after all fwrite, and most fread
2747 4) Standardize I/O error messages
2748 Improves reliability and maintainability of the code. Bob Moore, Lv
2749 Zheng.
2750 ACPICA BZ 981.
2751
2752 Disassembler: Prevent duplicate External() statements. During generation
2753 of external statements, detect similar pathnames that are actually
2754 duplicates such as these:
2755 External (\ABCD)
2756 External (ABCD)
2757 Remove all leading '\' characters from pathnames during the external
2758 statement generation so that duplicates will be detected and tossed.
2759 ACPICA BZ 985.
2760
2761 Tools: Replace low-level I/O with stream I/O functions. Replace
2762 open/read/write/close with the stream I/O equivalents
2763 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
2764 Moore.
2765
2766 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
2767 name header so that AcpiXtract recognizes the output file/table.
2768
2769 iASL: Remove obsolete -2 option flag. Originally intended to force the
2770 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
2771 and the entire concept is now obsolete.
2772
2773 ----------------------------------------
2774 18 October 2012. Summary of changes for version 20121018:
2775
2776
2777 1) ACPICA Kernel-resident Subsystem:
2778
2779 Updated support for the ACPI 5.0 MPST table. Fixes some problems
2780 introduced by late changes to the table as it was added to the ACPI 5.0
2781 specification. Includes header, disassembler, and data table compiler
2782 support as well as a new version of the MPST template.
2783
2784 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
2785 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
2786 methods: _HID, _CID, and _UID.
2787
2788 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
2789 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
2790 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
2791 names for their various drivers. Affects the AcpiGetObjectInfo external
2792 interface, and other internal interfaces as well.
2793
2794 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
2795 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
2796 on machines that support non-aligned transfers. Optimizes for this case
2797 rather than using a strncpy. With assistance from Zheng Lv.
2798
2799 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
2800 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
2801
2802 Added a new debug print message for AML mutex objects that are force-
2803 released. At control method termination, any currently acquired mutex
2804 objects are force-released. Adds a new debug-only message for each one
2805 that is released.
2806
2807 Audited/updated all ACPICA return macros and the function debug depth
2808 counter: 1) Ensure that all functions that use the various TRACE macros
2809 also use the appropriate ACPICA return macros. 2) Ensure that all normal
2810 return statements surround the return expression (value) with parens to
2811 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
2812 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
2813
2814 Global source code changes/maintenance: All extra lines at the start and
2815 end of each source file have been removed for consistency. Also, within
2816 comments, all new sentences start with a single space instead of a double
2817 space, again for consistency across the code base.
2818
2819 Example Code and Data Size: These are the sizes for the OS-independent
2820 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2821 debug version of the code includes the debug output trace mechanism and
2822 has a much larger code and data size.
2823
2824 Previous Release:
2825 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
2826 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
2827 Current Release:
2828 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
2829 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2830
2831
2832 2) iASL Compiler/Disassembler and Tools:
2833
2834 AcpiExec: Improved the algorithm used for memory leak/corruption
2835 detection. Added some intelligence to the code that maintains the global
2836 list of allocated memory. The list is now ordered by allocated memory
2837 address, significantly improving performance. When running AcpiExec on
2838 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
2839 on the platform and/or the environment. Note, this performance
2840 enhancement affects the AcpiExec utility only, not the kernel-resident
2841 ACPICA code.
2842
2843 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
2844 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
2845 incorrect table offset reported for invalid opcodes. Report the original
2846 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
2847
2848 Disassembler: Enhanced the -vt option to emit the binary table data in
2849 hex format to assist with debugging.
2850
2851 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
2852 size of file structure. Colin Ian King.
2853
2854 ----------------------------------------
2855 13 September 2012. Summary of changes for version 20120913:
2856
2857
2858 1) ACPICA Kernel-resident Subsystem:
2859
2860 ACPI 5.0: Added two new notify types for the Hardware Error Notification
2861 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
2862 and
2863 MCE(6).
2864
2865 Table Manager: Merged/removed duplicate code in the root table resize
2866 functions. One function is external, the other is internal. Lv Zheng,
2867 ACPICA
2868 BZ 846.
2869
2870 Makefiles: Completely removed the obsolete "Linux" makefiles under
2871 acpica/generate/linux. These makefiles are obsolete and have been
2872 replaced
2873 by
2874 the generic unix makefiles under acpica/generate/unix.
2875
2876 Makefiles: Ensure that binary files always copied properly. Minor rule
2877 change
2878 to ensure that the final binary output files are always copied up to the
2879 appropriate binary directory (bin32 or bin64.)
2880
2881 Example Code and Data Size: These are the sizes for the OS-independent
2882 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2883 debug
2884 version of the code includes the debug output trace mechanism and has a
2885 much
2886 larger code and data size.
2887
2888 Previous Release:
2889 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
2890 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
2891 Current Release:
2892 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
2893 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
2894
2895
2896 2) iASL Compiler/Disassembler and Tools:
2897
2898 Disassembler: Fixed a possible fault during the disassembly of resource
2899 descriptors when a second parse is required because of the invocation of
2900 external control methods within the table. With assistance from
2901 adq (a] lidskialf.net. ACPICA BZ 976.
2902
2903 iASL: Fixed a namepath optimization problem. An error can occur if the
2904 parse
2905 node that contains the namepath to be optimized does not have a parent
2906 node
2907 that is a named object. This change fixes the problem.
2908
2909 iASL: Fixed a regression where the AML file is not deleted on errors. The
2910 AML
2911 output file should be deleted if there are any errors during the
2912 compiler.
2913 The
2914 only exception is if the -f (force output) option is used. ACPICA BZ 974.
2915
2916 iASL: Added a feature to automatically increase internal line buffer
2917 sizes.
2918 Via realloc(), automatically increase the internal line buffer sizes as
2919 necessary to support very long source code lines. The current version of
2920 the
2921 preprocessor requires a buffer long enough to contain full source code
2922 lines.
2923 This change increases the line buffer(s) if the input lines go beyond the
2924 current buffer size. This eliminates errors that occurred when a source
2925 code
2926 line was longer than the buffer.
2927
2928 iASL: Fixed a problem with constant folding in method declarations. The
2929 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
2930 if a
2931 Type3 opcode was used.
2932
2933 Debugger: Improved command help support. For incorrect argument count,
2934 display
2935 full help for the command. For help command itself, allow an argument to
2936 specify a command.
2937
2938 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
2939 errors during execution of the suite. Guan Chao.
2940
2941 ----------------------------------------
2942 16 August 2012. Summary of changes for version 20120816:
2943
2944
2945 1) ACPICA Kernel-resident Subsystem:
2946
2947 Removed all use of the deprecated _GTS and _BFS predefined methods. The
2948 _GTS
2949 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
2950 deprecated and will probably be removed from the ACPI specification.
2951 Windows
2952 does not invoke them, and reportedly never will. The final nail in the
2953 coffin
2954 is that the ACPI specification states that these methods must be run with
2955 interrupts off, which is not going to happen in a kernel interpreter.
2956 Note:
2957 Linux has removed all use of the methods also. It was discovered that
2958 invoking these functions caused failures on some machines, probably
2959 because
2960 they were never tested since Windows does not call them. Affects two
2961 external
2962 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
2963 ACPICA BZ 969.
2964
2965 Implemented support for complex bit-packed buffers returned from the _PLD
2966 (Physical Location of Device) predefined method. Adds a new external
2967 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
2968 C
2969 structure. Note: C Bitfields cannot be used for this type of predefined
2970 structure since the memory layout of individual bitfields is not defined
2971 by
2972 the C language. In addition, there are endian concerns where a compiler
2973 will
2974 change the bitfield ordering based on the machine type. The new ACPICA
2975 interface eliminates these issues, and should be called after _PLD is
2976 executed. ACPICA BZ 954.
2977
2978 Implemented a change to allow a scope change to root (via "Scope (\)")
2979 during
2980 execution of module-level ASL code (code that is executed at table load
2981 time.) Lin Ming.
2982
2983 Added the Windows8/Server2012 string for the _OSI method. This change
2984 adds
2985 a
2986 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
2987 2012.
2988
2989 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
2990 2)
2991 and CSRT (Core System Resource Table).
2992
2993 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
2994 names. This simplifies access to the buffers returned by these predefined
2995 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
2996
2997 GPE support: Removed an extraneous parameter from the various low-level
2998 internal GPE functions. Tang Feng.
2999
3000 Removed the linux makefiles from the unix packages. The generate/linux
3001 makefiles are obsolete and have been removed from the unix tarball
3002 release
3003 packages. The replacement makefiles are under generate/unix, and there is
3004 a
3005 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
3006
3007 Updates for Unix makefiles:
3008 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
3009 2) Update linker flags (move to end of command line) for AcpiExec
3010 utility.
3011 Guan Chao.
3012
3013 Split ACPICA initialization functions to new file, utxfinit.c. Split from
3014 utxface.c to improve modularity and reduce file size.
3015
3016 Example Code and Data Size: These are the sizes for the OS-independent
3017 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3018 debug version of the code includes the debug output trace mechanism and
3019 has a
3020 much larger code and data size.
3021
3022 Previous Release:
3023 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
3024 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
3025 Current Release:
3026 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
3027 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
3028
3029
3030 2) iASL Compiler/Disassembler and Tools:
3031
3032 iASL: Fixed a problem with constant folding for fixed-length constant
3033 expressions. The constant-folding code was not being invoked for constant
3034 expressions that allow the use of type 3/4/5 opcodes to generate
3035 constants
3036 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
3037 result
3038 in the generation of invalid AML bytecode. ACPICA BZ 970.
3039
3040 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
3041 apparently automatically emit some of the necessary externals. This
3042 change
3043 handles these versions in order to eliminate generation warnings.
3044
3045 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
3046
3047 Disassembler: Add support to decode _PLD buffers. The decoded buffer
3048 appears
3049 within comments in the output file.
3050
3051 Debugger: Fixed a regression with the "Threads" command where
3052 AE_BAD_PARAMETER was always returned.
3053
3054 ----------------------------------------
3055 11 July 2012. Summary of changes for version 20120711:
3056
3057 1) ACPICA Kernel-resident Subsystem:
3058
3059 Fixed a possible fault in the return package object repair code. Fixes a
3060 problem that can occur when a lone package object is wrapped with an
3061 outer
3062 package object in order to force conformance to the ACPI specification.
3063 Can
3064 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
3065 _DLM,
3066 _CSD, _PSD, _TSD.
3067
3068 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
3069 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
3070 ARB_DIS bit must be implemented in the host-dependent C3 processor power
3071 state
3072 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
3073 both
3074 Intel and other vendors. (for Intel: ICH4-M and earlier)
3075
3076 This change removes the code to disable/enable bus master arbitration
3077 during
3078 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
3079 causes
3080 resume problems on some machines. The change has been in use for over
3081 seven
3082 years within Linux.
3083
3084 Implemented two new external interfaces to support host-directed dynamic
3085 ACPI
3086 table load and unload. They are intended to simplify the host
3087 implementation
3088 of hot-plug support:
3089 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
3090 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
3091 table.
3092 See the ACPICA reference for additional details. Adds one new file,
3093 components/tables/tbxfload.c
3094
3095 Implemented and deployed two new interfaces for errors and warnings that
3096 are
3097 known to be caused by BIOS/firmware issues:
3098 AcpiBiosError: Prints "ACPI Firmware Error" message.
3099 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
3100 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
3101 table
3102 and FADT errors. Additional deployment to be completed as appropriate in
3103 the
3104 future. The associated conditional macros are ACPI_BIOS_ERROR and
3105 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
3106 ACPICA
3107 BZ
3108 843.
3109
3110 Implicit notify support: ensure that no memory allocation occurs within a
3111 critical region. This fix moves a memory allocation outside of the time
3112 that a
3113 spinlock is held. Fixes issues on systems that do not allow this
3114 behavior.
3115 Jung-uk Kim.
3116
3117 Split exception code utilities and tables into a new file,
3118 utilities/utexcep.c
3119
3120 Example Code and Data Size: These are the sizes for the OS-independent
3121 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3122 debug
3123 version of the code includes the debug output trace mechanism and has a
3124 much
3125 larger code and data size.
3126
3127 Previous Release:
3128 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
3129 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
3130 Current Release:
3131 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
3132 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
3133
3134
3135 2) iASL Compiler/Disassembler and Tools:
3136
3137 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
3138 of
3139 0. Jung-uk Kim.
3140
3141 Debugger: Enhanced the "tables" command to emit additional information
3142 about
3143 the current set of ACPI tables, including the owner ID and flags decode.
3144
3145 Debugger: Reimplemented the "unload" command to use the new
3146 AcpiUnloadParentTable external interface. This command was disable
3147 previously
3148 due to need for an unload interface.
3149
3150 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
3151 option
3152 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
3153
3154 ----------------------------------------
3155 20 June 2012. Summary of changes for version 20120620:
3156
3157
3158 1) ACPICA Kernel-resident Subsystem:
3159
3160 Implemented support to expand the "implicit notify" feature to allow
3161 multiple
3162 devices to be notified by a single GPE. This feature automatically
3163 generates a
3164 runtime device notification in the absence of a BIOS-provided GPE control
3165 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
3166 notify is
3167 provided by ACPICA for Windows compatibility, and is a workaround for
3168 BIOS
3169 AML
3170 code errors. See the description of the AcpiSetupGpeForWake interface in
3171 the
3172 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
3173
3174 Changed some comments and internal function names to simplify and ensure
3175 correctness of the Linux code translation. No functional changes.
3176
3177 Example Code and Data Size: These are the sizes for the OS-independent
3178 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3179 debug
3180 version of the code includes the debug output trace mechanism and has a
3181 much
3182 larger code and data size.
3183
3184 Previous Release:
3185 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
3186 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
3187 Current Release:
3188 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
3189 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
3190
3191
3192 2) iASL Compiler/Disassembler and Tools:
3193
3194 Disassembler: Added support to emit short, commented descriptions for the
3195 ACPI
3196 predefined names in order to improve the readability of the disassembled
3197 output. ACPICA BZ 959. Changes include:
3198 1) Emit descriptions for all standard predefined names (_INI, _STA,
3199 _PRW,
3200 etc.)
3201 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
3202 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
3203 etc.)
3204
3205 AcpiSrc: Fixed several long-standing Linux code translation issues.
3206 Argument
3207 descriptions in function headers are now translated properly to lower
3208 case
3209 and
3210 underscores. ACPICA BZ 961. Also fixes translation problems such as
3211 these:
3212 (old -> new)
3213 i_aSL -> iASL
3214 00-7_f -> 00-7F
3215 16_k -> 16K
3216 local_fADT -> local_FADT
3217 execute_oSI -> execute_OSI
3218
3219 iASL: Fixed a problem where null bytes were inadvertently emitted into
3220 some
3221 listing files.
3222
3223 iASL: Added the existing debug options to the standard help screen. There
3224 are
3225 no longer two different help screens. ACPICA BZ 957.
3226
3227 AcpiHelp: Fixed some typos in the various predefined name descriptions.
3228 Also
3229 expand some of the descriptions where appropriate.
3230
3231 iASL: Fixed the -ot option (display compile times/statistics). Was not
3232 working
3233 properly for standard output; only worked for the debug file case.
3234
3235 ----------------------------------------
3236 18 May 2012. Summary of changes for version 20120518:
3237
3238
3239 1) ACPICA Core Subsystem:
3240
3241 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
3242 defined
3243 to block until asynchronous events such as notifies and GPEs have
3244 completed.
3245 Within ACPICA, it is only called before a notify or GPE handler is
3246 removed/uninstalled. It also may be useful for the host OS within related
3247 drivers such as the Embedded Controller driver. See the ACPICA reference
3248 for
3249 additional information. ACPICA BZ 868.
3250
3251 ACPI Tables: Added a new error message for a possible overflow failure
3252 during
3253 the conversion of FADT 32-bit legacy register addresses to internal
3254 common
3255 64-
3256 bit GAS structure representation. The GAS has a one-byte "bit length"
3257 field,
3258 thus limiting the register length to 255 bits. ACPICA BZ 953.
3259
3260 Example Code and Data Size: These are the sizes for the OS-independent
3261 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3262 debug
3263 version of the code includes the debug output trace mechanism and has a
3264 much
3265 larger code and data size.
3266
3267 Previous Release:
3268 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3269 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
3270 Current Release:
3271 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
3272 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
3273
3274
3275 2) iASL Compiler/Disassembler and Tools:
3276
3277 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
3278 macro.
3279 This keyword was added late in the ACPI 5.0 release cycle and was not
3280 implemented until now.
3281
3282 Disassembler: Added support for Operation Region externals. Adds missing
3283 support for operation regions that are defined in another table, and
3284 referenced locally via a Field or BankField ASL operator. Now generates
3285 the
3286 correct External statement.
3287
3288 Disassembler: Several additional fixes for the External() statement
3289 generation
3290 related to some ASL operators. Also, order the External() statements
3291 alphabetically in the disassembler output. Fixes the External()
3292 generation
3293 for
3294 the Create* field, Alias, and Scope operators:
3295 1) Create* buffer field operators - fix type mismatch warning on
3296 disassembly
3297 2) Alias - implement missing External support
3298 3) Scope - fix to make sure all necessary externals are emitted.
3299
3300 iASL: Improved pathname support. For include files, merge the prefix
3301 pathname
3302 with the file pathname and eliminate unnecessary components. Convert
3303 backslashes in all pathnames to forward slashes, for readability. Include
3304 file
3305 pathname changes affect both #include and Include() type operators.
3306
3307 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
3308 end
3309 of a valid line by inserting a newline and then returning the EOF during
3310 the
3311 next call to GetNextLine. Prevents the line from being ignored due to EOF
3312 condition.
3313
3314 iASL: Implemented some changes to enhance the IDE support (-vi option.)
3315 Error
3316 and Warning messages are now correctly recognized for both the source
3317 code
3318 browser and the global error and warning counts.
3319
3320 ----------------------------------------
3321 20 April 2012. Summary of changes for version 20120420:
3322
3323
3324 1) ACPICA Core Subsystem:
3325
3326 Implemented support for multiple notify handlers. This change adds
3327 support
3328 to
3329 allow multiple system and device notify handlers on Device, Thermal Zone,
3330 and
3331 Processor objects. This can simplify the host OS notification
3332 implementation.
3333 Also re-worked and restructured the entire notify support code to
3334 simplify
3335 handler installation, handler removal, notify event queuing, and notify
3336 dispatch to handler(s). Note: there can still only be two global notify
3337 handlers - one for system notifies and one for device notifies. There are
3338 no
3339 changes to the existing handler install/remove interfaces. Lin Ming, Bob
3340 Moore, Rafael Wysocki.
3341
3342 Fixed a regression in the package repair code where the object reference
3343 count was calculated incorrectly. Regression was introduced in the commit
3344 "Support to add Package wrappers".
3345
3346 Fixed a couple possible memory leaks in the AML parser, in the error
3347 recovery
3348 path. Jesper Juhl, Lin Ming.
3349
3350 Example Code and Data Size: These are the sizes for the OS-independent
3351 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3352 debug version of the code includes the debug output trace mechanism and
3353 has a
3354 much larger code and data size.
3355
3356 Previous Release:
3357 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3358 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3359 Current Release:
3360 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3361 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
3362
3363
3364 2) iASL Compiler/Disassembler and Tools:
3365
3366 iASL: Fixed a problem with the resource descriptor support where the
3367 length
3368 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
3369 included in cumulative descriptor offset, resulting in incorrect values
3370 for
3371 resource tags within resource descriptors appearing after a
3372 StartDependent*
3373 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
3374
3375 iASL and Preprocessor: Implemented full support for the #line directive
3376 to
3377 correctly track original source file line numbers through the .i
3378 preprocessor
3379 output file - for error and warning messages.
3380
3381 iASL: Expand the allowable byte constants for address space IDs.
3382 Previously,
3383 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
3384 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
3385
3386 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
3387
3388 iASL: Add option to completely disable the preprocessor (-Pn).
3389
3390 iASL: Now emit all error/warning messages to standard error (stderr) by
3391 default (instead of the previous stdout).
3392
3393 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
3394 Update
3395 for resource descriptor offset fix above. Update/cleanup error output
3396 routines. Enable and send iASL errors/warnings to an error logfile
3397 (error.txt). Send all other iASL output to a logfile (compiler.txt).
3398 Fixed
3399 several extraneous "unrecognized operator" messages.
3400
3401 ----------------------------------------
3402 20 March 2012. Summary of changes for version 20120320:
3403
3404
3405 1) ACPICA Core Subsystem:
3406
3407 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
3408 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
3409 apparently
3410 does not execute these methods, and therefore these methods are often
3411 untested. It has been seen on some systems where the execution of these
3412 methods causes errors and also prevents the machine from entering S5. It
3413 is
3414 therefore suggested that host operating systems do not execute these
3415 methods
3416 by default. In the future, perhaps these methods can be optionally
3417 executed
3418 based on the age of the system and/or what is the newest version of
3419 Windows
3420 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
3421 and
3422 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
3423 Ming.
3424
3425 Fixed a problem where the length of the local/common FADT was set too
3426 early.
3427 The local FADT table length cannot be set to the common length until the
3428 original length has been examined. There is code that checks the table
3429 length
3430 and sets various fields appropriately. This can affect older machines
3431 with
3432 early FADT versions. For example, this can cause inadvertent writes to
3433 the
3434 CST_CNT register. Julian Anastasov.
3435
3436 Fixed a mapping issue related to a physical table override. Use the
3437 deferred
3438 mapping mechanism for tables loaded via the physical override OSL
3439 interface.
3440 This allows for early mapping before the virtual memory manager is
3441 available.
3442 Thomas Renninger, Bob Moore.
3443
3444 Enhanced the automatic return-object repair code: Repair a common problem
3445 with
3446 predefined methods that are defined to return a variable-length Package
3447 of
3448 sub-objects. If there is only one sub-object, some BIOS ASL code
3449 mistakenly
3450 simply returns the single object instead of a Package with one sub-
3451 object.
3452 This new support will repair this error by wrapping a Package object
3453 around
3454 the original object, creating the correct and expected Package with one
3455 sub-
3456 object. Names that can be repaired in this manner include: _ALR, _CSD,
3457 _HPX,
3458 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
3459 939.
3460
3461 Changed the exception code returned for invalid ACPI paths passed as
3462 parameters to external interfaces such as AcpiEvaluateObject. Was
3463 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
3464
3465 Example Code and Data Size: These are the sizes for the OS-independent
3466 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3467 debug
3468 version of the code includes the debug output trace mechanism and has a
3469 much
3470 larger code and data size.
3471
3472 Previous Release:
3473 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
3474 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3475 Current Release:
3476 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3477 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3478
3479
3480 2) iASL Compiler/Disassembler and Tools:
3481
3482 iASL: Added the infrastructure and initial implementation of a integrated
3483 C-
3484 like preprocessor. This will simplify BIOS development process by
3485 eliminating
3486 the need for a separate preprocessing step during builds. On Windows, it
3487 also
3488 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
3489 features including full #define() macro support are still under
3490 development.
3491 These preprocessor directives are supported:
3492 #define
3493 #elif
3494 #else
3495 #endif
3496 #error
3497 #if
3498 #ifdef
3499 #ifndef
3500 #include
3501 #pragma message
3502 #undef
3503 #warning
3504 In addition, these new command line options are supported:
3505 -D <symbol> Define symbol for preprocessor use
3506 -li Create preprocessed output file (*.i)
3507 -P Preprocess only and create preprocessor output file (*.i)
3508
3509 Table Compiler: Fixed a problem where the equals operator within an
3510 expression
3511 did not work properly.
3512
3513 Updated iASL to use the current versions of Bison/Flex. Updated the
3514 Windows
3515 project file to invoke these tools from the standard location. ACPICA BZ
3516 904.
3517 Versions supported:
3518 Flex for Windows: V2.5.4
3519 Bison for Windows: V2.4.1
3520
3521 ----------------------------------------
3522 15 February 2012. Summary of changes for version 20120215:
3523
3524
3525 1) ACPICA Core Subsystem:
3526
3527 There have been some major changes to the sleep/wake support code, as
3528 described below (a - e).
3529
3530 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
3531 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
3532 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
3533 the
3534 time the _BFS method is called and the _WAK method is called. NOTE: all
3535 hosts
3536 must update their wake/resume code or else sleep/wake will not work
3537 properly.
3538 Rafael Wysocki.
3539
3540 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
3541 _WAK
3542 method. Some machines require that the GPEs are enabled before the _WAK
3543 method
3544 is executed. Thomas Renninger.
3545
3546 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
3547 bit.
3548 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
3549 to
3550 determine whether the system is rebooting or resuming. Matthew Garrett.
3551
3552 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
3553 Sleep) to
3554 match the ACPI specification requirement. Rafael Wysocki.
3555
3556 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
3557 registers within the V5 FADT. This support adds two new files:
3558 hardware/hwesleep.c implements the support for the new registers. Moved
3559 all
3560 sleep/wake external interfaces to hardware/hwxfsleep.c.
3561
3562
3563 Added a new OSL interface for ACPI table overrides,
3564 AcpiOsPhysicalTableOverride. This interface allows the host to override a
3565 table via a physical address, instead of the logical address required by
3566 AcpiOsTableOverride. This simplifies the host implementation. Initial
3567 implementation by Thomas Renninger. The ACPICA implementation creates a
3568 single
3569 shared function for table overrides that attempts both a logical and a
3570 physical override.
3571
3572 Expanded the OSL memory read/write interfaces to 64-bit data
3573 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
3574 transfer support for GAS register structures passed to AcpiRead and
3575 AcpiWrite.
3576
3577 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
3578 custom
3579 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
3580 model.
3581 See the ACPICA reference for details. ACPICA BZ 942. This option removes
3582 about
3583 10% of the code and 5% of the static data, and the following hardware
3584 ACPI
3585 features become unavailable:
3586 PM Event and Control registers
3587 SCI interrupt (and handler)
3588 Fixed Events
3589 General Purpose Events (GPEs)
3590 Global Lock
3591 ACPI PM timer
3592 FACS table (Waking vectors and Global Lock)
3593
3594 Updated the unix tarball directory structure to match the ACPICA git
3595 source
3596 tree. This ensures that the generic unix makefiles work properly (in
3597 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
3598 867.
3599
3600 Updated the return value of the _REV predefined method to integer value 5
3601 to
3602 reflect ACPI 5.0 support.
3603
3604 Moved the external ACPI PM timer interface prototypes to the public
3605 acpixf.h
3606 file where they belong.
3607
3608 Example Code and Data Size: These are the sizes for the OS-independent
3609 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3610 debug
3611 version of the code includes the debug output trace mechanism and has a
3612 much
3613 larger code and data size.
3614
3615 Previous Release:
3616 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
3617 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
3618 Current Release:
3619 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
3620 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3621
3622
3623 2) iASL Compiler/Disassembler and Tools:
3624
3625 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
3626 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
3627 incorrectly displayed.
3628
3629 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
3630 specification.
3631
3632 ----------------------------------------
3633 11 January 2012. Summary of changes for version 20120111:
3634
3635
3636 1) ACPICA Core Subsystem:
3637
3638 Implemented a new mechanism to allow host device drivers to check for
3639 address
3640 range conflicts with ACPI Operation Regions. Both SystemMemory and
3641 SystemIO
3642 address spaces are supported. A new external interface,
3643 AcpiCheckAddressRange,
3644 allows drivers to check an address range against the ACPI namespace. See
3645 the
3646 ACPICA reference for additional details. Adds one new file,
3647 utilities/utaddress.c. Lin Ming, Bob Moore.
3648
3649 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
3650 Control
3651 and
3652 Status registers, update the ACPI 5.0 flags, and update internal data
3653 structures to handle an FADT larger than 256 bytes. The size of the ACPI
3654 5.0
3655 FADT is 268 bytes.
3656
3657 Updated all ACPICA copyrights and signons to 2012. Added the 2012
3658 copyright to
3659 all module headers and signons, including the standard Linux header. This
3660 affects virtually every file in the ACPICA core subsystem, iASL compiler,
3661 and
3662 all ACPICA utilities.
3663
3664 Example Code and Data Size: These are the sizes for the OS-independent
3665 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3666 debug
3667 version of the code includes the debug output trace mechanism and has a
3668 much
3669 larger code and data size.
3670
3671 Previous Release:
3672 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
3673 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
3674 Current Release:
3675 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
3676 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
3677
3678
3679 2) iASL Compiler/Disassembler and Tools:
3680
3681 Disassembler: fixed a problem with the automatic resource tag generation
3682 support. Fixes a problem where the resource tags are inadvertently not
3683 constructed if the table being disassembled contains external references
3684 to
3685 control methods. Moved the actual construction of the tags to after the
3686 final
3687 namespace is constructed (after 2nd parse is invoked due to external
3688 control
3689 method references.) ACPICA BZ 941.
3690
3691 Table Compiler: Make all "generic" operators caseless. These are the
3692 operators
3693 like UINT8, String, etc. Making these caseless improves ease-of-use.
3694 ACPICA BZ
3695 934.
3696
3697 ----------------------------------------
3698 23 November 2011. Summary of changes for version 20111123:
3699
3700 0) ACPI 5.0 Support:
3701
3702 This release contains full support for the ACPI 5.0 specification, as
3703 summarized below.
3704
3705 Reduced Hardware Support:
3706 -------------------------
3707
3708 This support allows for ACPI systems without the usual ACPI hardware.
3709 This
3710 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
3711 will
3712 not attempt to initialize or use any of the usual ACPI hardware. Note,
3713 when
3714 this flag is set, all of the following ACPI hardware is assumed to be not
3715 present and is not initialized or accessed:
3716
3717 General Purpose Events (GPEs)
3718 Fixed Events (PM1a/PM1b and PM Control)
3719 Power Management Timer and Console Buttons (power/sleep)
3720 Real-time Clock Alarm
3721 Global Lock
3722 System Control Interrupt (SCI)
3723 The FACS is assumed to be non-existent
3724
3725 ACPI Tables:
3726 ------------
3727
3728 All new tables and updates to existing tables are fully supported in the
3729 ACPICA headers (for use by device drivers), the disassembler, and the
3730 iASL
3731 Data Table Compiler. ACPI 5.0 defines these new tables:
3732
3733 BGRT /* Boot Graphics Resource Table */
3734 DRTM /* Dynamic Root of Trust for Measurement table */
3735 FPDT /* Firmware Performance Data Table */
3736 GTDT /* Generic Timer Description Table */
3737 MPST /* Memory Power State Table */
3738 PCCT /* Platform Communications Channel Table */
3739 PMTT /* Platform Memory Topology Table */
3740 RASF /* RAS Feature table */
3741
3742 Operation Regions/SpaceIDs:
3743 ---------------------------
3744
3745 All new operation regions are fully supported by the iASL compiler, the
3746 disassembler, and the ACPICA runtime code (for dispatch to region
3747 handlers.)
3748 The new operation region Space IDs are:
3749
3750 GeneralPurposeIo
3751 GenericSerialBus
3752
3753 Resource Descriptors:
3754 ---------------------
3755
3756 All new ASL resource descriptors are fully supported by the iASL
3757 compiler,
3758 the
3759 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
3760 (including
3761 all new predefined resource tags). New descriptors are:
3762
3763 FixedDma
3764 GpioIo
3765 GpioInt
3766 I2cSerialBus
3767 SpiSerialBus
3768 UartSerialBus
3769
3770 ASL/AML Operators, New and Modified:
3771 ------------------------------------
3772
3773 One new operator is added, the Connection operator, which is used to
3774 associate
3775 a GeneralPurposeIo or GenericSerialBus resource descriptor with
3776 individual
3777 field objects within an operation region. Several new protocols are
3778 associated
3779 with the AccessAs operator. All are fully supported by the iASL compiler,
3780 disassembler, and runtime ACPICA AML interpreter:
3781
3782 Connection // Declare Field Connection
3783 attributes
3784 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
3785 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
3786 Protocol
3787 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
3788 RawDataBuffer // Data type for Vendor Data
3789 fields
3790
3791 Predefined ASL/AML Objects:
3792 ---------------------------
3793
3794 All new predefined objects/control-methods are supported by the iASL
3795 compiler
3796 and the ACPICA runtime validation/repair (arguments and return values.)
3797 New
3798 predefined names include the following:
3799
3800 Standard Predefined Names (Objects or Control Methods):
3801 _AEI, _CLS, _CPC, _CWS, _DEP,
3802 _DLM, _EVT, _GCP, _CRT, _GWS,
3803 _HRV, _PRE, _PSE, _SRT, _SUB.
3804
3805 Resource Tags (Names used to access individual fields within resource
3806 descriptors):
3807 _DBT, _DPL, _DRS, _END, _FLC,
3808 _IOR, _LIN, _MOD, _PAR, _PHA,
3809 _PIN, _PPI, _POL, _RXL, _SLV,
3810 _SPE, _STB, _TXL, _VEN.
3811
3812 ACPICA External Interfaces:
3813 ---------------------------
3814
3815 Several new interfaces have been defined for use by ACPI-related device
3816 drivers and other host OS services:
3817
3818 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
3819 to
3820 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
3821 provided by the BIOS. They are intended to be used in conjunction with
3822 the
3823 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
3824 mutual exclusion with the AML code/interpreter.
3825
3826 AcpiGetEventResources: Returns the (formatted) resource descriptors as
3827 defined
3828 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
3829 provides
3830 resource descriptors associated with hardware-reduced platform events,
3831 similar
3832 to the AcpiGetCurrentResources interface.
3833
3834 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
3835 operation regions, information about the Connection() object and any
3836 optional
3837 length information is passed to the region handler within the Context
3838 parameter.
3839
3840 AcpiBufferToResource: This interface converts a raw AML buffer containing
3841 a
3842 resource template or resource descriptor to the ACPI_RESOURCE internal
3843 format
3844 suitable for use by device drivers. Can be used by an operation region
3845 handler
3846 to convert the Connection() buffer object into a ACPI_RESOURCE.
3847
3848 Miscellaneous/Tools/TestSuites:
3849 -------------------------------
3850
3851 Support for extended _HID names (Four alpha characters instead of three).
3852 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
3853 Support for ACPI 5.0 features in the ASLTS test suite.
3854 Fully updated documentation (ACPICA and iASL reference documents.)
3855
3856 ACPI Table Definition Language:
3857 -------------------------------
3858
3859 Support for this language was implemented and released as a subsystem of
3860 the
3861 iASL compiler in 2010. (See the iASL compiler User Guide.)
3862
3863
3864 Non-ACPI 5.0 changes for this release:
3865 --------------------------------------
3866
3867 1) ACPICA Core Subsystem:
3868
3869 Fix a problem with operation region declarations where a failure can
3870 occur
3871 if
3872 the region name and an argument that evaluates to an object (such as the
3873 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
3874 937.
3875
3876 Do not abort an ACPI table load if an invalid space ID is found within.
3877 This
3878 will be caught later if the offending method is executed. ACPICA BZ 925.
3879
3880 Fixed an issue with the FFixedHW space ID where the ID was not always
3881 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
3882
3883 Fixed a problem with the 32-bit generation of the unix-specific OSL
3884 (osunixxf.c). Lin Ming, ACPICA BZ 936.
3885
3886 Several changes made to enable generation with the GCC 4.6 compiler.
3887 ACPICA BZ
3888 935.
3889
3890 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
3891 Index/Bank
3892 field registers out-of-range.
3893
3894 2) iASL Compiler/Disassembler and Tools:
3895
3896 iASL: Implemented the __PATH__ operator, which returns the full pathname
3897 of
3898 the current source file.
3899
3900 AcpiHelp: Automatically display expanded keyword information for all ASL
3901 operators.
3902
3903 Debugger: Add "Template" command to disassemble/dump resource template
3904 buffers.
3905
3906 Added a new master script to generate and execute the ASLTS test suite.
3907 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
3908
3909 iASL: Fix problem with listing generation during processing of the
3910 Switch()
3911 operator where AML listing was disabled until the entire Switch block was
3912 completed.
3913
3914 iASL: Improve support for semicolon statement terminators. Fix "invalid
3915 character" message for some cases when the semicolon is used. Semicolons
3916 are
3917 now allowed after every <Term> grammar element. ACPICA BZ 927.
3918
3919 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
3920 923.
3921
3922 Disassembler: Fix problem with disassembly of the DataTableRegion
3923 operator
3924 where an inadvertent "Unhandled deferred opcode" message could be
3925 generated.
3926
3927 3) Example Code and Data Size
3928
3929 These are the sizes for the OS-independent acpica.lib produced by the
3930 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
3931 includes the debug output trace mechanism and has a much larger code and
3932 data
3933 size.
3934
3935 Previous Release:
3936 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
3937 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
3938 Current Release:
3939 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
3940 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
3941
3942 ----------------------------------------
3943 22 September 2011. Summary of changes for version 20110922:
3944
3945 0) ACPI 5.0 News:
3946
3947 Support for ACPI 5.0 in ACPICA has been underway for several months and
3948 will
3949 be released at the same time that ACPI 5.0 is officially released.
3950
3951 The ACPI 5.0 specification is on track for release in the next few
3952 months.
3953
3954 1) ACPICA Core Subsystem:
3955
3956 Fixed a problem where the maximum sleep time for the Sleep() operator was
3957 intended to be limited to two seconds, but was inadvertently limited to
3958 20
3959 seconds instead.
3960
3961 Linux and Unix makefiles: Added header file dependencies to ensure
3962 correct
3963 generation of ACPICA core code and utilities. Also simplified the
3964 makefiles
3965 considerably through the use of the vpath variable to specify search
3966 paths.
3967 ACPICA BZ 924.
3968
3969 2) iASL Compiler/Disassembler and Tools:
3970
3971 iASL: Implemented support to check the access length for all fields
3972 created to
3973 access named Resource Descriptor fields. For example, if a resource field
3974 is
3975 defined to be two bits, a warning is issued if a CreateXxxxField() is
3976 used
3977 with an incorrect bit length. This is implemented for all current
3978 resource
3979 descriptor names. ACPICA BZ 930.
3980
3981 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
3982 56-
3983 bit integers.
3984
3985 iASL: Fixed a couple of issues associated with variable-length package
3986 objects. 1) properly handle constants like One, Ones, Zero -- do not make
3987 a
3988 VAR_PACKAGE when these are used as a package length. 2) Allow the
3989 VAR_PACKAGE
3990 opcode (in addition to PACKAGE) when validating object types for
3991 predefined
3992 names.
3993
3994 iASL: Emit statistics for all output files (instead of just the ASL input
3995 and
3996 AML output). Includes listings, hex files, etc.
3997
3998 iASL: Added -G option to the table compiler to allow the compilation of
3999 custom
4000 ACPI tables. The only part of a table that is required is the standard
4001 36-
4002 byte
4003 ACPI header.
4004
4005 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
4006 headers),
4007 which also adds correct 64-bit support. Also, now all output filenames
4008 are
4009 completely lower case.
4010
4011 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
4012 loading table files. A warning is issued for any such tables. The only
4013 exception is an FADT. This also fixes a possible fault when attempting to
4014 load
4015 non-AML tables. ACPICA BZ 932.
4016
4017 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
4018 a
4019 missing table terminator could cause a fault when using the -p option.
4020
4021 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
4022 statistics.
4023
4024 3) Example Code and Data Size
4025
4026 These are the sizes for the OS-independent acpica.lib produced by the
4027 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
4028 includes the debug output trace mechanism and has a much larger code and
4029 data
4030 size.
4031
4032 Previous Release (VC 9.0):
4033 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4034 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4035 Current Release (VC 9.0):
4036 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4037 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4038
4039
4040 ----------------------------------------
4041 23 June 2011. Summary of changes for version 20110623:
4042
4043 1) ACPI CA Core Subsystem:
4044
4045 Updated the predefined name repair mechanism to not attempt repair of a
4046 _TSS
4047 return object if a _PSS object is present. We can only sort the _TSS
4048 return
4049 package if there is no _PSS within the same scope. This is because if
4050 _PSS
4051 is
4052 present, the ACPI specification dictates that the _TSS Power Dissipation
4053 field
4054 is to be ignored, and therefore some BIOSs leave garbage values in the
4055 _TSS
4056 Power field(s). In this case, it is best to just return the _TSS package
4057 as-
4058 is. Reported by, and fixed with assistance from Fenghua Yu.
4059
4060 Added an option to globally disable the control method return value
4061 validation
4062 and repair. This runtime option can be used to disable return value
4063 repair
4064 if
4065 this is causing a problem on a particular machine. Also added an option
4066 to
4067 AcpiExec (-dr) to set this disable flag.
4068
4069 All makefiles and project files: Major changes to improve generation of
4070 ACPICA
4071 tools. ACPICA BZ 912:
4072 Reduce default optimization levels to improve compatibility
4073 For Linux, add strict-aliasing=0 for gcc 4
4074 Cleanup and simplify use of command line defines
4075 Cleanup multithread library support
4076 Improve usage messages
4077
4078 Linux-specific header: update handling of THREAD_ID and pthread. For the
4079 32-
4080 bit case, improve casting to eliminate possible warnings, especially with
4081 the
4082 acpica tools.
4083
4084 Example Code and Data Size: These are the sizes for the OS-independent
4085 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4086 debug
4087 version of the code includes the debug output trace mechanism and has a
4088 much
4089 larger code and data size.
4090
4091 Previous Release (VC 9.0):
4092 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
4093 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4094 Current Release (VC 9.0):
4095 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4096 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4097
4098 2) iASL Compiler/Disassembler and Tools:
4099
4100 With this release, a new utility named "acpihelp" has been added to the
4101 ACPICA
4102 package. This utility summarizes the ACPI specification chapters for the
4103 ASL
4104 and AML languages. It generates under Linux/Unix as well as Windows, and
4105 provides the following functionality:
4106 Find/display ASL operator(s) -- with description and syntax.
4107 Find/display ASL keyword(s) -- with exact spelling and descriptions.
4108 Find/display ACPI predefined name(s) -- with description, number
4109 of arguments, and the return value data type.
4110 Find/display AML opcode name(s) -- with opcode, arguments, and
4111 grammar.
4112 Decode/display AML opcode -- with opcode name, arguments, and
4113 grammar.
4114
4115 Service Layers: Make multi-thread support configurable. Conditionally
4116 compile
4117 the multi-thread support so that threading libraries will not be linked
4118 if
4119 not
4120 necessary. The only tool that requires multi-thread support is AcpiExec.
4121
4122 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
4123 of
4124 Bison appear to want the interface to yyerror to be a const char * (or at
4125 least this is a problem when generating iASL on some systems.) ACPICA BZ
4126 923
4127 Pierre Lejeune.
4128
4129 Tools: Fix for systems where O_BINARY is not defined. Only used for
4130 Windows
4131 versions of the tools.
4132
4133 ----------------------------------------
4134 27 May 2011. Summary of changes for version 20110527:
4135
4136 1) ACPI CA Core Subsystem:
4137
4138 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
4139 table
4140 signature. Now, only allow SSDT, OEMx, and a null signature. History:
4141 1) Originally, we checked the table signature for "SSDT" or "PSDT".
4142 (PSDT is now obsolete.)
4143 2) We added support for OEMx tables, signature "OEM" plus a fourth
4144 "don't care" character.
4145 3) Valid tables were encountered with a null signature, so we just
4146 gave up on validating the signature, (05/2008).
4147 4) We encountered non-AML tables such as the MADT, which caused
4148 interpreter errors and kernel faults. So now, we once again allow
4149 only SSDT, OEMx, and now, also a null signature. (05/2011).
4150
4151 Added the missing _TDL predefined name to the global name list in order
4152 to
4153 enable validation. Affects both the core ACPICA code and the iASL
4154 compiler.
4155
4156 Example Code and Data Size: These are the sizes for the OS-independent
4157 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4158 debug
4159 version of the code includes the debug output trace mechanism and has a
4160 much
4161 larger code and data size.
4162
4163 Previous Release (VC 9.0):
4164 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
4165 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
4166 Current Release (VC 9.0):
4167 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
4168 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4169
4170 2) iASL Compiler/Disassembler and Tools:
4171
4172 Debugger/AcpiExec: Implemented support for "complex" method arguments on
4173 the
4174 debugger command line. This adds support beyond simple integers --
4175 including
4176 Strings, Buffers, and Packages. Includes support for nested packages.
4177 Increased the default command line buffer size to accommodate these
4178 arguments.
4179 See the ACPICA reference for details and syntax. ACPICA BZ 917.
4180
4181 Debugger/AcpiExec: Implemented support for "default" method arguments for
4182 the
4183 Execute/Debug command. Now, the debugger will always invoke a control
4184 method
4185 with the required number of arguments -- even if the command line
4186 specifies
4187 none or insufficient arguments. It uses default integer values for any
4188 missing
4189 arguments. Also fixes a bug where only six method arguments maximum were
4190 supported instead of the required seven.
4191
4192 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
4193 and
4194 also return status in order to prevent buffer overruns. See the ACPICA
4195 reference for details and syntax. ACPICA BZ 921
4196
4197 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
4198 makefiles to simplify support for the two different but similar parser
4199 generators, bison and yacc.
4200
4201 Updated the generic unix makefile for gcc 4. The default gcc version is
4202 now
4203 expected to be 4 or greater, since options specific to gcc 4 are used.
4204
4205 ----------------------------------------
4206 13 April 2011. Summary of changes for version 20110413:
4207
4208 1) ACPI CA Core Subsystem:
4209
4210 Implemented support to execute a so-called "orphan" _REG method under the
4211 EC
4212 device. This change will force the execution of a _REG method underneath
4213 the
4214 EC
4215 device even if there is no corresponding operation region of type
4216 EmbeddedControl. Fixes a problem seen on some machines and apparently is
4217 compatible with Windows behavior. ACPICA BZ 875.
4218
4219 Added more predefined methods that are eligible for automatic NULL
4220 package
4221 element removal. This change adds another group of predefined names to
4222 the
4223 list
4224 of names that can be repaired by having NULL package elements dynamically
4225 removed. This group are those methods that return a single variable-
4226 length
4227 package containing simple data types such as integers, buffers, strings.
4228 This
4229 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
4230 _PSL,
4231 _Sx,
4232 and _TZD. ACPICA BZ 914.
4233
4234 Split and segregated all internal global lock functions to a new file,
4235 evglock.c.
4236
4237 Updated internal address SpaceID for DataTable regions. Moved this
4238 internal
4239 space
4240 id in preparation for ACPI 5.0 changes that will include some new space
4241 IDs.
4242 This
4243 change should not affect user/host code.
4244
4245 Example Code and Data Size: These are the sizes for the OS-independent
4246 acpica.lib
4247 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
4248 version of
4249 the code includes the debug output trace mechanism and has a much larger
4250 code
4251 and
4252 data size.
4253
4254 Previous Release (VC 9.0):
4255 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
4256 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
4257 Current Release (VC 9.0):
4258 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
4259 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
4260
4261 2) iASL Compiler/Disassembler and Tools:
4262
4263 iASL/DTC: Major update for new grammar features. Allow generic data types
4264 in
4265 custom ACPI tables. Field names are now optional. Any line can be split
4266 to
4267 multiple lines using the continuation char (\). Large buffers now use
4268 line-
4269 continuation character(s) and no colon on the continuation lines. See the
4270 grammar
4271 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
4272 Moore.
4273
4274 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
4275 statements.
4276 Since the parser stuffs a "zero" as the return value for these statements
4277 (due
4278 to
4279 the underlying AML grammar), they were seen as "return with value" by the
4280 iASL
4281 semantic checking. They are now seen correctly as "null" return
4282 statements.
4283
4284 iASL: Check if a_REG declaration has a corresponding Operation Region.
4285 Adds a
4286 check for each _REG to ensure that there is in fact a corresponding
4287 operation
4288 region declaration in the same scope. If not, the _REG method is not very
4289 useful
4290 since it probably won't be executed. ACPICA BZ 915.
4291
4292 iASL/DTC: Finish support for expression evaluation. Added a new
4293 expression
4294 parser
4295 that implements c-style operator precedence and parenthesization. ACPICA
4296 bugzilla
4297 908.
4298
4299 Disassembler/DTC: Remove support for () and <> style comments in data
4300 tables.
4301 Now
4302 that DTC has full expression support, we don't want to have comment
4303 strings
4304 that
4305 start with a parentheses or a less-than symbol. Now, only the standard /*
4306 and
4307 //
4308 comments are supported, as well as the bracket [] comments.
4309
4310 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
4311 "unusual"
4312 headers in the acpidump file. Update the header validation to support
4313 these
4314 tables. Problem introduced in previous AcpiXtract version in the change
4315 to
4316 support "wrong checksum" error messages emitted by acpidump utility.
4317
4318 iASL: Add a * option to generate all template files (as a synonym for
4319 ALL)
4320 as
4321 in
4322 "iasl -T *" or "iasl -T ALL".
4323
4324 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
4325 completely
4326 abort the compiler on "fatal" errors, simply should abort the current
4327 compile.
4328 This allows multiple compiles with a single (possibly wildcard) compiler
4329 invocation.
4330
4331 ----------------------------------------
4332 16 March 2011. Summary of changes for version 20110316:
4333
4334 1) ACPI CA Core Subsystem:
4335
4336 Fixed a problem caused by a _PRW method appearing at the namespace root
4337 scope
4338 during the setup of wake GPEs. A fault could occur if a _PRW directly
4339 under
4340 the
4341 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
4342
4343 Implemented support for "spurious" Global Lock interrupts. On some
4344 systems, a
4345 global lock interrupt can occur without the pending flag being set. Upon
4346 a
4347 GL
4348 interrupt, we now ensure that a thread is actually waiting for the lock
4349 before
4350 signaling GL availability. Rafael Wysocki, Bob Moore.
4351
4352 Example Code and Data Size: These are the sizes for the OS-independent
4353 acpica.lib
4354 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
4355 version of
4356 the code includes the debug output trace mechanism and has a much larger
4357 code
4358 and
4359 data size.
4360
4361 Previous Release (VC 9.0):
4362 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4363 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4364 Current Release (VC 9.0):
4365 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
4366 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
4367
4368 2) iASL Compiler/Disassembler and Tools:
4369
4370 Implemented full support for the "SLIC" ACPI table. Includes support in
4371 the
4372 header files, disassembler, table compiler, and template generator. Bob
4373 Moore,
4374 Lin Ming.
4375
4376 AcpiXtract: Correctly handle embedded comments and messages from
4377 AcpiDump.
4378 Apparently some or all versions of acpidump will occasionally emit a
4379 comment
4380 like
4381 "Wrong checksum", etc., into the dump file. This was causing problems for
4382 AcpiXtract. ACPICA BZ 905.
4383
4384 iASL: Fix the Linux makefile by removing an inadvertent double file
4385 inclusion.
4386 ACPICA BZ 913.
4387
4388 AcpiExec: Update installation of operation region handlers. Install one
4389 handler
4390 for a user-defined address space. This is used by the ASL test suite
4391 (ASLTS).
4392
4393 ----------------------------------------
4394 11 February 2011. Summary of changes for version 20110211:
4395
4396 1) ACPI CA Core Subsystem:
4397
4398 Added a mechanism to defer _REG methods for some early-installed
4399 handlers.
4400 Most user handlers should be installed before call to
4401 AcpiEnableSubsystem.
4402 However, Event handlers and region handlers should be installed after
4403 AcpiInitializeObjects. Override handlers for the "default" regions should
4404 be
4405 installed early, however. This change executes all _REG methods for the
4406 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
4407 chicken/egg issues between them. ACPICA BZ 848.
4408
4409 Implemented an optimization for GPE detection. This optimization will
4410 simply
4411 ignore GPE registers that contain no enabled GPEs -- there is no need to
4412 read the register since this information is available internally. This
4413 becomes more important on machines with a large GPE space. ACPICA
4414 bugzilla
4415 884. Lin Ming. Suggestion from Joe Liu.
4416
4417 Removed all use of the highly unreliable FADT revision field. The
4418 revision
4419 number in the FADT has been found to be completely unreliable and cannot
4420 be
4421 trusted. Only the actual table length can be used to infer the version.
4422 This
4423 change updates the ACPICA core and the disassembler so that both no
4424 longer
4425 even look at the FADT version and instead depend solely upon the FADT
4426 length.
4427
4428 Fix an unresolved name issue for the no-debug and no-error-message source
4429 generation cases. The _AcpiModuleName was left undefined in these cases,
4430 but
4431 it is actually needed as a parameter to some interfaces. Define
4432 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
4433
4434 Split several large files (makefiles and project files updated)
4435 utglobal.c -> utdecode.c
4436 dbcomds.c -> dbmethod.c dbnames.c
4437 dsopcode.c -> dsargs.c dscontrol.c
4438 dsload.c -> dsload2.c
4439 aslanalyze.c -> aslbtypes.c aslwalks.c
4440
4441 Example Code and Data Size: These are the sizes for the OS-independent
4442 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4443 debug version of the code includes the debug output trace mechanism and
4444 has
4445 a much larger code and data size.
4446
4447 Previous Release (VC 9.0):
4448 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4449 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4450 Current Release (VC 9.0):
4451 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4452 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4453
4454 2) iASL Compiler/Disassembler and Tools:
4455
4456 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
4457 These are useful C-style macros with the standard definitions. ACPICA
4458 bugzilla 898.
4459
4460 iASL/DTC: Added support for integer expressions and labels. Support for
4461 full
4462 expressions for all integer fields in all ACPI tables. Support for labels
4463 in
4464 "generic" portions of tables such as UEFI. See the iASL reference manual.
4465
4466 Debugger: Added a command to display the status of global handlers. The
4467 "handlers" command will display op region, fixed event, and miscellaneous
4468 global handlers. installation status -- and for op regions, whether
4469 default
4470 or user-installed handler will be used.
4471
4472 iASL: Warn if reserved method incorrectly returns a value. Many
4473 predefined
4474 names are defined such that they do not return a value. If implemented as
4475 a
4476 method, issue a warning if such a name explicitly returns a value. ACPICA
4477 Bugzilla 855.
4478
4479 iASL: Added detection of GPE method name conflicts. Detects a conflict
4480 where
4481 there are two GPE methods of the form _Lxy and _Exy in the same scope.
4482 (For
4483 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
4484
4485 iASL/DTC: Fixed a couple input scanner issues with comments and line
4486 numbers. Comment remover could get confused and miss a comment ending.
4487 Fixed
4488 a problem with line counter maintenance.
4489
4490 iASL/DTC: Reduced the severity of some errors from fatal to error. There
4491 is
4492 no need to abort on simple errors within a field definition.
4493
4494 Debugger: Simplified the output of the help command. All help output now
4495 in
4496 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
4497
4498 ----------------------------------------
4499 12 January 2011. Summary of changes for version 20110112:
4500
4501 1) ACPI CA Core Subsystem:
4502
4503 Fixed a race condition between method execution and namespace walks that
4504 can
4505 possibly cause a fault. The problem was apparently introduced in version
4506 20100528 as a result of a performance optimization that reduces the
4507 number
4508 of
4509 namespace walks upon method exit by using the delete_namespace_subtree
4510 function instead of the delete_namespace_by_owner function used
4511 previously.
4512 Bug is a missing namespace lock in the delete_namespace_subtree function.
4513 dana.myers (a] oracle.com
4514
4515 Fixed several issues and a possible fault with the automatic "serialized"
4516 method support. History: This support changes a method to "serialized" on
4517 the
4518 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
4519 possibility that it cannot handle reentrancy. This fix repairs a couple
4520 of
4521 issues seen in the field, especially on machines with many cores:
4522
4523 1) Delete method children only upon the exit of the last thread,
4524 so as to not delete objects out from under other running threads
4525 (and possibly causing a fault.)
4526 2) Set the "serialized" bit for the method only upon the exit of the
4527 Last thread, so as to not cause deadlock when running threads
4528 attempt to exit.
4529 3) Cleanup the use of the AML "MethodFlags" and internal method flags
4530 so that there is no longer any confusion between the two.
4531
4532 Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
4533
4534 Debugger: Now lock the namespace for duration of a namespace dump.
4535 Prevents
4536 issues if the namespace is changing dynamically underneath the debugger.
4537 Especially affects temporary namespace nodes, since the debugger displays
4538 these also.
4539
4540 Updated the ordering of include files. The ACPICA headers should appear
4541 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
4542 set
4543 any necessary compiler-specific defines, etc. Affects the ACPI-related
4544 tools
4545 and utilities.
4546
4547 Updated all ACPICA copyrights and signons to 2011. Added the 2011
4548 copyright
4549 to all module headers and signons, including the Linux header. This
4550 affects
4551 virtually every file in the ACPICA core subsystem, iASL compiler, and all
4552 utilities.
4553
4554 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
4555 project files for VC++ 6.0 are now obsolete. New project files can be
4556 found
4557 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
4558 details.
4559
4560 Example Code and Data Size: These are the sizes for the OS-independent
4561 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4562 debug version of the code includes the debug output trace mechanism and
4563 has a
4564 much larger code and data size.
4565
4566 Previous Release (VC 6.0):
4567 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
4568 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
4569 Current Release (VC 9.0):
4570 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4571 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4572
4573 2) iASL Compiler/Disassembler and Tools:
4574
4575 iASL: Added generic data types to the Data Table compiler. Add "generic"
4576 data
4577 types such as UINT32, String, Unicode, etc., to simplify the generation
4578 of
4579 platform-defined tables such as UEFI. Lin Ming.
4580
4581 iASL: Added listing support for the Data Table Compiler. Adds listing
4582 support
4583 (-l) to display actual binary output for each line of input code.
4584
4585 ----------------------------------------
4586 09 December 2010. Summary of changes for version 20101209:
4587
4588 1) ACPI CA Core Subsystem:
4589
4590 Completed the major overhaul of the GPE support code that was begun in
4591 July
4592 2010. Major features include: removal of _PRW execution in ACPICA (host
4593 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
4594 changes to existing interfaces, simplification of GPE handler operation,
4595 and
4596 a handful of new interfaces:
4597
4598 AcpiUpdateAllGpes
4599 AcpiFinishGpe
4600 AcpiSetupGpeForWake
4601 AcpiSetGpeWakeMask
4602 One new file, evxfgpe.c to consolidate all external GPE interfaces.
4603
4604 See the ACPICA Programmer Reference for full details and programming
4605 information. See the new section 4.4 "General Purpose Event (GPE)
4606 Support"
4607 for a full overview, and section 8.7 "ACPI General Purpose Event
4608 Management"
4609 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
4610 Ming,
4611 Bob Moore, Rafael Wysocki.
4612
4613 Implemented a new GPE feature for Windows compatibility, the "Implicit
4614 Wake
4615 GPE Notify". This feature will automatically issue a Notify(2) on a
4616 device
4617 when a Wake GPE is received if there is no corresponding GPE method or
4618 handler. ACPICA BZ 870.
4619
4620 Fixed a problem with the Scope() operator during table parse and load
4621 phase.
4622 During load phase (table load or method execution), the scope operator
4623 should
4624 not enter the target into the namespace. Instead, it should open a new
4625 scope
4626 at the target location. Linux BZ 19462, ACPICA BZ 882.
4627
4628 Example Code and Data Size: These are the sizes for the OS-independent
4629 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4630 debug version of the code includes the debug output trace mechanism and
4631 has a
4632 much larger code and data size.
4633
4634 Previous Release:
4635 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
4636 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
4637 Current Release:
4638 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4639 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4640
4641 2) iASL Compiler/Disassembler and Tools:
4642
4643 iASL: Relax the alphanumeric restriction on _CID strings. These strings
4644 are
4645 "bus-specific" per the ACPI specification, and therefore any characters
4646 are
4647 acceptable. The only checks that can be performed are for a null string
4648 and
4649 perhaps for a leading asterisk. ACPICA BZ 886.
4650
4651 iASL: Fixed a problem where a syntax error that caused a premature EOF
4652 condition on the source file emitted a very confusing error message. The
4653 premature EOF is now detected correctly. ACPICA BZ 891.
4654
4655 Disassembler: Decode the AccessSize within a Generic Address Structure
4656 (byte
4657 access, word access, etc.) Note, this field does not allow arbitrary bit
4658 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
4659
4660 New: AcpiNames utility - Example namespace dump utility. Shows an example
4661 of
4662 ACPICA configuration for a minimal namespace dump utility. Uses table and
4663 namespace managers, but no AML interpreter. Does not add any
4664 functionality
4665 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
4666 partition and configure ACPICA. ACPICA BZ 883.
4667
4668 AML Debugger: Increased the debugger buffer size for method return
4669 objects.
4670 Was 4K, increased to 16K. Also enhanced error messages for debugger
4671 method
4672 execution, including the buffer overflow case.
4673
4674 ----------------------------------------
4675 13 October 2010. Summary of changes for version 20101013:
4676
4677 1) ACPI CA Core Subsystem:
4678
4679 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
4680 now
4681 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
4682 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
4683
4684 Changed the type of the predefined namespace object _TZ from ThermalZone
4685 to
4686 Device. This was found to be confusing to the host software that
4687 processes
4688 the various thermal zones, since _TZ is not really a ThermalZone.
4689 However,
4690 a
4691 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
4692 Zhang.
4693
4694 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
4695 string is "Windows 2006 SP2".
4696
4697 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
4698 nsrepair
4699 code automatically repairs _HID-related strings, this type of code is no
4700 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
4701 878.
4702
4703 Example Code and Data Size: These are the sizes for the OS-independent
4704 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4705 debug version of the code includes the debug output trace mechanism and
4706 has a
4707 much larger code and data size.
4708
4709 Previous Release:
4710 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4711 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4712 Current Release:
4713 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4714 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4715
4716 2) iASL Compiler/Disassembler and Tools:
4717
4718 iASL: Implemented additional compile-time validation for _HID strings.
4719 The
4720 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
4721 length
4722 of
4723 the string must be exactly seven or eight characters. For both _HID and
4724 _CID
4725 strings, all characters must be alphanumeric. ACPICA BZ 874.
4726
4727 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
4728 descriptors that are mostly or all zeros, with the expectation that they
4729 will
4730 be filled in at runtime. iASL now allows this as long as there is a
4731 "resource
4732 tag" (name) associated with the descriptor, which gives the ASL a handle
4733 needed to modify the descriptor. ACPICA BZ 873.
4734
4735 Added single-thread support to the generic Unix application OSL.
4736 Primarily
4737 for iASL support, this change removes the use of semaphores in the
4738 single-
4739 threaded ACPICA tools/applications - increasing performance. The
4740 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
4741 option. ACPICA BZ 879.
4742
4743 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
4744 support
4745 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
4746
4747 iASL: Moved all compiler messages to a new file, aslmessages.h.
4748
4749 ----------------------------------------
4750 15 September 2010. Summary of changes for version 20100915:
4751
4752 1) ACPI CA Core Subsystem:
4753
4754 Removed the AcpiOsDerivePciId OSL interface. The various host
4755 implementations
4756 of this function were not OS-dependent and are now obsolete and can be
4757 removed from all host OSLs. This function has been replaced by
4758 AcpiHwDerivePciId, which is now part of the ACPICA core code.
4759 AcpiHwDerivePciId has been implemented without recursion. Adds one new
4760 module, hwpci.c. ACPICA BZ 857.
4761
4762 Implemented a dynamic repair for _HID and _CID strings. The following
4763 problems are now repaired at runtime: 1) Remove a leading asterisk in the
4764 string, and 2) the entire string is uppercased. Both repairs are in
4765 accordance with the ACPI specification and will simplify host driver
4766 code.
4767 ACPICA BZ 871.
4768
4769 The ACPI_THREAD_ID type is no longer configurable, internally it is now
4770 always UINT64. This simplifies the ACPICA code, especially any printf
4771 output.
4772 UINT64 is the only common data type for all thread_id types across all
4773 operating systems. It is now up to the host OSL to cast the native
4774 thread_id
4775 type to UINT64 before returning the value to ACPICA (via
4776 AcpiOsGetThreadId).
4777 Lin Ming, Bob Moore.
4778
4779 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
4780 "inline"
4781 keyword is not standard across compilers, and this type allows inline to
4782 be
4783 configured on a per-compiler basis. Lin Ming.
4784
4785 Made the system global AcpiGbl_SystemAwakeAndRunning publically
4786 available.
4787 Added an extern for this boolean in acpixf.h. Some hosts utilize this
4788 value
4789 during suspend/restore operations. ACPICA BZ 869.
4790
4791 All code that implements error/warning messages with the "ACPI:" prefix
4792 has
4793 been moved to a new module, utxferror.c.
4794
4795 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
4796 it
4797 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
4798
4799 Example Code and Data Size: These are the sizes for the OS-independent
4800 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4801 debug version of the code includes the debug output trace mechanism and
4802 has a
4803 much larger code and data size.
4804
4805 Previous Release:
4806 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
4807 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
4808 Current Release:
4809 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4810 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4811
4812 2) iASL Compiler/Disassembler and Tools:
4813
4814 iASL/Disassembler: Write ACPI errors to stderr instead of the output
4815 file.
4816 This keeps the output files free of random error messages that may
4817 originate
4818 from within the namespace/interpreter code. Used this opportunity to
4819 merge
4820 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
4821 866. Lin Ming, Bob Moore.
4822
4823 Tools: update some printfs for ansi warnings on size_t. Handle width
4824 change
4825 of size_t on 32-bit versus 64-bit generations. Lin Ming.
4826
4827 ----------------------------------------
4828 06 August 2010. Summary of changes for version 20100806:
4829
4830 1) ACPI CA Core Subsystem:
4831
4832 Designed and implemented a new host interface to the _OSI support code.
4833 This
4834 will allow the host to dynamically add or remove multiple _OSI strings,
4835 as
4836 well as install an optional handler that is called for each _OSI
4837 invocation.
4838 Also added a new AML debugger command, 'osi' to display and modify the
4839 global
4840 _OSI string table, and test support in the AcpiExec utility. See the
4841 ACPICA
4842 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
4843 New Functions:
4844 AcpiInstallInterface - Add an _OSI string.
4845 AcpiRemoveInterface - Delete an _OSI string.
4846 AcpiInstallInterfaceHandler - Install optional _OSI handler.
4847 Obsolete Functions:
4848 AcpiOsValidateInterface - no longer used.
4849 New Files:
4850 source/components/utilities/utosi.c
4851
4852 Re-introduced the support to enable multi-byte transfers for Embedded
4853 Controller (EC) operation regions. A reported problem was found to be a
4854 bug
4855 in the host OS, not in the multi-byte support. Previously, the maximum
4856 data
4857 size passed to the EC operation region handler was a single byte. There
4858 are
4859 often EC Fields larger than one byte that need to be transferred, and it
4860 is
4861 useful for the EC driver to lock these as a single transaction. This
4862 change
4863 enables single transfers larger than 8 bits. This effectively changes the
4864 access to the EC space from ByteAcc to AnyAcc, and will probably require
4865 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
4866 bit
4867 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
4868
4869 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
4870 prototype in acpiosxf.h had the output value pointer as a (void *).
4871 It should be a (UINT64 *). This may affect some host OSL code.
4872
4873 Fixed a couple problems with the recently modified Linux makefiles for
4874 iASL
4875 and AcpiExec. These new makefiles place the generated object files in the
4876 local directory so that there can be no collisions between the files that
4877 are
4878 shared between them that are compiled with different options.
4879
4880 Example Code and Data Size: These are the sizes for the OS-independent
4881 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4882 debug version of the code includes the debug output trace mechanism and
4883 has a
4884 much larger code and data size.
4885
4886 Previous Release:
4887 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
4888 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
4889 Current Release:
4890 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
4891 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
4892
4893 2) iASL Compiler/Disassembler and Tools:
4894
4895 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
4896 the
4897 namespace from and disassemble an entire group of AML files. Useful for
4898 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
4899 and
4900 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
4901
4902 iASL: Allow multiple invocations of -e option. This change allows
4903 multiple
4904 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
4905 834.
4906 Lin Ming.
4907
4908 ----------------------------------------
4909 02 July 2010. Summary of changes for version 20100702:
4910
4911 1) ACPI CA Core Subsystem:
4912
4913 Implemented several updates to the recently added GPE reference count
4914 support. The model for "wake" GPEs is changing to give the host OS
4915 complete
4916 control of these GPEs. Eventually, the ACPICA core will not execute any
4917 _PRW
4918 methods, since the host already must execute them. Also, additional
4919 changes
4920 were made to help ensure that the reference counts are kept in proper
4921 synchronization with reality. Rafael J. Wysocki.
4922
4923 1) Ensure that GPEs are not enabled twice during initialization.
4924 2) Ensure that GPE enable masks stay in sync with the reference count.
4925 3) Do not inadvertently enable GPEs when writing GPE registers.
4926 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
4927 interface. This interface will set or clear individual GPEs for wakeup.
4928 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
4929 interfaces
4930 are now used for "runtime" GPEs only.
4931
4932 Changed the behavior of the GPE install/remove handler interfaces. The
4933 GPE
4934 is
4935 no longer disabled during this process, as it was found to cause problems
4936 on
4937 some machines. Rafael J. Wysocki.
4938
4939 Reverted a change introduced in version 20100528 to enable Embedded
4940 Controller multi-byte transfers. This change was found to cause problems
4941 with
4942 Index Fields and possibly Bank Fields. It will be reintroduced when these
4943 problems have been resolved.
4944
4945 Fixed a problem with references to Alias objects within Package Objects.
4946 A
4947 reference to an Alias within the definition of a Package was not always
4948 resolved properly. Aliases to objects like Processors, Thermal zones,
4949 etc.
4950 were resolved to the actual object instead of a reference to the object
4951 as
4952 it
4953 should be. Package objects are only allowed to contain integer, string,
4954 buffer, package, and reference objects. Redhat bugzilla 608648.
4955
4956 Example Code and Data Size: These are the sizes for the OS-independent
4957 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4958 debug version of the code includes the debug output trace mechanism and
4959 has a
4960 much larger code and data size.
4961
4962 Previous Release:
4963 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
4964 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
4965 Current Release:
4966 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
4967 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
4968
4969 2) iASL Compiler/Disassembler and Tools:
4970
4971 iASL: Implemented a new compiler subsystem to allow definition and
4972 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
4973 These
4974 are called "ACPI Data Tables", and the new compiler is the "Data Table
4975 Compiler". This compiler is intended to simplify the existing error-prone
4976 process of creating these tables for the BIOS, as well as allowing the
4977 disassembly, modification, recompilation, and override of existing ACPI
4978 data
4979 tables. See the iASL User Guide for detailed information.
4980
4981 iASL: Implemented a new Template Generator option in support of the new
4982 Data
4983 Table Compiler. This option will create examples of all known ACPI tables
4984 that can be used as the basis for table development. See the iASL
4985 documentation and the -T option.
4986
4987 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
4988 Descriptor Table).
4989
4990 Updated the Linux makefiles for iASL and AcpiExec to place the generated
4991 object files in the local directory so that there can be no collisions
4992 between the shared files between them that are generated with different
4993 options.
4994
4995 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
4996 Use
4997 the #define __APPLE__ to enable this support.
4998
4999 ----------------------------------------
5000 28 May 2010. Summary of changes for version 20100528:
5001
5002 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
5003 available at www.acpi.info. This is primarily an errata release.
5004
5005 1) ACPI CA Core Subsystem:
5006
5007 Undefined ACPI tables: We are looking for the definitions for the
5008 following
5009 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
5010
5011 Implemented support to enable multi-byte transfers for Embedded
5012 Controller
5013 (EC) operation regions. Previously, the maximum data size passed to the
5014 EC
5015 operation region handler was a single byte. There are often EC Fields
5016 larger
5017 than one byte that need to be transferred, and it is useful for the EC
5018 driver
5019 to lock these as a single transaction. This change enables single
5020 transfers
5021 larger than 8 bits. This effectively changes the access to the EC space
5022 from
5023 ByteAcc to AnyAcc, and will probably require changes to the host OS
5024 Embedded
5025 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
5026 bit
5027 transfers. Alexey Starikovskiy, Lin Ming
5028
5029 Implemented a performance enhancement for namespace search and access.
5030 This
5031 change enhances the performance of namespace searches and walks by adding
5032 a
5033 backpointer to the parent in each namespace node. On large namespaces,
5034 this
5035 change can improve overall ACPI performance by up to 9X. Adding a pointer
5036 to
5037 each namespace node increases the overall size of the internal namespace
5038 by
5039 about 5%, since each namespace entry usually consists of both a namespace
5040 node and an ACPI operand object. However, this is the first growth of the
5041 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
5042
5043 Implemented a performance optimization that reduces the number of
5044 namespace
5045 walks. On control method exit, only walk the namespace if the method is
5046 known
5047 to have created namespace objects outside of its local scope. Previously,
5048 the
5049 entire namespace was traversed on each control method exit. This change
5050 can
5051 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
5052 Moore.
5053
5054 Added support to truncate I/O addresses to 16 bits for Windows
5055 compatibility.
5056 Some ASL code has been seen in the field that inadvertently has bits set
5057 above bit 15. This feature is optional and is enabled if the BIOS
5058 requests
5059 any Windows OSI strings. It can also be enabled by the host OS. Matthew
5060 Garrett, Bob Moore.
5061
5062 Added support to limit the maximum time for the ASL Sleep() operator. To
5063 prevent accidental deep sleeps, limit the maximum time that Sleep() will
5064 actually sleep. Configurable, the default maximum is two seconds. ACPICA
5065 bugzilla 854.
5066
5067 Added run-time validation support for the _WDG and_WED Microsoft
5068 predefined
5069 methods. These objects are defined by "Windows Instrumentation", and are
5070 not
5071 part of the ACPI spec. ACPICA BZ 860.
5072
5073 Expanded all statistic counters used during namespace and device
5074 initialization from 16 to 32 bits in order to support very large
5075 namespaces.
5076
5077 Replaced all instances of %d in printf format specifiers with %u since
5078 nearly
5079 all integers in ACPICA are unsigned.
5080
5081 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
5082 returned
5083 as AE_NO_HANDLER.
5084
5085 Example Code and Data Size: These are the sizes for the OS-independent
5086 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5087 debug version of the code includes the debug output trace mechanism and
5088 has a
5089 much larger code and data size.
5090
5091 Previous Release:
5092 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
5093 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
5094 Current Release:
5095 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5096 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
5097
5098 2) iASL Compiler/Disassembler and Tools:
5099
5100 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
5101 methods. These objects are defined by "Windows Instrumentation", and are
5102 not
5103 part of the ACPI spec. ACPICA BZ 860.
5104
5105 AcpiExec: added option to disable the memory tracking mechanism. The -dt
5106 option will disable the tracking mechanism, which improves performance
5107 considerably.
5108
5109 AcpiExec: Restructured the command line options into -d (disable) and -e
5110 (enable) options.
5111
5112 ----------------------------------------
5113 28 April 2010. Summary of changes for version 20100428:
5114
5115 1) ACPI CA Core Subsystem:
5116
5117 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
5118 including FADT-based and GPE Block Devices, execute any _PRW methods in
5119 the
5120 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
5121 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
5122 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
5123 Devices. Provides compatibility with other ACPI implementations. Two new
5124 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
5125 Moore.
5126
5127 Fixed a regression introduced in version 20100331 within the table
5128 manager
5129 where initial table loading could fail. This was introduced in the fix
5130 for
5131 AcpiReallocateRootTable. Also, renamed some of fields in the table
5132 manager
5133 data structures to clarify their meaning and use.
5134
5135 Fixed a possible allocation overrun during internal object copy in
5136 AcpiUtCopySimpleObject. The original code did not correctly handle the
5137 case
5138 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
5139 847.
5140
5141 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
5142 possible access beyond end-of-allocation. Also, now fully validate
5143 descriptor
5144 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
5145
5146 Example Code and Data Size: These are the sizes for the OS-independent
5147 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5148 debug version of the code includes the debug output trace mechanism and
5149 has a
5150 much larger code and data size.
5151
5152 Previous Release:
5153 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
5154 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
5155 Current Release:
5156 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
5157 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
5158
5159 2) iASL Compiler/Disassembler and Tools:
5160
5161 iASL: Implemented Min/Max/Len/Gran validation for address resource
5162 descriptors. This change implements validation for the address fields
5163 that
5164 are common to all address-type resource descriptors. These checks are
5165 implemented: Checks for valid Min/Max, length within the Min/Max window,
5166 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
5167 per
5168 table 6-40 in the ACPI 4.0a specification. Also split the large
5169 aslrestype1.c
5170 and aslrestype2.c files into five new files. ACPICA BZ 840.
5171
5172 iASL: Added support for the _Wxx predefined names. This support was
5173 missing
5174 and these names were not recognized by the compiler as valid predefined
5175 names. ACPICA BZ 851.
5176
5177 iASL: Added an error for all predefined names that are defined to return
5178 no
5179 value and thus must be implemented as Control Methods. These include all
5180 of
5181 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
5182 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
5183
5184 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
5185 an
5186 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
5187 be
5188 dynamically loaded via the Load() operator. Also cleaned up output for
5189 the
5190 -
5191 ta and -tc options. ACPICA BZ 853.
5192
5193 Tests: Added a new file with examples of extended iASL error checking.
5194 Demonstrates the advanced error checking ability of the iASL compiler.
5195 Available at tests/misc/badcode.asl.
5196
5197 ----------------------------------------
5198 31 March 2010. Summary of changes for version 20100331:
5199
5200 1) ACPI CA Core Subsystem:
5201
5202 Completed a major update for the GPE support in order to improve support
5203 for
5204 shared GPEs and to simplify both host OS and ACPICA code. Added a
5205 reference
5206 count mechanism to support shared GPEs that require multiple device
5207 drivers.
5208 Several external interfaces have changed. One external interface has been
5209 removed. One new external interface was added. Most of the GPE external
5210 interfaces now use the GPE spinlock instead of the events mutex (and the
5211 Flags parameter for many GPE interfaces has been removed.) See the
5212 updated
5213 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
5214 Rafael
5215 Wysocki. ACPICA BZ 831.
5216
5217 Changed:
5218 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
5219 Removed:
5220 AcpiSetGpeType
5221 New:
5222 AcpiSetGpe
5223
5224 Implemented write support for DataTable operation regions. These regions
5225 are
5226 defined via the DataTableRegion() operator. Previously, only read support
5227 was
5228 implemented. The ACPI specification allows DataTableRegions to be
5229 read/write,
5230 however.
5231
5232 Implemented a new subsystem option to force a copy of the DSDT to local
5233 memory. Optionally copy the entire DSDT to local memory (instead of
5234 simply
5235 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
5236 replace
5237 the original DSDT, creating the need for this option. Default is FALSE,
5238 do
5239 not copy the DSDT.
5240
5241 Implemented detection of a corrupted or replaced DSDT. This change adds
5242 support to detect a DSDT that has been corrupted and/or replaced from
5243 outside
5244 the OS (by firmware). This is typically catastrophic for the system, but
5245 has
5246 been seen on some machines. Once this problem has been detected, the DSDT
5247 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
5248
5249 Fixed two problems with AcpiReallocateRootTable during the root table
5250 copy.
5251 When copying the root table to the new allocation, the length used was
5252 incorrect. The new size was used instead of the current table size,
5253 meaning
5254 too much data was copied. Also, the count of available slots for ACPI
5255 tables
5256 was not set correctly. Alexey Starikovskiy, Bob Moore.
5257
5258 Example Code and Data Size: These are the sizes for the OS-independent
5259 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5260 debug version of the code includes the debug output trace mechanism and
5261 has a
5262 much larger code and data size.
5263
5264 Previous Release:
5265 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
5266 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
5267 Current Release:
5268 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
5269 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
5270
5271 2) iASL Compiler/Disassembler and Tools:
5272
5273 iASL: Implement limited typechecking for values returned from predefined
5274 control methods. The type of any returned static (unnamed) object is now
5275 validated. For example, Return(1). ACPICA BZ 786.
5276
5277 iASL: Fixed a predefined name object verification regression. Fixes a
5278 problem
5279 introduced in version 20100304. An error is incorrectly generated if a
5280 predefined name is declared as a static named object with a value defined
5281 using the keywords "Zero", "One", or "Ones". Lin Ming.
5282
5283 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
5284 by
5285 reducing the requested registry access rights. ACPICA BZ 842.
5286
5287 Disassembler: fixed a possible fault when generating External()
5288 statements.
5289 Introduced in commit ae7d6fd: Properly handle externals with parent-
5290 prefix
5291 (carat). Fixes a string length allocation calculation. Lin Ming.
5292
5293 ----------------------------------------
5294 04 March 2010. Summary of changes for version 20100304:
5295
5296 1) ACPI CA Core Subsystem:
5297
5298 Fixed a possible problem with the AML Mutex handling function
5299 AcpiExReleaseMutex where the function could fault under the very rare
5300 condition when the interpreter has blocked, the interpreter lock is
5301 released,
5302 the interpreter is then reentered via the same thread, and attempts to
5303 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
5304 Lin
5305 Ming.
5306
5307 Implemented additional configuration support for the AML "Debug Object".
5308 Output from the debug object can now be enabled via a global variable,
5309 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
5310 debugging.
5311 This debug output is now available in the release version of ACPICA
5312 instead
5313 of just the debug version. Also, the entire debug output module can now
5314 be
5315 configured out of the ACPICA build if desired. One new file added,
5316 executer/exdebug.c. Lin Ming, Bob Moore.
5317
5318 Added header support for the ACPI MCHI table (Management Controller Host
5319 Interface Table). This table was added in ACPI 4.0, but the defining
5320 document
5321 has only recently become available.
5322
5323 Standardized output of integer values for ACPICA warnings/errors. Always
5324 use
5325 0x prefix for hex output, always use %u for unsigned integer decimal
5326 output.
5327 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
5328 400
5329 invocations.) These invocations were converted from the original
5330 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
5331
5332 Example Code and Data Size: These are the sizes for the OS-independent
5333 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5334 debug version of the code includes the debug output trace mechanism and
5335 has a
5336 much larger code and data size.
5337
5338 Previous Release:
5339 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
5340 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
5341 Current Release:
5342 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
5343 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
5344
5345 2) iASL Compiler/Disassembler and Tools:
5346
5347 iASL: Implemented typechecking support for static (non-control method)
5348 predefined named objects that are declared with the Name() operator. For
5349 example, the type of this object is now validated to be of type Integer:
5350 Name(_BBN, 1). This change migrates the compiler to using the core
5351 predefined
5352 name table instead of maintaining a local version. Added a new file,
5353 aslpredef.c. ACPICA BZ 832.
5354
5355 Disassembler: Added support for the ACPI 4.0 MCHI table.
5356
5357 ----------------------------------------
5358 21 January 2010. Summary of changes for version 20100121:
5359
5360 1) ACPI CA Core Subsystem:
5361
5362 Added the 2010 copyright to all module headers and signons. This affects
5363 virtually every file in the ACPICA core subsystem, the iASL compiler, the
5364 tools/utilities, and the test suites.
5365
5366 Implemented a change to the AcpiGetDevices interface to eliminate
5367 unnecessary
5368 invocations of the _STA method. In the case where a specific _HID is
5369 requested, do not run _STA until a _HID match is found. This eliminates
5370 potentially dozens of _STA calls during a search for a particular
5371 device/HID,
5372 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
5373
5374 Implemented an additional repair for predefined method return values.
5375 Attempt
5376 to repair unexpected NULL elements within returned Package objects.
5377 Create
5378 an
5379 Integer of value zero, a NULL String, or a zero-length Buffer as
5380 appropriate.
5381 ACPICA BZ 818. Lin Ming, Bob Moore.
5382
5383 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
5384 the
5385 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
5386 (with
5387 64-bit AML integers). It is now obsolete and this change removes it from
5388 the
5389 ACPICA code base, replaced by UINT64. The original typedef has been
5390 retained
5391 for now for compatibility with existing device driver code. ACPICA BZ
5392 824.
5393
5394 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
5395 in
5396 the parse tree object.
5397
5398 Added additional warning options for the gcc-4 generation. Updated the
5399 source
5400 accordingly. This includes some code restructuring to eliminate
5401 unreachable
5402 code, elimination of some gotos, elimination of unused return values,
5403 some
5404 additional casting, and removal of redundant declarations.
5405
5406 Example Code and Data Size: These are the sizes for the OS-independent
5407 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5408 debug version of the code includes the debug output trace mechanism and
5409 has a
5410 much larger code and data size.
5411
5412 Previous Release:
5413 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
5414 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
5415 Current Release:
5416 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
5417 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
5418
5419 2) iASL Compiler/Disassembler and Tools:
5420
5421 No functional changes for this release.
5422
5423 ----------------------------------------
5424 14 December 2009. Summary of changes for version 20091214:
5425
5426 1) ACPI CA Core Subsystem:
5427
5428 Enhanced automatic data type conversions for predefined name repairs.
5429 This
5430 change expands the automatic repairs/conversions for predefined name
5431 return
5432 values to make Integers, Strings, and Buffers fully interchangeable.
5433 Also,
5434 a
5435 Buffer can be converted to a Package of Integers if necessary. The
5436 nsrepair.c
5437 module was completely restructured. Lin Ming, Bob Moore.
5438
5439 Implemented automatic removal of null package elements during predefined
5440 name
5441 repairs. This change will automatically remove embedded and trailing NULL
5442 package elements from returned package objects that are defined to
5443 contain
5444 a
5445 variable number of sub-packages. The driver is then presented with a
5446 package
5447 with no null elements to deal with. ACPICA BZ 819.
5448
5449 Implemented a repair for the predefined _FDE and _GTM names. The expected
5450 return value for both names is a Buffer of 5 DWORDs. This repair fixes
5451 two
5452 possible problems (both seen in the field), where a package of integers
5453 is
5454 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
5455 Kim.
5456
5457 Implemented additional module-level code support. This change will
5458 properly
5459 execute module-level code that is not at the root of the namespace (under
5460 a
5461 Device object, etc.). Now executes the code within the current scope
5462 instead
5463 of the root. ACPICA BZ 762. Lin Ming.
5464
5465 Fixed possible mutex acquisition errors when running _REG methods. Fixes
5466 a
5467 problem where mutex errors can occur when running a _REG method that is
5468 in
5469 the same scope as a method-defined operation region or an operation
5470 region
5471 under a module-level IF block. This type of code is rare, so the problem
5472 has
5473 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
5474
5475 Fixed a possible memory leak during module-level code execution. An
5476 object
5477 could be leaked for each block of executed module-level code if the
5478 interpreter slack mode is enabled This change deletes any implicitly
5479 returned
5480 object from the module-level code block. Lin Ming.
5481
5482 Removed messages for successful predefined repair(s). The repair
5483 mechanism
5484 was considered too wordy. Now, messages are only unconditionally emitted
5485 if
5486 the return object cannot be repaired. Existing messages for successful
5487 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
5488 827.
5489
5490 Example Code and Data Size: These are the sizes for the OS-independent
5491 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5492 debug version of the code includes the debug output trace mechanism and
5493 has a
5494 much larger code and data size.
5495
5496 Previous Release:
5497 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
5498 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
5499 Current Release:
5500 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
5501 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
5502
5503 2) iASL Compiler/Disassembler and Tools:
5504
5505 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
5506 files
5507 were no longer automatically removed at the termination of the compile.
5508
5509 acpiexec: Implemented the -f option to specify default region fill value.
5510 This option specifies the value used to initialize buffers that simulate
5511 operation regions. Default value is zero. Useful for debugging problems
5512 that
5513 depend on a specific initial value for a region or field.
5514
5515 ----------------------------------------
5516 12 November 2009. Summary of changes for version 20091112:
5517
5518 1) ACPI CA Core Subsystem:
5519
5520 Implemented a post-order callback to AcpiWalkNamespace. The existing
5521 interface only has a pre-order callback. This change adds an additional
5522 parameter for a post-order callback which will be more useful for bus
5523 scans.
5524 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
5525
5526 Modified the behavior of the operation region memory mapping cache for
5527 SystemMemory. Ensure that the memory mappings created for operation
5528 regions
5529 do not cross 4K page boundaries. Crossing a page boundary while mapping
5530 regions can cause kernel warnings on some hosts if the pages have
5531 different
5532 attributes. Such regions are probably BIOS bugs, and this is the
5533 workaround.
5534 Linux BZ 14445. Lin Ming.
5535
5536 Implemented an automatic repair for predefined methods that must return
5537 sorted lists. This change will repair (by sorting) packages returned by
5538 _ALR,
5539 _PSS, and _TSS. Drivers can now assume that the packages are correctly
5540 sorted
5541 and do not contain NULL package elements. Adds one new file,
5542 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
5543
5544 Fixed a possible fault during predefined name validation if a return
5545 Package
5546 object contains NULL elements. Also adds a warning if a NULL element is
5547 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
5548 may
5549 include repair or removal of all such NULL elements where possible.
5550
5551 Implemented additional module-level executable AML code support. This
5552 change
5553 will execute module-level code that is not at the root of the namespace
5554 (under a Device object, etc.) at table load time. Module-level executable
5555 AML
5556 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
5557
5558 Implemented a new internal function to create Integer objects. This
5559 function
5560 simplifies miscellaneous object creation code. ACPICA BZ 823.
5561
5562 Reduced the severity of predefined repair messages, Warning to Info.
5563 Since
5564 the object was successfully repaired, a warning is too severe. Reduced to
5565 an
5566 info message for now. These messages may eventually be changed to debug-
5567 only.
5568 ACPICA BZ 812.
5569
5570 Example Code and Data Size: These are the sizes for the OS-independent
5571 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5572 debug version of the code includes the debug output trace mechanism and
5573 has a
5574 much larger code and data size.
5575
5576 Previous Release:
5577 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
5578 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
5579 Current Release:
5580 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
5581 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
5582
5583 2) iASL Compiler/Disassembler and Tools:
5584
5585 iASL: Implemented Switch() with While(1) so that Break works correctly.
5586 This
5587 change correctly implements the Switch operator with a surrounding
5588 While(1)
5589 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
5590
5591 iASL: Added a message if a package initializer list is shorter than
5592 package
5593 length. Adds a new remark for a Package() declaration if an initializer
5594 list
5595 exists, but is shorter than the declared length of the package. Although
5596 technically legal, this is probably a coding error and it is seen in the
5597 field. ACPICA BZ 815. Lin Ming, Bob Moore.
5598
5599 iASL: Fixed a problem where the compiler could fault after the maximum
5600 number
5601 of errors was reached (200).
5602
5603 acpixtract: Fixed a possible warning for pointer cast if the compiler
5604 warning
5605 level set very high.
5606
5607 ----------------------------------------
5608 13 October 2009. Summary of changes for version 20091013:
5609
5610 1) ACPI CA Core Subsystem:
5611
5612 Fixed a problem where an Operation Region _REG method could be executed
5613 more
5614 than once. If a custom address space handler is installed by the host
5615 before
5616 the "initialize operation regions" phase of the ACPICA initialization,
5617 any
5618 _REG methods for that address space could be executed twice. This change
5619 fixes the problem. ACPICA BZ 427. Lin Ming.
5620
5621 Fixed a possible memory leak for the Scope() ASL operator. When the exact
5622 invocation of "Scope(\)" is executed (change scope to root), one internal
5623 operand object was leaked. Lin Ming.
5624
5625 Implemented a run-time repair for the _MAT predefined method. If the _MAT
5626 return value is defined as a Field object in the AML, and the field
5627 size is less than or equal to the default width of an integer (32 or
5628 64),_MAT
5629 can incorrectly return an Integer instead of a Buffer. ACPICA now
5630 automatically repairs this problem. ACPICA BZ 810.
5631
5632 Implemented a run-time repair for the _BIF and _BIX predefined methods.
5633 The
5634 "OEM Information" field is often incorrectly returned as an Integer with
5635 value zero if the field is not supported by the platform. This is due to
5636 an
5637 ambiguity in the ACPI specification. The field should always be a string.
5638 ACPICA now automatically repairs this problem by returning a NULL string
5639 within the returned Package. ACPICA BZ 807.
5640
5641 Example Code and Data Size: These are the sizes for the OS-independent
5642 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5643 debug version of the code includes the debug output trace mechanism and
5644 has a
5645 much larger code and data size.
5646
5647 Previous Release:
5648 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
5649 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
5650 Current Release:
5651 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
5652 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
5653
5654 2) iASL Compiler/Disassembler and Tools:
5655
5656 Disassembler: Fixed a problem where references to external symbols that
5657 contained one or more parent-prefixes (carats) were not handled
5658 correctly,
5659 possibly causing a fault. ACPICA BZ 806. Lin Ming.
5660
5661 Disassembler: Restructured the code so that all functions that handle
5662 external symbols are in a single module. One new file is added,
5663 common/dmextern.c.
5664
5665 AML Debugger: Added a max count argument for the Batch command (which
5666 executes multiple predefined methods within the namespace.)
5667
5668 iASL: Updated the compiler documentation (User Reference.) Available at
5669 http://www.acpica.org/documentation/. ACPICA BZ 750.
5670
5671 AcpiXtract: Updated for Lint and other formatting changes. Close all open
5672 files.
5673
5674 ----------------------------------------
5675 03 September 2009. Summary of changes for version 20090903:
5676
5677 1) ACPI CA Core Subsystem:
5678
5679 For Windows Vista compatibility, added the automatic execution of an _INI
5680 method located at the namespace root (\_INI). This method is executed at
5681 table load time. This support is in addition to the automatic execution
5682 of
5683 \_SB._INI. Lin Ming.
5684
5685 Fixed a possible memory leak in the interpreter for AML package objects
5686 if
5687 the package initializer list is longer than the defined size of the
5688 package.
5689 This apparently can only happen if the BIOS changes the package size on
5690 the
5691 fly (seen in a _PSS object), as ASL compilers do not allow this. The
5692 interpreter will truncate the package to the defined size (and issue an
5693 error
5694 message), but previously could leave the extra objects undeleted if they
5695 were
5696 pre-created during the argument processing (such is the case if the
5697 package
5698 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
5699
5700 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
5701 This has been reported in the field. Previously, ACPICA would zero out
5702 the
5703 buffer/string. Now, the operation is treated as a noop. Provides Windows
5704 compatibility. ACPICA BZ 803. Lin Ming.
5705
5706 Removed an extraneous error message for ASL constructs of the form
5707 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
5708 statements
5709 are seen in many BIOSs and are once again treated as NOOPs and no error
5710 is
5711 emitted when they are encountered. ACPICA BZ 785.
5712
5713 Fixed an extraneous warning message if a _DSM reserved method returns a
5714 Package object. _DSM can return any type of object, so validation on the
5715 return type cannot be performed. ACPICA BZ 802.
5716
5717 Example Code and Data Size: These are the sizes for the OS-independent
5718 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5719 debug version of the code includes the debug output trace mechanism and
5720 has a
5721 much larger code and data size.
5722
5723 Previous Release:
5724 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
5725 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
5726 Current Release:
5727 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
5728 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
5729
5730 2) iASL Compiler/Disassembler and Tools:
5731
5732 iASL: Fixed a problem with the use of the Alias operator and Resource
5733 Templates. The correct alias is now constructed and no error is emitted.
5734 ACPICA BZ 738.
5735
5736 iASL: Implemented the -I option to specify additional search directories
5737 for
5738 include files. Allows multiple additional search paths for include files.
5739 Directories are searched in the order specified on the command line
5740 (after
5741 the local directory is searched.) ACPICA BZ 800.
5742
5743 iASL: Fixed a problem where the full pathname for include files was not
5744 emitted for warnings/errors. This caused the IDE support to not work
5745 properly. ACPICA BZ 765.
5746
5747 iASL: Implemented the -@ option to specify a Windows-style response file
5748 containing additional command line options. ACPICA BZ 801.
5749
5750 AcpiExec: Added support to load multiple AML files simultaneously (such
5751 as
5752 a
5753 DSDT and multiple SSDTs). Also added support for wildcards within the AML
5754 pathname. These features allow all machine tables to be easily loaded and
5755 debugged together. ACPICA BZ 804.
5756
5757 Disassembler: Added missing support for disassembly of HEST table Error
5758 Bank
5759 subtables.
5760
5761 ----------------------------------------
5762 30 July 2009. Summary of changes for version 20090730:
5763
5764 The ACPI 4.0 implementation for ACPICA is complete with this release.
5765
5766 1) ACPI CA Core Subsystem:
5767
5768 ACPI 4.0: Added header file support for all new and changed ACPI tables.
5769 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
5770 new
5771 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
5772 BERT,
5773 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
5774 There
5775 have been some ACPI 4.0 changes to other existing tables. Split the large
5776 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
5777
5778 ACPI 4.0: Implemented predefined name validation for all new names. There
5779 are
5780 31 new names in ACPI 4.0. The predefined validation module was split into
5781 two
5782 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
5783
5784 Implemented support for so-called "module-level executable code". This is
5785 executable AML code that exists outside of any control method and is
5786 intended
5787 to be executed at table load time. Although illegal since ACPI 2.0, this
5788 type
5789 of code still exists and is apparently still being created. Blocks of
5790 this
5791 code are now detected and executed as intended. Currently, the code
5792 blocks
5793 must exist under either an If, Else, or While construct; these are the
5794 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
5795
5796 Implemented an automatic dynamic repair for predefined names that return
5797 nested Package objects. This applies to predefined names that are defined
5798 to
5799 return a variable-length Package of sub-packages. If the number of sub-
5800 packages is one, BIOS code is occasionally seen that creates a simple
5801 single
5802 package with no sub-packages. This code attempts to fix the problem by
5803 wrapping a new package object around the existing package. These methods
5804 can
5805 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
5806 BZ
5807 790.
5808
5809 Fixed a regression introduced in 20090625 for the AcpiGetDevices
5810 interface.
5811 The _HID/_CID matching was broken and no longer matched IDs correctly.
5812 ACPICA
5813 BZ 793.
5814
5815 Fixed a problem with AcpiReset where the reset would silently fail if the
5816 register was one of the protected I/O ports. AcpiReset now bypasses the
5817 port
5818 validation mechanism. This may eventually be driven into the
5819 AcpiRead/Write
5820 interfaces.
5821
5822 Fixed a regression related to the recent update of the AcpiRead/Write
5823 interfaces. A sleep/suspend could fail if the optional PM2 Control
5824 register
5825 does not exist during an attempt to write the Bus Master Arbitration bit.
5826 (However, some hosts already delete the code that writes this bit, and
5827 the
5828 code may in fact be obsolete at this date.) ACPICA BZ 799.
5829
5830 Fixed a problem where AcpiTerminate could fault if inadvertently called
5831 twice
5832 in succession. ACPICA BZ 795.
5833
5834 Example Code and Data Size: These are the sizes for the OS-independent
5835 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5836 debug version of the code includes the debug output trace mechanism and
5837 has a
5838 much larger code and data size.
5839
5840 Previous Release:
5841 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
5842 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
5843 Current Release:
5844 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
5845 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
5846
5847 2) iASL Compiler/Disassembler and Tools:
5848
5849 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
5850 changes to existing tables. ACPICA BZ 775.
5851
5852 ----------------------------------------
5853 25 June 2009. Summary of changes for version 20090625:
5854
5855 The ACPI 4.0 Specification was released on June 16 and is available at
5856 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
5857 continue for the next few releases.
5858
5859 1) ACPI CA Core Subsystem:
5860
5861 ACPI 4.0: Implemented interpreter support for the IPMI operation region
5862 address space. Includes support for bi-directional data buffers and an
5863 IPMI
5864 address space handler (to be installed by an IPMI device driver.) ACPICA
5865 BZ
5866 773. Lin Ming.
5867
5868 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
5869 Includes
5870 support in both the header files and the disassembler.
5871
5872 Completed a major update for the AcpiGetObjectInfo external interface.
5873 Changes include:
5874 - Support for variable, unlimited length HID, UID, and CID strings.
5875 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
5876 etc.)
5877 - Call the _SxW power methods on behalf of a device object.
5878 - Determine if a device is a PCI root bridge.
5879 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
5880 These changes will require an update to all callers of this interface.
5881 See
5882 the updated ACPICA Programmer Reference for details. One new source file
5883 has
5884 been added - utilities/utids.c. ACPICA BZ 368, 780.
5885
5886 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
5887 transfers. The Value parameter has been extended from 32 bits to 64 bits
5888 in
5889 order to support new ACPI 4.0 tables. These changes will require an
5890 update
5891 to
5892 all callers of these interfaces. See the ACPICA Programmer Reference for
5893 details. ACPICA BZ 768.
5894
5895 Fixed several problems with AcpiAttachData. The handler was not invoked
5896 when
5897 the host node was deleted. The data sub-object was not automatically
5898 deleted
5899 when the host node was deleted. The interface to the handler had an
5900 unused
5901 parameter, this was removed. ACPICA BZ 778.
5902
5903 Enhanced the function that dumps ACPI table headers. All non-printable
5904 characters in the string fields are now replaced with '?' (Signature,
5905 OemId,
5906 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
5907 these fields are occasionally seen in the field. ACPICA BZ 788.
5908
5909 Fixed a problem with predefined method repair code where the code that
5910 attempts to repair/convert an object of incorrect type is only executed
5911 on
5912 the first time the predefined method is called. The mechanism that
5913 disables
5914 warnings on subsequent calls was interfering with the repair mechanism.
5915 ACPICA BZ 781.
5916
5917 Fixed a possible memory leak in the predefined validation/repair code
5918 when
5919 a
5920 buffer is automatically converted to an expected string object.
5921
5922 Removed obsolete 16-bit files from the distribution and from the current
5923 git
5924 tree head. ACPICA BZ 776.
5925
5926 Example Code and Data Size: These are the sizes for the OS-independent
5927 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5928 debug version of the code includes the debug output trace mechanism and
5929 has a
5930 much larger code and data size.
5931
5932 Previous Release:
5933 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
5934 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
5935 Current Release:
5936 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
5937 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
5938
5939 2) iASL Compiler/Disassembler and Tools:
5940
5941 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
5942 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
5943
5944 ACPI 4.0: iASL - implemented compile-time validation support for all new
5945 predefined names and control methods (31 total). ACPICA BZ 769.
5946
5947 ----------------------------------------
5948 21 May 2009. Summary of changes for version 20090521:
5949
5950 1) ACPI CA Core Subsystem:
5951
5952 Disabled the preservation of the SCI enable bit in the PM1 control
5953 register.
5954 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
5955 to
5956 be
5957 a "preserved" bit - "OSPM always preserves this bit position", section
5958 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
5959 because the bit needs to be explicitly set by the OS as a workaround. No
5960 machines fail if the bit is not preserved. Therefore, ACPICA no longer
5961 attempts to preserve this bit.
5962
5963 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
5964 incorrectly formed _PRT package could cause a fault. Added validation to
5965 ensure that each package element is actually a sub-package.
5966
5967 Implemented a new interface to install or override a single control
5968 method,
5969 AcpiInstallMethod. This interface is useful when debugging in order to
5970 repair
5971 an existing method or to install a missing method without having to
5972 override
5973 the entire ACPI table. See the ACPICA Programmer Reference for use and
5974 examples. Lin Ming, Bob Moore.
5975
5976 Fixed several reference count issues with the DdbHandle object that is
5977 created from a Load or LoadTable operator. Prevent premature deletion of
5978 the
5979 object. Also, mark the object as invalid once the table has been
5980 unloaded.
5981 This is needed because the handle itself may not be deleted after the
5982 table
5983 unload, depending on whether it has been stored in a named object by the
5984 caller. Lin Ming.
5985
5986 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
5987 mutexes of the same sync level are acquired but then not released in
5988 strict
5989 opposite order, the internally maintained Current Sync Level becomes
5990 confused
5991 and can cause subsequent execution errors. ACPICA BZ 471.
5992
5993 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
5994 specification has been changed to make the SyncLevel for mutex objects
5995 more
5996 useful. When releasing a mutex, the SyncLevel of the mutex must now be
5997 the
5998 same as the current sync level. This makes more sense than the previous
5999 rule
6000 (SyncLevel less than or equal). This change updates the code to match the
6001 specification.
6002
6003 Fixed a problem with the local version of the AcpiOsPurgeCache function.
6004 The
6005 (local) cache must be locked during all cache object deletions. Andrew
6006 Baumann.
6007
6008 Updated the Load operator to use operation region interfaces. This
6009 replaces
6010 direct memory mapping with region access calls. Now, all region accesses
6011 go
6012 through the installed region handler as they should.
6013
6014 Simplified and optimized the NsGetNextNode function. Reduced parameter
6015 count
6016 and reduced code for this frequently used function.
6017
6018 Example Code and Data Size: These are the sizes for the OS-independent
6019 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6020 debug version of the code includes the debug output trace mechanism and
6021 has a
6022 much larger code and data size.
6023
6024 Previous Release:
6025 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
6026 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
6027 Current Release:
6028 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
6029 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
6030
6031 2) iASL Compiler/Disassembler and Tools:
6032
6033 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
6034 problems
6035 with sub-table disassembly and handling invalid sub-tables. Attempt
6036 recovery
6037 after an invalid sub-table ID.
6038
6039 ----------------------------------------
6040 22 April 2009. Summary of changes for version 20090422:
6041
6042 1) ACPI CA Core Subsystem:
6043
6044 Fixed a compatibility issue with the recently released I/O port
6045 protection
6046 mechanism. For windows compatibility, 1) On a port protection violation,
6047 simply ignore the request and do not return an exception (allow the
6048 control
6049 method to continue execution.) 2) If only part of the request overlaps a
6050 protected port, read/write the individual ports that are not protected.
6051 Linux
6052 BZ 13036. Lin Ming
6053
6054 Enhanced the execution of the ASL/AML BreakPoint operator so that it
6055 actually
6056 breaks into the AML debugger if the debugger is present. This matches the
6057 ACPI-defined behavior.
6058
6059 Fixed several possible warnings related to the use of the configurable
6060 ACPI_THREAD_ID. This type can now be configured as either an integer or a
6061 pointer with no warnings. Also fixes several warnings in printf-like
6062 statements for the 64-bit build when the type is configured as a pointer.
6063 ACPICA BZ 766, 767.
6064
6065 Fixed a number of possible warnings when compiling with gcc 4+ (depending
6066 on
6067 warning options.) Examples include printf formats, aliasing, unused
6068 globals,
6069 missing prototypes, missing switch default statements, use of non-ANSI
6070 library functions, use of non-ANSI constructs. See generate/unix/Makefile
6071 for
6072 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
6073
6074 Example Code and Data Size: These are the sizes for the OS-independent
6075 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6076 debug version of the code includes the debug output trace mechanism and
6077 has a
6078 much larger code and data size.
6079
6080 Previous Release:
6081 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
6082 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
6083 Current Release:
6084 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
6085 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
6086
6087 2) iASL Compiler/Disassembler and Tools:
6088
6089 iASL: Fixed a generation warning from Bison 2.3 and fixed several
6090 warnings
6091 on
6092 the 64-bit build.
6093
6094 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
6095 not
6096 correctly digest Windows/DOS formatted files (with CR/LF).
6097
6098 iASL: Added a new option for "quiet mode" (-va) that produces only the
6099 compilation summary, not individual errors and warnings. Useful for large
6100 batch compilations.
6101
6102 AcpiExec: Implemented a new option (-z) to enable a forced
6103 semaphore/mutex
6104 timeout that can be used to detect hang conditions during execution of
6105 AML
6106 code (includes both internal semaphores and AML-defined mutexes and
6107 events.)
6108
6109 Added new makefiles for the generation of acpica in a generic unix-like
6110 environment. These makefiles are intended to generate the acpica tools
6111 and
6112 utilities from the original acpica git source tree structure.
6113
6114 Test Suites: Updated and cleaned up the documentation files. Updated the
6115 copyrights to 2009, affecting all source files. Use the new version of
6116 iASL
6117 with quiet mode. Increased the number of available semaphores in the
6118 Windows
6119 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
6120 added
6121 an alternate implementation of the semaphore timeout to allow aslts to
6122 execute fully on Cygwin.
6123
6124 ----------------------------------------
6125 20 March 2009. Summary of changes for version 20090320:
6126
6127 1) ACPI CA Core Subsystem:
6128
6129 Fixed a possible race condition between AcpiWalkNamespace and dynamic
6130 table
6131 unloads. Added a reader/writer locking mechanism to allow multiple
6132 concurrent
6133 namespace walks (readers), but block a dynamic table unload until it can
6134 gain
6135 exclusive write access to the namespace. This fixes a problem where a
6136 table
6137 unload could (possibly catastrophically) delete the portion of the
6138 namespace
6139 that is currently being examined by a walk. Adds a new file, utlock.c,
6140 that
6141 implements the reader/writer lock mechanism. ACPICA BZ 749.
6142
6143 Fixed a regression introduced in version 20090220 where a change to the
6144 FADT
6145 handling could cause the ACPICA subsystem to access non-existent I/O
6146 ports.
6147
6148 Modified the handling of FADT register and table (FACS/DSDT) addresses.
6149 The
6150 FADT can contain both 32-bit and 64-bit versions of these addresses.
6151 Previously, the 64-bit versions were favored, meaning that if both 32 and
6152 64
6153 versions were valid, but not equal, the 64-bit version was used. This was
6154 found to cause some machines to fail. Now, in this case, the 32-bit
6155 version
6156 is used instead. This now matches the Windows behavior.
6157
6158 Implemented a new mechanism to protect certain I/O ports. Provides
6159 Microsoft
6160 compatibility and protects the standard PC I/O ports from access via AML
6161 code. Adds a new file, hwvalid.c
6162
6163 Fixed a possible extraneous warning message from the FADT support. The
6164 message warns of a 32/64 length mismatch between the legacy and GAS
6165 definitions for a register.
6166
6167 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
6168 is
6169 made obsolete by the port protection mechanism above. It was previously
6170 used
6171 to validate the entire address range of an operation region, which could
6172 be
6173 incorrect if the range included illegal ports, but fields within the
6174 operation region did not actually access those ports. Validation is now
6175 performed on a per-field basis instead of the entire region.
6176
6177 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
6178 Ignored bits must be "preserved" according to the ACPI spec. Usually,
6179 this
6180 means a read/modify/write when writing to the register. However, for
6181 status
6182 registers, writing a one means clear the event. Writing a zero means
6183 preserve
6184 the event (do not clear.) This behavior is clarified in the ACPI 4.0
6185 spec,
6186 and the ACPICA code now simply always writes a zero to the ignored bit.
6187
6188 Modified the handling of ignored bits for the PM1 A/B Control Registers.
6189 As
6190 per the ACPI specification, for the control registers, preserve
6191 (read/modify/write) all bits that are defined as either reserved or
6192 ignored.
6193
6194 Updated the handling of write-only bits in the PM1 A/B Control Registers.
6195 When reading the register, zero the write-only bits as per the ACPI spec.
6196 ACPICA BZ 443. Lin Ming.
6197
6198 Removed "Linux" from the list of supported _OSI strings. Linux no longer
6199 wants to reply true to this request. The Windows strings are the only
6200 paths
6201 through the AML that are tested and known to work properly.
6202
6203 Previous Release:
6204 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
6205 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
6206 Current Release:
6207 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
6208 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
6209
6210 2) iASL Compiler/Disassembler and Tools:
6211
6212 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
6213 and
6214 aetables.c
6215
6216 ----------------------------------------
6217 20 February 2009. Summary of changes for version 20090220:
6218
6219 1) ACPI CA Core Subsystem:
6220
6221 Optimized the ACPI register locking. Removed locking for reads from the
6222 ACPI
6223 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
6224 is
6225 not required when reading the single-bit registers. The
6226 AcpiGetRegisterUnlocked function is no longer needed and has been
6227 removed.
6228 This will improve performance for reads on these registers. ACPICA BZ
6229 760.
6230
6231 Fixed the parameter validation for AcpiRead/Write. Now return
6232 AE_BAD_PARAMETER if the input register pointer is null, and
6233 AE_BAD_ADDRESS
6234 if
6235 the register has an address of zero. Previously, these cases simply
6236 returned
6237 AE_OK. For optional registers such as PM1B status/enable/control, the
6238 caller
6239 should check for a valid register address before calling. ACPICA BZ 748.
6240
6241 Renamed the external ACPI bit register access functions. Renamed
6242 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
6243 functions. The new names are AcpiReadBitRegister and
6244 AcpiWriteBitRegister.
6245 Also, restructured the code for these functions by simplifying the code
6246 path
6247 and condensing duplicate code to reduce code size.
6248
6249 Added new functions to transparently handle the possibly split PM1 A/B
6250 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
6251 functions
6252 now handle the split registers for PM1 Status, Enable, and Control.
6253 ACPICA
6254 BZ
6255 746.
6256
6257 Added a function to handle the PM1 control registers,
6258 AcpiHwWritePm1Control.
6259 This function writes both of the PM1 control registers (A/B). These
6260 registers
6261 are different than the PM1 A/B status and enable registers in that
6262 different
6263 values can be written to the A/B registers. Most notably, the SLP_TYP
6264 bits
6265 can be different, as per the values returned from the _Sx predefined
6266 methods.
6267
6268 Removed an extra register write within AcpiHwClearAcpiStatus. This
6269 function
6270 was writing an optional PM1B status register twice. The existing call to
6271 the
6272 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
6273 A/B
6274 register. ACPICA BZ 751.
6275
6276 Split out the PM1 Status registers from the FADT. Added new globals for
6277 these
6278 registers (A/B), similar to the way the PM1 Enable registers are handled.
6279 Instead of overloading the FADT Event Register blocks. This makes the
6280 code
6281 clearer and less prone to error.
6282
6283 Fixed the warning message for when the platform contains too many ACPI
6284 tables
6285 for the default size of the global root table data structure. The
6286 calculation
6287 for the truncation value was incorrect.
6288
6289 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
6290 obsolete macro, since it is now a simple reference to ->common.type.
6291 There
6292 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
6293
6294 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
6295 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
6296 simply SLEEP_TYPE. ACPICA BZ 754.
6297
6298 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
6299 function is only needed on 64-bit host operating systems and is thus not
6300 included for 32-bit hosts.
6301
6302 Debug output: print the input and result for invocations of the _OSI
6303 reserved
6304 control method via the ACPI_LV_INFO debug level. Also, reduced some of
6305 the
6306 verbosity of this debug level. Len Brown.
6307
6308 Example Code and Data Size: These are the sizes for the OS-independent
6309 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6310 debug version of the code includes the debug output trace mechanism and
6311 has a
6312 much larger code and data size.
6313
6314 Previous Release:
6315 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
6316 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
6317 Current Release:
6318 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
6319 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
6320
6321 2) iASL Compiler/Disassembler and Tools:
6322
6323 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
6324 various legal performance profiles.
6325
6326 ----------------------------------------
6327 23 January 2009. Summary of changes for version 20090123:
6328
6329 1) ACPI CA Core Subsystem:
6330
6331 Added the 2009 copyright to all module headers and signons. This affects
6332 virtually every file in the ACPICA core subsystem, the iASL compiler, and
6333 the tools/utilities.
6334
6335 Implemented a change to allow the host to override any ACPI table,
6336 including
6337 dynamically loaded tables. Previously, only the DSDT could be replaced by
6338 the
6339 host. With this change, the AcpiOsTableOverride interface is called for
6340 each
6341 table found in the RSDT/XSDT during ACPICA initialization, and also
6342 whenever
6343 a table is dynamically loaded via the AML Load operator.
6344
6345 Updated FADT flag definitions, especially the Boot Architecture flags.
6346
6347 Debugger: For the Find command, automatically pad the input ACPI name
6348 with
6349 underscores if the name is shorter than 4 characters. This enables a
6350 match
6351 with the actual namespace entry which is itself padded with underscores.
6352
6353 Example Code and Data Size: These are the sizes for the OS-independent
6354 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6355 debug version of the code includes the debug output trace mechanism and
6356 has a
6357 much larger code and data size.
6358
6359 Previous Release:
6360 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
6361 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
6362 Current Release:
6363 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
6364 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
6365
6366 2) iASL Compiler/Disassembler and Tools:
6367
6368 Fix build error under Bison-2.4.
6369
6370 Dissasembler: Enhanced FADT support. Added decoding of the Boot
6371 Architecture
6372 flags. Now decode all flags, regardless of the FADT version. Flag output
6373 includes the FADT version which first defined each flag.
6374
6375 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
6376 and
6377 DSDT). Windows only.
6378
6379 ----------------------------------------
6380 04 December 2008. Summary of changes for version 20081204:
6381
6382 1) ACPI CA Core Subsystem:
6383
6384 The ACPICA Programmer Reference has been completely updated and revamped
6385 for
6386 this release. This includes updates to the external interfaces, OSL
6387 interfaces, the overview sections, and the debugger reference.
6388
6389 Several new ACPICA interfaces have been implemented and documented in the
6390 programmer reference:
6391 AcpiReset - Writes the reset value to the FADT-defined reset register.
6392 AcpiDisableAllGpes - Disable all available GPEs.
6393 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
6394 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
6395 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
6396 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
6397 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
6398
6399 Most of the public ACPI hardware-related interfaces have been moved to a
6400 new
6401 file, components/hardware/hwxface.c
6402
6403 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
6404 register lengths within the FADT are now used, and the low level ACPI
6405 register access no longer hardcodes the ACPI register lengths. Given that
6406 there may be some risk in actually trusting the FADT register lengths, a
6407 run-
6408 time option was added to fall back to the default hardcoded lengths if
6409 the
6410 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
6411 option is set to true for now, and a warning is issued if a suspicious
6412 FADT
6413 register length is overridden with the default value.
6414
6415 Fixed a reference count issue in NsRepairObject. This problem was
6416 introduced
6417 in version 20081031 as part of a fix to repair Buffer objects within
6418 Packages. Lin Ming.
6419
6420 Added semaphore support to the Linux/Unix application OS-services layer
6421 (OSL). ACPICA BZ 448. Lin Ming.
6422
6423 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
6424 will
6425 be implemented in the OSL, or will binary semaphores be used instead.
6426
6427 Example Code and Data Size: These are the sizes for the OS-independent
6428 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6429 debug version of the code includes the debug output trace mechanism and
6430 has a
6431 much larger code and data size.
6432
6433 Previous Release:
6434 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
6435 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
6436 Current Release:
6437 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
6438 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
6439
6440 2) iASL Compiler/Disassembler and Tools:
6441
6442 iASL: Completed the '-e' option to include additional ACPI tables in
6443 order
6444 to
6445 aid with disassembly and External statement generation. ACPICA BZ 742.
6446 Lin
6447 Ming.
6448
6449 iASL: Removed the "named object in while loop" error. The compiler cannot
6450 determine how many times a loop will execute. ACPICA BZ 730.
6451
6452 Disassembler: Implemented support for FADT revision 2 (MS extension).
6453 ACPICA
6454 BZ 743.
6455
6456 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
6457 MCFG).
6458
6459 ----------------------------------------
6460 31 October 2008. Summary of changes for version 20081031:
6461
6462 1) ACPI CA Core Subsystem:
6463
6464 Restructured the ACPICA header files into public/private. acpi.h now
6465 includes
6466 only the "public" acpica headers. All other acpica headers are "private"
6467 and
6468 should not be included by acpica users. One new file, accommon.h is used
6469 to
6470 include the commonly used private headers for acpica code generation.
6471 Future
6472 plans include moving all private headers to a new subdirectory.
6473
6474 Implemented an automatic Buffer->String return value conversion for
6475 predefined ACPI methods. For these methods (such as _BIF), added
6476 automatic
6477 conversion for return objects that are required to be a String, but a
6478 Buffer
6479 was found instead. This can happen when reading string battery data from
6480 an
6481 operation region, because it used to be difficult to convert the data
6482 from
6483 buffer to string from within the ASL. Ensures that the host OS is
6484 provided
6485 with a valid null-terminated string. Linux BZ 11822.
6486
6487 Updated the FACS waking vector interfaces. Split
6488 AcpiSetFirmwareWakingVector
6489 into two: one for the 32-bit vector, another for the 64-bit vector. This
6490 is
6491 required because the host OS must setup the wake much differently for
6492 each
6493 vector (real vs. protected mode, etc.) and the interface itself should
6494 not
6495 be
6496 deciding which vector to use. Also, eliminated the
6497 GetFirmwareWakingVector
6498 interface, as it served no purpose (only the firmware reads the vector,
6499 OS
6500 only writes the vector.) ACPICA BZ 731.
6501
6502 Implemented a mechanism to escape infinite AML While() loops. Added a
6503 loop
6504 counter to force exit from AML While loops if the count becomes too
6505 large.
6506 This can occur in poorly written AML when the hardware does not respond
6507 within a while loop and the loop does not implement a timeout. The
6508 maximum
6509 loop count is configurable. A new exception code is returned when a loop
6510 is
6511 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
6512
6513 Optimized the execution of AML While loops. Previously, a control state
6514 object was allocated and freed for each execution of the loop. The
6515 optimization is to simply reuse the control state for each iteration.
6516 This
6517 speeds up the raw loop execution time by about 5%.
6518
6519 Enhanced the implicit return mechanism. For Windows compatibility, return
6520 an
6521 implicit integer of value zero for methods that contain no executable
6522 code.
6523 Such methods are seen in the field as stubs (presumably), and can cause
6524 drivers to fail if they expect a return value. Lin Ming.
6525
6526 Allow multiple backslashes as root prefixes in namepaths. In a fully
6527 qualified namepath, allow multiple backslash prefixes. This can happen
6528 (and
6529 is seen in the field) because of the use of a double-backslash in strings
6530 (since backslash is the escape character) causing confusion. ACPICA BZ
6531 739
6532 Lin Ming.
6533
6534 Emit a warning if two different FACS or DSDT tables are discovered in the
6535 FADT. Checks if there are two valid but different addresses for the FACS
6536 and
6537 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
6538
6539 Consolidated the method argument count validation code. Merged the code
6540 that
6541 validates control method argument counts into the predefined validation
6542 module. Eliminates possible multiple warnings for incorrect argument
6543 counts.
6544
6545 Implemented ACPICA example code. Includes code for ACPICA initialization,
6546 handler installation, and calling a control method. Available at
6547 source/tools/examples.
6548
6549 Added a global pointer for FACS table to simplify internal FACS access.
6550 Use
6551 the global pointer instead of using AcpiGetTableByIndex for each FACS
6552 access.
6553 This simplifies the code for the Global Lock and the Firmware Waking
6554 Vector(s).
6555
6556 Example Code and Data Size: These are the sizes for the OS-independent
6557 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6558 debug version of the code includes the debug output trace mechanism and
6559 has a
6560 much larger code and data size.
6561
6562 Previous Release:
6563 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
6564 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
6565 Current Release:
6566 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
6567 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
6568
6569 2) iASL Compiler/Disassembler and Tools:
6570
6571 iASL: Improved disassembly of external method calls. Added the -e option
6572 to
6573 allow the inclusion of additional ACPI tables to help with the
6574 disassembly
6575 of
6576 method invocations and the generation of external declarations during the
6577 disassembly. Certain external method invocations cannot be disassembled
6578 properly without the actual declaration of the method. Use the -e option
6579 to
6580 include the table where the external method(s) are actually declared.
6581 Most
6582 useful for disassembling SSDTs that make method calls back to the master
6583 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
6584 -d
6585 -e dsdt.aml ssdt1.aml
6586
6587 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
6588 problem where the use of an alias within a namepath would result in a not
6589 found error or cause the compiler to fault. Also now allows forward
6590 references from the Alias operator itself. ACPICA BZ 738.
6591
6592 ----------------------------------------
6593 26 September 2008. Summary of changes for version 20080926:
6594
6595 1) ACPI CA Core Subsystem:
6596
6597 Designed and implemented a mechanism to validate predefined ACPI methods
6598 and
6599 objects. This code validates the predefined ACPI objects (objects whose
6600 names
6601 start with underscore) that appear in the namespace, at the time they are
6602 evaluated. The argument count and the type of the returned object are
6603 validated against the ACPI specification. The purpose of this validation
6604 is
6605 to detect problems with the BIOS-implemented predefined ACPI objects
6606 before
6607 the results are returned to the ACPI-related drivers. Future enhancements
6608 may
6609 include actual repair of incorrect return objects where possible. Two new
6610 files are nspredef.c and acpredef.h.
6611
6612 Fixed a fault in the AML parser if a memory allocation fails during the
6613 Op
6614 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
6615
6616 Fixed an issue with implicit return compatibility. This change improves
6617 the
6618 implicit return mechanism to be more compatible with the MS interpreter.
6619 Lin
6620 Ming, ACPICA BZ 349.
6621
6622 Implemented support for zero-length buffer-to-string conversions. Allow
6623 zero
6624 length strings during interpreter buffer-to-string conversions. For
6625 example,
6626 during the ToDecimalString and ToHexString operators, as well as implicit
6627 conversions. Fiodor Suietov, ACPICA BZ 585.
6628
6629 Fixed two possible memory leaks in the error exit paths of
6630 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
6631 are
6632 similar in that they use a stack of state objects in order to eliminate
6633 recursion. The stack must be fully unwound and deallocated if an error
6634 occurs. Lin Ming. ACPICA BZ 383.
6635
6636 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
6637 global
6638 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
6639 Moore ACPICA BZ 442.
6640
6641 Removed the obsolete version number in module headers. Removed the
6642 "$Revision" number that appeared in each module header. This version
6643 number
6644 was useful under SourceSafe and CVS, but has no meaning under git. It is
6645 not
6646 only incorrect, it could also be misleading.
6647
6648 Example Code and Data Size: These are the sizes for the OS-independent
6649 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6650 debug version of the code includes the debug output trace mechanism and
6651 has a
6652 much larger code and data size.
6653
6654 Previous Release:
6655 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6656 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
6657 Current Release:
6658 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
6659 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
6660
6661 ----------------------------------------
6662 29 August 2008. Summary of changes for version 20080829:
6663
6664 1) ACPI CA Core Subsystem:
6665
6666 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
6667 Reference. Changes include the elimination of cheating on the Object
6668 field
6669 for the DdbHandle subtype, addition of a reference class field to
6670 differentiate the various reference types (instead of an AML opcode), and
6671 the
6672 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
6673
6674 Reduce an error to a warning for an incorrect method argument count.
6675 Previously aborted with an error if too few arguments were passed to a
6676 control method via the external ACPICA interface. Now issue a warning
6677 instead
6678 and continue. Handles the case where the method inadvertently declares
6679 too
6680 many arguments, but does not actually use the extra ones. Applies mainly
6681 to
6682 the predefined methods. Lin Ming. Linux BZ 11032.
6683
6684 Disallow the evaluation of named object types with no intrinsic value.
6685 Return
6686 AE_TYPE for objects that have no value and therefore evaluation is
6687 undefined:
6688 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
6689 of
6690 these types were allowed, but an exception would be generated at some
6691 point
6692 during the evaluation. Now, the error is generated up front.
6693
6694 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
6695 (nsnames.c). Fixes a leak in the error exit path.
6696
6697 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
6698 debug
6699 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
6700 ACPI_EXCEPTION
6701 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
6702 ACPI_LV_EVENTS.
6703
6704 Removed obsolete and/or unused exception codes from the acexcep.h header.
6705 There is the possibility that certain device drivers may be affected if
6706 they
6707 use any of these exceptions.
6708
6709 The ACPICA documentation has been added to the public git source tree,
6710 under
6711 acpica/documents. Included are the ACPICA programmer reference, the iASL
6712 compiler reference, and the changes.txt release logfile.
6713
6714 Example Code and Data Size: These are the sizes for the OS-independent
6715 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6716 debug version of the code includes the debug output trace mechanism and
6717 has a
6718 much larger code and data size.
6719
6720 Previous Release:
6721 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6722 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
6723 Current Release:
6724 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6725 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
6726
6727 2) iASL Compiler/Disassembler and Tools:
6728
6729 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
6730 defines _SCP with 3 arguments. Previous versions defined it with only 1
6731 argument. iASL now allows both definitions.
6732
6733 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
6734 zero-
6735 length subtables when disassembling ACPI tables. Also fixed a couple of
6736 errors where a full 16-bit table type field was not extracted from the
6737 input
6738 properly.
6739
6740 acpisrc: Improve comment counting mechanism for generating source code
6741 statistics. Count first and last lines of multi-line comments as
6742 whitespace,
6743 not comment lines. Handle Linux legal header in addition to standard
6744 acpica
6745 header.
6746
6747 ----------------------------------------
6748
6749 29 July 2008. Summary of changes for version 20080729:
6750
6751 1) ACPI CA Core Subsystem:
6752
6753 Fix a possible deadlock in the GPE dispatch. Remove call to
6754 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
6755 attempt
6756 to acquire the GPE lock but can deadlock since the GPE lock is already
6757 held
6758 at dispatch time. This code was introduced in version 20060831 as a
6759 response
6760 to Linux BZ 6881 and has since been removed from Linux.
6761
6762 Add a function to dereference returned reference objects. Examines the
6763 return
6764 object from a call to AcpiEvaluateObject. Any Index or RefOf references
6765 are
6766 automatically dereferenced in an attempt to return something useful
6767 (these
6768 reference types cannot be converted into an external ACPI_OBJECT.)
6769 Provides
6770 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
6771
6772 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
6773 subtables for the MADT and one new subtable for the SRAT. Includes
6774 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
6775 x2APIC
6776 Specification, June 2008.
6777
6778 Additional error checking for pathname utilities. Add error check after
6779 all
6780 calls to AcpiNsGetPathnameLength. Add status return from
6781 AcpiNsBuildExternalPath and check after all calls. Add parameter
6782 validation
6783 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
6784
6785 Return status from the global init function AcpiUtGlobalInitialize. This
6786 is
6787 used by both the kernel subsystem and the utilities such as iASL
6788 compiler.
6789 The function could possibly fail when the caches are initialized. Yang
6790 Yi.
6791
6792 Add a function to decode reference object types to strings. Created for
6793 improved error messages.
6794
6795 Improve object conversion error messages. Better error messages during
6796 object
6797 conversion from internal to the external ACPI_OBJECT. Used for external
6798 calls
6799 to AcpiEvaluateObject.
6800
6801 Example Code and Data Size: These are the sizes for the OS-independent
6802 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6803 debug version of the code includes the debug output trace mechanism and
6804 has a
6805 much larger code and data size.
6806
6807 Previous Release:
6808 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
6809 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
6810 Current Release:
6811 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6812 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
6813
6814 2) iASL Compiler/Disassembler and Tools:
6815
6816 Debugger: fix a possible hang when evaluating non-methods. Fixes a
6817 problem
6818 introduced in version 20080701. If the object being evaluated (via
6819 execute
6820 command) is not a method, the debugger can hang while trying to obtain
6821 non-
6822 existent parameters.
6823
6824 iASL: relax error for using reserved "_T_x" identifiers. These names can
6825 appear in a disassembled ASL file if they were emitted by the original
6826 compiler. Instead of issuing an error or warning and forcing the user to
6827 manually change these names, issue a remark instead.
6828
6829 iASL: error if named object created in while loop. Emit an error if any
6830 named
6831 object is created within a While loop. If allowed, this code will
6832 generate
6833 a
6834 run-time error on the second iteration of the loop when an attempt is
6835 made
6836 to
6837 create the same named object twice. ACPICA bugzilla 730.
6838
6839 iASL: Support absolute pathnames for include files. Add support for
6840 absolute
6841 pathnames within the Include operator. previously, only relative
6842 pathnames
6843 were supported.
6844
6845 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
6846 Descriptor.
6847 The ACPI spec requires one interrupt minimum. BZ 423
6848
6849 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
6850 Handles the case for the Interrupt Resource Descriptor where
6851 the ResourceSource argument is omitted but ResourceSourceIndex
6852 is present. Now leave room for the Index. BZ 426
6853
6854 iASL: Prevent error message if CondRefOf target does not exist. Fixes
6855 cases
6856 where an error message is emitted if the target does not exist. BZ 516
6857
6858 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
6859 (get ACPI tables on Windows). This was apparently broken in version
6860 20070919.
6861
6862 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
6863 where
6864 the EOF happens immediately after the last table in the input file. Print
6865 completion message. Previously, no message was displayed in this case.
6866
6867 ----------------------------------------
6868 01 July 2008. Summary of changes for version 20080701:
6869
6870 0) Git source tree / acpica.org
6871
6872 Fixed a problem where a git-clone from http would not transfer the entire
6873 source tree.
6874
6875 1) ACPI CA Core Subsystem:
6876
6877 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
6878 enable bit. Now performs a read-change-write of the enable register
6879 instead
6880 of simply writing out the cached enable mask. This will prevent
6881 inadvertent
6882 enabling of GPEs if a rogue GPE is received during initialization (before
6883 GPE
6884 handlers are installed.)
6885
6886 Implemented a copy for dynamically loaded tables. Previously, dynamically
6887 loaded tables were simply mapped - but on some machines this memory is
6888 corrupted after suspend. Now copy the table to a local buffer. For the
6889 OpRegion case, added checksum verify. Use the table length from the table
6890 header, not the region length. For the Buffer case, use the table length
6891 also. Dennis Noordsij, Bob Moore. BZ 10734
6892
6893 Fixed a problem where the same ACPI table could not be dynamically loaded
6894 and
6895 unloaded more than once. Without this change, a table cannot be loaded
6896 again
6897 once it has been loaded/unloaded one time. The current mechanism does not
6898 unregister a table upon an unload. During a load, if the same table is
6899 found,
6900 this no longer returns an exception. BZ 722
6901
6902 Fixed a problem where the wrong descriptor length was calculated for the
6903 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
6904 EndTag
6905 are calculated as 12 bytes long, but the actual length in the internal
6906 descriptor is 16 because of the round-up to 8 on the 64-bit build.
6907 Reported
6908 by Linn Crosetto. BZ 728
6909
6910 Fixed a possible memory leak in the Unload operator. The DdbHandle
6911 returned
6912 by Load() did not have its reference count decremented during unload,
6913 leading
6914 to a memory leak. Lin Ming. BZ 727
6915
6916 Fixed a possible memory leak when deleting thermal/processor objects. Any
6917 associated notify handlers (and objects) were not being deleted. Fiodor
6918 Suietov. BZ 506
6919
6920 Fixed the ordering of the ASCII names in the global mutex table to match
6921 the
6922 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
6923 only.
6924 Vegard Nossum. BZ 726
6925
6926 Enhanced the AcpiGetObjectInfo interface to return the number of required
6927 arguments if the object is a control method. Added this call to the
6928 debugger
6929 so the proper number of default arguments are passed to a method. This
6930 prevents a warning when executing methods from AcpiExec.
6931
6932 Added a check for an invalid handle in AcpiGetObjectInfo. Return
6933 AE_BAD_PARAMETER if input handle is invalid. BZ 474
6934
6935 Fixed an extraneous warning from exconfig.c on the 64-bit build.
6936
6937 Example Code and Data Size: These are the sizes for the OS-independent
6938 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6939 debug version of the code includes the debug output trace mechanism and
6940 has a
6941 much larger code and data size.
6942
6943 Previous Release:
6944 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
6945 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
6946 Current Release:
6947 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
6948 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
6949
6950 2) iASL Compiler/Disassembler and Tools:
6951
6952 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
6953 resource descriptor names.
6954
6955 iASL: Detect invalid ASCII characters in input (windows version). Removed
6956 the
6957 "-CF" flag from the flex compile, enables correct detection of non-ASCII
6958 characters in the input. BZ 441
6959
6960 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
6961 the
6962 "result of operation not used" warning when the DDB handle returned from
6963 LoadTable is not used. The warning is not needed. BZ 590
6964
6965 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
6966 method
6967 to
6968 pass address of table to the AML. Added option to disable OpRegion
6969 simulation
6970 to allow creation of an OpRegion with a real address that was passed to
6971 _CFG.
6972 All of this allows testing of the Load and Unload operators from
6973 AcpiExec.
6974
6975 Debugger: update tables command for unloaded tables. Handle unloaded
6976 tables
6977 and use the standard table header output routine.
6978
6979 ----------------------------------------
6980 09 June 2008. Summary of changes for version 20080609:
6981
6982 1) ACPI CA Core Subsystem:
6983
6984 Implemented a workaround for reversed _PRT entries. A significant number
6985 of
6986 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
6987 change dynamically detects and repairs this problem. Provides
6988 compatibility
6989 with MS ACPI. BZ 6859
6990
6991 Simplified the internal ACPI hardware interfaces to eliminate the locking
6992 flag parameter from Register Read/Write. Added a new external interface,
6993 AcpiGetRegisterUnlocked.
6994
6995 Fixed a problem where the invocation of a GPE control method could hang.
6996 This
6997 was a regression introduced in 20080514. The new method argument count
6998 validation mechanism can enter an infinite loop when a GPE method is
6999 dispatched. Problem fixed by removing the obsolete code that passed GPE
7000 block
7001 information to the notify handler via the control method parameter
7002 pointer.
7003
7004 Fixed a problem where the _SST execution status was incorrectly returned
7005 to
7006 the caller of AcpiEnterSleepStatePrep. This was a regression introduced
7007 in
7008 20080514. _SST is optional and a NOT_FOUND exception should never be
7009 returned. BZ 716
7010
7011 Fixed a problem where a deleted object could be accessed from within the
7012 AML
7013 parser. This was a regression introduced in version 20080123 as a fix for
7014 the
7015 Unload operator. Lin Ming. BZ 10669
7016
7017 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
7018 operands
7019 and eliminated the use of a negative index in a loop. Operands are now
7020 displayed in the correct order, not backwards. This also fixes a
7021 regression
7022 introduced in 20080514 on 64-bit systems where the elimination of
7023 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
7024 715
7025
7026 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
7027 exit
7028 path did not delete a locally allocated structure.
7029
7030 Updated definitions for the DMAR and SRAT tables to synchronize with the
7031 current specifications. Includes disassembler support.
7032
7033 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
7034 loop termination value was used. Loop terminated on iteration early,
7035 missing
7036 one mutex. Linn Crosetto
7037
7038 Example Code and Data Size: These are the sizes for the OS-independent
7039 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7040 debug version of the code includes the debug output trace mechanism and
7041 has a
7042 much larger code and data size.
7043
7044 Previous Release:
7045 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
7046 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
7047 Current Release:
7048 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
7049 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
7050
7051 2) iASL Compiler/Disassembler and Tools:
7052
7053 Disassembler: Implemented support for EisaId() within _CID objects. Now
7054 disassemble integer _CID objects back to EisaId invocations, including
7055 multiple integers within _CID packages. Includes single-step support for
7056 debugger also.
7057
7058 Disassembler: Added support for DMAR and SRAT table definition changes.
7059
7060 ----------------------------------------
7061 14 May 2008. Summary of changes for version 20080514:
7062
7063 1) ACPI CA Core Subsystem:
7064
7065 Fixed a problem where GPEs were enabled too early during the ACPICA
7066 initialization. This could lead to "handler not installed" errors on some
7067 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
7068 This
7069 ensures that all operation regions and devices throughout the namespace
7070 have
7071 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
7072
7073 Implemented a change to the enter sleep code. Moved execution of the _GTS
7074 method to just before setting sleep enable bit. The execution was moved
7075 from
7076 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
7077 immediately before the SLP_EN bit is set, as per the ACPI specification.
7078 Luming Yu, BZ 1653.
7079
7080 Implemented a fix to disable unknown GPEs (2nd version). Now always
7081 disable
7082 the GPE, even if ACPICA thinks that that it is already disabled. It is
7083 possible that the AML or some other code has enabled the GPE unbeknownst
7084 to
7085 the ACPICA code.
7086
7087 Fixed a problem with the Field operator where zero-length fields would
7088 return
7089 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
7090 ASL
7091 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
7092
7093 Implemented a fix for the Load operator, now load the table at the
7094 namespace
7095 root. This reverts a change introduced in version 20071019. The table is
7096 now
7097 loaded at the namespace root even though this goes against the ACPI
7098 specification. This provides compatibility with other ACPI
7099 implementations.
7100 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
7101 Ming.
7102
7103 Fixed a problem where ACPICA would not Load() tables with unusual
7104 signatures.
7105 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
7106 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
7107 Therefore, signature validation is worthless. Apparently MS ACPI accepts
7108 such
7109 signatures, ACPICA must be compatible. BZ 10454.
7110
7111 Fixed a possible negative array index in AcpiUtValidateException. Added
7112 NULL
7113 fields to the exception string arrays to eliminate a -1 subtraction on
7114 the
7115 SubStatus field.
7116
7117 Updated the debug tracking macros to reduce overall code and data size.
7118 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
7119 instead of pointers to static strings. Jan Beulich and Bob Moore.
7120
7121 Implemented argument count checking in control method invocation via
7122 AcpiEvaluateObject. Now emit an error if too few arguments, warning if
7123 too
7124 many. This applies only to extern programmatic control method execution,
7125 not
7126 method-to-method calls within the AML. Lin Ming.
7127
7128 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
7129 no
7130 longer needed, especially with the removal of 16-bit support. It was
7131 replaced
7132 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
7133 bit
7134 on
7135 32/64-bit platforms is required.
7136
7137 Added the C const qualifier for appropriate string constants -- mostly
7138 MODULE_NAME and printf format strings. Jan Beulich.
7139
7140 Example Code and Data Size: These are the sizes for the OS-independent
7141 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7142 debug version of the code includes the debug output trace mechanism and
7143 has a
7144 much larger code and data size.
7145
7146 Previous Release:
7147 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
7148 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
7149 Current Release:
7150 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
7151 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
7152
7153 2) iASL Compiler/Disassembler and Tools:
7154
7155 Implemented ACPI table revision ID validation in the disassembler. Zero
7156 is
7157 always invalid. For DSDTs, the ID controls the interpreter integer width.
7158 1
7159 means 32-bit and this is unusual. 2 or greater is 64-bit.
7160
7161 ----------------------------------------
7162 21 March 2008. Summary of changes for version 20080321:
7163
7164 1) ACPI CA Core Subsystem:
7165
7166 Implemented an additional change to the GPE support in order to suppress
7167 spurious or stray GPEs. The AcpiEvDisableGpe function will now
7168 permanently
7169 disable incoming GPEs that are neither enabled nor disabled -- meaning
7170 that
7171 the GPE is unknown to the system. This should prevent future interrupt
7172 floods
7173 from that GPE. BZ 6217 (Zhang Rui)
7174
7175 Fixed a problem where NULL package elements were not returned to the
7176 AcpiEvaluateObject interface correctly. The element was simply ignored
7177 instead of returning a NULL ACPI_OBJECT package element, potentially
7178 causing
7179 a buffer overflow and/or confusing the caller who expected a fixed number
7180 of
7181 elements. BZ 10132 (Lin Ming, Bob Moore)
7182
7183 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
7184 Dword,
7185 Qword), Field, BankField, and IndexField operators when invoked from
7186 inside
7187 an executing control method. In this case, these operators created
7188 namespace
7189 nodes that were incorrectly left marked as permanent nodes instead of
7190 temporary nodes. This could cause a problem if there is race condition
7191 between an exiting control method and a running namespace walk. (Reported
7192 by
7193 Linn Crosetto)
7194
7195 Fixed a problem where the CreateField and CreateXXXField operators would
7196 incorrectly allow duplicate names (the name of the field) with no
7197 exception
7198 generated.
7199
7200 Implemented several changes for Notify handling. Added support for new
7201 Notify
7202 values (ACPI 2.0+) and improved the Notify debug output. Notify on
7203 PowerResource objects is no longer allowed, as per the ACPI
7204 specification.
7205 (Bob Moore, Zhang Rui)
7206
7207 All Reference Objects returned via the AcpiEvaluateObject interface are
7208 now
7209 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
7210 for
7211 NULL objects - either NULL package elements or unresolved named
7212 references.
7213
7214 Fixed a problem where an extraneous debug message was produced for
7215 package
7216 objects (when debugging enabled). The message "Package List length larger
7217 than NumElements count" is now produced in the correct case, and is now
7218 an
7219 error message rather than a debug message. Added a debug message for the
7220 opposite case, where NumElements is larger than the Package List (the
7221 package
7222 will be padded out with NULL elements as per the ACPI spec.)
7223
7224 Implemented several improvements for the output of the ASL "Debug" object
7225 to
7226 clarify and keep all data for a given object on one output line.
7227
7228 Fixed two size calculation issues with the variable-length Start
7229 Dependent
7230 resource descriptor.
7231
7232 Example Code and Data Size: These are the sizes for the OS-independent
7233 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7234 debug version of the code includes the debug output trace mechanism and
7235 has
7236 a much larger code and data size.
7237
7238 Previous Release:
7239 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
7240 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
7241 Current Release:
7242 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
7243 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
7244
7245 2) iASL Compiler/Disassembler and Tools:
7246
7247 Fixed a problem with the use of the Switch operator where execution of
7248 the
7249 containing method by multiple concurrent threads could cause an
7250 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
7251 actual Switch opcode, it must be simulated with local named temporary
7252 variables and if/else pairs. The solution chosen was to mark any method
7253 that
7254 uses Switch as Serialized, thus preventing multiple thread entries. BZ
7255 469.
7256
7257 ----------------------------------------
7258 13 February 2008. Summary of changes for version 20080213:
7259
7260 1) ACPI CA Core Subsystem:
7261
7262 Implemented another MS compatibility design change for GPE/Notify
7263 handling.
7264 GPEs are now cleared/enabled asynchronously to allow all pending notifies
7265 to
7266 complete first. It is expected that the OSL will queue the enable request
7267 behind all pending notify requests (may require changes to the local host
7268 OSL
7269 in AcpiOsExecute). Alexey Starikovskiy.
7270
7271 Fixed a problem where buffer and package objects passed as arguments to a
7272 control method via the external AcpiEvaluateObject interface could cause
7273 an
7274 AE_AML_INTERNAL exception depending on the order and type of operators
7275 executed by the target control method.
7276
7277 Fixed a problem where resource descriptor size optimization could cause a
7278 problem when a _CRS resource template is passed to a _SRS method. The
7279 _SRS
7280 resource template must use the same descriptors (with the same size) as
7281 returned from _CRS. This change affects the following resource
7282 descriptors:
7283 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
7284 9487)
7285
7286 Fixed a problem where a CopyObject to RegionField, BankField, and
7287 IndexField
7288 objects did not perform an implicit conversion as it should. These types
7289 must
7290 retain their initial type permanently as per the ACPI specification.
7291 However,
7292 a CopyObject to all other object types should not perform an implicit
7293 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
7294
7295 Fixed a problem with the AcpiGetDevices interface where the mechanism to
7296 match device CIDs did not examine the entire list of available CIDs, but
7297 instead aborted on the first non-matching CID. Andrew Patterson.
7298
7299 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
7300 was
7301 inadvertently changed to return a 16-bit value instead of a 32-bit value,
7302 truncating the upper dword of a 64-bit value. This macro is only used to
7303 display debug output, so no incorrect calculations were made. Also,
7304 reimplemented the macro so that a 64-bit shift is not performed by
7305 inefficient compilers.
7306
7307 Added missing va_end statements that should correspond with each va_start
7308 statement.
7309
7310 Example Code and Data Size: These are the sizes for the OS-independent
7311 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7312 debug version of the code includes the debug output trace mechanism and
7313 has
7314 a much larger code and data size.
7315
7316 Previous Release:
7317 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
7318 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
7319 Current Release:
7320 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
7321 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
7322
7323 2) iASL Compiler/Disassembler and Tools:
7324
7325 Implemented full disassembler support for the following new ACPI tables:
7326 BERT, EINJ, and ERST. Implemented partial disassembler support for the
7327 complicated HEST table. These tables support the Windows Hardware Error
7328 Architecture (WHEA).
7329
7330 ----------------------------------------
7331 23 January 2008. Summary of changes for version 20080123:
7332
7333 1) ACPI CA Core Subsystem:
7334
7335 Added the 2008 copyright to all module headers and signons. This affects
7336 virtually every file in the ACPICA core subsystem, the iASL compiler, and
7337 the tools/utilities.
7338
7339 Fixed a problem with the SizeOf operator when used with Package and
7340 Buffer
7341 objects. These objects have deferred execution for some arguments, and
7342 the
7343 execution is now completed before the SizeOf is executed. This problem
7344 caused
7345 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
7346 BZ
7347 9558
7348
7349 Implemented an enhancement to the interpreter "slack mode". In the
7350 absence
7351 of
7352 an explicit return or an implicitly returned object from the last
7353 executed
7354 opcode, a control method will now implicitly return an integer of value 0
7355 for
7356 Microsoft compatibility. (Lin Ming) BZ 392
7357
7358 Fixed a problem with the Load operator where an exception was not
7359 returned
7360 in
7361 the case where the table is already loaded. (Lin Ming) BZ 463
7362
7363 Implemented support for the use of DDBHandles as an Indexed Reference, as
7364 per
7365 the ACPI spec. (Lin Ming) BZ 486
7366
7367 Implemented support for UserTerm (Method invocation) for the Unload
7368 operator
7369 as per the ACPI spec. (Lin Ming) BZ 580
7370
7371 Fixed a problem with the LoadTable operator where the OemId and
7372 OemTableId
7373 input strings could cause unexpected failures if they were shorter than
7374 the
7375 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
7376
7377 Implemented support for UserTerm (Method invocation) for the Unload
7378 operator
7379 as per the ACPI spec. (Lin Ming) BZ 580
7380
7381 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
7382 HEST,
7383 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
7384
7385 Example Code and Data Size: These are the sizes for the OS-independent
7386 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7387 debug version of the code includes the debug output trace mechanism and
7388 has
7389 a much larger code and data size.
7390
7391 Previous Release:
7392 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
7393 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
7394 Current Release:
7395 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
7396 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
7397
7398 2) iASL Compiler/Disassembler and Tools:
7399
7400 Implemented support in the disassembler for checksum validation on
7401 incoming
7402 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
7403 table
7404 header dump at the start of the disassembly.
7405
7406 Implemented additional debugging information in the namespace listing
7407 file
7408 created during compilation. In addition to the namespace hierarchy, the
7409 full
7410 pathname to each namespace object is displayed.
7411
7412 Fixed a problem with the disassembler where invalid ACPI tables could
7413 cause
7414 faults or infinite loops.
7415
7416 Fixed an unexpected parse error when using the optional "parameter types"
7417 list in a control method declaration. (Lin Ming) BZ 397
7418
7419 Fixed a problem where two External declarations with the same name did
7420 not
7421 cause an error (Lin Ming) BZ 509
7422
7423 Implemented support for full TermArgs (adding Argx, Localx and method
7424 invocation) for the ParameterData parameter to the LoadTable operator.
7425 (Lin
7426 Ming) BZ 583,587
7427
7428 ----------------------------------------
7429 19 December 2007. Summary of changes for version 20071219:
7430
7431 1) ACPI CA Core Subsystem:
7432
7433 Implemented full support for deferred execution for the TermArg string
7434 arguments for DataTableRegion. This enables forward references and full
7435 operand resolution for the three string arguments. Similar to
7436 OperationRegion
7437 deferred argument execution.) Lin Ming. BZ 430
7438
7439 Implemented full argument resolution support for the BankValue argument
7440 to
7441 BankField. Previously, only constants were supported, now any TermArg may
7442 be
7443 used. Lin Ming BZ 387, 393
7444
7445 Fixed a problem with AcpiGetDevices where the search of a branch of the
7446 device tree could be terminated prematurely. In accordance with the ACPI
7447 specification, the search down the current branch is terminated if a
7448 device
7449 is both not present and not functional (instead of just not present.)
7450 Yakui
7451 Zhao.
7452
7453 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
7454 if
7455 the underlying AML code changed the GPE enable registers. Now, any
7456 unknown
7457 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
7458 disabled
7459 instead of simply ignored. Rui Zhang.
7460
7461 Fixed a problem with Index Fields where the Index register was
7462 incorrectly
7463 limited to a maximum of 32 bits. Now any size may be used.
7464
7465 Fixed a couple memory leaks associated with "implicit return" objects
7466 when
7467 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
7468
7469 Example Code and Data Size: These are the sizes for the OS-independent
7470 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7471 debug version of the code includes the debug output trace mechanism and
7472 has
7473 a much larger code and data size.
7474
7475 Previous Release:
7476 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
7477 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
7478 Current Release:
7479 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
7480 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
7481
7482 ----------------------------------------
7483 14 November 2007. Summary of changes for version 20071114:
7484
7485 1) ACPI CA Core Subsystem:
7486
7487 Implemented event counters for each of the Fixed Events, the ACPI SCI
7488 (interrupt) itself, and control methods executed. Named
7489 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
7490 These
7491 should be useful for debugging and statistics.
7492
7493 Implemented a new external interface, AcpiGetStatistics, to retrieve the
7494 contents of the various event counters. Returns the current values for
7495 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
7496 AcpiMethodCount. The interface can be expanded in the future if new
7497 counters
7498 are added. Device drivers should use this interface rather than access
7499 the
7500 counters directly.
7501
7502 Fixed a problem with the FromBCD and ToBCD operators. With some
7503 compilers,
7504 the ShortDivide function worked incorrectly, causing problems with the
7505 BCD
7506 functions with large input values. A truncation from 64-bit to 32-bit
7507 inadvertently occurred. Internal BZ 435. Lin Ming
7508
7509 Fixed a problem with Index references passed as method arguments.
7510 References
7511 passed as arguments to control methods were dereferenced immediately
7512 (before
7513 control was passed to the called method). The references are now
7514 correctly
7515 passed directly to the called method. BZ 5389. Lin Ming
7516
7517 Fixed a problem with CopyObject used in conjunction with the Index
7518 operator.
7519 The reference was incorrectly dereferenced before the copy. The reference
7520 is
7521 now correctly copied. BZ 5391. Lin Ming
7522
7523 Fixed a problem with Control Method references within Package objects.
7524 These
7525 references are now correctly generated. This completes the package
7526 construction overhaul that began in version 20071019.
7527
7528 Example Code and Data Size: These are the sizes for the OS-independent
7529 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7530 debug version of the code includes the debug output trace mechanism and
7531 has
7532 a much larger code and data size.
7533
7534 Previous Release:
7535 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
7536 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
7537 Current Release:
7538 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
7539 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
7540
7541
7542 2) iASL Compiler/Disassembler and Tools:
7543
7544 The AcpiExec utility now installs handlers for all of the predefined
7545 Operation Region types. New types supported are: PCI_Config, CMOS, and
7546 PCIBARTarget.
7547
7548 Fixed a problem with the 64-bit version of AcpiExec where the extended
7549 (64-
7550 bit) address fields for the DSDT and FACS within the FADT were not being
7551 used, causing truncation of the upper 32-bits of these addresses. Lin
7552 Ming
7553 and Bob Moore
7554
7555 ----------------------------------------
7556 19 October 2007. Summary of changes for version 20071019:
7557
7558 1) ACPI CA Core Subsystem:
7559
7560 Fixed a problem with the Alias operator when the target of the alias is a
7561 named ASL operator that opens a new scope -- Scope, Device,
7562 PowerResource,
7563 Processor, and ThermalZone. In these cases, any children of the original
7564 operator could not be accessed via the alias, potentially causing
7565 unexpected
7566 AE_NOT_FOUND exceptions. (BZ 9067)
7567
7568 Fixed a problem with the Package operator where all named references were
7569 created as object references and left otherwise unresolved. According to
7570 the
7571 ACPI specification, a Package can only contain Data Objects or references
7572 to
7573 control methods. The implication is that named references to Data Objects
7574 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
7575 immediately upon package creation. This is the approach taken with this
7576 change. References to all other named objects (Methods, Devices, Scopes,
7577 etc.) are all now properly created as reference objects. (BZ 5328)
7578
7579 Reverted a change to Notify handling that was introduced in version
7580 20070508. This version changed the Notify handling from asynchronous to
7581 fully synchronous (Device driver Notify handling with respect to the
7582 Notify
7583 ASL operator). It was found that this change caused more problems than it
7584 solved and was removed by most users.
7585
7586 Fixed a problem with the Increment and Decrement operators where the type
7587 of
7588 the target object could be unexpectedly and incorrectly changed. (BZ 353)
7589 Lin Ming.
7590
7591 Fixed a problem with the Load and LoadTable operators where the table
7592 location within the namespace was ignored. Instead, the table was always
7593 loaded into the root or current scope. Lin Ming.
7594
7595 Fixed a problem with the Load operator when loading a table from a buffer
7596 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
7597
7598 Fixed a problem with the Debug object where a store of a DdbHandle
7599 reference
7600 object to the Debug object could cause a fault.
7601
7602 Added a table checksum verification for the Load operator, in the case
7603 where
7604 the load is from a buffer. (BZ 578).
7605
7606 Implemented additional parameter validation for the LoadTable operator.
7607 The
7608 length of the input strings SignatureString, OemIdString, and OemTableId
7609 are
7610 now checked for maximum lengths. (BZ 582) Lin Ming.
7611
7612 Example Code and Data Size: These are the sizes for the OS-independent
7613 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7614 debug version of the code includes the debug output trace mechanism and
7615 has
7616 a much larger code and data size.
7617
7618 Previous Release:
7619 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
7620 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
7621 Current Release:
7622 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
7623 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
7624
7625
7626 2) iASL Compiler/Disassembler:
7627
7628 Fixed a problem where if a single file was specified and the file did not
7629 exist, no error message was emitted. (Introduced with wildcard support in
7630 version 20070917.)
7631
7632 ----------------------------------------
7633 19 September 2007. Summary of changes for version 20070919:
7634
7635 1) ACPI CA Core Subsystem:
7636
7637 Designed and implemented new external interfaces to install and remove
7638 handlers for ACPI table-related events. Current events that are defined
7639 are
7640 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
7641 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
7642 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
7643
7644 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
7645 (acpi_serialized option on Linux) could cause some systems to hang during
7646 initialization. (Bob Moore) BZ 8171
7647
7648 Fixed a problem where objects of certain types (Device, ThermalZone,
7649 Processor, PowerResource) can be not found if they are declared and
7650 referenced from within the same control method (Lin Ming) BZ 341
7651
7652 Example Code and Data Size: These are the sizes for the OS-independent
7653 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7654 debug version of the code includes the debug output trace mechanism and
7655 has
7656 a much larger code and data size.
7657
7658 Previous Release:
7659 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
7660 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
7661 Current Release:
7662 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
7663 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
7664
7665
7666 2) iASL Compiler/Disassembler:
7667
7668 Implemented support to allow multiple files to be compiled/disassembled
7669 in
7670 a
7671 single invocation. This includes command line wildcard support for both
7672 the
7673 Windows and Unix versions of the compiler. This feature simplifies the
7674 disassembly and compilation of multiple ACPI tables in a single
7675 directory.
7676
7677 ----------------------------------------
7678 08 May 2007. Summary of changes for version 20070508:
7679
7680 1) ACPI CA Core Subsystem:
7681
7682 Implemented a Microsoft compatibility design change for the handling of
7683 the
7684 Notify AML operator. Previously, notify handlers were dispatched and
7685 executed completely asynchronously in a deferred thread. The new design
7686 still executes the notify handlers in a different thread, but the
7687 original
7688 thread that executed the Notify() now waits at a synchronization point
7689 for
7690 the notify handler to complete. Some machines depend on a synchronous
7691 Notify
7692 operator in order to operate correctly.
7693
7694 Implemented support to allow Package objects to be passed as method
7695 arguments to the external AcpiEvaluateObject interface. Previously, this
7696 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
7697 implemented since there were no reserved control methods that required it
7698 until recently.
7699
7700 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
7701 that
7702 contained invalid non-zero values in reserved fields could cause later
7703 failures because these fields have meaning in later revisions of the
7704 FADT.
7705 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
7706 fields
7707 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
7708
7709 Fixed a problem where the Global Lock handle was not properly updated if
7710 a
7711 thread that acquired the Global Lock via executing AML code then
7712 attempted
7713 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
7714 Joe
7715 Liu.
7716
7717 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
7718 could be corrupted if the interrupt being removed was at the head of the
7719 list. Reported by Linn Crosetto.
7720
7721 Example Code and Data Size: These are the sizes for the OS-independent
7722 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7723 debug version of the code includes the debug output trace mechanism and
7724 has
7725 a much larger code and data size.
7726
7727 Previous Release:
7728 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
7729 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
7730 Current Release:
7731 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
7732 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
7733
7734 ----------------------------------------
7735 20 March 2007. Summary of changes for version 20070320:
7736
7737 1) ACPI CA Core Subsystem:
7738
7739 Implemented a change to the order of interpretation and evaluation of AML
7740 operand objects within the AML interpreter. The interpreter now evaluates
7741 operands in the order that they appear in the AML stream (and the
7742 corresponding ASL code), instead of in the reverse order (after the
7743 entire
7744 operand list has been parsed). The previous behavior caused several
7745 subtle
7746 incompatibilities with the Microsoft AML interpreter as well as being
7747 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
7748
7749 Implemented a change to the ACPI Global Lock support. All interfaces to
7750 the
7751 global lock now allow the same thread to acquire the lock multiple times.
7752 This affects the AcpiAcquireGlobalLock external interface to the global
7753 lock
7754 as well as the internal use of the global lock to support AML fields -- a
7755 control method that is holding the global lock can now simultaneously
7756 access
7757 AML fields that require global lock protection. Previously, in both
7758 cases,
7759 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
7760 to
7761 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
7762 Controller. There is no change to the behavior of the AML Acquire
7763 operator,
7764 as this can already be used to acquire a mutex multiple times by the same
7765 thread. BZ 8066. With assistance from Alexey Starikovskiy.
7766
7767 Fixed a problem where invalid objects could be referenced in the AML
7768 Interpreter after error conditions. During operand evaluation, ensure
7769 that
7770 the internal "Return Object" field is cleared on error and only valid
7771 pointers are stored there. Caused occasional access to deleted objects
7772 that
7773 resulted in "large reference count" warning messages. Valery Podrezov.
7774
7775 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
7776 on
7777 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
7778 Podrezov.
7779
7780 Fixed an internal problem with the handling of result objects on the
7781 interpreter result stack. BZ 7872. Valery Podrezov.
7782
7783 Removed obsolete code that handled the case where AML_NAME_OP is the
7784 target
7785 of a reference (Reference.Opcode). This code was no longer necessary. BZ
7786 7874. Valery Podrezov.
7787
7788 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
7789 was
7790 a
7791 remnant from the previously discontinued 16-bit support.
7792
7793 Example Code and Data Size: These are the sizes for the OS-independent
7794 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7795 debug version of the code includes the debug output trace mechanism and
7796 has
7797 a much larger code and data size.
7798
7799 Previous Release:
7800 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
7801 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
7802 Current Release:
7803 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
7804 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
7805
7806 ----------------------------------------
7807 26 January 2007. Summary of changes for version 20070126:
7808
7809 1) ACPI CA Core Subsystem:
7810
7811 Added the 2007 copyright to all module headers and signons. This affects
7812 virtually every file in the ACPICA core subsystem, the iASL compiler, and
7813 the utilities.
7814
7815 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
7816 during a table load. A bad pointer was passed in the case where the DSDT
7817 is
7818 overridden, causing a fault in this case.
7819
7820 Example Code and Data Size: These are the sizes for the OS-independent
7821 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7822 debug version of the code includes the debug output trace mechanism and
7823 has
7824 a much larger code and data size.
7825
7826 Previous Release:
7827 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
7828 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
7829 Current Release:
7830 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
7831 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
7832
7833 ----------------------------------------
7834 15 December 2006. Summary of changes for version 20061215:
7835
7836 1) ACPI CA Core Subsystem:
7837
7838 Support for 16-bit ACPICA has been completely removed since it is no
7839 longer
7840 necessary and it clutters the code. All 16-bit macros, types, and
7841 conditional compiles have been removed, cleaning up and simplifying the
7842 code
7843 across the entire subsystem. DOS support is no longer needed since the
7844 bootable Linux firmware kit is now available.
7845
7846 The handler for the Global Lock is now removed during AcpiTerminate to
7847 enable a clean subsystem restart, via the implementation of the
7848 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
7849 HP)
7850
7851 Implemented enhancements to the multithreading support within the
7852 debugger
7853 to enable improved multithreading debugging and evaluation of the
7854 subsystem.
7855 (Valery Podrezov)
7856
7857 Debugger: Enhanced the Statistics/Memory command to emit the total
7858 (maximum)
7859 memory used during the execution, as well as the maximum memory consumed
7860 by
7861 each of the various object types. (Valery Podrezov)
7862
7863 Example Code and Data Size: These are the sizes for the OS-independent
7864 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7865 debug version of the code includes the debug output trace mechanism and
7866 has
7867 a much larger code and data size.
7868
7869 Previous Release:
7870 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
7871 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
7872 Current Release:
7873 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
7874 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
7875
7876
7877 2) iASL Compiler/Disassembler and Tools:
7878
7879 AcpiExec: Implemented a new option (-m) to display full memory use
7880 statistics upon subsystem/program termination. (Valery Podrezov)
7881
7882 ----------------------------------------
7883 09 November 2006. Summary of changes for version 20061109:
7884
7885 1) ACPI CA Core Subsystem:
7886
7887 Optimized the Load ASL operator in the case where the source operand is
7888 an
7889 operation region. Simply map the operation region memory, instead of
7890 performing a bytewise read. (Region must be of type SystemMemory, see
7891 below.)
7892
7893 Fixed the Load ASL operator for the case where the source operand is a
7894 region field. A buffer object is also allowed as the source operand. BZ
7895 480
7896
7897 Fixed a problem where the Load ASL operator allowed the source operand to
7898 be
7899 an operation region of any type. It is now restricted to regions of type
7900 SystemMemory, as per the ACPI specification. BZ 481
7901
7902 Additional cleanup and optimizations for the new Table Manager code.
7903
7904 AcpiEnable will now fail if all of the required ACPI tables are not
7905 loaded
7906 (FADT, FACS, DSDT). BZ 477
7907
7908 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
7909 this
7910 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
7911 manually optimized to be aligned and will not work if it is byte-packed.
7912
7913 Example Code and Data Size: These are the sizes for the OS-independent
7914 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7915 debug version of the code includes the debug output trace mechanism and
7916 has
7917 a much larger code and data size.
7918
7919 Previous Release:
7920 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
7921 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
7922 Current Release:
7923 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
7924 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
7925
7926
7927 2) iASL Compiler/Disassembler and Tools:
7928
7929 Fixed a problem where the presence of the _OSI predefined control method
7930 within complex expressions could cause an internal compiler error.
7931
7932 AcpiExec: Implemented full region support for multiple address spaces.
7933 SpaceId is now part of the REGION object. BZ 429
7934
7935 ----------------------------------------
7936 11 October 2006. Summary of changes for version 20061011:
7937
7938 1) ACPI CA Core Subsystem:
7939
7940 Completed an AML interpreter performance enhancement for control method
7941 execution. Previously a 2-pass parse/execution, control methods are now
7942 completely parsed and executed in a single pass. This improves overall
7943 interpreter performance by ~25%, reduces code size, and reduces CPU stack
7944 use. (Valery Podrezov + interpreter changes in version 20051202 that
7945 eliminated namespace loading during the pass one parse.)
7946
7947 Implemented _CID support for PCI Root Bridge detection. If the _HID does
7948 not
7949 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
7950 now
7951 obtained and also checked for an ID match.
7952
7953 Implemented additional support for the PCI _ADR execution: upsearch until
7954 a
7955 device scope is found before executing _ADR. This allows PCI_Config
7956 operation regions to be declared locally within control methods
7957 underneath
7958 PCI device objects.
7959
7960 Fixed a problem with a possible race condition between threads executing
7961 AcpiWalkNamespace and the AML interpreter. This condition was removed by
7962 modifying AcpiWalkNamespace to (by default) ignore all temporary
7963 namespace
7964 entries created during any concurrent control method execution. An
7965 additional namespace race condition is known to exist between
7966 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
7967 investigation.
7968
7969 Restructured the AML ParseLoop function, breaking it into several
7970 subfunctions in order to reduce CPU stack use and improve
7971 maintainability.
7972 (Mikhail Kouzmich)
7973
7974 AcpiGetHandle: Fix for parameter validation to detect invalid
7975 combinations
7976 of prefix handle and pathname. BZ 478
7977
7978 Example Code and Data Size: These are the sizes for the OS-independent
7979 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7980 debug version of the code includes the debug output trace mechanism and
7981 has
7982 a much larger code and data size.
7983
7984 Previous Release:
7985 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
7986 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
7987 Current Release:
7988 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
7989 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
7990
7991 2) iASL Compiler/Disassembler and Tools:
7992
7993 Ported the -g option (get local ACPI tables) to the new ACPICA Table
7994 Manager
7995 to restore original behavior.
7996
7997 ----------------------------------------
7998 27 September 2006. Summary of changes for version 20060927:
7999
8000 1) ACPI CA Core Subsystem:
8001
8002 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
8003 These functions now use a spinlock for mutual exclusion and the interrupt
8004 level indication flag is not needed.
8005
8006 Fixed a problem with the Global Lock where the lock could appear to be
8007 obtained before it is actually obtained. The global lock semaphore was
8008 inadvertently created with one unit instead of zero units. (BZ 464)
8009 Fiodor
8010 Suietov.
8011
8012 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
8013 during
8014 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
8015
8016 Example Code and Data Size: These are the sizes for the OS-independent
8017 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8018 debug version of the code includes the debug output trace mechanism and
8019 has
8020 a much larger code and data size.
8021
8022 Previous Release:
8023 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8024 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
8025 Current Release:
8026 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8027 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
8028
8029
8030 2) iASL Compiler/Disassembler and Tools:
8031
8032 Fixed a compilation problem with the pre-defined Resource Descriptor
8033 field
8034 names where an "object does not exist" error could be incorrectly
8035 generated
8036 if the parent ResourceTemplate pathname places the template within a
8037 different namespace scope than the current scope. (BZ 7212)
8038
8039 Fixed a problem where the compiler could hang after syntax errors
8040 detected
8041 in an ElseIf construct. (BZ 453)
8042
8043 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
8044 operator. An incorrect output filename was produced when this parameter
8045 was
8046 a null string (""). Now, the original input filename is used as the AML
8047 output filename, with an ".aml" extension.
8048
8049 Implemented a generic batch command mode for the AcpiExec utility
8050 (execute
8051 any AML debugger command) (Valery Podrezov).
8052
8053 ----------------------------------------
8054 12 September 2006. Summary of changes for version 20060912:
8055
8056 1) ACPI CA Core Subsystem:
8057
8058 Enhanced the implementation of the "serialized mode" of the interpreter
8059 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
8060 specified, instead of creating a serialization semaphore per control
8061 method,
8062 the interpreter lock is simply no longer released before a blocking
8063 operation during control method execution. This effectively makes the AML
8064 Interpreter single-threaded. The overhead of a semaphore per-method is
8065 eliminated.
8066
8067 Fixed a regression where an error was no longer emitted if a control
8068 method
8069 attempts to create 2 objects of the same name. This once again returns
8070 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
8071 that
8072 will dynamically serialize the control method to possible prevent future
8073 errors. (BZ 440)
8074
8075 Integrated a fix for a problem with PCI Express HID detection in the PCI
8076 Config Space setup procedure. (BZ 7145)
8077
8078 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
8079 AcpiHwInitialize function - the FADT registers are now validated when the
8080 table is loaded.
8081
8082 Added two new warnings during FADT verification - 1) if the FADT is
8083 larger
8084 than the largest known FADT version, and 2) if there is a mismatch
8085 between
8086 a
8087 32-bit block address and the 64-bit X counterpart (when both are non-
8088 zero.)
8089
8090 Example Code and Data Size: These are the sizes for the OS-independent
8091 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8092 debug version of the code includes the debug output trace mechanism and
8093 has
8094 a much larger code and data size.
8095
8096 Previous Release:
8097 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
8098 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
8099 Current Release:
8100 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8101 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
8102
8103
8104 2) iASL Compiler/Disassembler and Tools:
8105
8106 Fixed a problem with the implementation of the Switch() operator where
8107 the
8108 temporary variable was declared too close to the actual Switch, instead
8109 of
8110 at method level. This could cause a problem if the Switch() operator is
8111 within a while loop, causing an error on the second iteration. (BZ 460)
8112
8113 Disassembler - fix for error emitted for unknown type for target of scope
8114 operator. Now, ignore it and continue.
8115
8116 Disassembly of an FADT now verifies the input FADT and reports any errors
8117 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
8118
8119 Disassembly of raw data buffers with byte initialization data now
8120 prefixes
8121 each output line with the current buffer offset.
8122
8123 Disassembly of ASF! table now includes all variable-length data fields at
8124 the end of some of the subtables.
8125
8126 The disassembler now emits a comment if a buffer appears to be a
8127 ResourceTemplate, but cannot be disassembled as such because the EndTag
8128 does
8129 not appear at the very end of the buffer.
8130
8131 AcpiExec - Added the "-t" command line option to enable the serialized
8132 mode
8133 of the AML interpreter.
8134
8135 ----------------------------------------
8136 31 August 2006. Summary of changes for version 20060831:
8137
8138 1) ACPI CA Core Subsystem:
8139
8140 Miscellaneous fixes for the Table Manager:
8141 - Correctly initialize internal common FADT for all 64-bit "X" fields
8142 - Fixed a couple table mapping issues during table load
8143 - Fixed a couple alignment issues for IA64
8144 - Initialize input array to zero in AcpiInitializeTables
8145 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
8146 AcpiGetTableByIndex
8147
8148 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
8149 now
8150 immediately disabled to prevent the waking GPE from firing again and to
8151 prevent other wake GPEs from interrupting the wake process.
8152
8153 Added the AcpiGpeCount global that tracks the number of processed GPEs,
8154 to
8155 be used for debugging systems with a large number of ACPI interrupts.
8156
8157 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
8158 both the ACPICA headers and the disassembler.
8159
8160 Example Code and Data Size: These are the sizes for the OS-independent
8161 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8162 debug version of the code includes the debug output trace mechanism and
8163 has
8164 a much larger code and data size.
8165
8166 Previous Release:
8167 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
8168 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
8169 Current Release:
8170 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
8171 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
8172
8173
8174 2) iASL Compiler/Disassembler and Tools:
8175
8176 Disassembler support for the DMAR ACPI table.
8177
8178 ----------------------------------------
8179 23 August 2006. Summary of changes for version 20060823:
8180
8181 1) ACPI CA Core Subsystem:
8182
8183 The Table Manager component has been completely redesigned and
8184 reimplemented. The new design is much simpler, and reduces the overall
8185 code
8186 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
8187 is
8188 now possible to obtain the ACPI tables very early during kernel
8189 initialization, even before dynamic memory management is initialized.
8190 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
8191
8192 Obsolete ACPICA interfaces:
8193
8194 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
8195 init
8196 time).
8197 - AcpiLoadTable: Not needed.
8198 - AcpiUnloadTable: Not needed.
8199
8200 New ACPICA interfaces:
8201
8202 - AcpiInitializeTables: Must be called before the table manager can be
8203 used.
8204 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
8205 allocated memory after it becomes available.
8206 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
8207 tables
8208 in the RSDT/XSDT.
8209
8210 Other ACPICA changes:
8211
8212 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
8213 Use
8214 AcpiOsUnmapMemory to free this mapping.
8215 - AcpiGetTable returns the actual mapped table. The mapping is managed
8216 internally and must not be deleted by the caller. Use of this interface
8217 causes no additional dynamic memory allocation.
8218 - AcpiFindRootPointer: Support for physical addressing has been
8219 eliminated,
8220 it appeared to be unused.
8221 - The interface to AcpiOsMapMemory has changed to be consistent with the
8222 other allocation interfaces.
8223 - The interface to AcpiOsGetRootPointer has changed to eliminate
8224 unnecessary
8225 parameters.
8226 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
8227 64-
8228 bit platforms. Was previously 64 bits on all platforms.
8229 - The interface to the ACPI Global Lock acquire/release macros have
8230 changed
8231 slightly since ACPICA no longer keeps a local copy of the FACS with a
8232 constructed pointer to the actual global lock.
8233
8234 Porting to the new table manager:
8235
8236 - AcpiInitializeTables: Must be called once, and can be called anytime
8237 during the OS initialization process. It allows the host to specify an
8238 area
8239 of memory to be used to store the internal version of the RSDT/XSDT (root
8240 table). This allows the host to access ACPI tables before memory
8241 management
8242 is initialized and running.
8243 - AcpiReallocateRootTable: Can be called after memory management is
8244 running
8245 to copy the root table to a dynamically allocated array, freeing up the
8246 scratch memory specified in the call to AcpiInitializeTables.
8247 - AcpiSubsystemInitialize: This existing interface is independent of the
8248 Table Manager, and does not have to be called before the Table Manager
8249 can
8250 be used, it only must be called before the rest of ACPICA can be used.
8251 - ACPI Tables: Some changes have been made to the names and structure of
8252 the
8253 actbl.h and actbl1.h header files and may require changes to existing
8254 code.
8255 For example, bitfields have been completely removed because of their lack
8256 of
8257 portability across C compilers.
8258 - Update interfaces to the Global Lock acquire/release macros if local
8259 versions are used. (see acwin.h)
8260
8261 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
8262
8263 New files: tbfind.c
8264
8265 Example Code and Data Size: These are the sizes for the OS-independent
8266 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8267 debug version of the code includes the debug output trace mechanism and
8268 has
8269 a much larger code and data size.
8270
8271 Previous Release:
8272 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
8273 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
8274 Current Release:
8275 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
8276 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
8277
8278
8279 2) iASL Compiler/Disassembler and Tools:
8280
8281 No changes for this release.
8282
8283 ----------------------------------------
8284 21 July 2006. Summary of changes for version 20060721:
8285
8286 1) ACPI CA Core Subsystem:
8287
8288 The full source code for the ASL test suite used to validate the iASL
8289 compiler and the ACPICA core subsystem is being released with the ACPICA
8290 source for the first time. The source is contained in a separate package
8291 and
8292 consists of over 1100 files that exercise all ASL/AML operators. The
8293 package
8294 should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
8295 Fiodor
8296 Suietov)
8297
8298 Completed a new design and implementation for support of the ACPI Global
8299 Lock. On the OS side, the global lock is now treated as a standard AML
8300 mutex. Previously, multiple OS threads could "acquire" the global lock
8301 simultaneously. However, this could cause the BIOS to be starved out of
8302 the
8303 lock - especially in cases such as the Embedded Controller driver where
8304 there is a tight coupling between the OS and the BIOS.
8305
8306 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
8307 The Global Lock interrupt handler no longer queues the execution of a
8308 separate thread to signal the global lock semaphore. Instead, the
8309 semaphore
8310 is signaled directly from the interrupt handler.
8311
8312 Implemented support within the AML interpreter for package objects that
8313 contain a larger AML length (package list length) than the package
8314 element
8315 count. In this case, the length of the package is truncated to match the
8316 package element count. Some BIOS code apparently modifies the package
8317 length
8318 on the fly, and this change supports this behavior. Provides
8319 compatibility
8320 with the MS AML interpreter. (With assistance from Fiodor Suietov)
8321
8322 Implemented a temporary fix for the BankValue parameter of a Bank Field
8323 to
8324 support all constant values, now including the Zero and One opcodes.
8325 Evaluation of this parameter must eventually be converted to a full
8326 TermArg
8327 evaluation. A not-implemented error is now returned (temporarily) for
8328 non-
8329 constant values for this parameter.
8330
8331 Fixed problem reports (Fiodor Suietov) integrated:
8332 - Fix for premature object deletion after CopyObject on Operation Region
8333 (BZ
8334 350)
8335
8336 Example Code and Data Size: These are the sizes for the OS-independent
8337 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8338 debug version of the code includes the debug output trace mechanism and
8339 has
8340 a much larger code and data size.
8341
8342 Previous Release:
8343 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
8344 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
8345 Current Release:
8346 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
8347 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
8348
8349
8350 2) iASL Compiler/Disassembler and Tools:
8351
8352 No changes for this release.
8353
8354 ----------------------------------------
8355 07 July 2006. Summary of changes for version 20060707:
8356
8357 1) ACPI CA Core Subsystem:
8358
8359 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
8360 that do not allow the initialization of address pointers within packed
8361 structures - even though the hardware itself may support misaligned
8362 transfers. Some of the debug data structures are packed by default to
8363 minimize size.
8364
8365 Added an error message for the case where AcpiOsGetThreadId() returns
8366 zero.
8367 A non-zero value is required by the core ACPICA code to ensure the proper
8368 operation of AML mutexes and recursive control methods.
8369
8370 The DSDT is now the only ACPI table that determines whether the AML
8371 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
8372 but
8373 the hooks for per-table 32/64 switching have been removed from the code.
8374 A
8375 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
8376
8377 Fixed a possible leak of an OwnerID in the error path of
8378 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
8379 deletion to a single place in AcpiTbUninstallTable to correct possible
8380 leaks
8381 when using the AcpiTbDeleteTablesByType interface (with assistance from
8382 Lance Ortiz.)
8383
8384 Fixed a problem with Serialized control methods where the semaphore
8385 associated with the method could be over-signaled after multiple method
8386 invocations.
8387
8388 Fixed two issues with the locking of the internal namespace data
8389 structure.
8390 Both the Unload() operator and AcpiUnloadTable interface now lock the
8391 namespace during the namespace deletion associated with the table unload
8392 (with assistance from Linn Crosetto.)
8393
8394 Fixed problem reports (Valery Podrezov) integrated:
8395 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
8396
8397 Fixed problem reports (Fiodor Suietov) integrated:
8398 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
8399 - On Address Space handler deletion, needless deactivation call (BZ 374)
8400 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
8401 375)
8402 - Possible memory leak, Notify sub-objects of Processor, Power,
8403 ThermalZone
8404 (BZ 376)
8405 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
8406 - Minimum Length of RSDT should be validated (BZ 379)
8407 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
8408 Handler (BZ (380)
8409 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
8410 loaded
8411 (BZ 381)
8412
8413 Example Code and Data Size: These are the sizes for the OS-independent
8414 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8415 debug version of the code includes the debug output trace mechanism and
8416 has
8417 a much larger code and data size.
8418
8419 Previous Release:
8420 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
8421 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
8422 Current Release:
8423 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
8424 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
8425
8426
8427 2) iASL Compiler/Disassembler and Tools:
8428
8429 Fixed problem reports:
8430 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
8431 436)
8432
8433 ----------------------------------------
8434 23 June 2006. Summary of changes for version 20060623:
8435
8436 1) ACPI CA Core Subsystem:
8437
8438 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
8439 allows the type to be customized to the host OS for improved efficiency
8440 (since a spinlock is usually a very small object.)
8441
8442 Implemented support for "ignored" bits in the ACPI registers. According
8443 to
8444 the ACPI specification, these bits should be preserved when writing the
8445 registers via a read/modify/write cycle. There are 3 bits preserved in
8446 this
8447 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
8448
8449 Implemented the initial deployment of new OSL mutex interfaces. Since
8450 some
8451 host operating systems have separate mutex and semaphore objects, this
8452 feature was requested. The base code now uses mutexes (and the new mutex
8453 interfaces) wherever a binary semaphore was used previously. However, for
8454 the current release, the mutex interfaces are defined as macros to map
8455 them
8456 to the existing semaphore interfaces. Therefore, no OSL changes are
8457 required
8458 at this time. (See acpiosxf.h)
8459
8460 Fixed several problems with the support for the control method SyncLevel
8461 parameter. The SyncLevel now works according to the ACPI specification
8462 and
8463 in concert with the Mutex SyncLevel parameter, since the current
8464 SyncLevel
8465 is a property of the executing thread. Mutual exclusion for control
8466 methods
8467 is now implemented with a mutex instead of a semaphore.
8468
8469 Fixed three instances of the use of the C shift operator in the bitfield
8470 support code (exfldio.c) to avoid the use of a shift value larger than
8471 the
8472 target data width. The behavior of C compilers is undefined in this case
8473 and
8474 can cause unpredictable results, and therefore the case must be detected
8475 and
8476 avoided. (Fiodor Suietov)
8477
8478 Added an info message whenever an SSDT or OEM table is loaded dynamically
8479 via the Load() or LoadTable() ASL operators. This should improve
8480 debugging
8481 capability since it will show exactly what tables have been loaded
8482 (beyond
8483 the tables present in the RSDT/XSDT.)
8484
8485 Example Code and Data Size: These are the sizes for the OS-independent
8486 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8487 debug version of the code includes the debug output trace mechanism and
8488 has
8489 a much larger code and data size.
8490
8491 Previous Release:
8492 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
8493 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
8494 Current Release:
8495 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
8496 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
8497
8498
8499 2) iASL Compiler/Disassembler and Tools:
8500
8501 No changes for this release.
8502
8503 ----------------------------------------
8504 08 June 2006. Summary of changes for version 20060608:
8505
8506 1) ACPI CA Core Subsystem:
8507
8508 Converted the locking mutex used for the ACPI hardware to a spinlock.
8509 This
8510 change should eliminate all problems caused by attempting to acquire a
8511 semaphore at interrupt level, and it means that all ACPICA external
8512 interfaces that directly access the ACPI hardware can be safely called
8513 from
8514 interrupt level. OSL code that implements the semaphore interfaces should
8515 be
8516 able to eliminate any workarounds for being called at interrupt level.
8517
8518 Fixed a regression introduced in 20060526 where the ACPI device
8519 initialization could be prematurely aborted with an AE_NOT_FOUND if a
8520 device
8521 did not have an optional _INI method.
8522
8523 Fixed an IndexField issue where a write to the Data Register should be
8524 limited in size to the AccessSize (width) of the IndexField itself. (BZ
8525 433,
8526 Fiodor Suietov)
8527
8528 Fixed problem reports (Valery Podrezov) integrated:
8529 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
8530
8531 Fixed problem reports (Fiodor Suietov) integrated:
8532 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
8533
8534 Removed four global mutexes that were obsolete and were no longer being
8535 used.
8536
8537 Example Code and Data Size: These are the sizes for the OS-independent
8538 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8539 debug version of the code includes the debug output trace mechanism and
8540 has
8541 a much larger code and data size.
8542
8543 Previous Release:
8544 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
8545 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
8546 Current Release:
8547 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
8548 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
8549
8550
8551 2) iASL Compiler/Disassembler and Tools:
8552
8553 Fixed a fault when using -g option (get tables from registry) on Windows
8554 machines.
8555
8556 Fixed problem reports integrated:
8557 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
8558 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
8559 Suietov)
8560 - Global table revision override (-r) is ignored (BZ 413)
8561
8562 ----------------------------------------
8563 26 May 2006. Summary of changes for version 20060526:
8564
8565 1) ACPI CA Core Subsystem:
8566
8567 Restructured, flattened, and simplified the internal interfaces for
8568 namespace object evaluation - resulting in smaller code, less CPU stack
8569 use,
8570 and fewer interfaces. (With assistance from Mikhail Kouzmich)
8571
8572 Fixed a problem with the CopyObject operator where the first parameter
8573 was
8574 not typed correctly for the parser, interpreter, compiler, and
8575 disassembler.
8576 Caused various errors and unexpected behavior.
8577
8578 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
8579 produced incorrect results with some C compilers. Since the behavior of C
8580 compilers when the shift value is larger than the datatype width is
8581 apparently not well defined, the interpreter now detects this condition
8582 and
8583 simply returns zero as expected in all such cases. (BZ 395)
8584
8585 Fixed problem reports (Valery Podrezov) integrated:
8586 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
8587 - Allow interpreter to handle nested method declarations (BZ 5361)
8588
8589 Fixed problem reports (Fiodor Suietov) integrated:
8590 - AcpiTerminate doesn't free debug memory allocation list objects (BZ
8591 355)
8592 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
8593 356)
8594 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
8595 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
8596 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
8597 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
8598 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
8599 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
8600 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
8601 365)
8602 - Status of the Global Initialization Handler call not used (BZ 366)
8603 - Incorrect object parameter to Global Initialization Handler (BZ 367)
8604
8605 Example Code and Data Size: These are the sizes for the OS-independent
8606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8607 debug version of the code includes the debug output trace mechanism and
8608 has
8609 a much larger code and data size.
8610
8611 Previous Release:
8612 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
8613 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
8614 Current Release:
8615 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
8616 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
8617
8618
8619 2) iASL Compiler/Disassembler and Tools:
8620
8621 Modified the parser to allow the names IO, DMA, and IRQ to be used as
8622 namespace identifiers with no collision with existing resource descriptor
8623 macro names. This provides compatibility with other ASL compilers and is
8624 most useful for disassembly/recompilation of existing tables without
8625 parse
8626 errors. (With assistance from Thomas Renninger)
8627
8628 Disassembler: fixed an incorrect disassembly problem with the
8629 DataTableRegion and CopyObject operators. Fixed a possible fault during
8630 disassembly of some Alias operators.
8631
8632 ----------------------------------------
8633 12 May 2006. Summary of changes for version 20060512:
8634
8635 1) ACPI CA Core Subsystem:
8636
8637 Replaced the AcpiOsQueueForExecution interface with a new interface named
8638 AcpiOsExecute. The major difference is that the new interface does not
8639 have
8640 a Priority parameter, this appeared to be useless and has been replaced
8641 by
8642 a
8643 Type parameter. The Type tells the host what type of execution is being
8644 requested, such as global lock handler, notify handler, GPE handler, etc.
8645 This allows the host to queue and execute the request as appropriate for
8646 the
8647 request type, possibly using different work queues and different
8648 priorities
8649 for the various request types. This enables fixes for multithreading
8650 deadlock problems such as BZ #5534, and will require changes to all
8651 existing
8652 OS interface layers. (Alexey Starikovskiy and Bob Moore)
8653
8654 Fixed a possible memory leak associated with the support for the so-
8655 called
8656 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
8657 Suietov)
8658
8659 Fixed a problem with the Load() operator where a table load from an
8660 operation region could overwrite an internal table buffer by up to 7
8661 bytes
8662 and cause alignment faults on IPF systems. (With assistance from Luming
8663 Yu)
8664
8665 Example Code and Data Size: These are the sizes for the OS-independent
8666 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8667 debug version of the code includes the debug output trace mechanism and
8668 has
8669 a much larger code and data size.
8670
8671 Previous Release:
8672 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
8673 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
8674 Current Release:
8675 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
8676 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
8677
8678
8679
8680 2) iASL Compiler/Disassembler and Tools:
8681
8682 Disassembler: Implemented support to cross reference the internal
8683 namespace
8684 and automatically generate ASL External() statements for symbols not
8685 defined
8686 within the current table being disassembled. This will simplify the
8687 disassembly and recompilation of interdependent tables such as SSDTs
8688 since
8689 these statements will no longer have to be added manually.
8690
8691 Disassembler: Implemented experimental support to automatically detect
8692 invocations of external control methods and generate appropriate
8693 External()
8694 statements. This is problematic because the AML cannot be correctly
8695 parsed
8696 until the number of arguments for each control method is known.
8697 Currently,
8698 standalone method invocations and invocations as the source operand of a
8699 Store() statement are supported.
8700
8701 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
8702 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
8703 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
8704 more readable and likely closer to the original ASL source.
8705
8706 ----------------------------------------
8707 21 April 2006. Summary of changes for version 20060421:
8708
8709 1) ACPI CA Core Subsystem:
8710
8711 Removed a device initialization optimization introduced in 20051216 where
8712 the _STA method was not run unless an _INI was also present for the same
8713 device. This optimization could cause problems because it could allow
8714 _INI
8715 methods to be run within a not-present device subtree. (If a not-present
8716 device had no _INI, _STA would not be run, the not-present status would
8717 not
8718 be discovered, and the children of the device would be incorrectly
8719 traversed.)
8720
8721 Implemented a new _STA optimization where namespace subtrees that do not
8722 contain _INI are identified and ignored during device initialization.
8723 Selectively running _STA can significantly improve boot time on large
8724 machines (with assistance from Len Brown.)
8725
8726 Implemented support for the device initialization case where the returned
8727 _STA flags indicate a device not-present but functioning. In this case,
8728 _INI
8729 is not run, but the device children are examined for presence, as per the
8730 ACPI specification.
8731
8732 Implemented an additional change to the IndexField support in order to
8733 conform to MS behavior. The value written to the Index Register is not
8734 simply a byte offset, it is a byte offset in units of the access width of
8735 the parent Index Field. (Fiodor Suietov)
8736
8737 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
8738 interface is called during the creation of all AML operation regions, and
8739 allows the host OS to exert control over what addresses it will allow the
8740 AML code to access. Operation Regions whose addresses are disallowed will
8741 cause a runtime exception when they are actually accessed (will not
8742 affect
8743 or abort table loading.) See oswinxf or osunixxf for an example
8744 implementation.
8745
8746 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
8747 interface allows the host OS to match the various "optional"
8748 interface/behavior strings for the _OSI predefined control method as
8749 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
8750 for an example implementation.
8751
8752 Restructured and corrected various problems in the exception handling
8753 code
8754 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
8755 (with assistance from Takayoshi Kochi.)
8756
8757 Modified the Linux source converter to ignore quoted string literals
8758 while
8759 converting identifiers from mixed to lower case. This will correct
8760 problems
8761 with the disassembler and other areas where such strings must not be
8762 modified.
8763
8764 The ACPI_FUNCTION_* macros no longer require quotes around the function
8765 name. This allows the Linux source converter to convert the names, now
8766 that
8767 the converter ignores quoted strings.
8768
8769 Example Code and Data Size: These are the sizes for the OS-independent
8770 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8771 debug version of the code includes the debug output trace mechanism and
8772 has
8773 a much larger code and data size.
8774
8775 Previous Release:
8776
8777 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
8778 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
8779 Current Release:
8780 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
8781 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
8782
8783
8784 2) iASL Compiler/Disassembler and Tools:
8785
8786 Implemented 3 new warnings for iASL, and implemented multiple warning
8787 levels
8788 (w2 flag).
8789
8790 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
8791 not
8792 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
8793 check for the possible timeout, a warning is issued.
8794
8795 2) Useless operators: If an ASL operator does not specify an optional
8796 target
8797 operand and it also does not use the function return value from the
8798 operator, a warning is issued since the operator effectively does
8799 nothing.
8800
8801 3) Unreferenced objects: If a namespace object is created, but never
8802 referenced, a warning is issued. This is a warning level 2 since there
8803 are
8804 cases where this is ok, such as when a secondary table is loaded that
8805 uses
8806 the unreferenced objects. Even so, care is taken to only flag objects
8807 that
8808 don't look like they will ever be used. For example, the reserved methods
8809 (starting with an underscore) are usually not referenced because it is
8810 expected that the OS will invoke them.
8811
8812 ----------------------------------------
8813 31 March 2006. Summary of changes for version 20060331:
8814
8815 1) ACPI CA Core Subsystem:
8816
8817 Implemented header file support for the following additional ACPI tables:
8818 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
8819 support,
8820 all current and known ACPI tables are now defined in the ACPICA headers
8821 and
8822 are available for use by device drivers and other software.
8823
8824 Implemented support to allow tables that contain ACPI names with invalid
8825 characters to be loaded. Previously, this would cause the table load to
8826 fail, but since there are several known cases of such tables on existing
8827 machines, this change was made to enable ACPI support for them. Also,
8828 this
8829 matches the behavior of the Microsoft ACPI implementation.
8830
8831 Fixed a couple regressions introduced during the memory optimization in
8832 the
8833 20060317 release. The namespace node definition required additional
8834 reorganization and an internal datatype that had been changed to 8-bit
8835 was
8836 restored to 32-bit. (Valery Podrezov)
8837
8838 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
8839 could be passed through to AcpiOsReleaseObject which is unexpected. Such
8840 null pointers are now trapped and ignored, matching the behavior of the
8841 previous implementation before the deployment of AcpiOsReleaseObject.
8842 (Valery Podrezov, Fiodor Suietov)
8843
8844 Fixed a memory mapping leak during the deletion of a SystemMemory
8845 operation
8846 region where a cached memory mapping was not deleted. This became a
8847 noticeable problem for operation regions that are defined within
8848 frequently
8849 used control methods. (Dana Meyers)
8850
8851 Reorganized the ACPI table header files into two main files: one for the
8852 ACPI tables consumed by the ACPICA core, and another for the
8853 miscellaneous
8854 ACPI tables that are consumed by the drivers and other software. The
8855 various
8856 FADT definitions were merged into one common section and three different
8857 tables (ACPI 1.0, 1.0+, and 2.0)
8858
8859 Example Code and Data Size: These are the sizes for the OS-independent
8860 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8861 debug version of the code includes the debug output trace mechanism and
8862 has
8863 a much larger code and data size.
8864
8865 Previous Release:
8866 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
8867 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
8868 Current Release:
8869 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
8870 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
8871
8872
8873 2) iASL Compiler/Disassembler and Tools:
8874
8875 Disassembler: Implemented support to decode and format all non-AML ACPI
8876 tables (tables other than DSDTs and SSDTs.) This includes the new tables
8877 added to the ACPICA headers, therefore all current and known ACPI tables
8878 are
8879 supported.
8880
8881 Disassembler: The change to allow ACPI names with invalid characters also
8882 enables the disassembly of such tables. Invalid characters within names
8883 are
8884 changed to '*' to make the name printable; the iASL compiler will still
8885 generate an error for such names, however, since this is an invalid ACPI
8886 character.
8887
8888 Implemented an option for AcpiXtract (-a) to extract all tables found in
8889 the
8890 input file. The default invocation extracts only the DSDTs and SSDTs.
8891
8892 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
8893 makefile for the AcpiXtract utility.
8894
8895 ----------------------------------------
8896 17 March 2006. Summary of changes for version 20060317:
8897
8898 1) ACPI CA Core Subsystem:
8899
8900 Implemented the use of a cache object for all internal namespace nodes.
8901 Since there are about 1000 static nodes in a typical system, this will
8902 decrease memory use for cache implementations that minimize per-
8903 allocation
8904 overhead (such as a slab allocator.)
8905
8906 Removed the reference count mechanism for internal namespace nodes, since
8907 it
8908 was deemed unnecessary. This reduces the size of each namespace node by
8909 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
8910 case,
8911 and 32 bytes for the 64-bit case.
8912
8913 Optimized several internal data structures to reduce object size on 64-
8914 bit
8915 platforms by packing data within the 64-bit alignment. This includes the
8916 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
8917 instances corresponding to the namespace objects.
8918
8919 Added two new strings for the predefined _OSI method: "Windows 2001.1
8920 SP1"
8921 and "Windows 2006".
8922
8923 Split the allocation tracking mechanism out to a separate file, from
8924 utalloc.c to uttrack.c. This mechanism appears to be only useful for
8925 application-level code. Kernels may wish to not include uttrack.c in
8926 distributions.
8927
8928 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
8929 associated
8930 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
8931 macros.)
8932
8933 Code and Data Size: These are the sizes for the acpica.lib produced by
8934 the
8935 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
8936 ACPI
8937 driver or OSPM code. The debug version of the code includes the debug
8938 output
8939 trace mechanism and has a much larger code and data size. Note that these
8940 values will vary depending on the efficiency of the compiler and the
8941 compiler options used during generation.
8942
8943 Previous Release:
8944 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
8945 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
8946 Current Release:
8947 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
8948 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
8949
8950
8951 2) iASL Compiler/Disassembler and Tools:
8952
8953 Implemented an ANSI C version of the acpixtract utility. This version
8954 will
8955 automatically extract the DSDT and all SSDTs from the input acpidump text
8956 file and dump the binary output to separate files. It can also display a
8957 summary of the input file including the headers for each table found and
8958 will extract any single ACPI table, with any signature. (See
8959 source/tools/acpixtract)
8960
8961 ----------------------------------------
8962 10 March 2006. Summary of changes for version 20060310:
8963
8964 1) ACPI CA Core Subsystem:
8965
8966 Tagged all external interfaces to the subsystem with the new
8967 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
8968 assist
8969 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
8970 macro. The default definition is NULL.
8971
8972 Added the ACPI_THREAD_ID type for the return value from
8973 AcpiOsGetThreadId.
8974 This allows the host to define this as necessary to simplify kernel
8975 integration. The default definition is ACPI_NATIVE_UINT.
8976
8977 Fixed two interpreter problems related to error processing, the deletion
8978 of
8979 objects, and placing invalid pointers onto the internal operator result
8980 stack. BZ 6028, 6151 (Valery Podrezov)
8981
8982 Increased the reference count threshold where a warning is emitted for
8983 large
8984 reference counts in order to eliminate unnecessary warnings on systems
8985 with
8986 large namespaces (especially 64-bit.) Increased the value from 0x400 to
8987 0x800.
8988
8989 Due to universal disagreement as to the meaning of the 'c' in the
8990 calloc()
8991 function, the ACPI_MEM_CALLOCATE macro has been renamed to
8992 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
8993 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
8994 ACPI_FREE.
8995
8996 Code and Data Size: These are the sizes for the acpica.lib produced by
8997 the
8998 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
8999 ACPI
9000 driver or OSPM code. The debug version of the code includes the debug
9001 output
9002 trace mechanism and has a much larger code and data size. Note that these
9003 values will vary depending on the efficiency of the compiler and the
9004 compiler options used during generation.
9005
9006 Previous Release:
9007 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
9008 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
9009 Current Release:
9010 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9011 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
9012
9013
9014 2) iASL Compiler/Disassembler:
9015
9016 Disassembler: implemented support for symbolic resource descriptor
9017 references. If a CreateXxxxField operator references a fixed offset
9018 within
9019 a
9020 resource descriptor, a name is assigned to the descriptor and the offset
9021 is
9022 translated to the appropriate resource tag and pathname. The addition of
9023 this support brings the disassembled code very close to the original ASL
9024 source code and helps eliminate run-time errors when the disassembled
9025 code
9026 is modified (and recompiled) in such a way as to invalidate the original
9027 fixed offsets.
9028
9029 Implemented support for a Descriptor Name as the last parameter to the
9030 ASL
9031 Register() macro. This parameter was inadvertently left out of the ACPI
9032 specification, and will be added for ACPI 3.0b.
9033
9034 Fixed a problem where the use of the "_OSI" string (versus the full path
9035 "\_OSI") caused an internal compiler error. ("No back ptr to op")
9036
9037 Fixed a problem with the error message that occurs when an invalid string
9038 is
9039 used for a _HID object (such as one with an embedded asterisk:
9040 "*PNP010A".)
9041 The correct message is now displayed.
9042
9043 ----------------------------------------
9044 17 February 2006. Summary of changes for version 20060217:
9045
9046 1) ACPI CA Core Subsystem:
9047
9048 Implemented a change to the IndexField support to match the behavior of
9049 the
9050 Microsoft AML interpreter. The value written to the Index register is now
9051 a
9052 byte offset, no longer an index based upon the width of the Data
9053 register.
9054 This should fix IndexField problems seen on some machines where the Data
9055 register is not exactly one byte wide. The ACPI specification will be
9056 clarified on this point.
9057
9058 Fixed a problem where several resource descriptor types could overrun the
9059 internal descriptor buffer due to size miscalculation: VendorShort,
9060 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
9061 affect all platforms.
9062
9063 Fixed a problem where individual resource descriptors were misaligned
9064 within
9065 the internal buffer, causing alignment faults on IA64 platforms.
9066
9067 Code and Data Size: These are the sizes for the acpica.lib produced by
9068 the
9069 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9070 ACPI
9071 driver or OSPM code. The debug version of the code includes the debug
9072 output
9073 trace mechanism and has a much larger code and data size. Note that these
9074 values will vary depending on the efficiency of the compiler and the
9075 compiler options used during generation.
9076
9077 Previous Release:
9078 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9079 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
9080 Current Release:
9081 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
9082 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
9083
9084
9085 2) iASL Compiler/Disassembler:
9086
9087 Implemented support for new reserved names: _WDG and _WED are Microsoft
9088 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
9089 defined method (Throttling Depth Limit.)
9090
9091 Fixed a problem where a zero-length VendorShort or VendorLong resource
9092 descriptor was incorrectly emitted as a descriptor of length one.
9093
9094 ----------------------------------------
9095 10 February 2006. Summary of changes for version 20060210:
9096
9097 1) ACPI CA Core Subsystem:
9098
9099 Removed a couple of extraneous ACPI_ERROR messages that appeared during
9100 normal execution. These became apparent after the conversion from
9101 ACPI_DEBUG_PRINT.
9102
9103 Fixed a problem where the CreateField operator could hang if the BitIndex
9104 or
9105 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
9106
9107 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
9108 failed with an exception. This also fixes a couple of related RefOf and
9109 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
9110
9111 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
9112 of
9113 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
9114 BZ
9115 5480)
9116
9117 Implemented a memory cleanup at the end of the execution of each
9118 iteration
9119 of an AML While() loop, preventing the accumulation of outstanding
9120 objects.
9121 (Valery Podrezov, BZ 5427)
9122
9123 Eliminated a chunk of duplicate code in the object resolution code.
9124 (Valery
9125 Podrezov, BZ 5336)
9126
9127 Fixed several warnings during the 64-bit code generation.
9128
9129 The AcpiSrc source code conversion tool now inserts one line of
9130 whitespace
9131 after an if() statement that is followed immediately by a comment,
9132 improving
9133 readability of the Linux code.
9134
9135 Code and Data Size: The current and previous library sizes for the core
9136 subsystem are shown below. These are the code and data sizes for the
9137 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9138 These
9139 values do not include any ACPI driver or OSPM code. The debug version of
9140 the
9141 code includes the debug output trace mechanism and has a much larger code
9142 and data size. Note that these values will vary depending on the
9143 efficiency
9144 of the compiler and the compiler options used during generation.
9145
9146 Previous Release:
9147 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
9148 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
9149 Current Release:
9150 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9151 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
9152
9153
9154 2) iASL Compiler/Disassembler:
9155
9156 Fixed a problem with the disassembly of a BankField operator with a
9157 complex
9158 expression for the BankValue parameter.
9159
9160 ----------------------------------------
9161 27 January 2006. Summary of changes for version 20060127:
9162
9163 1) ACPI CA Core Subsystem:
9164
9165 Implemented support in the Resource Manager to allow unresolved
9166 namestring
9167 references within resource package objects for the _PRT method. This
9168 support
9169 is in addition to the previously implemented unresolved reference support
9170 within the AML parser. If the interpreter slack mode is enabled, these
9171 unresolved references will be passed through to the caller as a NULL
9172 package
9173 entry.
9174
9175 Implemented and deployed new macros and functions for error and warning
9176 messages across the subsystem. These macros are simpler and generate less
9177 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
9178 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
9179 macros remain defined to allow ACPI drivers time to migrate to the new
9180 macros.
9181
9182 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
9183 the
9184 Acquire/Release Lock OSL interfaces.
9185
9186 Fixed a problem where Alias ASL operators are sometimes not correctly
9187 resolved, in both the interpreter and the iASL compiler.
9188
9189 Fixed several problems with the implementation of the
9190 ConcatenateResTemplate
9191 ASL operator. As per the ACPI specification, zero length buffers are now
9192 treated as a single EndTag. One-length buffers always cause a fatal
9193 exception. Non-zero length buffers that do not end with a full 2-byte
9194 EndTag
9195 cause a fatal exception.
9196
9197 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
9198 interface. (With assistance from Thomas Renninger)
9199
9200 Code and Data Size: The current and previous library sizes for the core
9201 subsystem are shown below. These are the code and data sizes for the
9202 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9203 These
9204 values do not include any ACPI driver or OSPM code. The debug version of
9205 the
9206 code includes the debug output trace mechanism and has a much larger code
9207 and data size. Note that these values will vary depending on the
9208 efficiency
9209 of the compiler and the compiler options used during generation.
9210
9211 Previous Release:
9212 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
9213 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
9214 Current Release:
9215 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
9216 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
9217
9218
9219 2) iASL Compiler/Disassembler:
9220
9221 Fixed an internal error that was generated for any forward references to
9222 ASL
9223 Alias objects.
9224
9225 ----------------------------------------
9226 13 January 2006. Summary of changes for version 20060113:
9227
9228 1) ACPI CA Core Subsystem:
9229
9230 Added 2006 copyright to all module headers and signons. This affects
9231 virtually every file in the ACPICA core subsystem, iASL compiler, and the
9232 utilities.
9233
9234 Enhanced the ACPICA error reporting in order to simplify user migration
9235 to
9236 the non-debug version of ACPICA. Replaced all instances of the
9237 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
9238 debug
9239 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
9240 respectively. This preserves all error and warning messages in the non-
9241 debug
9242 version of the ACPICA code (this has been referred to as the "debug lite"
9243 option.) Over 200 cases were converted to create a total of over 380
9244 error/warning messages across the ACPICA code. This increases the code
9245 and
9246 data size of the default non-debug version of the code somewhat (about
9247 13K),
9248 but all error/warning reporting may be disabled if desired (and code
9249 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
9250 configuration option. The size of the debug version of ACPICA remains
9251 about
9252 the same.
9253
9254 Fixed a memory leak within the AML Debugger "Set" command. One object was
9255 not properly deleted for every successful invocation of the command.
9256
9257 Code and Data Size: The current and previous library sizes for the core
9258 subsystem are shown below. These are the code and data sizes for the
9259 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9260 These
9261 values do not include any ACPI driver or OSPM code. The debug version of
9262 the
9263 code includes the debug output trace mechanism and has a much larger code
9264 and data size. Note that these values will vary depending on the
9265 efficiency
9266 of the compiler and the compiler options used during generation.
9267
9268 Previous Release:
9269 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
9270 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
9271 Current Release:
9272 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
9273 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
9274
9275
9276 2) iASL Compiler/Disassembler:
9277
9278 The compiler now officially supports the ACPI 3.0a specification that was
9279 released on December 30, 2005. (Specification is available at
9280 www.acpi.info)
9281
9282 ----------------------------------------
9283 16 December 2005. Summary of changes for version 20051216:
9284
9285 1) ACPI CA Core Subsystem:
9286
9287 Implemented optional support to allow unresolved names within ASL Package
9288 objects. A null object is inserted in the package when a named reference
9289 cannot be located in the current namespace. Enabled via the interpreter
9290 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
9291 machines
9292 that contain such code.
9293
9294 Implemented an optimization to the initialization sequence that can
9295 improve
9296 boot time. During ACPI device initialization, the _STA method is now run
9297 if
9298 and only if the _INI method exists. The _STA method is used to determine
9299 if
9300 the device is present; An _INI can only be run if _STA returns present,
9301 but
9302 it is a waste of time to run the _STA method if the _INI does not exist.
9303 (Prototype and assistance from Dong Wei)
9304
9305 Implemented use of the C99 uintptr_t for the pointer casting macros if it
9306 is
9307 available in the current compiler. Otherwise, the default (void *) cast
9308 is
9309 used as before.
9310
9311 Fixed some possible memory leaks found within the execution path of the
9312 Break, Continue, If, and CreateField operators. (Valery Podrezov)
9313
9314 Fixed a problem introduced in the 20051202 release where an exception is
9315 generated during method execution if a control method attempts to declare
9316 another method.
9317
9318 Moved resource descriptor string constants that are used by both the AML
9319 disassembler and AML debugger to the common utilities directory so that
9320 these components are independent.
9321
9322 Implemented support in the AcpiExec utility (-e switch) to globally
9323 ignore
9324 exceptions during control method execution (method is not aborted.)
9325
9326 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
9327 generation.
9328
9329 Code and Data Size: The current and previous library sizes for the core
9330 subsystem are shown below. These are the code and data sizes for the
9331 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9332 These
9333 values do not include any ACPI driver or OSPM code. The debug version of
9334 the
9335 code includes the debug output trace mechanism and has a much larger code
9336 and data size. Note that these values will vary depending on the
9337 efficiency
9338 of the compiler and the compiler options used during generation.
9339
9340 Previous Release:
9341 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9342 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
9343 Current Release:
9344 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
9345 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
9346
9347
9348 2) iASL Compiler/Disassembler:
9349
9350 Fixed a problem where a CPU stack overflow fault could occur if a
9351 recursive
9352 method call was made from within a Return statement.
9353
9354 ----------------------------------------
9355 02 December 2005. Summary of changes for version 20051202:
9356
9357 1) ACPI CA Core Subsystem:
9358
9359 Modified the parsing of control methods to no longer create namespace
9360 objects during the first pass of the parse. Objects are now created only
9361 during the execute phase, at the moment the namespace creation operator
9362 is
9363 encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
9364 This
9365 should eliminate ALREADY_EXISTS exceptions seen on some machines where
9366 reentrant control methods are protected by an AML mutex. The mutex will
9367 now
9368 correctly block multiple threads from attempting to create the same
9369 object
9370 more than once.
9371
9372 Increased the number of available Owner Ids for namespace object tracking
9373 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
9374 on
9375 some machines with a large number of ACPI tables (either static or
9376 dynamic).
9377
9378 Fixed a problem with the AcpiExec utility where a fault could occur when
9379 the
9380 -b switch (batch mode) is used.
9381
9382 Enhanced the namespace dump routine to output the owner ID for each
9383 namespace object.
9384
9385 Code and Data Size: The current and previous library sizes for the core
9386 subsystem are shown below. These are the code and data sizes for the
9387 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9388 These
9389 values do not include any ACPI driver or OSPM code. The debug version of
9390 the
9391 code includes the debug output trace mechanism and has a much larger code
9392 and data size. Note that these values will vary depending on the
9393 efficiency
9394 of the compiler and the compiler options used during generation.
9395
9396 Previous Release:
9397 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9398 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9399 Current Release:
9400 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9401 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
9402
9403
9404 2) iASL Compiler/Disassembler:
9405
9406 Fixed a parse error during compilation of certain Switch/Case constructs.
9407 To
9408 simplify the parse, the grammar now allows for multiple Default
9409 statements
9410 and this error is now detected and flagged during the analysis phase.
9411
9412 Disassembler: The disassembly now includes the contents of the original
9413 table header within a comment at the start of the file. This includes the
9414 name and version of the original ASL compiler.
9415
9416 ----------------------------------------
9417 17 November 2005. Summary of changes for version 20051117:
9418
9419 1) ACPI CA Core Subsystem:
9420
9421 Fixed a problem in the AML parser where the method thread count could be
9422 decremented below zero if any errors occurred during the method parse
9423 phase.
9424 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
9425 machines.
9426 This also fixed a related regression with the mechanism that detects and
9427 corrects methods that cannot properly handle reentrancy (related to the
9428 deployment of the new OwnerId mechanism.)
9429
9430 Eliminated the pre-parsing of control methods (to detect errors) during
9431 table load. Related to the problem above, this was causing unwind issues
9432 if
9433 any errors occurred during the parse, and it seemed to be overkill. A
9434 table
9435 load should not be aborted if there are problems with any single control
9436 method, thus rendering this feature rather pointless.
9437
9438 Fixed a problem with the new table-driven resource manager where an
9439 internal
9440 buffer overflow could occur for small resource templates.
9441
9442 Implemented a new external interface, AcpiGetVendorResource. This
9443 interface
9444 will find and return a vendor-defined resource descriptor within a _CRS
9445 or
9446 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
9447 Helgaas.
9448
9449 Removed the length limit (200) on string objects as per the upcoming ACPI
9450 3.0A specification. This affects the following areas of the interpreter:
9451 1)
9452 any implicit conversion of a Buffer to a String, 2) a String object
9453 result
9454 of the ASL Concatentate operator, 3) the String object result of the ASL
9455 ToString operator.
9456
9457 Fixed a problem in the Windows OS interface layer (OSL) where a
9458 WAIT_FOREVER
9459 on a semaphore object would incorrectly timeout. This allows the
9460 multithreading features of the AcpiExec utility to work properly under
9461 Windows.
9462
9463 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
9464 the recently added file named "utresrc.c".
9465
9466 Code and Data Size: The current and previous library sizes for the core
9467 subsystem are shown below. These are the code and data sizes for the
9468 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9469 These
9470 values do not include any ACPI driver or OSPM code. The debug version of
9471 the
9472 code includes the debug output trace mechanism and has a much larger code
9473 and data size. Note that these values will vary depending on the
9474 efficiency
9475 of the compiler and the compiler options used during generation.
9476
9477 Previous Release:
9478 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
9479 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9480 Current Release:
9481 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9482 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9483
9484
9485 2) iASL Compiler/Disassembler:
9486
9487 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
9488 specification. For the iASL compiler, this means that string literals
9489 within
9490 the source ASL can be of any length.
9491
9492 Enhanced the listing output to dump the AML code for resource descriptors
9493 immediately after the ASL code for each descriptor, instead of in a block
9494 at
9495 the end of the entire resource template.
9496
9497 Enhanced the compiler debug output to dump the entire original parse tree
9498 constructed during the parse phase, before any transforms are applied to
9499 the
9500 tree. The transformed tree is dumped also.
9501
9502 ----------------------------------------
9503 02 November 2005. Summary of changes for version 20051102:
9504
9505 1) ACPI CA Core Subsystem:
9506
9507 Modified the subsystem initialization sequence to improve GPE support.
9508 The
9509 GPE initialization has been split into two parts in order to defer
9510 execution
9511 of the _PRW methods (Power Resources for Wake) until after the hardware
9512 is
9513 fully initialized and the SCI handler is installed. This allows the _PRW
9514 methods to access fields protected by the Global Lock. This will fix
9515 systems
9516 where a NO_GLOBAL_LOCK exception has been seen during initialization.
9517
9518 Converted the ACPI internal object disassemble and display code within
9519 the
9520 AML debugger to fully table-driven operation, reducing code size and
9521 increasing maintainability.
9522
9523 Fixed a regression with the ConcatenateResTemplate() ASL operator
9524 introduced
9525 in the 20051021 release.
9526
9527 Implemented support for "local" internal ACPI object types within the
9528 debugger "Object" command and the AcpiWalkNamespace external interfaces.
9529 These local types include RegionFields, BankFields, IndexFields, Alias,
9530 and
9531 reference objects.
9532
9533 Moved common AML resource handling code into a new file, "utresrc.c".
9534 This
9535 code is shared by both the Resource Manager and the AML Debugger.
9536
9537 Code and Data Size: The current and previous library sizes for the core
9538 subsystem are shown below. These are the code and data sizes for the
9539 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9540 These
9541 values do not include any ACPI driver or OSPM code. The debug version of
9542 the
9543 code includes the debug output trace mechanism and has a much larger code
9544 and data size. Note that these values will vary depending on the
9545 efficiency
9546 of the compiler and the compiler options used during generation.
9547
9548 Previous Release:
9549 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
9550 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
9551 Current Release:
9552 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
9553 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9554
9555
9556 2) iASL Compiler/Disassembler:
9557
9558 Fixed a problem with very large initializer lists (more than 4000
9559 elements)
9560 for both Buffer and Package objects where the parse stack could overflow.
9561
9562 Enhanced the pre-compile source code scan for non-ASCII characters to
9563 ignore
9564 characters within comment fields. The scan is now always performed and is
9565 no
9566 longer optional, detecting invalid characters within a source file
9567 immediately rather than during the parse phase or later.
9568
9569 Enhanced the ASL grammar definition to force early reductions on all
9570 list-
9571 style grammar elements so that the overall parse stack usage is greatly
9572 reduced. This should improve performance and reduce the possibility of
9573 parse
9574 stack overflow.
9575
9576 Eliminated all reduce/reduce conflicts in the iASL parser generation.
9577 Also,
9578 with the addition of a %expected statement, the compiler generates from
9579 source with no warnings.
9580
9581 Fixed a possible segment fault in the disassembler if the input filename
9582 does not contain a "dot" extension (Thomas Renninger).
9583
9584 ----------------------------------------
9585 21 October 2005. Summary of changes for version 20051021:
9586
9587 1) ACPI CA Core Subsystem:
9588
9589 Implemented support for the EM64T and other x86-64 processors. This
9590 essentially entails recognizing that these processors support non-aligned
9591 memory transfers. Previously, all 64-bit processors were assumed to lack
9592 hardware support for non-aligned transfers.
9593
9594 Completed conversion of the Resource Manager to nearly full table-driven
9595 operation. Specifically, the resource conversion code (convert AML to
9596 internal format and the reverse) and the debug code to dump internal
9597 resource descriptors are fully table-driven, reducing code and data size
9598 and
9599 improving maintainability.
9600
9601 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
9602 word
9603 on 64-bit processors instead of a fixed 32-bit word. (With assistance
9604 from
9605 Alexey Starikovskiy)
9606
9607 Implemented support within the resource conversion code for the Type-
9608 Specific byte within the various ACPI 3.0 *WordSpace macros.
9609
9610 Fixed some issues within the resource conversion code for the type-
9611 specific
9612 flags for both Memory and I/O address resource descriptors. For Memory,
9613 implemented support for the MTP and TTP flags. For I/O, split the TRS and
9614 TTP flags into two separate fields.
9615
9616 Code and Data Size: The current and previous library sizes for the core
9617 subsystem are shown below. These are the code and data sizes for the
9618 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9619 These
9620 values do not include any ACPI driver or OSPM code. The debug version of
9621 the
9622 code includes the debug output trace mechanism and has a much larger code
9623 and data size. Note that these values will vary depending on the
9624 efficiency
9625 of the compiler and the compiler options used during generation.
9626
9627 Previous Release:
9628 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
9629 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
9630 Current Release:
9631 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
9632 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
9633
9634
9635
9636 2) iASL Compiler/Disassembler:
9637
9638 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
9639 the
9640 corresponding ResourceSource string was not also present in a resource
9641 descriptor declaration. This restriction caused problems with existing
9642 AML/ASL code that includes the Index byte without the string. When such
9643 AML
9644 was disassembled, it could not be compiled without modification. Further,
9645 the modified code created a resource template with a different size than
9646 the
9647 original, breaking code that used fixed offsets into the resource
9648 template
9649 buffer.
9650
9651 Removed a recent feature of the disassembler to ignore a lone
9652 ResourceIndex
9653 byte. This byte is now emitted if present so that the exact AML can be
9654 reproduced when the disassembled code is recompiled.
9655
9656 Improved comments and text alignment for the resource descriptor code
9657 emitted by the disassembler.
9658
9659 Implemented disassembler support for the ACPI 3.0 AccessSize field within
9660 a
9661 Register() resource descriptor.
9662
9663 ----------------------------------------
9664 30 September 2005. Summary of changes for version 20050930:
9665
9666 1) ACPI CA Core Subsystem:
9667
9668 Completed a major overhaul of the Resource Manager code - specifically,
9669 optimizations in the area of the AML/internal resource conversion code.
9670 The
9671 code has been optimized to simplify and eliminate duplicated code, CPU
9672 stack
9673 use has been decreased by optimizing function parameters and local
9674 variables, and naming conventions across the manager have been
9675 standardized
9676 for clarity and ease of maintenance (this includes function, parameter,
9677 variable, and struct/typedef names.) The update may force changes in some
9678 driver code, depending on how resources are handled by the host OS.
9679
9680 All Resource Manager dispatch and information tables have been moved to a
9681 single location for clarity and ease of maintenance. One new file was
9682 created, named "rsinfo.c".
9683
9684 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
9685 guarantee that the argument is not evaluated twice, making them less
9686 prone
9687 to macro side-effects. However, since there exists the possibility of
9688 additional stack use if a particular compiler cannot optimize them (such
9689 as
9690 in the debug generation case), the original macros are optionally
9691 available.
9692 Note that some invocations of the return_VALUE macro may now cause size
9693 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
9694 to
9695 eliminate these. (From Randy Dunlap)
9696
9697 Implemented a new mechanism to enable debug tracing for individual
9698 control
9699 methods. A new external interface, AcpiDebugTrace, is provided to enable
9700 this mechanism. The intent is to allow the host OS to easily enable and
9701 disable tracing for problematic control methods. This interface can be
9702 easily exposed to a user or debugger interface if desired. See the file
9703 psxface.c for details.
9704
9705 AcpiUtCallocate will now return a valid pointer if a length of zero is
9706 specified - a length of one is used and a warning is issued. This matches
9707 the behavior of AcpiUtAllocate.
9708
9709 Code and Data Size: The current and previous library sizes for the core
9710 subsystem are shown below. These are the code and data sizes for the
9711 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9712 These
9713 values do not include any ACPI driver or OSPM code. The debug version of
9714 the
9715 code includes the debug output trace mechanism and has a much larger code
9716 and data size. Note that these values will vary depending on the
9717 efficiency
9718 of the compiler and the compiler options used during generation.
9719
9720 Previous Release:
9721 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
9722 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
9723 Current Release:
9724 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
9725 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
9726
9727
9728 2) iASL Compiler/Disassembler:
9729
9730 A remark is issued if the effective compile-time length of a package or
9731 buffer is zero. Previously, this was a warning.
9732
9733 ----------------------------------------
9734 16 September 2005. Summary of changes for version 20050916:
9735
9736 1) ACPI CA Core Subsystem:
9737
9738 Fixed a problem within the Resource Manager where support for the Generic
9739 Register descriptor was not fully implemented. This descriptor is now
9740 fully
9741 recognized, parsed, disassembled, and displayed.
9742
9743 Completely restructured the Resource Manager code to utilize table-driven
9744 dispatch and lookup, eliminating many of the large switch() statements.
9745 This
9746 reduces overall subsystem code size and code complexity. Affects the
9747 resource parsing and construction, disassembly, and debug dump output.
9748
9749 Cleaned up and restructured the debug dump output for all resource
9750 descriptors. Improved readability of the output and reduced code size.
9751
9752 Fixed a problem where changes to internal data structures caused the
9753 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
9754
9755 Code and Data Size: The current and previous library sizes for the core
9756 subsystem are shown below. These are the code and data sizes for the
9757 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9758 These
9759 values do not include any ACPI driver or OSPM code. The debug version of
9760 the
9761 code includes the debug output trace mechanism and has a much larger code
9762 and data size. Note that these values will vary depending on the
9763 efficiency
9764 of the compiler and the compiler options used during generation.
9765
9766 Previous Release:
9767 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
9768 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
9769 Current Release:
9770 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
9771 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
9772
9773
9774 2) iASL Compiler/Disassembler:
9775
9776 Updated the disassembler to automatically insert an EndDependentFn()
9777 macro
9778 into the ASL stream if this macro is missing in the original AML code,
9779 simplifying compilation of the resulting ASL module.
9780
9781 Fixed a problem in the disassembler where a disassembled ResourceSource
9782 string (within a large resource descriptor) was not surrounded by quotes
9783 and
9784 not followed by a comma, causing errors when the resulting ASL module was
9785 compiled. Also, escape sequences within a ResourceSource string are now
9786 handled correctly (especially "\\")
9787
9788 ----------------------------------------
9789 02 September 2005. Summary of changes for version 20050902:
9790
9791 1) ACPI CA Core Subsystem:
9792
9793 Fixed a problem with the internal Owner ID allocation and deallocation
9794 mechanisms for control method execution and recursive method invocation.
9795 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
9796 messages seen on some systems. Recursive method invocation depth is
9797 currently limited to 255. (Alexey Starikovskiy)
9798
9799 Completely eliminated all vestiges of support for the "module-level
9800 executable code" until this support is fully implemented and debugged.
9801 This
9802 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
9803 some systems that invoke this support.
9804
9805 Fixed a problem within the resource manager code where the transaction
9806 flags
9807 for a 64-bit address descriptor were handled incorrectly in the type-
9808 specific flag byte.
9809
9810 Consolidated duplicate code within the address descriptor resource
9811 manager
9812 code, reducing overall subsystem code size.
9813
9814 Fixed a fault when using the AML debugger "disassemble" command to
9815 disassemble individual control methods.
9816
9817 Removed references to the "release_current" directory within the Unix
9818 release package.
9819
9820 Code and Data Size: The current and previous core subsystem library sizes
9821 are shown below. These are the code and data sizes for the acpica.lib
9822 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
9823 include any ACPI driver or OSPM code. The debug version of the code
9824 includes
9825 the debug output trace mechanism and has a much larger code and data
9826 size.
9827 Note that these values will vary depending on the efficiency of the
9828 compiler
9829 and the compiler options used during generation.
9830
9831 Previous Release:
9832 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
9833 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
9834 Current Release:
9835 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
9836 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
9837
9838
9839 2) iASL Compiler/Disassembler:
9840
9841 Implemented an error check for illegal duplicate values in the interrupt
9842 and
9843 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
9844 Interrupt().
9845
9846 Implemented error checking for the Irq() and IrqNoFlags() macros to
9847 detect
9848 too many values in the interrupt list (16 max) and invalid values in the
9849 list (range 0 - 15)
9850
9851 The maximum length string literal within an ASL file is now restricted to
9852 200 characters as per the ACPI specification.
9853
9854 Fixed a fault when using the -ln option (generate namespace listing).
9855
9856 Implemented an error check to determine if a DescriptorName within a
9857 resource descriptor has already been used within the current scope.
9858
9859 ----------------------------------------
9860 15 August 2005. Summary of changes for version 20050815:
9861
9862 1) ACPI CA Core Subsystem:
9863
9864 Implemented a full bytewise compare to determine if a table load request
9865 is
9866 attempting to load a duplicate table. The compare is performed if the
9867 table
9868 signatures and table lengths match. This will allow different tables with
9869 the same OEM Table ID and revision to be loaded - probably against the
9870 ACPI
9871 specification, but discovered in the field nonetheless.
9872
9873 Added the changes.txt logfile to each of the zipped release packages.
9874
9875 Code and Data Size: Current and previous core subsystem library sizes are
9876 shown below. These are the code and data sizes for the acpica.lib
9877 produced
9878 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9879 any ACPI driver or OSPM code. The debug version of the code includes the
9880 debug output trace mechanism and has a much larger code and data size.
9881 Note
9882 that these values will vary depending on the efficiency of the compiler
9883 and
9884 the compiler options used during generation.
9885
9886 Previous Release:
9887 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
9888 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
9889 Current Release:
9890 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
9891 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
9892
9893
9894 2) iASL Compiler/Disassembler:
9895
9896 Fixed a problem where incorrect AML code could be generated for Package
9897 objects if optimization is disabled (via the -oa switch).
9898
9899 Fixed a problem with where incorrect AML code is generated for variable-
9900 length packages when the package length is not specified and the number
9901 of
9902 initializer values is greater than 255.
9903
9904
9905 ----------------------------------------
9906 29 July 2005. Summary of changes for version 20050729:
9907
9908 1) ACPI CA Core Subsystem:
9909
9910 Implemented support to ignore an attempt to install/load a particular
9911 ACPI
9912 table more than once. Apparently there exists BIOS code that repeatedly
9913 attempts to load the same SSDT upon certain events. With assistance from
9914 Venkatesh Pallipadi.
9915
9916 Restructured the main interface to the AML parser in order to correctly
9917 handle all exceptional conditions. This will prevent leakage of the
9918 OwnerId
9919 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
9920 some
9921 machines. With assistance from Alexey Starikovskiy.
9922
9923 Support for "module level code" has been disabled in this version due to
9924 a
9925 number of issues that have appeared on various machines. The support can
9926 be
9927 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
9928 compilation. When the issues are fully resolved, the code will be enabled
9929 by
9930 default again.
9931
9932 Modified the internal functions for debug print support to define the
9933 FunctionName parameter as a (const char *) for compatibility with
9934 compiler
9935 built-in macros such as __FUNCTION__, etc.
9936
9937 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
9938
9939 Implemented support to display an object count summary for the AML
9940 Debugger
9941 commands Object and Methods.
9942
9943 Code and Data Size: Current and previous core subsystem library sizes are
9944 shown below. These are the code and data sizes for the acpica.lib
9945 produced
9946 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9947 any ACPI driver or OSPM code. The debug version of the code includes the
9948 debug output trace mechanism and has a much larger code and data size.
9949 Note
9950 that these values will vary depending on the efficiency of the compiler
9951 and
9952 the compiler options used during generation.
9953
9954 Previous Release:
9955 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
9956 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
9957 Current Release:
9958 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
9959 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
9960
9961
9962 2) iASL Compiler/Disassembler:
9963
9964 Fixed a regression that appeared in the 20050708 version of the compiler
9965 where an error message was inadvertently emitted for invocations of the
9966 _OSI
9967 reserved control method.
9968
9969 ----------------------------------------
9970 08 July 2005. Summary of changes for version 20050708:
9971
9972 1) ACPI CA Core Subsystem:
9973
9974 The use of the CPU stack in the debug version of the subsystem has been
9975 considerably reduced. Previously, a debug structure was declared in every
9976 function that used the debug macros. This structure has been removed in
9977 favor of declaring the individual elements as parameters to the debug
9978 functions. This reduces the cumulative stack use during nested execution
9979 of
9980 ACPI function calls at the cost of a small increase in the code size of
9981 the
9982 debug version of the subsystem. With assistance from Alexey Starikovskiy
9983 and
9984 Len Brown.
9985
9986 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
9987 headers to define a macro that will return the current function name at
9988 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
9989 by
9990 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
9991 compiler-dependent header, the function name is saved on the CPU stack
9992 (one
9993 pointer per function.) This mechanism is used because apparently there
9994 exists no standard ANSI-C defined macro that that returns the function
9995 name.
9996
9997 Redesigned and reimplemented the "Owner ID" mechanism used to track
9998 namespace objects created/deleted by ACPI tables and control method
9999 execution. A bitmap is now used to allocate and free the IDs, thus
10000 solving
10001 the wraparound problem present in the previous implementation. The size
10002 of
10003 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
10004 Starikovskiy).
10005
10006 Removed the UINT32_BIT and UINT16_BIT types that were used for the
10007 bitfield
10008 flag definitions within the headers for the predefined ACPI tables. These
10009 have been replaced by UINT8_BIT in order to increase the code portability
10010 of
10011 the subsystem. If the use of UINT8 remains a problem, we may be forced to
10012 eliminate bitfields entirely because of a lack of portability.
10013
10014 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
10015 This
10016 is a frequently used function and this improvement increases the
10017 performance
10018 of the entire subsystem (Alexey Starikovskiy).
10019
10020 Fixed several possible memory leaks and the inverse - premature object
10021 deletion (Alexey Starikovskiy).
10022
10023 Code and Data Size: Current and previous core subsystem library sizes are
10024 shown below. These are the code and data sizes for the acpica.lib
10025 produced
10026 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10027 any ACPI driver or OSPM code. The debug version of the code includes the
10028 debug output trace mechanism and has a much larger code and data size.
10029 Note
10030 that these values will vary depending on the efficiency of the compiler
10031 and
10032 the compiler options used during generation.
10033
10034 Previous Release:
10035 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
10036 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
10037 Current Release:
10038 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
10039 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
10040
10041 ----------------------------------------
10042 24 June 2005. Summary of changes for version 20050624:
10043
10044 1) ACPI CA Core Subsystem:
10045
10046 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
10047 the host-defined cache object. This allows the OSL implementation to
10048 define
10049 and type this object in any manner desired, simplifying the OSL
10050 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
10051 Linux, and should be defined in the OS-specific header file for other
10052 operating systems as required.
10053
10054 Changed the interface to AcpiOsAcquireObject to directly return the
10055 requested object as the function return (instead of ACPI_STATUS.) This
10056 change was made for performance reasons, since this is the purpose of the
10057 interface in the first place. AcpiOsAcquireObject is now similar to the
10058 AcpiOsAllocate interface.
10059
10060 Implemented a new AML debugger command named Businfo. This command
10061 displays
10062 information about all devices that have an associate _PRT object. The
10063 _ADR,
10064 _HID, _UID, and _CID are displayed for these devices.
10065
10066 Modified the initialization sequence in AcpiInitializeSubsystem to call
10067 the
10068 OSL interface AcpiOslInitialize first, before any local initialization.
10069 This
10070 change was required because the global initialization now calls OSL
10071 interfaces.
10072
10073 Enhanced the Dump command to display the entire contents of Package
10074 objects
10075 (including all sub-objects and their values.)
10076
10077 Restructured the code base to split some files because of size and/or
10078 because the code logically belonged in a separate file. New files are
10079 listed
10080 below. All makefiles and project files included in the ACPI CA release
10081 have
10082 been updated.
10083 utilities/utcache.c /* Local cache interfaces */
10084 utilities/utmutex.c /* Local mutex support */
10085 utilities/utstate.c /* State object support */
10086 interpreter/parser/psloop.c /* Main AML parse loop */
10087
10088 Code and Data Size: Current and previous core subsystem library sizes are
10089 shown below. These are the code and data sizes for the acpica.lib
10090 produced
10091 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10092 any ACPI driver or OSPM code. The debug version of the code includes the
10093 debug output trace mechanism and has a much larger code and data size.
10094 Note
10095 that these values will vary depending on the efficiency of the compiler
10096 and
10097 the compiler options used during generation.
10098
10099 Previous Release:
10100 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
10101 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
10102 Current Release:
10103 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
10104 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
10105
10106
10107 2) iASL Compiler/Disassembler:
10108
10109 Fixed a regression introduced in version 20050513 where the use of a
10110 Package
10111 object within a Case() statement caused a compile time exception. The
10112 original behavior has been restored (a Match() operator is emitted.)
10113
10114 ----------------------------------------
10115 17 June 2005. Summary of changes for version 20050617:
10116
10117 1) ACPI CA Core Subsystem:
10118
10119 Moved the object cache operations into the OS interface layer (OSL) to
10120 allow
10121 the host OS to handle these operations if desired (for example, the Linux
10122 OSL will invoke the slab allocator). This support is optional; the
10123 compile
10124 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
10125 cache
10126 code in the ACPI CA core. The new OSL interfaces are shown below. See
10127 utalloc.c for an example implementation, and acpiosxf.h for the exact
10128 interface definitions. With assistance from Alexey Starikovskiy.
10129 AcpiOsCreateCache
10130 AcpiOsDeleteCache
10131 AcpiOsPurgeCache
10132 AcpiOsAcquireObject
10133 AcpiOsReleaseObject
10134
10135 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
10136 return
10137 and restore a flags parameter. This fits better with many OS lock models.
10138 Note: the current execution state (interrupt handler or not) is no longer
10139 passed to these interfaces. If necessary, the OSL must determine this
10140 state
10141 by itself, a simple and fast operation. With assistance from Alexey
10142 Starikovskiy.
10143
10144 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
10145 present if the revision of the RSDP was 2 or greater. According to the
10146 ACPI
10147 specification, the XSDT is optional in all cases, and the table manager
10148 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
10149 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
10150 contain
10151 only the RSDT.
10152
10153 Fixed an interpreter problem with the Mid() operator in the case of an
10154 input
10155 string where the resulting output string is of zero length. It now
10156 correctly
10157 returns a valid, null terminated string object instead of a string object
10158 with a null pointer.
10159
10160 Fixed a problem with the control method argument handling to allow a
10161 store
10162 to an Arg object that already contains an object of type Device. The
10163 Device
10164 object is now correctly overwritten. Previously, an error was returned.
10165
10166
10167 Enhanced the debugger Find command to emit object values in addition to
10168 the
10169 found object pathnames. The output format is the same as the dump
10170 namespace
10171 command.
10172
10173 Enhanced the debugger Set command. It now has the ability to set the
10174 value
10175 of any Named integer object in the namespace (Previously, only method
10176 locals
10177 and args could be set.)
10178
10179 Code and Data Size: Current and previous core subsystem library sizes are
10180 shown below. These are the code and data sizes for the acpica.lib
10181 produced
10182 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10183 any ACPI driver or OSPM code. The debug version of the code includes the
10184 debug output trace mechanism and has a much larger code and data size.
10185 Note
10186 that these values will vary depending on the efficiency of the compiler
10187 and
10188 the compiler options used during generation.
10189
10190 Previous Release:
10191 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
10192 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
10193 Current Release:
10194 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
10195 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
10196
10197
10198 2) iASL Compiler/Disassembler:
10199
10200 Fixed a regression in the disassembler where if/else/while constructs
10201 were
10202 output incorrectly. This problem was introduced in the previous release
10203 (20050526). This problem also affected the single-step disassembly in the
10204 debugger.
10205
10206 Fixed a problem where compiling the reserved _OSI method would randomly
10207 (but
10208 rarely) produce compile errors.
10209
10210 Enhanced the disassembler to emit compilable code in the face of
10211 incorrect
10212 AML resource descriptors. If the optional ResourceSourceIndex is present,
10213 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
10214 disassembly. Otherwise, the resulting code cannot be compiled without
10215 errors.
10216
10217 ----------------------------------------
10218 26 May 2005. Summary of changes for version 20050526:
10219
10220 1) ACPI CA Core Subsystem:
10221
10222 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
10223 the module level (not within a control method.) These opcodes are
10224 executed
10225 exactly once at the time the table is loaded. This type of code was legal
10226 up
10227 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
10228 in
10229 order to provide backwards compatibility with earlier BIOS
10230 implementations.
10231 This eliminates the "Encountered executable code at module level" warning
10232 that was previously generated upon detection of such code.
10233
10234 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
10235 inadvertently be generated during the lookup of namespace objects in the
10236 second pass parse of ACPI tables and control methods. It appears that
10237 this
10238 problem could occur during the resolution of forward references to
10239 namespace
10240 objects.
10241
10242 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
10243 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
10244 allows the deadlock detection debug code to be compiled out in the normal
10245 case, improving mutex performance (and overall subsystem performance)
10246 considerably.
10247
10248 Implemented a handful of miscellaneous fixes for possible memory leaks on
10249 error conditions and error handling control paths. These fixes were
10250 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
10251
10252 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
10253 (tbxfroot.c)
10254 to prevent a fault in this error case.
10255
10256 Code and Data Size: Current and previous core subsystem library sizes are
10257 shown below. These are the code and data sizes for the acpica.lib
10258 produced
10259 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10260 any ACPI driver or OSPM code. The debug version of the code includes the
10261 debug output trace mechanism and has a much larger code and data size.
10262 Note
10263 that these values will vary depending on the efficiency of the compiler
10264 and
10265 the compiler options used during generation.
10266
10267 Previous Release:
10268 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10269 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10270 Current Release:
10271 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
10272 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
10273
10274
10275 2) iASL Compiler/Disassembler:
10276
10277 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
10278 the module level (not within a control method.) These operators will be
10279 executed once at the time the table is loaded. This type of code was
10280 legal
10281 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
10282 compiler in order to provide backwards compatibility with earlier BIOS
10283 ASL
10284 code.
10285
10286 The ACPI integer width (specified via the table revision ID or the -r
10287 override, 32 or 64 bits) is now used internally during compile-time
10288 constant
10289 folding to ensure that constants are truncated to 32 bits if necessary.
10290 Previously, the revision ID value was only emitted in the AML table
10291 header.
10292
10293 An error message is now generated for the Mutex and Method operators if
10294 the
10295 SyncLevel parameter is outside the legal range of 0 through 15.
10296
10297 Fixed a problem with the Method operator ParameterTypes list handling
10298 (ACPI
10299 3.0). Previously, more than 2 types or 2 arguments generated a syntax
10300 error.
10301 The actual underlying implementation of method argument typechecking is
10302 still under development, however.
10303
10304 ----------------------------------------
10305 13 May 2005. Summary of changes for version 20050513:
10306
10307 1) ACPI CA Core Subsystem:
10308
10309 Implemented support for PCI Express root bridges -- added support for
10310 device
10311 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
10312
10313 The interpreter now automatically truncates incoming 64-bit constants to
10314 32
10315 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
10316 This
10317 also affects the iASL compiler constant folding. (Note: as per below, the
10318 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
10319
10320 Fixed a problem where string and buffer objects with "static" pointers
10321 (pointers to initialization data within an ACPI table) were not handled
10322 consistently. The internal object copy operation now always copies the
10323 data
10324 to a newly allocated buffer, regardless of whether the source object is
10325 static or not.
10326
10327 Fixed a problem with the FromBCD operator where an implicit result
10328 conversion was improperly performed while storing the result to the
10329 target
10330 operand. Since this is an "explicit conversion" operator, the implicit
10331 conversion should never be performed on the output.
10332
10333 Fixed a problem with the CopyObject operator where a copy to an existing
10334 named object did not always completely overwrite the existing object
10335 stored
10336 at name. Specifically, a buffer-to-buffer copy did not delete the
10337 existing
10338 buffer.
10339
10340 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
10341 and
10342 structs for consistency.
10343
10344 Code and Data Size: Current and previous core subsystem library sizes are
10345 shown below. These are the code and data sizes for the acpica.lib
10346 produced
10347 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10348 any ACPI driver or OSPM code. The debug version of the code includes the
10349 debug output trace mechanism and has a much larger code and data size.
10350 Note
10351 that these values will vary depending on the efficiency of the compiler
10352 and
10353 the compiler options used during generation.
10354
10355 Previous Release:
10356 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10357 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10358 Current Release: (Same sizes)
10359 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10360 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10361
10362
10363 2) iASL Compiler/Disassembler:
10364
10365 The compiler now emits a warning if an attempt is made to generate a 64-
10366 bit
10367 integer constant from within a 32-bit ACPI table (Revision < 2). The
10368 integer
10369 is truncated to 32 bits.
10370
10371 Fixed a problem with large package objects: if the static length of the
10372 package is greater than 255, the "variable length package" opcode is
10373 emitted. Previously, this caused an error. This requires an update to the
10374 ACPI spec, since it currently (incorrectly) states that packages larger
10375 than
10376 255 elements are not allowed.
10377
10378 The disassembler now correctly handles variable length packages and
10379 packages
10380 larger than 255 elements.
10381
10382 ----------------------------------------
10383 08 April 2005. Summary of changes for version 20050408:
10384
10385 1) ACPI CA Core Subsystem:
10386
10387 Fixed three cases in the interpreter where an "index" argument to an ASL
10388 function was still (internally) 32 bits instead of the required 64 bits.
10389 This was the Index argument to the Index, Mid, and Match operators.
10390
10391 The "strupr" function is now permanently local (AcpiUtStrupr), since this
10392 is
10393 not a POSIX-defined function and not present in most kernel-level C
10394 libraries. All references to the C library strupr function have been
10395 removed
10396 from the headers.
10397
10398 Completed the deployment of static functions/prototypes. All prototypes
10399 with
10400 the static attribute have been moved from the headers to the owning C
10401 file.
10402
10403 Implemented an extract option (-e) for the AcpiBin utility (AML binary
10404 utility). This option allows the utility to extract individual ACPI
10405 tables
10406 from the output of AcpiDmp. It provides the same functionality of the
10407 acpixtract.pl perl script without the worry of setting the correct perl
10408 options. AcpiBin runs on Windows and has not yet been generated/validated
10409 in
10410 the Linux/Unix environment (but should be soon).
10411
10412 Updated and fixed the table dump option for AcpiBin (-d). This option
10413 converts a single ACPI table to a hex/ascii file, similar to the output
10414 of
10415 AcpiDmp.
10416
10417 Code and Data Size: Current and previous core subsystem library sizes are
10418 shown below. These are the code and data sizes for the acpica.lib
10419 produced
10420 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10421 any ACPI driver or OSPM code. The debug version of the code includes the
10422 debug output trace mechanism and has a much larger code and data size.
10423 Note
10424 that these values will vary depending on the efficiency of the compiler
10425 and
10426 the compiler options used during generation.
10427
10428 Previous Release:
10429 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
10430 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
10431 Current Release:
10432 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10433 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10434
10435
10436 2) iASL Compiler/Disassembler:
10437
10438 Disassembler fix: Added a check to ensure that the table length found in
10439 the
10440 ACPI table header within the input file is not longer than the actual
10441 input
10442 file size. This indicates some kind of file or table corruption.
10443
10444 ----------------------------------------
10445 29 March 2005. Summary of changes for version 20050329:
10446
10447 1) ACPI CA Core Subsystem:
10448
10449 An error is now generated if an attempt is made to create a Buffer Field
10450 of
10451 length zero (A CreateField with a length operand of zero.)
10452
10453 The interpreter now issues a warning whenever executable code at the
10454 module
10455 level is detected during ACPI table load. This will give some idea of the
10456 prevalence of this type of code.
10457
10458 Implemented support for references to named objects (other than control
10459 methods) within package objects.
10460
10461 Enhanced package object output for the debug object. Package objects are
10462 now
10463 completely dumped, showing all elements.
10464
10465 Enhanced miscellaneous object output for the debug object. Any object can
10466 now be written to the debug object (for example, a device object can be
10467 written, and the type of the object will be displayed.)
10468
10469 The "static" qualifier has been added to all local functions across both
10470 the
10471 core subsystem and the iASL compiler.
10472
10473 The number of "long" lines (> 80 chars) within the source has been
10474 significantly reduced, by about 1/3.
10475
10476 Cleaned up all header files to ensure that all CA/iASL functions are
10477 prototyped (even static functions) and the formatting is consistent.
10478
10479 Two new header files have been added, acopcode.h and acnames.h.
10480
10481 Removed several obsolete functions that were no longer used.
10482
10483 Code and Data Size: Current and previous core subsystem library sizes are
10484 shown below. These are the code and data sizes for the acpica.lib
10485 produced
10486 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10487 any ACPI driver or OSPM code. The debug version of the code includes the
10488 debug output trace mechanism and has a much larger code and data size.
10489 Note
10490 that these values will vary depending on the efficiency of the compiler
10491 and
10492 the compiler options used during generation.
10493
10494 Previous Release:
10495 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10496 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
10497 Current Release:
10498 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
10499 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
10500
10501
10502
10503 2) iASL Compiler/Disassembler:
10504
10505 Fixed a problem with the resource descriptor generation/support. For the
10506 ResourceSourceIndex and the ResourceSource fields, both must be present,
10507 or
10508 both must be not present - can't have one without the other.
10509
10510 The compiler now returns non-zero from the main procedure if any errors
10511 have
10512 occurred during the compilation.
10513
10514
10515 ----------------------------------------
10516 09 March 2005. Summary of changes for version 20050309:
10517
10518 1) ACPI CA Core Subsystem:
10519
10520 The string-to-buffer implicit conversion code has been modified again
10521 after
10522 a change to the ACPI specification. In order to match the behavior of
10523 the
10524 other major ACPI implementation, the target buffer is no longer truncated
10525 if
10526 the source string is smaller than an existing target buffer. This change
10527 requires an update to the ACPI spec, and should eliminate the recent
10528 AE_AML_BUFFER_LIMIT issues.
10529
10530 The "implicit return" support was rewritten to a new algorithm that
10531 solves
10532 the general case. Rather than attempt to determine when a method is about
10533 to
10534 exit, the result of every ASL operator is saved momentarily until the
10535 very
10536 next ASL operator is executed. Therefore, no matter how the method exits,
10537 there will always be a saved implicit return value. This feature is only
10538 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
10539 eliminate
10540 AE_AML_NO_RETURN_VALUE errors when enabled.
10541
10542 Implemented implicit conversion support for the predicate (operand) of
10543 the
10544 If, Else, and While operators. String and Buffer arguments are
10545 automatically
10546 converted to Integers.
10547
10548 Changed the string-to-integer conversion behavior to match the new ACPI
10549 errata: "If no integer object exists, a new integer is created. The ASCII
10550 string is interpreted as a hexadecimal constant. Each string character is
10551 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
10552 with the first character as the most significant digit, and ending with
10553 the
10554 first non-hexadecimal character or end-of-string." This means that the
10555 first
10556 non-hex character terminates the conversion and this is the code that was
10557 changed.
10558
10559 Fixed a problem where the ObjectType operator would fail (fault) when
10560 used
10561 on an Index of a Package which pointed to a null package element. The
10562 operator now properly returns zero (Uninitialized) in this case.
10563
10564 Fixed a problem where the While operator used excessive memory by not
10565 properly popping the result stack during execution. There was no memory
10566 leak
10567 after execution, however. (Code provided by Valery Podrezov.)
10568
10569 Fixed a problem where references to control methods within Package
10570 objects
10571 caused the method to be invoked, instead of producing a reference object
10572 pointing to the method.
10573
10574 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
10575 to
10576 improve performance and reduce code size. (Code provided by Alexey
10577 Starikovskiy.)
10578
10579 Code and Data Size: Current and previous core subsystem library sizes are
10580 shown below. These are the code and data sizes for the acpica.lib
10581 produced
10582 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10583 any ACPI driver or OSPM code. The debug version of the code includes the
10584 debug output trace mechanism and has a much larger code and data size.
10585 Note
10586 that these values will vary depending on the efficiency of the compiler
10587 and
10588 the compiler options used during generation.
10589
10590 Previous Release:
10591 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10592 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
10593 Current Release:
10594 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10595 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
10596
10597
10598 2) iASL Compiler/Disassembler:
10599
10600 Fixed a problem with the Return operator with no arguments. Since the AML
10601 grammar for the byte encoding requires an operand for the Return opcode,
10602 the
10603 compiler now emits a Return(Zero) for this case. An ACPI specification
10604 update has been written for this case.
10605
10606 For tables other than the DSDT, namepath optimization is automatically
10607 disabled. This is because SSDTs can be loaded anywhere in the namespace,
10608 the
10609 compiler has no knowledge of where, and thus cannot optimize namepaths.
10610
10611 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
10612 inadvertently omitted from the ACPI specification, and will require an
10613 update to the spec.
10614
10615 The source file scan for ASCII characters is now optional (-a). This
10616 change
10617 was made because some vendors place non-ascii characters within comments.
10618 However, the scan is simply a brute-force byte compare to ensure all
10619 characters in the file are in the range 0x00 to 0x7F.
10620
10621 Fixed a problem with the CondRefOf operator where the compiler was
10622 inappropriately checking for the existence of the target. Since the point
10623 of
10624 the operator is to check for the existence of the target at run-time, the
10625 compiler no longer checks for the target existence.
10626
10627 Fixed a problem where errors generated from the internal AML interpreter
10628 during constant folding were not handled properly, causing a fault.
10629
10630 Fixed a problem with overly aggressive range checking for the Stall
10631 operator. The valid range (max 255) is now only checked if the operand is
10632 of
10633 type Integer. All other operand types cannot be statically checked.
10634
10635 Fixed a problem where control method references within the RefOf,
10636 DeRefOf,
10637 and ObjectType operators were not treated properly. They are now treated
10638 as
10639 actual references, not method invocations.
10640
10641 Fixed and enhanced the "list namespace" option (-ln). This option was
10642 broken
10643 a number of releases ago.
10644
10645 Improved error handling for the Field, IndexField, and BankField
10646 operators.
10647 The compiler now cleanly reports and recovers from errors in the field
10648 component (FieldUnit) list.
10649
10650 Fixed a disassembler problem where the optional ResourceDescriptor fields
10651 TRS and TTP were not always handled correctly.
10652
10653 Disassembler - Comments in output now use "//" instead of "/*"
10654
10655 ----------------------------------------
10656 28 February 2005. Summary of changes for version 20050228:
10657
10658 1) ACPI CA Core Subsystem:
10659
10660 Fixed a problem where the result of an Index() operator (an object
10661 reference) must increment the reference count on the target object for
10662 the
10663 life of the object reference.
10664
10665 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
10666 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
10667 WordSpace
10668 resource descriptors.
10669
10670 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
10671 Space Descriptor" string, indicating interpreter support for the
10672 descriptors
10673 above.
10674
10675 Implemented header support for the new ACPI 3.0 FADT flag bits.
10676
10677 Implemented header support for the new ACPI 3.0 PCI Express bits for the
10678 PM1
10679 status/enable registers.
10680
10681 Updated header support for the MADT processor local Apic struct and MADT
10682 platform interrupt source struct for new ACPI 3.0 fields.
10683
10684 Implemented header support for the SRAT and SLIT ACPI tables.
10685
10686 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
10687 flag
10688 at runtime.
10689
10690 Code and Data Size: Current and previous core subsystem library sizes are
10691 shown below. These are the code and data sizes for the acpica.lib
10692 produced
10693 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10694 any ACPI driver or OSPM code. The debug version of the code includes the
10695 debug output trace mechanism and has a much larger code and data size.
10696 Note
10697 that these values will vary depending on the efficiency of the compiler
10698 and
10699 the compiler options used during generation.
10700
10701 Previous Release:
10702 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
10703 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
10704 Current Release:
10705 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10706 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
10707
10708
10709 2) iASL Compiler/Disassembler:
10710
10711 Fixed a problem with the internal 64-bit String-to-integer conversion
10712 with
10713 strings less than two characters long.
10714
10715 Fixed a problem with constant folding where the result of the Index()
10716 operator can not be considered a constant. This means that Index() cannot
10717 be
10718 a type3 opcode and this will require an update to the ACPI specification.
10719
10720 Disassembler: Implemented support for the TTP, MTP, and TRS resource
10721 descriptor fields. These fields were inadvertently ignored and not output
10722 in
10723 the disassembly of the resource descriptor.
10724
10725
10726 ----------------------------------------
10727 11 February 2005. Summary of changes for version 20050211:
10728
10729 1) ACPI CA Core Subsystem:
10730
10731 Implemented ACPI 3.0 support for implicit conversion within the Match()
10732 operator. MatchObjects can now be of type integer, buffer, or string
10733 instead
10734 of just type integer. Package elements are implicitly converted to the
10735 type
10736 of the MatchObject. This change aligns the behavior of Match() with the
10737 behavior of the other logical operators (LLess(), etc.) It also requires
10738 an
10739 errata change to the ACPI specification as this support was intended for
10740 ACPI 3.0, but was inadvertently omitted.
10741
10742 Fixed a problem with the internal implicit "to buffer" conversion.
10743 Strings
10744 that are converted to buffers will cause buffer truncation if the string
10745 is
10746 smaller than the target buffer. Integers that are converted to buffers
10747 will
10748 not cause buffer truncation, only zero extension (both as per the ACPI
10749 spec.) The problem was introduced when code was added to truncate the
10750 buffer, but this should not be performed in all cases, only the string
10751 case.
10752
10753 Fixed a problem with the Buffer and Package operators where the
10754 interpreter
10755 would get confused if two such operators were used as operands to an ASL
10756 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
10757 stack was not being popped after the execution of these operators,
10758 resulting
10759 in an AE_NO_RETURN_VALUE exception.
10760
10761 Fixed a problem with constructs of the form Store(Index(...),...). The
10762 reference object returned from Index was inadvertently resolved to an
10763 actual
10764 value. This problem was introduced in version 20050114 when the behavior
10765 of
10766 Store() was modified to restrict the object types that can be used as the
10767 source operand (to match the ACPI specification.)
10768
10769 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
10770
10771 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
10772
10773 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
10774
10775 Code and Data Size: Current and previous core subsystem library sizes are
10776 shown below. These are the code and data sizes for the acpica.lib
10777 produced
10778 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10779 any ACPI driver or OSPM code. The debug version of the code includes the
10780 debug output trace mechanism and has a much larger code and data size.
10781 Note
10782 that these values will vary depending on the efficiency of the compiler
10783 and
10784 the compiler options used during generation.
10785
10786 Previous Release:
10787 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
10788 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
10789 Current Release:
10790 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
10791 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
10792
10793
10794 2) iASL Compiler/Disassembler:
10795
10796 Fixed a code generation problem in the constant folding optimization code
10797 where incorrect code was generated if a constant was reduced to a buffer
10798 object (i.e., a reduced type 5 opcode.)
10799
10800 Fixed a typechecking problem for the ToBuffer operator. Caused by an
10801 incorrect return type in the internal opcode information table.
10802
10803 ----------------------------------------
10804 25 January 2005. Summary of changes for version 20050125:
10805
10806 1) ACPI CA Core Subsystem:
10807
10808 Fixed a recently introduced problem with the Global Lock where the
10809 underlying semaphore was not created. This problem was introduced in
10810 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
10811 Acquire() operation on _GL.
10812
10813 The local object cache is now optional, and is disabled by default. Both
10814 AcpiExec and the iASL compiler enable the cache because they run in user
10815 mode and this enhances their performance. #define
10816 ACPI_ENABLE_OBJECT_CACHE
10817 to enable the local cache.
10818
10819 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
10820 the
10821 optional "implicit return" support where an error was returned if no
10822 return
10823 object was expected, but one was implicitly returned. AE_OK is now
10824 returned
10825 in this case and the implicitly returned object is deleted.
10826 AcpiUtEvaluateObject is only occasionally used, and only to execute
10827 reserved
10828 methods such as _STA and _INI where the return type is known up front.
10829
10830 Fixed a few issues with the internal convert-to-integer code. It now
10831 returns
10832 an error if an attempt is made to convert a null string, a string of only
10833 blanks/tabs, or a zero-length buffer. This affects both implicit
10834 conversion
10835 and explicit conversion via the ToInteger() operator.
10836
10837 The internal debug code in AcpiUtAcquireMutex has been commented out. It
10838 is
10839 not needed for normal operation and should increase the performance of
10840 the
10841 entire subsystem. The code remains in case it is needed for debug
10842 purposes
10843 again.
10844
10845 The AcpiExec source and makefile are included in the Unix/Linux package
10846 for
10847 the first time.
10848
10849 Code and Data Size: Current and previous core subsystem library sizes are
10850 shown below. These are the code and data sizes for the acpica.lib
10851 produced
10852 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10853 any ACPI driver or OSPM code. The debug version of the code includes the
10854 debug output trace mechanism and has a much larger code and data size.
10855 Note
10856 that these values will vary depending on the efficiency of the compiler
10857 and
10858 the compiler options used during generation.
10859
10860 Previous Release:
10861 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
10862 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
10863 Current Release:
10864 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
10865 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
10866
10867 2) iASL Compiler/Disassembler:
10868
10869 Switch/Case support: A warning is now issued if the type of the Switch
10870 value
10871 cannot be determined at compile time. For example, Switch(Arg0) will
10872 generate the warning, and the type is assumed to be an integer. As per
10873 the
10874 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
10875 the
10876 warning.
10877
10878 Switch/Case support: Implemented support for buffer and string objects as
10879 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
10880 buffers and strings.
10881
10882 Switch/Case support: The emitted code for the LEqual() comparisons now
10883 uses
10884 the switch value as the first operand, not the second. The case value is
10885 now
10886 the second operand, and this allows the case value to be implicitly
10887 converted to the type of the switch value, not the other way around.
10888
10889 Switch/Case support: Temporary variables are now emitted immediately
10890 within
10891 the control method, not at the global level. This means that there are
10892 now
10893 36 temps available per-method, not 36 temps per-module as was the case
10894 with
10895 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
10896
10897 ----------------------------------------
10898 14 January 2005. Summary of changes for version 20050114:
10899
10900 Added 2005 copyright to all module headers. This affects every module in
10901 the core subsystem, iASL compiler, and the utilities.
10902
10903 1) ACPI CA Core Subsystem:
10904
10905 Fixed an issue with the String-to-Buffer conversion code where the string
10906 null terminator was not included in the buffer after conversion, but
10907 there
10908 is existing ASL that assumes the string null terminator is included. This
10909 is
10910 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
10911 introduced in the previous version when the code was updated to correctly
10912 set the converted buffer size as per the ACPI specification. The ACPI
10913 spec
10914 is ambiguous and will be updated to specify that the null terminator must
10915 be
10916 included in the converted buffer. This also affects the ToBuffer() ASL
10917 operator.
10918
10919 Fixed a problem with the Mid() ASL/AML operator where it did not work
10920 correctly on Buffer objects. Newly created sub-buffers were not being
10921 marked
10922 as initialized.
10923
10924
10925 Fixed a problem in AcpiTbFindTable where incorrect string compares were
10926 performed on the OemId and OemTableId table header fields. These fields
10927 are
10928 not null terminated, so strncmp is now used instead of strcmp.
10929
10930 Implemented a restriction on the Store() ASL/AML operator to align the
10931 behavior with the ACPI specification. Previously, any object could be
10932 used
10933 as the source operand. Now, the only objects that may be used are
10934 Integers,
10935 Buffers, Strings, Packages, Object References, and DDB Handles. If
10936 necessary, the original behavior can be restored by enabling the
10937 EnableInterpreterSlack flag.
10938
10939 Enhanced the optional "implicit return" support to allow an implicit
10940 return
10941 value from methods that are invoked externally via the AcpiEvaluateObject
10942 interface. This enables implicit returns from the _STA and _INI methods,
10943 for example.
10944
10945 Changed the Revision() ASL/AML operator to return the current version of
10946 the
10947 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
10948 returned
10949 the supported ACPI version (This is the function of the _REV method).
10950
10951 Updated the _REV predefined method to return the currently supported
10952 version
10953 of ACPI, now 3.
10954
10955 Implemented batch mode option for the AcpiExec utility (-b).
10956
10957 Code and Data Size: Current and previous core subsystem library sizes are
10958 shown below. These are the code and data sizes for the acpica.lib
10959 produced
10960 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10961 any ACPI driver or OSPM code. The debug version of the code includes the
10962 debug output trace mechanism and has a much larger code and data size.
10963 Note
10964 that these values will vary depending on the efficiency of the compiler
10965 and
10966 the compiler options used during generation.
10967
10968 Previous Release:
10969 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10970 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
10971 Current Release:
10972 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
10973 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
10974
10975 ----------------------------------------
10976 10 December 2004. Summary of changes for version 20041210:
10977
10978 ACPI 3.0 support is nearing completion in both the iASL compiler and the
10979 ACPI CA core subsystem.
10980
10981 1) ACPI CA Core Subsystem:
10982
10983 Fixed a problem in the ToDecimalString operator where the resulting
10984 string
10985 length was incorrectly calculated. The length is now calculated exactly,
10986 eliminating incorrect AE_STRING_LIMIT exceptions.
10987
10988 Fixed a problem in the ToHexString operator to allow a maximum 200
10989 character
10990 string to be produced.
10991
10992 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
10993 copy
10994 routine where the length of the resulting buffer was not truncated to the
10995 new size (if the target buffer already existed).
10996
10997 Code and Data Size: Current and previous core subsystem library sizes are
10998 shown below. These are the code and data sizes for the acpica.lib
10999 produced
11000 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11001 any ACPI driver or OSPM code. The debug version of the code includes the
11002 debug output trace mechanism and has a much larger code and data size.
11003 Note
11004 that these values will vary depending on the efficiency of the compiler
11005 and
11006 the compiler options used during generation.
11007
11008 Previous Release:
11009 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11010 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
11011 Current Release:
11012 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11013 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
11014
11015
11016 2) iASL Compiler/Disassembler:
11017
11018 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
11019 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
11020 Includes support in the disassembler.
11021
11022 Implemented support for the new (ACPI 3.0) parameter to the Register
11023 macro,
11024 AccessSize.
11025
11026 Fixed a problem where the _HE resource name for the Interrupt macro was
11027 referencing bit 0 instead of bit 1.
11028
11029 Implemented check for maximum 255 interrupts in the Interrupt macro.
11030
11031 Fixed a problem with the predefined resource descriptor names where
11032 incorrect AML code was generated if the offset within the resource buffer
11033 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
11034 but did not update the surrounding package lengths.
11035
11036 Changes to the Dma macro: All channels within the channel list must be
11037 in
11038 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
11039 optional (default is BusMaster).
11040
11041 Implemented check for maximum 7 data bytes for the VendorShort macro.
11042
11043 The ReadWrite parameter is now optional for the Memory32 and similar
11044 macros.
11045
11046 ----------------------------------------
11047 03 December 2004. Summary of changes for version 20041203:
11048
11049 1) ACPI CA Core Subsystem:
11050
11051 The low-level field insertion/extraction code (exfldio) has been
11052 completely
11053 rewritten to eliminate unnecessary complexity, bugs, and boundary
11054 conditions.
11055
11056 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
11057 ToDecimalString
11058 operators where the input operand could be inadvertently deleted if no
11059 conversion was necessary (e.g., if the input to ToInteger was an Integer
11060 object.)
11061
11062 Fixed a problem with the ToDecimalString and ToHexString where an
11063 incorrect
11064 exception code was returned if the resulting string would be > 200 chars.
11065 AE_STRING_LIMIT is now returned.
11066
11067 Fixed a problem with the Concatenate operator where AE_OK was always
11068 returned, even if the operation failed.
11069
11070 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
11071 semaphores to be allocated.
11072
11073 Code and Data Size: Current and previous core subsystem library sizes are
11074 shown below. These are the code and data sizes for the acpica.lib
11075 produced
11076 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11077 any ACPI driver or OSPM code. The debug version of the code includes the
11078 debug output trace mechanism and has a much larger code and data size.
11079 Note
11080 that these values will vary depending on the efficiency of the compiler
11081 and
11082 the compiler options used during generation.
11083
11084 Previous Release:
11085 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11086 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11087 Current Release:
11088 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11089 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
11090
11091
11092 2) iASL Compiler/Disassembler:
11093
11094 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
11095 recently introduced in 20041119.
11096
11097 Fixed a problem with the ToUUID macro where the upper nybble of each
11098 buffer
11099 byte was inadvertently set to zero.
11100
11101 ----------------------------------------
11102 19 November 2004. Summary of changes for version 20041119:
11103
11104 1) ACPI CA Core Subsystem:
11105
11106 Fixed a problem in the internal ConvertToInteger routine where new
11107 integers
11108 were not truncated to 32 bits for 32-bit ACPI tables. This routine
11109 converts
11110 buffers and strings to integers.
11111
11112 Implemented support to store a value to an Index() on a String object.
11113 This
11114 is an ACPI 2.0 feature that had not yet been implemented.
11115
11116 Implemented new behavior for storing objects to individual package
11117 elements
11118 (via the Index() operator). The previous behavior was to invoke the
11119 implicit
11120 conversion rules if an object was already present at the index. The new
11121 behavior is to simply delete any existing object and directly store the
11122 new
11123 object. Although the ACPI specification seems unclear on this subject,
11124 other
11125 ACPI implementations behave in this manner. (This is the root of the
11126 AE_BAD_HEX_CONSTANT issue.)
11127
11128 Modified the RSDP memory scan mechanism to support the extended checksum
11129 for
11130 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
11131 RSDP signature is found with a valid checksum.
11132
11133 Code and Data Size: Current and previous core subsystem library sizes are
11134 shown below. These are the code and data sizes for the acpica.lib
11135 produced
11136 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11137 any ACPI driver or OSPM code. The debug version of the code includes the
11138 debug output trace mechanism and has a much larger code and data size.
11139 Note
11140 that these values will vary depending on the efficiency of the compiler
11141 and
11142 the compiler options used during generation.
11143
11144 Previous Release:
11145 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11146 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11147 Current Release:
11148 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11149 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11150
11151
11152 2) iASL Compiler/Disassembler:
11153
11154 Fixed a missing semicolon in the aslcompiler.y file.
11155
11156 ----------------------------------------
11157 05 November 2004. Summary of changes for version 20041105:
11158
11159 1) ACPI CA Core Subsystem:
11160
11161 Implemented support for FADT revision 2. This was an interim table
11162 (between
11163 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
11164
11165 Implemented optional support to allow uninitialized LocalX and ArgX
11166 variables in a control method. The variables are initialized to an
11167 Integer
11168 object with a value of zero. This support is enabled by setting the
11169 AcpiGbl_EnableInterpreterSlack flag to TRUE.
11170
11171 Implemented support for Integer objects for the SizeOf operator. Either
11172 4
11173 or 8 is returned, depending on the current integer size (32-bit or 64-
11174 bit,
11175 depending on the parent table revision).
11176
11177 Fixed a problem in the implementation of the SizeOf and ObjectType
11178 operators
11179 where the operand was resolved to a value too early, causing incorrect
11180 return values for some objects.
11181
11182 Fixed some possible memory leaks during exceptional conditions.
11183
11184 Code and Data Size: Current and previous core subsystem library sizes are
11185 shown below. These are the code and data sizes for the acpica.lib
11186 produced
11187 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11188 any ACPI driver or OSPM code. The debug version of the code includes the
11189 debug output trace mechanism and has a much larger code and data size.
11190 Note
11191 that these values will vary depending on the efficiency of the compiler
11192 and
11193 the compiler options used during generation.
11194
11195 Previous Release:
11196 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11197 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
11198 Current Release:
11199 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11200 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11201
11202
11203 2) iASL Compiler/Disassembler:
11204
11205 Implemented support for all ACPI 3.0 reserved names and methods.
11206
11207 Implemented all ACPI 3.0 grammar elements in the front-end, including
11208 support for semicolons.
11209
11210 Implemented the ACPI 3.0 Function() and ToUUID() macros
11211
11212 Fixed a problem in the disassembler where a Scope() operator would not be
11213 emitted properly if the target of the scope was in another table.
11214
11215 ----------------------------------------
11216 15 October 2004. Summary of changes for version 20041015:
11217
11218 Note: ACPI CA is currently undergoing an in-depth and complete formal
11219 evaluation to test/verify the following areas. Other suggestions are
11220 welcome. This will result in an increase in the frequency of releases and
11221 the number of bug fixes in the next few months.
11222 - Functional tests for all ASL/AML operators
11223 - All implicit/explicit type conversions
11224 - Bit fields and operation regions
11225 - 64-bit math support and 32-bit-only "truncated" math support
11226 - Exceptional conditions, both compiler and interpreter
11227 - Dynamic object deletion and memory leaks
11228 - ACPI 3.0 support when implemented
11229 - External interfaces to the ACPI subsystem
11230
11231
11232 1) ACPI CA Core Subsystem:
11233
11234 Fixed two alignment issues on 64-bit platforms - within debug statements
11235 in
11236 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
11237 Address
11238 field within the non-aligned ACPI generic address structure.
11239
11240 Fixed a problem in the Increment and Decrement operators where incorrect
11241 operand resolution could result in the inadvertent modification of the
11242 original integer when the integer is passed into another method as an
11243 argument and the arg is then incremented/decremented.
11244
11245 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
11246 bit
11247 BCD number were truncated during conversion.
11248
11249 Fixed a problem in the ToDecimal operator where the length of the
11250 resulting
11251 string could be set incorrectly too long if the input operand was a
11252 Buffer
11253 object.
11254
11255 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
11256 (0)
11257 within a buffer would prematurely terminate a compare between buffer
11258 objects.
11259
11260 Added a check for string overflow (>200 characters as per the ACPI
11261 specification) during the Concatenate operator with two string operands.
11262
11263 Code and Data Size: Current and previous core subsystem library sizes are
11264 shown below. These are the code and data sizes for the acpica.lib
11265 produced
11266 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11267 any ACPI driver or OSPM code. The debug version of the code includes the
11268 debug output trace mechanism and has a much larger code and data size.
11269 Note
11270 that these values will vary depending on the efficiency of the compiler
11271 and
11272 the compiler options used during generation.
11273
11274 Previous Release:
11275 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11276 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
11277 Current Release:
11278 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11279 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
11280
11281
11282
11283 2) iASL Compiler/Disassembler:
11284
11285 Allow the use of the ObjectType operator on uninitialized Locals and Args
11286 (returns 0 as per the ACPI specification).
11287
11288 Fixed a problem where the compiler would fault if there was a syntax
11289 error
11290 in the FieldName of all of the various CreateXXXField operators.
11291
11292 Disallow the use of lower case letters within the EISAID macro, as per
11293 the
11294 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
11295 Where
11296 U is an uppercase letter and N is a hex digit.
11297
11298
11299 ----------------------------------------
11300 06 October 2004. Summary of changes for version 20041006:
11301
11302 1) ACPI CA Core Subsystem:
11303
11304 Implemented support for the ACPI 3.0 Timer operator. This ASL function
11305 implements a 64-bit timer with 100 nanosecond granularity.
11306
11307 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
11308 implement the ACPI 3.0 Timer operator. This allows the host OS to
11309 implement
11310 the timer with the best clock available. Also, it keeps the core
11311 subsystem
11312 out of the clock handling business, since the host OS (usually) performs
11313 this function.
11314
11315 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
11316 functions use a 64-bit address which is part of the packed ACPI Generic
11317 Address Structure. Since the structure is non-aligned, the alignment
11318 macros
11319 are now used to extract the address to a local variable before use.
11320
11321 Fixed a problem where the ToInteger operator assumed all input strings
11322 were
11323 hexadecimal. The operator now handles both decimal strings and hex
11324 strings
11325 (prefixed with "0x").
11326
11327 Fixed a problem where the string length in the string object created as a
11328 result of the internal ConvertToString procedure could be incorrect. This
11329 potentially affected all implicit conversions and also the
11330 ToDecimalString
11331 and ToHexString operators.
11332
11333 Fixed two problems in the ToString operator. If the length parameter was
11334 zero, an incorrect string object was created and the value of the input
11335 length parameter was inadvertently changed from zero to Ones.
11336
11337 Fixed a problem where the optional ResourceSource string in the
11338 ExtendedIRQ
11339 resource macro was ignored.
11340
11341 Simplified the interfaces to the internal division functions, reducing
11342 code
11343 size and complexity.
11344
11345 Code and Data Size: Current and previous core subsystem library sizes are
11346 shown below. These are the code and data sizes for the acpica.lib
11347 produced
11348 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11349 any ACPI driver or OSPM code. The debug version of the code includes the
11350 debug output trace mechanism and has a much larger code and data size.
11351 Note
11352 that these values will vary depending on the efficiency of the compiler
11353 and
11354 the compiler options used during generation.
11355
11356 Previous Release:
11357 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
11358 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
11359 Current Release:
11360 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11361 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
11362
11363
11364 2) iASL Compiler/Disassembler:
11365
11366 Implemented support for the ACPI 3.0 Timer operator.
11367
11368 Fixed a problem where the Default() operator was inadvertently ignored in
11369 a
11370 Switch/Case block. This was a problem in the translation of the Switch
11371 statement to If...Else pairs.
11372
11373 Added support to allow a standalone Return operator, with no parentheses
11374 (or
11375 operands).
11376
11377 Fixed a problem with code generation for the ElseIf operator where the
11378 translated Else...If parse tree was improperly constructed leading to the
11379 loss of some code.
11380
11381 ----------------------------------------
11382 22 September 2004. Summary of changes for version 20040922:
11383
11384 1) ACPI CA Core Subsystem:
11385
11386 Fixed a problem with the implementation of the LNot() operator where
11387 "Ones"
11388 was not returned for the TRUE case. Changed the code to return Ones
11389 instead
11390 of (!Arg) which was usually 1. This change affects iASL constant folding
11391 for
11392 this operator also.
11393
11394 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
11395 not
11396 initialized properly -- Now zero the entire buffer in this case where the
11397 buffer already exists.
11398
11399 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
11400 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
11401 related code considerably. This will require changes/updates to all OS
11402 interface layers (OSLs.)
11403
11404 Implemented a new external interface, AcpiInstallExceptionHandler, to
11405 allow
11406 a system exception handler to be installed. This handler is invoked upon
11407 any
11408 run-time exception that occurs during control method execution.
11409
11410 Added support for the DSDT in AcpiTbFindTable. This allows the
11411 DataTableRegion() operator to access the local copy of the DSDT.
11412
11413 Code and Data Size: Current and previous core subsystem library sizes are
11414 shown below. These are the code and data sizes for the acpica.lib
11415 produced
11416 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11417 any ACPI driver or OSPM code. The debug version of the code includes the
11418 debug output trace mechanism and has a much larger code and data size.
11419 Note
11420 that these values will vary depending on the efficiency of the compiler
11421 and
11422 the compiler options used during generation.
11423
11424 Previous Release:
11425 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
11426 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
11427 Current Release:
11428 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
11429 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
11430
11431
11432 2) iASL Compiler/Disassembler:
11433
11434 Fixed a problem with constant folding and the LNot operator. LNot was
11435 returning 1 in the TRUE case, not Ones as per the ACPI specification.
11436 This
11437 could result in the generation of an incorrect folded/reduced constant.
11438
11439 End-Of-File is now allowed within a "//"-style comment. A parse error no
11440 longer occurs if such a comment is at the very end of the input ASL
11441 source
11442 file.
11443
11444 Implemented the "-r" option to override the Revision in the table header.
11445 The initial use of this option will be to simplify the evaluation of the
11446 AML
11447 interpreter by allowing a single ASL source module to be compiled for
11448 either
11449 32-bit or 64-bit integers.
11450
11451
11452 ----------------------------------------
11453 27 August 2004. Summary of changes for version 20040827:
11454
11455 1) ACPI CA Core Subsystem:
11456
11457 - Implemented support for implicit object conversion in the non-numeric
11458 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
11459 and
11460 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
11461 the second operand is implicitly converted on the fly to match the type
11462 of
11463 the first operand. For example:
11464
11465 LEqual (Source1, Source2)
11466
11467 Source1 and Source2 must each evaluate to an integer, a string, or a
11468 buffer.
11469 The data type of Source1 dictates the required type of Source2. Source2
11470 is
11471 implicitly converted if necessary to match the type of Source1.
11472
11473 - Updated and corrected the behavior of the string conversion support.
11474 The
11475 rules concerning conversion of buffers to strings (according to the ACPI
11476 specification) are as follows:
11477
11478 ToDecimalString - explicit byte-wise conversion of buffer to string of
11479 decimal values (0-255) separated by commas. ToHexString - explicit byte-
11480 wise
11481 conversion of buffer to string of hex values (0-FF) separated by commas.
11482 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
11483 byte
11484 copy with no transform except NULL terminated. Any other implicit buffer-
11485 to-
11486 string conversion - byte-wise conversion of buffer to string of hex
11487 values
11488 (0-FF) separated by spaces.
11489
11490 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
11491
11492 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
11493 was
11494 one byte too short in the case of a node in the root scope. This could
11495 cause a fault during debug output.
11496
11497 - Code and Data Size: Current and previous core subsystem library sizes
11498 are
11499 shown below. These are the code and data sizes for the acpica.lib
11500 produced
11501 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11502 any ACPI driver or OSPM code. The debug version of the code includes the
11503 debug output trace mechanism and has a much larger code and data size.
11504 Note
11505 that these values will vary depending on the efficiency of the compiler
11506 and
11507 the compiler options used during generation.
11508
11509 Previous Release:
11510 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
11511 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
11512 Current Release:
11513 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
11514 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
11515
11516
11517 2) iASL Compiler/Disassembler:
11518
11519 - Fixed a Linux generation error.
11520
11521
11522 ----------------------------------------
11523 16 August 2004. Summary of changes for version 20040816:
11524
11525 1) ACPI CA Core Subsystem:
11526
11527 Designed and implemented support within the AML interpreter for the so-
11528 called "implicit return". This support returns the result of the last
11529 ASL
11530 operation within a control method, in the absence of an explicit Return()
11531 operator. A few machines depend on this behavior, even though it is not
11532 explicitly supported by the ASL language. It is optional support that
11533 can
11534 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
11535
11536 Removed support for the PCI_Config address space from the internal low
11537 level
11538 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
11539 support was not used internally, and would not work correctly anyway
11540 because
11541 the PCI bus number and segment number were not supported. There are
11542 separate interfaces for PCI configuration space access because of the
11543 unique
11544 interface.
11545
11546 Code and Data Size: Current and previous core subsystem library sizes are
11547 shown below. These are the code and data sizes for the acpica.lib
11548 produced
11549 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11550 any ACPI driver or OSPM code. The debug version of the code includes the
11551 debug output trace mechanism and has a much larger code and data size.
11552 Note
11553 that these values will vary depending on the efficiency of the compiler
11554 and
11555 the compiler options used during generation.
11556
11557 Previous Release:
11558 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11559 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
11560 Current Release:
11561 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
11562 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
11563
11564
11565 2) iASL Compiler/Disassembler:
11566
11567 Fixed a problem where constants in ASL expressions at the root level (not
11568 within a control method) could be inadvertently truncated during code
11569 generation. This problem was introduced in the 20040715 release.
11570
11571
11572 ----------------------------------------
11573 15 July 2004. Summary of changes for version 20040715:
11574
11575 1) ACPI CA Core Subsystem:
11576
11577 Restructured the internal HW GPE interfaces to pass/track the current
11578 state
11579 of interrupts (enabled/disabled) in order to avoid possible deadlock and
11580 increase flexibility of the interfaces.
11581
11582 Implemented a "lexicographical compare" for String and Buffer objects
11583 within
11584 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
11585 -
11586 as per further clarification to the ACPI specification. Behavior is
11587 similar
11588 to C library "strcmp".
11589
11590 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
11591 external function. In the 32-bit non-debug case, the stack use has been
11592 reduced from 168 bytes to 32 bytes.
11593
11594 Deployed a new run-time configuration flag,
11595 AcpiGbl_EnableInterpreterSlack,
11596 whose purpose is to allow the AML interpreter to forgive certain bad AML
11597 constructs. Default setting is FALSE.
11598
11599 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
11600 IO
11601 support code. If enabled, it allows field access to go beyond the end of
11602 a
11603 region definition if the field is within the region length rounded up to
11604 the
11605 next access width boundary (a common coding error.)
11606
11607 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
11608 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
11609 these
11610 symbols are lowercased by the latest version of the AcpiSrc tool.
11611
11612 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
11613 rename "Register" to simply "Reg" to prevent certain compilers from
11614 complaining.
11615
11616 Code and Data Size: Current and previous core subsystem library sizes are
11617 shown below. These are the code and data sizes for the acpica.lib
11618 produced
11619 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11620 any ACPI driver or OSPM code. The debug version of the code includes the
11621 debug output trace mechanism and has a much larger code and data size.
11622 Note
11623 that these values will vary depending on the efficiency of the compiler
11624 and
11625 the compiler options used during generation.
11626
11627 Previous Release:
11628 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11629 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
11630 Current Release:
11631 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11632 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
11633
11634
11635 2) iASL Compiler/Disassembler:
11636
11637 Implemented full support for Package objects within the Case() operator.
11638 Note: The Break() operator is currently not supported within Case blocks
11639 (TermLists) as there is some question about backward compatibility with
11640 ACPI
11641 1.0 interpreters.
11642
11643
11644 Fixed a problem where complex terms were not supported properly within
11645 the
11646 Switch() operator.
11647
11648 Eliminated extraneous warning for compiler-emitted reserved names of the
11649 form "_T_x". (Used in Switch/Case operators.)
11650
11651 Eliminated optimization messages for "_T_x" objects and small constants
11652 within the DefinitionBlock operator.
11653
11654
11655 ----------------------------------------
11656 15 June 2004. Summary of changes for version 20040615:
11657
11658 1) ACPI CA Core Subsystem:
11659
11660 Implemented support for Buffer and String objects (as per ACPI 2.0) for
11661 the
11662 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
11663 LLessEqual.
11664
11665 All directory names in the entire source package are lower case, as they
11666 were in earlier releases.
11667
11668 Implemented "Disassemble" command in the AML debugger that will
11669 disassemble
11670 a single control method.
11671
11672 Code and Data Size: Current and previous core subsystem library sizes are
11673 shown below. These are the code and data sizes for the acpica.lib
11674 produced
11675 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11676 any ACPI driver or OSPM code. The debug version of the code includes the
11677 debug output trace mechanism and has a much larger code and data size.
11678 Note
11679 that these values will vary depending on the efficiency of the compiler
11680 and
11681 the compiler options used during generation.
11682
11683 Previous Release:
11684 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
11685 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
11686
11687 Current Release:
11688 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11689 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
11690
11691
11692 2) iASL Compiler/Disassembler:
11693
11694 Implemented support for Buffer and String objects (as per ACPI 2.0) for
11695 the
11696 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
11697 LLessEqual.
11698
11699 All directory names in the entire source package are lower case, as they
11700 were in earlier releases.
11701
11702 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
11703 not found.
11704
11705 Fixed an issue with the Windows version of the compiler where later
11706 versions
11707 of Windows place the FADT in the registry under the name "FADT" and not
11708 "FACP" as earlier versions did. This applies when using the -g or -
11709 d<nofilename> options. The compiler now looks for both strings as
11710 necessary.
11711
11712 Fixed a problem with compiler namepath optimization where a namepath
11713 within
11714 the Scope() operator could not be optimized if the namepath was a subpath
11715 of
11716 the current scope path.
11717
11718 ----------------------------------------
11719 27 May 2004. Summary of changes for version 20040527:
11720
11721 1) ACPI CA Core Subsystem:
11722
11723 Completed a new design and implementation for EBDA (Extended BIOS Data
11724 Area)
11725 support in the RSDP scan code. The original code improperly scanned for
11726 the
11727 EBDA by simply scanning from memory location 0 to 0x400. The correct
11728 method
11729 is to first obtain the EBDA pointer from within the BIOS data area, then
11730 scan 1K of memory starting at the EBDA pointer. There appear to be few
11731 if
11732 any machines that place the RSDP in the EBDA, however.
11733
11734 Integrated a fix for a possible fault during evaluation of BufferField
11735 arguments. Obsolete code that was causing the problem was removed.
11736
11737 Found and fixed a problem in the Field Support Code where data could be
11738 corrupted on a bit field read that starts on an aligned boundary but does
11739 not end on an aligned boundary. Merged the read/write "datum length"
11740 calculation code into a common procedure.
11741
11742 Rolled in a couple of changes to the FreeBSD-specific header.
11743
11744
11745 Code and Data Size: Current and previous core subsystem library sizes are
11746 shown below. These are the code and data sizes for the acpica.lib
11747 produced
11748 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11749 any ACPI driver or OSPM code. The debug version of the code includes the
11750 debug output trace mechanism and has a much larger code and data size.
11751 Note
11752 that these values will vary depending on the efficiency of the compiler
11753 and
11754 the compiler options used during generation.
11755
11756 Previous Release:
11757 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
11758 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
11759 Current Release:
11760 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
11761 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
11762
11763
11764 2) iASL Compiler/Disassembler:
11765
11766 Fixed a generation warning produced by some overly-verbose compilers for
11767 a
11768 64-bit constant.
11769
11770 ----------------------------------------
11771 14 May 2004. Summary of changes for version 20040514:
11772
11773 1) ACPI CA Core Subsystem:
11774
11775 Fixed a problem where hardware GPE enable bits sometimes not set properly
11776 during and after GPE method execution. Result of 04/27 changes.
11777
11778 Removed extra "clear all GPEs" when sleeping/waking.
11779
11780 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
11781 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
11782 to
11783 the new AcpiEv* calls as appropriate.
11784
11785 ACPI_OS_NAME was removed from the OS-specific headers. The default name
11786 is
11787 now "Microsoft Windows NT" for maximum compatibility. However this can
11788 be
11789 changed by modifying the acconfig.h file.
11790
11791 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
11792 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
11793
11794 Run _INI methods on ThermalZone objects. This is against the ACPI
11795 specification, but there is apparently ASL code in the field that has
11796 these
11797 _INI methods, and apparently "other" AML interpreters execute them.
11798
11799 Performed a full 16/32/64 bit lint that resulted in some small changes.
11800
11801 Added a sleep simulation command to the AML debugger to test sleep code.
11802
11803 Code and Data Size: Current and previous core subsystem library sizes are
11804 shown below. These are the code and data sizes for the acpica.lib
11805 produced
11806 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11807 any ACPI driver or OSPM code. The debug version of the code includes the
11808 debug output trace mechanism and has a much larger code and data size.
11809 Note
11810 that these values will vary depending on the efficiency of the compiler
11811 and
11812 the compiler options used during generation.
11813
11814 Previous Release:
11815 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
11816 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
11817 Current Release:
11818 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
11819 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
11820
11821 ----------------------------------------
11822 27 April 2004. Summary of changes for version 20040427:
11823
11824 1) ACPI CA Core Subsystem:
11825
11826 Completed a major overhaul of the GPE handling within ACPI CA. There are
11827 now three types of GPEs: wake-only, runtime-only, and combination
11828 wake/run.
11829 The only GPEs allowed to be combination wake/run are for button-style
11830 devices such as a control-method power button, control-method sleep
11831 button,
11832 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
11833 not
11834 referenced by any _PRW methods are marked for "runtime" and hardware
11835 enabled. Any GPE that is referenced by a _PRW method is marked for
11836 "wake"
11837 (and disabled at runtime). However, at sleep time, only those GPEs that
11838 have been specifically enabled for wake via the AcpiEnableGpe interface
11839 will
11840 actually be hardware enabled.
11841
11842 A new external interface has been added, AcpiSetGpeType(), that is meant
11843 to
11844 be used by device drivers to force a GPE to a particular type. It will
11845 be
11846 especially useful for the drivers for the button devices mentioned above.
11847
11848 Completed restructuring of the ACPI CA initialization sequence so that
11849 default operation region handlers are installed before GPEs are
11850 initialized
11851 and the _PRW methods are executed. This will prevent errors when the
11852 _PRW
11853 methods attempt to access system memory or I/O space.
11854
11855 GPE enable/disable no longer reads the GPE enable register. We now keep
11856 the
11857 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
11858 thus no longer depend on the hardware to maintain these bits.
11859
11860 Always clear the wake status and fixed/GPE status bits before sleep, even
11861 for state S5.
11862
11863 Improved the AML debugger output for displaying the GPE blocks and their
11864 current status.
11865
11866 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
11867 where
11868 x = 0,1,2,3,4.
11869
11870 Fixed a problem where the physical address was incorrectly calculated
11871 when
11872 the Load() operator was used to directly load from an Operation Region
11873 (vs.
11874 loading from a Field object.) Also added check for minimum table length
11875 for
11876 this case.
11877
11878 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
11879 mutex release.
11880
11881 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
11882 consistency with the other fields returned.
11883
11884 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
11885 structure for each GPE in the system, so the size of this structure is
11886 important.
11887
11888 CPU stack requirement reduction: Cleaned up the method execution and
11889 object
11890 evaluation paths so that now a parameter structure is passed, instead of
11891 copying the various method parameters over and over again.
11892
11893 In evregion.c: Correctly exit and reenter the interpreter region if and
11894 only if dispatching an operation region request to a user-installed
11895 handler.
11896 Do not exit/reenter when dispatching to a default handler (e.g., default
11897 system memory or I/O handlers)
11898
11899
11900 Notes for updating drivers for the new GPE support. The following
11901 changes
11902 must be made to ACPI-related device drivers that are attached to one or
11903 more
11904 GPEs: (This information will be added to the ACPI CA Programmer
11905 Reference.)
11906
11907 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
11908 must
11909 explicitly call AcpiEnableGpe.
11910 2) There is a new interface called AcpiSetGpeType. This should be called
11911 before enabling the GPE. Also, this interface will automatically disable
11912 the GPE if it is currently enabled.
11913 3) AcpiEnableGpe no longer supports a GPE type flag.
11914
11915 Specific drivers that must be changed:
11916 1) EC driver:
11917 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
11918 AeGpeHandler, NULL);
11919 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
11920 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
11921
11922 2) Button Drivers (Power, Lid, Sleep):
11923 Run _PRW method under parent device
11924 If _PRW exists: /* This is a control-method button */
11925 Extract GPE number and possibly GpeDevice
11926 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
11927 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
11928
11929 For all other devices that have _PRWs, we automatically set the GPE type
11930 to
11931 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
11932 This
11933 must be done on a selective basis, usually requiring some kind of user
11934 app
11935 to allow the user to pick the wake devices.
11936
11937
11938 Code and Data Size: Current and previous core subsystem library sizes are
11939 shown below. These are the code and data sizes for the acpica.lib
11940 produced
11941 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11942 any ACPI driver or OSPM code. The debug version of the code includes the
11943 debug output trace mechanism and has a much larger code and data size.
11944 Note
11945 that these values will vary depending on the efficiency of the compiler
11946 and
11947 the compiler options used during generation.
11948
11949 Previous Release:
11950 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
11951 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
11952 Current Release:
11953
11954 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
11955 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
11956
11957
11958
11959 ----------------------------------------
11960 02 April 2004. Summary of changes for version 20040402:
11961
11962 1) ACPI CA Core Subsystem:
11963
11964 Fixed an interpreter problem where an indirect store through an ArgX
11965 parameter was incorrectly applying the "implicit conversion rules" during
11966 the store. From the ACPI specification: "If the target is a method local
11967 or
11968 argument (LocalX or ArgX), no conversion is performed and the result is
11969 stored directly to the target". The new behavior is to disable implicit
11970 conversion during ALL stores to an ArgX.
11971
11972 Changed the behavior of the _PRW method scan to ignore any and all errors
11973 returned by a given _PRW. This prevents the scan from aborting from the
11974 failure of any single _PRW.
11975
11976 Moved the runtime configuration parameters from the global init procedure
11977 to
11978 static variables in acglobal.h. This will allow the host to override the
11979 default values easily.
11980
11981 Code and Data Size: Current and previous core subsystem library sizes are
11982 shown below. These are the code and data sizes for the acpica.lib
11983 produced
11984 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11985 any ACPI driver or OSPM code. The debug version of the code includes the
11986 debug output trace mechanism and has a much larger code and data size.
11987 Note
11988 that these values will vary depending on the efficiency of the compiler
11989 and
11990 the compiler options used during generation.
11991
11992 Previous Release:
11993 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
11994 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
11995 Current Release:
11996 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
11997 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
11998
11999
12000 2) iASL Compiler/Disassembler:
12001
12002 iASL now fully disassembles SSDTs. However, External() statements are
12003 not
12004 generated automatically for unresolved symbols at this time. This is a
12005 planned feature for future implementation.
12006
12007 Fixed a scoping problem in the disassembler that occurs when the type of
12008 the
12009 target of a Scope() operator is overridden. This problem caused an
12010 incorrectly nested internal namespace to be constructed.
12011
12012 Any warnings or errors that are emitted during disassembly are now
12013 commented
12014 out automatically so that the resulting file can be recompiled without
12015 any
12016 hand editing.
12017
12018 ----------------------------------------
12019 26 March 2004. Summary of changes for version 20040326:
12020
12021 1) ACPI CA Core Subsystem:
12022
12023 Implemented support for "wake" GPEs via interaction between GPEs and the
12024 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
12025 identified as a WAKE GPE and by default will no longer be enabled at
12026 runtime. Previously, we were blindly enabling all GPEs with a
12027 corresponding
12028 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
12029 We
12030 believe this has been the cause of thousands of "spurious" GPEs on some
12031 systems.
12032
12033 This new GPE behavior is can be reverted to the original behavior (enable
12034 ALL GPEs at runtime) via a runtime flag.
12035
12036 Fixed a problem where aliased control methods could not access objects
12037 properly. The proper scope within the namespace was not initialized
12038 (transferred to the target of the aliased method) before executing the
12039 target method.
12040
12041 Fixed a potential race condition on internal object deletion on the
12042 return
12043 object in AcpiEvaluateObject.
12044
12045 Integrated a fix for resource descriptors where both _MEM and _MTP were
12046 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
12047 wide, 0x0F instead of 0x03.)
12048
12049 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
12050 preventing
12051 a
12052 fault in some cases.
12053
12054 Updated Notify() values for debug statements in evmisc.c
12055
12056 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
12057
12058 Code and Data Size: Current and previous core subsystem library sizes are
12059 shown below. These are the code and data sizes for the acpica.lib
12060 produced
12061 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12062 any ACPI driver or OSPM code. The debug version of the code includes the
12063 debug output trace mechanism and has a much larger code and data size.
12064 Note
12065 that these values will vary depending on the efficiency of the compiler
12066 and
12067 the compiler options used during generation.
12068
12069 Previous Release:
12070
12071 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
12072 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
12073 Current Release:
12074 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
12075 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
12076
12077 ----------------------------------------
12078 11 March 2004. Summary of changes for version 20040311:
12079
12080 1) ACPI CA Core Subsystem:
12081
12082 Fixed a problem where errors occurring during the parse phase of control
12083 method execution did not abort cleanly. For example, objects created and
12084 installed in the namespace were not deleted. This caused all subsequent
12085 invocations of the method to return the AE_ALREADY_EXISTS exception.
12086
12087 Implemented a mechanism to force a control method to "Serialized"
12088 execution
12089 if the method attempts to create namespace objects. (The root of the
12090 AE_ALREADY_EXISTS problem.)
12091
12092 Implemented support for the predefined _OSI "internal" control method.
12093 Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
12094 and
12095 "Windows 2001.1", and can be easily upgraded for new strings as
12096 necessary.
12097 This feature will allow "other" operating systems to execute the fully
12098 tested, "Windows" code path through the ASL code
12099
12100 Global Lock Support: Now allows multiple acquires and releases with any
12101 internal thread. Removed concept of "owning thread" for this special
12102 mutex.
12103
12104 Fixed two functions that were inappropriately declaring large objects on
12105 the
12106 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
12107 during
12108 method execution considerably.
12109
12110 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
12111 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
12112
12113 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
12114 defined on the machine.
12115
12116 Implemented two runtime options: One to force all control method
12117 execution
12118 to "Serialized" to mimic Windows behavior, another to disable _OSI
12119 support
12120 if it causes problems on a given machine.
12121
12122 Code and Data Size: Current and previous core subsystem library sizes are
12123 shown below. These are the code and data sizes for the acpica.lib
12124 produced
12125 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12126 any ACPI driver or OSPM code. The debug version of the code includes the
12127 debug output trace mechanism and has a much larger code and data size.
12128 Note
12129 that these values will vary depending on the efficiency of the compiler
12130 and
12131 the compiler options used during generation.
12132
12133 Previous Release:
12134 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
12135 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
12136 Current Release:
12137 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
12138 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
12139
12140 2) iASL Compiler/Disassembler:
12141
12142 Fixed an array size problem for FreeBSD that would cause the compiler to
12143 fault.
12144
12145 ----------------------------------------
12146 20 February 2004. Summary of changes for version 20040220:
12147
12148
12149 1) ACPI CA Core Subsystem:
12150
12151 Implemented execution of _SxD methods for Device objects in the
12152 GetObjectInfo interface.
12153
12154 Fixed calls to _SST method to pass the correct arguments.
12155
12156 Added a call to _SST on wake to restore to "working" state.
12157
12158 Check for End-Of-Buffer failure case in the WalkResources interface.
12159
12160 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
12161 structures to the beginning of the file.
12162
12163 After wake, clear GPE status register(s) before enabling GPEs.
12164
12165 After wake, clear/enable power button. (Perhaps we should clear/enable
12166 all
12167 fixed events upon wake.)
12168
12169 Fixed a couple of possible memory leaks in the Namespace manager.
12170
12171 Integrated latest acnetbsd.h file.
12172
12173 ----------------------------------------
12174 11 February 2004. Summary of changes for version 20040211:
12175
12176
12177 1) ACPI CA Core Subsystem:
12178
12179 Completed investigation and implementation of the call-by-reference
12180 mechanism for control method arguments.
12181
12182 Fixed a problem where a store of an object into an indexed package could
12183 fail if the store occurs within a different method than the method that
12184 created the package.
12185
12186 Fixed a problem where the ToDecimal operator could return incorrect
12187 results.
12188
12189 Fixed a problem where the CopyObject operator could fail on some of the
12190 more
12191 obscure objects (e.g., Reference objects.)
12192
12193 Improved the output of the Debug object to display buffer, package, and
12194 index objects.
12195
12196 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
12197 return
12198 the expected result.
12199
12200 Added permanent ACPI_REPORT_ERROR macros for all instances of the
12201 ACPI_AML_INTERNAL exception.
12202
12203 Integrated latest version of acfreebsd.h
12204
12205 ----------------------------------------
12206 16 January 2004. Summary of changes for version 20040116:
12207
12208 The purpose of this release is primarily to update the copyright years in
12209 each module, thus causing a huge number of diffs. There are a few small
12210 functional changes, however.
12211
12212 1) ACPI CA Core Subsystem:
12213
12214 Improved error messages when there is a problem finding one or more of
12215 the
12216 required base ACPI tables
12217
12218 Reintroduced the definition of APIC_HEADER in actbl.h
12219
12220 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
12221
12222 Removed extraneous reference to NewObj in dsmthdat.c
12223
12224 2) iASL compiler
12225
12226 Fixed a problem introduced in December that disabled the correct
12227 disassembly
12228 of Resource Templates
12229
12230
12231 ----------------------------------------
12232 03 December 2003. Summary of changes for version 20031203:
12233
12234 1) ACPI CA Core Subsystem:
12235
12236 Changed the initialization of Operation Regions during subsystem
12237 init to perform two entire walks of the ACPI namespace; The first
12238 to initialize the regions themselves, the second to execute the
12239 _REG methods. This fixed some interdependencies across _REG
12240 methods found on some machines.
12241
12242 Fixed a problem where a Store(Local0, Local1) could simply update
12243 the object reference count, and not create a new copy of the
12244 object if the Local1 is uninitialized.
12245
12246 Implemented support for the _SST reserved method during sleep
12247 transitions.
12248
12249 Implemented support to clear the SLP_TYP and SLP_EN bits when
12250 waking up, this is apparently required by some machines.
12251
12252 When sleeping, clear the wake status only if SleepState is not S5.
12253
12254 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
12255 pointer arithmetic advanced a string pointer too far.
12256
12257 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
12258 could be returned if the requested table has not been loaded.
12259
12260 Within the support for IRQ resources, restructured the handling of
12261 the active and edge/level bits.
12262
12263 Fixed a few problems in AcpiPsxExecute() where memory could be
12264 leaked under certain error conditions.
12265
12266 Improved error messages for the cases where the ACPI mode could
12267 not be entered.
12268
12269 Code and Data Size: Current and previous core subsystem library
12270 sizes are shown below. These are the code and data sizes for the
12271 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12272 these values do not include any ACPI driver or OSPM code. The
12273 debug version of the code includes the debug output trace
12274 mechanism and has a much larger code and data size. Note that
12275 these values will vary depending on the efficiency of the compiler
12276 and the compiler options used during generation.
12277
12278 Previous Release (20031029):
12279 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
12280 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
12281 Current Release:
12282 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
12283 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
12284
12285 2) iASL Compiler/Disassembler:
12286
12287 Implemented a fix for the iASL disassembler where a bad index was
12288 generated. This was most noticeable on 64-bit platforms
12289
12290
12291 ----------------------------------------
12292 29 October 2003. Summary of changes for version 20031029:
12293
12294 1) ACPI CA Core Subsystem:
12295
12296
12297 Fixed a problem where a level-triggered GPE with an associated
12298 _Lxx control method was incorrectly cleared twice.
12299
12300 Fixed a problem with the Field support code where an access can
12301 occur beyond the end-of-region if the field is non-aligned but
12302 extends to the very end of the parent region (resulted in an
12303 AE_AML_REGION_LIMIT exception.)
12304
12305 Fixed a problem with ACPI Fixed Events where an RT Clock handler
12306 would not get invoked on an RTC event. The RTC event bitmasks for
12307 the PM1 registers were not being initialized properly.
12308
12309 Implemented support for executing _STA and _INI methods for
12310 Processor objects. Although this is currently not part of the
12311 ACPI specification, there is existing ASL code that depends on the
12312 init-time execution of these methods.
12313
12314 Implemented and deployed a GetDescriptorName function to decode
12315 the various types of internal descriptors. Guards against null
12316 descriptors during debug output also.
12317
12318 Implemented and deployed a GetNodeName function to extract the 4-
12319 character namespace node name. This function simplifies the debug
12320 and error output, as well as guarding against null pointers during
12321 output.
12322
12323 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
12324 simplify the debug and error output of 64-bit integers. This
12325 macro replaces the HIDWORD and LODWORD macros for dumping these
12326 integers.
12327
12328 Updated the implementation of the Stall() operator to only call
12329 AcpiOsStall(), and also return an error if the operand is larger
12330 than 255. This preserves the required behavior of not
12331 relinquishing the processor, as would happen if AcpiOsSleep() was
12332 called for "long stalls".
12333
12334 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
12335 initialized are now treated as NOOPs.
12336
12337 Cleaned up a handful of warnings during 64-bit generation.
12338
12339 Fixed a reported error where and incorrect GPE number was passed
12340 to the GPE dispatch handler. This value is only used for error
12341 output, however. Used this opportunity to clean up and streamline
12342 the GPE dispatch code.
12343
12344 Code and Data Size: Current and previous core subsystem library
12345 sizes are shown below. These are the code and data sizes for the
12346 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12347 these values do not include any ACPI driver or OSPM code. The
12348
12349 debug version of the code includes the debug output trace
12350 mechanism and has a much larger code and data size. Note that
12351 these values will vary depending on the efficiency of the compiler
12352 and the compiler options used during generation.
12353
12354 Previous Release (20031002):
12355 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
12356 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
12357 Current Release:
12358 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
12359 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
12360
12361
12362 2) iASL Compiler/Disassembler:
12363
12364 Updated the iASL compiler to return an error if the operand to the
12365 Stall() operator is larger than 255.
12366
12367
12368 ----------------------------------------
12369 02 October 2003. Summary of changes for version 20031002:
12370
12371
12372 1) ACPI CA Core Subsystem:
12373
12374 Fixed a problem with Index Fields where the index was not
12375 incremented for fields that require multiple writes to the
12376 index/data registers (Fields that are wider than the data
12377 register.)
12378
12379 Fixed a problem with all Field objects where a write could go
12380 beyond the end-of-field if the field was larger than the access
12381 granularity and therefore required multiple writes to complete the
12382 request. An extra write beyond the end of the field could happen
12383 inadvertently.
12384
12385 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
12386 would incorrectly be returned if the width of the Data Register
12387 was larger than the specified field access width.
12388
12389 Completed fixes for LoadTable() and Unload() and verified their
12390 operation. Implemented full support for the "DdbHandle" object
12391 throughout the ACPI CA subsystem.
12392
12393 Implemented full support for the MADT and ECDT tables in the ACPI
12394 CA header files. Even though these tables are not directly
12395 consumed by ACPI CA, the header definitions are useful for ACPI
12396 device drivers.
12397
12398 Integrated resource descriptor fixes posted to the Linux ACPI
12399 list. This included checks for minimum descriptor length, and
12400 support for trailing NULL strings within descriptors that have
12401 optional string elements.
12402
12403 Code and Data Size: Current and previous core subsystem library
12404 sizes are shown below. These are the code and data sizes for the
12405 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12406 these values do not include any ACPI driver or OSPM code. The
12407 debug version of the code includes the debug output trace
12408 mechanism and has a much larger code and data size. Note that
12409 these values will vary depending on the efficiency of the compiler
12410 and the compiler options used during generation.
12411
12412 Previous Release (20030918):
12413 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
12414 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
12415 Current Release:
12416 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
12417 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
12418
12419
12420 2) iASL Compiler:
12421
12422 Implemented detection of non-ASCII characters within the input
12423 source ASL file. This catches attempts to compile binary (AML)
12424 files early in the compile, with an informative error message.
12425
12426 Fixed a problem where the disassembler would fault if the output
12427 filename could not be generated or if the output file could not be
12428 opened.
12429
12430 ----------------------------------------
12431 18 September 2003. Summary of changes for version 20030918:
12432
12433
12434 1) ACPI CA Core Subsystem:
12435
12436 Found and fixed a longstanding problem with the late execution of
12437 the various deferred AML opcodes (such as Operation Regions,
12438 Buffer Fields, Buffers, and Packages). If the name string
12439 specified for the name of the new object placed the object in a
12440 scope other than the current scope, the initialization/execution
12441 of the opcode failed. The solution to this problem was to
12442 implement a mechanism where the late execution of such opcodes
12443 does not attempt to lookup/create the name a second time in an
12444 incorrect scope. This fixes the "region size computed
12445 incorrectly" problem.
12446
12447 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
12448 Global Lock AE_BAD_PARAMETER error.
12449
12450 Fixed several 64-bit issues with prototypes, casting and data
12451 types.
12452
12453 Removed duplicate prototype from acdisasm.h
12454
12455 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
12456
12457 Code and Data Size: Current and previous core subsystem library
12458 sizes are shown below. These are the code and data sizes for the
12459 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12460 these values do not include any ACPI driver or OSPM code. The
12461 debug version of the code includes the debug output trace
12462 mechanism and has a much larger code and data size. Note that
12463 these values will vary depending on the efficiency of the compiler
12464 and the compiler options used during generation.
12465
12466 Previous Release:
12467
12468 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
12469 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
12470 Current Release:
12471 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
12472 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
12473
12474
12475 2) Linux:
12476
12477 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
12478 correct sleep time in seconds.
12479
12480 ----------------------------------------
12481 14 July 2003. Summary of changes for version 20030619:
12482
12483 1) ACPI CA Core Subsystem:
12484
12485 Parse SSDTs in order discovered, as opposed to reverse order
12486 (Hrvoje Habjanic)
12487
12488 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
12489 Klausner,
12490 Nate Lawson)
12491
12492
12493 2) Linux:
12494
12495 Dynamically allocate SDT list (suggested by Andi Kleen)
12496
12497 proc function return value cleanups (Andi Kleen)
12498
12499 Correctly handle NMI watchdog during long stalls (Andrew Morton)
12500
12501 Make it so acpismp=force works (reported by Andrew Morton)
12502
12503
12504 ----------------------------------------
12505 19 June 2003. Summary of changes for version 20030619:
12506
12507 1) ACPI CA Core Subsystem:
12508
12509 Fix To/FromBCD, eliminating the need for an arch-specific #define.
12510
12511 Do not acquire a semaphore in the S5 shutdown path.
12512
12513 Fix ex_digits_needed for 0. (Takayoshi Kochi)
12514
12515 Fix sleep/stall code reversal. (Andi Kleen)
12516
12517 Revert a change having to do with control method calling
12518 semantics.
12519
12520 2) Linux:
12521
12522 acpiphp update (Takayoshi Kochi)
12523
12524 Export acpi_disabled for sonypi (Stelian Pop)
12525
12526 Mention acpismp=force in config help
12527
12528 Re-add acpitable.c and acpismp=force. This improves backwards
12529
12530 compatibility and also cleans up the code to a significant degree.
12531
12532 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
12533
12534 ----------------------------------------
12535 22 May 2003. Summary of changes for version 20030522:
12536
12537 1) ACPI CA Core Subsystem:
12538
12539 Found and fixed a reported problem where an AE_NOT_FOUND error
12540 occurred occasionally during _BST evaluation. This turned out to
12541 be an Owner ID allocation issue where a called method did not get
12542 a new ID assigned to it. Eventually, (after 64k calls), the Owner
12543 ID UINT16 would wraparound so that the ID would be the same as the
12544 caller's and the called method would delete the caller's
12545 namespace.
12546
12547 Implemented extended error reporting for control methods that are
12548 aborted due to a run-time exception. Output includes the exact
12549 AML instruction that caused the method abort, a dump of the method
12550 locals and arguments at the time of the abort, and a trace of all
12551 nested control method calls.
12552
12553 Modified the interpreter to allow the creation of buffers of zero
12554 length from the AML code. Implemented new code to ensure that no
12555 attempt is made to actually allocate a memory buffer (of length
12556 zero) - instead, a simple buffer object with a NULL buffer pointer
12557 and length zero is created. A warning is no longer issued when
12558 the AML attempts to create a zero-length buffer.
12559
12560 Implemented a workaround for the "leading asterisk issue" in
12561 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
12562 asterisk is automatically removed if present in any HID, UID, or
12563 CID strings. The iASL compiler will still flag this asterisk as
12564 an error, however.
12565
12566 Implemented full support for _CID methods that return a package of
12567 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
12568 now additionally returns a device _CID list if present. This
12569 required a change to the external interface in order to pass an
12570 ACPI_BUFFER object as a parameter since the _CID list is of
12571 variable length.
12572
12573 Fixed a problem with the new AE_SAME_HANDLER exception where
12574 handler initialization code did not know about this exception.
12575
12576 Code and Data Size: Current and previous core subsystem library
12577 sizes are shown below. These are the code and data sizes for the
12578 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12579 these values do not include any ACPI driver or OSPM code. The
12580 debug version of the code includes the debug output trace
12581 mechanism and has a much larger code and data size. Note that
12582 these values will vary depending on the efficiency of the compiler
12583 and the compiler options used during generation.
12584
12585 Previous Release (20030509):
12586 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
12587 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
12588 Current Release:
12589 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
12590 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
12591
12592
12593 2) Linux:
12594
12595 Fixed a bug in which we would reinitialize the ACPI interrupt
12596 after it was already working, thus disabling all ACPI and the IRQs
12597 for any other device sharing the interrupt. (Thanks to Stian
12598 Jordet)
12599
12600 Toshiba driver update (John Belmonte)
12601
12602 Return only 0 or 1 for our interrupt handler status (Andrew
12603 Morton)
12604
12605
12606 3) iASL Compiler:
12607
12608 Fixed a reported problem where multiple (nested) ElseIf()
12609 statements were not handled correctly by the compiler, resulting
12610 in incorrect warnings and incorrect AML code. This was a problem
12611 in both the ASL parser and the code generator.
12612
12613
12614 4) Documentation:
12615
12616 Added changes to existing interfaces, new exception codes, and new
12617 text concerning reference count object management versus garbage
12618 collection.
12619
12620 ----------------------------------------
12621 09 May 2003. Summary of changes for version 20030509.
12622
12623
12624 1) ACPI CA Core Subsystem:
12625
12626 Changed the subsystem initialization sequence to hold off
12627 installation of address space handlers until the hardware has been
12628 initialized and the system has entered ACPI mode. This is because
12629 the installation of space handlers can cause _REG methods to be
12630 run. Previously, the _REG methods could potentially be run before
12631 ACPI mode was enabled.
12632
12633 Fixed some memory leak issues related to address space handler and
12634 notify handler installation. There were some problems with the
12635 reference count mechanism caused by the fact that the handler
12636 objects are shared across several namespace objects.
12637
12638 Fixed a reported problem where reference counts within the
12639 namespace were not properly updated when named objects created by
12640 method execution were deleted.
12641
12642 Fixed a reported problem where multiple SSDTs caused a deletion
12643 issue during subsystem termination. Restructured the table data
12644 structures to simplify the linked lists and the related code.
12645
12646 Fixed a problem where the table ID associated with secondary
12647 tables (SSDTs) was not being propagated into the namespace objects
12648 created by those tables. This would only present a problem for
12649 tables that are unloaded at run-time, however.
12650
12651 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
12652 type as the length parameter (instead of UINT32).
12653
12654 Solved a long-standing problem where an ALREADY_EXISTS error
12655 appears on various systems. This problem could happen when there
12656 are multiple PCI_Config operation regions under a single PCI root
12657 bus. This doesn't happen very frequently, but there are some
12658 systems that do this in the ASL.
12659
12660 Fixed a reported problem where the internal DeleteNode function
12661 was incorrectly handling the case where a namespace node was the
12662 first in the parent's child list, and had additional peers (not
12663 the only child, but first in the list of children.)
12664
12665 Code and Data Size: Current core subsystem library sizes are shown
12666 below. These are the code and data sizes for the acpica.lib
12667 produced by the Microsoft Visual C++ 6.0 compiler, and these
12668 values do not include any ACPI driver or OSPM code. The debug
12669 version of the code includes the debug output trace mechanism and
12670 has a much larger code and data size. Note that these values will
12671 vary depending on the efficiency of the compiler and the compiler
12672 options used during generation.
12673
12674 Previous Release
12675 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
12676 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
12677 Current Release:
12678 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
12679 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
12680
12681
12682 2) Linux:
12683
12684 Allow ":" in OS override string (Ducrot Bruno)
12685
12686 Kobject fix (Greg KH)
12687
12688
12689 3 iASL Compiler/Disassembler:
12690
12691 Fixed a problem in the generation of the C source code files (AML
12692 is emitted in C source statements for BIOS inclusion) where the
12693 Ascii dump that appears within a C comment at the end of each line
12694 could cause a compile time error if the AML sequence happens to
12695 have an open comment or close comment sequence embedded.
12696
12697
12698 ----------------------------------------
12699 24 April 2003. Summary of changes for version 20030424.
12700
12701
12702 1) ACPI CA Core Subsystem:
12703
12704 Support for big-endian systems has been implemented. Most of the
12705 support has been invisibly added behind big-endian versions of the
12706 ACPI_MOVE_* macros.
12707
12708 Fixed a problem in AcpiHwDisableGpeBlock() and
12709 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
12710 low level hardware write routine. The offset parameter was
12711 actually eliminated from the low level read/write routines because
12712 they had become obsolete.
12713
12714 Fixed a problem where a handler object was deleted twice during
12715 the removal of a fixed event handler.
12716
12717
12718 2) Linux:
12719
12720 A fix for SMP systems with link devices was contributed by
12721
12722 Compaq's Dan Zink.
12723
12724 (2.5) Return whether we handled the interrupt in our IRQ handler.
12725 (Linux ISRs no longer return void, so we can propagate the handler
12726 return value from the ACPI CA core back to the OS.)
12727
12728
12729
12730 3) Documentation:
12731
12732 The ACPI CA Programmer Reference has been updated to reflect new
12733 interfaces and changes to existing interfaces.
12734
12735 ----------------------------------------
12736 28 March 2003. Summary of changes for version 20030328.
12737
12738 1) ACPI CA Core Subsystem:
12739
12740 The GPE Block Device support has been completed. New interfaces
12741 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
12742 interfaces (enable, disable, clear, getstatus) have been split
12743 into separate interfaces for Fixed Events and General Purpose
12744 Events (GPEs) in order to support GPE Block Devices properly.
12745
12746 Fixed a problem where the error message "Failed to acquire
12747 semaphore" would appear during operations on the embedded
12748 controller (EC).
12749
12750 Code and Data Size: Current core subsystem library sizes are shown
12751 below. These are the code and data sizes for the acpica.lib
12752 produced by the Microsoft Visual C++ 6.0 compiler, and these
12753 values do not include any ACPI driver or OSPM code. The debug
12754 version of the code includes the debug output trace mechanism and
12755 has a much larger code and data size. Note that these values will
12756 vary depending on the efficiency of the compiler and the compiler
12757 options used during generation.
12758
12759 Previous Release
12760 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
12761 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
12762 Current Release:
12763 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
12764 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
12765
12766
12767 ----------------------------------------
12768 28 February 2003. Summary of changes for version 20030228.
12769
12770
12771 1) ACPI CA Core Subsystem:
12772
12773 The GPE handling and dispatch code has been completely overhauled
12774 in preparation for support of GPE Block Devices (ID ACPI0006).
12775 This affects internal data structures and code only; there should
12776 be no differences visible externally. One new file has been
12777 added, evgpeblk.c
12778
12779 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
12780 fields that are used to determine the GPE block lengths. The
12781 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
12782 structures are ignored. This is per the ACPI specification but it
12783 isn't very clear. The full 256 Block 0/1 GPEs are now supported
12784 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
12785
12786 In the SCI interrupt handler, removed the read of the PM1_CONTROL
12787 register to look at the SCI_EN bit. On some machines, this read
12788 causes an SMI event and greatly slows down SCI events. (This may
12789 in fact be the cause of slow battery status response on some
12790 systems.)
12791
12792 Fixed a problem where a store of a NULL string to a package object
12793 could cause the premature deletion of the object. This was seen
12794 during execution of the battery _BIF method on some systems,
12795 resulting in no battery data being returned.
12796
12797 Added AcpiWalkResources interface to simplify parsing of resource
12798 lists.
12799
12800 Code and Data Size: Current core subsystem library sizes are shown
12801 below. These are the code and data sizes for the acpica.lib
12802 produced by the Microsoft Visual C++ 6.0 compiler, and these
12803 values do not include any ACPI driver or OSPM code. The debug
12804 version of the code includes the debug output trace mechanism and
12805 has a much larger code and data size. Note that these values will
12806 vary depending on the efficiency of the compiler and the compiler
12807 options used during generation.
12808
12809 Previous Release
12810 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
12811 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
12812 Current Release:
12813 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
12814 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
12815
12816
12817 2) Linux
12818
12819 S3 fixes (Ole Rohne)
12820
12821 Update ACPI PHP driver with to use new acpi_walk_resource API
12822 (Bjorn Helgaas)
12823
12824 Add S4BIOS support (Pavel Machek)
12825
12826 Map in entire table before performing checksum (John Stultz)
12827
12828 Expand the mem= cmdline to allow the specification of reserved and
12829 ACPI DATA blocks (Pavel Machek)
12830
12831 Never use ACPI on VISWS
12832
12833 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
12834
12835 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
12836 causing us to think that some systems support C2 when they really
12837 don't.
12838
12839 Do not count processor objects for non-present CPUs (Thanks to
12840 Dominik Brodowski)
12841
12842
12843 3) iASL Compiler:
12844
12845 Fixed a problem where ASL include files could not be found and
12846 opened.
12847
12848 Added support for the _PDC reserved name.
12849
12850
12851 ----------------------------------------
12852 22 January 2003. Summary of changes for version 20030122.
12853
12854
12855 1) ACPI CA Core Subsystem:
12856
12857 Added a check for constructs of the form: Store (Local0, Local0)
12858 where Local0 is not initialized. Apparently, some BIOS
12859 programmers believe that this is a NOOP. Since this store doesn't
12860 do anything anyway, the new prototype behavior will ignore this
12861 error. This is a case where we can relax the strict checking in
12862 the interpreter in the name of compatibility.
12863
12864
12865 2) Linux
12866
12867 The AcpiSrc Source Conversion Utility has been released with the
12868 Linux package for the first time. This is the utility that is
12869 used to convert the ACPI CA base source code to the Linux version.
12870
12871 (Both) Handle P_BLK lengths shorter than 6 more gracefully
12872
12873 (Both) Move more headers to include/acpi, and delete an unused
12874 header.
12875
12876 (Both) Move drivers/acpi/include directory to include/acpi
12877
12878 (Both) Boot functions don't use cmdline, so don't pass it around
12879
12880 (Both) Remove include of unused header (Adrian Bunk)
12881
12882 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
12883 the
12884 former now also includes the latter, acpiphp.h only needs the one,
12885 now.
12886
12887 (2.5) Make it possible to select method of bios restoring after S3
12888 resume. [=> no more ugly ifdefs] (Pavel Machek)
12889
12890 (2.5) Make proc write interfaces work (Pavel Machek)
12891
12892 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
12893
12894 (2.5) Break out ACPI Perf code into its own module, under cpufreq
12895 (Dominik Brodowski)
12896
12897 (2.4) S4BIOS support (Ducrot Bruno)
12898
12899 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
12900 Visinoni)
12901
12902
12903 3) iASL Compiler:
12904
12905 Added support to disassemble SSDT and PSDTs.
12906
12907 Implemented support to obtain SSDTs from the Windows registry if
12908 available.
12909
12910
12911 ----------------------------------------
12912 09 January 2003. Summary of changes for version 20030109.
12913
12914 1) ACPI CA Core Subsystem:
12915
12916 Changed the behavior of the internal Buffer-to-String conversion
12917 function. The current ACPI specification states that the contents
12918 of the buffer are "converted to a string of two-character
12919 hexadecimal numbers, each separated by a space". Unfortunately,
12920 this definition is not backwards compatible with existing ACPI 1.0
12921 implementations (although the behavior was not defined in the ACPI
12922 1.0 specification). The new behavior simply copies data from the
12923 buffer to the string until a null character is found or the end of
12924 the buffer is reached. The new String object is always null
12925 terminated. This problem was seen during the generation of _BIF
12926 battery data where incorrect strings were returned for battery
12927 type, etc. This will also require an errata to the ACPI
12928 specification.
12929
12930 Renamed all instances of NATIVE_UINT and NATIVE_INT to
12931 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
12932
12933 Copyright in all module headers (both Linux and non-Linux) has be
12934 updated to 2003.
12935
12936 Code and Data Size: Current core subsystem library sizes are shown
12937 below. These are the code and data sizes for the acpica.lib
12938 produced by the Microsoft Visual C++ 6.0 compiler, and these
12939 values do not include any ACPI driver or OSPM code. The debug
12940 version of the code includes the debug output trace mechanism and
12941 has a much larger code and data size. Note that these values will
12942 vary depending on the efficiency of the compiler and the compiler
12943 options used during generation.
12944
12945 Previous Release
12946 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
12947 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
12948 Current Release:
12949 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
12950 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
12951
12952
12953 2) Linux
12954
12955 Fixed an oops on module insertion/removal (Matthew Tippett)
12956
12957 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
12958
12959 (2.5) Replace pr_debug (Randy Dunlap)
12960
12961 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
12962
12963 (Both) Eliminate spawning of thread from timer callback, in favor
12964 of schedule_work()
12965
12966 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
12967
12968 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
12969
12970 (Both) Add missing statics to button.c (Pavel Machek)
12971
12972 Several changes have been made to the source code translation
12973 utility that generates the Linux Code in order to make the code
12974 more "Linux-like":
12975
12976 All typedefs on structs and unions have been removed in keeping
12977 with the Linux coding style.
12978
12979 Removed the non-Linux SourceSafe module revision number from each
12980 module header.
12981
12982 Completed major overhaul of symbols to be lowercased for linux.
12983 Doubled the number of symbols that are lowercased.
12984
12985 Fixed a problem where identifiers within procedure headers and
12986 within quotes were not fully lower cased (they were left with a
12987 starting capital.)
12988
12989 Some C macros whose only purpose is to allow the generation of 16-
12990 bit code are now completely removed in the Linux code, increasing
12991 readability and maintainability.
12992
12993 ----------------------------------------
12994
12995 12 December 2002. Summary of changes for version 20021212.
12996
12997
12998 1) ACPI CA Core Subsystem:
12999
13000 Fixed a problem where the creation of a zero-length AML Buffer
13001 would cause a fault.
13002
13003 Fixed a problem where a Buffer object that pointed to a static AML
13004 buffer (in an ACPI table) could inadvertently be deleted, causing
13005 memory corruption.
13006
13007 Fixed a problem where a user buffer (passed in to the external
13008 ACPI CA interfaces) could be overwritten if the buffer was too
13009 small to complete the operation, causing memory corruption.
13010
13011 Fixed a problem in the Buffer-to-String conversion code where a
13012 string of length one was always returned, regardless of the size
13013 of the input Buffer object.
13014
13015 Removed the NATIVE_CHAR data type across the entire source due to
13016 lack of need and lack of consistent use.
13017
13018 Code and Data Size: Current core subsystem library sizes are shown
13019 below. These are the code and data sizes for the acpica.lib
13020 produced by the Microsoft Visual C++ 6.0 compiler, and these
13021 values do not include any ACPI driver or OSPM code. The debug
13022 version of the code includes the debug output trace mechanism and
13023 has a much larger code and data size. Note that these values will
13024 vary depending on the efficiency of the compiler and the compiler
13025 options used during generation.
13026
13027 Previous Release
13028 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
13029 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
13030 Current Release:
13031 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13032 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13033
13034
13035 ----------------------------------------
13036 05 December 2002. Summary of changes for version 20021205.
13037
13038 1) ACPI CA Core Subsystem:
13039
13040 Fixed a problem where a store to a String or Buffer object could
13041 cause corruption of the DSDT if the object type being stored was
13042 the same as the target object type and the length of the object
13043 being stored was equal to or smaller than the original (existing)
13044 target object. This was seen to cause corruption of battery _BIF
13045 buffers if the _BIF method modified the buffer on the fly.
13046
13047 Fixed a problem where an internal error was generated if a control
13048 method invocation was used in an OperationRegion, Buffer, or
13049 Package declaration. This was caused by the deferred parsing of
13050 the control method and thus the deferred creation of the internal
13051 method object. The solution to this problem was to create the
13052 internal method object at the moment the method is encountered in
13053 the first pass - so that subsequent references to the method will
13054 able to obtain the required parameter count and thus properly
13055 parse the method invocation. This problem presented itself as an
13056 AE_AML_INTERNAL during the pass 1 parse phase during table load.
13057
13058 Fixed a problem where the internal String object copy routine did
13059 not always allocate sufficient memory for the target String object
13060 and caused memory corruption. This problem was seen to cause
13061 "Allocation already present in list!" errors as memory allocation
13062 became corrupted.
13063
13064 Implemented a new function for the evaluation of namespace objects
13065 that allows the specification of the allowable return object
13066 types. This simplifies a lot of code that checks for a return
13067 object of one or more specific objects returned from the
13068 evaluation (such as _STA, etc.) This may become and external
13069 function if it would be useful to ACPI-related drivers.
13070
13071 Completed another round of prefixing #defines with "ACPI_" for
13072 clarity.
13073
13074 Completed additional code restructuring to allow more modular
13075 linking for iASL compiler and AcpiExec. Several files were split
13076 creating new files. New files: nsparse.c dsinit.c evgpe.c
13077
13078 Implemented an abort mechanism to terminate an executing control
13079 method via the AML debugger. This feature is useful for debugging
13080 control methods that depend (wait) for specific hardware
13081 responses.
13082
13083 Code and Data Size: Current core subsystem library sizes are shown
13084 below. These are the code and data sizes for the acpica.lib
13085 produced by the Microsoft Visual C++ 6.0 compiler, and these
13086 values do not include any ACPI driver or OSPM code. The debug
13087 version of the code includes the debug output trace mechanism and
13088 has a much larger code and data size. Note that these values will
13089 vary depending on the efficiency of the compiler and the compiler
13090 options used during generation.
13091
13092 Previous Release
13093 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13094 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
13095 Current Release:
13096 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
13097 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
13098
13099
13100 2) iASL Compiler/Disassembler
13101
13102 Fixed a compiler code generation problem for "Interrupt" Resource
13103 Descriptors. If specified in the ASL, the optional "Resource
13104 Source Index" and "Resource Source" fields were not inserted into
13105 the correct location within the AML resource descriptor, creating
13106 an invalid descriptor.
13107
13108 Fixed a disassembler problem for "Interrupt" resource descriptors.
13109 The optional "Resource Source Index" and "Resource Source" fields
13110 were ignored.
13111
13112
13113 ----------------------------------------
13114 22 November 2002. Summary of changes for version 20021122.
13115
13116
13117 1) ACPI CA Core Subsystem:
13118
13119 Fixed a reported problem where an object stored to a Method Local
13120 or Arg was not copied to a new object during the store - the
13121 object pointer was simply copied to the Local/Arg. This caused
13122 all subsequent operations on the Local/Arg to also affect the
13123 original source of the store operation.
13124
13125 Fixed a problem where a store operation to a Method Local or Arg
13126 was not completed properly if the Local/Arg contained a reference
13127 (from RefOf) to a named field. The general-purpose store-to-
13128 namespace-node code is now used so that this case is handled
13129 automatically.
13130
13131 Fixed a problem where the internal object copy routine would cause
13132 a protection fault if the object being copied was a Package and
13133 contained either 1) a NULL package element or 2) a nested sub-
13134 package.
13135
13136 Fixed a problem with the GPE initialization that resulted from an
13137 ambiguity in the ACPI specification. One section of the
13138 specification states that both the address and length of the GPE
13139 block must be zero if the block is not supported. Another section
13140 implies that only the address need be zero if the block is not
13141 supported. The code has been changed so that both the address and
13142 the length must be non-zero to indicate a valid GPE block (i.e.,
13143 if either the address or the length is zero, the GPE block is
13144 invalid.)
13145
13146 Code and Data Size: Current core subsystem library sizes are shown
13147 below. These are the code and data sizes for the acpica.lib
13148 produced by the Microsoft Visual C++ 6.0 compiler, and these
13149 values do not include any ACPI driver or OSPM code. The debug
13150 version of the code includes the debug output trace mechanism and
13151 has a much larger code and data size. Note that these values will
13152 vary depending on the efficiency of the compiler and the compiler
13153 options used during generation.
13154
13155 Previous Release
13156 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
13157 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
13158 Current Release:
13159 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13160 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
13161
13162
13163 2) Linux
13164
13165 Cleaned up EC driver. Exported an external EC read/write
13166 interface. By going through this, other drivers (most notably
13167 sonypi) will be able to serialize access to the EC.
13168
13169
13170 3) iASL Compiler/Disassembler
13171
13172 Implemented support to optionally generate include files for both
13173 ASM and C (the -i switch). This simplifies BIOS development by
13174 automatically creating include files that contain external
13175 declarations for the symbols that are created within the
13176
13177 (optionally generated) ASM and C AML source files.
13178
13179
13180 ----------------------------------------
13181 15 November 2002. Summary of changes for version 20021115.
13182
13183 1) ACPI CA Core Subsystem:
13184
13185 Fixed a memory leak problem where an error during resolution of
13186
13187 method arguments during a method invocation from another method
13188 failed to cleanup properly by deleting all successfully resolved
13189 argument objects.
13190
13191 Fixed a problem where the target of the Index() operator was not
13192 correctly constructed if the source object was a package. This
13193 problem has not been detected because the use of a target operand
13194 with Index() is very rare.
13195
13196 Fixed a problem with the Index() operator where an attempt was
13197 made to delete the operand objects twice.
13198
13199 Fixed a problem where an attempt was made to delete an operand
13200 twice during execution of the CondRefOf() operator if the target
13201 did not exist.
13202
13203 Implemented the first of perhaps several internal create object
13204 functions that create and initialize a specific object type. This
13205 consolidates duplicated code wherever the object is created, thus
13206 shrinking the size of the subsystem.
13207
13208 Implemented improved debug/error messages for errors that occur
13209 during nested method invocations. All executing method pathnames
13210 are displayed (with the error) as the call stack is unwound - thus
13211 simplifying debug.
13212
13213 Fixed a problem introduced in the 10/02 release that caused
13214 premature deletion of a buffer object if a buffer was used as an
13215 ASL operand where an integer operand is required (Thus causing an
13216 implicit object conversion from Buffer to Integer.) The change in
13217 the 10/02 release was attempting to fix a memory leak (albeit
13218 incorrectly.)
13219
13220 Code and Data Size: Current core subsystem library sizes are shown
13221 below. These are the code and data sizes for the acpica.lib
13222 produced by the Microsoft Visual C++ 6.0 compiler, and these
13223 values do not include any ACPI driver or OSPM code. The debug
13224 version of the code includes the debug output trace mechanism and
13225 has a much larger code and data size. Note that these values will
13226 vary depending on the efficiency of the compiler and the compiler
13227 options used during generation.
13228
13229 Previous Release
13230 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
13231 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
13232 Current Release:
13233 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
13234 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
13235
13236
13237 2) Linux
13238
13239 Changed the implementation of the ACPI semaphores to use down()
13240 instead of down_interruptable(). It is important that the
13241 execution of ACPI control methods not be interrupted by signals.
13242 Methods must run to completion, or the system may be left in an
13243 unknown/unstable state.
13244
13245 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
13246 (Shawn Starr)
13247
13248
13249 3) iASL Compiler/Disassembler
13250
13251
13252 Changed the default location of output files. All output files
13253 are now placed in the current directory by default instead of in
13254 the directory of the source file. This change may affect some
13255 existing makefiles, but it brings the behavior of the compiler in
13256 line with other similar tools. The location of the output files
13257 can be overridden with the -p command line switch.
13258
13259
13260 ----------------------------------------
13261 11 November 2002. Summary of changes for version 20021111.
13262
13263
13264 0) ACPI Specification 2.0B is released and is now available at:
13265 http://www.acpi.info/index.html
13266
13267
13268 1) ACPI CA Core Subsystem:
13269
13270 Implemented support for the ACPI 2.0 SMBus Operation Regions.
13271 This includes the early detection and handoff of the request to
13272 the SMBus region handler (avoiding all of the complex field
13273 support code), and support for the bidirectional return packet
13274 from an SMBus write operation. This paves the way for the
13275 development of SMBus drivers in each host operating system.
13276
13277 Fixed a problem where the semaphore WAIT_FOREVER constant was
13278 defined as 32 bits, but must be 16 bits according to the ACPI
13279 specification. This had the side effect of causing ASL
13280 Mutex/Event timeouts even though the ASL code requested a wait
13281 forever. Changed all internal references to the ACPI timeout
13282 parameter to 16 bits to prevent future problems. Changed the name
13283 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
13284
13285 Code and Data Size: Current core subsystem library sizes are shown
13286 below. These are the code and data sizes for the acpica.lib
13287 produced by the Microsoft Visual C++ 6.0 compiler, and these
13288 values do not include any ACPI driver or OSPM code. The debug
13289 version of the code includes the debug output trace mechanism and
13290 has a much larger code and data size. Note that these values will
13291 vary depending on the efficiency of the compiler and the compiler
13292 options used during generation.
13293
13294 Previous Release
13295 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13296 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
13297 Current Release:
13298 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
13299 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
13300
13301
13302 2) Linux
13303
13304 Module loading/unloading fixes (John Cagle)
13305
13306
13307 3) iASL Compiler/Disassembler
13308
13309 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
13310
13311 Implemented support for the disassembly of all SMBus protocol
13312 keywords (SMBQuick, SMBWord, etc.)
13313
13314 ----------------------------------------
13315 01 November 2002. Summary of changes for version 20021101.
13316
13317
13318 1) ACPI CA Core Subsystem:
13319
13320 Fixed a problem where platforms that have a GPE1 block but no GPE0
13321 block were not handled correctly. This resulted in a "GPE
13322 overlap" error message. GPE0 is no longer required.
13323
13324 Removed code added in the previous release that inserted nodes
13325 into the namespace in alphabetical order. This caused some side-
13326 effects on various machines. The root cause of the problem is
13327 still under investigation since in theory, the internal ordering
13328 of the namespace nodes should not matter.
13329
13330
13331 Enhanced error reporting for the case where a named object is not
13332 found during control method execution. The full ACPI namepath
13333 (name reference) of the object that was not found is displayed in
13334 this case.
13335
13336 Note: as a result of the overhaul of the namespace object types in
13337 the previous release, the namespace nodes for the predefined
13338 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
13339 instead of ACPI_TYPE_ANY. This simplifies the namespace
13340 management code but may affect code that walks the namespace tree
13341 looking for specific object types.
13342
13343 Code and Data Size: Current core subsystem library sizes are shown
13344 below. These are the code and data sizes for the acpica.lib
13345 produced by the Microsoft Visual C++ 6.0 compiler, and these
13346 values do not include any ACPI driver or OSPM code. The debug
13347 version of the code includes the debug output trace mechanism and
13348 has a much larger code and data size. Note that these values will
13349 vary depending on the efficiency of the compiler and the compiler
13350 options used during generation.
13351
13352 Previous Release
13353 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
13354 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
13355 Current Release:
13356 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13357 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
13358
13359
13360 2) Linux
13361
13362 Fixed a problem introduced in the previous release where the
13363 Processor and Thermal objects were not recognized and installed in
13364 /proc. This was related to the scope type change described above.
13365
13366
13367 3) iASL Compiler/Disassembler
13368
13369 Implemented the -g option to get all of the required ACPI tables
13370 from the registry and save them to files (Windows version of the
13371 compiler only.) The required tables are the FADT, FACS, and DSDT.
13372
13373 Added ACPI table checksum validation during table disassembly in
13374 order to catch corrupted tables.
13375
13376
13377 ----------------------------------------
13378 22 October 2002. Summary of changes for version 20021022.
13379
13380 1) ACPI CA Core Subsystem:
13381
13382 Implemented a restriction on the Scope operator that the target
13383 must already exist in the namespace at the time the operator is
13384 encountered (during table load or method execution). In other
13385 words, forward references are not allowed and Scope() cannot
13386 create a new object. This changes the previous behavior where the
13387 interpreter would create the name if not found. This new behavior
13388 correctly enables the search-to-root algorithm during namespace
13389 lookup of the target name. Because of this upsearch, this fixes
13390 the known Compaq _SB_.OKEC problem and makes both the AML
13391 interpreter and iASL compiler compatible with other ACPI
13392 implementations.
13393
13394 Completed a major overhaul of the internal ACPI object types for
13395 the ACPI Namespace and the associated operand objects. Many of
13396 these types had become obsolete with the introduction of the two-
13397 pass namespace load. This cleanup simplifies the code and makes
13398 the entire namespace load mechanism much clearer and easier to
13399 understand.
13400
13401 Improved debug output for tracking scope opening/closing to help
13402 diagnose scoping issues. The old scope name as well as the new
13403 scope name are displayed. Also improved error messages for
13404 problems with ASL Mutex objects and error messages for GPE
13405 problems.
13406
13407 Cleaned up the namespace dump code, removed obsolete code.
13408
13409 All string output (for all namespace/object dumps) now uses the
13410 common ACPI string output procedure which handles escapes properly
13411 and does not emit non-printable characters.
13412
13413 Fixed some issues with constants in the 64-bit version of the
13414 local C library (utclib.c)
13415
13416
13417 2) Linux
13418
13419 EC Driver: No longer attempts to acquire the Global Lock at
13420 interrupt level.
13421
13422
13423 3) iASL Compiler/Disassembler
13424
13425 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
13426 2 opcodes outside of a control method. This means that the
13427 "executable" operators (versus the "namespace" operators) cannot
13428 be used at the table level; they can only be used within a control
13429 method.
13430
13431 Implemented the restriction on the Scope() operator where the
13432 target must already exist in the namespace at the time the
13433 operator is encountered (during ASL compilation). In other words,
13434 forward references are not allowed and Scope() cannot create a new
13435 object. This makes the iASL compiler compatible with other ACPI
13436 implementations and makes the Scope() implementation adhere to the
13437 ACPI specification.
13438
13439 Fixed a problem where namepath optimization for the Alias operator
13440 was optimizing the wrong path (of the two namepaths.) This caused
13441 a "Missing alias link" error message.
13442
13443 Fixed a problem where an "unknown reserved name" warning could be
13444 incorrectly generated for names like "_SB" when the trailing
13445 underscore is not used in the original ASL.
13446
13447 Fixed a problem where the reserved name check did not handle
13448 NamePaths with multiple NameSegs correctly. The first nameseg of
13449 the NamePath was examined instead of the last NameSeg.
13450
13451
13452 ----------------------------------------
13453
13454 02 October 2002. Summary of changes for this release.
13455
13456
13457 1) ACPI CA Core Subsystem version 20021002:
13458
13459 Fixed a problem where a store/copy of a string to an existing
13460 string did not always set the string length properly in the String
13461 object.
13462
13463 Fixed a reported problem with the ToString operator where the
13464 behavior was identical to the ToHexString operator instead of just
13465 simply converting a raw buffer to a string data type.
13466
13467 Fixed a problem where CopyObject and the other "explicit"
13468 conversion operators were not updating the internal namespace node
13469 type as part of the store operation.
13470
13471 Fixed a memory leak during implicit source operand conversion
13472 where the original object was not deleted if it was converted to a
13473 new object of a different type.
13474
13475 Enhanced error messages for all problems associated with namespace
13476 lookups. Common procedure generates and prints the lookup name as
13477 well as the formatted status.
13478
13479 Completed implementation of a new design for the Alias support
13480 within the namespace. The existing design did not handle the case
13481 where a new object was assigned to one of the two names due to the
13482 use of an explicit conversion operator, resulting in the two names
13483 pointing to two different objects. The new design simply points
13484 the Alias name to the original name node - not to the object.
13485 This results in a level of indirection that must be handled in the
13486 name resolution mechanism.
13487
13488 Code and Data Size: Current core subsystem library sizes are shown
13489 below. These are the code and data sizes for the acpica.lib
13490 produced by the Microsoft Visual C++ 6.0 compiler, and these
13491 values do not include any ACPI driver or OSPM code. The debug
13492 version of the code includes the debug output trace mechanism and
13493 has a larger code and data size. Note that these values will vary
13494 depending on the efficiency of the compiler and the compiler
13495 options used during generation.
13496
13497 Previous Release
13498 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
13499 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
13500 Current Release:
13501 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
13502 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
13503
13504
13505 2) Linux
13506
13507 Initialize thermal driver's timer before it is used. (Knut
13508 Neumann)
13509
13510 Allow handling negative celsius values. (Kochi Takayoshi)
13511
13512 Fix thermal management and make trip points. R/W (Pavel Machek)
13513
13514 Fix /proc/acpi/sleep. (P. Christeas)
13515
13516 IA64 fixes. (David Mosberger)
13517
13518 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
13519
13520 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
13521 Brodowski)
13522
13523
13524 3) iASL Compiler/Disassembler
13525
13526 Clarified some warning/error messages.
13527
13528
13529 ----------------------------------------
13530 18 September 2002. Summary of changes for this release.
13531
13532
13533 1) ACPI CA Core Subsystem version 20020918:
13534
13535 Fixed a reported problem with reference chaining (via the Index()
13536 and RefOf() operators) in the ObjectType() and SizeOf() operators.
13537 The definition of these operators includes the dereferencing of
13538 all chained references to return information on the base object.
13539
13540 Fixed a problem with stores to indexed package elements - the
13541 existing code would not complete the store if an "implicit
13542 conversion" was not performed. In other words, if the existing
13543 object (package element) was to be replaced completely, the code
13544 didn't handle this case.
13545
13546 Relaxed typechecking on the ASL "Scope" operator to allow the
13547 target name to refer to an object of type Integer, String, or
13548 Buffer, in addition to the scoping object types (Device,
13549 predefined Scopes, Processor, PowerResource, and ThermalZone.)
13550 This allows existing AML code that has workarounds for a bug in
13551 Windows to function properly. A warning is issued, however. This
13552 affects both the AML interpreter and the iASL compiler. Below is
13553 an example of this type of ASL code:
13554
13555 Name(DEB,0x00)
13556 Scope(DEB)
13557 {
13558
13559 Fixed some reported problems with 64-bit integer support in the
13560 local implementation of C library functions (clib.c)
13561
13562
13563 2) Linux
13564
13565 Use ACPI fix map region instead of IOAPIC region, since it is
13566 undefined in non-SMP.
13567
13568 Ensure that the SCI has the proper polarity and trigger, even on
13569 systems that do not have an interrupt override entry in the MADT.
13570
13571 2.5 big driver reorganization (Pat Mochel)
13572
13573 Use early table mapping code from acpitable.c (Andi Kleen)
13574
13575 New blacklist entries (Andi Kleen)
13576
13577 Blacklist improvements. Split blacklist code out into a separate
13578 file. Move checking the blacklist to very early. Previously, we
13579 would use ACPI tables, and then halfway through init, check the
13580 blacklist -- too late. Now, it's early enough to completely fall-
13581 back to non-ACPI.
13582
13583
13584 3) iASL Compiler/Disassembler version 20020918:
13585
13586 Fixed a problem where the typechecking code didn't know that an
13587 alias could point to a method. In other words, aliases were not
13588 being dereferenced during typechecking.
13589
13590
13591 ----------------------------------------
13592 29 August 2002. Summary of changes for this release.
13593
13594 1) ACPI CA Core Subsystem Version 20020829:
13595
13596 If the target of a Scope() operator already exists, it must be an
13597 object type that actually opens a scope -- such as a Device,
13598 Method, Scope, etc. This is a fatal runtime error. Similar error
13599 check has been added to the iASL compiler also.
13600
13601 Tightened up the namespace load to disallow multiple names in the
13602 same scope. This previously was allowed if both objects were of
13603 the same type. (i.e., a lookup was the same as entering a new
13604 name).
13605
13606
13607 2) Linux
13608
13609 Ensure that the ACPI interrupt has the proper trigger and
13610 polarity.
13611
13612 local_irq_disable is extraneous. (Matthew Wilcox)
13613
13614 Make "acpi=off" actually do what it says, and not use the ACPI
13615 interpreter *or* the tables.
13616
13617 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
13618 Takayoshi)
13619
13620
13621 3) iASL Compiler/Disassembler Version 20020829:
13622
13623 Implemented namepath optimization for name declarations. For
13624 example, a declaration like "Method (\_SB_.ABCD)" would get
13625 optimized to "Method (ABCD)" if the declaration is within the
13626 \_SB_ scope. This optimization is in addition to the named
13627 reference path optimization first released in the previous
13628 version. This would seem to complete all possible optimizations
13629 for namepaths within the ASL/AML.
13630
13631 If the target of a Scope() operator already exists, it must be an
13632 object type that actually opens a scope -- such as a Device,
13633 Method, Scope, etc.
13634
13635 Implemented a check and warning for unreachable code in the same
13636 block below a Return() statement.
13637
13638 Fixed a problem where the listing file was not generated if the
13639 compiler aborted if the maximum error count was exceeded (200).
13640
13641 Fixed a problem where the typechecking of method return values was
13642 broken. This includes the check for a return value when the
13643 method is invoked as a TermArg (a return value is expected.)
13644
13645 Fixed a reported problem where EOF conditions during a quoted
13646 string or comment caused a fault.
13647
13648
13649 ----------------------------------------
13650 15 August 2002. Summary of changes for this release.
13651
13652 1) ACPI CA Core Subsystem Version 20020815:
13653
13654 Fixed a reported problem where a Store to a method argument that
13655 contains a reference did not perform the indirect store correctly.
13656 This problem was created during the conversion to the new
13657 reference object model - the indirect store to a method argument
13658 code was not updated to reflect the new model.
13659
13660 Reworked the ACPI mode change code to better conform to ACPI 2.0,
13661 handle corner cases, and improve code legibility (Kochi Takayoshi)
13662
13663 Fixed a problem with the pathname parsing for the carat (^)
13664 prefix. The heavy use of the carat operator by the new namepath
13665 optimization in the iASL compiler uncovered a problem with the AML
13666 interpreter handling of this prefix. In the case where one or
13667 more carats precede a single nameseg, the nameseg was treated as
13668 standalone and the search rule (to root) was inadvertently
13669 applied. This could cause both the iASL compiler and the
13670 interpreter to find the wrong object or to miss the error that
13671 should occur if the object does not exist at that exact pathname.
13672
13673 Found and fixed the problem where the HP Pavilion DSDT would not
13674 load. This was a relatively minor tweak to the table loading code
13675 (a problem caused by the unexpected encounter with a method
13676 invocation not within a control method), but it does not solve the
13677 overall issue of the execution of AML code at the table level.
13678 This investigation is still ongoing.
13679
13680 Code and Data Size: Current core subsystem library sizes are shown
13681 below. These are the code and data sizes for the acpica.lib
13682 produced by the Microsoft Visual C++ 6.0 compiler, and these
13683 values do not include any ACPI driver or OSPM code. The debug
13684 version of the code includes the debug output trace mechanism and
13685 has a larger code and data size. Note that these values will vary
13686 depending on the efficiency of the compiler and the compiler
13687 options used during generation.
13688
13689 Previous Release
13690 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
13691 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
13692 Current Release:
13693 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
13694 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
13695
13696
13697 2) Linux
13698
13699 Remove redundant slab.h include (Brad Hards)
13700
13701 Fix several bugs in thermal.c (Herbert Nachtnebel)
13702
13703 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
13704
13705 Change acpi_system_suspend to use updated irq functions (Pavel
13706 Machek)
13707
13708 Export acpi_get_firmware_table (Matthew Wilcox)
13709
13710 Use proper root proc entry for ACPI (Kochi Takayoshi)
13711
13712 Fix early-boot table parsing (Bjorn Helgaas)
13713
13714
13715 3) iASL Compiler/Disassembler
13716
13717 Reworked the compiler options to make them more consistent and to
13718 use two-letter options where appropriate. We were running out of
13719 sensible letters. This may break some makefiles, so check the
13720 current options list by invoking the compiler with no parameters.
13721
13722 Completed the design and implementation of the ASL namepath
13723 optimization option for the compiler. This option optimizes all
13724 references to named objects to the shortest possible path. The
13725 first attempt tries to utilize a single nameseg (4 characters) and
13726 the "search-to-root" algorithm used by the interpreter. If that
13727 cannot be used (because either the name is not in the search path
13728 or there is a conflict with another object with the same name),
13729 the pathname is optimized using the carat prefix (usually a
13730 shorter string than specifying the entire path from the root.)
13731
13732 Implemented support to obtain the DSDT from the Windows registry
13733 (when the disassembly option is specified with no input file).
13734 Added this code as the implementation for AcpiOsTableOverride in
13735 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
13736 utility) to scan memory for the DSDT to the AcpiOsTableOverride
13737 function in the DOS OSL to make the disassembler truly OS
13738 independent.
13739
13740 Implemented a new option to disassemble and compile in one step.
13741 When used without an input filename, this option will grab the
13742 DSDT from the local machine, disassemble it, and compile it in one
13743 step.
13744
13745 Added a warning message for invalid escapes (a backslash followed
13746 by any character other than the allowable escapes). This catches
13747 the quoted string error "\_SB_" (which should be "\\_SB_" ).
13748
13749 Also, there are numerous instances in the ACPI specification where
13750 this error occurs.
13751
13752 Added a compiler option to disable all optimizations. This is
13753 basically the "compatibility mode" because by using this option,
13754 the AML code will come out exactly the same as other ASL
13755 compilers.
13756
13757 Added error messages for incorrectly ordered dependent resource
13758 functions. This includes: missing EndDependentFn macro at end of
13759 dependent resource list, nested dependent function macros (both
13760 start and end), and missing StartDependentFn macro. These are
13761 common errors that should be caught at compile time.
13762
13763 Implemented _OSI support for the disassembler and compiler. _OSI
13764 must be included in the namespace for proper disassembly (because
13765 the disassembler must know the number of arguments.)
13766
13767 Added an "optimization" message type that is optional (off by
13768 default). This message is used for all optimizations - including
13769 constant folding, integer optimization, and namepath optimization.
13770
13771 ----------------------------------------
13772 25 July 2002. Summary of changes for this release.
13773
13774
13775 1) ACPI CA Core Subsystem Version 20020725:
13776
13777 The AML Disassembler has been enhanced to produce compilable ASL
13778 code and has been integrated into the iASL compiler (see below) as
13779 well as the single-step disassembly for the AML debugger and the
13780 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
13781 resource templates and macros are fully supported. The
13782 disassembler has been tested on over 30 different AML files,
13783 producing identical AML when the resulting disassembled ASL file
13784 is recompiled with the same ASL compiler.
13785
13786 Modified the Resource Manager to allow zero interrupts and zero
13787 dma channels during the GetCurrentResources call. This was
13788 causing problems on some platforms.
13789
13790 Added the AcpiOsRedirectOutput interface to the OSL to simplify
13791 output redirection for the AcpiOsPrintf and AcpiOsVprintf
13792 interfaces.
13793
13794 Code and Data Size: Current core subsystem library sizes are shown
13795 below. These are the code and data sizes for the acpica.lib
13796 produced by the Microsoft Visual C++ 6.0 compiler, and these
13797 values do not include any ACPI driver or OSPM code. The debug
13798 version of the code includes the debug output trace mechanism and
13799 has a larger code and data size. Note that these values will vary
13800 depending on the efficiency of the compiler and the compiler
13801 options used during generation.
13802
13803 Previous Release
13804 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
13805 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
13806 Current Release:
13807 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
13808 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
13809
13810
13811 2) Linux
13812
13813 Fixed a panic in the EC driver (Dominik Brodowski)
13814
13815 Implemented checksum of the R/XSDT itself during Linux table scan
13816 (Richard Schaal)
13817
13818
13819 3) iASL compiler
13820
13821 The AML disassembler is integrated into the compiler. The "-d"
13822 option invokes the disassembler to completely disassemble an
13823 input AML file, producing as output a text ASL file with the
13824 extension ".dsl" (to avoid name collisions with existing .asl
13825 source files.) A future enhancement will allow the disassembler
13826 to obtain the BIOS DSDT from the registry under Windows.
13827
13828 Fixed a problem with the VendorShort and VendorLong resource
13829 descriptors where an invalid AML sequence was created.
13830
13831 Implemented a fix for BufferData term in the ASL parser. It was
13832 inadvertently defined twice, allowing invalid syntax to pass and
13833 causing reduction conflicts.
13834
13835 Fixed a problem where the Ones opcode could get converted to a
13836 value of zero if "Ones" was used where a byte, word or dword value
13837 was expected. The 64-bit value is now truncated to the correct
13838 size with the correct value.
13839
13840
13841
13842 ----------------------------------------
13843 02 July 2002. Summary of changes for this release.
13844
13845
13846 1) ACPI CA Core Subsystem Version 20020702:
13847
13848 The Table Manager code has been restructured to add several new
13849 features. Tables that are not required by the core subsystem
13850 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
13851 validated in any way and are returned from AcpiGetFirmwareTable if
13852 requested. The AcpiOsTableOverride interface is now called for
13853 each table that is loaded by the subsystem in order to allow the
13854 host to override any table it chooses. Previously, only the DSDT
13855 could be overridden. Added one new files, tbrsdt.c and
13856 tbgetall.c.
13857
13858 Fixed a problem with the conversion of internal package objects to
13859 external objects (when a package is returned from a control
13860 method.) The return buffer length was set to zero instead of the
13861 proper length of the package object.
13862
13863 Fixed a reported problem with the use of the RefOf and DeRefOf
13864 operators when passing reference arguments to control methods. A
13865 new type of Reference object is used internally for references
13866 produced by the RefOf operator.
13867
13868 Added additional error messages in the Resource Manager to explain
13869 AE_BAD_DATA errors when they occur during resource parsing.
13870
13871 Split the AcpiEnableSubsystem into two primitives to enable a
13872 finer granularity initialization sequence. These two calls should
13873 be called in this order: AcpiEnableSubsystem (flags),
13874 AcpiInitializeObjects (flags). The flags parameter remains the
13875 same.
13876
13877
13878 2) Linux
13879
13880 Updated the ACPI utilities module to understand the new style of
13881 fully resolved package objects that are now returned from the core
13882 subsystem. This eliminates errors of the form:
13883
13884 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
13885 acpi_utils-0430 [145] acpi_evaluate_reference:
13886 Invalid element in package (not a device reference)
13887
13888 The method evaluation utility uses the new buffer allocation
13889 scheme instead of calling AcpiEvaluate Object twice.
13890
13891 Added support for ECDT. This allows the use of the Embedded
13892
13893 Controller before the namespace has been fully initialized, which
13894 is necessary for ACPI 2.0 support, and for some laptops to
13895 initialize properly. (Laptops using ECDT are still rare, so only
13896 limited testing was performed of the added functionality.)
13897
13898 Fixed memory leaks in the EC driver.
13899
13900 Eliminated a brittle code structure in acpi_bus_init().
13901
13902 Eliminated the acpi_evaluate() helper function in utils.c. It is
13903 no longer needed since acpi_evaluate_object can optionally
13904 allocate memory for the return object.
13905
13906 Implemented fix for keyboard hang when getting battery readings on
13907 some systems (Stephen White)
13908
13909 PCI IRQ routing update (Dominik Brodowski)
13910
13911 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
13912 support
13913
13914 ----------------------------------------
13915 11 June 2002. Summary of changes for this release.
13916
13917
13918 1) ACPI CA Core Subsystem Version 20020611:
13919
13920 Fixed a reported problem where constants such as Zero and One
13921 appearing within _PRT packages were not handled correctly within
13922 the resource manager code. Originally reported against the ASL
13923 compiler because the code generator now optimizes integers to
13924 their minimal AML representation (i.e. AML constants if possible.)
13925 The _PRT code now handles all AML constant opcodes correctly
13926 (Zero, One, Ones, Revision).
13927
13928 Fixed a problem with the Concatenate operator in the AML
13929 interpreter where a buffer result object was incorrectly marked as
13930 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
13931
13932 All package sub-objects are now fully resolved before they are
13933 returned from the external ACPI interfaces. This means that name
13934 strings are resolved to object handles, and constant operators
13935 (Zero, One, Ones, Revision) are resolved to Integers.
13936
13937 Implemented immediate resolution of the AML Constant opcodes
13938 (Zero, One, Ones, Revision) to Integer objects upon detection
13939 within the AML stream. This has simplified and reduced the
13940 generated code size of the subsystem by eliminating about 10
13941 switch statements for these constants (which previously were
13942 contained in Reference objects.) The complicating issues are that
13943 the Zero opcode is used as a "placeholder" for unspecified
13944 optional target operands and stores to constants are defined to be
13945 no-ops.
13946
13947 Code and Data Size: Current core subsystem library sizes are shown
13948 below. These are the code and data sizes for the acpica.lib
13949 produced by the Microsoft Visual C++ 6.0 compiler, and these
13950 values do not include any ACPI driver or OSPM code. The debug
13951 version of the code includes the debug output trace mechanism and
13952 has a larger code and data size. Note that these values will vary
13953 depending on the efficiency of the compiler and the compiler
13954 options used during generation.
13955
13956 Previous Release
13957 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
13958 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
13959 Current Release:
13960 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
13961 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
13962
13963
13964 2) Linux
13965
13966
13967 Added preliminary support for obtaining _TRA data for PCI root
13968 bridges (Bjorn Helgaas).
13969
13970
13971 3) iASL Compiler Version X2046:
13972
13973 Fixed a problem where the "_DDN" reserved name was defined to be a
13974 control method with one argument. There are no arguments, and
13975 _DDN does not have to be a control method.
13976
13977 Fixed a problem with the Linux version of the compiler where the
13978 source lines printed with error messages were the wrong lines.
13979 This turned out to be the "LF versus CR/LF" difference between
13980 Windows and Unix. This appears to be the longstanding issue
13981 concerning listing output and error messages.
13982
13983 Fixed a problem with the Linux version of compiler where opcode
13984 names within error messages were wrong. This was caused by a
13985 slight difference in the output of the Flex tool on Linux versus
13986 Windows.
13987
13988 Fixed a problem with the Linux compiler where the hex output files
13989 contained some garbage data caused by an internal buffer overrun.
13990
13991
13992 ----------------------------------------
13993 17 May 2002. Summary of changes for this release.
13994
13995
13996 1) ACPI CA Core Subsystem Version 20020517:
13997
13998 Implemented a workaround to an BIOS bug discovered on the HP
13999 OmniBook where the FADT revision number and the table size are
14000 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
14001 behavior is to fallback to using only the ACPI 1.0 fields of the
14002 FADT if the table is too small to be a ACPI 2.0 table as claimed
14003 by the revision number. Although this is a BIOS bug, this is a
14004 case where the workaround is simple enough and with no side
14005 effects, so it seemed prudent to add it. A warning message is
14006 issued, however.
14007
14008 Implemented minimum size checks for the fixed-length ACPI tables -
14009 - the FADT and FACS, as well as consistency checks between the
14010 revision number and the table size.
14011
14012 Fixed a reported problem in the table override support where the
14013 new table pointer was incorrectly treated as a physical address
14014 instead of a logical address.
14015
14016 Eliminated the use of the AE_AML_ERROR exception and replaced it
14017 with more descriptive codes.
14018
14019 Fixed a problem where an exception would occur if an ASL Field was
14020 defined with no named Field Units underneath it (used by some
14021 index fields).
14022
14023 Code and Data Size: Current core subsystem library sizes are shown
14024 below. These are the code and data sizes for the acpica.lib
14025 produced by the Microsoft Visual C++ 6.0 compiler, and these
14026 values do not include any ACPI driver or OSPM code. The debug
14027 version of the code includes the debug output trace mechanism and
14028 has a larger code and data size. Note that these values will vary
14029 depending on the efficiency of the compiler and the compiler
14030 options used during generation.
14031
14032 Previous Release
14033 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
14034 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
14035 Current Release:
14036 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
14037 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
14038
14039
14040
14041 2) Linux
14042
14043 Much work done on ACPI init (MADT and PCI IRQ routing support).
14044 (Paul D. and Dominik Brodowski)
14045
14046 Fix PCI IRQ-related panic on boot (Sam Revitch)
14047
14048 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
14049
14050 Fix "MHz" typo (Dominik Brodowski)
14051
14052 Fix RTC year 2000 issue (Dominik Brodowski)
14053
14054 Preclude multiple button proc entries (Eric Brunet)
14055
14056 Moved arch-specific code out of include/platform/aclinux.h
14057
14058 3) iASL Compiler Version X2044:
14059
14060 Implemented error checking for the string used in the EISAID macro
14061 (Usually used in the definition of the _HID object.) The code now
14062 strictly enforces the PnP format - exactly 7 characters, 3
14063 uppercase letters and 4 hex digits.
14064
14065 If a raw string is used in the definition of the _HID object
14066 (instead of the EISAID macro), the string must contain all
14067 alphanumeric characters (e.g., "*PNP0011" is not allowed because
14068 of the asterisk.)
14069
14070 Implemented checking for invalid use of ACPI reserved names for
14071 most of the name creation operators (Name, Device, Event, Mutex,
14072 OperationRegion, PowerResource, Processor, and ThermalZone.)
14073 Previously, this check was only performed for control methods.
14074
14075 Implemented an additional check on the Name operator to emit an
14076 error if a reserved name that must be implemented in ASL as a
14077 control method is used. We know that a reserved name must be a
14078 method if it is defined with input arguments.
14079
14080 The warning emitted when a namespace object reference is not found
14081 during the cross reference phase has been changed into an error.
14082 The "External" directive should be used for names defined in other
14083 modules.
14084
14085
14086 4) Tools and Utilities
14087
14088 The 16-bit tools (adump16 and aexec16) have been regenerated and
14089 tested.
14090
14091 Fixed a problem with the output of both acpidump and adump16 where
14092 the indentation of closing parentheses and brackets was not
14093
14094 aligned properly with the parent block.
14095
14096
14097 ----------------------------------------
14098 03 May 2002. Summary of changes for this release.
14099
14100
14101 1) ACPI CA Core Subsystem Version 20020503:
14102
14103 Added support a new OSL interface that allows the host operating
14104
14105 system software to override the DSDT found in the firmware -
14106 AcpiOsTableOverride. With this interface, the OSL can examine the
14107 version of the firmware DSDT and replace it with a different one
14108 if desired.
14109
14110 Added new external interfaces for accessing ACPI registers from
14111 device drivers and other system software - AcpiGetRegister and
14112 AcpiSetRegister. This was simply an externalization of the
14113 existing AcpiHwBitRegister interfaces.
14114
14115 Fixed a regression introduced in the previous build where the
14116 ASL/AML CreateField operator always returned an error,
14117 "destination must be a NS Node".
14118
14119 Extended the maximum time (before failure) to successfully enable
14120 ACPI mode to 3 seconds.
14121
14122 Code and Data Size: Current core subsystem library sizes are shown
14123 below. These are the code and data sizes for the acpica.lib
14124 produced by the Microsoft Visual C++ 6.0 compiler, and these
14125 values do not include any ACPI driver or OSPM code. The debug
14126 version of the code includes the debug output trace mechanism and
14127 has a larger code and data size. Note that these values will vary
14128 depending on the efficiency of the compiler and the compiler
14129 options used during generation.
14130
14131 Previous Release
14132 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
14133 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
14134 Current Release:
14135 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
14136 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
14137
14138
14139 2) Linux
14140
14141 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
14142 free. While 3 out of 4 of our in-house systems work fine, the last
14143 one still hangs when testing the LAPIC timer.
14144
14145 Renamed many files in 2.5 kernel release to omit "acpi_" from the
14146 name.
14147
14148 Added warning on boot for Presario 711FR.
14149
14150 Sleep improvements (Pavel Machek)
14151
14152 ACPI can now be built without CONFIG_PCI enabled.
14153
14154 IA64: Fixed memory map functions (JI Lee)
14155
14156
14157 3) iASL Compiler Version X2043:
14158
14159 Added support to allow the compiler to be integrated into the MS
14160 VC++ development environment for one-button compilation of single
14161 files or entire projects -- with error-to-source-line mapping.
14162
14163 Implemented support for compile-time constant folding for the
14164 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
14165 specification. This allows the ASL writer to use expressions
14166 instead of Integer/Buffer/String constants in terms that must
14167 evaluate to constants at compile time and will also simplify the
14168 emitted AML in any such sub-expressions that can be folded
14169 (evaluated at compile-time.) This increases the size of the
14170 compiler significantly because a portion of the ACPI CA AML
14171 interpreter is included within the compiler in order to pre-
14172 evaluate constant expressions.
14173
14174
14175 Fixed a problem with the "Unicode" ASL macro that caused the
14176 compiler to fault. (This macro is used in conjunction with the
14177 _STR reserved name.)
14178
14179 Implemented an AML opcode optimization to use the Zero, One, and
14180 Ones opcodes where possible to further reduce the size of integer
14181 constants and thus reduce the overall size of the generated AML
14182 code.
14183
14184 Implemented error checking for new reserved terms for ACPI version
14185 2.0A.
14186
14187 Implemented the -qr option to display the current list of ACPI
14188 reserved names known to the compiler.
14189
14190 Implemented the -qc option to display the current list of ASL
14191 operators that are allowed within constant expressions and can
14192 therefore be folded at compile time if the operands are constants.
14193
14194
14195 4) Documentation
14196
14197 Updated the Programmer's Reference for new interfaces, data types,
14198 and memory allocation model options.
14199
14200 Updated the iASL Compiler User Reference to apply new format and
14201 add information about new features and options.
14202
14203 ----------------------------------------
14204 19 April 2002. Summary of changes for this release.
14205
14206 1) ACPI CA Core Subsystem Version 20020419:
14207
14208 The source code base for the Core Subsystem has been completely
14209 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
14210 versions. The Lint option files used are included in the
14211 /acpi/generate/lint directory.
14212
14213 Implemented enhanced status/error checking across the entire
14214 Hardware manager subsystem. Any hardware errors (reported from
14215 the OSL) are now bubbled up and will abort a running control
14216 method.
14217
14218
14219 Fixed a problem where the per-ACPI-table integer width (32 or 64)
14220 was stored only with control method nodes, causing a fault when
14221 non-control method code was executed during table loading. The
14222 solution implemented uses a global variable to indicate table
14223 width across the entire ACPI subsystem. Therefore, ACPI CA does
14224 not support mixed integer widths across different ACPI tables
14225 (DSDT, SSDT).
14226
14227 Fixed a problem where NULL extended fields (X fields) in an ACPI
14228 2.0 ACPI FADT caused the table load to fail. Although the
14229 existing ACPI specification is a bit fuzzy on this topic, the new
14230 behavior is to fall back on a ACPI 1.0 field if the corresponding
14231 ACPI 2.0 X field is zero (even though the table revision indicates
14232 a full ACPI 2.0 table.) The ACPI specification will be updated to
14233 clarify this issue.
14234
14235 Fixed a problem with the SystemMemory operation region handler
14236 where memory was always accessed byte-wise even if the AML-
14237 specified access width was larger than a byte. This caused
14238 problems on systems with memory-mapped I/O. Memory is now
14239 accessed with the width specified. On systems that do not support
14240 non-aligned transfers, a check is made to guarantee proper address
14241 alignment before proceeding in order to avoid an AML-caused
14242 alignment fault within the kernel.
14243
14244
14245 Fixed a problem with the ExtendedIrq resource where only one byte
14246 of the 4-byte Irq field was extracted.
14247
14248 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
14249 function was out of date and required a rewrite.
14250
14251 Code and Data Size: Current core subsystem library sizes are shown
14252 below. These are the code and data sizes for the acpica.lib
14253 produced by the Microsoft Visual C++ 6.0 compiler, and these
14254 values do not include any ACPI driver or OSPM code. The debug
14255 version of the code includes the debug output trace mechanism and
14256 has a larger code and data size. Note that these values will vary
14257 depending on the efficiency of the compiler and the compiler
14258 options used during generation.
14259
14260 Previous Release
14261 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
14262 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
14263 Current Release:
14264 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
14265 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
14266
14267
14268 2) Linux
14269
14270 PCI IRQ routing fixes (Dominik Brodowski)
14271
14272
14273 3) iASL Compiler Version X2042:
14274
14275 Implemented an additional compile-time error check for a field
14276 unit whose size + minimum access width would cause a run-time
14277 access beyond the end-of-region. Previously, only the field size
14278 itself was checked.
14279
14280 The Core subsystem and iASL compiler now share a common parse
14281 object in preparation for compile-time evaluation of the type
14282 3/4/5 ASL operators.
14283
14284
14285 ----------------------------------------
14286 Summary of changes for this release: 03_29_02
14287
14288 1) ACPI CA Core Subsystem Version 20020329:
14289
14290 Implemented support for late evaluation of TermArg operands to
14291 Buffer and Package objects. This allows complex expressions to be
14292 used in the declarations of these object types.
14293
14294 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
14295 1.0, if the field was larger than 32 bits, it was returned as a
14296 buffer - otherwise it was returned as an integer. In ACPI 2.0,
14297 the field is returned as a buffer only if the field is larger than
14298 64 bits. The TableRevision is now considered when making this
14299 conversion to avoid incompatibility with existing ASL code.
14300
14301 Implemented logical addressing for AcpiOsGetRootPointer. This
14302 allows an RSDP with either a logical or physical address. With
14303 this support, the host OS can now override all ACPI tables with
14304 one logical RSDP. Includes implementation of "typed" pointer
14305 support to allow a common data type for both physical and logical
14306 pointers internally. This required a change to the
14307 AcpiOsGetRootPointer interface.
14308
14309 Implemented the use of ACPI 2.0 Generic Address Structures for all
14310 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
14311 mapped I/O for these ACPI features.
14312
14313 Initialization now ignores not only non-required tables (All
14314 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
14315 not validate the table headers of unrecognized tables.
14316
14317 Fixed a problem where a notify handler could only be
14318 installed/removed on an object of type Device. All "notify"
14319
14320 objects are now supported -- Devices, Processor, Power, and
14321 Thermal.
14322
14323 Removed most verbosity from the ACPI_DB_INFO debug level. Only
14324 critical information is returned when this debug level is enabled.
14325
14326 Code and Data Size: Current core subsystem library sizes are shown
14327 below. These are the code and data sizes for the acpica.lib
14328 produced by the Microsoft Visual C++ 6.0 compiler, and these
14329 values do not include any ACPI driver or OSPM code. The debug
14330 version of the code includes the debug output trace mechanism and
14331 has a larger code and data size. Note that these values will vary
14332 depending on the efficiency of the compiler and the compiler
14333 options used during generation.
14334
14335 Previous Release
14336 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
14337 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
14338 Current Release:
14339 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
14340 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
14341
14342
14343 2) Linux:
14344
14345 The processor driver (acpi_processor.c) now fully supports ACPI
14346 2.0-based processor performance control (e.g. Intel(R)
14347 SpeedStep(TM) technology) Note that older laptops that only have
14348 the Intel "applet" interface are not supported through this. The
14349 'limit' and 'performance' interface (/proc) are fully functional.
14350 [Note that basic policy for controlling performance state
14351 transitions will be included in the next version of ospmd.] The
14352 idle handler was modified to more aggressively use C2, and PIIX4
14353 errata handling underwent a complete overhaul (big thanks to
14354 Dominik Brodowski).
14355
14356 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
14357 based devices in the ACPI namespace are now dynamically bound
14358 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
14359 This allows, among other things, ACPI to resolve bus numbers for
14360 subordinate PCI bridges.
14361
14362 Enhanced PCI IRQ routing to get the proper bus number for _PRT
14363 entries defined underneath PCI bridges.
14364
14365 Added IBM 600E to bad bios list due to invalid _ADR value for
14366 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
14367
14368 In the process of adding full MADT support (e.g. IOAPIC) for IA32
14369 (acpi.c, mpparse.c) -- stay tuned.
14370
14371 Added back visual differentiation between fixed-feature and
14372 control-method buttons in dmesg. Buttons are also subtyped (e.g.
14373 button/power/PWRF) to simplify button identification.
14374
14375 We no longer use -Wno-unused when compiling debug. Please ignore
14376 any "_THIS_MODULE defined but not used" messages.
14377
14378 Can now shut down the system using "magic sysrq" key.
14379
14380
14381 3) iASL Compiler version 2041:
14382
14383 Fixed a problem where conversion errors for hex/octal/decimal
14384 constants were not reported.
14385
14386 Implemented a fix for the General Register template Address field.
14387 This field was 8 bits when it should be 64.
14388
14389 Fixed a problem where errors/warnings were no longer being emitted
14390 within the listing output file.
14391
14392 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
14393 exactly 4 characters, alphanumeric only.
14394
14395
14396
14397
14398 ----------------------------------------
14399 Summary of changes for this release: 03_08_02
14400
14401
14402 1) ACPI CA Core Subsystem Version 20020308:
14403
14404 Fixed a problem with AML Fields where the use of the "AccessAny"
14405 keyword could cause an interpreter error due to attempting to read
14406 or write beyond the end of the parent Operation Region.
14407
14408 Fixed a problem in the SystemMemory Operation Region handler where
14409 an attempt was made to map memory beyond the end of the region.
14410 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
14411 errors on some Linux systems.
14412
14413 Fixed a problem where the interpreter/namespace "search to root"
14414 algorithm was not functioning for some object types. Relaxed the
14415 internal restriction on the search to allow upsearches for all
14416 external object types as well as most internal types.
14417
14418
14419 2) Linux:
14420
14421 We now use safe_halt() macro versus individual calls to sti | hlt.
14422
14423 Writing to the processor limit interface should now work. "echo 1"
14424 will increase the limit, 2 will decrease, and 0 will reset to the
14425
14426 default.
14427
14428
14429 3) ASL compiler:
14430
14431 Fixed segfault on Linux version.
14432
14433
14434 ----------------------------------------
14435 Summary of changes for this release: 02_25_02
14436
14437 1) ACPI CA Core Subsystem:
14438
14439
14440 Fixed a problem where the GPE bit masks were not initialized
14441 properly, causing erratic GPE behavior.
14442
14443 Implemented limited support for multiple calling conventions. The
14444 code can be generated with either the VPL (variable parameter
14445 list, or "C") convention, or the FPL (fixed parameter list, or
14446 "Pascal") convention. The core subsystem is about 3.4% smaller
14447 when generated with FPL.
14448
14449
14450 2) Linux
14451
14452 Re-add some /proc/acpi/event functionality that was lost during
14453 the rewrite
14454
14455 Resolved issue with /proc events for fixed-feature buttons showing
14456 up as the system device.
14457
14458 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
14459
14460 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
14461
14462 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
14463
14464 Fixed limit interface & usage to fix bugs with passive cooling
14465 hysterisis.
14466
14467 Restructured PRT support.
14468
14469
14470 ----------------------------------------
14471 Summary of changes for this label: 02_14_02
14472
14473
14474 1) ACPI CA Core Subsystem:
14475
14476 Implemented support in AcpiLoadTable to allow loading of FACS and
14477 FADT tables.
14478
14479 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
14480 been removed. All 64-bit platforms should be migrated to the ACPI
14481 2.0 tables. The actbl71.h header has been removed from the source
14482 tree.
14483
14484 All C macros defined within the subsystem have been prefixed with
14485 "ACPI_" to avoid collision with other system include files.
14486
14487 Removed the return value for the two AcpiOsPrint interfaces, since
14488 it is never used and causes lint warnings for ignoring the return
14489 value.
14490
14491 Added error checking to all internal mutex acquire and release
14492 calls. Although a failure from one of these interfaces is
14493 probably a fatal system error, these checks will cause the
14494 immediate abort of the currently executing method or interface.
14495
14496 Fixed a problem where the AcpiSetCurrentResources interface could
14497 fault. This was a side effect of the deployment of the new memory
14498 allocation model.
14499
14500 Fixed a couple of problems with the Global Lock support introduced
14501 in the last major build. The "common" (1.0/2.0) internal FACS was
14502 being overwritten with the FACS signature and clobbering the
14503 Global Lock pointer. Also, the actual firmware FACS was being
14504 unmapped after construction of the "common" FACS, preventing
14505 access to the actual Global Lock field within it. The "common"
14506 internal FACS is no longer installed as an actual ACPI table; it
14507 is used simply as a global.
14508
14509 Code and Data Size: Current core subsystem library sizes are shown
14510 below. These are the code and data sizes for the acpica.lib
14511 produced by the Microsoft Visual C++ 6.0 compiler, and these
14512 values do not include any ACPI driver or OSPM code. The debug
14513 version of the code includes the debug output trace mechanism and
14514 has a larger code and data size. Note that these values will vary
14515 depending on the efficiency of the compiler and the compiler
14516 options used during generation.
14517
14518 Previous Release (02_07_01)
14519 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
14520 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
14521 Current Release:
14522 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
14523 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
14524
14525
14526 2) Linux
14527
14528 Updated Linux-specific code for core macro and OSL interface
14529 changes described above.
14530
14531 Improved /proc/acpi/event. It now can be opened only once and has
14532 proper poll functionality.
14533
14534 Fixed and restructured power management (acpi_bus).
14535
14536 Only create /proc "view by type" when devices of that class exist.
14537
14538 Fixed "charging/discharging" bug (and others) in acpi_battery.
14539
14540 Improved thermal zone code.
14541
14542
14543 3) ASL Compiler, version X2039:
14544
14545
14546 Implemented the new compiler restriction on ASL String hex/octal
14547 escapes to non-null, ASCII values. An error results if an invalid
14548 value is used. (This will require an ACPI 2.0 specification
14549 change.)
14550
14551 AML object labels that are output to the optional C and ASM source
14552 are now prefixed with both the ACPI table signature and table ID
14553 to help guarantee uniqueness within a large BIOS project.
14554
14555
14556 ----------------------------------------
14557 Summary of changes for this label: 02_01_02
14558
14559 1) ACPI CA Core Subsystem:
14560
14561 ACPI 2.0 support is complete in the entire Core Subsystem and the
14562 ASL compiler. All new ACPI 2.0 operators are implemented and all
14563 other changes for ACPI 2.0 support are complete. With
14564 simultaneous code and data optimizations throughout the subsystem,
14565 ACPI 2.0 support has been implemented with almost no additional
14566 cost in terms of code and data size.
14567
14568 Implemented a new mechanism for allocation of return buffers. If
14569 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
14570 be allocated on behalf of the caller. Consolidated all return
14571 buffer validation and allocation to a common procedure. Return
14572 buffers will be allocated via the primary OSL allocation interface
14573 since it appears that a separate pool is not needed by most users.
14574 If a separate pool is required for these buffers, the caller can
14575 still use the original mechanism and pre-allocate the buffer(s).
14576
14577 Implemented support for string operands within the DerefOf
14578 operator.
14579
14580 Restructured the Hardware and Event managers to be table driven,
14581 simplifying the source code and reducing the amount of generated
14582 code.
14583
14584 Split the common read/write low-level ACPI register bitfield
14585 procedure into a separate read and write, simplifying the code
14586 considerably.
14587
14588 Obsoleted the AcpiOsCallocate OSL interface. This interface was
14589 used only a handful of times and didn't have enough critical mass
14590 for a separate interface. Replaced with a common calloc procedure
14591 in the core.
14592
14593 Fixed a reported problem with the GPE number mapping mechanism
14594 that allows GPE1 numbers to be non-contiguous with GPE0.
14595 Reorganized the GPE information and shrunk a large array that was
14596 originally large enough to hold info for all possible GPEs (256)
14597 to simply large enough to hold all GPEs up to the largest GPE
14598 number on the machine.
14599
14600 Fixed a reported problem with resource structure alignment on 64-
14601 bit platforms.
14602
14603 Changed the AcpiEnableEvent and AcpiDisableEvent external
14604 interfaces to not require any flags for the common case of
14605 enabling/disabling a GPE.
14606
14607 Implemented support to allow a "Notify" on a Processor object.
14608
14609 Most TBDs in comments within the source code have been resolved
14610 and eliminated.
14611
14612
14613 Fixed a problem in the interpreter where a standalone parent
14614 prefix (^) was not handled correctly in the interpreter and
14615 debugger.
14616
14617 Removed obsolete and unnecessary GPE save/restore code.
14618
14619 Implemented Field support in the ASL Load operator. This allows a
14620 table to be loaded from a named field, in addition to loading a
14621 table directly from an Operation Region.
14622
14623 Implemented timeout and handle support in the external Global Lock
14624 interfaces.
14625
14626 Fixed a problem in the AcpiDump utility where pathnames were no
14627 longer being generated correctly during the dump of named objects.
14628
14629 Modified the AML debugger to give a full display of if/while
14630 predicates instead of just one AML opcode at a time. (The
14631 predicate can have several nested ASL statements.) The old method
14632 was confusing during single stepping.
14633
14634 Code and Data Size: Current core subsystem library sizes are shown
14635 below. These are the code and data sizes for the acpica.lib
14636 produced by the Microsoft Visual C++ 6.0 compiler, and these
14637 values do not include any ACPI driver or OSPM code. The debug
14638 version of the code includes the debug output trace mechanism and
14639 has a larger code and data size. Note that these values will vary
14640 depending on the efficiency of the compiler and the compiler
14641 options used during generation.
14642
14643 Previous Release (12_18_01)
14644 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
14645 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
14646 Current Release:
14647 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
14648 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
14649
14650 2) Linux
14651
14652 Implemented fix for PIIX reverse throttling errata (Processor
14653 driver)
14654
14655 Added new Limit interface (Processor and Thermal drivers)
14656
14657 New thermal policy (Thermal driver)
14658
14659 Many updates to /proc
14660
14661 Battery "low" event support (Battery driver)
14662
14663 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
14664
14665 IA32 - IA64 initialization unification, no longer experimental
14666
14667 Menuconfig options redesigned
14668
14669 3) ASL Compiler, version X2037:
14670
14671 Implemented several new output features to simplify integration of
14672 AML code into firmware: 1) Output the AML in C source code with
14673 labels for each named ASL object. The original ASL source code
14674 is interleaved as C comments. 2) Output the AML in ASM source code
14675 with labels and interleaved ASL source. 3) Output the AML in
14676 raw hex table form, in either C or ASM.
14677
14678 Implemented support for optional string parameters to the
14679 LoadTable operator.
14680
14681 Completed support for embedded escape sequences within string
14682 literals. The compiler now supports all single character escapes
14683 as well as the Octal and Hex escapes. Note: the insertion of a
14684 null byte into a string literal (via the hex/octal escape) causes
14685 the string to be immediately terminated. A warning is issued.
14686
14687 Fixed a problem where incorrect AML was generated for the case
14688 where an ASL namepath consists of a single parent prefix (
14689
14690 ) with no trailing name segments.
14691
14692 The compiler has been successfully generated with a 64-bit C
14693 compiler.
14694
14695
14696
14697
14698 ----------------------------------------
14699 Summary of changes for this label: 12_18_01
14700
14701 1) Linux
14702
14703 Enhanced blacklist with reason and severity fields. Any table's
14704 signature may now be used to identify a blacklisted system.
14705
14706 Call _PIC control method to inform the firmware which interrupt
14707 model the OS is using. Turn on any disabled link devices.
14708
14709 Cleaned up busmgr /proc error handling (Andreas Dilger)
14710
14711 2) ACPI CA Core Subsystem:
14712
14713 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
14714 while loop)
14715
14716 Completed implementation of the ACPI 2.0 "Continue",
14717 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
14718 operators. All new ACPI 2.0 operators are now implemented in both
14719 the ASL compiler and the AML interpreter. The only remaining ACPI
14720 2.0 task is support for the String data type in the DerefOf
14721 operator. Fixed a problem with AcquireMutex where the status code
14722 was lost if the caller had to actually wait for the mutex.
14723
14724 Increased the maximum ASL Field size from 64K bits to 4G bits.
14725
14726 Completed implementation of the external Global Lock interfaces --
14727 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
14728 Handler parameters were added.
14729
14730 Completed another pass at removing warnings and issues when
14731 compiling with 64-bit compilers. The code now compiles cleanly
14732 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
14733 add and subtract (diff) macros have changed considerably.
14734
14735
14736 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
14737 64-bit platforms, 32-bits on all others. This type is used
14738 wherever memory allocation and/or the C sizeof() operator is used,
14739 and affects the OSL memory allocation interfaces AcpiOsAllocate
14740 and AcpiOsCallocate.
14741
14742 Implemented sticky user breakpoints in the AML debugger.
14743
14744 Code and Data Size: Current core subsystem library sizes are shown
14745 below. These are the code and data sizes for the acpica.lib
14746 produced by the Microsoft Visual C++ 6.0 compiler, and these
14747 values do not include any ACPI driver or OSPM code. The debug
14748 version of the code includes the debug output trace mechanism and
14749 has a larger code and data size. Note that these values will vary
14750 depending on the efficiency of the compiler and the compiler
14751 options used during generation.
14752
14753 Previous Release (12_05_01)
14754 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
14755 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
14756 Current Release:
14757 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
14758 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
14759
14760 3) ASL Compiler, version X2034:
14761
14762 Now checks for (and generates an error if detected) the use of a
14763 Break or Continue statement without an enclosing While statement.
14764
14765
14766 Successfully generated the compiler with the Intel 64-bit C
14767 compiler.
14768
14769 ----------------------------------------
14770 Summary of changes for this label: 12_05_01
14771
14772 1) ACPI CA Core Subsystem:
14773
14774 The ACPI 2.0 CopyObject operator is fully implemented. This
14775 operator creates a new copy of an object (and is also used to
14776 bypass the "implicit conversion" mechanism of the Store operator.)
14777
14778 The ACPI 2.0 semantics for the SizeOf operator are fully
14779 implemented. The change is that performing a SizeOf on a
14780 reference object causes an automatic dereference of the object to
14781 tha actual value before the size is evaluated. This behavior was
14782 undefined in ACPI 1.0.
14783
14784 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
14785 have been implemented. The interrupt polarity and mode are now
14786 independently set.
14787
14788 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
14789 appearing in Package objects were not properly converted to
14790 integers when the internal Package was converted to an external
14791 object (via the AcpiEvaluateObject interface.)
14792
14793 Fixed a problem with the namespace object deletion mechanism for
14794 objects created by control methods. There were two parts to this
14795 problem: 1) Objects created during the initialization phase method
14796 parse were not being deleted, and 2) The object owner ID mechanism
14797 to track objects was broken.
14798
14799 Fixed a problem where the use of the ASL Scope operator within a
14800 control method would result in an invalid opcode exception.
14801
14802 Fixed a problem introduced in the previous label where the buffer
14803 length required for the _PRT structure was not being returned
14804 correctly.
14805
14806 Code and Data Size: Current core subsystem library sizes are shown
14807 below. These are the code and data sizes for the acpica.lib
14808 produced by the Microsoft Visual C++ 6.0 compiler, and these
14809 values do not include any ACPI driver or OSPM code. The debug
14810 version of the code includes the debug output trace mechanism and
14811 has a larger code and data size. Note that these values will vary
14812 depending on the efficiency of the compiler and the compiler
14813 options used during generation.
14814
14815 Previous Release (11_20_01)
14816 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
14817 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
14818
14819 Current Release:
14820 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
14821 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
14822
14823 2) Linux:
14824
14825 Updated all files to apply cleanly against 2.4.16.
14826
14827 Added basic PCI Interrupt Routing Table (PRT) support for IA32
14828 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
14829 version supports both static and dyanmic PRT entries, but dynamic
14830 entries are treated as if they were static (not yet
14831 reconfigurable). Architecture- specific code to use this data is
14832 absent on IA32 but should be available shortly.
14833
14834 Changed the initialization sequence to start the ACPI interpreter
14835 (acpi_init) prior to initialization of the PCI driver (pci_init)
14836 in init/main.c. This ordering is required to support PRT and
14837 facilitate other (future) enhancement. A side effect is that the
14838 ACPI bus driver and certain device drivers can no longer be loaded
14839 as modules.
14840
14841 Modified the 'make menuconfig' options to allow PCI Interrupt
14842 Routing support to be included without the ACPI Bus and other
14843 device drivers.
14844
14845 3) ASL Compiler, version X2033:
14846
14847 Fixed some issues with the use of the new CopyObject and
14848 DataTableRegion operators. Both are fully functional.
14849
14850 ----------------------------------------
14851 Summary of changes for this label: 11_20_01
14852
14853 20 November 2001. Summary of changes for this release.
14854
14855 1) ACPI CA Core Subsystem:
14856
14857 Updated Index support to match ACPI 2.0 semantics. Storing a
14858 Integer, String, or Buffer to an Index of a Buffer will store only
14859 the least-significant byte of the source to the Indexed buffer
14860 byte. Multiple writes are not performed.
14861
14862 Fixed a problem where the access type used in an AccessAs ASL
14863 operator was not recorded correctly into the field object.
14864
14865 Fixed a problem where ASL Event objects were created in a
14866 signalled state. Events are now created in an unsignalled state.
14867
14868 The internal object cache is now purged after table loading and
14869 initialization to reduce the use of dynamic kernel memory -- on
14870 the assumption that object use is greatest during the parse phase
14871 of the entire table (versus the run-time use of individual control
14872 methods.)
14873
14874 ACPI 2.0 variable-length packages are now fully operational.
14875
14876 Code and Data Size: Code and Data optimizations have permitted new
14877 feature development with an actual reduction in the library size.
14878 Current core subsystem library sizes are shown below. These are
14879 the code and data sizes for the acpica.lib produced by the
14880 Microsoft Visual C++ 6.0 compiler, and these values do not include
14881 any ACPI driver or OSPM code. The debug version of the code
14882 includes the debug output trace mechanism and has a larger code
14883 and data size. Note that these values will vary depending on the
14884 efficiency of the compiler and the compiler options used during
14885 generation.
14886
14887 Previous Release (11_09_01):
14888 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
14889 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
14890
14891 Current Release:
14892 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
14893 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
14894
14895 2) Linux:
14896
14897 Enhanced the ACPI boot-time initialization code to allow the use
14898 of Local APIC tables for processor enumeration on IA-32, and to
14899 pave the way for a fully MPS-free boot (on SMP systems) in the
14900 near future. This functionality replaces
14901 arch/i386/kernel/acpitables.c, which was introduced in an earlier
14902 2.4.15-preX release. To enable this feature you must add
14903 "acpi_boot=on" to the kernel command line -- see the help entry
14904 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
14905 the works...
14906
14907 Restructured the configuration options to allow boot-time table
14908 parsing support without inclusion of the ACPI Interpreter (and
14909 other) code.
14910
14911 NOTE: This release does not include fixes for the reported events,
14912 power-down, and thermal passive cooling issues (coming soon).
14913
14914 3) ASL Compiler:
14915
14916 Added additional typechecking for Fields within restricted access
14917 Operation Regions. All fields within EC and CMOS regions must be
14918 declared with ByteAcc. All fields withing SMBus regions must be
14919 declared with the BufferAcc access type.
14920
14921 Fixed a problem where the listing file output of control methods
14922 no longer interleaved the actual AML code with the ASL source
14923 code.
14924
14925
14926
14927
14928 ----------------------------------------
14929 Summary of changes for this label: 11_09_01
14930
14931 1) ACPI CA Core Subsystem:
14932
14933 Implemented ACPI 2.0-defined support for writes to fields with a
14934 Buffer, String, or Integer source operand that is smaller than the
14935 target field. In these cases, the source operand is zero-extended
14936 to fill the target field.
14937
14938 Fixed a problem where a Field starting bit offset (within the
14939 parent operation region) was calculated incorrectly if the
14940
14941 alignment of the field differed from the access width. This
14942 affected CreateWordField, CreateDwordField, CreateQwordField, and
14943 possibly other fields that use the "AccessAny" keyword.
14944
14945 Fixed a problem introduced in the 11_02_01 release where indirect
14946 stores through method arguments did not operate correctly.
14947
14948 2) Linux:
14949
14950 Implemented boot-time ACPI table parsing support
14951 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
14952 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
14953 legacy BIOS interfaces (e.g. MPS) for the configuration of system
14954 processors, memory, and interrupts during setup_arch(). Note that
14955 this patch does not include the required architecture-specific
14956 changes required to apply this information -- subsequent patches
14957 will be posted for both IA32 and IA64 to achieve this.
14958
14959 Added low-level sleep support for IA32 platforms, courtesy of Pat
14960 Mochel. This allows IA32 systems to transition to/from various
14961 sleeping states (e.g. S1, S3), although the lack of a centralized
14962 driver model and power-manageable drivers will prevent its
14963 (successful) use on most systems.
14964
14965 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
14966 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
14967 tables" option, etc.
14968
14969 Increased the default timeout for the EC driver from 1ms to 10ms
14970 (1000 cycles of 10us) to try to address AE_TIME errors during EC
14971 transactions.
14972
14973 ----------------------------------------
14974 Summary of changes for this label: 11_02_01
14975
14976 1) ACPI CA Core Subsystem:
14977
14978 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
14979 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
14980 implemented.
14981
14982 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
14983 changes to support ACPI 2.0 Qword field access. Read/Write
14984 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
14985 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
14986 the value parameter for the address space handler interface is now
14987 an ACPI_INTEGER. OSL implementations of these interfaces must now
14988 handle the case where the Width parameter is 64.
14989
14990 Index Fields: Fixed a problem where unaligned bit assembly and
14991 disassembly for IndexFields was not supported correctly.
14992
14993 Index and Bank Fields: Nested Index and Bank Fields are now
14994 supported. During field access, a check is performed to ensure
14995 that the value written to an Index or Bank register is not out of
14996 the range of the register. The Index (or Bank) register is
14997 written before each access to the field data. Future support will
14998 include allowing individual IndexFields to be wider than the
14999 DataRegister width.
15000
15001 Fields: Fixed a problem where the AML interpreter was incorrectly
15002 attempting to write beyond the end of a Field/OpRegion. This was
15003 a boundary case that occurred when a DWORD field was written to a
15004 BYTE access OpRegion, forcing multiple writes and causing the
15005 interpreter to write one datum too many.
15006
15007 Fields: Fixed a problem with Field/OpRegion access where the
15008 starting bit address of a field was incorrectly calculated if the
15009 current access type was wider than a byte (WordAcc, DwordAcc, or
15010 QwordAcc).
15011
15012 Fields: Fixed a problem where forward references to individual
15013 FieldUnits (individual Field names within a Field definition) were
15014 not resolved during the AML table load.
15015
15016 Fields: Fixed a problem where forward references from a Field
15017 definition to the parent Operation Region definition were not
15018 resolved during the AML table load.
15019
15020 Fields: Duplicate FieldUnit names within a scope are now detected
15021 during AML table load.
15022
15023 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
15024 returned an incorrect name for the root node.
15025
15026 Code and Data Size: Code and Data optimizations have permitted new
15027 feature development with an actual reduction in the library size.
15028 Current core subsystem library sizes are shown below. These are
15029 the code and data sizes for the acpica.lib produced by the
15030 Microsoft Visual C++ 6.0 compiler, and these values do not include
15031 any ACPI driver or OSPM code. The debug version of the code
15032 includes the debug output trace mechanism and has a larger code
15033 and data size. Note that these values will vary depending on the
15034 efficiency of the compiler and the compiler options used during
15035 generation.
15036
15037 Previous Release (10_18_01):
15038 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
15039 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
15040
15041 Current Release:
15042 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
15043 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
15044
15045 2) Linux:
15046
15047 Improved /proc processor output (Pavel Machek) Re-added
15048 MODULE_LICENSE("GPL") to all modules.
15049
15050 3) ASL Compiler version X2030:
15051
15052 Duplicate FieldUnit names within a scope are now detected and
15053 flagged as errors.
15054
15055 4) Documentation:
15056
15057 Programmer Reference updated to reflect OSL and address space
15058 handler interface changes described above.
15059
15060 ----------------------------------------
15061 Summary of changes for this label: 10_18_01
15062
15063 ACPI CA Core Subsystem:
15064
15065 Fixed a problem with the internal object reference count mechanism
15066 that occasionally caused premature object deletion. This resolves
15067 all of the outstanding problem reports where an object is deleted
15068 in the middle of an interpreter evaluation. Although this problem
15069 only showed up in rather obscure cases, the solution to the
15070 problem involved an adjustment of all reference counts involving
15071 objects attached to namespace nodes.
15072
15073 Fixed a problem with Field support in the interpreter where
15074 writing to an aligned field whose length is an exact multiple (2
15075 or greater) of the field access granularity would cause an attempt
15076 to write beyond the end of the field.
15077
15078 The top level AML opcode execution functions within the
15079 interpreter have been renamed with a more meaningful and
15080 consistent naming convention. The modules exmonad.c and
15081 exdyadic.c were eliminated. New modules are exoparg1.c,
15082 exoparg2.c, exoparg3.c, and exoparg6.c.
15083
15084 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
15085
15086 Fixed a problem where the AML debugger was causing some internal
15087 objects to not be deleted during subsystem termination.
15088
15089 Fixed a problem with the external AcpiEvaluateObject interface
15090 where the subsystem would fault if the named object to be
15091 evaluated refered to a constant such as Zero, Ones, etc.
15092
15093 Fixed a problem with IndexFields and BankFields where the
15094 subsystem would fault if the index, data, or bank registers were
15095 not defined in the same scope as the field itself.
15096
15097 Added printf format string checking for compilers that support
15098 this feature. Corrected more than 50 instances of issues with
15099 format specifiers within invocations of ACPI_DEBUG_PRINT
15100 throughout the core subsystem code.
15101
15102 The ASL "Revision" operator now returns the ACPI support level
15103 implemented in the core - the value "2" since the ACPI 2.0 support
15104 is more than 50% implemented.
15105
15106 Enhanced the output of the AML debugger "dump namespace" command
15107 to output in a more human-readable form.
15108
15109 Current core subsystem library code sizes are shown below. These
15110
15111 are the code and data sizes for the acpica.lib produced by the
15112 Microsoft Visual C++ 6.0 compiler, and these values do not include
15113 any ACPI driver or OSPM code. The debug version of the code
15114 includes the full debug trace mechanism -- leading to a much
15115
15116 larger code and data size. Note that these values will vary
15117 depending on the efficiency of the compiler and the compiler
15118 options used during generation.
15119
15120 Previous Label (09_20_01):
15121 Non-Debug Version: 65K Code, 5K Data, 70K Total
15122 Debug Version: 138K Code, 58K Data, 196K Total
15123
15124 This Label:
15125
15126 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
15127 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
15128
15129 Linux:
15130
15131 Implemented a "Bad BIOS Blacklist" to track machines that have
15132 known ASL/AML problems.
15133
15134 Enhanced the /proc interface for the thermal zone driver and added
15135 support for _HOT (the critical suspend trip point). The 'info'
15136 file now includes threshold/policy information, and allows setting
15137 of _SCP (cooling preference) and _TZP (polling frequency) values
15138 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
15139 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
15140 preference to the passive/quiet mode (if supported by the ASL).
15141
15142 Implemented a workaround for a gcc bug that resuted in an OOPs
15143 when loading the control method battery driver.
15144
15145 ----------------------------------------
15146 Summary of changes for this label: 09_20_01
15147
15148 ACPI CA Core Subsystem:
15149
15150 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
15151 modified to allow individual GPE levels to be flagged as wake-
15152 enabled (i.e., these GPEs are to remain enabled when the platform
15153 sleeps.)
15154
15155 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
15156 support wake-enabled GPEs. This means that upon entering the
15157 sleep state, all GPEs that are not wake-enabled are disabled.
15158 When leaving the sleep state, these GPEs are reenabled.
15159
15160 A local double-precision divide/modulo module has been added to
15161 enhance portability to OS kernels where a 64-bit math library is
15162 not available. The new module is "utmath.c".
15163
15164 Several optimizations have been made to reduce the use of CPU
15165 stack. Originally over 2K, the maximum stack usage is now below
15166 2K at 1860 bytes (1.82k)
15167
15168 Fixed a problem with the AcpiGetFirmwareTable interface where the
15169 root table pointer was not mapped into a logical address properly.
15170
15171 Fixed a problem where a NULL pointer was being dereferenced in the
15172 interpreter code for the ASL Notify operator.
15173
15174 Fixed a problem where the use of the ASL Revision operator
15175 returned an error. This operator now returns the current version
15176 of the ACPI CA core subsystem.
15177
15178 Fixed a problem where objects passed as control method parameters
15179 to AcpiEvaluateObject were always deleted at method termination.
15180 However, these objects may end up being stored into the namespace
15181 by the called method. The object reference count mechanism was
15182 applied to these objects instead of a force delete.
15183
15184 Fixed a problem where static strings or buffers (contained in the
15185 AML code) that are declared as package elements within the ASL
15186 code could cause a fault because the interpreter would attempt to
15187 delete them. These objects are now marked with the "static
15188 object" flag to prevent any attempt to delete them.
15189
15190 Implemented an interpreter optimization to use operands directly
15191 from the state object instead of extracting the operands to local
15192 variables. This reduces stack use and code size, and improves
15193 performance.
15194
15195 The module exxface.c was eliminated as it was an unnecessary extra
15196 layer of code.
15197
15198 Current core subsystem library code sizes are shown below. These
15199 are the code and data sizes for the acpica.lib produced by the
15200 Microsoft Visual C++ 6.0 compiler, and these values do not include
15201 any ACPI driver or OSPM code. The debug version of the code
15202 includes the full debug trace mechanism -- leading to a much
15203 larger code and data size. Note that these values will vary
15204 depending on the efficiency of the compiler and the compiler
15205 options used during generation.
15206
15207 Non-Debug Version: 65K Code, 5K Data, 70K Total
15208 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
15209 Total (Previously 195K)
15210
15211 Linux:
15212
15213 Support for ACPI 2.0 64-bit integers has been added. All ACPI
15214 Integer objects are now 64 bits wide
15215
15216 All Acpi data types and structures are now in lower case. Only
15217 Acpi macros are upper case for differentiation.
15218
15219 Documentation:
15220
15221 Changes to the external interfaces as described above.
15222
15223 ----------------------------------------
15224 Summary of changes for this label: 08_31_01
15225
15226 ACPI CA Core Subsystem:
15227
15228 A bug with interpreter implementation of the ASL Divide operator
15229 was found and fixed. The implicit function return value (not the
15230 explicit store operands) was returning the remainder instead of
15231 the quotient. This was a longstanding bug and it fixes several
15232 known outstanding issues on various platforms.
15233
15234 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
15235 been further optimized for size. There are 700 invocations of the
15236 DEBUG_PRINT macro alone, so each optimization reduces the size of
15237 the debug version of the subsystem significantly.
15238
15239 A stack trace mechanism has been implemented. The maximum stack
15240 usage is about 2K on 32-bit platforms. The debugger command "stat
15241 stack" will display the current maximum stack usage.
15242
15243 All public symbols and global variables within the subsystem are
15244 now prefixed with the string "Acpi". This keeps all of the
15245 symbols grouped together in a kernel map, and avoids conflicts
15246 with other kernel subsystems.
15247
15248 Most of the internal fixed lookup tables have been moved into the
15249 code segment via the const operator.
15250
15251 Several enhancements have been made to the interpreter to both
15252 reduce the code size and improve performance.
15253
15254 Current core subsystem library code sizes are shown below. These
15255 are the code and data sizes for the acpica.lib produced by the
15256 Microsoft Visual C++ 6.0 compiler, and these values do not include
15257 any ACPI driver or OSPM code. The debug version of the code
15258 includes the full debug trace mechanism which contains over 700
15259 invocations of the DEBUG_PRINT macro, 500 function entry macro
15260 invocations, and over 900 function exit macro invocations --
15261 leading to a much larger code and data size. Note that these
15262 values will vary depending on the efficiency of the compiler and
15263 the compiler options used during generation.
15264
15265 Non-Debug Version: 64K Code, 5K Data, 69K Total
15266 Debug Version: 137K Code, 58K Data, 195K Total
15267
15268 Linux:
15269
15270 Implemented wbinvd() macro, pending a kernel-wide definition.
15271
15272 Fixed /proc/acpi/event to handle poll() and short reads.
15273
15274 ASL Compiler, version X2026:
15275
15276 Fixed a problem introduced in the previous label where the AML
15277
15278 code emitted for package objects produced packages with zero
15279 length.
15280
15281 ----------------------------------------
15282 Summary of changes for this label: 08_16_01
15283
15284 ACPI CA Core Subsystem:
15285
15286 The following ACPI 2.0 ASL operators have been implemented in the
15287 AML interpreter (These are already supported by the Intel ASL
15288 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
15289 ToBuffer. Support for 64-bit AML constants is implemented in the
15290 AML parser, debugger, and disassembler.
15291
15292 The internal memory tracking mechanism (leak detection code) has
15293 been upgraded to reduce the memory overhead (a separate tracking
15294 block is no longer allocated for each memory allocation), and now
15295 supports all of the internal object caches.
15296
15297 The data structures and code for the internal object caches have
15298 been coelesced and optimized so that there is a single cache and
15299 memory list data structure and a single group of functions that
15300 implement generic cache management. This has reduced the code
15301 size in both the debug and release versions of the subsystem.
15302
15303 The DEBUG_PRINT macro(s) have been optimized for size and replaced
15304 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
15305 different, because it generates a single call to an internal
15306 function. This results in a savings of about 90 bytes per
15307 invocation, resulting in an overall code and data savings of about
15308 16% in the debug version of the subsystem.
15309
15310 Linux:
15311
15312 Fixed C3 disk corruption problems and re-enabled C3 on supporting
15313 machines.
15314
15315 Integrated low-level sleep code by Patrick Mochel.
15316
15317 Further tweaked source code Linuxization.
15318
15319 Other minor fixes.
15320
15321 ASL Compiler:
15322
15323 Support for ACPI 2.0 variable length packages is fixed/completed.
15324
15325 Fixed a problem where the optional length parameter for the ACPI
15326 2.0 ToString operator.
15327
15328 Fixed multiple extraneous error messages when a syntax error is
15329 detected within the declaration line of a control method.
15330
15331 ----------------------------------------
15332 Summary of changes for this label: 07_17_01
15333
15334 ACPI CA Core Subsystem:
15335
15336 Added a new interface named AcpiGetFirmwareTable to obtain any
15337 ACPI table via the ACPI signature. The interface can be called at
15338 any time during kernel initialization, even before the kernel
15339 virtual memory manager is initialized and paging is enabled. This
15340 allows kernel subsystems to obtain ACPI tables very early, even
15341 before the ACPI CA subsystem is initialized.
15342
15343 Fixed a problem where Fields defined with the AnyAcc attribute
15344 could be resolved to the incorrect address under the following
15345 conditions: 1) the field width is larger than 8 bits and 2) the
15346 parent operation region is not defined on a DWORD boundary.
15347
15348 Fixed a problem where the interpreter is not being locked during
15349 namespace initialization (during execution of the _INI control
15350 methods), causing an error when an attempt is made to release it
15351 later.
15352
15353 ACPI 2.0 support in the AML Interpreter has begun and will be
15354 ongoing throughout the rest of this year. In this label, The Mod
15355 operator is implemented.
15356
15357 Added a new data type to contain full PCI addresses named
15358 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
15359 and Function values.
15360
15361 Linux:
15362
15363 Enhanced the Linux version of the source code to change most
15364 capitalized ACPI type names to lowercase. For example, all
15365 instances of ACPI_STATUS are changed to acpi_status. This will
15366 result in a large diff, but the change is strictly cosmetic and
15367 aligns the CA code closer to the Linux coding standard.
15368
15369 OSL Interfaces:
15370
15371 The interfaces to the PCI configuration space have been changed to
15372 add the PCI Segment number and to split the single 32-bit combined
15373 DeviceFunction field into two 16-bit fields. This was
15374 accomplished by moving the four values that define an address in
15375 PCI configuration space (segment, bus, device, and function) to
15376 the new ACPI_PCI_ID structure.
15377
15378 The changes to the PCI configuration space interfaces led to a
15379 reexamination of the complete set of address space access
15380 interfaces for PCI, I/O, and Memory. The previously existing 18
15381 interfaces have proven difficult to maintain (any small change
15382 must be propagated across at least 6 interfaces) and do not easily
15383 allow for future expansion to 64 bits if necessary. Also, on some
15384 systems, it would not be appropriate to demultiplex the access
15385 width (8, 16, 32,or 64) before calling the OSL if the
15386 corresponding native OS interfaces contain a similar access width
15387 parameter. For these reasons, the 18 address space interfaces
15388 have been replaced by these 6 new ones:
15389
15390 AcpiOsReadPciConfiguration
15391 AcpiOsWritePciConfiguration
15392 AcpiOsReadMemory
15393 AcpiOsWriteMemory
15394 AcpiOsReadPort
15395 AcpiOsWritePort
15396
15397 Added a new interface named AcpiOsGetRootPointer to allow the OSL
15398 to perform the platform and/or OS-specific actions necessary to
15399 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
15400 interface will simply call down to the CA core to perform the low-
15401 memory search for the table. On IA-64, the RSDP is obtained from
15402 EFI. Migrating this interface to the OSL allows the CA core to
15403
15404 remain OS and platform independent.
15405
15406 Added a new interface named AcpiOsSignal to provide a generic
15407 "function code and pointer" interface for various miscellaneous
15408 signals and notifications that must be made to the host OS. The
15409 first such signals are intended to support the ASL Fatal and
15410 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
15411 interface has been obsoleted.
15412
15413 The definition of the AcpiFormatException interface has been
15414 changed to simplify its use. The caller no longer must supply a
15415 buffer to the call; A pointer to a const string is now returned
15416 directly. This allows the call to be easily used in printf
15417 statements, etc. since the caller does not have to manage a local
15418 buffer.
15419
15420
15421 ASL Compiler, Version X2025:
15422
15423 The ACPI 2.0 Switch/Case/Default operators have been implemented
15424 and are fully functional. They will work with all ACPI 1.0
15425 interpreters, since the operators are simply translated to If/Else
15426 pairs.
15427
15428 The ACPI 2.0 ElseIf operator is implemented and will also work
15429 with 1.0 interpreters, for the same reason.
15430
15431 Implemented support for ACPI 2.0 variable-length packages. These
15432 packages have a separate opcode, and their size is determined by
15433 the interpreter at run-time.
15434
15435 Documentation The ACPI CA Programmer Reference has been updated to
15436 reflect the new interfaces and changes to existing interfaces.
15437
15438 ------------------------------------------
15439 Summary of changes for this label: 06_15_01
15440
15441 ACPI CA Core Subsystem:
15442
15443 Fixed a problem where a DWORD-accessed field within a Buffer
15444 object would get its byte address inadvertently rounded down to
15445 the nearest DWORD. Buffers are always Byte-accessible.
15446
15447 ASL Compiler, version X2024:
15448
15449 Fixed a problem where the Switch() operator would either fault or
15450 hang the compiler. Note however, that the AML code for this ACPI
15451 2.0 operator is not yet implemented.
15452
15453 Compiler uses the new AcpiOsGetTimer interface to obtain compile
15454 timings.
15455
15456 Implementation of the CreateField operator automatically converts
15457 a reference to a named field within a resource descriptor from a
15458 byte offset to a bit offset if required.
15459
15460 Added some missing named fields from the resource descriptor
15461 support. These are the names that are automatically created by the
15462 compiler to reference fields within a descriptor. They are only
15463 valid at compile time and are not passed through to the AML
15464 interpreter.
15465
15466 Resource descriptor named fields are now typed as Integers and
15467 subject to compile-time typechecking when used in expressions.
15468
15469 ------------------------------------------
15470 Summary of changes for this label: 05_18_01
15471
15472 ACPI CA Core Subsystem:
15473
15474 Fixed a couple of problems in the Field support code where bits
15475 from adjacent fields could be returned along with the proper field
15476 bits. Restructured the field support code to improve performance,
15477 readability and maintainability.
15478
15479 New DEBUG_PRINTP macro automatically inserts the procedure name
15480 into the output, saving hundreds of copies of procedure name
15481 strings within the source, shrinking the memory footprint of the
15482 debug version of the core subsystem.
15483
15484 Source Code Structure:
15485
15486 The source code directory tree was restructured to reflect the
15487 current organization of the component architecture. Some files
15488 and directories have been moved and/or renamed.
15489
15490 Linux:
15491
15492 Fixed leaking kacpidpc processes.
15493
15494 Fixed queueing event data even when /proc/acpi/event is not
15495 opened.
15496
15497 ASL Compiler, version X2020:
15498
15499 Memory allocation performance enhancement - over 24X compile time
15500 improvement on large ASL files. Parse nodes and namestring
15501 buffers are now allocated from a large internal compiler buffer.
15502
15503 The temporary .SRC file is deleted unless the "-s" option is
15504 specified
15505
15506 The "-d" debug output option now sends all output to the .DBG file
15507 instead of the console.
15508
15509 "External" second parameter is now optional
15510
15511 "ElseIf" syntax now properly allows the predicate
15512
15513 Last operand to "Load" now recognized as a Target operand
15514
15515 Debug object can now be used anywhere as a normal object.
15516
15517 ResourceTemplate now returns an object of type BUFFER
15518
15519 EISAID now returns an object of type INTEGER
15520
15521 "Index" now works with a STRING operand
15522
15523 "LoadTable" now accepts optional parameters
15524
15525 "ToString" length parameter is now optional
15526
15527 "Interrupt (ResourceType," parse error fixed.
15528
15529 "Register" with a user-defined region space parse error fixed
15530
15531 Escaped backslash at the end of a string ("\\") scan/parse error
15532 fixed
15533
15534 "Revision" is now an object of type INTEGER.
15535
15536
15537
15538 ------------------------------------------
15539 Summary of changes for this label: 05_02_01
15540
15541 Linux:
15542
15543 /proc/acpi/event now blocks properly.
15544
15545 Removed /proc/sys/acpi. You can still dump your DSDT from
15546 /proc/acpi/dsdt.
15547
15548 ACPI CA Core Subsystem:
15549
15550 Fixed a problem introduced in the previous label where some of the
15551 "small" resource descriptor types were not recognized.
15552
15553 Improved error messages for the case where an ASL Field is outside
15554 the range of the parent operation region.
15555
15556 ASL Compiler, version X2018:
15557
15558
15559 Added error detection for ASL Fields that extend beyond the length
15560 of the parent operation region (only if the length of the region
15561 is known at compile time.) This includes fields that have a
15562 minimum access width that is smaller than the parent region, and
15563 individual field units that are partially or entirely beyond the
15564 extent of the parent.
15565
15566
15567
15568 ------------------------------------------
15569 Summary of changes for this label: 04_27_01
15570
15571 ACPI CA Core Subsystem:
15572
15573 Fixed a problem where the namespace mutex could be released at the
15574 wrong time during execution of AcpiRemoveAddressSpaceHandler.
15575
15576 Added optional thread ID output for debug traces, to simplify
15577 debugging of multiple threads. Added context switch notification
15578 when the debug code realizes that a different thread is now
15579 executing ACPI code.
15580
15581 Some additional external data types have been prefixed with the
15582 string "ACPI_" for consistency. This may effect existing code.
15583 The data types affected are the external callback typedefs - e.g.,
15584
15585 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
15586
15587 Linux:
15588
15589 Fixed an issue with the OSL semaphore implementation where a
15590 thread was waking up with an error from receiving a SIGCHLD
15591 signal.
15592
15593 Linux version of ACPI CA now uses the system C library for string
15594 manipulation routines instead of a local implementation.
15595
15596 Cleaned up comments and removed TBDs.
15597
15598 ASL Compiler, version X2017:
15599
15600 Enhanced error detection and reporting for all file I/O
15601 operations.
15602
15603 Documentation:
15604
15605 Programmer Reference updated to version 1.06.
15606
15607
15608
15609 ------------------------------------------
15610 Summary of changes for this label: 04_13_01
15611
15612 ACPI CA Core Subsystem:
15613
15614 Restructured support for BufferFields and RegionFields.
15615 BankFields support is now fully operational. All known 32-bit
15616 limitations on field sizes have been removed. Both BufferFields
15617 and (Operation) RegionFields are now supported by the same field
15618 management code.
15619
15620 Resource support now supports QWORD address and IO resources. The
15621 16/32/64 bit address structures and the Extended IRQ structure
15622 have been changed to properly handle Source Resource strings.
15623
15624 A ThreadId of -1 is now used to indicate a "mutex not acquired"
15625 condition internally and must never be returned by AcpiOsThreadId.
15626 This reserved value was changed from 0 since Unix systems allow a
15627 thread ID of 0.
15628
15629 Linux:
15630
15631 Driver code reorganized to enhance portability
15632
15633 Added a kernel configuration option to control ACPI_DEBUG
15634
15635 Fixed the EC driver to honor _GLK.
15636
15637 ASL Compiler, version X2016:
15638
15639 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
15640 address space was set to 0, not 0x7f as it should be.
15641
15642 ------------------------------------------
15643 Summary of changes for this label: 03_13_01
15644
15645 ACPI CA Core Subsystem:
15646
15647 During ACPI initialization, the _SB_._INI method is now run if
15648 present.
15649
15650 Notify handler fix - notifies are deferred until the parent method
15651 completes execution. This fixes the "mutex already acquired"
15652 issue seen occasionally.
15653
15654 Part of the "implicit conversion" rules in ACPI 2.0 have been
15655 found to cause compatibility problems with existing ASL/AML. The
15656 convert "result-to-target-type" implementation has been removed
15657 for stores to method Args and Locals. Source operand conversion
15658 is still fully implemented. Possible changes to ACPI 2.0
15659 specification pending.
15660
15661 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
15662 length.
15663
15664 Fix for compiler warnings for 64-bit compiles.
15665
15666 Linux:
15667
15668 /proc output aligned for easier parsing.
15669
15670 Release-version compile problem fixed.
15671
15672 New kernel configuration options documented in Configure.help.
15673
15674 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
15675 context" message.
15676
15677 OSPM:
15678
15679 Power resource driver integrated with bus manager.
15680
15681 Fixed kernel fault during active cooling for thermal zones.
15682
15683 Source Code:
15684
15685 The source code tree has been restructured.
15686
15687
15688
15689 ------------------------------------------
15690 Summary of changes for this label: 03_02_01
15691
15692 Linux OS Services Layer (OSL):
15693
15694 Major revision of all Linux-specific code.
15695
15696 Modularized all ACPI-specific drivers.
15697
15698 Added new thermal zone and power resource drivers.
15699
15700 Revamped /proc interface (new functionality is under /proc/acpi).
15701
15702 New kernel configuration options.
15703
15704 Linux known issues:
15705
15706 New kernel configuration options not documented in Configure.help
15707 yet.
15708
15709
15710 Module dependencies not currently implemented. If used, they
15711 should be loaded in this order: busmgr, power, ec, system,
15712 processor, battery, ac_adapter, button, thermal.
15713
15714 Modules will not load if CONFIG_MODVERSION is set.
15715
15716 IBM 600E - entering S5 may reboot instead of shutting down.
15717
15718 IBM 600E - Sleep button may generate "Invalid <NULL> context"
15719 message.
15720
15721 Some systems may fail with "execution mutex already acquired"
15722 message.
15723
15724 ACPI CA Core Subsystem:
15725
15726 Added a new OSL Interface, AcpiOsGetThreadId. This was required
15727 for the deadlock detection code. Defined to return a non-zero, 32-
15728 bit thread ID for the currently executing thread. May be a non-
15729 zero constant integer on single-thread systems.
15730
15731 Implemented deadlock detection for internal subsystem mutexes. We
15732 may add conditional compilation for this code (debug only) later.
15733
15734 ASL/AML Mutex object semantics are now fully supported. This
15735 includes multiple acquires/releases by owner and support for the
15736
15737 Mutex SyncLevel parameter.
15738
15739 A new "Force Release" mechanism automatically frees all ASL
15740 Mutexes that have been acquired but not released when a thread
15741 exits the interpreter. This forces conformance to the ACPI spec
15742 ("All mutexes must be released when an invocation exits") and
15743 prevents deadlocked ASL threads. This mechanism can be expanded
15744 (later) to monitor other resource acquisitions if OEM ASL code
15745 continues to misbehave (which it will).
15746
15747 Several new ACPI exception codes have been added for the Mutex
15748 support.
15749
15750 Recursive method calls are now allowed and supported (the ACPI
15751 spec does in fact allow recursive method calls.) The number of
15752 recursive calls is subject to the restrictions imposed by the
15753 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
15754 parameter.
15755
15756 Implemented support for the SyncLevel parameter for control
15757 methods (ACPI 2.0 feature)
15758
15759 Fixed a deadlock problem when multiple threads attempted to use
15760 the interpreter.
15761
15762 Fixed a problem where the string length of a String package
15763 element was not always set in a package returned from
15764 AcpiEvaluateObject.
15765
15766 Fixed a problem where the length of a String package element was
15767 not always included in the length of the overall package returned
15768 from AcpiEvaluateObject.
15769
15770 Added external interfaces (Acpi*) to the ACPI debug memory
15771 manager. This manager keeps a list of all outstanding
15772 allocations, and can therefore detect memory leaks and attempts to
15773 free memory blocks more than once. Useful for code such as the
15774 power manager, etc. May not be appropriate for device drivers.
15775 Performance with the debug code enabled is slow.
15776
15777 The ACPI Global Lock is now an optional hardware element.
15778
15779 ASL Compiler Version X2015:
15780
15781 Integrated changes to allow the compiler to be generated on
15782 multiple platforms.
15783
15784 Linux makefile added to generate the compiler on Linux
15785
15786 Source Code:
15787
15788 All platform-specific headers have been moved to their own
15789 subdirectory, Include/Platform.
15790
15791 New source file added, Interpreter/ammutex.c
15792
15793 New header file, Include/acstruct.h
15794
15795 Documentation:
15796
15797 The programmer reference has been updated for the following new
15798 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
15799
15800 ------------------------------------------
15801 Summary of changes for this label: 02_08_01
15802
15803 Core ACPI CA Subsystem: Fixed a problem where an error was
15804 incorrectly returned if the return resource buffer was larger than
15805 the actual data (in the resource interfaces).
15806
15807 References to named objects within packages are resolved to the
15808
15809 full pathname string before packages are returned directly (via
15810 the AcpiEvaluateObject interface) or indirectly via the resource
15811 interfaces.
15812
15813 Linux OS Services Layer (OSL):
15814
15815 Improved /proc battery interface.
15816
15817
15818 Added C-state debugging output and other miscellaneous fixes.
15819
15820 ASL Compiler Version X2014:
15821
15822 All defined method arguments can now be used as local variables,
15823 including the ones that are not actually passed in as parameters.
15824 The compiler tracks initialization of the arguments and issues an
15825 exception if they are used without prior assignment (just like
15826 locals).
15827
15828 The -o option now specifies a filename prefix that is used for all
15829 output files, including the AML output file. Otherwise, the
15830 default behavior is as follows: 1) the AML goes to the file
15831 specified in the DSDT. 2) all other output files use the input
15832 source filename as the base.
15833
15834 ------------------------------------------
15835 Summary of changes for this label: 01_25_01
15836
15837 Core ACPI CA Subsystem: Restructured the implementation of object
15838 store support within the interpreter. This includes support for
15839 the Store operator as well as any ASL operators that include a
15840 target operand.
15841
15842 Partially implemented support for Implicit Result-to-Target
15843 conversion. This is when a result object is converted on the fly
15844 to the type of an existing target object. Completion of this
15845 support is pending further analysis of the ACPI specification
15846 concerning this matter.
15847
15848 CPU-specific code has been removed from the subsystem (hardware
15849 directory).
15850
15851 New Power Management Timer functions added
15852
15853 Linux OS Services Layer (OSL): Moved system state transition code
15854 to the core, fixed it, and modified Linux OSL accordingly.
15855
15856 Fixed C2 and C3 latency calculations.
15857
15858
15859 We no longer use the compilation date for the version message on
15860 initialization, but retrieve the version from AcpiGetSystemInfo().
15861
15862 Incorporated for fix Sony VAIO machines.
15863
15864 Documentation: The Programmer Reference has been updated and
15865 reformatted.
15866
15867
15868 ASL Compiler: Version X2013: Fixed a problem where the line
15869 numbering and error reporting could get out of sync in the
15870 presence of multiple include files.
15871
15872 ------------------------------------------
15873 Summary of changes for this label: 01_15_01
15874
15875 Core ACPI CA Subsystem:
15876
15877 Implemented support for type conversions in the execution of the
15878 ASL Concatenate operator (The second operand is converted to
15879 match the type of the first operand before concatenation.)
15880
15881 Support for implicit source operand conversion is partially
15882 implemented. The ASL source operand types Integer, Buffer, and
15883 String are freely interchangeable for most ASL operators and are
15884 converted by the interpreter on the fly as required. Implicit
15885 Target operand conversion (where the result is converted to the
15886 target type before storing) is not yet implemented.
15887
15888 Support for 32-bit and 64-bit BCD integers is implemented.
15889
15890 Problem fixed where a field read on an aligned field could cause a
15891 read past the end of the field.
15892
15893 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
15894 does not return a value, but the caller expects one. (The ASL
15895 compiler flags this as a warning.)
15896
15897 ASL Compiler:
15898
15899 Version X2011:
15900 1. Static typechecking of all operands is implemented. This
15901 prevents the use of invalid objects (such as using a Package where
15902 an Integer is required) at compile time instead of at interpreter
15903 run-time.
15904 2. The ASL source line is printed with ALL errors and warnings.
15905 3. Bug fix for source EOF without final linefeed.
15906 4. Debug option is split into a parse trace and a namespace trace.
15907 5. Namespace output option (-n) includes initial values for
15908 integers and strings.
15909 6. Parse-only option added for quick syntax checking.
15910 7. Compiler checks for duplicate ACPI name declarations
15911
15912 Version X2012:
15913 1. Relaxed typechecking to allow interchangeability between
15914 strings, integers, and buffers. These types are now converted by
15915 the interpreter at runtime.
15916 2. Compiler reports time taken by each internal subsystem in the
15917 debug output file.
15918
15919
15920 ------------------------------------------
15921 Summary of changes for this label: 12_14_00
15922
15923 ASL Compiler:
15924
15925 This is the first official release of the compiler. Since the
15926 compiler requires elements of the Core Subsystem, this label
15927 synchronizes everything.
15928
15929 ------------------------------------------
15930 Summary of changes for this label: 12_08_00
15931
15932
15933 Fixed a problem where named references within the ASL definition
15934 of both OperationRegions and CreateXXXFields did not work
15935 properly. The symptom was an AE_AML_OPERAND_TYPE during
15936 initialization of the region/field. This is similar (but not
15937 related internally) to the problem that was fixed in the last
15938 label.
15939
15940 Implemented both 32-bit and 64-bit support for the BCD ASL
15941 functions ToBCD and FromBCD.
15942
15943 Updated all legal headers to include "2000" in the copyright
15944 years.
15945
15946 ------------------------------------------
15947 Summary of changes for this label: 12_01_00
15948
15949 Fixed a problem where method invocations within the ASL definition
15950 of both OperationRegions and CreateXXXFields did not work
15951 properly. The symptom was an AE_AML_OPERAND_TYPE during
15952 initialization of the region/field:
15953
15954 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
15955 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
15956 (0x3005)
15957
15958 Fixed a problem where operators with more than one nested
15959 subexpression would fail. The symptoms were varied, by mostly
15960 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
15961 problem that has gone unnoticed until now.
15962
15963 Subtract (Add (1,2), Multiply (3,4))
15964
15965 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
15966 previous build (The prefix part of a relative path was handled
15967 incorrectly).
15968
15969 Fixed a problem where Operation Region initialization failed if
15970 the operation region name was a "namepath" instead of a simple
15971 "nameseg". Symptom was an AE_NO_OPERAND error.
15972
15973 Fixed a problem where an assignment to a local variable via the
15974 indirect RefOf mechanism only worked for the first such
15975 assignment. Subsequent assignments were ignored.
15976
15977 ------------------------------------------
15978 Summary of changes for this label: 11_15_00
15979
15980 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
15981 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
15982 the AML interpreter does NOT have support for the new 2.0 ASL
15983 grammar terms at this time.
15984
15985 All ACPI hardware access is via the GAS structures in the ACPI 2.0
15986 FADT.
15987
15988 All physical memory addresses across all platforms are now 64 bits
15989 wide. Logical address width remains dependent on the platform
15990 (i.e., "void *").
15991
15992 AcpiOsMapMemory interface changed to a 64-bit physical address.
15993
15994 The AML interpreter integer size is now 64 bits, as per the ACPI
15995 2.0 specification.
15996
15997 For backwards compatibility with ACPI 1.0, ACPI tables with a
15998 revision number less than 2 use 32-bit integers only.
15999
16000 Fixed a problem where the evaluation of OpRegion operands did not
16001 always resolve them to numbers properly.
16002
16003 ------------------------------------------
16004 Summary of changes for this label: 10_20_00
16005
16006 Fix for CBN_._STA issue. This fix will allow correct access to
16007 CBN_ OpRegions when the _STA returns 0x8.
16008
16009 Support to convert ACPI constants (Ones, Zeros, One) to actual
16010 values before a package object is returned
16011
16012 Fix for method call as predicate to if/while construct causing
16013 incorrect if/while behavior
16014
16015 Fix for Else block package lengths sometimes calculated wrong (if
16016 block > 63 bytes)
16017
16018 Fix for Processor object length field, was always zero
16019
16020 Table load abort if FACP sanity check fails
16021
16022 Fix for problem with Scope(name) if name already exists
16023
16024 Warning emitted if a named object referenced cannot be found
16025 (resolved) during method execution.
16026
16027
16028
16029
16030
16031 ------------------------------------------
16032 Summary of changes for this label: 9_29_00
16033
16034 New table initialization interfaces: AcpiInitializeSubsystem no
16035 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
16036 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
16037 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
16038 AcpiLoadTables
16039
16040 Note: These interface changes require changes to all existing OSDs
16041
16042 The PCI_Config default address space handler is always installed
16043 at the root namespace object.
16044
16045 -------------------------------------------
16046 Summary of changes for this label: 09_15_00
16047
16048 The new initialization architecture is implemented. New
16049 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
16050 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
16051
16052 (Namespace is automatically loaded when a table is loaded)
16053
16054 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
16055 52 bytes to 32 bytes. There is usually one of these for every
16056 namespace object, so the memory savings is significant.
16057
16058 Implemented just-in-time evaluation of the CreateField operators.
16059
16060 Bug fixes for IA-64 support have been integrated.
16061
16062 Additional code review comments have been implemented
16063
16064 The so-called "third pass parse" has been replaced by a final walk
16065 through the namespace to initialize all operation regions (address
16066 spaces) and fields that have not yet been initialized during the
16067 execution of the various _INI and REG methods.
16068
16069 New file - namespace/nsinit.c
16070
16071 -------------------------------------------
16072 Summary of changes for this label: 09_01_00
16073
16074 Namespace manager data structures have been reworked to change the
16075 primary object from a table to a single object. This has
16076 resulted in dynamic memory savings of 3X within the namespace and
16077 2X overall in the ACPI CA subsystem.
16078
16079 Fixed problem where the call to AcpiEvFindPciRootBuses was
16080 inadvertently left commented out.
16081
16082 Reduced the warning count when generating the source with the GCC
16083 compiler.
16084
16085 Revision numbers added to each module header showing the
16086 SourceSafe version of the file. Please refer to this version
16087 number when giving us feedback or comments on individual modules.
16088
16089 The main object types within the subsystem have been renamed to
16090 clarify their purpose:
16091
16092 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
16093 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
16094 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
16095
16096 NOTE: no changes to the initialization sequence are included in
16097 this label.
16098
16099 -------------------------------------------
16100 Summary of changes for this label: 08_23_00
16101
16102 Fixed problem where TerminateControlMethod was being called
16103 multiple times per method
16104
16105 Fixed debugger problem where single stepping caused a semaphore to
16106 be oversignalled
16107
16108 Improved performance through additional parse object caching -
16109 added ACPI_EXTENDED_OP type
16110
16111 -------------------------------------------
16112 Summary of changes for this label: 08_10_00
16113
16114 Parser/Interpreter integration: Eliminated the creation of
16115 complete parse trees for ACPI tables and control methods.
16116 Instead, parse subtrees are created and then deleted as soon as
16117 they are processed (Either entered into the namespace or executed
16118 by the interpreter). This reduces the use of dynamic kernel
16119 memory significantly. (about 10X)
16120
16121 Exception codes broken into classes and renumbered. Be sure to
16122 recompile all code that includes acexcep.h. Hopefully we won't
16123 have to renumber the codes again now that they are split into
16124 classes (environment, programmer, AML code, ACPI table, and
16125 internal).
16126
16127 Fixed some additional alignment issues in the Resource Manager
16128 subcomponent
16129
16130 Implemented semaphore tracking in the AcpiExec utility, and fixed
16131 several places where mutexes/semaphores were being unlocked
16132 without a corresponding lock operation. There are no known
16133 semaphore or mutex "leaks" at this time.
16134
16135 Fixed the case where an ASL Return operator is used to return an
16136 unnamed package.
16137
16138 -------------------------------------------
16139 Summary of changes for this label: 07_28_00
16140
16141 Fixed a problem with the way addresses were calculated in
16142 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
16143 manifested itself when a Field was created with WordAccess or
16144 DwordAccess, but the field unit defined within the Field was less
16145
16146 than a Word or Dword.
16147
16148 Fixed a problem in AmlDumpOperands() module's loop to pull
16149 operands off of the operand stack to display information. The
16150 problem manifested itself as a TLB error on 64-bit systems when
16151 accessing an operand stack with two or more operands.
16152
16153 Fixed a problem with the PCI configuration space handlers where
16154 context was getting confused between accesses. This required a
16155 change to the generic address space handler and address space
16156 setup definitions. Handlers now get both a global handler context
16157 (this is the one passed in by the user when executing
16158 AcpiInstallAddressSpaceHandler() and a specific region context
16159 that is unique to each region (For example, the _ADR, _SEG and
16160 _BBN values associated with a specific region). The generic
16161 function definitions have changed to the following:
16162
16163 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
16164 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
16165 *HandlerContext, // This used to be void *Context void
16166 *RegionContext); // This is an additional parameter
16167
16168 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
16169 RegionHandle, UINT32 Function, void *HandlerContext, void
16170 **RegionContext); // This used to be **ReturnContext
16171
16172 -------------------------------------------
16173 Summary of changes for this label: 07_21_00
16174
16175 Major file consolidation and rename. All files within the
16176 interpreter have been renamed as well as most header files. This
16177 was done to prevent collisions with existing files in the host
16178 OSs -- filenames such as "config.h" and "global.h" seem to be
16179 quite common. The VC project files have been updated. All
16180 makefiles will require modification.
16181
16182 The parser/interpreter integration continues in Phase 5 with the
16183 implementation of a complete 2-pass parse (the AML is parsed
16184 twice) for each table; This avoids the construction of a huge
16185 parse tree and therefore reduces the amount of dynamic memory
16186 required by the subsystem. Greater use of the parse object cache
16187 means that performance is unaffected.
16188
16189 Many comments from the two code reviews have been rolled in.
16190
16191 The 64-bit alignment support is complete.
16192
16193 -------------------------------------------
16194 Summary of changes for this label: 06_30_00
16195
16196 With a nod and a tip of the hat to the technology of yesteryear,
16197 we've added support in the source code for 80 column output
16198 devices. The code is now mostly constrained to 80 columns or
16199 less to support environments and editors that 1) cannot display
16200 or print more than 80 characters on a single line, and 2) cannot
16201 disable line wrapping.
16202
16203 A major restructuring of the namespace data structure has been
16204 completed. The result is 1) cleaner and more
16205 understandable/maintainable code, and 2) a significant reduction
16206 in the dynamic memory requirement for each named ACPI object
16207 (almost half).
16208
16209 -------------------------------------------
16210 Summary of changes for this label: 06_23_00
16211
16212 Linux support has been added. In order to obtain approval to get
16213 the ACPI CA subsystem into the Linux kernel, we've had to make
16214 quite a few changes to the base subsystem that will affect all
16215 users (all the changes are generic and OS- independent). The
16216 effects of these global changes have been somewhat far reaching.
16217 Files have been merged and/or renamed and interfaces have been
16218 renamed. The major changes are described below.
16219
16220 Osd* interfaces renamed to AcpiOs* to eliminate namespace
16221 pollution/confusion within our target kernels. All OSD
16222 interfaces must be modified to match the new naming convention.
16223
16224 Files merged across the subsystem. A number of the smaller source
16225 and header files have been merged to reduce the file count and
16226 increase the density of the existing files. There are too many
16227 to list here. In general, makefiles that call out individual
16228 files will require rebuilding.
16229
16230 Interpreter files renamed. All interpreter files now have the
16231 prefix am* instead of ie* and is*.
16232
16233 Header files renamed: The acapi.h file is now acpixf.h. The
16234 acpiosd.h file is now acpiosxf.h. We are removing references to
16235 the acronym "API" since it is somewhat windowsy. The new name is
16236 "external interface" or xface or xf in the filenames.j
16237
16238
16239 All manifest constants have been forced to upper case (some were
16240 mixed case.) Also, the string "ACPI_" has been prepended to many
16241 (not all) of the constants, typedefs, and structs.
16242
16243 The globals "DebugLevel" and "DebugLayer" have been renamed
16244 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
16245
16246 All other globals within the subsystem are now prefixed with
16247 "AcpiGbl_" Internal procedures within the subsystem are now
16248 prefixed with "Acpi" (with only a few exceptions). The original
16249 two-letter abbreviation for the subcomponent remains after "Acpi"
16250 - for example, CmCallocate became AcpiCmCallocate.
16251
16252 Added a source code translation/conversion utility. Used to
16253 generate the Linux source code, it can be modified to generate
16254 other types of source as well. Can also be used to cleanup
16255 existing source by removing extraneous spaces and blank lines.
16256 Found in tools/acpisrc/*
16257
16258 OsdUnMapMemory was renamed to OsdUnmapMemory and then
16259 AcpiOsUnmapMemory. (UnMap became Unmap).
16260
16261 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
16262 When set to one, this indicates that the caller wants to use the
16263
16264 semaphore as a mutex, not a counting semaphore. ACPI CA uses
16265 both types. However, implementers of this call may want to use
16266 different OS primitives depending on the type of semaphore
16267 requested. For example, some operating systems provide separate
16268
16269 "mutex" and "semaphore" interfaces - where the mutex interface is
16270 much faster because it doesn't have all the overhead of a full
16271 semaphore implementation.
16272
16273 Fixed a deadlock problem where a method that accesses the PCI
16274 address space can block forever if it is the first access to the
16275 space.
16276
16277 -------------------------------------------
16278 Summary of changes for this label: 06_02_00
16279
16280 Support for environments that cannot handle unaligned data
16281 accesses (e.g. firmware and OS environments devoid of alignment
16282 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
16283 been added (via configurable macros) in these three areas: -
16284 Transfer of data from the raw AML byte stream is done via byte
16285 moves instead of word/dword/qword moves. - External objects are
16286 aligned within the user buffer, including package elements (sub-
16287 objects). - Conversion of name strings to UINT32 Acpi Names is now
16288 done byte-wise.
16289
16290 The Store operator was modified to mimic Microsoft's
16291 implementation when storing to a Buffer Field.
16292
16293 Added a check of the BM_STS bit before entering C3.
16294
16295 The methods subdirectory has been obsoleted and removed. A new
16296 file, cmeval.c subsumes the functionality.
16297
16298 A 16-bit (DOS) version of AcpiExec has been developed. The
16299 makefile is under the acpiexec directory.
16300