Deleted Added
full compact
changes.txt (298714) changes.txt (300879)
1----------------------------------------
1----------------------------------------
227 May 2016. Summary of changes for version 20160527:
3
4This release is available at https://acpica.org/downloads
5
6
71) ACPICA kernel-resident subsystem:
8
9Temporarily reverted the new arbitrary bit length/alignment support in
10AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
11a number of regressions with the new code that need to be fully resolved
12and tested before this support can be finally integrated into ACPICA.
13Apologies for any inconveniences these issues may have caused.
14
15The ACPI message macros are not configurable (ACPI_MSG_ERROR,
16ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
17and ACPI_MSG_BIOS_WARNING). Lv Zheng.
18
19Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
20option. Adds a new return macro, return_STR. Junk-uk Kim.
21
22Example Code and Data Size: These are the sizes for the OS-independent
23acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
24debug version of the code includes the debug output trace mechanism and
25has a much larger code and data size.
26
27 Current Release:
28 Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
29 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
30 Previous Release:
31 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
32 Debug Version: 200.9K Code, 82.2K Data, 283.1K Total
33
34----------------------------------------
222 April 2016. Summary of changes for version 20160422:
3
41) ACPICA kernel-resident subsystem:
5
6Fixed a regression in the GAS (generic address structure) arbitrary bit
7support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
8and incorrect return values. Lv Zheng. ACPICA BZ 1270.
9
10ACPI 6.0: Added support for new/renamed resource macros. One new argument
11was added to each of these macros, and the original name has been
12deprecated. The AML disassembler will always disassemble to the new
13names. Support for the new macros was added to iASL, disassembler,
14resource manager, and the acpihelp utility. ACPICA BZ 1274.
15
16 I2cSerialBus -> I2cSerialBusV2
17 SpiSerialBus -> SpiSerialBusV2
18 UartSerialBus -> UartSerialBusV2
19
20ACPI 6.0: Added support for a new integer field that was appended to the
21package object returned by the _BIX method. This adds iASL compile-time
22and AML runtime error checking. ACPICA BZ 1273.
23
24ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
25Subspace Type2" (Headers, Disassembler, and data table compiler).
26
27Example Code and Data Size: These are the sizes for the OS-independent
28acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
29debug version of the code includes the debug output trace mechanism and
30has a much larger code and data size.
31
32 Current Release:
33 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
34 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
35 Previous Release:
36 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
37 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
38
39
402) iASL Compiler/Disassembler and Tools:
41
42iASL: Implemented an ASL grammar extension to allow/enable executable
43"module-level code" to be created and executed under the various
44operators that create new scopes. This type of AML code is already
45supported in all known AML interpreters, and the grammar change will
46appear in the next version of the ACPI specification. Simplifies the
47conditional runtime creation of named objects under these object types:
48
49 Device
50 PowerResource
51 Processor
52 Scope
53 ThermalZone
54
55iASL: Implemented a new ASL extension, a "For" loop macro to add greater
56ease-of-use to the ASL language. The syntax is similar to the
57corresponding C operator, and is implemented with the existing AML While
58opcode -- thus requiring no changes to existing AML interpreters.
59
60 For (Initialize, Predicate, Update) {TermList}
61
62Grammar:
63 ForTerm :=
64 For (
65 Initializer // Nothing | TermArg => ComputationalData
66 Predicate // Nothing | TermArg => ComputationalData
67 Update // Nothing | TermArg => ComputationalData
68 ) {TermList}
69
70
71iASL: The _HID/_ADR detection and validation has been enhanced to search
72under conditionals in order to allow these objects to be conditionally
73created at runtime.
74
75iASL: Fixed several issues with the constant folding feature. The
76improvement allows better detection and resolution of statements that can
77be folded at compile time. ACPICA BZ 1266.
78
79iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
80conversion to the ASL ElseIf operator where incorrect ASL code could be
81generated.
82
83iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
84sometimes an extra (and extraneous) set of parentheses were emitted for
85some combinations of operators. Although this did not cause any problems
86with recompilation of the disassembled code, it made the code more
87difficult to read. David Box. ACPICA BZ 1231.
88
89iASL: Changed to ignore the unreferenced detection for predefined names
90of resource descriptor elements, when the resource descriptor is
91created/defined within a control method.
92
93iASL: Disassembler: Fix a possible fault with externally declared Buffer
94objects.
95
96----------------------------------------
9718 March 2016. Summary of changes for version 20160318:
98
991) ACPICA kernel-resident subsystem:
100
101Added support for arbitrary bit lengths and bit offsets for registers
102defined by the Generic Address Structure. Previously, only aligned bit
103lengths of 8/16/32/64 were supported. This was sufficient for many years,
104but recently some machines have been seen that require arbitrary bit-
105level support. ACPICA BZ 1240. Lv Zheng.
106
107Fixed an issue where the \_SB._INI method sometimes must be evaluated
108before any _REG methods are evaluated. Lv Zheng.
109
110Implemented several changes related to ACPI table support
111(Headers/Disassembler/TableCompiler):
112NFIT: For ACPI 6.1, updated to add some additional new fields and
113constants.
114FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
1156).
116DMAR: Added new constants per the 10/2014 DMAR spec.
117IORT: Added new subtable per the 10/2015 IORT spec.
118HEST: For ACPI 6.1, added new constants and new subtable.
119DBG2: Added new constants per the 12/2015 DBG2 spec.
120FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
121ACPICA BZ 1249.
122ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
123
124Updated header support for the DMAR table to match the current version of
125the related spec.
126
127Added extensions to the ASL Concatenate operator to allow any ACPI object
128to be passed as an operand. Any object other than Integer/String/Buffer
129simply returns a string containing the object type. This extends the
130usefulness of the Printf macros. Previously, Concatenate would abort the
131control method if a non-data object was encountered.
132
133ACPICA source code: Deployed the C "const" keyword across the source code
134where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
135
136Example Code and Data Size: These are the sizes for the OS-independent
137acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
138debug version of the code includes the debug output trace mechanism and
139has a much larger code and data size.
140
141 Current Release:
142 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
143 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
144 Previous Release:
145 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
146 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
147
148
1492) iASL Compiler/Disassembler and Tools:
150
151iASL/Disassembler: Improved the heuristic used to determine the number of
152arguments for an externally defined control method (a method in another
153table). Although this is an improvement, there is no deterministic way to
154"guess" the number of method arguments. Only the ACPI 6.0 External opcode
155will completely solve this problem as it is deployed (automatically) in
156newer BIOS code.
157
158iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
159statements that could cause errors when the disassembled file is
160compiled. ACPICA BZ 1243. David Box.
161
162iASL: Fixed a regression caused by the merger of the two versions of the
163local strtoul64. Because of a dependency on a global variable, strtoul64
164could return an error for integers greater than a 32-bit value. ACPICA BZ
1651260.
166
167iASL: Fixed a regression where a fault could occur for an ASL Return
168statement if it invokes a control method that is not resolved. ACPICA BZ
1691264.
170
171AcpiXtract: Improved input file validation: detection of binary files and
172non-acpidump text files.
173
174----------------------------------------
17512 February 2016. Summary of changes for version 20160212:
176
1771) ACPICA kernel-resident subsystem:
178
179Implemented full support for the ACPI 6.1 specification (released in
180January). This version of the specification is available at:
181http://www.uefi.org/specifications
182
183Only a relatively small number of changes were required in ACPICA to
184support ACPI 6.1, in these areas:
185- New predefined names
186- New _HID values
187- A new subtable for HEST
188- A few other header changes for new values
189
190Ensure \_SB_._INI is executed before any _REG methods are executed. There
191appears to be existing BIOS code that relies on this behavior. Lv Zheng.
192
193Reverted a change made in version 20151218 which enabled method
194invocations to be targets of various ASL operators (SuperName and Target
195grammar elements). While the new behavior is supported by the ACPI
196specification, other AML interpreters do not support this behavior and
197never will. The ACPI specification will be updated for ACPI 6.2 to remove
198this support. Therefore, the change was reverted to the original ACPICA
199behavior.
200
201ACPICA now supports the GCC 6 compiler.
202
203Current Release: (Note: build changes increased sizes)
204 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
205 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
206Previous Release:
207 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
208 Debug Version: 200.4K Code, 81.9K Data, 282.3K Total
209
210
2112) iASL Compiler/Disassembler and Tools:
212
213Completed full support for the ACPI 6.0 External() AML opcode. The
214compiler emits an external AML opcode for each ASL External statement.
215This opcode is used by the disassembler to assist with the disassembly of
216external control methods by specifying the required number of arguments
217for the method. AML interpreters do not use this opcode. To ensure that
218interpreters do not even see the opcode, a block of one or more external
219opcodes is surrounded by an "If(0)" construct. As this feature becomes
220commonly deployed in BIOS code, the ability of disassemblers to correctly
221disassemble AML code will be greatly improved. David Box.
222
223iASL: Implemented support for an optional cross-reference output file.
224The -lx option will create a the cross-reference file with the suffix
225"xrf". Three different types of cross-reference are created in this file:
226- List of object references made from within each control method
227- Invocation (caller) list for each user-defined control method
228- List of references to each non-method object in the namespace
229
230iASL: Method invocations as ASL Target operands are now disallowed and
231flagged as errors in preparation for ACPI 6.2 (see the description of the
232problem above).
233
234----------------------------------------
2358 January 2016. Summary of changes for version 20160108:
236
2371) ACPICA kernel-resident subsystem:
238
239Updated all ACPICA copyrights and signons to 2016: Added the 2016
240copyright to all source code module headers and utility/tool signons.
241This includes the standard Linux dual-license header. This affects
242virtually every file in the ACPICA core subsystem, iASL compiler, all
243ACPICA utilities, and the ACPICA test suite.
244
245Fixed a regression introduced in version 20151218 concerning the
246execution of so-called module-level ASL/AML code. Namespace objects
247created under a module-level If() construct were not properly/fully
248entered into the namespace and could cause an interpreter fault when
249accessed.
250
251Example Code and Data Size: These are the sizes for the OS-independent
252acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
253debug version of the code includes the debug output trace mechanism and
254has a much larger code and data size.
255
256Current Release:
257 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
258 Debug Version: 200.4K Code, 81.9K Data, 282.4K Total
259 Previous Release:
260 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
261 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
262
263
2642) iASL Compiler/Disassembler and Tools:
265
266Fixed a problem with the compilation of the GpioIo and GpioInt resource
267descriptors. The _PIN field name was incorrectly defined to be an array
268of 32-bit values, but the _PIN values are in fact 16 bits each. This
269would cause incorrect bit width warnings when using Word (16-bit) fields
270to access the descriptors.
271
272
273----------------------------------------
27418 December 2015. Summary of changes for version 20151218:
275
2761) ACPICA kernel-resident subsystem:
277
278Implemented per-AML-table execution of "module-level code" as individual
279ACPI tables are loaded into the namespace during ACPICA initialization.
280In other words, any module-level code within an AML table is executed
281immediately after the table is loaded, instead of batched and executed
282after all of the tables have been loaded. This provides compatibility
283with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
284David Box.
285
286To fully support the feature above, the default operation region handlers
287for the SystemMemory, SystemIO, and PCI_Config address spaces are now
288installed before any ACPI tables are loaded. This enables module-level
289code to access these address spaces during the table load and module-
290level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
291Box.
292
293Implemented several changes to the internal _REG support in conjunction
294with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
295utilities for the changes above. Although these tools were changed, host
296operating systems that simply use the default handlers for SystemMemory,
297SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
298
299For example, in the code below, DEV1 is conditionally added to the
300namespace by the DSDT via module-level code that accesses an operation
301region. The SSDT references DEV1 via the Scope operator. DEV1 must be
302created immediately after the DSDT is loaded in order for the SSDT to
303successfully reference DEV1. Previously, this code would cause an
304AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
305fully supported by ACPICA.
306
307 DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
308 {
309 OperationRegion (OPR1, SystemMemory, 0x400, 32)
310 Field (OPR1, AnyAcc, NoLock, Preserve)
311 {
312 FLD1, 1
313 }
314 If (FLD1)
315 {
316 Device (\DEV1)
317 {
318 }
319 }
320 }
321 DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
322 {
323 External (\DEV1, DeviceObj)
324 Scope (\DEV1)
325 {
326 }
327 }
328
329Fixed an AML interpreter problem where control method invocations were
330not handled correctly when the invocation was itself a SuperName argument
331to another ASL operator. In these cases, the method was not invoked.
332ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
333argument:
334 Store
335 Acquire, Wait
336 CondRefOf, RefOf
337 Decrement, Increment
338 Load, Unload
339 Notify
340 Signal, Release, Reset
341 SizeOf
342
343Implemented automatic String-to-ObjectReference conversion support for
344packages returned by predefined names (such as _DEP). A common BIOS error
345is to add double quotes around an ObjectReference namepath, which turns
346the reference into an unexpected string object. This support detects the
347problem and corrects it before the package is returned to the caller that
348invoked the method. Lv Zheng.
349
350Implemented extensions to the Concatenate operator. Concatenate now
351accepts any type of object, it is not restricted to simply
352Integer/String/Buffer. For objects other than these 3 basic data types,
353the argument is treated as a string containing the name of the object
354type. This expands the utility of Concatenate and the Printf/Fprintf
355macros. ACPICA BZ 1222.
356
357Cleaned up the output of the ASL Debug object. The timer() value is now
358optional and no longer emitted by default. Also, the basic data types of
359Integer/String/Buffer are simply emitted as their values, without a data
360type string -- since the data type is obvious from the output. ACPICA BZ
3611221.
362
363Example Code and Data Size: These are the sizes for the OS-independent
364acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
365debug version of the code includes the debug output trace mechanism and
366has a much larger code and data size.
367
368 Current Release:
369 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
370 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
371 Previous Release:
372 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
373 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
374
375
3762) iASL Compiler/Disassembler and Tools:
377
378iASL: Fixed some issues with the ASL Include() operator. This operator
379was incorrectly defined in the iASL parser rules, causing a new scope to
380be opened for the code within the include file. This could lead to
381several issues, including allowing ASL code that is technically illegal
382and not supported by AML interpreters. Note, this does not affect the
383related #include preprocessor operator. ACPICA BZ 1212.
384
385iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
386operator is essentially an ASL macro since there is no AML opcode
387associated with it. The code emitted by the iASL compiler for ElseIf is
388an Else opcode followed immediately by an If opcode. The disassembler
389will now emit an ElseIf if it finds an Else immediately followed by an
390If. This simplifies the decoded ASL, especially for deeply nested
391If..Else and large Switch constructs. Thus, the disassembled code more
392closely follows the original source ASL. ACPICA BZ 1211. Example:
393
394 Old disassembly:
395 Else
396 {
397 If (Arg0 == 0x02)
398 {
399 Local0 = 0x05
400 }
401 }
402
403 New disassembly:
404 ElseIf (Arg0 == 0x02)
405 {
406 Local0 = 0x05
407 }
408
409AcpiExec: Added support for the new module level code behavior and the
410early region installation. This required a small change to the
411initialization, since AcpiExec must install its own operation region
412handlers.
413
414AcpiExec: Added support to make the debug object timer optional. Default
415is timer disabled. This cleans up the debug object output -- the timer
416data is rarely used.
417
418AcpiExec: Multiple ACPI tables are now loaded in the order that they
419appear on the command line. This can be important when there are
420interdependencies/references between the tables.
421
422iASL/Templates. Add support to generate template files with multiple
423SSDTs within a single output file. Also added ommand line support to
424specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
4251223, 1225.
426
427
428----------------------------------------
42924 November 2015. Summary of changes for version 20151124:
430
4311) ACPICA kernel-resident subsystem:
432
433Fixed a possible regression for a previous update to FADT handling. The
434FADT no longer has a fixed table ID, causing some issues with code that
435was hardwired to a specific ID. Lv Zheng.
436
437Fixed a problem where the method auto-serialization could interfere with
438the current SyncLevel. This change makes the auto-serialization support
439transparent to the SyncLevel support and management.
440
441Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
442interface is intended for early access to the namespace during the
443initial namespace device discovery walk. The _SUB method has been seen to
444access operation regions in some cases, causing errors because the
445operation regions are not fully initialized.
446
447AML Debugger: Fixed some issues with the terminate/quit/exit commands
448that can cause faults. Lv Zheng.
449
450AML Debugger: Add thread ID support so that single-step mode only applies
451to the AML Debugger thread. This prevents runtime errors within some
452kernels. Lv Zheng.
453
454Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
455methods that are invoked by this interface are optional, removed warnings
456emitted for the case where one or more of these methods do not exist.
457ACPICA BZ 1208, original change by Prarit Bhargava.
458
459Made a major pass through the entire ACPICA source code base to
460standardize formatting that has diverged a bit over time. There are no
461functional changes, but this will of course cause quite a few code
462differences from the previous ACPICA release.
463
464Example Code and Data Size: These are the sizes for the OS-independent
465acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
466debug version of the code includes the debug output trace mechanism and
467has a much larger code and data size.
468
469 Current Release:
470 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
471 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
472 Previous Release:
473 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
474 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
475
476
4772) iASL Compiler/Disassembler and Tools:
478
479iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
480definition blocks within a single ASL file and the resulting AML file.
481Support for this type of file was also added to the various tools that
482use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
483example code below shows two definition blocks within the same file:
484
485 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
4860x12345678)
487 {
488 }
489 DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
490 {
491 }
492
493iASL: Enhanced typechecking for the Name() operator. All expressions for
494the value of the named object must be reduced/folded to a single constant
495at compile time, as per the ACPI specification (the AML definition of
496Name()).
497
498iASL: Fixed some code indentation issues for the -ic and -ia options (C
499and assembly headers). Now all emitted code correctly begins in column 1.
500
501iASL: Added an error message for an attempt to open a Scope() on an
502object defined in an SSDT. The DSDT is always loaded into the namespace
503first, so any attempt to open a Scope on an SSDT object will fail at
504runtime.
505
506
507----------------------------------------
50830 September 2015. Summary of changes for version 20150930:
509
5101) ACPICA kernel-resident subsystem:
511
512Debugger: Implemented several changes and bug fixes to assist support for
513the in-kernel version of the AML debugger. Lv Zheng.
514- Fix the "predefined" command for in-kernel debugger.
515- Do not enter debug command loop for the help and version commands.
516- Disallow "execute" command during execution/single-step of a method.
517
518Interpreter: Updated runtime typechecking for all operators that have
519target operands. The operand is resolved and validated that it is legal.
520For example, the target cannot be a non-data object such as a Device,
521Mutex, ThermalZone, etc., as per the ACPI specification.
522
523Debugger: Fixed the double-mutex user I/O handshake to work when local
524deadlock detection is enabled.
525
526Debugger: limited display of method locals and arguments (LocalX and
527ArgX) to only those that have actually been initialized. This prevents
528lines of extraneous output.
529
530Updated the definition of the NFIT table to correct the bit polarity of
531one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
532
533Example Code and Data Size: These are the sizes for the OS-independent
534acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
535debug version of the code includes the debug output trace mechanism and
536has a much larger code and data size.
537
538 Current Release:
539 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
540 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
541 Previous Release:
542 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
543 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
544
545
5462) iASL Compiler/Disassembler and Tools:
547
548iASL: Improved the compile-time typechecking for operands of many of the
549ASL operators:
550
551-- Added an option to disable compiler operand/operator typechecking (-
552ot).
553
554-- For the following operators, the TermArg operands are now validated
555when possible to be Integer data objects: BankField, OperationRegion,
556DataTableRegion, Buffer, and Package.
557
558-- Store (Source, Target): Both the source and target operands are
559resolved and checked that the operands are both legal. For example,
560neither operand can be a non-data object such as a Device, Mutex,
561ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
562operator can be used to store an object to any type of target object.
563
564-- Store (Source, Target): If the source is a Package object, the target
565must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
566is a Package, the source must also be a Package.
567
568-- Store (Source, Target): A warning is issued if the source and target
569resolve to the identical named object.
570
571-- Store (Source, <method invocation>): An error is generated for the
572target method invocation, as this construct is not supported by the AML
573interpreter.
574
575-- For all ASL math and logic operators, the target operand must be a
576data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
577includes the function return value also.
578
579-- External declarations are also included in the typechecking where
580possible. External objects defined using the UnknownObj keyword cannot be
581typechecked, however.
582
583iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
584operator:
585- Legacy code: Index(PKG1, 3)
586- New ASL+ code: PKG1[3]
587This completes the ACPI 6.0 ASL+ support as it was the only operator not
588supported.
589
590iASL: Fixed the file suffix for the preprocessor output file (.i). Two
591spaces were inadvertently appended to the filename, causing file access
592and deletion problems on some systems.
593
594ASL Test Suite (ASLTS): Updated the master makefile to generate all
595possible compiler output files when building the test suite -- thus
596exercising these features of the compiler. These files are automatically
597deleted when the test suite exits.
598
599
600----------------------------------------
60118 August 2015. Summary of changes for version 20150818:
602
6031) ACPICA kernel-resident subsystem:
604
605Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
606Zheng. ACPICA BZ 1186.
607
608Completed development to ensure that the ACPICA Disassembler and Debugger
609are fully standalone components of ACPICA. Removed cross-component
610dependences. Lv Zheng.
611
612The max-number-of-AML-loops is now runtime configurable (previously was
613compile-time only). This is essentially a loop timeout to force-abort
614infinite AML loops. ACPCIA BZ 1192.
615
616Debugger: Cleanup output to dump ACPI names and namepaths without any
617trailing underscores. Lv Zheng. ACPICA BZ 1135.
618
619Removed unnecessary conditional compilations across the Debugger and
620Disassembler components where entire modules could be left uncompiled.
621
622The aapits test is deprecated and has been removed from the ACPICA git
623tree. The test has never been completed and has not been maintained, thus
624becoming rather useless. ACPICA BZ 1015, 794.
625
626A batch of small changes to close bugzilla and other reports:
627- Remove duplicate code for _PLD processing. ACPICA BZ 1176.
628- Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
629- iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
630- ACPI table support: general cleanup and simplification. Lv Zheng, Bob
631Moore.
632- ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
633ACPICA BZ 1184.
634- Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
635operators.
636- Debugger: Split debugger initialization/termination interfaces. Lv
637Zheng.
638- AcpiExec: Emit OemTableId for SSDTs during the load phase for table
639identification.
640- AcpiExec: Add debug message during _REG method phase during table
641load/init.
642- AcpiNames: Fix a regression where some output was missing and no longer
643emitted.
644- Debugger: General cleanup and simplification. Lv Zheng.
645- Disassembler: Cleanup use of several global option variables. Lv Zheng.
646
647Example Code and Data Size: These are the sizes for the OS-independent
648acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
649debug version of the code includes the debug output trace mechanism and
650has a much larger code and data size.
651
652 Current Release:
653 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
654 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
655 Previous Release:
656 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
657 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
658
659
6602) iASL Compiler/Disassembler and Tools:
661
662AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
663were not handled properly and caused load errors. Now, properly invoke
664and use the ACPICA auto-reallocate mechanism for ACPI table data
665structures. ACPICA BZ 1188
666
667AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
668BZ 1190.
669
670AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
671AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
672executed during initialization. ACPICA BZ 1187, 1189.
673
674iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
675that corresponds to each disassembled ASL statement, to simplify
676debugging. ACPICA BZ 1191.
677
678Debugger: Add option to the "objects" command to display a summary of the
679current namespace objects (Object type and count). This is displayed if
680the command is entered with no arguments.
681
682AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
683
684
685----------------------------------------
68617 July 2015. Summary of changes for version 20150717:
687
6881) ACPICA kernel-resident subsystem:
689
690Improved the partitioning between the Debugger and Disassembler
691components. This allows the Debugger to be used standalone within kernel
692code without the Disassembler (which is used for single stepping also).
693This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
694
695Debugger: Implemented a new command to trace the execution of control
696methods (Trace). This is especially useful for the in-kernel version of
697the debugger when file I/O may not be available for method trace output.
698See the ACPICA reference for more information. Lv Zheng.
699
700Moved all C library prototypes (used for the local versions of these
701functions when requested) to a new header, acclib.h
702Cleaned up the use of non-ANSI C library functions. These functions are
703implemented locally in ACPICA. Moved all such functions to a common
704source file, utnonansi.c
705
706Debugger: Fixed a problem with the "!!" command (get last command
707executed) where the debugger could enter an infinite loop and eventually
708crash.
709
710Removed the use of local macros that were used for some of the standard C
711library functions to automatically cast input parameters. This mostly
712affected the is* functions where the input parameter is defined to be an
713int. This required a few modifications to the main ACPICA source code to
714provide casting for these functions and eliminate possible compiler
715warnings for these parameters.
716
717Across the source code, added additional status/error checking to resolve
718issues discovered by static source code analysis tools such as Coverity.
719
720Example Code and Data Size: These are the sizes for the OS-independent
721acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
722debug version of the code includes the debug output trace mechanism and
723has a much larger code and data size.
724
725 Current Release:
726 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
727 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
728 Previous Release:
729 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
730 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
731
732
7332) iASL Compiler/Disassembler and Tools:
734
735iASL: Fixed a regression where the device map file feature no longer
736worked properly when used in conjunction with the disassembler. It only
737worked properly with the compiler itself.
738
739iASL: Implemented a new warning for method LocalX variables that are set
740but never used (similar to a C compiler such as gcc). This also applies
741to ArgX variables that are not defined by the parent method, and are
742instead (legally) used as local variables.
743
744iASL/Preprocessor: Finished the pass-through of line numbers from the
745preprocessor to the compiler. This ensures that compiler errors/warnings
746have the correct original line numbers and filenames, regardless of any
747#include files.
748
749iASL/Preprocessor: Fixed a couple of issues with comment handling and the
750pass-through of comments to the preprocessor output file (which becomes
751the compiler input file). Also fixed a problem with // comments that
752appear after a math expression.
753
754iASL: Added support for the TCPA server table to the table compiler and
755template generator. (The client table was already previously supported)
756
757iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
758identify the iASL compiler.
759
760Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
761multiple times. The new names are ACPI_SIGN_NEGATIVE and
762ACPI_SIGN_POSITIVE.
763
764AcpiHelp: Update to expand help messages for the iASL preprocessor
765directives.
766
767
768----------------------------------------
76919 June 2015. Summary of changes for version 20150619:
770
771Two regressions in version 20150616 have been addressed:
772
773Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
774etc.) This update changes ACPICA to only use the standard headers for
775functions, or the prototypes for the local versions of the C library
776functions. Across the source code, this required some additional casts
777for some Clib invocations for portability. Moved all local prototypes to
778a new file, acclib.h
779
780Fixes several problems with recent changes to the handling of the FACS
781table that could cause some systems not to boot.
782
783
784----------------------------------------
78516 June 2015. Summary of changes for version 20150616:
786
787
7881) ACPICA kernel-resident subsystem:
789
790Across the entire ACPICA source code base, the various macros for the C
791library functions (such as ACPI_STRLEN, etc.) have been removed and
792replaced by the standard C library names (strlen, etc.) The original
793purpose for these macros is no longer applicable. This simplification
794reduces the number of macros used in the ACPICA source code
795significantly, improving readability and maintainability.
796
797Implemented support for a new ACPI table, the OSDT. This table, the
798"override" SDT, can be loaded directly by the host OS at boot time. It
799enables the replacement of existing namespace objects that were installed
800via the DSDT and/or SSDTs. The primary purpose for this is to replace
801buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
802for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
803Moore.
804
805Added support for systems with (improperly) two FACS tables -- a "32-bit"
806table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
807X field). This change will support both automatically. There continues to
808be systems found with this issue. This support requires a change to the
809AcpiSetFirmwareWakingVector interface. Also, a public global variable has
810been added to allow the host to select which FACS is desired
811(AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
812details Lv Zheng.
813
814Added a new feature to allow for systems that do not contain an FACS.
815Although this is already supported on hardware-reduced platforms, the
816feature has been extended for all platforms. The reasoning is that we do
817not want to abort the entire ACPICA initialization just because the
818system is seriously buggy and has no FACS.
819
820Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
821not correctly transcribed from the ACPI specification in ACPICA version
82220150515.
823
824Implemented support for the _CLS object in the AcpiGetObjectInfo external
825interface.
826
827Updated the definitions of the TCPA and TPM2 ACPI tables to the more
828recent TCG ACPI Specification, December 14, 2014. Table disassembler and
829compiler also updated. Note: The TCPA "server" table is not supported by
830the disassembler/table-compiler at this time.
831
832ACPI 6.0: Added definitions for the new GIC version field in the MADT.
833
834Example Code and Data Size: These are the sizes for the OS-independent
835acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
836debug version of the code includes the debug output trace mechanism and
837has a much larger code and data size.
838
839 Current Release:
840 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
841 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
842 Previous Release:
843 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
844 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
845
846
8472) iASL Compiler/Disassembler and Tools:
848
849Disassembler: Fixed a problem with the new symbolic operator disassembler
850where incorrect ASL code could be emitted in some cases for the "non-
851commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
852ShiftRight. The actual problem cases seem to be rather unusual in common
853ASL code, however. David Box.
854
855Modified the linux version of acpidump to obtain ACPI tables from not
856just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
857Zheng.
858
859iASL: Fixed a problem where the user preprocessor output file (.i)
860contained extra data that was not expected. The compiler was using this
861file as a temporary file and passed through #line directives in order to
862keep compiler error messages in sync with the input file and line number
863across multiple include files. The (.i) is no longer a temporary file as
864the compiler uses a new, different file for the original purpose.
865
866iASL: Fixed a problem where comments within the original ASL source code
867file were not passed through to the preprocessor output file, nor any
868listing files.
869
870iASL: Fixed some issues for the handling of the "#include" preprocessor
871directive and the similar (but not the same) "Include" ASL operator.
872
873iASL: Add support for the new OSDT in both the disassembler and compiler.
874
875iASL: Fixed a problem with the constant folding support where a Buffer
876object could be incorrectly generated (incorrectly formed) during a
877conversion to a Store() operator.
878
879AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
880description text for the _REV predefined name. _REV now permanently
881returns 2, as per the ACPI 6.0 specification.
882
883Debugger: Enhanced the output of the Debug ASL object for references
884produced by the Index operator. For Buffers and strings, only output the
885actual byte pointed to by the index. For packages, only print the single
886package element decoded by the index. Previously, the entire
887buffer/string/package was emitted.
888
889iASL/Table-compiler: Fixed a regression where the "generic" data types
890were no longer recognized, causing errors.
891
892
893----------------------------------------
89415 May 2015. Summary of changes for version 20150515:
895
896This release implements most of ACPI 6.0 as described below.
897
8981) ACPICA kernel-resident subsystem:
899
900Implemented runtime argument checking and return value checking for all
901new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
902_MTL, _PRR, _RDI, _RST, _TFP, _TSN.
903
904Example Code and Data Size: These are the sizes for the OS-independent
905acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
906debug version of the code includes the debug output trace mechanism and
907has a much larger code and data size.
908
909 Current Release:
910 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
911 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
912 Previous Release:
913 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
914 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
915
916
9172) iASL Compiler/Disassembler and Tools:
918
919iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
920names (argument count validation and return value typechecking.)
921
922iASL disassembler and table compiler: implemented support for all new
923ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
924
925iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
926tables: FADT, MADT.
927
928iASL preprocessor: Added a new directive to enable inclusion of binary
929blobs into ASL code. The new directive is #includebuffer. It takes a
930binary file as input and emits a named ascii buffer object into the ASL
931code.
932
933AcpiHelp: Added support for all new ACPI 6.0 predefined names.
934
935AcpiHelp: Added a new option, -d, to display all iASL preprocessor
936directives.
937
938AcpiHelp: Added a new option, -t, to display all known/supported ACPI
939tables.
940
941
942----------------------------------------
94310 April 2015. Summary of changes for version 20150410:
944
945Reverted a change introduced in version 20150408 that caused
946a regression in the disassembler where incorrect operator
947symbols could be emitted.
948
949
950----------------------------------------
95108 April 2015. Summary of changes for version 20150408:
952
953
9541) ACPICA kernel-resident subsystem:
955
956Permanently set the return value for the _REV predefined name. It now
957returns 2 (was 5). This matches other ACPI implementations. _REV will be
958deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
959for ACPI 2.0 and later. It should never be used to differentiate or
960identify operating systems.
961
962Added the "Windows 2015" string to the _OSI support. ACPICA will now
963return TRUE to a query with this string.
964
965Fixed several issues with the local version of the printf function.
966
967Added the C99 compiler option (-std=c99) to the Unix makefiles.
968
969 Current Release:
970 Non-Debug Version: 99.9K Code, 27.4K Data, 127.3K Total
971 Debug Version: 195.2K Code, 80.7K Data, 275.9K Total
972 Previous Release:
973 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
974 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
975
976
9772) iASL Compiler/Disassembler and Tools:
978
979iASL: Implemented an enhancement to the constant folding feature to
980transform the parse tree to a simple Store operation whenever possible:
981 Add (2, 3, X) ==> is converted to: Store (5, X)
982 X = 2 + 3 ==> is converted to: Store (5, X)
983
984Updated support for the SLIC table (Software Licensing Description Table)
985in both the Data Table compiler and the disassembler. The SLIC table
986support now conforms to "Microsoft Software Licensing Tables (SLIC and
987MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
988following the ACPI header is now defined to be "Proprietary Data", and as
989such, can only be entered or displayed as a hex data block.
990
991Implemented full support for the MSDM table as described in the document
992above. Note: The format of MSDM is similar to SLIC. Any MSDM data
993following the ACPI header is defined to be "Proprietary Data", and can
994only be entered or displayed as a hex data block.
995
996Implemented the -Pn option for the iASL Table Compiler (was only
997implemented for the ASL compiler). This option disables the iASL
998preprocessor.
999
1000Disassembler: For disassembly of Data Tables, added a comment field
1001around the Ascii equivalent data that is emitted as part of the "Raw
1002Table Data" block. This prevents the iASL Preprocessor from possible
1003confusion if/when the table is compiled.
1004
1005Disassembler: Added an option (-df) to force the disassembler to assume
1006that the table being disassembled contains valid AML. This feature is
1007useful for disassembling AML files that contain ACPI signatures other
1008than DSDT or SSDT (such as OEMx or other signatures).
1009
1010Changes for the EFI version of the tools:
10111) Fixed a build error/issue
10122) Fixed a cast warning
1013
1014iASL: Fixed a path issue with the __FILE__ operator by making the
1015directory prefix optional within the internal SplitInputFilename
1016function.
1017
1018Debugger: Removed some unused global variables.
1019
1020Tests: Updated the makefile for proper generation of the AAPITS suite.
1021
1022
1023----------------------------------------
102404 February 2015. Summary of changes for version 20150204:
1025
1026ACPICA kernel-resident subsystem:
1027
1028Updated all ACPICA copyrights and signons to 2014. Added the 2014
1029copyright to all module headers and signons, including the standard Linux
1030header. This affects virtually every file in the ACPICA core subsystem,
1031iASL compiler, all ACPICA utilities, and the test suites.
1032
1033Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
1034A raw gpe handling mechanism was created to allow better handling of GPE
1035storms that aren't easily managed by the normal handler. The raw handler
1036allows disabling/renabling of the the GPE so that interrupt storms can be
1037avoided in cases where events cannot be timely serviced. In this
1038scenario, handlers should use the AcpiSetGpe() API to disable/enable the
1039GPE. This API will leave the reference counts undisturbed, thereby
1040preventing unintentional clearing of the GPE when the intent in only to
1041temporarily disable it. Raw handlers allow enabling and disabling of a
1042GPE by removing GPE register locking. As such, raw handlers much provide
1043their own locks while using GPE API's to protect access to GPE data
1044structures.
1045Lv Zheng
1046
1047Events: Always modify GPE registers under the GPE lock.
1048Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
1049values. Reported as bug by joe.liu@apple.com.
1050
1051Unix makefiles: Separate option to disable optimizations and
1052_FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
1053NOOPT disable option and creates a separate flag (NOFORTIFY) for this
1054purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
1055errors when building ACPICA. This allows disabling the option without
1056also having to disable optimazations.
1057David Box
1058
1059 Current Release:
1060 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1061 Debug Version: 199.2K Code, 82.4K Data, 281.6K Total
1062
1063--
1064--------------------------------------
106507 November 2014. Summary of changes for version 20141107:
1066
1067This release is available at https://acpica.org/downloads
1068
1069This release introduces and implements language extensions to ASL that
1070provide support for symbolic ("C-style") operators and expressions. These
1071language extensions are known collectively as ASL+.
1072
1073
10741) iASL Compiler/Disassembler and Tools:
1075
1076Disassembler: Fixed a problem with disassembly of the UartSerialBus
1077macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
1078Box.
1079
1080Disassembler: Fixed the Unicode macro support to add escape sequences.
1081All non-printable ASCII values are emitted as escape sequences, as well
1082as the standard escapes for quote and backslash. Ensures that the
1083disassembled macro can be correctly recompiled.
1084
1085iASL: Added Printf/Fprintf macros for formatted output. These macros are
1086translated to existing AML Concatenate and Store operations. Printf
1087writes to the ASL Debug object. Fprintf allows the specification of an
1088ASL name as the target. Only a single format specifier is required, %o,
1089since the AML interpreter dynamically converts objects to the required
1090type. David E. Box.
1091
1092 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
1093 (Concatenate (Concatenate (Concatenate ("", Arg0),
1094 ": Unexpected value for "), Arg1), ", "), Arg2),
1095 " at line "), Arg3), Debug)
1096
1097 (new) Printf ("%o: Unexpected value for %o, %o at line %o",
1098 Arg0, Arg1, Arg2, Arg3)
1099
1100 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
1101 ("", Arg1), ": "), Arg0), " Successful"), STR1)
1102
1103 (new) Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
1104
1105iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
1106ASL parse tree before the AML code is generated. This allows blocks of
1107ASL code to be removed in order to help locate and identify problem
1108devices and/or code. David E. Box.
1109
1110AcpiExec: Added support (-fi) for an optional namespace object
1111initialization file. This file specifies initial values for namespace
1112objects as necessary for debugging and testing different ASL code paths
1113that may be taken as a result of BIOS options.
1114
1115
11162) Overview of symbolic operator support for ASL (ASL+)
1117-------------------------------------------------------
1118
1119As an extension to the ASL language, iASL implements support for symbolic
1120(C-style) operators for math and logical expressions. This can greatly
1121simplify ASL code as well as improve both readability and
1122maintainability. These language extensions can exist concurrently with
1123all legacy ASL code and expressions.
1124
1125The symbolic extensions are 100% compatible with existing AML
1126interpreters, since no new AML opcodes are created. To implement the
1127extensions, the iASL compiler transforms the symbolic expressions into
1128the legacy ASL/AML equivalents at compile time.
1129
1130Full symbolic expressions are supported, along with the standard C
1131precedence and associativity rules.
1132
1133Full disassembler support for the symbolic expressions is provided, and
1134creates an automatic migration path for existing ASL code to ASL+ code
1135via the disassembly process. By default, the disassembler now emits ASL+
1136code with symbolic expressions. An option (-dl) is provided to force the
1137disassembler to emit legacy ASL code if desired.
1138
1139Below is the complete list of the currently supported symbolic operators
1140with examples. See the iASL User Guide for additional information.
1141
1142
1143ASL+ Syntax Legacy ASL Equivalent
1144----------- ---------------------
1145
1146 // Math operators
1147
1148Z = X + Y Add (X, Y, Z)
1149Z = X - Y Subtract (X, Y, Z)
1150Z = X * Y Multiply (X, Y, Z)
1151Z = X / Y Divide (X, Y, , Z)
1152Z = X % Y Mod (X, Y, Z)
1153Z = X << Y ShiftLeft (X, Y, Z)
1154Z = X >> Y ShiftRight (X, Y, Z)
1155Z = X & Y And (X, Y, Z)
1156Z = X | Y Or (X, Y, Z)
1157Z = X ^ Y Xor (X, Y, Z)
1158Z = ~X Not (X, Z)
1159X++ Increment (X)
1160X-- Decrement (X)
1161
1162 // Logical operators
1163
1164(X == Y) LEqual (X, Y)
1165(X != Y) LNotEqual (X, Y)
1166(X < Y) LLess (X, Y)
1167(X > Y) LGreater (X, Y)
1168(X <= Y) LLessEqual (X, Y)
1169(X >= Y) LGreaterEqual (X, Y)
1170(X && Y) LAnd (X, Y)
1171(X || Y) LOr (X, Y)
1172(!X) LNot (X)
1173
1174 // Assignment and compound assignment operations
1175
1176X = Y Store (Y, X)
1177X += Y Add (X, Y, X)
1178X -= Y Subtract (X, Y, X)
1179X *= Y Multiply (X, Y, X)
1180X /= Y Divide (X, Y, , X)
1181X %= Y Mod (X, Y, X)
1182X <<= Y ShiftLeft (X, Y, X)
1183X >>= Y ShiftRight (X, Y, X)
1184X &= Y And (X, Y, X)
1185X |= Y Or (X, Y, X)
1186X ^= Y Xor (X, Y, X)
1187
1188
11893) ASL+ Examples:
1190-----------------
1191
1192Legacy ASL:
1193 If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
1194 And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
11950x03FB),
1196 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
1197 {
1198 And (MEMB, 0xFFFFFFF0, SRMB)
1199 Store (MEMB, Local2)
1200 Store (PDBM, Local1)
1201 And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
1202 Store (SRMB, MEMB)
1203 Or (PDBM, 0x02, PDBM)
1204 }
1205
1206ASL+ version:
1207 If (((R510 & 0x03FB) == 0x02E0) ||
1208 ((R520 & 0x03FB) == 0x02E0) ||
1209 ((R530 & 0x03FB) == 0x02E0) ||
1210 ((R540 & 0x03FB) == 0x02E0))
1211 {
1212 SRMB = (MEMB & 0xFFFFFFF0)
1213 Local2 = MEMB
1214 Local1 = PDBM
1215 PDBM &= 0xFFFFFFFFFFFFFFF9
1216 MEMB = SRMB
1217 PDBM |= 0x02
1218 }
1219
1220Legacy ASL:
1221 Store (0x1234, Local1)
1222 Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
1223 Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
1224 Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
1225 Store (Index (PKG1, 0x03), Local6)
1226 Store (Add (Local3, Local2), Debug)
1227 Add (Local1, 0x0F, Local2)
1228 Add (Local1, Multiply (Local2, Local3), Local2)
1229 Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
1230
1231ASL+ version:
1232 Local1 = 0x1234
1233 Local3 = (((Local1 + TEST) + 0x20) * Local2)
1234 Local3 = (Local2 * ((Local1 + TEST) + 0x20))
1235 Local3 = (Local1 + (TEST + (0x20 * Local2)))
1236 Local6 = Index (PKG1, 0x03)
1237 Debug = (Local3 + Local2)
1238 Local2 = (Local1 + 0x0F)
1239 Local2 = (Local1 + (Local2 * Local3))
1240 Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
1241
1242
1243----------------------------------------
124426 September 2014. Summary of changes for version 20140926:
1245
12461) ACPICA kernel-resident subsystem:
1247
1248Updated the GPIO operation region handler interface (GeneralPurposeIo).
1249In order to support GPIO Connection objects with multiple pins, along
1250with the related Field objects, the following changes to the interface
1251have been made: The Address is now defined to be the offset in bits of
1252the field unit from the previous invocation of a Connection. It can be
1253viewed as a "Pin Number Index" into the connection resource descriptor.
1254The BitWidth is the exact bit width of the field. It is usually one bit,
1255but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
1256additional information and examples.
1257
1258GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
1259corresponding _Lxx/_Exx methods are disabled (they may have been enabled
1260by the firmware), so that they cannot fire until they are enabled via
1261AcpiUpdateAllGpes. Rafael J. Wysocki.
1262
1263Added a new return flag for the Event/GPE status interfaces --
1264AcpiGetEventStatus and AcpiGetGpeStatus. The new
1265ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
1266GPE currently has a handler associated with it, and can thus actually
1267affect the system. Lv Zheng.
1268
1269Example Code and Data Size: These are the sizes for the OS-independent
1270acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1271debug version of the code includes the debug output trace mechanism and
1272has a much larger code and data size.
1273
1274 Current Release:
1275 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
1276 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
1277 Previous Release:
1278 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1279 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1280
12812) iASL Compiler/Disassembler and Tools:
1282
1283iASL: Fixed a memory allocation/free regression introduced in 20140828
1284that could cause the compiler to crash. This was introduced inadvertently
1285during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
12861113.
1287
1288iASL: Removed two error messages that have been found to create false
1289positives, until they can be fixed and fully validated (ACPICA BZ 1112):
12901) Illegal forward reference within a method
12912) Illegal reference across two methods
1292
1293iASL: Implemented a new option (-lm) to create a hardware mapping file
1294that summarizes all GPIO, I2C, SPI, and UART connections. This option
1295works for both the compiler and disassembler. See the iASL compiler user
1296guide for additional information and examples (section 6.4.6).
1297
1298AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
1299version 2. This corrects the AE_BAD_HEADER exception seen on systems with
1300a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
1301
1302AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
1303unless STDIN is actually a terminal. Assists with batch-mode processing.
1304ACPICA BZ 1114.
1305
1306Disassembler/AcpiHelp: Added another large group of recognized _HID
1307values.
1308
1309
1310----------------------------------------
131128 August 2014. Summary of changes for version 20140828:
1312
13131) ACPICA kernel-resident subsystem:
1314
1315Fixed a problem related to the internal use of the Timer() operator where
1316a 64-bit divide could cause an attempted link to a double-precision math
1317library. This divide is not actually necessary, so the code was
1318restructured to eliminate it. Lv Zheng.
1319
1320ACPI 5.1: Added support for the runtime validation of the _DSD package
1321(similar to the iASL support).
1322
1323ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
1324SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
1325
1326Example Code and Data Size: These are the sizes for the OS-independent
1327acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1328debug version of the code includes the debug output trace mechanism and
1329has a much larger code and data size.
1330
1331 Current Release:
1332 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1333 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1334 Previous Release:
1335 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total1
1336 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
1337
13382) iASL Compiler/Disassembler and Tools:
1339
1340AcpiExec: Fixed a problem on unix systems where the original terminal
1341state was not always properly restored upon exit. Seen when using the -v
1342option. ACPICA BZ 1104.
1343
1344iASL: Fixed a problem with the validation of the ranges/length within the
1345Memory24 resource descriptor. There was a boundary condition when the
1346range was equal to the (length -1) caused by the fact that these values
1347are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
1348
1349Disassembler: Fixed a problem with the GpioInt descriptor interrupt
1350polarity
1351flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
1352is
1353now supported properly.
1354
1355ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
1356in the disassembler, data table compiler, and table template generator.
1357
1358iASL: Added a requirement for Device() objects that one of either a _HID
1359or _ADR must exist within the scope of a Device, as per the ACPI
1360specification. Remove a similar requirement that was incorrectly in place
1361for the _DSD object.
1362
1363iASL: Added error detection for illegal named references within control
1364methods that would cause runtime failures. Now trapped as errors are: 1)
1365References to objects within a non-parent control method. 2) Forward
1366references (within a method) -- for control methods, AML interpreters use
1367a one-pass parse of control methods. ACPICA BZ 1008.
1368
1369iASL: Added error checking for dependencies related to the _PSx power
1370methods. ACPICA BZ 1029.
13711) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
1372_PS3.
13732) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
1374scope.
1375
1376iASL and table compiler: Cleanup miscellaneous memory leaks by fully
1377deploying the existing object and string caches and adding new caches for
1378the table compiler.
1379
1380iASL: Split the huge parser source file into multiple subfiles to improve
1381manageability. Generation now requires the M4 macro preprocessor, which
1382is part of the Bison distribution on both unix and windows platforms.
1383
1384AcpiSrc: Fixed and removed all extraneous warnings generated during
1385entire ACPICA source code scan and/or conversion.
1386
1387
1388----------------------------------------
1389
139024 July 2014. Summary of changes for version 20140724:
1391
1392The ACPI 5.1 specification has been released and is available at:
1393http://uefi.org/specs/access
1394
1395
13960) ACPI 5.1 support in ACPICA:
1397
1398ACPI 5.1 is fully supported in ACPICA as of this release.
1399
1400New predefined names. Support includes iASL and runtime ACPICA
1401validation.
1402 _CCA (Cache Coherency Attribute).
1403 _DSD (Device-Specific Data). David Box.
1404
1405Modifications to existing ACPI tables. Support includes headers, iASL
1406Data Table compiler, disassembler, and the template generator.
1407 FADT - New fields and flags. Graeme Gregory.
1408 GTDT - One new subtable and new fields. Tomasz Nowicki.
1409 MADT - Two new subtables. Tomasz Nowicki.
1410 PCCT - One new subtable.
1411
1412Miscellaneous.
1413 New notification type for System Resource Affinity change events.
1414
1415
14161) ACPICA kernel-resident subsystem:
1417
1418Fixed a regression introduced in 20140627 where a fault can happen during
1419the deletion of Alias AML namespace objects. The problem affected both
1420the core ACPICA and the ACPICA tools including iASL and AcpiExec.
1421
1422Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
1423simple mechanism to enable wake GPEs that have no associated handler or
1424control method. Rafael Wysocki.
1425
1426Updated the AcpiEnableGpe interface to disallow the enable if there is no
1427handler or control method associated with the particular GPE. This will
1428help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
1429
1430Updated GPE handling and dispatch by disabling the GPE before clearing
1431the status bit for edge-triggered GPEs. Lv Zheng.
1432
1433Added Timer() support to the AML Debug object. The current timer value is
1434now displayed with each invocation of (Store to) the debug object to
1435enable simple generation of execution times for AML code (method
1436execution for example.) ACPICA BZ 1093.
1437
1438Example Code and Data Size: These are the sizes for the OS-independent
1439acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1440debug version of the code includes the debug output trace mechanism and
1441has a much larger code and data size.
1442
1443 Current Release:
1444 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total
1445 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
1446 Previous Release:
1447 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
1448 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
1449
1450
14512) iASL Compiler/Disassembler and Tools:
1452
1453Fixed an issue with the recently added local printf implementation,
1454concerning width/precision specifiers that could cause incorrect output.
1455Lv Zheng. ACPICA BZ 1094.
1456
1457Disassembler: Added support to detect buffers that contain UUIDs and
1458disassemble them to an invocation of the ToUUID operator. Also emit
1459commented descriptions of known ACPI-related UUIDs.
1460
1461AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
1462-u. Adds three new files.
1463
1464iASL: Update table compiler and disassembler for DMAR table changes that
1465were introduced in September 2013. With assistance by David Woodhouse.
1466
1467----------------------------------------
146827 June 2014. Summary of changes for version 20140627:
1469
14701) ACPICA kernel-resident subsystem:
1471
1472Formatted Output: Implemented local versions of standard formatted output
1473utilities such as printf, etc. Over time, it has been discovered that
1474there are in fact many portability issues with printf, and the addition
1475of this feature will fix/prevent these issues once and for all. Some
1476known issues are summarized below:
1477
14781) Output of 64-bit values is not portable. For example, UINT64 is %ull
1479for the Linux kernel and is %uI64 for some MSVC versions.
14802) Invoking printf consistently in a manner that is portable across both
148132-bit and 64-bit platforms is difficult at best in many situations.
14823) The output format for pointers varies from system to system (leading
1483zeros especially), and leads to inconsistent output from ACPICA across
1484platforms.
14854) Certain platform-specific printf formats may conflict with ACPICA use.
14865) If there is no local C library available, ACPICA now has local support
1487for printf.
1488
1489-- To address these printf issues in a complete manner, ACPICA now
1490directly implements a small subset of printf format specifiers, only
1491those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
1492
1493Implemented support for ACPICA generation within the EFI environment.
1494Initially, the AcpiDump utility is supported in the UEFI shell
1495environment. Lv Zheng.
1496
1497Added a new external interface, AcpiLogError, to improve ACPICA
1498portability. This allows the host to redirect error messages from the
1499ACPICA utilities. Lv Zheng.
1500
1501Added and deployed new OSL file I/O interfaces to improve ACPICA
1502portability:
1503 AcpiOsOpenFile
1504 AcpiOsCloseFile
1505 AcpiOsReadFile
1506 AcpiOsWriteFile
1507 AcpiOsGetFileOffset
1508 AcpiOsSetFileOffset
1509There are C library implementations of these functions in the new file
1510service_layers/oslibcfs.c -- however, the functions can be implemented by
1511the local host in any way necessary. Lv Zheng.
1512
1513Implemented a mechanism to disable/enable ACPI table checksum validation
1514at runtime. This can be useful when loading tables very early during OS
1515initialization when it may not be possible to map the entire table in
1516order to compute the checksum. Lv Zheng.
1517
1518Fixed a buffer allocation issue for the Generic Serial Bus support.
1519Originally, a fixed buffer length was used. This change allows for
1520variable-length buffers based upon the protocol indicated by the field
1521access attributes. Reported by Lan Tianyu. Lv Zheng.
1522
1523Fixed a problem where an object detached from a namespace node was not
1524properly terminated/cleared and could cause a circular list problem if
1525reattached. ACPICA BZ 1063. David Box.
1526
1527Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
1528
1529Fixed a possible memory leak in an error return path within the function
1530AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
1531
1532Example Code and Data Size: These are the sizes for the OS-independent
1533acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1534debug version of the code includes the debug output trace mechanism and
1535has a much larger code and data size.
1536
1537 Current Release:
1538 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
1539 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
1540 Previous Release:
1541 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
1542 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
1543
1544
15452) iASL Compiler/Disassembler and Tools:
1546
1547Disassembler: Add dump of ASCII equivalent text within a comment at the
1548end of each line of the output for the Buffer() ASL operator.
1549
1550AcpiDump: Miscellaneous changes:
1551 Fixed repetitive table dump in -n mode.
1552 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
1553the ACPI 2.0 GUID fails.
1554
1555iASL: Fixed a problem where the compiler could fault if incorrectly given
1556an acpidump output file as input. ACPICA BZ 1088. David Box.
1557
1558AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
1559they are invoked without any arguments.
1560
1561Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
15621086. Colin Ian King.
1563
1564Disassembler: Cleaned up a block of code that extracts a parent Op
1565object. Added a comment that explains that the parent is guaranteed to be
1566valid in this case. ACPICA BZ 1069.
1567
1568
1569----------------------------------------
157024 April 2014. Summary of changes for version 20140424:
1571
15721) ACPICA kernel-resident subsystem:
1573
1574Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
1575Some of these tables are known to contain a trailing NULL entry. Lv
1576Zheng.
1577
1578Removed an extraneous error message for the case where there are a large
1579number of system GPEs (> 124). This was the "32-bit FADT register is too
1580long to convert to GAS struct" message, which is irrelevant for GPEs
1581since the GPEx_BLK_LEN fields of the FADT are always used instead of the
1582(limited capacity) GAS bit length. Also, several changes to ensure proper
1583support for GPE numbers > 255, where some "GPE number" fields were 8-bits
1584internally.
1585
1586Implemented and deployed additional configuration support for the public
1587ACPICA external interfaces. Entire classes of interfaces can now be
1588easily modified or configured out, replaced by stubbed inline functions
1589by default. Lv Zheng.
1590
1591Moved all public ACPICA runtime configuration globals to the public
1592ACPICA external interface file for convenience. Also, removed some
1593obsolete/unused globals. See the file acpixf.h. Lv Zheng.
1594
1595Documentation: Added a new section to the ACPICA reference describing the
1596maximum number of GPEs that can be supported by the FADT-defined GPEs in
1597block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
1598reference.
1599
1600Example Code and Data Size: These are the sizes for the OS-independent
1601acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1602debug version of the code includes the debug output trace mechanism and
1603has a much larger code and data size.
1604
1605 Current Release:
1606 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
1607 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
1608 Previous Release:
1609 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
1610 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
1611
1612
16132) iASL Compiler/Disassembler and Tools:
1614
1615iASL and disassembler: Add full support for the LPIT table (Low Power
1616Idle Table). Includes support in the disassembler, data table compiler,
1617and template generator.
1618
1619AcpiDump utility:
16201) Add option to force the use of the RSDT (over the XSDT).
16212) Improve validation of the RSDP signature (use 8 chars instead of 4).
1622
1623iASL: Add check for predefined packages that are too large. For
1624predefined names that contain subpackages, check if each subpackage is
1625too large. (Check for too small already exists.)
1626
1627Debugger: Updated the GPE command (which simulates a GPE by executing the
1628GPE code paths in ACPICA). The GPE device is now optional, and defaults
1629to the GPE 0/1 FADT-defined blocks.
1630
1631Unix application OSL: Update line-editing support. Add additional error
1632checking and take care not to reset terminal attributes on exit if they
1633were never set. This should help guarantee that the terminal is always
1634left in the previous state on program exit.
1635
1636
1637----------------------------------------
163825 March 2014. Summary of changes for version 20140325:
1639
16401) ACPICA kernel-resident subsystem:
1641
1642Updated the auto-serialize feature for control methods. This feature
1643automatically serializes all methods that create named objects in order
1644to prevent runtime errors. The update adds support to ignore the
1645currently executing AML SyncLevel when invoking such a method, in order
1646to prevent disruption of any existing SyncLevel priorities that may exist
1647in the AML code. Although the use of SyncLevels is relatively rare, this
1648change fixes a regression where an AE_AML_MUTEX_ORDER exception can
1649appear on some machines starting with the 20140214 release.
1650
1651Added a new external interface to allow the host to install ACPI tables
1652very early, before the namespace is even created. AcpiInstallTable gives
1653the host additional flexibility for ACPI table management. Tables can be
1654installed directly by the host as if they had originally appeared in the
1655XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
1656(anything except the DSDT and FACS). Adds a new file, tbdata.c, along
1657with additional internal restructuring and cleanup. See the ACPICA
1658Reference for interface details. Lv Zheng.
1659
1660Added validation of the checksum for all incoming dynamically loaded
1661tables (via external interfaces or via AML Load/LoadTable operators). Lv
1662Zheng.
1663
1664Updated the use of the AcpiOsWaitEventsComplete interface during Notify
1665and GPE handler removal. Restructured calls to eliminate possible race
1666conditions. Lv Zheng.
1667
1668Added a warning for the use/execution of the ASL/AML Unload (table)
1669operator. This will help detect and identify machines that use this
1670operator if and when it is ever used. This operator has never been seen
1671in the field and the usage model and possible side-effects of the drastic
1672runtime action of a full table removal are unknown.
1673
1674Reverted the use of #pragma push/pop which was introduced in the 20140214
1675release. It appears that push and pop are not implemented by enough
1676compilers to make the use of this feature feasible for ACPICA at this
1677time. However, these operators may be deployed in a future ACPICA
1678release.
1679
1680Added the missing EXPORT_SYMBOL macros for the install and remove SCI
1681handler interfaces.
1682
1683Source code generation:
16841) Disabled the use of the "strchr" macro for the gcc-specific
1685generation. For some versions of gcc, this macro can periodically expose
1686a compiler bug which in turn causes compile-time error(s).
16872) Added support for PPC64 compilation. Colin Ian King.
1688
1689Example Code and Data Size: These are the sizes for the OS-independent
1690acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1691debug version of the code includes the debug output trace mechanism and
1692has a much larger code and data size.
1693
1694 Current Release:
1695 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
1696 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
1697 Previous Release:
1698 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
1699 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
1700
1701
17022) iASL Compiler/Disassembler and Tools:
1703
1704Disassembler: Added several new features to improve the readability of
1705the resulting ASL code. Extra information is emitted within comment
1706fields in the ASL code:
17071) Known _HID/_CID values are decoded to descriptive text.
17082) Standard values for the Notify() operator are decoded to descriptive
1709text.
17103) Target operands are expanded to full pathnames (in a comment) when
1711possible.
1712
1713Disassembler: Miscellaneous updates for extern() handling:
17141) Abort compiler if file specified by -fe option does not exist.
17152) Silence unnecessary warnings about argument count mismatches.
17163) Update warning messages concerning unresolved method externals.
17174) Emit "UnknownObj" keyword for externals whose type cannot be
1718determined.
1719
1720AcpiHelp utility:
17211) Added the -a option to display both the ASL syntax and the AML
1722encoding for an input ASL operator. This effectively displays all known
1723information about an ASL operator with one AcpiHelp invocation.
17242) Added substring match support (similar to a wildcard) for the -i
1725(_HID/PNP IDs) option.
1726
1727iASL/Disassembler: Since this tool does not yet support execution on big-
1728endian machines, added detection of endianness and an error message if
1729execution is attempted on big-endian. Support for big-endian within iASL
1730is a feature that is on the ACPICA to-be-done list.
1731
1732AcpiBin utility:
17331) Remove option to extract binary files from an acpidump; this function
1734is made obsolete by the AcpiXtract utility.
17352) General cleanup of open files and allocated buffers.
1736
1737
1738----------------------------------------
173914 February 2014. Summary of changes for version 20140214:
1740
17411) ACPICA kernel-resident subsystem:
1742
1743Implemented a new mechanism to proactively prevent problems with ill-
1744behaved reentrant control methods that create named ACPI objects. This
1745behavior is illegal as per the ACPI specification, but is nonetheless
1746frequently seen in the field. Previously, this could lead to an
1747AE_ALREADY_EXISTS exception if the method was actually entered by more
1748than one thread. This new mechanism detects such methods at table load
1749time and marks them "serialized" to prevent reentrancy. A new global
1750option, AcpiGbl_AutoSerializeMethods, has been added to disable this
1751feature if desired. This mechanism and global option obsoletes and
1752supersedes the previous AcpiGbl_SerializeAllMethods option.
1753
1754Added the "Windows 2013" string to the _OSI support. ACPICA will now
1755respond TRUE to _OSI queries with this string. It is the stated policy of
1756ACPICA to add new strings to the _OSI support as soon as possible after
1757they are defined. See the full ACPICA _OSI policy which has been added to
1758the utilities/utosi.c file.
1759
1760Hardened/updated the _PRT return value auto-repair code:
17611) Do not abort the repair on a single subpackage failure, continue to
1762check all subpackages.
17632) Add check for the minimum subpackage length (4).
17643) Properly handle extraneous NULL package elements.
1765
1766Added support to avoid the possibility of infinite loops when traversing
1767object linked lists. Never allow an infinite loop, even in the face of
1768corrupted object lists.
1769
1770ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
1771pack(pop) directives to ensure that the ACPICA headers are independent of
1772compiler settings or other host headers.
1773
1774Example Code and Data Size: These are the sizes for the OS-independent
1775acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1776debug version of the code includes the debug output trace mechanism and
1777has a much larger code and data size.
1778
1779 Current Release:
1780 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
1781 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
1782 Previous Release:
1783 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
1784 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
1785
1786
17872) iASL Compiler/Disassembler and Tools:
1788
1789iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
1790first reserved field was incorrectly forced to have a value of zero. This
1791change correctly forces the field to have a value of one. ACPICA BZ 1081.
1792
1793Debugger: Added missing support for the "Extra" and "Data" subobjects
1794when displaying object data.
1795
1796Debugger: Added support to display entire object linked lists when
1797displaying object data.
1798
1799iASL: Removed the obsolete -g option to obtain ACPI tables from the
1800Windows registry. This feature has been superseded by the acpidump
1801utility.
1802
1803
1804----------------------------------------
180514 January 2014. Summary of changes for version 20140114:
1806
18071) ACPICA kernel-resident subsystem:
1808
1809Updated all ACPICA copyrights and signons to 2014. Added the 2014
1810copyright to all module headers and signons, including the standard Linux
1811header. This affects virtually every file in the ACPICA core subsystem,
1812iASL compiler, all ACPICA utilities, and the test suites.
1813
1814Improved parameter validation for AcpiInstallGpeBlock. Added the
1815following checks:
18161) The incoming device handle refers to type ACPI_TYPE_DEVICE.
18172) There is not already a GPE block attached to the device.
1818Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
1819device.
1820
1821Correctly support "references" in the ACPI_OBJECT. This change fixes the
1822support to allow references (namespace nodes) to be passed as arguments
1823to control methods via the evaluate object interface. This is probably
1824most useful for testing purposes, however.
1825
1826Improved support for 32/64 bit physical addresses in printf()-like
1827output. This change improves the support for physical addresses in printf
1828debug statements and other output on both 32-bit and 64-bit hosts. It
1829consistently outputs the appropriate number of bytes for each host. The
1830%p specifier is unsatisfactory since it does not emit uniform output on
1831all hosts/clib implementations (on some, leading zeros are not supported,
1832leading to difficult-to-read output).
1833
1834Example Code and Data Size: These are the sizes for the OS-independent
1835acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1836debug version of the code includes the debug output trace mechanism and
1837has a much larger code and data size.
1838
1839 Current Release:
1840 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
1841 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
1842 Previous Release:
1843 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
1844 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
1845
1846
18472) iASL Compiler/Disassembler and Tools:
1848
1849iASL: Fix a possible fault when using the Connection() operator. Fixes a
1850problem if the parent Field definition for the Connection operator refers
1851to an operation region that does not exist. ACPICA BZ 1064.
1852
1853AcpiExec: Load of local test tables is now optional. The utility has the
1854capability to load some various tables to test features of ACPICA.
1855However, there are enough of them that the output of the utility became
1856confusing. With this change, only the required local tables are displayed
1857(RSDP, XSDT, etc.) along with the actual tables loaded via the command
1858line specification. This makes the default output simler and easier to
1859understand. The -el command line option restores the original behavior
1860for testing purposes.
1861
1862AcpiExec: Added support for overlapping operation regions. This change
1863expands the simulation of operation regions by supporting regions that
1864overlap within the given address space. Supports SystemMemory and
1865SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
1866
1867AcpiExec: Added region handler support for PCI_Config and EC spaces. This
1868allows AcpiExec to simulate these address spaces, similar to the current
1869support for SystemMemory and SystemIO.
1870
1871Debugger: Added new command to read/write/compare all namespace objects.
1872The command "test objects" will exercise the entire namespace by writing
1873new values to each data object, and ensuring that the write was
1874successful. The original value is then restored and verified.
1875
1876Debugger: Added the "test predefined" command. This change makes this
1877test public and puts it under the new "test" command. The test executes
1878each and every predefined name within the current namespace.
1879
1880
1881----------------------------------------
188218 December 2013. Summary of changes for version 20131218:
1883
1884Global note: The ACPI 5.0A specification was released this month. There
1885are no changes needed for ACPICA since this release of ACPI is an
1886errata/clarification release. The specification is available at
1887acpi.info.
1888
1889
18901) ACPICA kernel-resident subsystem:
1891
1892Added validation of the XSDT root table if it is present. Some older
1893platforms contain an XSDT that is ill-formed or otherwise invalid (such
1894as containing some or all entries that are NULL pointers). This change
1895adds a new function to validate the XSDT before actually using it. If the
1896XSDT is found to be invalid, ACPICA will now automatically fall back to
1897using the RSDT instead. Original implementation by Zhao Yakui. Ported to
1898ACPICA and enhanced by Lv Zheng and Bob Moore.
1899
1900Added a runtime option to ignore the XSDT and force the use of the RSDT.
1901This change adds a runtime option that will force ACPICA to use the RSDT
1902instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
1903requires that an XSDT be used instead of the RSDT, the XSDT has been
1904found to be corrupt or ill-formed on some machines. Lv Zheng.
1905
1906Added a runtime option to favor 32-bit FADT register addresses over the
190764-bit addresses. This change adds an option to favor 32-bit FADT
1908addresses when there is a conflict between the 32-bit and 64-bit versions
1909of the same register. The default behavior is to use the 64-bit version
1910in accordance with the ACPI specification. This can now be overridden via
1911the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
1912
1913During the change above, the internal "Convert FADT" and "Verify FADT"
1914functions have been merged to simplify the code, making it easier to
1915understand and maintain. ACPICA BZ 933.
1916
1917Improve exception reporting and handling for GPE block installation.
1918Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
1919status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
1920
1921Added helper macros to extract bus/segment numbers from the HEST table.
1922This change adds two macros to extract the encoded bus and segment
1923numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
1924Betty Dall <betty.dall@hp.com>
1925
1926Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
1927by ACPICA. It is not a public macro, so it should have no effect on
1928existing OSV code. Lv Zheng.
1929
1930Example Code and Data Size: These are the sizes for the OS-independent
1931acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1932debug version of the code includes the debug output trace mechanism and
1933has a much larger code and data size.
1934
1935 Current Release:
1936 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
1937 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
1938 Previous Release:
1939 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
1940 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
1941
1942
19432) iASL Compiler/Disassembler and Tools:
1944
1945Disassembler: Improved pathname support for emitted External()
1946statements. This change adds full pathname support for external names
1947that have been resolved internally by the inclusion of additional ACPI
1948tables (via the iASL -e option). Without this change, the disassembler
1949can emit multiple externals for the same object, or it become confused
1950when the Scope() operator is used on an external object. Overall, greatly
1951improves the ability to actually recompile the emitted ASL code when
1952objects a referenced across multiple ACPI tables. Reported by Michael
1953Tsirkin (mst@redhat.com).
1954
1955Tests/ASLTS: Updated functional control suite to execute with no errors.
1956David Box. Fixed several errors related to the testing of the interpreter
1957slack mode. Lv Zheng.
1958
1959iASL: Added support to detect names that are declared within a control
1960method, but are unused (these are temporary names that are only valid
1961during the time the method is executing). A remark is issued for these
1962cases. ACPICA BZ 1022.
1963
1964iASL: Added full support for the DBG2 table. Adds full disassembler,
1965table compiler, and template generator support for the DBG2 table (Debug
1966Port 2 table).
1967
1968iASL: Added full support for the PCCT table, update the table definition.
1969Updates the PCCT table definition in the actbl3.h header and adds table
1970compiler and template generator support.
1971
1972iASL: Added an option to emit only error messages (no warnings/remarks).
1973The -ve option will enable only error messages, warnings and remarks are
1974suppressed. This can simplify debugging when only the errors are
1975important, such as when an ACPI table is disassembled and there are many
1976warnings and remarks -- but only the actual errors are of real interest.
1977
1978Example ACPICA code (source/tools/examples): Updated the example code so
1979that it builds to an actual working program, not just example code. Added
1980ACPI tables and execution of an example control method in the DSDT. Added
1981makefile support for Unix generation.
1982
1983
1984----------------------------------------
198515 November 2013. Summary of changes for version 20131115:
1986
1987This release is available at https://acpica.org/downloads
1988
1989
19901) ACPICA kernel-resident subsystem:
1991
1992Resource Manager: Fixed loop termination for the "get AML length"
1993function. The loop previously had an error termination on a NULL resource
1994pointer, which can never happen since the loop simply increments a valid
1995resource pointer. This fix changes the loop to terminate with an error on
1996an invalid end-of-buffer condition. The problem can be seen as an
1997infinite loop by callers to AcpiSetCurrentResources with an invalid or
1998corrupted resource descriptor, or a resource descriptor that is missing
1999an END_TAG descriptor. Reported by Dan Carpenter
2000<dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
2001
2002Table unload and ACPICA termination: Delete all attached data objects
2003during namespace node deletion. This fix updates namespace node deletion
2004to delete the entire list of attached objects (attached via
2005AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
20061024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
2007
2008ACPICA termination: Added support to delete all objects attached to the
2009root namespace node. This fix deletes any and all objects that have been
2010attached to the root node via AcpiAttachData. Previously, none of these
2011objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
2012
2013Debug output: Do not emit the function nesting level for the in-kernel
2014build. The nesting level is really only useful during a single-thread
2015execution. Therefore, only enable this output for the AcpiExec utility.
2016Also, only emit the thread ID when executing under AcpiExec (Context
2017switches are still always detected and a message is emitted). ACPICA BZ
2018972.
2019
2020Example Code and Data Size: These are the sizes for the OS-independent
2021acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2022debug version of the code includes the debug output trace mechanism and
2023has a much larger code and data size.
2024
2025 Current Release:
2026 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
2027 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
2028 Previous Release:
2029 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
2030 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
2031
2032
20332) iASL Compiler/Disassembler and Tools:
2034
2035AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
2036correct portable POSIX header for terminal control functions.
2037
2038Disassembler: Fixed control method invocation issues related to the use
2039of the CondRefOf() operator. The problem is seen in the disassembly where
2040control method invocations may not be disassembled properly if the
2041control method name has been used previously as an argument to CondRefOf.
2042The solution is to not attempt to emit an external declaration for the
2043CondRefOf target (it is not necessary in the first place). This prevents
2044disassembler object type confusion. ACPICA BZ 988.
2045
2046Unix Makefiles: Added an option to disable compiler optimizations and the
2047_FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
2048with optimizations (reportedly, gcc 4.4 for example). This change adds a
2049command line option for make (NOOPT) that disables all compiler
2050optimizations and the _FORTIFY_SOURCE compiler flag. The default
2051optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
20521034. Lv Zheng, Bob Moore.
2053
2054Tests/ASLTS: Added options to specify individual test cases and modes.
2055This allows testers running aslts.sh to optionally specify individual
2056test modes and test cases. Also added an option to disable the forced
2057generation of the ACPICA tools from source if desired. Lv Zheng.
2058
2059----------------------------------------
206027 September 2013. Summary of changes for version 20130927:
2061
2062This release is available at https://acpica.org/downloads
2063
2064
20651) ACPICA kernel-resident subsystem:
2066
2067Fixed a problem with store operations to reference objects. This change
2068fixes a problem where a Store operation to an ArgX object that contained
2069a
2070reference to a field object did not complete the automatic dereference
2071and
2072then write to the actual field object. Instead, the object type of the
2073field object was inadvertently changed to match the type of the source
2074operand. The new behavior will actually write to the field object (buffer
2075field or field unit), thus matching the correct ACPI-defined behavior.
2076
2077Implemented support to allow the host to redefine individual OSL
2078prototypes. This change enables the host to redefine OSL prototypes found
2079in the acpiosxf.h file. This allows the host to implement OSL interfaces
2080with a macro or inlined function. Further, it allows the host to add any
2081additional required modifiers such as __iomem, __init, __exit, etc., as
2082necessary on a per-interface basis. Enables maximum flexibility for the
2083OSL interfaces. Lv Zheng.
2084
2085Hardcoded the access width for the FADT-defined reset register. The ACPI
2086specification requires the reset register width to be 8 bits. ACPICA now
2087hardcodes the width to 8 and ignores the FADT width value. This provides
2088compatibility with other ACPI implementations that have allowed BIOS code
2089with bad register width values to go unnoticed. Matthew Garett, Bob
2090Moore,
2091Lv Zheng.
2092
2093Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
2094used
2095in the OSL header (acpiosxf). The change modifies the position of this
2096macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
2097build issues if the OSL defines the implementation of the interface to be
2098an inline stub function. Lv Zheng.
2099
2100Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
2101initialization interfaces. This change adds a new macro for the main init
2102and terminate external interfaces in order to support hosts that require
2103additional or different processing for these functions. Changed from
2104ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
2105Zheng, Bob Moore.
2106
2107Cleaned up the memory allocation macros for configurability. In the
2108common
2109case, the ACPI_ALLOCATE and related macros now resolve directly to their
2110respective AcpiOs* OSL interfaces. Two options:
21111) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
2112default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
21132) For AcpiExec (and for debugging), the macros can optionally be
2114resolved
2115to the local ACPICA interfaces that track each allocation (local tracking
2116is used to immediately detect memory leaks).
2117Lv Zheng.
2118
2119Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
2120to predefine this macro to either TRUE or FALSE during the system build.
2121
2122Replaced __FUNCTION_ with __func__ in the gcc-specific header.
2123
2124Example Code and Data Size: These are the sizes for the OS-independent
2125acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2126debug version of the code includes the debug output trace mechanism and
2127has a much larger code and data size.
2128
2129 Current Release:
2130 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
2131 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
2132 Previous Release:
2133 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
2134 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2135
2136
21372) iASL Compiler/Disassembler and Tools:
2138
2139iASL: Implemented wildcard support for the -e option. This simplifies use
2140when there are many SSDTs that must be included to resolve external
2141method
2142declarations. ACPICA BZ 1041. Example:
2143 iasl -e ssdt*.dat -d dsdt.dat
2144
2145AcpiExec: Add history/line-editing for Unix/Linux systems. This change
2146adds a portable module that implements full history and limited line
2147editing for Unix and Linux systems. It does not use readline() due to
2148portability issues. Instead it uses the POSIX termio interface to put the
2149terminal in raw input mode so that the various special keys can be
2150trapped
2151(such as up/down-arrow for history support and left/right-arrow for line
2152editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
2153
2154AcpiXtract: Add support to handle (ignore) "empty" lines containing only
2155one or more spaces. This provides compatible with early or different
2156versions of the AcpiDump utility. ACPICA BZ 1044.
2157
2158AcpiDump: Do not ignore tables that contain only an ACPI table header.
2159Apparently, some BIOSs create SSDTs that contain an ACPI table header but
2160no other data. This change adds support to dump these tables. Any tables
2161shorter than the length of an ACPI table header remain in error (an error
2162message is emitted). Reported by Yi Li.
2163
2164Debugger: Echo actual command along with the "unknown command" message.
2165
2166----------------------------------------
216723 August 2013. Summary of changes for version 20130823:
2168
21691) ACPICA kernel-resident subsystem:
2170
2171Implemented support for host-installed System Control Interrupt (SCI)
2172handlers. Certain ACPI functionality requires the host to handle raw
2173SCIs. For example, the "SCI Doorbell" that is defined for memory power
2174state support requires the host device driver to handle SCIs to examine
2175if the doorbell has been activated. Multiple SCI handlers can be
2176installed to allow for future expansion. New external interfaces are
2177AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
2178details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
2179
2180Operation region support: Never locally free the handler "context"
2181pointer. This change removes some dangerous code that attempts to free
2182the handler context pointer in some (rare) circumstances. The owner of
2183the handler owns this pointer and the ACPICA code should never touch it.
2184Although not seen to be an issue in any kernel, it did show up as a
2185problem (fault) under AcpiExec. Also, set the internal storage field for
2186the context pointer to zero when the region is deactivated, simply for
2187sanity. David Box. ACPICA BZ 1039.
2188
2189AcpiRead: On error, do not modify the return value target location. If an
2190error happens in the middle of a split 32/32 64-bit I/O operation, do not
2191modify the target of the return value pointer. Makes the code consistent
2192with the rest of ACPICA. Bjorn Helgaas.
2193
2194Example Code and Data Size: These are the sizes for the OS-independent
2195acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2196debug version of the code includes the debug output trace mechanism and
2197has a much larger code and data size.
2198
2199 Current Release:
2200 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
2201 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2202 Previous Release:
2203 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
2204 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
2205
2206
22072) iASL Compiler/Disassembler and Tools:
2208
2209AcpiDump: Implemented several new features and fixed some problems:
22101) Added support to dump the RSDP, RSDT, and XSDT tables.
22112) Added support for multiple table instances (SSDT, UEFI).
22123) Added option to dump "customized" (overridden) tables (-c).
22134) Fixed a problem where some table filenames were improperly
2214constructed.
22155) Improved some error messages, removed some unnecessary messages.
2216
2217iASL: Implemented additional support for disassembly of ACPI tables that
2218contain invocations of external control methods. The -fe<file> option
2219allows the import of a file that specifies the external methods along
2220with the required number of arguments for each -- allowing for the
2221correct disassembly of the table. This is a workaround for a limitation
2222of AML code where the disassembler often cannot determine the number of
2223arguments required for an external control method and generates incorrect
2224ASL code. See the iASL reference for details. ACPICA BZ 1030.
2225
2226Debugger: Implemented a new command (paths) that displays the full
2227pathnames (namepaths) and object types of all objects in the namespace.
2228This is an alternative to the namespace command.
2229
2230Debugger: Implemented a new command (sci) that invokes the SCI dispatch
2231mechanism and any installed handlers.
2232
2233iASL: Fixed a possible segfault for "too many parent prefixes" condition.
2234This can occur if there are too many parent prefixes in a namepath (for
2235example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
2236
2237Application OSLs: Set the return value for the PCI read functions. These
2238functions simply return AE_OK, but should set the return value to zero
2239also. This change implements this. ACPICA BZ 1038.
2240
2241Debugger: Prevent possible command line buffer overflow. Increase the
2242size of a couple of the debugger line buffers, and ensure that overflow
2243cannot happen. ACPICA BZ 1037.
2244
2245iASL: Changed to abort immediately on serious errors during the parsing
2246phase. Due to the nature of ASL, there is no point in attempting to
2247compile these types of errors, and they typically end up causing a
2248cascade of hundreds of errors which obscure the original problem.
2249
2250----------------------------------------
225125 July 2013. Summary of changes for version 20130725:
2252
22531) ACPICA kernel-resident subsystem:
2254
2255Fixed a problem with the DerefOf operator where references to FieldUnits
2256and BufferFields incorrectly returned the parent object, not the actual
2257value of the object. After this change, a dereference of a FieldUnit
2258reference results in a read operation on the field to get the value, and
2259likewise, the appropriate BufferField value is extracted from the target
2260buffer.
2261
2262Fixed a problem where the _WAK method could cause a fault under these
2263circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
2264method returned no value. The problem is rarely seen because most kernels
2265run ACPICA in slack mode.
2266
2267For the DerefOf operator, a fatal error now results if an attempt is made
2268to dereference a reference (created by the Index operator) to a NULL
2269package element. Provides compatibility with other ACPI implementations,
2270and this behavior will be added to a future version of the ACPI
2271specification.
2272
2273The ACPI Power Management Timer (defined in the FADT) is now optional.
2274This provides compatibility with other ACPI implementations and will
2275appear in the next version of the ACPI specification. If there is no PM
2276Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
2277zero in the FADT indicates no PM timer.
2278
2279Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
2280allows the host to globally enable/disable all vendor strings, all
2281feature strings, or both. Intended to be primarily used for debugging
2282purposes only. Lv Zheng.
2283
2284Expose the collected _OSI data to the host via a global variable. This
2285data tracks the highest level vendor ID that has been invoked by the BIOS
2286so that the host (and potentially ACPICA itself) can change behaviors
2287based upon the age of the BIOS.
2288
2289Example Code and Data Size: These are the sizes for the OS-independent
2290acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2291debug version of the code includes the debug output trace mechanism and
2292has a much larger code and data size.
2293
2294 Current Release:
2295 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
2296 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2297 Previous Release:
2298 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
2299 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
2300
2301
23022) iASL Compiler/Disassembler and Tools:
2303
2304iASL: Created the following enhancements for the -so option (create
2305offset table):
23061)Add offsets for the last nameseg in each namepath for every supported
2307object type
23082)Add support for Processor, Device, Thermal Zone, and Scope objects
23093)Add the actual AML opcode for the parent object of every supported
2310object type
23114)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
2312
2313Disassembler: Emit all unresolved external symbols in a single block.
2314These are external references to control methods that could not be
2315resolved, and thus, the disassembler had to make a guess at the number of
2316arguments to parse.
2317
2318iASL: The argument to the -T option (create table template) is now
2319optional. If not specified, the default table is a DSDT, typically the
2320most common case.
2321
2322----------------------------------------
232326 June 2013. Summary of changes for version 20130626:
2324
23251) ACPICA kernel-resident subsystem:
2326
2327Fixed an issue with runtime repair of the _CST object. Null or invalid
2328elements were not always removed properly. Lv Zheng.
2329
2330Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
2331FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
2332the maximum number of GPEs is 1016. Use of multiple GPE block devices
2333makes the system-wide number of GPEs essentially unlimited.
2334
2335Example Code and Data Size: These are the sizes for the OS-independent
2336acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2337debug version of the code includes the debug output trace mechanism and
2338has a much larger code and data size.
2339
2340 Current Release:
2341 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
2342 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
2343 Previous Release:
2344 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
2345 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
2346
2347
23482) iASL Compiler/Disassembler and Tools:
2349
2350Portable AcpiDump: Implemented full support for the Linux and FreeBSD
2351hosts. Now supports Linux, FreeBSD, and Windows.
2352
2353Disassembler: Added some missing types for the HEST and EINJ tables: "Set
2354Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
2355
2356iASL/Preprocessor: Implemented full support for nested
2357#if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
2358
2359Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
2360max. The original purpose of this constraint was to limit the amount of
2361debug output. However, the string function in question (UtPrintString) is
2362now used for the disassembler also, where 256 bytes is insufficient.
2363Reported by RehabMan@GitHub.
2364
2365iASL/DataTables: Fixed some problems and issues with compilation of DMAR
2366tables. ACPICA BZ 999. Lv Zheng.
2367
2368iASL: Fixed a couple of error exit issues that could result in a "Could
2369not delete <file>" message during ASL compilation.
2370
2371AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
2372the actual signatures for these tables are "FACP" and "APIC",
2373respectively.
2374
2375AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
2376tables are allowed to have multiple instances.
2377
2378----------------------------------------
237917 May 2013. Summary of changes for version 20130517:
2380
23811) ACPICA kernel-resident subsystem:
2382
2383Fixed a regression introduced in version 20130328 for _INI methods. This
2384change fixes a problem introduced in 20130328 where _INI methods are no
2385longer executed properly because of a memory block that was not
2386initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
2387<tomasz.nowicki@linaro.org>.
2388
2389Fixed a possible problem with the new extended sleep registers in the
2390ACPI
23915.0 FADT. Do not use these registers (even if populated) unless the HW-
2392reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
23931020. Lv Zheng.
2394
2395Implemented return value repair code for _CST predefined objects: Sort
2396the
2397list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
2398
2399Implemented a debug-only option to disable loading of SSDTs from the
2400RSDT/XSDT during ACPICA initialization. This can be useful for debugging
2401ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
2402acglobal.h - ACPICA BZ 1005. Lv Zheng.
2403
2404Fixed some issues in the ACPICA initialization and termination code:
2405Tomasz Nowicki <tomasz.nowicki@linaro.org>
24061) Clear events initialized flag upon event component termination. ACPICA
2407BZ 1013.
24082) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
24093) Delete global lock pending lock during termination. ACPICA BZ 1012.
24104) Clear debug buffer global on termination to prevent possible multiple
2411delete. ACPICA BZ 1010.
2412
2413Standardized all switch() blocks across the entire source base. After
2414many
2415years, different formatting for switch() had crept in. This change makes
2416the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
2417
2418Split some files to enhance ACPICA modularity and configurability:
24191) Split buffer dump routines into utilities/utbuffer.c
24202) Split internal error message routines into utilities/uterror.c
24213) Split table print utilities into tables/tbprint.c
24224) Split iASL command-line option processing into asloptions.c
2423
2424Makefile enhancements:
24251) Support for all new files above.
24262) Abort make on errors from any subcomponent. Chao Guan.
24273) Add build support for Apple Mac OS X. Liang Qi.
2428
2429Example Code and Data Size: These are the sizes for the OS-independent
2430acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2431debug version of the code includes the debug output trace mechanism and
2432has a much larger code and data size.
2433
2434 Current Release:
2435 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
2436 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
2437 Previous Release:
2438 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
2439 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
2440
2441
24422) iASL Compiler/Disassembler and Tools:
2443
2444New utility: Implemented an easily portable version of the acpidump
2445utility to extract ACPI tables from the system (or a file) in an ASCII
2446hex
2447dump format. The top-level code implements the various command line
2448options, file I/O, and table dump routines. To port to a new host, only
2449three functions need to be implemented to get tables -- since this
2450functionality is OS-dependent. See the tools/acpidump/apmain.c module and
2451the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
24521) The Windows version obtains the ACPI tables from the Registry.
24532) The Linux version is under development.
24543) Other hosts - If an OS-dependent module is submitted, it will be
2455distributed with ACPICA.
2456
2457iASL: Fixed a regression for -D preprocessor option (define symbol). A
2458restructuring/change to the initialization sequence caused this option to
2459no longer work properly.
2460
2461iASL: Implemented a mechanism to disable specific warnings and remarks.
2462Adds a new command line option, "-vw <messageid> as well as "#pragma
2463disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
2464
2465iASL: Fix for too-strict package object validation. The package object
2466validation for return values from the predefined names is a bit too
2467strict, it does not allow names references within the package (which will
2468be resolved at runtime.) These types of references cannot be validated at
2469compile time. This change ignores named references within package objects
2470for names that return or define static packages.
2471
2472Debugger: Fixed the 80-character command line limitation for the History
2473command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
2474
2475iASL: Added control method and package support for the -so option
2476(generates AML offset table for BIOS support.)
2477
2478iASL: issue a remark if a non-serialized method creates named objects. If
2479a thread blocks within the method for any reason, and another thread
2480enters the method, the method will fail because an attempt will be made
2481to
2482create the same (named) object twice. In this case, issue a remark that
2483the method should be marked serialized. NOTE: may become a warning later.
2484ACPICA BZ 909.
2485
2486----------------------------------------
248718 April 2013. Summary of changes for version 20130418:
2488
24891) ACPICA kernel-resident subsystem:
2490
2491Fixed a possible buffer overrun during some rare but specific field unit
2492read operations. This overrun can only happen if the DSDT version is 1 --
2493meaning that all AML integers are 32 bits -- and the field length is
2494between 33 and 55 bits long. During the read, an internal buffer object
2495is
2496created for the field unit because the field is larger than an integer
2497(32
2498bits). However, in this case, the buffer will be incorrectly written
2499beyond the end because the buffer length is less than the internal
2500minimum
2501of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
2502long, but a full 8 bytes will be written.
2503
2504Updated the Embedded Controller "orphan" _REG method support. This refers
2505to _REG methods under the EC device that have no corresponding operation
2506region. This is allowed by the ACPI specification. This update removes a
2507dependency on the existence an ECDT table. It will execute an orphan _REG
2508method as long as the operation region handler for the EC is installed at
2509the EC device node and not the namespace root. Rui Zhang (original
2510update), Bob Moore (update/integrate).
2511
2512Implemented run-time argument typechecking for all predefined ACPI names
2513(_STA, _BIF, etc.) This change performs object typechecking on all
2514incoming arguments for all predefined names executed via
2515AcpiEvaluateObject. This ensures that ACPI-related device drivers are
2516passing correct object types as well as the correct number of arguments
2517(therefore identifying any issues immediately). Also, the ASL/namespace
2518definition of the predefined name is checked against the ACPI
2519specification for the proper argument count. Adds one new file,
2520nsarguments.c
2521
2522Changed an exception code for the ASL UnLoad() operator. Changed the
2523exception code for the case where the input DdbHandle is invalid, from
2524AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
2525
2526Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
2527global makefile. The use of this flag causes compiler errors on earlier
2528versions of GCC, so it has been removed for compatibility.
2529
2530Miscellaneous cleanup:
25311) Removed some unused/obsolete macros
25322) Fixed a possible memory leak in the _OSI support
25333) Removed an unused variable in the predefined name support
25344) Windows OSL: remove obsolete reference to a memory list field
2535
2536Example Code and Data Size: These are the sizes for the OS-independent
2537acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2538debug version of the code includes the debug output trace mechanism and
2539has a much larger code and data size.
2540
2541 Current Release:
2542 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
2543 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
2544 Previous Release:
2545 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
2546 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
2547
2548
25492) iASL Compiler/Disassembler and Tools:
2550
2551AcpiExec: Added installation of a handler for the SystemCMOS address
2552space. This prevents control method abort if a method accesses this
2553space.
2554
2555AcpiExec: Added support for multiple EC devices, and now install EC
2556operation region handler(s) at the actual EC device instead of the
2557namespace root. This reflects the typical behavior of host operating
2558systems.
2559
2560AcpiExec: Updated to ensure that all operation region handlers are
2561installed before the _REG methods are executed. This prevents a _REG
2562method from aborting if it accesses an address space has no handler.
2563AcpiExec installs a handler for every possible address space.
2564
2565Debugger: Enhanced the "handlers" command to display non-root handlers.
2566This change enhances the handlers command to display handlers associated
2567with individual devices throughout the namespace, in addition to the
2568currently supported display of handlers associated with the root
2569namespace
2570node.
2571
2572ASL Test Suite: Several test suite errors have been identified and
2573resolved, reducing the total error count during execution. Chao Guan.
2574
2575----------------------------------------
257628 March 2013. Summary of changes for version 20130328:
2577
25781) ACPICA kernel-resident subsystem:
2579
2580Fixed several possible race conditions with the internal object reference
2581counting mechanism. Some of the external ACPICA interfaces update object
2582reference counts without holding the interpreter or namespace lock. This
2583change adds a spinlock to protect reference count updates on the internal
2584ACPICA objects. Reported by and with assistance from Andriy Gapon
2585(avg@FreeBSD.org).
2586
2587FADT support: Removed an extraneous warning for very large GPE register
2588sets. This change removes a size mismatch warning if the legacy length
2589field for a GPE register set is larger than the 64-bit GAS structure can
2590accommodate. GPE register sets can be larger than the 255-bit width
2591limitation of the GAS structure. Linn Crosetto (linn@hp.com).
2592
2593_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
2594return from this interface. Handles a possible timeout case if
2595ACPI_WAIT_FOREVER is modified by the host to be a value less than
2596"forever". Jung-uk Kim.
2597
2598Predefined name support: Add allowed/required argument type information
2599to
2600the master predefined info table. This change adds the infrastructure to
2601enable typechecking on incoming arguments for all predefined
2602methods/objects. It does not actually contain the code that will fully
2603utilize this information, this is still under development. Also condenses
2604some duplicate code for the predefined names into a new module,
2605utilities/utpredef.c
2606
2607Example Code and Data Size: These are the sizes for the OS-independent
2608acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2609debug version of the code includes the debug output trace mechanism and
2610has a much larger code and data size.
2611
2612 Previous Release:
2613 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
2614 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
2615 Current Release:
2616 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
2617 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
2618
2619
26202) iASL Compiler/Disassembler and Tools:
2621
2622iASL: Implemented a new option to simplify the development of ACPI-
2623related
2624BIOS code. Adds support for a new "offset table" output file. The -so
2625option will create a C table containing the AML table offsets of various
2626named objects in the namespace so that BIOS code can modify them easily
2627at
2628boot time. This can simplify BIOS runtime code by eliminating expensive
2629searches for "magic values", enhancing boot times and adding greater
2630reliability. With assistance from Lee Hamel.
2631
2632iASL: Allow additional predefined names to return zero-length packages.
2633Now, all predefined names that are defined by the ACPI specification to
2634return a "variable-length package of packages" are allowed to return a
2635zero length top-level package. This allows the BIOS to tell the host that
2636the requested feature is not supported, and supports existing BIOS/ASL
2637code and practices.
2638
2639iASL: Changed the "result not used" warning to an error. This is the case
2640where an ASL operator is effectively a NOOP because the result of the
2641operation is not stored anywhere. For example:
2642 Add (4, Local0)
2643There is no target (missing 3rd argument), nor is the function return
2644value used. This is potentially a very serious problem -- since the code
2645was probably intended to do something, but for whatever reason, the value
2646was not stored. Therefore, this issue has been upgraded from a warning to
2647an error.
2648
2649AcpiHelp: Added allowable/required argument types to the predefined names
2650info display. This feature utilizes the recent update to the predefined
2651names table (above).
2652
2653----------------------------------------
265414 February 2013. Summary of changes for version 20130214:
2655
26561) ACPICA Kernel-resident Subsystem:
2657
2658Fixed a possible regression on some hosts: Reinstated the safe return
2659macros (return_ACPI_STATUS, etc.) that ensure that the argument is
2660evaluated only once. Although these macros are not needed for the ACPICA
2661code itself, they are often used by ACPI-related host device drivers
2662where
2663the safe feature may be necessary.
2664
2665Fixed several issues related to the ACPI 5.0 reduced hardware support
2666(SOC): Now ensure that if the platform declares itself as hardware-
2667reduced
2668via the FADT, the following functions become NOOPs (and always return
2669AE_OK) because ACPI is always enabled by definition on these machines:
2670 AcpiEnable
2671 AcpiDisable
2672 AcpiHwGetMode
2673 AcpiHwSetMode
2674
2675Dynamic Object Repair: Implemented additional runtime repairs for
2676predefined name return values. Both of these repairs can simplify code in
2677the related device drivers that invoke these methods:
26781) For the _STR and _MLS names, automatically repair/convert an ASCII
2679string to a Unicode buffer.
26802) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
2681a
2682lone end tag descriptor in the following cases: A Return(0) was executed,
2683a null buffer was returned, or no object at all was returned (non-slack
2684mode only). Adds a new file, nsconvert.c
2685ACPICA BZ 998. Bob Moore, Lv Zheng.
2686
2687Resource Manager: Added additional code to prevent possible infinite
2688loops
2689while traversing corrupted or ill-formed resource template buffers. Check
2690for zero-length resource descriptors in all code that loops through
2691resource templates (the length field is used to index through the
2692template). This change also hardens the external AcpiWalkResources and
2693AcpiWalkResourceBuffer interfaces.
2694
2695Local Cache Manager: Enhanced the main data structure to eliminate an
2696unnecessary mechanism to access the next object in the list. Actually
2697provides a small performance enhancement for hosts that use the local
2698ACPICA cache manager. Jung-uk Kim.
2699
2700Example Code and Data Size: These are the sizes for the OS-independent
2701acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2702debug version of the code includes the debug output trace mechanism and
2703has a much larger code and data size.
2704
2705 Previous Release:
2706 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
2707 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
2708 Current Release:
2709 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
2710 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
2711
2712
27132) iASL Compiler/Disassembler and Tools:
2714
2715iASL/Disassembler: Fixed several issues with the definition of the ACPI
27165.0 RASF table (RAS Feature Table). This change incorporates late changes
2717that were made to the ACPI 5.0 specification.
2718
2719iASL/Disassembler: Added full support for the following new ACPI tables:
2720 1) The MTMR table (MID Timer Table)
2721 2) The VRTC table (Virtual Real Time Clock Table).
2722Includes header file, disassembler, table compiler, and template support
2723for both tables.
2724
2725iASL: Implemented compile-time validation of package objects returned by
2726predefined names. This new feature validates static package objects
2727returned by the various predefined names defined to return packages. Both
2728object types and package lengths are validated, for both parent packages
2729and sub-packages, if any. The code is similar in structure and behavior
2730to
2731the runtime repair mechanism within the AML interpreter and uses the
2732existing predefined name information table. Adds a new file, aslprepkg.c.
2733ACPICA BZ 938.
2734
2735iASL: Implemented auto-detection of binary ACPI tables for disassembly.
2736This feature detects a binary file with a valid ACPI table header and
2737invokes the disassembler automatically. Eliminates the need to
2738specifically invoke the disassembler with the -d option. ACPICA BZ 862.
2739
2740iASL/Disassembler: Added several warnings for the case where there are
2741unresolved control methods during the disassembly. This can potentially
2742cause errors when the output file is compiled, because the disassembler
2743assumes zero method arguments in these cases (it cannot determine the
2744actual number of arguments without resolution/definition of the method).
2745
2746Debugger: Added support to display all resources with a single command.
2747Invocation of the resources command with no arguments will now display
2748all
2749resources within the current namespace.
2750
2751AcpiHelp: Added descriptive text for each ACPICA exception code displayed
2752via the -e option.
2753
2754----------------------------------------
275517 January 2013. Summary of changes for version 20130117:
2756
27571) ACPICA Kernel-resident Subsystem:
2758
2759Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
2760return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
2761objects to return a package containing one integer, most BIOS code
2762returns
2763two integers and the previous code reflects that. However, we also need
2764to
2765support BIOS code that actually implements to the ACPI spec, and this
2766change reflects this.
2767
2768Fixed two issues with the ACPI_DEBUG_PRINT macros:
27691) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
2770C compilers that require this support.
27712) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
2772ACPI_DEBUG is already used by many of the various hosts.
2773
2774Updated all ACPICA copyrights and signons to 2013. Added the 2013
2775copyright to all module headers and signons, including the standard Linux
2776header. This affects virtually every file in the ACPICA core subsystem,
2777iASL compiler, all ACPICA utilities, and the test suites.
2778
2779Example Code and Data Size: These are the sizes for the OS-independent
2780acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2781debug version of the code includes the debug output trace mechanism and
2782has a much larger code and data size.
2783
2784 Previous Release:
2785 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
2786 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
2787 Current Release:
2788 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
2789 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
2790
2791
27922) iASL Compiler/Disassembler and Tools:
2793
2794Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
2795prevent a possible fault on some hosts. Some C libraries modify the arg
2796pointer parameter to vfprintf making it difficult to call it twice in the
2797AcpiOsVprintf function. Use a local buffer to workaround this issue. This
2798does not affect the Windows OSL since the Win C library does not modify
2799the arg pointer. Chao Guan, Bob Moore.
2800
2801iASL: Fixed a possible infinite loop when the maximum error count is
2802reached. If an output file other than the .AML file is specified (such as
2803a listing file), and the maximum number of errors is reached, do not
2804attempt to flush data to the output file(s) as the compiler is aborting.
2805This can cause an infinite loop as the max error count code essentially
2806keeps calling itself.
2807
2808iASL/Disassembler: Added an option (-in) to ignore NOOP
2809opcodes/operators.
2810Implemented for both the compiler and the disassembler. Often, the NOOP
2811opcode is used as padding for packages that are changed dynamically by
2812the
2813BIOS. When disassembled and recompiled, these NOOPs will cause syntax
2814errors. This option causes the disassembler to ignore all NOOP opcodes
2815(0xA3), and it also causes the compiler to ignore all ASL source code
2816NOOP
2817statements as well.
2818
2819Debugger: Enhanced the Sleep command to execute all sleep states. This
2820change allows Sleep to be invoked with no arguments and causes the
2821debugger to execute all of the sleep states, 0-5, automatically.
2822
2823----------------------------------------
282420 December 2012. Summary of changes for version 20121220:
2825
28261) ACPICA Kernel-resident Subsystem:
2827
2828Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
2829alternate entry point for AcpiWalkResources and improves the usability of
2830the resource manager by accepting as input a buffer containing the output
2831of either a _CRS, _PRS, or _AEI method. The key functionality is that the
2832input buffer is not deleted by this interface so that it can be used by
2833the host later. See the ACPICA reference for details.
2834
2835Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
2836(DSDT version < 2). The constant will be truncated and this warning
2837reflects that behavior.
2838
2839Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
2840ExtendedInterrupt, and GpioInt descriptors. This change adds support to
2841both get and set the new wake bit in these descriptors, separately from
2842the existing share bit. Reported by Aaron Lu.
2843
2844Interpreter: Fix Store() when an implicit conversion is not possible. For
2845example, in the cases such as a store of a string to an existing package
2846object, implement the store as a CopyObject(). This is a small departure
2847from the ACPI specification which states that the control method should
2848be
2849aborted in this case. However, the ASLTS suite depends on this behavior.
2850
2851Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
2852macros: check if debug output is currently enabled as soon as possible to
2853minimize performance impact if debug is in fact not enabled.
2854
2855Source code restructuring: Cleanup to improve modularity. The following
2856new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
2857psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
2858Associated makefiles and project files have been updated.
2859
2860Changed an exception code for LoadTable operator. For the case where one
2861of the input strings is too long, change the returned exception code from
2862AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
2863
2864Fixed a possible memory leak in dispatcher error path. On error, delete
2865the mutex object created during method mutex creation. Reported by
2866tim.gardner@canonical.com.
2867
2868Example Code and Data Size: These are the sizes for the OS-independent
2869acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2870debug version of the code includes the debug output trace mechanism and
2871has a much larger code and data size.
2872
2873 Previous Release:
2874 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
2875 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2876 Current Release:
2877 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
2878 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
2879
2880
28812) iASL Compiler/Disassembler and Tools:
2882
2883iASL: Disallow a method call as argument to the ObjectType ASL operator.
2884This change tracks an errata to the ACPI 5.0 document. The AML grammar
2885will not allow the interpreter to differentiate between a method and a
2886method invocation when these are used as an argument to the ObjectType
2887operator. The ACPI specification change is to disallow a method
2888invocation
2889(UserTerm) for the ObjectType operator.
2890
2891Finish support for the TPM2 and CSRT tables in the headers, table
2892compiler, and disassembler.
2893
2894Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
2895always expires immediately if the semaphore is not available. The
2896original
2897code was using a relative-time timeout, but sem_timedwait requires the
2898use
2899of an absolute time.
2900
2901iASL: Added a remark if the Timer() operator is used within a 32-bit
2902table. This operator returns a 64-bit time value that will be truncated
2903within a 32-bit table.
2904
2905iASL Source code restructuring: Cleanup to improve modularity. The
2906following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
2907aslmethod.c, and aslfileio.c. Associated makefiles and project files have
2908been updated.
2909
2910
2911----------------------------------------
291214 November 2012. Summary of changes for version 20121114:
2913
29141) ACPICA Kernel-resident Subsystem:
2915
2916Implemented a performance enhancement for ACPI/AML Package objects. This
2917change greatly increases the performance of Package objects within the
2918interpreter. It changes the processing of reference counts for packages
2919by
2920optimizing for the most common case where the package sub-objects are
2921either Integers, Strings, or Buffers. Increases the overall performance
2922of
2923the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
29242X.)
2925Chao Guan. ACPICA BZ 943.
2926
2927Implemented and deployed common macros to extract flag bits from resource
2928descriptors. Improves readability and maintainability of the code. Fixes
2929a
2930problem with the UART serial bus descriptor for the number of data bits
2931flags (was incorrectly 2 bits, should be 3).
2932
2933Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
2934of the macros and changed the SETx macros to the style of (destination,
2935source). Also added ACPI_CASTx companion macros. Lv Zheng.
2936
2937Example Code and Data Size: These are the sizes for the OS-independent
2938acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2939debug version of the code includes the debug output trace mechanism and
2940has a much larger code and data size.
2941
2942 Previous Release:
2943 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
2944 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2945 Current Release:
2946 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
2947 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2948
2949
29502) iASL Compiler/Disassembler and Tools:
2951
2952Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
2953adds the ShareAndWake and ExclusiveAndWake flags which were added to the
2954Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
2955
2956Disassembler: Fixed a problem with external declaration generation. Fixes
2957a problem where an incorrect pathname could be generated for an external
2958declaration if the original reference to the object includes leading
2959carats (^). ACPICA BZ 984.
2960
2961Debugger: Completed a major update for the Disassemble<method> command.
2962This command was out-of-date and did not properly disassemble control
2963methods that had any reasonable complexity. This fix brings the command
2964up
2965to the same level as the rest of the disassembler. Adds one new file,
2966dmdeferred.c, which is existing code that is now common with the main
2967disassembler and the debugger disassemble command. ACPICA MZ 978.
2968
2969iASL: Moved the parser entry prototype to avoid a duplicate declaration.
2970Newer versions of Bison emit this prototype, so moved the prototype out
2971of
2972the iASL header to where it is actually used in order to avoid a
2973duplicate
2974declaration.
2975
2976iASL/Tools: Standardized use of the stream I/O functions:
2977 1) Ensure check for I/O error after every fopen/fread/fwrite
2978 2) Ensure proper order of size/count arguments for fread/fwrite
2979 3) Use test of (Actual != Requested) after all fwrite, and most fread
2980 4) Standardize I/O error messages
2981Improves reliability and maintainability of the code. Bob Moore, Lv
2982Zheng.
2983ACPICA BZ 981.
2984
2985Disassembler: Prevent duplicate External() statements. During generation
2986of external statements, detect similar pathnames that are actually
2987duplicates such as these:
2988 External (\ABCD)
2989 External (ABCD)
2990Remove all leading '\' characters from pathnames during the external
2991statement generation so that duplicates will be detected and tossed.
2992ACPICA BZ 985.
2993
2994Tools: Replace low-level I/O with stream I/O functions. Replace
2995open/read/write/close with the stream I/O equivalents
2996fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
2997Moore.
2998
2999AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
3000name header so that AcpiXtract recognizes the output file/table.
3001
3002iASL: Remove obsolete -2 option flag. Originally intended to force the
3003compiler/disassembler into an ACPI 2.0 mode, this was never implemented
3004and the entire concept is now obsolete.
3005
3006----------------------------------------
300718 October 2012. Summary of changes for version 20121018:
3008
3009
30101) ACPICA Kernel-resident Subsystem:
3011
3012Updated support for the ACPI 5.0 MPST table. Fixes some problems
3013introduced by late changes to the table as it was added to the ACPI 5.0
3014specification. Includes header, disassembler, and data table compiler
3015support as well as a new version of the MPST template.
3016
3017AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
30185.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
3019methods: _HID, _CID, and _UID.
3020
3021Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
3022ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
3023name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
3024names for their various drivers. Affects the AcpiGetObjectInfo external
3025interface, and other internal interfaces as well.
3026
3027Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
3028This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
3029on machines that support non-aligned transfers. Optimizes for this case
3030rather than using a strncpy. With assistance from Zheng Lv.
3031
3032Resource Manager: Small fix for buffer size calculation. Fixed a one byte
3033error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
3034
3035Added a new debug print message for AML mutex objects that are force-
3036released. At control method termination, any currently acquired mutex
3037objects are force-released. Adds a new debug-only message for each one
3038that is released.
3039
3040Audited/updated all ACPICA return macros and the function debug depth
3041counter: 1) Ensure that all functions that use the various TRACE macros
3042also use the appropriate ACPICA return macros. 2) Ensure that all normal
3043return statements surround the return expression (value) with parens to
3044ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
3045Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
3046
3047Global source code changes/maintenance: All extra lines at the start and
3048end of each source file have been removed for consistency. Also, within
3049comments, all new sentences start with a single space instead of a double
3050space, again for consistency across the code base.
3051
3052Example Code and Data Size: These are the sizes for the OS-independent
3053acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3054debug version of the code includes the debug output trace mechanism and
3055has a much larger code and data size.
3056
3057 Previous Release:
3058 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
3059 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
3060 Current Release:
3061 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
3062 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3063
3064
30652) iASL Compiler/Disassembler and Tools:
3066
3067AcpiExec: Improved the algorithm used for memory leak/corruption
3068detection. Added some intelligence to the code that maintains the global
3069list of allocated memory. The list is now ordered by allocated memory
3070address, significantly improving performance. When running AcpiExec on
3071the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
3072on the platform and/or the environment. Note, this performance
3073enhancement affects the AcpiExec utility only, not the kernel-resident
3074ACPICA code.
3075
3076Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
3077the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
3078incorrect table offset reported for invalid opcodes. Report the original
307932-bit value for bad ACPI_NAMEs (as well as the repaired name.)
3080
3081Disassembler: Enhanced the -vt option to emit the binary table data in
3082hex format to assist with debugging.
3083
3084Fixed a potential filename buffer overflow in osunixdir.c. Increased the
3085size of file structure. Colin Ian King.
3086
3087----------------------------------------
308813 September 2012. Summary of changes for version 20120913:
3089
3090
30911) ACPICA Kernel-resident Subsystem:
3092
3093ACPI 5.0: Added two new notify types for the Hardware Error Notification
3094Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
3095and
3096MCE(6).
3097
3098Table Manager: Merged/removed duplicate code in the root table resize
3099functions. One function is external, the other is internal. Lv Zheng,
3100ACPICA
3101BZ 846.
3102
3103Makefiles: Completely removed the obsolete "Linux" makefiles under
3104acpica/generate/linux. These makefiles are obsolete and have been
3105replaced
3106by
3107the generic unix makefiles under acpica/generate/unix.
3108
3109Makefiles: Ensure that binary files always copied properly. Minor rule
3110change
3111to ensure that the final binary output files are always copied up to the
3112appropriate binary directory (bin32 or bin64.)
3113
3114Example Code and Data Size: These are the sizes for the OS-independent
3115acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3116debug
3117version of the code includes the debug output trace mechanism and has a
3118much
3119larger code and data size.
3120
3121 Previous Release:
3122 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
3123 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
3124 Current Release:
3125 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
3126 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
3127
3128
31292) iASL Compiler/Disassembler and Tools:
3130
3131Disassembler: Fixed a possible fault during the disassembly of resource
3132descriptors when a second parse is required because of the invocation of
3133external control methods within the table. With assistance from
3134adq@lidskialf.net. ACPICA BZ 976.
3135
3136iASL: Fixed a namepath optimization problem. An error can occur if the
3137parse
3138node that contains the namepath to be optimized does not have a parent
3139node
3140that is a named object. This change fixes the problem.
3141
3142iASL: Fixed a regression where the AML file is not deleted on errors. The
3143AML
3144output file should be deleted if there are any errors during the
3145compiler.
3146The
3147only exception is if the -f (force output) option is used. ACPICA BZ 974.
3148
3149iASL: Added a feature to automatically increase internal line buffer
3150sizes.
3151Via realloc(), automatically increase the internal line buffer sizes as
3152necessary to support very long source code lines. The current version of
3153the
3154preprocessor requires a buffer long enough to contain full source code
3155lines.
3156This change increases the line buffer(s) if the input lines go beyond the
3157current buffer size. This eliminates errors that occurred when a source
3158code
3159line was longer than the buffer.
3160
3161iASL: Fixed a problem with constant folding in method declarations. The
3162SyncLevel term is a ByteConstExpr, and incorrect code would be generated
3163if a
3164Type3 opcode was used.
3165
3166Debugger: Improved command help support. For incorrect argument count,
3167display
3168full help for the command. For help command itself, allow an argument to
3169specify a command.
3170
3171Test Suites: Several bug fixes for the ASLTS suite reduces the number of
3172errors during execution of the suite. Guan Chao.
3173
3174----------------------------------------
317516 August 2012. Summary of changes for version 20120816:
3176
3177
31781) ACPICA Kernel-resident Subsystem:
3179
3180Removed all use of the deprecated _GTS and _BFS predefined methods. The
3181_GTS
3182(Going To Sleep) and _BFS (Back From Sleep) methods are essentially
3183deprecated and will probably be removed from the ACPI specification.
3184Windows
3185does not invoke them, and reportedly never will. The final nail in the
3186coffin
3187is that the ACPI specification states that these methods must be run with
3188interrupts off, which is not going to happen in a kernel interpreter.
3189Note:
3190Linux has removed all use of the methods also. It was discovered that
3191invoking these functions caused failures on some machines, probably
3192because
3193they were never tested since Windows does not call them. Affects two
3194external
3195interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
3196ACPICA BZ 969.
3197
3198Implemented support for complex bit-packed buffers returned from the _PLD
3199(Physical Location of Device) predefined method. Adds a new external
3200interface, AcpiDecodePldBuffer that parses the buffer into a more usable
3201C
3202structure. Note: C Bitfields cannot be used for this type of predefined
3203structure since the memory layout of individual bitfields is not defined
3204by
3205the C language. In addition, there are endian concerns where a compiler
3206will
3207change the bitfield ordering based on the machine type. The new ACPICA
3208interface eliminates these issues, and should be called after _PLD is
3209executed. ACPICA BZ 954.
3210
3211Implemented a change to allow a scope change to root (via "Scope (\)")
3212during
3213execution of module-level ASL code (code that is executed at table load
3214time.) Lin Ming.
3215
3216Added the Windows8/Server2012 string for the _OSI method. This change
3217adds
3218a
3219new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
32202012.
3221
3222Added header support for the new ACPI tables DBG2 (Debug Port Table Type
32232)
3224and CSRT (Core System Resource Table).
3225
3226Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
3227names. This simplifies access to the buffers returned by these predefined
3228names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
3229
3230GPE support: Removed an extraneous parameter from the various low-level
3231internal GPE functions. Tang Feng.
3232
3233Removed the linux makefiles from the unix packages. The generate/linux
3234makefiles are obsolete and have been removed from the unix tarball
3235release
3236packages. The replacement makefiles are under generate/unix, and there is
3237a
3238top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
3239
3240Updates for Unix makefiles:
32411) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
32422) Update linker flags (move to end of command line) for AcpiExec
3243utility.
3244Guan Chao.
3245
3246Split ACPICA initialization functions to new file, utxfinit.c. Split from
3247utxface.c to improve modularity and reduce file size.
3248
3249Example Code and Data Size: These are the sizes for the OS-independent
3250acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3251debug version of the code includes the debug output trace mechanism and
3252has a
3253much larger code and data size.
3254
3255 Previous Release:
3256 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
3257 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
3258 Current Release:
3259 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
3260 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
3261
3262
32632) iASL Compiler/Disassembler and Tools:
3264
3265iASL: Fixed a problem with constant folding for fixed-length constant
3266expressions. The constant-folding code was not being invoked for constant
3267expressions that allow the use of type 3/4/5 opcodes to generate
3268constants
3269for expressions such as ByteConstExpr, WordConstExpr, etc. This could
3270result
3271in the generation of invalid AML bytecode. ACPICA BZ 970.
3272
3273iASL: Fixed a generation issue on newer versions of Bison. Newer versions
3274apparently automatically emit some of the necessary externals. This
3275change
3276handles these versions in order to eliminate generation warnings.
3277
3278Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
3279
3280Disassembler: Add support to decode _PLD buffers. The decoded buffer
3281appears
3282within comments in the output file.
3283
3284Debugger: Fixed a regression with the "Threads" command where
3285AE_BAD_PARAMETER was always returned.
3286
3287----------------------------------------
328811 July 2012. Summary of changes for version 20120711:
3289
32901) ACPICA Kernel-resident Subsystem:
3291
3292Fixed a possible fault in the return package object repair code. Fixes a
3293problem that can occur when a lone package object is wrapped with an
3294outer
3295package object in order to force conformance to the ACPI specification.
3296Can
3297affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
3298_DLM,
3299_CSD, _PSD, _TSD.
3300
3301Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
3302PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
3303ARB_DIS bit must be implemented in the host-dependent C3 processor power
3304state
3305support. Note, ARB_DIS is obsolete and only applies to older chipsets,
3306both
3307Intel and other vendors. (for Intel: ICH4-M and earlier)
3308
3309This change removes the code to disable/enable bus master arbitration
3310during
3311suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
3312causes
3313resume problems on some machines. The change has been in use for over
3314seven
3315years within Linux.
3316
3317Implemented two new external interfaces to support host-directed dynamic
3318ACPI
3319table load and unload. They are intended to simplify the host
3320implementation
3321of hot-plug support:
3322 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
3323 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
3324table.
3325See the ACPICA reference for additional details. Adds one new file,
3326components/tables/tbxfload.c
3327
3328Implemented and deployed two new interfaces for errors and warnings that
3329are
3330known to be caused by BIOS/firmware issues:
3331 AcpiBiosError: Prints "ACPI Firmware Error" message.
3332 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
3333Deployed these new interfaces in the ACPICA Table Manager code for ACPI
3334table
3335and FADT errors. Additional deployment to be completed as appropriate in
3336the
3337future. The associated conditional macros are ACPI_BIOS_ERROR and
3338ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
3339ACPICA
3340BZ
3341843.
3342
3343Implicit notify support: ensure that no memory allocation occurs within a
3344critical region. This fix moves a memory allocation outside of the time
3345that a
3346spinlock is held. Fixes issues on systems that do not allow this
3347behavior.
3348Jung-uk Kim.
3349
3350Split exception code utilities and tables into a new file,
3351utilities/utexcep.c
3352
3353Example Code and Data Size: These are the sizes for the OS-independent
3354acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3355debug
3356version of the code includes the debug output trace mechanism and has a
3357much
3358larger code and data size.
3359
3360 Previous Release:
3361 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
3362 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
3363 Current Release:
3364 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
3365 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
3366
3367
33682) iASL Compiler/Disassembler and Tools:
3369
3370iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
3371of
33720. Jung-uk Kim.
3373
3374Debugger: Enhanced the "tables" command to emit additional information
3375about
3376the current set of ACPI tables, including the owner ID and flags decode.
3377
3378Debugger: Reimplemented the "unload" command to use the new
3379AcpiUnloadParentTable external interface. This command was disable
3380previously
3381due to need for an unload interface.
3382
3383AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
3384option
3385will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
3386
3387----------------------------------------
338820 June 2012. Summary of changes for version 20120620:
3389
3390
33911) ACPICA Kernel-resident Subsystem:
3392
3393Implemented support to expand the "implicit notify" feature to allow
3394multiple
3395devices to be notified by a single GPE. This feature automatically
3396generates a
3397runtime device notification in the absence of a BIOS-provided GPE control
3398method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
3399notify is
3400provided by ACPICA for Windows compatibility, and is a workaround for
3401BIOS
3402AML
3403code errors. See the description of the AcpiSetupGpeForWake interface in
3404the
3405APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
3406
3407Changed some comments and internal function names to simplify and ensure
3408correctness of the Linux code translation. No functional changes.
3409
3410Example Code and Data Size: These are the sizes for the OS-independent
3411acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3412debug
3413version of the code includes the debug output trace mechanism and has a
3414much
3415larger code and data size.
3416
3417 Previous Release:
3418 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
3419 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
3420 Current Release:
3421 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
3422 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
3423
3424
34252) iASL Compiler/Disassembler and Tools:
3426
3427Disassembler: Added support to emit short, commented descriptions for the
3428ACPI
3429predefined names in order to improve the readability of the disassembled
3430output. ACPICA BZ 959. Changes include:
3431 1) Emit descriptions for all standard predefined names (_INI, _STA,
3432_PRW,
3433etc.)
3434 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
3435 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
3436etc.)
3437
3438AcpiSrc: Fixed several long-standing Linux code translation issues.
3439Argument
3440descriptions in function headers are now translated properly to lower
3441case
3442and
3443underscores. ACPICA BZ 961. Also fixes translation problems such as
3444these:
3445(old -> new)
3446 i_aSL -> iASL
3447 00-7_f -> 00-7F
3448 16_k -> 16K
3449 local_fADT -> local_FADT
3450 execute_oSI -> execute_OSI
3451
3452iASL: Fixed a problem where null bytes were inadvertently emitted into
3453some
3454listing files.
3455
3456iASL: Added the existing debug options to the standard help screen. There
3457are
3458no longer two different help screens. ACPICA BZ 957.
3459
3460AcpiHelp: Fixed some typos in the various predefined name descriptions.
3461Also
3462expand some of the descriptions where appropriate.
3463
3464iASL: Fixed the -ot option (display compile times/statistics). Was not
3465working
3466properly for standard output; only worked for the debug file case.
3467
3468----------------------------------------
346918 May 2012. Summary of changes for version 20120518:
3470
3471
34721) ACPICA Core Subsystem:
3473
3474Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
3475defined
3476to block until asynchronous events such as notifies and GPEs have
3477completed.
3478Within ACPICA, it is only called before a notify or GPE handler is
3479removed/uninstalled. It also may be useful for the host OS within related
3480drivers such as the Embedded Controller driver. See the ACPICA reference
3481for
3482additional information. ACPICA BZ 868.
3483
3484ACPI Tables: Added a new error message for a possible overflow failure
3485during
3486the conversion of FADT 32-bit legacy register addresses to internal
3487common
348864-
3489bit GAS structure representation. The GAS has a one-byte "bit length"
3490field,
3491thus limiting the register length to 255 bits. ACPICA BZ 953.
3492
3493Example Code and Data Size: These are the sizes for the OS-independent
3494acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3495debug
3496version of the code includes the debug output trace mechanism and has a
3497much
3498larger code and data size.
3499
3500 Previous Release:
3501 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3502 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
3503 Current Release:
3504 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
3505 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
3506
3507
35082) iASL Compiler/Disassembler and Tools:
3509
3510iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
3511macro.
3512This keyword was added late in the ACPI 5.0 release cycle and was not
3513implemented until now.
3514
3515Disassembler: Added support for Operation Region externals. Adds missing
3516support for operation regions that are defined in another table, and
3517referenced locally via a Field or BankField ASL operator. Now generates
3518the
3519correct External statement.
3520
3521Disassembler: Several additional fixes for the External() statement
3522generation
3523related to some ASL operators. Also, order the External() statements
3524alphabetically in the disassembler output. Fixes the External()
3525generation
3526for
3527the Create* field, Alias, and Scope operators:
3528 1) Create* buffer field operators - fix type mismatch warning on
3529disassembly
3530 2) Alias - implement missing External support
3531 3) Scope - fix to make sure all necessary externals are emitted.
3532
3533iASL: Improved pathname support. For include files, merge the prefix
3534pathname
3535with the file pathname and eliminate unnecessary components. Convert
3536backslashes in all pathnames to forward slashes, for readability. Include
3537file
3538pathname changes affect both #include and Include() type operators.
3539
3540iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
3541end
3542of a valid line by inserting a newline and then returning the EOF during
3543the
3544next call to GetNextLine. Prevents the line from being ignored due to EOF
3545condition.
3546
3547iASL: Implemented some changes to enhance the IDE support (-vi option.)
3548Error
3549and Warning messages are now correctly recognized for both the source
3550code
3551browser and the global error and warning counts.
3552
3553----------------------------------------
355420 April 2012. Summary of changes for version 20120420:
3555
3556
35571) ACPICA Core Subsystem:
3558
3559Implemented support for multiple notify handlers. This change adds
3560support
3561to
3562allow multiple system and device notify handlers on Device, Thermal Zone,
3563and
3564Processor objects. This can simplify the host OS notification
3565implementation.
3566Also re-worked and restructured the entire notify support code to
3567simplify
3568handler installation, handler removal, notify event queuing, and notify
3569dispatch to handler(s). Note: there can still only be two global notify
3570handlers - one for system notifies and one for device notifies. There are
3571no
3572changes to the existing handler install/remove interfaces. Lin Ming, Bob
3573Moore, Rafael Wysocki.
3574
3575Fixed a regression in the package repair code where the object reference
3576count was calculated incorrectly. Regression was introduced in the commit
3577"Support to add Package wrappers".
3578
3579Fixed a couple possible memory leaks in the AML parser, in the error
3580recovery
3581path. Jesper Juhl, Lin Ming.
3582
3583Example Code and Data Size: These are the sizes for the OS-independent
3584acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3585debug version of the code includes the debug output trace mechanism and
3586has a
3587much larger code and data size.
3588
3589 Previous Release:
3590 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3591 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3592 Current Release:
3593 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3594 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
3595
3596
35972) iASL Compiler/Disassembler and Tools:
3598
3599iASL: Fixed a problem with the resource descriptor support where the
3600length
3601of the StartDependentFn and StartDependentFnNoPrio descriptors were not
3602included in cumulative descriptor offset, resulting in incorrect values
3603for
3604resource tags within resource descriptors appearing after a
3605StartDependent*
3606descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
3607
3608iASL and Preprocessor: Implemented full support for the #line directive
3609to
3610correctly track original source file line numbers through the .i
3611preprocessor
3612output file - for error and warning messages.
3613
3614iASL: Expand the allowable byte constants for address space IDs.
3615Previously,
3616the allowable range was 0x80-0xFF (user-defined spaces), now the range is
36170x0A-0xFF to allow for custom and new IDs without changing the compiler.
3618
3619iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
3620
3621iASL: Add option to completely disable the preprocessor (-Pn).
3622
3623iASL: Now emit all error/warning messages to standard error (stderr) by
3624default (instead of the previous stdout).
3625
3626ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
3627Update
3628for resource descriptor offset fix above. Update/cleanup error output
3629routines. Enable and send iASL errors/warnings to an error logfile
3630(error.txt). Send all other iASL output to a logfile (compiler.txt).
3631Fixed
3632several extraneous "unrecognized operator" messages.
3633
3634----------------------------------------
363520 March 2012. Summary of changes for version 20120320:
3636
3637
36381) ACPICA Core Subsystem:
3639
3640Enhanced the sleep/wake interfaces to optionally execute the _GTS method
3641(Going To Sleep) and the _BFS method (Back From Sleep). Windows
3642apparently
3643does not execute these methods, and therefore these methods are often
3644untested. It has been seen on some systems where the execution of these
3645methods causes errors and also prevents the machine from entering S5. It
3646is
3647therefore suggested that host operating systems do not execute these
3648methods
3649by default. In the future, perhaps these methods can be optionally
3650executed
3651based on the age of the system and/or what is the newest version of
3652Windows
3653that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
3654and
3655AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
3656Ming.
3657
3658Fixed a problem where the length of the local/common FADT was set too
3659early.
3660The local FADT table length cannot be set to the common length until the
3661original length has been examined. There is code that checks the table
3662length
3663and sets various fields appropriately. This can affect older machines
3664with
3665early FADT versions. For example, this can cause inadvertent writes to
3666the
3667CST_CNT register. Julian Anastasov.
3668
3669Fixed a mapping issue related to a physical table override. Use the
3670deferred
3671mapping mechanism for tables loaded via the physical override OSL
3672interface.
3673This allows for early mapping before the virtual memory manager is
3674available.
3675Thomas Renninger, Bob Moore.
3676
3677Enhanced the automatic return-object repair code: Repair a common problem
3678with
3679predefined methods that are defined to return a variable-length Package
3680of
3681sub-objects. If there is only one sub-object, some BIOS ASL code
3682mistakenly
3683simply returns the single object instead of a Package with one sub-
3684object.
3685This new support will repair this error by wrapping a Package object
3686around
3687the original object, creating the correct and expected Package with one
3688sub-
3689object. Names that can be repaired in this manner include: _ALR, _CSD,
3690_HPX,
3691_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
3692939.
3693
3694Changed the exception code returned for invalid ACPI paths passed as
3695parameters to external interfaces such as AcpiEvaluateObject. Was
3696AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
3697
3698Example Code and Data Size: These are the sizes for the OS-independent
3699acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3700debug
3701version of the code includes the debug output trace mechanism and has a
3702much
3703larger code and data size.
3704
3705 Previous Release:
3706 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
3707 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3708 Current Release:
3709 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3710 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3711
3712
37132) iASL Compiler/Disassembler and Tools:
3714
3715iASL: Added the infrastructure and initial implementation of a integrated
3716C-
3717like preprocessor. This will simplify BIOS development process by
3718eliminating
3719the need for a separate preprocessing step during builds. On Windows, it
3720also
3721eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
3722features including full #define() macro support are still under
3723development.
3724These preprocessor directives are supported:
3725 #define
3726 #elif
3727 #else
3728 #endif
3729 #error
3730 #if
3731 #ifdef
3732 #ifndef
3733 #include
3734 #pragma message
3735 #undef
3736 #warning
3737In addition, these new command line options are supported:
3738 -D <symbol> Define symbol for preprocessor use
3739 -li Create preprocessed output file (*.i)
3740 -P Preprocess only and create preprocessor output file (*.i)
3741
3742Table Compiler: Fixed a problem where the equals operator within an
3743expression
3744did not work properly.
3745
3746Updated iASL to use the current versions of Bison/Flex. Updated the
3747Windows
3748project file to invoke these tools from the standard location. ACPICA BZ
3749904.
3750Versions supported:
3751 Flex for Windows: V2.5.4
3752 Bison for Windows: V2.4.1
3753
3754----------------------------------------
375515 February 2012. Summary of changes for version 20120215:
3756
3757
37581) ACPICA Core Subsystem:
3759
3760There have been some major changes to the sleep/wake support code, as
3761described below (a - e).
3762
3763a) The AcpiLeaveSleepState has been split into two interfaces, similar to
3764AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
3765AcpiLeaveSleepStatePrep. This allows the host to perform actions between
3766the
3767time the _BFS method is called and the _WAK method is called. NOTE: all
3768hosts
3769must update their wake/resume code or else sleep/wake will not work
3770properly.
3771Rafael Wysocki.
3772
3773b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
3774_WAK
3775method. Some machines require that the GPEs are enabled before the _WAK
3776method
3777is executed. Thomas Renninger.
3778
3779c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
3780bit.
3781Some BIOS code assumes that WAK_STS will be cleared on resume and use it
3782to
3783determine whether the system is rebooting or resuming. Matthew Garrett.
3784
3785d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
3786Sleep) to
3787match the ACPI specification requirement. Rafael Wysocki.
3788
3789e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
3790registers within the V5 FADT. This support adds two new files:
3791hardware/hwesleep.c implements the support for the new registers. Moved
3792all
3793sleep/wake external interfaces to hardware/hwxfsleep.c.
3794
3795
3796Added a new OSL interface for ACPI table overrides,
3797AcpiOsPhysicalTableOverride. This interface allows the host to override a
3798table via a physical address, instead of the logical address required by
3799AcpiOsTableOverride. This simplifies the host implementation. Initial
3800implementation by Thomas Renninger. The ACPICA implementation creates a
3801single
3802shared function for table overrides that attempts both a logical and a
3803physical override.
3804
3805Expanded the OSL memory read/write interfaces to 64-bit data
3806(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
3807transfer support for GAS register structures passed to AcpiRead and
3808AcpiWrite.
3809
3810Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
3811custom
3812build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
3813model.
3814See the ACPICA reference for details. ACPICA BZ 942. This option removes
3815about
381610% of the code and 5% of the static data, and the following hardware
3817ACPI
3818features become unavailable:
3819 PM Event and Control registers
3820 SCI interrupt (and handler)
3821 Fixed Events
3822 General Purpose Events (GPEs)
3823 Global Lock
3824 ACPI PM timer
3825 FACS table (Waking vectors and Global Lock)
3826
3827Updated the unix tarball directory structure to match the ACPICA git
3828source
3829tree. This ensures that the generic unix makefiles work properly (in
3830generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
3831867.
3832
3833Updated the return value of the _REV predefined method to integer value 5
3834to
3835reflect ACPI 5.0 support.
3836
3837Moved the external ACPI PM timer interface prototypes to the public
3838acpixf.h
3839file where they belong.
3840
3841Example Code and Data Size: These are the sizes for the OS-independent
3842acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3843debug
3844version of the code includes the debug output trace mechanism and has a
3845much
3846larger code and data size.
3847
3848 Previous Release:
3849 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
3850 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
3851 Current Release:
3852 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
3853 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3854
3855
38562) iASL Compiler/Disassembler and Tools:
3857
3858Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
3859descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
3860incorrectly displayed.
3861
3862AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
3863specification.
3864
3865----------------------------------------
386611 January 2012. Summary of changes for version 20120111:
3867
3868
38691) ACPICA Core Subsystem:
3870
3871Implemented a new mechanism to allow host device drivers to check for
3872address
3873range conflicts with ACPI Operation Regions. Both SystemMemory and
3874SystemIO
3875address spaces are supported. A new external interface,
3876AcpiCheckAddressRange,
3877allows drivers to check an address range against the ACPI namespace. See
3878the
3879ACPICA reference for additional details. Adds one new file,
3880utilities/utaddress.c. Lin Ming, Bob Moore.
3881
3882Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
3883Control
3884and
3885Status registers, update the ACPI 5.0 flags, and update internal data
3886structures to handle an FADT larger than 256 bytes. The size of the ACPI
38875.0
3888FADT is 268 bytes.
3889
3890Updated all ACPICA copyrights and signons to 2012. Added the 2012
3891copyright to
3892all module headers and signons, including the standard Linux header. This
3893affects virtually every file in the ACPICA core subsystem, iASL compiler,
3894and
3895all ACPICA utilities.
3896
3897Example Code and Data Size: These are the sizes for the OS-independent
3898acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3899debug
3900version of the code includes the debug output trace mechanism and has a
3901much
3902larger code and data size.
3903
3904 Previous Release:
3905 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
3906 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
3907 Current Release:
3908 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
3909 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
3910
3911
39122) iASL Compiler/Disassembler and Tools:
3913
3914Disassembler: fixed a problem with the automatic resource tag generation
3915support. Fixes a problem where the resource tags are inadvertently not
3916constructed if the table being disassembled contains external references
3917to
3918control methods. Moved the actual construction of the tags to after the
3919final
3920namespace is constructed (after 2nd parse is invoked due to external
3921control
3922method references.) ACPICA BZ 941.
3923
3924Table Compiler: Make all "generic" operators caseless. These are the
3925operators
3926like UINT8, String, etc. Making these caseless improves ease-of-use.
3927ACPICA BZ
3928934.
3929
3930----------------------------------------
393123 November 2011. Summary of changes for version 20111123:
3932
39330) ACPI 5.0 Support:
3934
3935This release contains full support for the ACPI 5.0 specification, as
3936summarized below.
3937
3938Reduced Hardware Support:
3939-------------------------
3940
3941This support allows for ACPI systems without the usual ACPI hardware.
3942This
3943support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
3944will
3945not attempt to initialize or use any of the usual ACPI hardware. Note,
3946when
3947this flag is set, all of the following ACPI hardware is assumed to be not
3948present and is not initialized or accessed:
3949
3950 General Purpose Events (GPEs)
3951 Fixed Events (PM1a/PM1b and PM Control)
3952 Power Management Timer and Console Buttons (power/sleep)
3953 Real-time Clock Alarm
3954 Global Lock
3955 System Control Interrupt (SCI)
3956 The FACS is assumed to be non-existent
3957
3958ACPI Tables:
3959------------
3960
3961All new tables and updates to existing tables are fully supported in the
3962ACPICA headers (for use by device drivers), the disassembler, and the
3963iASL
3964Data Table Compiler. ACPI 5.0 defines these new tables:
3965
3966 BGRT /* Boot Graphics Resource Table */
3967 DRTM /* Dynamic Root of Trust for Measurement table */
3968 FPDT /* Firmware Performance Data Table */
3969 GTDT /* Generic Timer Description Table */
3970 MPST /* Memory Power State Table */
3971 PCCT /* Platform Communications Channel Table */
3972 PMTT /* Platform Memory Topology Table */
3973 RASF /* RAS Feature table */
3974
3975Operation Regions/SpaceIDs:
3976---------------------------
3977
3978All new operation regions are fully supported by the iASL compiler, the
3979disassembler, and the ACPICA runtime code (for dispatch to region
3980handlers.)
3981The new operation region Space IDs are:
3982
3983 GeneralPurposeIo
3984 GenericSerialBus
3985
3986Resource Descriptors:
3987---------------------
3988
3989All new ASL resource descriptors are fully supported by the iASL
3990compiler,
3991the
3992ASL/AML disassembler, and the ACPICA runtime Resource Manager code
3993(including
3994all new predefined resource tags). New descriptors are:
3995
3996 FixedDma
3997 GpioIo
3998 GpioInt
3999 I2cSerialBus
4000 SpiSerialBus
4001 UartSerialBus
4002
4003ASL/AML Operators, New and Modified:
4004------------------------------------
4005
4006One new operator is added, the Connection operator, which is used to
4007associate
4008a GeneralPurposeIo or GenericSerialBus resource descriptor with
4009individual
4010field objects within an operation region. Several new protocols are
4011associated
4012with the AccessAs operator. All are fully supported by the iASL compiler,
4013disassembler, and runtime ACPICA AML interpreter:
4014
4015 Connection // Declare Field Connection
4016attributes
4017 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
4018 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
4019Protocol
4020 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
4021 RawDataBuffer // Data type for Vendor Data
4022fields
4023
4024Predefined ASL/AML Objects:
4025---------------------------
4026
4027All new predefined objects/control-methods are supported by the iASL
4028compiler
4029and the ACPICA runtime validation/repair (arguments and return values.)
4030New
4031predefined names include the following:
4032
4033Standard Predefined Names (Objects or Control Methods):
4034 _AEI, _CLS, _CPC, _CWS, _DEP,
4035 _DLM, _EVT, _GCP, _CRT, _GWS,
4036 _HRV, _PRE, _PSE, _SRT, _SUB.
4037
4038Resource Tags (Names used to access individual fields within resource
4039descriptors):
4040 _DBT, _DPL, _DRS, _END, _FLC,
4041 _IOR, _LIN, _MOD, _PAR, _PHA,
4042 _PIN, _PPI, _POL, _RXL, _SLV,
4043 _SPE, _STB, _TXL, _VEN.
4044
4045ACPICA External Interfaces:
4046---------------------------
4047
4048Several new interfaces have been defined for use by ACPI-related device
4049drivers and other host OS services:
4050
4051AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
4052to
4053acquire and release AML mutexes that are defined in the DSDT/SSDT tables
4054provided by the BIOS. They are intended to be used in conjunction with
4055the
4056ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
4057mutual exclusion with the AML code/interpreter.
4058
4059AcpiGetEventResources: Returns the (formatted) resource descriptors as
4060defined
4061by the ACPI 5.0 _AEI object (ACPI Event Information). This object
4062provides
4063resource descriptors associated with hardware-reduced platform events,
4064similar
4065to the AcpiGetCurrentResources interface.
4066
4067Operation Region Handlers: For General Purpose IO and Generic Serial Bus
4068operation regions, information about the Connection() object and any
4069optional
4070length information is passed to the region handler within the Context
4071parameter.
4072
4073AcpiBufferToResource: This interface converts a raw AML buffer containing
4074a
4075resource template or resource descriptor to the ACPI_RESOURCE internal
4076format
4077suitable for use by device drivers. Can be used by an operation region
4078handler
4079to convert the Connection() buffer object into a ACPI_RESOURCE.
4080
4081Miscellaneous/Tools/TestSuites:
4082-------------------------------
4083
4084Support for extended _HID names (Four alpha characters instead of three).
4085Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
4086Support for ACPI 5.0 features in the ASLTS test suite.
4087Fully updated documentation (ACPICA and iASL reference documents.)
4088
4089ACPI Table Definition Language:
4090-------------------------------
4091
4092Support for this language was implemented and released as a subsystem of
4093the
4094iASL compiler in 2010. (See the iASL compiler User Guide.)
4095
4096
4097Non-ACPI 5.0 changes for this release:
4098--------------------------------------
4099
41001) ACPICA Core Subsystem:
4101
4102Fix a problem with operation region declarations where a failure can
4103occur
4104if
4105the region name and an argument that evaluates to an object (such as the
4106region address) are in different namespace scopes. Lin Ming, ACPICA BZ
4107937.
4108
4109Do not abort an ACPI table load if an invalid space ID is found within.
4110This
4111will be caught later if the offending method is executed. ACPICA BZ 925.
4112
4113Fixed an issue with the FFixedHW space ID where the ID was not always
4114recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
4115
4116Fixed a problem with the 32-bit generation of the unix-specific OSL
4117(osunixxf.c). Lin Ming, ACPICA BZ 936.
4118
4119Several changes made to enable generation with the GCC 4.6 compiler.
4120ACPICA BZ
4121935.
4122
4123New error messages: Unsupported I/O requests (not 8/16/32 bit), and
4124Index/Bank
4125field registers out-of-range.
4126
41272) iASL Compiler/Disassembler and Tools:
4128
4129iASL: Implemented the __PATH__ operator, which returns the full pathname
4130of
4131the current source file.
4132
4133AcpiHelp: Automatically display expanded keyword information for all ASL
4134operators.
4135
4136Debugger: Add "Template" command to disassemble/dump resource template
4137buffers.
4138
4139Added a new master script to generate and execute the ASLTS test suite.
4140Automatically handles 32- and 64-bit generation. See tests/aslts.sh
4141
4142iASL: Fix problem with listing generation during processing of the
4143Switch()
4144operator where AML listing was disabled until the entire Switch block was
4145completed.
4146
4147iASL: Improve support for semicolon statement terminators. Fix "invalid
4148character" message for some cases when the semicolon is used. Semicolons
4149are
4150now allowed after every <Term> grammar element. ACPICA BZ 927.
4151
4152iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
4153923.
4154
4155Disassembler: Fix problem with disassembly of the DataTableRegion
4156operator
4157where an inadvertent "Unhandled deferred opcode" message could be
4158generated.
4159
41603) Example Code and Data Size
4161
4162These are the sizes for the OS-independent acpica.lib produced by the
4163Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
4164includes the debug output trace mechanism and has a much larger code and
4165data
4166size.
4167
4168 Previous Release:
4169 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4170 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4171 Current Release:
4172 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
4173 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
4174
4175----------------------------------------
417622 September 2011. Summary of changes for version 20110922:
4177
41780) ACPI 5.0 News:
4179
4180Support for ACPI 5.0 in ACPICA has been underway for several months and
4181will
4182be released at the same time that ACPI 5.0 is officially released.
4183
4184The ACPI 5.0 specification is on track for release in the next few
4185months.
4186
41871) ACPICA Core Subsystem:
4188
4189Fixed a problem where the maximum sleep time for the Sleep() operator was
4190intended to be limited to two seconds, but was inadvertently limited to
419120
4192seconds instead.
4193
4194Linux and Unix makefiles: Added header file dependencies to ensure
4195correct
4196generation of ACPICA core code and utilities. Also simplified the
4197makefiles
4198considerably through the use of the vpath variable to specify search
4199paths.
4200ACPICA BZ 924.
4201
42022) iASL Compiler/Disassembler and Tools:
4203
4204iASL: Implemented support to check the access length for all fields
4205created to
4206access named Resource Descriptor fields. For example, if a resource field
4207is
4208defined to be two bits, a warning is issued if a CreateXxxxField() is
4209used
4210with an incorrect bit length. This is implemented for all current
4211resource
4212descriptor names. ACPICA BZ 930.
4213
4214Disassembler: Fixed a byte ordering problem with the output of 24-bit and
421556-
4216bit integers.
4217
4218iASL: Fixed a couple of issues associated with variable-length package
4219objects. 1) properly handle constants like One, Ones, Zero -- do not make
4220a
4221VAR_PACKAGE when these are used as a package length. 2) Allow the
4222VAR_PACKAGE
4223opcode (in addition to PACKAGE) when validating object types for
4224predefined
4225names.
4226
4227iASL: Emit statistics for all output files (instead of just the ASL input
4228and
4229AML output). Includes listings, hex files, etc.
4230
4231iASL: Added -G option to the table compiler to allow the compilation of
4232custom
4233ACPI tables. The only part of a table that is required is the standard
423436-
4235byte
4236ACPI header.
4237
4238AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
4239headers),
4240which also adds correct 64-bit support. Also, now all output filenames
4241are
4242completely lower case.
4243
4244AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
4245loading table files. A warning is issued for any such tables. The only
4246exception is an FADT. This also fixes a possible fault when attempting to
4247load
4248non-AML tables. ACPICA BZ 932.
4249
4250AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
4251a
4252missing table terminator could cause a fault when using the -p option.
4253
4254AcpiSrc: Fixed a possible divide-by-zero fault when generating file
4255statistics.
4256
42573) Example Code and Data Size
4258
4259These are the sizes for the OS-independent acpica.lib produced by the
4260Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
4261includes the debug output trace mechanism and has a much larger code and
4262data
4263size.
4264
4265 Previous Release (VC 9.0):
4266 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4267 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4268 Current Release (VC 9.0):
4269 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4270 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4271
4272
4273----------------------------------------
427423 June 2011. Summary of changes for version 20110623:
4275
42761) ACPI CA Core Subsystem:
4277
4278Updated the predefined name repair mechanism to not attempt repair of a
4279_TSS
4280return object if a _PSS object is present. We can only sort the _TSS
4281return
4282package if there is no _PSS within the same scope. This is because if
4283_PSS
4284is
4285present, the ACPI specification dictates that the _TSS Power Dissipation
4286field
4287is to be ignored, and therefore some BIOSs leave garbage values in the
4288_TSS
4289Power field(s). In this case, it is best to just return the _TSS package
4290as-
4291is. Reported by, and fixed with assistance from Fenghua Yu.
4292
4293Added an option to globally disable the control method return value
4294validation
4295and repair. This runtime option can be used to disable return value
4296repair
4297if
4298this is causing a problem on a particular machine. Also added an option
4299to
4300AcpiExec (-dr) to set this disable flag.
4301
4302All makefiles and project files: Major changes to improve generation of
4303ACPICA
4304tools. ACPICA BZ 912:
4305 Reduce default optimization levels to improve compatibility
4306 For Linux, add strict-aliasing=0 for gcc 4
4307 Cleanup and simplify use of command line defines
4308 Cleanup multithread library support
4309 Improve usage messages
4310
4311Linux-specific header: update handling of THREAD_ID and pthread. For the
431232-
4313bit case, improve casting to eliminate possible warnings, especially with
4314the
4315acpica tools.
4316
4317Example Code and Data Size: These are the sizes for the OS-independent
4318acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4319debug
4320version of the code includes the debug output trace mechanism and has a
4321much
4322larger code and data size.
4323
4324 Previous Release (VC 9.0):
4325 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
4326 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4327 Current Release (VC 9.0):
4328 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4329 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4330
43312) iASL Compiler/Disassembler and Tools:
4332
4333With this release, a new utility named "acpihelp" has been added to the
4334ACPICA
4335package. This utility summarizes the ACPI specification chapters for the
4336ASL
4337and AML languages. It generates under Linux/Unix as well as Windows, and
4338provides the following functionality:
4339 Find/display ASL operator(s) -- with description and syntax.
4340 Find/display ASL keyword(s) -- with exact spelling and descriptions.
4341 Find/display ACPI predefined name(s) -- with description, number
4342 of arguments, and the return value data type.
4343 Find/display AML opcode name(s) -- with opcode, arguments, and
4344grammar.
4345 Decode/display AML opcode -- with opcode name, arguments, and
4346grammar.
4347
4348Service Layers: Make multi-thread support configurable. Conditionally
4349compile
4350the multi-thread support so that threading libraries will not be linked
4351if
4352not
4353necessary. The only tool that requires multi-thread support is AcpiExec.
4354
4355iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
4356of
4357Bison appear to want the interface to yyerror to be a const char * (or at
4358least this is a problem when generating iASL on some systems.) ACPICA BZ
4359923
4360Pierre Lejeune.
4361
4362Tools: Fix for systems where O_BINARY is not defined. Only used for
4363Windows
4364versions of the tools.
4365
4366----------------------------------------
436727 May 2011. Summary of changes for version 20110527:
4368
43691) ACPI CA Core Subsystem:
4370
4371ASL Load() operator: Reinstate most restrictions on the incoming ACPI
4372table
4373signature. Now, only allow SSDT, OEMx, and a null signature. History:
4374 1) Originally, we checked the table signature for "SSDT" or "PSDT".
4375 (PSDT is now obsolete.)
4376 2) We added support for OEMx tables, signature "OEM" plus a fourth
4377 "don't care" character.
4378 3) Valid tables were encountered with a null signature, so we just
4379 gave up on validating the signature, (05/2008).
4380 4) We encountered non-AML tables such as the MADT, which caused
4381 interpreter errors and kernel faults. So now, we once again allow
4382 only SSDT, OEMx, and now, also a null signature. (05/2011).
4383
4384Added the missing _TDL predefined name to the global name list in order
4385to
4386enable validation. Affects both the core ACPICA code and the iASL
4387compiler.
4388
4389Example Code and Data Size: These are the sizes for the OS-independent
4390acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4391debug
4392version of the code includes the debug output trace mechanism and has a
4393much
4394larger code and data size.
4395
4396 Previous Release (VC 9.0):
4397 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
4398 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
4399 Current Release (VC 9.0):
4400 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
4401 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4402
44032) iASL Compiler/Disassembler and Tools:
4404
4405Debugger/AcpiExec: Implemented support for "complex" method arguments on
4406the
4407debugger command line. This adds support beyond simple integers --
4408including
4409Strings, Buffers, and Packages. Includes support for nested packages.
4410Increased the default command line buffer size to accommodate these
4411arguments.
4412See the ACPICA reference for details and syntax. ACPICA BZ 917.
4413
4414Debugger/AcpiExec: Implemented support for "default" method arguments for
4415the
4416Execute/Debug command. Now, the debugger will always invoke a control
4417method
4418with the required number of arguments -- even if the command line
4419specifies
4420none or insufficient arguments. It uses default integer values for any
4421missing
4422arguments. Also fixes a bug where only six method arguments maximum were
4423supported instead of the required seven.
4424
4425Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
4426and
4427also return status in order to prevent buffer overruns. See the ACPICA
4428reference for details and syntax. ACPICA BZ 921
4429
4430iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
4431makefiles to simplify support for the two different but similar parser
4432generators, bison and yacc.
4433
4434Updated the generic unix makefile for gcc 4. The default gcc version is
4435now
4436expected to be 4 or greater, since options specific to gcc 4 are used.
4437
4438----------------------------------------
443913 April 2011. Summary of changes for version 20110413:
4440
44411) ACPI CA Core Subsystem:
4442
4443Implemented support to execute a so-called "orphan" _REG method under the
4444EC
4445device. This change will force the execution of a _REG method underneath
4446the
4447EC
4448device even if there is no corresponding operation region of type
4449EmbeddedControl. Fixes a problem seen on some machines and apparently is
4450compatible with Windows behavior. ACPICA BZ 875.
4451
4452Added more predefined methods that are eligible for automatic NULL
4453package
4454element removal. This change adds another group of predefined names to
4455the
4456list
4457of names that can be repaired by having NULL package elements dynamically
4458removed. This group are those methods that return a single variable-
4459length
4460package containing simple data types such as integers, buffers, strings.
4461This
4462includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
4463_PSL,
4464_Sx,
4465and _TZD. ACPICA BZ 914.
4466
4467Split and segregated all internal global lock functions to a new file,
4468evglock.c.
4469
4470Updated internal address SpaceID for DataTable regions. Moved this
4471internal
4472space
4473id in preparation for ACPI 5.0 changes that will include some new space
4474IDs.
4475This
4476change should not affect user/host code.
4477
4478Example Code and Data Size: These are the sizes for the OS-independent
4479acpica.lib
4480produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
4481version of
4482the code includes the debug output trace mechanism and has a much larger
4483code
4484and
4485data size.
4486
4487 Previous Release (VC 9.0):
4488 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
4489 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
4490 Current Release (VC 9.0):
4491 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
4492 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
4493
44942) iASL Compiler/Disassembler and Tools:
4495
4496iASL/DTC: Major update for new grammar features. Allow generic data types
4497in
4498custom ACPI tables. Field names are now optional. Any line can be split
4499to
4500multiple lines using the continuation char (\). Large buffers now use
4501line-
4502continuation character(s) and no colon on the continuation lines. See the
4503grammar
4504update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
4505Moore.
4506
4507iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
4508statements.
4509Since the parser stuffs a "zero" as the return value for these statements
4510(due
4511to
4512the underlying AML grammar), they were seen as "return with value" by the
4513iASL
4514semantic checking. They are now seen correctly as "null" return
4515statements.
4516
4517iASL: Check if a_REG declaration has a corresponding Operation Region.
4518Adds a
4519check for each _REG to ensure that there is in fact a corresponding
4520operation
4521region declaration in the same scope. If not, the _REG method is not very
4522useful
4523since it probably won't be executed. ACPICA BZ 915.
4524
4525iASL/DTC: Finish support for expression evaluation. Added a new
4526expression
4527parser
4528that implements c-style operator precedence and parenthesization. ACPICA
4529bugzilla
4530908.
4531
4532Disassembler/DTC: Remove support for () and <> style comments in data
4533tables.
4534Now
4535that DTC has full expression support, we don't want to have comment
4536strings
4537that
4538start with a parentheses or a less-than symbol. Now, only the standard /*
4539and
4540//
4541comments are supported, as well as the bracket [] comments.
4542
4543AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
4544"unusual"
4545headers in the acpidump file. Update the header validation to support
4546these
4547tables. Problem introduced in previous AcpiXtract version in the change
4548to
4549support "wrong checksum" error messages emitted by acpidump utility.
4550
4551iASL: Add a * option to generate all template files (as a synonym for
4552ALL)
4553as
4554in
4555"iasl -T *" or "iasl -T ALL".
4556
4557iASL/DTC: Do not abort compiler on fatal errors. We do not want to
4558completely
4559abort the compiler on "fatal" errors, simply should abort the current
4560compile.
4561This allows multiple compiles with a single (possibly wildcard) compiler
4562invocation.
4563
4564----------------------------------------
456516 March 2011. Summary of changes for version 20110316:
4566
45671) ACPI CA Core Subsystem:
4568
4569Fixed a problem caused by a _PRW method appearing at the namespace root
4570scope
4571during the setup of wake GPEs. A fault could occur if a _PRW directly
4572under
4573the
4574root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
4575
4576Implemented support for "spurious" Global Lock interrupts. On some
4577systems, a
4578global lock interrupt can occur without the pending flag being set. Upon
4579a
4580GL
4581interrupt, we now ensure that a thread is actually waiting for the lock
4582before
4583signaling GL availability. Rafael Wysocki, Bob Moore.
4584
4585Example Code and Data Size: These are the sizes for the OS-independent
4586acpica.lib
4587produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
4588version of
4589the code includes the debug output trace mechanism and has a much larger
4590code
4591and
4592data size.
4593
4594 Previous Release (VC 9.0):
4595 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4596 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4597 Current Release (VC 9.0):
4598 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
4599 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
4600
46012) iASL Compiler/Disassembler and Tools:
4602
4603Implemented full support for the "SLIC" ACPI table. Includes support in
4604the
4605header files, disassembler, table compiler, and template generator. Bob
4606Moore,
4607Lin Ming.
4608
4609AcpiXtract: Correctly handle embedded comments and messages from
4610AcpiDump.
4611Apparently some or all versions of acpidump will occasionally emit a
4612comment
4613like
4614"Wrong checksum", etc., into the dump file. This was causing problems for
4615AcpiXtract. ACPICA BZ 905.
4616
4617iASL: Fix the Linux makefile by removing an inadvertent double file
4618inclusion.
4619ACPICA BZ 913.
4620
4621AcpiExec: Update installation of operation region handlers. Install one
4622handler
4623for a user-defined address space. This is used by the ASL test suite
4624(ASLTS).
4625
4626----------------------------------------
462711 February 2011. Summary of changes for version 20110211:
4628
46291) ACPI CA Core Subsystem:
4630
4631Added a mechanism to defer _REG methods for some early-installed
4632handlers.
4633Most user handlers should be installed before call to
4634AcpiEnableSubsystem.
4635However, Event handlers and region handlers should be installed after
4636AcpiInitializeObjects. Override handlers for the "default" regions should
4637be
4638installed early, however. This change executes all _REG methods for the
4639default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
4640chicken/egg issues between them. ACPICA BZ 848.
4641
4642Implemented an optimization for GPE detection. This optimization will
4643simply
4644ignore GPE registers that contain no enabled GPEs -- there is no need to
4645read the register since this information is available internally. This
4646becomes more important on machines with a large GPE space. ACPICA
4647bugzilla
4648884. Lin Ming. Suggestion from Joe Liu.
4649
4650Removed all use of the highly unreliable FADT revision field. The
4651revision
4652number in the FADT has been found to be completely unreliable and cannot
4653be
4654trusted. Only the actual table length can be used to infer the version.
4655This
4656change updates the ACPICA core and the disassembler so that both no
4657longer
4658even look at the FADT version and instead depend solely upon the FADT
4659length.
4660
4661Fix an unresolved name issue for the no-debug and no-error-message source
4662generation cases. The _AcpiModuleName was left undefined in these cases,
4663but
4664it is actually needed as a parameter to some interfaces. Define
4665_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
4666
4667Split several large files (makefiles and project files updated)
4668 utglobal.c -> utdecode.c
4669 dbcomds.c -> dbmethod.c dbnames.c
4670 dsopcode.c -> dsargs.c dscontrol.c
4671 dsload.c -> dsload2.c
4672 aslanalyze.c -> aslbtypes.c aslwalks.c
4673
4674Example Code and Data Size: These are the sizes for the OS-independent
4675acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4676debug version of the code includes the debug output trace mechanism and
4677has
4678a much larger code and data size.
4679
4680 Previous Release (VC 9.0):
4681 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4682 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4683 Current Release (VC 9.0):
4684 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4685 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4686
46872) iASL Compiler/Disassembler and Tools:
4688
4689iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
4690These are useful C-style macros with the standard definitions. ACPICA
4691bugzilla 898.
4692
4693iASL/DTC: Added support for integer expressions and labels. Support for
4694full
4695expressions for all integer fields in all ACPI tables. Support for labels
4696in
4697"generic" portions of tables such as UEFI. See the iASL reference manual.
4698
4699Debugger: Added a command to display the status of global handlers. The
4700"handlers" command will display op region, fixed event, and miscellaneous
4701global handlers. installation status -- and for op regions, whether
4702default
4703or user-installed handler will be used.
4704
4705iASL: Warn if reserved method incorrectly returns a value. Many
4706predefined
4707names are defined such that they do not return a value. If implemented as
4708a
4709method, issue a warning if such a name explicitly returns a value. ACPICA
4710Bugzilla 855.
4711
4712iASL: Added detection of GPE method name conflicts. Detects a conflict
4713where
4714there are two GPE methods of the form _Lxy and _Exy in the same scope.
4715(For
4716example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
4717
4718iASL/DTC: Fixed a couple input scanner issues with comments and line
4719numbers. Comment remover could get confused and miss a comment ending.
4720Fixed
4721a problem with line counter maintenance.
4722
4723iASL/DTC: Reduced the severity of some errors from fatal to error. There
4724is
4725no need to abort on simple errors within a field definition.
4726
4727Debugger: Simplified the output of the help command. All help output now
4728in
4729a single screen, instead of help subcommands. ACPICA Bugzilla 897.
4730
4731----------------------------------------
473212 January 2011. Summary of changes for version 20110112:
4733
47341) ACPI CA Core Subsystem:
4735
4736Fixed a race condition between method execution and namespace walks that
4737can
4738possibly cause a fault. The problem was apparently introduced in version
473920100528 as a result of a performance optimization that reduces the
4740number
4741of
4742namespace walks upon method exit by using the delete_namespace_subtree
4743function instead of the delete_namespace_by_owner function used
4744previously.
4745Bug is a missing namespace lock in the delete_namespace_subtree function.
4746dana.myers@oracle.com
4747
4748Fixed several issues and a possible fault with the automatic "serialized"
4749method support. History: This support changes a method to "serialized" on
4750the
4751fly if the method generates an AE_ALREADY_EXISTS error, indicating the
4752possibility that it cannot handle reentrancy. This fix repairs a couple
4753of
4754issues seen in the field, especially on machines with many cores:
4755
4756 1) Delete method children only upon the exit of the last thread,
4757 so as to not delete objects out from under other running threads
4758 (and possibly causing a fault.)
4759 2) Set the "serialized" bit for the method only upon the exit of the
4760 Last thread, so as to not cause deadlock when running threads
4761 attempt to exit.
4762 3) Cleanup the use of the AML "MethodFlags" and internal method flags
4763 so that there is no longer any confusion between the two.
4764
4765 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
4766
4767Debugger: Now lock the namespace for duration of a namespace dump.
4768Prevents
4769issues if the namespace is changing dynamically underneath the debugger.
4770Especially affects temporary namespace nodes, since the debugger displays
4771these also.
4772
4773Updated the ordering of include files. The ACPICA headers should appear
4774before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
4775set
4776any necessary compiler-specific defines, etc. Affects the ACPI-related
4777tools
4778and utilities.
4779
4780Updated all ACPICA copyrights and signons to 2011. Added the 2011
4781copyright
4782to all module headers and signons, including the Linux header. This
4783affects
4784virtually every file in the ACPICA core subsystem, iASL compiler, and all
4785utilities.
4786
4787Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
4788project files for VC++ 6.0 are now obsolete. New project files can be
4789found
4790under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
4791details.
4792
4793Example Code and Data Size: These are the sizes for the OS-independent
4794acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4795debug version of the code includes the debug output trace mechanism and
4796has a
4797much larger code and data size.
4798
4799 Previous Release (VC 6.0):
4800 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
4801 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
4802 Current Release (VC 9.0):
4803 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4804 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4805
48062) iASL Compiler/Disassembler and Tools:
4807
4808iASL: Added generic data types to the Data Table compiler. Add "generic"
4809data
4810types such as UINT32, String, Unicode, etc., to simplify the generation
4811of
4812platform-defined tables such as UEFI. Lin Ming.
4813
4814iASL: Added listing support for the Data Table Compiler. Adds listing
4815support
4816(-l) to display actual binary output for each line of input code.
4817
4818----------------------------------------
481909 December 2010. Summary of changes for version 20101209:
4820
48211) ACPI CA Core Subsystem:
4822
4823Completed the major overhaul of the GPE support code that was begun in
4824July
48252010. Major features include: removal of _PRW execution in ACPICA (host
4826executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
4827changes to existing interfaces, simplification of GPE handler operation,
4828and
4829a handful of new interfaces:
4830
4831 AcpiUpdateAllGpes
4832 AcpiFinishGpe
4833 AcpiSetupGpeForWake
4834 AcpiSetGpeWakeMask
4835 One new file, evxfgpe.c to consolidate all external GPE interfaces.
4836
4837See the ACPICA Programmer Reference for full details and programming
4838information. See the new section 4.4 "General Purpose Event (GPE)
4839Support"
4840for a full overview, and section 8.7 "ACPI General Purpose Event
4841Management"
4842for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
4843Ming,
4844Bob Moore, Rafael Wysocki.
4845
4846Implemented a new GPE feature for Windows compatibility, the "Implicit
4847Wake
4848GPE Notify". This feature will automatically issue a Notify(2) on a
4849device
4850when a Wake GPE is received if there is no corresponding GPE method or
4851handler. ACPICA BZ 870.
4852
4853Fixed a problem with the Scope() operator during table parse and load
4854phase.
4855During load phase (table load or method execution), the scope operator
4856should
4857not enter the target into the namespace. Instead, it should open a new
4858scope
4859at the target location. Linux BZ 19462, ACPICA BZ 882.
4860
4861Example Code and Data Size: These are the sizes for the OS-independent
4862acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4863debug version of the code includes the debug output trace mechanism and
4864has a
4865much larger code and data size.
4866
4867 Previous Release:
4868 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
4869 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
4870 Current Release:
4871 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4872 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4873
48742) iASL Compiler/Disassembler and Tools:
4875
4876iASL: Relax the alphanumeric restriction on _CID strings. These strings
4877are
4878"bus-specific" per the ACPI specification, and therefore any characters
4879are
4880acceptable. The only checks that can be performed are for a null string
4881and
4882perhaps for a leading asterisk. ACPICA BZ 886.
4883
4884iASL: Fixed a problem where a syntax error that caused a premature EOF
4885condition on the source file emitted a very confusing error message. The
4886premature EOF is now detected correctly. ACPICA BZ 891.
4887
4888Disassembler: Decode the AccessSize within a Generic Address Structure
4889(byte
4890access, word access, etc.) Note, this field does not allow arbitrary bit
4891access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
4892
4893New: AcpiNames utility - Example namespace dump utility. Shows an example
4894of
4895ACPICA configuration for a minimal namespace dump utility. Uses table and
4896namespace managers, but no AML interpreter. Does not add any
4897functionality
4898over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
4899partition and configure ACPICA. ACPICA BZ 883.
4900
4901AML Debugger: Increased the debugger buffer size for method return
4902objects.
4903Was 4K, increased to 16K. Also enhanced error messages for debugger
4904method
4905execution, including the buffer overflow case.
4906
4907----------------------------------------
490813 October 2010. Summary of changes for version 20101013:
4909
49101) ACPI CA Core Subsystem:
4911
4912Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
4913now
4914clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
4915HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
4916
4917Changed the type of the predefined namespace object _TZ from ThermalZone
4918to
4919Device. This was found to be confusing to the host software that
4920processes
4921the various thermal zones, since _TZ is not really a ThermalZone.
4922However,
4923a
4924Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
4925Zhang.
4926
4927Added Windows Vista SP2 to the list of supported _OSI strings. The actual
4928string is "Windows 2006 SP2".
4929
4930Eliminated duplicate code in AcpiUtExecute* functions. Now that the
4931nsrepair
4932code automatically repairs _HID-related strings, this type of code is no
4933longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
4934878.
4935
4936Example Code and Data Size: These are the sizes for the OS-independent
4937acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4938debug version of the code includes the debug output trace mechanism and
4939has a
4940much larger code and data size.
4941
4942 Previous Release:
4943 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4944 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4945 Current Release:
4946 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4947 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4948
49492) iASL Compiler/Disassembler and Tools:
4950
4951iASL: Implemented additional compile-time validation for _HID strings.
4952The
4953non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
4954length
4955of
4956the string must be exactly seven or eight characters. For both _HID and
4957_CID
4958strings, all characters must be alphanumeric. ACPICA BZ 874.
4959
4960iASL: Allow certain "null" resource descriptors. Some BIOS code creates
4961descriptors that are mostly or all zeros, with the expectation that they
4962will
4963be filled in at runtime. iASL now allows this as long as there is a
4964"resource
4965tag" (name) associated with the descriptor, which gives the ASL a handle
4966needed to modify the descriptor. ACPICA BZ 873.
4967
4968Added single-thread support to the generic Unix application OSL.
4969Primarily
4970for iASL support, this change removes the use of semaphores in the
4971single-
4972threaded ACPICA tools/applications - increasing performance. The
4973_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
4974option. ACPICA BZ 879.
4975
4976AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
4977support
4978for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
4979
4980iASL: Moved all compiler messages to a new file, aslmessages.h.
4981
4982----------------------------------------
498315 September 2010. Summary of changes for version 20100915:
4984
49851) ACPI CA Core Subsystem:
4986
4987Removed the AcpiOsDerivePciId OSL interface. The various host
4988implementations
4989of this function were not OS-dependent and are now obsolete and can be
4990removed from all host OSLs. This function has been replaced by
4991AcpiHwDerivePciId, which is now part of the ACPICA core code.
4992AcpiHwDerivePciId has been implemented without recursion. Adds one new
4993module, hwpci.c. ACPICA BZ 857.
4994
4995Implemented a dynamic repair for _HID and _CID strings. The following
4996problems are now repaired at runtime: 1) Remove a leading asterisk in the
4997string, and 2) the entire string is uppercased. Both repairs are in
4998accordance with the ACPI specification and will simplify host driver
4999code.
5000ACPICA BZ 871.
5001
5002The ACPI_THREAD_ID type is no longer configurable, internally it is now
5003always UINT64. This simplifies the ACPICA code, especially any printf
5004output.
5005UINT64 is the only common data type for all thread_id types across all
5006operating systems. It is now up to the host OSL to cast the native
5007thread_id
5008type to UINT64 before returning the value to ACPICA (via
5009AcpiOsGetThreadId).
5010Lin Ming, Bob Moore.
5011
5012Added the ACPI_INLINE type to enhance the ACPICA configuration. The
5013"inline"
5014keyword is not standard across compilers, and this type allows inline to
5015be
5016configured on a per-compiler basis. Lin Ming.
5017
5018Made the system global AcpiGbl_SystemAwakeAndRunning publically
5019available.
5020Added an extern for this boolean in acpixf.h. Some hosts utilize this
5021value
5022during suspend/restore operations. ACPICA BZ 869.
5023
5024All code that implements error/warning messages with the "ACPI:" prefix
5025has
5026been moved to a new module, utxferror.c.
5027
5028The UINT64_OVERLAY was moved to utmath.c, which is the only module where
5029it
5030is used. ACPICA BZ 829. Lin Ming, Bob Moore.
5031
5032Example Code and Data Size: These are the sizes for the OS-independent
5033acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5034debug version of the code includes the debug output trace mechanism and
5035has a
5036much larger code and data size.
5037
5038 Previous Release:
5039 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
5040 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
5041 Current Release:
5042 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5043 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5044
50452) iASL Compiler/Disassembler and Tools:
5046
5047iASL/Disassembler: Write ACPI errors to stderr instead of the output
5048file.
5049This keeps the output files free of random error messages that may
5050originate
5051from within the namespace/interpreter code. Used this opportunity to
5052merge
5053all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
5054866. Lin Ming, Bob Moore.
5055
5056Tools: update some printfs for ansi warnings on size_t. Handle width
5057change
5058of size_t on 32-bit versus 64-bit generations. Lin Ming.
5059
5060----------------------------------------
506106 August 2010. Summary of changes for version 20100806:
5062
50631) ACPI CA Core Subsystem:
5064
5065Designed and implemented a new host interface to the _OSI support code.
5066This
5067will allow the host to dynamically add or remove multiple _OSI strings,
5068as
5069well as install an optional handler that is called for each _OSI
5070invocation.
5071Also added a new AML debugger command, 'osi' to display and modify the
5072global
5073_OSI string table, and test support in the AcpiExec utility. See the
5074ACPICA
5075reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
5076New Functions:
5077 AcpiInstallInterface - Add an _OSI string.
5078 AcpiRemoveInterface - Delete an _OSI string.
5079 AcpiInstallInterfaceHandler - Install optional _OSI handler.
5080Obsolete Functions:
5081 AcpiOsValidateInterface - no longer used.
5082New Files:
5083 source/components/utilities/utosi.c
5084
5085Re-introduced the support to enable multi-byte transfers for Embedded
5086Controller (EC) operation regions. A reported problem was found to be a
5087bug
5088in the host OS, not in the multi-byte support. Previously, the maximum
5089data
5090size passed to the EC operation region handler was a single byte. There
5091are
5092often EC Fields larger than one byte that need to be transferred, and it
5093is
5094useful for the EC driver to lock these as a single transaction. This
5095change
5096enables single transfers larger than 8 bits. This effectively changes the
5097access to the EC space from ByteAcc to AnyAcc, and will probably require
5098changes to the host OS Embedded Controller driver to enable 16/32/64/256-
5099bit
5100transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
5101
5102Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
5103prototype in acpiosxf.h had the output value pointer as a (void *).
5104It should be a (UINT64 *). This may affect some host OSL code.
5105
5106Fixed a couple problems with the recently modified Linux makefiles for
5107iASL
5108and AcpiExec. These new makefiles place the generated object files in the
5109local directory so that there can be no collisions between the files that
5110are
5111shared between them that are compiled with different options.
5112
5113Example Code and Data Size: These are the sizes for the OS-independent
5114acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5115debug version of the code includes the debug output trace mechanism and
5116has a
5117much larger code and data size.
5118
5119 Previous Release:
5120 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5121 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
5122 Current Release:
5123 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
5124 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
5125
51262) iASL Compiler/Disassembler and Tools:
5127
5128iASL/Disassembler: Added a new option (-da, "disassemble all") to load
5129the
5130namespace from and disassemble an entire group of AML files. Useful for
5131loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
5132and
5133disassembling with one simple command. ACPICA BZ 865. Lin Ming.
5134
5135iASL: Allow multiple invocations of -e option. This change allows
5136multiple
5137uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
5138834.
5139Lin Ming.
5140
5141----------------------------------------
514202 July 2010. Summary of changes for version 20100702:
5143
51441) ACPI CA Core Subsystem:
5145
5146Implemented several updates to the recently added GPE reference count
5147support. The model for "wake" GPEs is changing to give the host OS
5148complete
5149control of these GPEs. Eventually, the ACPICA core will not execute any
5150_PRW
5151methods, since the host already must execute them. Also, additional
5152changes
5153were made to help ensure that the reference counts are kept in proper
5154synchronization with reality. Rafael J. Wysocki.
5155
51561) Ensure that GPEs are not enabled twice during initialization.
51572) Ensure that GPE enable masks stay in sync with the reference count.
51583) Do not inadvertently enable GPEs when writing GPE registers.
51594) Remove the internal wake reference counter and add new AcpiGpeWakeup
5160interface. This interface will set or clear individual GPEs for wakeup.
51615) Remove GpeType argument from AcpiEnable and AcpiDisable. These
5162interfaces
5163are now used for "runtime" GPEs only.
5164
5165Changed the behavior of the GPE install/remove handler interfaces. The
5166GPE
5167is
5168no longer disabled during this process, as it was found to cause problems
5169on
5170some machines. Rafael J. Wysocki.
5171
5172Reverted a change introduced in version 20100528 to enable Embedded
5173Controller multi-byte transfers. This change was found to cause problems
5174with
5175Index Fields and possibly Bank Fields. It will be reintroduced when these
5176problems have been resolved.
5177
5178Fixed a problem with references to Alias objects within Package Objects.
5179A
5180reference to an Alias within the definition of a Package was not always
5181resolved properly. Aliases to objects like Processors, Thermal zones,
5182etc.
5183were resolved to the actual object instead of a reference to the object
5184as
5185it
5186should be. Package objects are only allowed to contain integer, string,
5187buffer, package, and reference objects. Redhat bugzilla 608648.
5188
5189Example Code and Data Size: These are the sizes for the OS-independent
5190acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5191debug version of the code includes the debug output trace mechanism and
5192has a
5193much larger code and data size.
5194
5195 Previous Release:
5196 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5197 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
5198 Current Release:
5199 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5200 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
5201
52022) iASL Compiler/Disassembler and Tools:
5203
5204iASL: Implemented a new compiler subsystem to allow definition and
5205compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
5206These
5207are called "ACPI Data Tables", and the new compiler is the "Data Table
5208Compiler". This compiler is intended to simplify the existing error-prone
5209process of creating these tables for the BIOS, as well as allowing the
5210disassembly, modification, recompilation, and override of existing ACPI
5211data
5212tables. See the iASL User Guide for detailed information.
5213
5214iASL: Implemented a new Template Generator option in support of the new
5215Data
5216Table Compiler. This option will create examples of all known ACPI tables
5217that can be used as the basis for table development. See the iASL
5218documentation and the -T option.
5219
5220Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
5221Descriptor Table).
5222
5223Updated the Linux makefiles for iASL and AcpiExec to place the generated
5224object files in the local directory so that there can be no collisions
5225between the shared files between them that are generated with different
5226options.
5227
5228Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
5229Use
5230the #define __APPLE__ to enable this support.
5231
5232----------------------------------------
523328 May 2010. Summary of changes for version 20100528:
5234
5235Note: The ACPI 4.0a specification was released on April 5, 2010 and is
5236available at www.acpi.info. This is primarily an errata release.
5237
52381) ACPI CA Core Subsystem:
5239
5240Undefined ACPI tables: We are looking for the definitions for the
5241following
5242ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
5243
5244Implemented support to enable multi-byte transfers for Embedded
5245Controller
5246(EC) operation regions. Previously, the maximum data size passed to the
5247EC
5248operation region handler was a single byte. There are often EC Fields
5249larger
5250than one byte that need to be transferred, and it is useful for the EC
5251driver
5252to lock these as a single transaction. This change enables single
5253transfers
5254larger than 8 bits. This effectively changes the access to the EC space
5255from
5256ByteAcc to AnyAcc, and will probably require changes to the host OS
5257Embedded
5258Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
5259bit
5260transfers. Alexey Starikovskiy, Lin Ming
5261
5262Implemented a performance enhancement for namespace search and access.
5263This
5264change enhances the performance of namespace searches and walks by adding
5265a
5266backpointer to the parent in each namespace node. On large namespaces,
5267this
5268change can improve overall ACPI performance by up to 9X. Adding a pointer
5269to
5270each namespace node increases the overall size of the internal namespace
5271by
5272about 5%, since each namespace entry usually consists of both a namespace
5273node and an ACPI operand object. However, this is the first growth of the
5274namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
5275
5276Implemented a performance optimization that reduces the number of
5277namespace
5278walks. On control method exit, only walk the namespace if the method is
5279known
5280to have created namespace objects outside of its local scope. Previously,
5281the
5282entire namespace was traversed on each control method exit. This change
5283can
5284improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
5285Moore.
5286
5287Added support to truncate I/O addresses to 16 bits for Windows
5288compatibility.
5289Some ASL code has been seen in the field that inadvertently has bits set
5290above bit 15. This feature is optional and is enabled if the BIOS
5291requests
5292any Windows OSI strings. It can also be enabled by the host OS. Matthew
5293Garrett, Bob Moore.
5294
5295Added support to limit the maximum time for the ASL Sleep() operator. To
5296prevent accidental deep sleeps, limit the maximum time that Sleep() will
5297actually sleep. Configurable, the default maximum is two seconds. ACPICA
5298bugzilla 854.
5299
5300Added run-time validation support for the _WDG and_WED Microsoft
5301predefined
5302methods. These objects are defined by "Windows Instrumentation", and are
5303not
5304part of the ACPI spec. ACPICA BZ 860.
5305
5306Expanded all statistic counters used during namespace and device
5307initialization from 16 to 32 bits in order to support very large
5308namespaces.
5309
5310Replaced all instances of %d in printf format specifiers with %u since
5311nearly
5312all integers in ACPICA are unsigned.
5313
5314Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
5315returned
5316as AE_NO_HANDLER.
5317
5318Example Code and Data Size: These are the sizes for the OS-independent
5319acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5320debug version of the code includes the debug output trace mechanism and
5321has a
5322much larger code and data size.
5323
5324 Previous Release:
5325 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
5326 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
5327 Current Release:
5328 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5329 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
5330
53312) iASL Compiler/Disassembler and Tools:
5332
5333iASL: Added compiler support for the _WDG and_WED Microsoft predefined
5334methods. These objects are defined by "Windows Instrumentation", and are
5335not
5336part of the ACPI spec. ACPICA BZ 860.
5337
5338AcpiExec: added option to disable the memory tracking mechanism. The -dt
5339option will disable the tracking mechanism, which improves performance
5340considerably.
5341
5342AcpiExec: Restructured the command line options into -d (disable) and -e
5343(enable) options.
5344
5345----------------------------------------
534628 April 2010. Summary of changes for version 20100428:
5347
53481) ACPI CA Core Subsystem:
5349
5350Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
5351including FADT-based and GPE Block Devices, execute any _PRW methods in
5352the
5353new table, and process any _Lxx/_Exx GPE methods in the new table. Any
5354runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
5355immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
5356Devices. Provides compatibility with other ACPI implementations. Two new
5357files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
5358Moore.
5359
5360Fixed a regression introduced in version 20100331 within the table
5361manager
5362where initial table loading could fail. This was introduced in the fix
5363for
5364AcpiReallocateRootTable. Also, renamed some of fields in the table
5365manager
5366data structures to clarify their meaning and use.
5367
5368Fixed a possible allocation overrun during internal object copy in
5369AcpiUtCopySimpleObject. The original code did not correctly handle the
5370case
5371where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
5372847.
5373
5374Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
5375possible access beyond end-of-allocation. Also, now fully validate
5376descriptor
5377(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
5378
5379Example Code and Data Size: These are the sizes for the OS-independent
5380acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5381debug version of the code includes the debug output trace mechanism and
5382has a
5383much larger code and data size.
5384
5385 Previous Release:
5386 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
5387 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
5388 Current Release:
5389 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
5390 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
5391
53922) iASL Compiler/Disassembler and Tools:
5393
5394iASL: Implemented Min/Max/Len/Gran validation for address resource
5395descriptors. This change implements validation for the address fields
5396that
5397are common to all address-type resource descriptors. These checks are
5398implemented: Checks for valid Min/Max, length within the Min/Max window,
5399valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
5400per
5401table 6-40 in the ACPI 4.0a specification. Also split the large
5402aslrestype1.c
5403and aslrestype2.c files into five new files. ACPICA BZ 840.
5404
5405iASL: Added support for the _Wxx predefined names. This support was
5406missing
5407and these names were not recognized by the compiler as valid predefined
5408names. ACPICA BZ 851.
5409
5410iASL: Added an error for all predefined names that are defined to return
5411no
5412value and thus must be implemented as Control Methods. These include all
5413of
5414the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
5415names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
5416
5417iASL: Implemented the -ts option to emit hex AML data in ASL format, as
5418an
5419ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
5420be
5421dynamically loaded via the Load() operator. Also cleaned up output for
5422the
5423-
5424ta and -tc options. ACPICA BZ 853.
5425
5426Tests: Added a new file with examples of extended iASL error checking.
5427Demonstrates the advanced error checking ability of the iASL compiler.
5428Available at tests/misc/badcode.asl.
5429
5430----------------------------------------
543131 March 2010. Summary of changes for version 20100331:
5432
54331) ACPI CA Core Subsystem:
5434
5435Completed a major update for the GPE support in order to improve support
5436for
5437shared GPEs and to simplify both host OS and ACPICA code. Added a
5438reference
5439count mechanism to support shared GPEs that require multiple device
5440drivers.
5441Several external interfaces have changed. One external interface has been
5442removed. One new external interface was added. Most of the GPE external
5443interfaces now use the GPE spinlock instead of the events mutex (and the
5444Flags parameter for many GPE interfaces has been removed.) See the
5445updated
5446ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
5447Rafael
5448Wysocki. ACPICA BZ 831.
5449
5450Changed:
5451 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
5452Removed:
5453 AcpiSetGpeType
5454New:
5455 AcpiSetGpe
5456
5457Implemented write support for DataTable operation regions. These regions
5458are
5459defined via the DataTableRegion() operator. Previously, only read support
5460was
5461implemented. The ACPI specification allows DataTableRegions to be
5462read/write,
5463however.
5464
5465Implemented a new subsystem option to force a copy of the DSDT to local
5466memory. Optionally copy the entire DSDT to local memory (instead of
5467simply
5468mapping it.) There are some (albeit very rare) BIOSs that corrupt or
5469replace
5470the original DSDT, creating the need for this option. Default is FALSE,
5471do
5472not copy the DSDT.
5473
5474Implemented detection of a corrupted or replaced DSDT. This change adds
5475support to detect a DSDT that has been corrupted and/or replaced from
5476outside
5477the OS (by firmware). This is typically catastrophic for the system, but
5478has
5479been seen on some machines. Once this problem has been detected, the DSDT
5480copy option can be enabled via system configuration. Lin Ming, Bob Moore.
5481
5482Fixed two problems with AcpiReallocateRootTable during the root table
5483copy.
5484When copying the root table to the new allocation, the length used was
5485incorrect. The new size was used instead of the current table size,
5486meaning
5487too much data was copied. Also, the count of available slots for ACPI
5488tables
5489was not set correctly. Alexey Starikovskiy, Bob Moore.
5490
5491Example Code and Data Size: These are the sizes for the OS-independent
5492acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5493debug version of the code includes the debug output trace mechanism and
5494has a
5495much larger code and data size.
5496
5497 Previous Release:
5498 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
5499 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
5500 Current Release:
5501 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
5502 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
5503
55042) iASL Compiler/Disassembler and Tools:
5505
5506iASL: Implement limited typechecking for values returned from predefined
5507control methods. The type of any returned static (unnamed) object is now
5508validated. For example, Return(1). ACPICA BZ 786.
5509
5510iASL: Fixed a predefined name object verification regression. Fixes a
5511problem
5512introduced in version 20100304. An error is incorrectly generated if a
5513predefined name is declared as a static named object with a value defined
5514using the keywords "Zero", "One", or "Ones". Lin Ming.
5515
5516iASL: Added Windows 7 support for the -g option (get local ACPI tables)
5517by
5518reducing the requested registry access rights. ACPICA BZ 842.
5519
5520Disassembler: fixed a possible fault when generating External()
5521statements.
5522Introduced in commit ae7d6fd: Properly handle externals with parent-
5523prefix
5524(carat). Fixes a string length allocation calculation. Lin Ming.
5525
5526----------------------------------------
552704 March 2010. Summary of changes for version 20100304:
5528
55291) ACPI CA Core Subsystem:
5530
5531Fixed a possible problem with the AML Mutex handling function
5532AcpiExReleaseMutex where the function could fault under the very rare
5533condition when the interpreter has blocked, the interpreter lock is
5534released,
5535the interpreter is then reentered via the same thread, and attempts to
5536acquire an AML mutex that was previously acquired. FreeBSD report 140979.
5537Lin
5538Ming.
5539
5540Implemented additional configuration support for the AML "Debug Object".
5541Output from the debug object can now be enabled via a global variable,
5542AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
5543debugging.
5544This debug output is now available in the release version of ACPICA
5545instead
5546of just the debug version. Also, the entire debug output module can now
5547be
5548configured out of the ACPICA build if desired. One new file added,
5549executer/exdebug.c. Lin Ming, Bob Moore.
5550
5551Added header support for the ACPI MCHI table (Management Controller Host
5552Interface Table). This table was added in ACPI 4.0, but the defining
5553document
5554has only recently become available.
5555
5556Standardized output of integer values for ACPICA warnings/errors. Always
5557use
55580x prefix for hex output, always use %u for unsigned integer decimal
5559output.
5560Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
5561400
5562invocations.) These invocations were converted from the original
5563ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
5564
5565Example Code and Data Size: These are the sizes for the OS-independent
5566acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5567debug version of the code includes the debug output trace mechanism and
5568has a
5569much larger code and data size.
5570
5571 Previous Release:
5572 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
5573 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
5574 Current Release:
5575 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
5576 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
5577
55782) iASL Compiler/Disassembler and Tools:
5579
5580iASL: Implemented typechecking support for static (non-control method)
5581predefined named objects that are declared with the Name() operator. For
5582example, the type of this object is now validated to be of type Integer:
5583Name(_BBN, 1). This change migrates the compiler to using the core
5584predefined
5585name table instead of maintaining a local version. Added a new file,
5586aslpredef.c. ACPICA BZ 832.
5587
5588Disassembler: Added support for the ACPI 4.0 MCHI table.
5589
5590----------------------------------------
559121 January 2010. Summary of changes for version 20100121:
5592
55931) ACPI CA Core Subsystem:
5594
5595Added the 2010 copyright to all module headers and signons. This affects
5596virtually every file in the ACPICA core subsystem, the iASL compiler, the
5597tools/utilities, and the test suites.
5598
5599Implemented a change to the AcpiGetDevices interface to eliminate
5600unnecessary
5601invocations of the _STA method. In the case where a specific _HID is
5602requested, do not run _STA until a _HID match is found. This eliminates
5603potentially dozens of _STA calls during a search for a particular
5604device/HID,
5605which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
5606
5607Implemented an additional repair for predefined method return values.
5608Attempt
5609to repair unexpected NULL elements within returned Package objects.
5610Create
5611an
5612Integer of value zero, a NULL String, or a zero-length Buffer as
5613appropriate.
5614ACPICA BZ 818. Lin Ming, Bob Moore.
5615
5616Removed the obsolete ACPI_INTEGER data type. This type was introduced as
5617the
5618code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
5619(with
562064-bit AML integers). It is now obsolete and this change removes it from
5621the
5622ACPICA code base, replaced by UINT64. The original typedef has been
5623retained
5624for now for compatibility with existing device driver code. ACPICA BZ
5625824.
5626
5627Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
5628in
5629the parse tree object.
5630
5631Added additional warning options for the gcc-4 generation. Updated the
5632source
5633accordingly. This includes some code restructuring to eliminate
5634unreachable
5635code, elimination of some gotos, elimination of unused return values,
5636some
5637additional casting, and removal of redundant declarations.
5638
5639Example Code and Data Size: These are the sizes for the OS-independent
5640acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5641debug version of the code includes the debug output trace mechanism and
5642has a
5643much larger code and data size.
5644
5645 Previous Release:
5646 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
5647 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
5648 Current Release:
5649 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
5650 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
5651
56522) iASL Compiler/Disassembler and Tools:
5653
5654No functional changes for this release.
5655
5656----------------------------------------
565714 December 2009. Summary of changes for version 20091214:
5658
56591) ACPI CA Core Subsystem:
5660
5661Enhanced automatic data type conversions for predefined name repairs.
5662This
5663change expands the automatic repairs/conversions for predefined name
5664return
5665values to make Integers, Strings, and Buffers fully interchangeable.
5666Also,
5667a
5668Buffer can be converted to a Package of Integers if necessary. The
5669nsrepair.c
5670module was completely restructured. Lin Ming, Bob Moore.
5671
5672Implemented automatic removal of null package elements during predefined
5673name
5674repairs. This change will automatically remove embedded and trailing NULL
5675package elements from returned package objects that are defined to
5676contain
5677a
5678variable number of sub-packages. The driver is then presented with a
5679package
5680with no null elements to deal with. ACPICA BZ 819.
5681
5682Implemented a repair for the predefined _FDE and _GTM names. The expected
5683return value for both names is a Buffer of 5 DWORDs. This repair fixes
5684two
5685possible problems (both seen in the field), where a package of integers
5686is
5687returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
5688Kim.
5689
5690Implemented additional module-level code support. This change will
5691properly
5692execute module-level code that is not at the root of the namespace (under
5693a
5694Device object, etc.). Now executes the code within the current scope
5695instead
5696of the root. ACPICA BZ 762. Lin Ming.
5697
5698Fixed possible mutex acquisition errors when running _REG methods. Fixes
5699a
5700problem where mutex errors can occur when running a _REG method that is
5701in
5702the same scope as a method-defined operation region or an operation
5703region
5704under a module-level IF block. This type of code is rare, so the problem
5705has
5706not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
5707
5708Fixed a possible memory leak during module-level code execution. An
5709object
5710could be leaked for each block of executed module-level code if the
5711interpreter slack mode is enabled This change deletes any implicitly
5712returned
5713object from the module-level code block. Lin Ming.
5714
5715Removed messages for successful predefined repair(s). The repair
5716mechanism
5717was considered too wordy. Now, messages are only unconditionally emitted
5718if
5719the return object cannot be repaired. Existing messages for successful
5720repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
5721827.
5722
5723Example Code and Data Size: These are the sizes for the OS-independent
5724acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5725debug version of the code includes the debug output trace mechanism and
5726has a
5727much larger code and data size.
5728
5729 Previous Release:
5730 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
5731 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
5732 Current Release:
5733 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
5734 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
5735
57362) iASL Compiler/Disassembler and Tools:
5737
5738iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
5739files
5740were no longer automatically removed at the termination of the compile.
5741
5742acpiexec: Implemented the -f option to specify default region fill value.
5743This option specifies the value used to initialize buffers that simulate
5744operation regions. Default value is zero. Useful for debugging problems
5745that
5746depend on a specific initial value for a region or field.
5747
5748----------------------------------------
574912 November 2009. Summary of changes for version 20091112:
5750
57511) ACPI CA Core Subsystem:
5752
5753Implemented a post-order callback to AcpiWalkNamespace. The existing
5754interface only has a pre-order callback. This change adds an additional
5755parameter for a post-order callback which will be more useful for bus
5756scans.
5757ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
5758
5759Modified the behavior of the operation region memory mapping cache for
5760SystemMemory. Ensure that the memory mappings created for operation
5761regions
5762do not cross 4K page boundaries. Crossing a page boundary while mapping
5763regions can cause kernel warnings on some hosts if the pages have
5764different
5765attributes. Such regions are probably BIOS bugs, and this is the
5766workaround.
5767Linux BZ 14445. Lin Ming.
5768
5769Implemented an automatic repair for predefined methods that must return
5770sorted lists. This change will repair (by sorting) packages returned by
5771_ALR,
5772_PSS, and _TSS. Drivers can now assume that the packages are correctly
5773sorted
5774and do not contain NULL package elements. Adds one new file,
5775namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
5776
5777Fixed a possible fault during predefined name validation if a return
5778Package
5779object contains NULL elements. Also adds a warning if a NULL element is
5780followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
5781may
5782include repair or removal of all such NULL elements where possible.
5783
5784Implemented additional module-level executable AML code support. This
5785change
5786will execute module-level code that is not at the root of the namespace
5787(under a Device object, etc.) at table load time. Module-level executable
5788AML
5789code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
5790
5791Implemented a new internal function to create Integer objects. This
5792function
5793simplifies miscellaneous object creation code. ACPICA BZ 823.
5794
5795Reduced the severity of predefined repair messages, Warning to Info.
5796Since
5797the object was successfully repaired, a warning is too severe. Reduced to
5798an
5799info message for now. These messages may eventually be changed to debug-
5800only.
5801ACPICA BZ 812.
5802
5803Example Code and Data Size: These are the sizes for the OS-independent
5804acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5805debug version of the code includes the debug output trace mechanism and
5806has a
5807much larger code and data size.
5808
5809 Previous Release:
5810 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
5811 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
5812 Current Release:
5813 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
5814 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
5815
58162) iASL Compiler/Disassembler and Tools:
5817
5818iASL: Implemented Switch() with While(1) so that Break works correctly.
5819This
5820change correctly implements the Switch operator with a surrounding
5821While(1)
5822so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
5823
5824iASL: Added a message if a package initializer list is shorter than
5825package
5826length. Adds a new remark for a Package() declaration if an initializer
5827list
5828exists, but is shorter than the declared length of the package. Although
5829technically legal, this is probably a coding error and it is seen in the
5830field. ACPICA BZ 815. Lin Ming, Bob Moore.
5831
5832iASL: Fixed a problem where the compiler could fault after the maximum
5833number
5834of errors was reached (200).
5835
5836acpixtract: Fixed a possible warning for pointer cast if the compiler
5837warning
5838level set very high.
5839
5840----------------------------------------
584113 October 2009. Summary of changes for version 20091013:
5842
58431) ACPI CA Core Subsystem:
5844
5845Fixed a problem where an Operation Region _REG method could be executed
5846more
5847than once. If a custom address space handler is installed by the host
5848before
5849the "initialize operation regions" phase of the ACPICA initialization,
5850any
5851_REG methods for that address space could be executed twice. This change
5852fixes the problem. ACPICA BZ 427. Lin Ming.
5853
5854Fixed a possible memory leak for the Scope() ASL operator. When the exact
5855invocation of "Scope(\)" is executed (change scope to root), one internal
5856operand object was leaked. Lin Ming.
5857
5858Implemented a run-time repair for the _MAT predefined method. If the _MAT
5859return value is defined as a Field object in the AML, and the field
5860size is less than or equal to the default width of an integer (32 or
586164),_MAT
5862can incorrectly return an Integer instead of a Buffer. ACPICA now
5863automatically repairs this problem. ACPICA BZ 810.
5864
5865Implemented a run-time repair for the _BIF and _BIX predefined methods.
5866The
5867"OEM Information" field is often incorrectly returned as an Integer with
5868value zero if the field is not supported by the platform. This is due to
5869an
5870ambiguity in the ACPI specification. The field should always be a string.
5871ACPICA now automatically repairs this problem by returning a NULL string
5872within the returned Package. ACPICA BZ 807.
5873
5874Example Code and Data Size: These are the sizes for the OS-independent
5875acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5876debug version of the code includes the debug output trace mechanism and
5877has a
5878much larger code and data size.
5879
5880 Previous Release:
5881 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
5882 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
5883 Current Release:
5884 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
5885 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
5886
58872) iASL Compiler/Disassembler and Tools:
5888
5889Disassembler: Fixed a problem where references to external symbols that
5890contained one or more parent-prefixes (carats) were not handled
5891correctly,
5892possibly causing a fault. ACPICA BZ 806. Lin Ming.
5893
5894Disassembler: Restructured the code so that all functions that handle
5895external symbols are in a single module. One new file is added,
5896common/dmextern.c.
5897
5898AML Debugger: Added a max count argument for the Batch command (which
5899executes multiple predefined methods within the namespace.)
5900
5901iASL: Updated the compiler documentation (User Reference.) Available at
5902http://www.acpica.org/documentation/. ACPICA BZ 750.
5903
5904AcpiXtract: Updated for Lint and other formatting changes. Close all open
5905files.
5906
5907----------------------------------------
590803 September 2009. Summary of changes for version 20090903:
5909
59101) ACPI CA Core Subsystem:
5911
5912For Windows Vista compatibility, added the automatic execution of an _INI
5913method located at the namespace root (\_INI). This method is executed at
5914table load time. This support is in addition to the automatic execution
5915of
5916\_SB._INI. Lin Ming.
5917
5918Fixed a possible memory leak in the interpreter for AML package objects
5919if
5920the package initializer list is longer than the defined size of the
5921package.
5922This apparently can only happen if the BIOS changes the package size on
5923the
5924fly (seen in a _PSS object), as ASL compilers do not allow this. The
5925interpreter will truncate the package to the defined size (and issue an
5926error
5927message), but previously could leave the extra objects undeleted if they
5928were
5929pre-created during the argument processing (such is the case if the
5930package
5931consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
5932
5933Fixed a problem seen when a Buffer or String is stored to itself via ASL.
5934This has been reported in the field. Previously, ACPICA would zero out
5935the
5936buffer/string. Now, the operation is treated as a noop. Provides Windows
5937compatibility. ACPICA BZ 803. Lin Ming.
5938
5939Removed an extraneous error message for ASL constructs of the form
5940Store(LocalX,LocalX) when LocalX is uninitialized. These curious
5941statements
5942are seen in many BIOSs and are once again treated as NOOPs and no error
5943is
5944emitted when they are encountered. ACPICA BZ 785.
5945
5946Fixed an extraneous warning message if a _DSM reserved method returns a
5947Package object. _DSM can return any type of object, so validation on the
5948return type cannot be performed. ACPICA BZ 802.
5949
5950Example Code and Data Size: These are the sizes for the OS-independent
5951acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5952debug version of the code includes the debug output trace mechanism and
5953has a
5954much larger code and data size.
5955
5956 Previous Release:
5957 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
5958 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
5959 Current Release:
5960 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
5961 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
5962
59632) iASL Compiler/Disassembler and Tools:
5964
5965iASL: Fixed a problem with the use of the Alias operator and Resource
5966Templates. The correct alias is now constructed and no error is emitted.
5967ACPICA BZ 738.
5968
5969iASL: Implemented the -I option to specify additional search directories
5970for
5971include files. Allows multiple additional search paths for include files.
5972Directories are searched in the order specified on the command line
5973(after
5974the local directory is searched.) ACPICA BZ 800.
5975
5976iASL: Fixed a problem where the full pathname for include files was not
5977emitted for warnings/errors. This caused the IDE support to not work
5978properly. ACPICA BZ 765.
5979
5980iASL: Implemented the -@ option to specify a Windows-style response file
5981containing additional command line options. ACPICA BZ 801.
5982
5983AcpiExec: Added support to load multiple AML files simultaneously (such
5984as
5985a
5986DSDT and multiple SSDTs). Also added support for wildcards within the AML
5987pathname. These features allow all machine tables to be easily loaded and
5988debugged together. ACPICA BZ 804.
5989
5990Disassembler: Added missing support for disassembly of HEST table Error
5991Bank
5992subtables.
5993
5994----------------------------------------
599530 July 2009. Summary of changes for version 20090730:
5996
5997The ACPI 4.0 implementation for ACPICA is complete with this release.
5998
59991) ACPI CA Core Subsystem:
6000
6001ACPI 4.0: Added header file support for all new and changed ACPI tables.
6002Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
6003new
6004for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
6005BERT,
6006EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
6007There
6008have been some ACPI 4.0 changes to other existing tables. Split the large
6009actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
6010
6011ACPI 4.0: Implemented predefined name validation for all new names. There
6012are
601331 new names in ACPI 4.0. The predefined validation module was split into
6014two
6015files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
6016
6017Implemented support for so-called "module-level executable code". This is
6018executable AML code that exists outside of any control method and is
6019intended
6020to be executed at table load time. Although illegal since ACPI 2.0, this
6021type
6022of code still exists and is apparently still being created. Blocks of
6023this
6024code are now detected and executed as intended. Currently, the code
6025blocks
6026must exist under either an If, Else, or While construct; these are the
6027typical cases seen in the field. ACPICA BZ 762. Lin Ming.
6028
6029Implemented an automatic dynamic repair for predefined names that return
6030nested Package objects. This applies to predefined names that are defined
6031to
6032return a variable-length Package of sub-packages. If the number of sub-
6033packages is one, BIOS code is occasionally seen that creates a simple
6034single
6035package with no sub-packages. This code attempts to fix the problem by
6036wrapping a new package object around the existing package. These methods
6037can
6038be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
6039BZ
6040790.
6041
6042Fixed a regression introduced in 20090625 for the AcpiGetDevices
6043interface.
6044The _HID/_CID matching was broken and no longer matched IDs correctly.
6045ACPICA
6046BZ 793.
6047
6048Fixed a problem with AcpiReset where the reset would silently fail if the
6049register was one of the protected I/O ports. AcpiReset now bypasses the
6050port
6051validation mechanism. This may eventually be driven into the
6052AcpiRead/Write
6053interfaces.
6054
6055Fixed a regression related to the recent update of the AcpiRead/Write
6056interfaces. A sleep/suspend could fail if the optional PM2 Control
6057register
6058does not exist during an attempt to write the Bus Master Arbitration bit.
6059(However, some hosts already delete the code that writes this bit, and
6060the
6061code may in fact be obsolete at this date.) ACPICA BZ 799.
6062
6063Fixed a problem where AcpiTerminate could fault if inadvertently called
6064twice
6065in succession. ACPICA BZ 795.
6066
6067Example Code and Data Size: These are the sizes for the OS-independent
6068acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6069debug version of the code includes the debug output trace mechanism and
6070has a
6071much larger code and data size.
6072
6073 Previous Release:
6074 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
6075 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
6076 Current Release:
6077 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
6078 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
6079
60802) iASL Compiler/Disassembler and Tools:
6081
6082ACPI 4.0: Implemented disassembler support for all new ACPI tables and
6083changes to existing tables. ACPICA BZ 775.
6084
6085----------------------------------------
608625 June 2009. Summary of changes for version 20090625:
6087
6088The ACPI 4.0 Specification was released on June 16 and is available at
6089www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
6090continue for the next few releases.
6091
60921) ACPI CA Core Subsystem:
6093
6094ACPI 4.0: Implemented interpreter support for the IPMI operation region
6095address space. Includes support for bi-directional data buffers and an
6096IPMI
6097address space handler (to be installed by an IPMI device driver.) ACPICA
6098BZ
6099773. Lin Ming.
6100
6101ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
6102Includes
6103support in both the header files and the disassembler.
6104
6105Completed a major update for the AcpiGetObjectInfo external interface.
6106Changes include:
6107 - Support for variable, unlimited length HID, UID, and CID strings.
6108 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
6109etc.)
6110 - Call the _SxW power methods on behalf of a device object.
6111 - Determine if a device is a PCI root bridge.
6112 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
6113These changes will require an update to all callers of this interface.
6114See
6115the updated ACPICA Programmer Reference for details. One new source file
6116has
6117been added - utilities/utids.c. ACPICA BZ 368, 780.
6118
6119Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
6120transfers. The Value parameter has been extended from 32 bits to 64 bits
6121in
6122order to support new ACPI 4.0 tables. These changes will require an
6123update
6124to
6125all callers of these interfaces. See the ACPICA Programmer Reference for
6126details. ACPICA BZ 768.
6127
6128Fixed several problems with AcpiAttachData. The handler was not invoked
6129when
6130the host node was deleted. The data sub-object was not automatically
6131deleted
6132when the host node was deleted. The interface to the handler had an
6133unused
6134parameter, this was removed. ACPICA BZ 778.
6135
6136Enhanced the function that dumps ACPI table headers. All non-printable
6137characters in the string fields are now replaced with '?' (Signature,
6138OemId,
6139OemTableId, and CompilerId.) ACPI tables with non-printable characters in
6140these fields are occasionally seen in the field. ACPICA BZ 788.
6141
6142Fixed a problem with predefined method repair code where the code that
6143attempts to repair/convert an object of incorrect type is only executed
6144on
6145the first time the predefined method is called. The mechanism that
6146disables
6147warnings on subsequent calls was interfering with the repair mechanism.
6148ACPICA BZ 781.
6149
6150Fixed a possible memory leak in the predefined validation/repair code
6151when
6152a
6153buffer is automatically converted to an expected string object.
6154
6155Removed obsolete 16-bit files from the distribution and from the current
6156git
6157tree head. ACPICA BZ 776.
6158
6159Example Code and Data Size: These are the sizes for the OS-independent
6160acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6161debug version of the code includes the debug output trace mechanism and
6162has a
6163much larger code and data size.
6164
6165 Previous Release:
6166 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
6167 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
6168 Current Release:
6169 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
6170 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
6171
61722) iASL Compiler/Disassembler and Tools:
6173
6174ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
6175operation region keyword. ACPICA BZ 771, 772. Lin Ming.
6176
6177ACPI 4.0: iASL - implemented compile-time validation support for all new
6178predefined names and control methods (31 total). ACPICA BZ 769.
6179
6180----------------------------------------
618121 May 2009. Summary of changes for version 20090521:
6182
61831) ACPI CA Core Subsystem:
6184
6185Disabled the preservation of the SCI enable bit in the PM1 control
6186register.
6187The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
6188to
6189be
6190a "preserved" bit - "OSPM always preserves this bit position", section
61914.7.3.2.1. However, some machines fail if this bit is in fact preserved
6192because the bit needs to be explicitly set by the OS as a workaround. No
6193machines fail if the bit is not preserved. Therefore, ACPICA no longer
6194attempts to preserve this bit.
6195
6196Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
6197incorrectly formed _PRT package could cause a fault. Added validation to
6198ensure that each package element is actually a sub-package.
6199
6200Implemented a new interface to install or override a single control
6201method,
6202AcpiInstallMethod. This interface is useful when debugging in order to
6203repair
6204an existing method or to install a missing method without having to
6205override
6206the entire ACPI table. See the ACPICA Programmer Reference for use and
6207examples. Lin Ming, Bob Moore.
6208
6209Fixed several reference count issues with the DdbHandle object that is
6210created from a Load or LoadTable operator. Prevent premature deletion of
6211the
6212object. Also, mark the object as invalid once the table has been
6213unloaded.
6214This is needed because the handle itself may not be deleted after the
6215table
6216unload, depending on whether it has been stored in a named object by the
6217caller. Lin Ming.
6218
6219Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
6220mutexes of the same sync level are acquired but then not released in
6221strict
6222opposite order, the internally maintained Current Sync Level becomes
6223confused
6224and can cause subsequent execution errors. ACPICA BZ 471.
6225
6226Changed the allowable release order for ASL mutex objects. The ACPI 4.0
6227specification has been changed to make the SyncLevel for mutex objects
6228more
6229useful. When releasing a mutex, the SyncLevel of the mutex must now be
6230the
6231same as the current sync level. This makes more sense than the previous
6232rule
6233(SyncLevel less than or equal). This change updates the code to match the
6234specification.
6235
6236Fixed a problem with the local version of the AcpiOsPurgeCache function.
6237The
6238(local) cache must be locked during all cache object deletions. Andrew
6239Baumann.
6240
6241Updated the Load operator to use operation region interfaces. This
6242replaces
6243direct memory mapping with region access calls. Now, all region accesses
6244go
6245through the installed region handler as they should.
6246
6247Simplified and optimized the NsGetNextNode function. Reduced parameter
6248count
6249and reduced code for this frequently used function.
6250
6251Example Code and Data Size: These are the sizes for the OS-independent
6252acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6253debug version of the code includes the debug output trace mechanism and
6254has a
6255much larger code and data size.
6256
6257 Previous Release:
6258 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
6259 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
6260 Current Release:
6261 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
6262 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
6263
62642) iASL Compiler/Disassembler and Tools:
6265
6266Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
6267problems
6268with sub-table disassembly and handling invalid sub-tables. Attempt
6269recovery
6270after an invalid sub-table ID.
6271
6272----------------------------------------
627322 April 2009. Summary of changes for version 20090422:
6274
62751) ACPI CA Core Subsystem:
6276
6277Fixed a compatibility issue with the recently released I/O port
6278protection
6279mechanism. For windows compatibility, 1) On a port protection violation,
6280simply ignore the request and do not return an exception (allow the
6281control
6282method to continue execution.) 2) If only part of the request overlaps a
6283protected port, read/write the individual ports that are not protected.
6284Linux
6285BZ 13036. Lin Ming
6286
6287Enhanced the execution of the ASL/AML BreakPoint operator so that it
6288actually
6289breaks into the AML debugger if the debugger is present. This matches the
6290ACPI-defined behavior.
6291
6292Fixed several possible warnings related to the use of the configurable
6293ACPI_THREAD_ID. This type can now be configured as either an integer or a
6294pointer with no warnings. Also fixes several warnings in printf-like
6295statements for the 64-bit build when the type is configured as a pointer.
6296ACPICA BZ 766, 767.
6297
6298Fixed a number of possible warnings when compiling with gcc 4+ (depending
6299on
6300warning options.) Examples include printf formats, aliasing, unused
6301globals,
6302missing prototypes, missing switch default statements, use of non-ANSI
6303library functions, use of non-ANSI constructs. See generate/unix/Makefile
6304for
6305a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
6306
6307Example Code and Data Size: These are the sizes for the OS-independent
6308acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6309debug version of the code includes the debug output trace mechanism and
6310has a
6311much larger code and data size.
6312
6313 Previous Release:
6314 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
6315 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
6316 Current Release:
6317 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
6318 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
6319
63202) iASL Compiler/Disassembler and Tools:
6321
6322iASL: Fixed a generation warning from Bison 2.3 and fixed several
6323warnings
6324on
6325the 64-bit build.
6326
6327iASL: Fixed a problem where the Unix/Linux versions of the compiler could
6328not
6329correctly digest Windows/DOS formatted files (with CR/LF).
6330
6331iASL: Added a new option for "quiet mode" (-va) that produces only the
6332compilation summary, not individual errors and warnings. Useful for large
6333batch compilations.
6334
6335AcpiExec: Implemented a new option (-z) to enable a forced
6336semaphore/mutex
6337timeout that can be used to detect hang conditions during execution of
6338AML
6339code (includes both internal semaphores and AML-defined mutexes and
6340events.)
6341
6342Added new makefiles for the generation of acpica in a generic unix-like
6343environment. These makefiles are intended to generate the acpica tools
6344and
6345utilities from the original acpica git source tree structure.
6346
6347Test Suites: Updated and cleaned up the documentation files. Updated the
6348copyrights to 2009, affecting all source files. Use the new version of
6349iASL
6350with quiet mode. Increased the number of available semaphores in the
6351Windows
6352OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
6353added
6354an alternate implementation of the semaphore timeout to allow aslts to
6355execute fully on Cygwin.
6356
6357----------------------------------------
635820 March 2009. Summary of changes for version 20090320:
6359
63601) ACPI CA Core Subsystem:
6361
6362Fixed a possible race condition between AcpiWalkNamespace and dynamic
6363table
6364unloads. Added a reader/writer locking mechanism to allow multiple
6365concurrent
6366namespace walks (readers), but block a dynamic table unload until it can
6367gain
6368exclusive write access to the namespace. This fixes a problem where a
6369table
6370unload could (possibly catastrophically) delete the portion of the
6371namespace
6372that is currently being examined by a walk. Adds a new file, utlock.c,
6373that
6374implements the reader/writer lock mechanism. ACPICA BZ 749.
6375
6376Fixed a regression introduced in version 20090220 where a change to the
6377FADT
6378handling could cause the ACPICA subsystem to access non-existent I/O
6379ports.
6380
6381Modified the handling of FADT register and table (FACS/DSDT) addresses.
6382The
6383FADT can contain both 32-bit and 64-bit versions of these addresses.
6384Previously, the 64-bit versions were favored, meaning that if both 32 and
638564
6386versions were valid, but not equal, the 64-bit version was used. This was
6387found to cause some machines to fail. Now, in this case, the 32-bit
6388version
6389is used instead. This now matches the Windows behavior.
6390
6391Implemented a new mechanism to protect certain I/O ports. Provides
6392Microsoft
6393compatibility and protects the standard PC I/O ports from access via AML
6394code. Adds a new file, hwvalid.c
6395
6396Fixed a possible extraneous warning message from the FADT support. The
6397message warns of a 32/64 length mismatch between the legacy and GAS
6398definitions for a register.
6399
6400Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
6401is
6402made obsolete by the port protection mechanism above. It was previously
6403used
6404to validate the entire address range of an operation region, which could
6405be
6406incorrect if the range included illegal ports, but fields within the
6407operation region did not actually access those ports. Validation is now
6408performed on a per-field basis instead of the entire region.
6409
6410Modified the handling of the PM1 Status Register ignored bit (bit 11.)
6411Ignored bits must be "preserved" according to the ACPI spec. Usually,
6412this
6413means a read/modify/write when writing to the register. However, for
6414status
6415registers, writing a one means clear the event. Writing a zero means
6416preserve
6417the event (do not clear.) This behavior is clarified in the ACPI 4.0
6418spec,
6419and the ACPICA code now simply always writes a zero to the ignored bit.
6420
6421Modified the handling of ignored bits for the PM1 A/B Control Registers.
6422As
6423per the ACPI specification, for the control registers, preserve
6424(read/modify/write) all bits that are defined as either reserved or
6425ignored.
6426
6427Updated the handling of write-only bits in the PM1 A/B Control Registers.
6428When reading the register, zero the write-only bits as per the ACPI spec.
6429ACPICA BZ 443. Lin Ming.
6430
6431Removed "Linux" from the list of supported _OSI strings. Linux no longer
6432wants to reply true to this request. The Windows strings are the only
6433paths
6434through the AML that are tested and known to work properly.
6435
6436 Previous Release:
6437 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
6438 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
6439 Current Release:
6440 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
6441 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
6442
64432) iASL Compiler/Disassembler and Tools:
6444
6445Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
6446and
6447aetables.c
6448
6449----------------------------------------
645020 February 2009. Summary of changes for version 20090220:
6451
64521) ACPI CA Core Subsystem:
6453
6454Optimized the ACPI register locking. Removed locking for reads from the
6455ACPI
6456bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
6457is
6458not required when reading the single-bit registers. The
6459AcpiGetRegisterUnlocked function is no longer needed and has been
6460removed.
6461This will improve performance for reads on these registers. ACPICA BZ
6462760.
6463
6464Fixed the parameter validation for AcpiRead/Write. Now return
6465AE_BAD_PARAMETER if the input register pointer is null, and
6466AE_BAD_ADDRESS
6467if
6468the register has an address of zero. Previously, these cases simply
6469returned
6470AE_OK. For optional registers such as PM1B status/enable/control, the
6471caller
6472should check for a valid register address before calling. ACPICA BZ 748.
6473
6474Renamed the external ACPI bit register access functions. Renamed
6475AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
6476functions. The new names are AcpiReadBitRegister and
6477AcpiWriteBitRegister.
6478Also, restructured the code for these functions by simplifying the code
6479path
6480and condensing duplicate code to reduce code size.
6481
6482Added new functions to transparently handle the possibly split PM1 A/B
6483registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
6484functions
6485now handle the split registers for PM1 Status, Enable, and Control.
6486ACPICA
6487BZ
6488746.
6489
6490Added a function to handle the PM1 control registers,
6491AcpiHwWritePm1Control.
6492This function writes both of the PM1 control registers (A/B). These
6493registers
6494are different than the PM1 A/B status and enable registers in that
6495different
6496values can be written to the A/B registers. Most notably, the SLP_TYP
6497bits
6498can be different, as per the values returned from the _Sx predefined
6499methods.
6500
6501Removed an extra register write within AcpiHwClearAcpiStatus. This
6502function
6503was writing an optional PM1B status register twice. The existing call to
6504the
6505low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
6506A/B
6507register. ACPICA BZ 751.
6508
6509Split out the PM1 Status registers from the FADT. Added new globals for
6510these
6511registers (A/B), similar to the way the PM1 Enable registers are handled.
6512Instead of overloading the FADT Event Register blocks. This makes the
6513code
6514clearer and less prone to error.
6515
6516Fixed the warning message for when the platform contains too many ACPI
6517tables
6518for the default size of the global root table data structure. The
6519calculation
6520for the truncation value was incorrect.
6521
6522Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
6523obsolete macro, since it is now a simple reference to ->common.type.
6524There
6525were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
6526
6527Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
6528TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
6529simply SLEEP_TYPE. ACPICA BZ 754.
6530
6531Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
6532function is only needed on 64-bit host operating systems and is thus not
6533included for 32-bit hosts.
6534
6535Debug output: print the input and result for invocations of the _OSI
6536reserved
6537control method via the ACPI_LV_INFO debug level. Also, reduced some of
6538the
6539verbosity of this debug level. Len Brown.
6540
6541Example Code and Data Size: These are the sizes for the OS-independent
6542acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6543debug version of the code includes the debug output trace mechanism and
6544has a
6545much larger code and data size.
6546
6547 Previous Release:
6548 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
6549 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
6550 Current Release:
6551 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
6552 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
6553
65542) iASL Compiler/Disassembler and Tools:
6555
6556Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
6557various legal performance profiles.
6558
6559----------------------------------------
656023 January 2009. Summary of changes for version 20090123:
6561
65621) ACPI CA Core Subsystem:
6563
6564Added the 2009 copyright to all module headers and signons. This affects
6565virtually every file in the ACPICA core subsystem, the iASL compiler, and
6566the tools/utilities.
6567
6568Implemented a change to allow the host to override any ACPI table,
6569including
6570dynamically loaded tables. Previously, only the DSDT could be replaced by
6571the
6572host. With this change, the AcpiOsTableOverride interface is called for
6573each
6574table found in the RSDT/XSDT during ACPICA initialization, and also
6575whenever
6576a table is dynamically loaded via the AML Load operator.
6577
6578Updated FADT flag definitions, especially the Boot Architecture flags.
6579
6580Debugger: For the Find command, automatically pad the input ACPI name
6581with
6582underscores if the name is shorter than 4 characters. This enables a
6583match
6584with the actual namespace entry which is itself padded with underscores.
6585
6586Example Code and Data Size: These are the sizes for the OS-independent
6587acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6588debug version of the code includes the debug output trace mechanism and
6589has a
6590much larger code and data size.
6591
6592 Previous Release:
6593 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
6594 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
6595 Current Release:
6596 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
6597 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
6598
65992) iASL Compiler/Disassembler and Tools:
6600
6601Fix build error under Bison-2.4.
6602
6603Dissasembler: Enhanced FADT support. Added decoding of the Boot
6604Architecture
6605flags. Now decode all flags, regardless of the FADT version. Flag output
6606includes the FADT version which first defined each flag.
6607
6608The iASL -g option now dumps the RSDT to a file (in addition to the FADT
6609and
6610DSDT). Windows only.
6611
6612----------------------------------------
661304 December 2008. Summary of changes for version 20081204:
6614
66151) ACPI CA Core Subsystem:
6616
6617The ACPICA Programmer Reference has been completely updated and revamped
6618for
6619this release. This includes updates to the external interfaces, OSL
6620interfaces, the overview sections, and the debugger reference.
6621
6622Several new ACPICA interfaces have been implemented and documented in the
6623programmer reference:
6624AcpiReset - Writes the reset value to the FADT-defined reset register.
6625AcpiDisableAllGpes - Disable all available GPEs.
6626AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
6627AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
6628AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
6629AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
6630AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
6631
6632Most of the public ACPI hardware-related interfaces have been moved to a
6633new
6634file, components/hardware/hwxface.c
6635
6636Enhanced the FADT parsing and low-level ACPI register access: The ACPI
6637register lengths within the FADT are now used, and the low level ACPI
6638register access no longer hardcodes the ACPI register lengths. Given that
6639there may be some risk in actually trusting the FADT register lengths, a
6640run-
6641time option was added to fall back to the default hardcoded lengths if
6642the
6643FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
6644option is set to true for now, and a warning is issued if a suspicious
6645FADT
6646register length is overridden with the default value.
6647
6648Fixed a reference count issue in NsRepairObject. This problem was
6649introduced
6650in version 20081031 as part of a fix to repair Buffer objects within
6651Packages. Lin Ming.
6652
6653Added semaphore support to the Linux/Unix application OS-services layer
6654(OSL). ACPICA BZ 448. Lin Ming.
6655
6656Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
6657will
6658be implemented in the OSL, or will binary semaphores be used instead.
6659
6660Example Code and Data Size: These are the sizes for the OS-independent
6661acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6662debug version of the code includes the debug output trace mechanism and
6663has a
6664much larger code and data size.
6665
6666 Previous Release:
6667 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
6668 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
6669 Current Release:
6670 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
6671 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
6672
66732) iASL Compiler/Disassembler and Tools:
6674
6675iASL: Completed the '-e' option to include additional ACPI tables in
6676order
6677to
6678aid with disassembly and External statement generation. ACPICA BZ 742.
6679Lin
6680Ming.
6681
6682iASL: Removed the "named object in while loop" error. The compiler cannot
6683determine how many times a loop will execute. ACPICA BZ 730.
6684
6685Disassembler: Implemented support for FADT revision 2 (MS extension).
6686ACPICA
6687BZ 743.
6688
6689Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
6690MCFG).
6691
6692----------------------------------------
669331 October 2008. Summary of changes for version 20081031:
6694
66951) ACPI CA Core Subsystem:
6696
6697Restructured the ACPICA header files into public/private. acpi.h now
6698includes
6699only the "public" acpica headers. All other acpica headers are "private"
6700and
6701should not be included by acpica users. One new file, accommon.h is used
6702to
6703include the commonly used private headers for acpica code generation.
6704Future
6705plans include moving all private headers to a new subdirectory.
6706
6707Implemented an automatic Buffer->String return value conversion for
6708predefined ACPI methods. For these methods (such as _BIF), added
6709automatic
6710conversion for return objects that are required to be a String, but a
6711Buffer
6712was found instead. This can happen when reading string battery data from
6713an
6714operation region, because it used to be difficult to convert the data
6715from
6716buffer to string from within the ASL. Ensures that the host OS is
6717provided
6718with a valid null-terminated string. Linux BZ 11822.
6719
6720Updated the FACS waking vector interfaces. Split
6721AcpiSetFirmwareWakingVector
6722into two: one for the 32-bit vector, another for the 64-bit vector. This
6723is
6724required because the host OS must setup the wake much differently for
6725each
6726vector (real vs. protected mode, etc.) and the interface itself should
6727not
6728be
6729deciding which vector to use. Also, eliminated the
6730GetFirmwareWakingVector
6731interface, as it served no purpose (only the firmware reads the vector,
6732OS
6733only writes the vector.) ACPICA BZ 731.
6734
6735Implemented a mechanism to escape infinite AML While() loops. Added a
6736loop
6737counter to force exit from AML While loops if the count becomes too
6738large.
6739This can occur in poorly written AML when the hardware does not respond
6740within a while loop and the loop does not implement a timeout. The
6741maximum
6742loop count is configurable. A new exception code is returned when a loop
6743is
6744broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
6745
6746Optimized the execution of AML While loops. Previously, a control state
6747object was allocated and freed for each execution of the loop. The
6748optimization is to simply reuse the control state for each iteration.
6749This
6750speeds up the raw loop execution time by about 5%.
6751
6752Enhanced the implicit return mechanism. For Windows compatibility, return
6753an
6754implicit integer of value zero for methods that contain no executable
6755code.
6756Such methods are seen in the field as stubs (presumably), and can cause
6757drivers to fail if they expect a return value. Lin Ming.
6758
6759Allow multiple backslashes as root prefixes in namepaths. In a fully
6760qualified namepath, allow multiple backslash prefixes. This can happen
6761(and
6762is seen in the field) because of the use of a double-backslash in strings
6763(since backslash is the escape character) causing confusion. ACPICA BZ
6764739
6765Lin Ming.
6766
6767Emit a warning if two different FACS or DSDT tables are discovered in the
6768FADT. Checks if there are two valid but different addresses for the FACS
6769and
6770DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
6771
6772Consolidated the method argument count validation code. Merged the code
6773that
6774validates control method argument counts into the predefined validation
6775module. Eliminates possible multiple warnings for incorrect argument
6776counts.
6777
6778Implemented ACPICA example code. Includes code for ACPICA initialization,
6779handler installation, and calling a control method. Available at
6780source/tools/examples.
6781
6782Added a global pointer for FACS table to simplify internal FACS access.
6783Use
6784the global pointer instead of using AcpiGetTableByIndex for each FACS
6785access.
6786This simplifies the code for the Global Lock and the Firmware Waking
6787Vector(s).
6788
6789Example Code and Data Size: These are the sizes for the OS-independent
6790acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6791debug version of the code includes the debug output trace mechanism and
6792has a
6793much larger code and data size.
6794
6795 Previous Release:
6796 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
6797 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
6798 Current Release:
6799 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
6800 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
6801
68022) iASL Compiler/Disassembler and Tools:
6803
6804iASL: Improved disassembly of external method calls. Added the -e option
6805to
6806allow the inclusion of additional ACPI tables to help with the
6807disassembly
6808of
6809method invocations and the generation of external declarations during the
6810disassembly. Certain external method invocations cannot be disassembled
6811properly without the actual declaration of the method. Use the -e option
6812to
6813include the table where the external method(s) are actually declared.
6814Most
6815useful for disassembling SSDTs that make method calls back to the master
6816DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
6817-d
6818-e dsdt.aml ssdt1.aml
6819
6820iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
6821problem where the use of an alias within a namepath would result in a not
6822found error or cause the compiler to fault. Also now allows forward
6823references from the Alias operator itself. ACPICA BZ 738.
6824
6825----------------------------------------
682626 September 2008. Summary of changes for version 20080926:
6827
68281) ACPI CA Core Subsystem:
6829
6830Designed and implemented a mechanism to validate predefined ACPI methods
6831and
6832objects. This code validates the predefined ACPI objects (objects whose
6833names
6834start with underscore) that appear in the namespace, at the time they are
6835evaluated. The argument count and the type of the returned object are
6836validated against the ACPI specification. The purpose of this validation
6837is
6838to detect problems with the BIOS-implemented predefined ACPI objects
6839before
6840the results are returned to the ACPI-related drivers. Future enhancements
6841may
6842include actual repair of incorrect return objects where possible. Two new
6843files are nspredef.c and acpredef.h.
6844
6845Fixed a fault in the AML parser if a memory allocation fails during the
6846Op
6847completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
6848
6849Fixed an issue with implicit return compatibility. This change improves
6850the
6851implicit return mechanism to be more compatible with the MS interpreter.
6852Lin
6853Ming, ACPICA BZ 349.
6854
6855Implemented support for zero-length buffer-to-string conversions. Allow
6856zero
6857length strings during interpreter buffer-to-string conversions. For
6858example,
6859during the ToDecimalString and ToHexString operators, as well as implicit
6860conversions. Fiodor Suietov, ACPICA BZ 585.
6861
6862Fixed two possible memory leaks in the error exit paths of
6863AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
6864are
6865similar in that they use a stack of state objects in order to eliminate
6866recursion. The stack must be fully unwound and deallocated if an error
6867occurs. Lin Ming. ACPICA BZ 383.
6868
6869Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
6870global
6871ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
6872Moore ACPICA BZ 442.
6873
6874Removed the obsolete version number in module headers. Removed the
6875"$Revision" number that appeared in each module header. This version
6876number
6877was useful under SourceSafe and CVS, but has no meaning under git. It is
6878not
6879only incorrect, it could also be misleading.
6880
6881Example Code and Data Size: These are the sizes for the OS-independent
6882acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6883debug version of the code includes the debug output trace mechanism and
6884has a
6885much larger code and data size.
6886
6887 Previous Release:
6888 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6889 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
6890 Current Release:
6891 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
6892 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
6893
6894----------------------------------------
689529 August 2008. Summary of changes for version 20080829:
6896
68971) ACPI CA Core Subsystem:
6898
6899Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
6900Reference. Changes include the elimination of cheating on the Object
6901field
6902for the DdbHandle subtype, addition of a reference class field to
6903differentiate the various reference types (instead of an AML opcode), and
6904the
6905cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
6906
6907Reduce an error to a warning for an incorrect method argument count.
6908Previously aborted with an error if too few arguments were passed to a
6909control method via the external ACPICA interface. Now issue a warning
6910instead
6911and continue. Handles the case where the method inadvertently declares
6912too
6913many arguments, but does not actually use the extra ones. Applies mainly
6914to
6915the predefined methods. Lin Ming. Linux BZ 11032.
6916
6917Disallow the evaluation of named object types with no intrinsic value.
6918Return
6919AE_TYPE for objects that have no value and therefore evaluation is
6920undefined:
6921Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
6922of
6923these types were allowed, but an exception would be generated at some
6924point
6925during the evaluation. Now, the error is generated up front.
6926
6927Fixed a possible memory leak in the AcpiNsGetExternalPathname function
6928(nsnames.c). Fixes a leak in the error exit path.
6929
6930Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
6931debug
6932levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
6933ACPI_EXCEPTION
6934interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
6935ACPI_LV_EVENTS.
6936
6937Removed obsolete and/or unused exception codes from the acexcep.h header.
6938There is the possibility that certain device drivers may be affected if
6939they
6940use any of these exceptions.
6941
6942The ACPICA documentation has been added to the public git source tree,
6943under
6944acpica/documents. Included are the ACPICA programmer reference, the iASL
6945compiler reference, and the changes.txt release logfile.
6946
6947Example Code and Data Size: These are the sizes for the OS-independent
6948acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6949debug version of the code includes the debug output trace mechanism and
6950has a
6951much larger code and data size.
6952
6953 Previous Release:
6954 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6955 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
6956 Current Release:
6957 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6958 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
6959
69602) iASL Compiler/Disassembler and Tools:
6961
6962Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
6963defines _SCP with 3 arguments. Previous versions defined it with only 1
6964argument. iASL now allows both definitions.
6965
6966iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
6967zero-
6968length subtables when disassembling ACPI tables. Also fixed a couple of
6969errors where a full 16-bit table type field was not extracted from the
6970input
6971properly.
6972
6973acpisrc: Improve comment counting mechanism for generating source code
6974statistics. Count first and last lines of multi-line comments as
6975whitespace,
6976not comment lines. Handle Linux legal header in addition to standard
6977acpica
6978header.
6979
6980----------------------------------------
6981
698229 July 2008. Summary of changes for version 20080729:
6983
69841) ACPI CA Core Subsystem:
6985
6986Fix a possible deadlock in the GPE dispatch. Remove call to
6987AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
6988attempt
6989to acquire the GPE lock but can deadlock since the GPE lock is already
6990held
6991at dispatch time. This code was introduced in version 20060831 as a
6992response
6993to Linux BZ 6881 and has since been removed from Linux.
6994
6995Add a function to dereference returned reference objects. Examines the
6996return
6997object from a call to AcpiEvaluateObject. Any Index or RefOf references
6998are
6999automatically dereferenced in an attempt to return something useful
7000(these
7001reference types cannot be converted into an external ACPI_OBJECT.)
7002Provides
7003MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
7004
7005x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
7006subtables for the MADT and one new subtable for the SRAT. Includes
7007disassembler and AcpiSrc support. Data from the Intel 64 Architecture
7008x2APIC
7009Specification, June 2008.
7010
7011Additional error checking for pathname utilities. Add error check after
7012all
7013calls to AcpiNsGetPathnameLength. Add status return from
7014AcpiNsBuildExternalPath and check after all calls. Add parameter
7015validation
7016to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
7017
7018Return status from the global init function AcpiUtGlobalInitialize. This
7019is
7020used by both the kernel subsystem and the utilities such as iASL
7021compiler.
7022The function could possibly fail when the caches are initialized. Yang
7023Yi.
7024
7025Add a function to decode reference object types to strings. Created for
7026improved error messages.
7027
7028Improve object conversion error messages. Better error messages during
7029object
7030conversion from internal to the external ACPI_OBJECT. Used for external
7031calls
7032to AcpiEvaluateObject.
7033
7034Example Code and Data Size: These are the sizes for the OS-independent
7035acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7036debug version of the code includes the debug output trace mechanism and
7037has a
7038much larger code and data size.
7039
7040 Previous Release:
7041 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
7042 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
7043 Current Release:
7044 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7045 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
7046
70472) iASL Compiler/Disassembler and Tools:
7048
7049Debugger: fix a possible hang when evaluating non-methods. Fixes a
7050problem
7051introduced in version 20080701. If the object being evaluated (via
7052execute
7053command) is not a method, the debugger can hang while trying to obtain
7054non-
7055existent parameters.
7056
7057iASL: relax error for using reserved "_T_x" identifiers. These names can
7058appear in a disassembled ASL file if they were emitted by the original
7059compiler. Instead of issuing an error or warning and forcing the user to
7060manually change these names, issue a remark instead.
7061
7062iASL: error if named object created in while loop. Emit an error if any
7063named
7064object is created within a While loop. If allowed, this code will
7065generate
7066a
7067run-time error on the second iteration of the loop when an attempt is
7068made
7069to
7070create the same named object twice. ACPICA bugzilla 730.
7071
7072iASL: Support absolute pathnames for include files. Add support for
7073absolute
7074pathnames within the Include operator. previously, only relative
7075pathnames
7076were supported.
7077
7078iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
7079Descriptor.
7080The ACPI spec requires one interrupt minimum. BZ 423
7081
7082iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
7083Handles the case for the Interrupt Resource Descriptor where
7084the ResourceSource argument is omitted but ResourceSourceIndex
7085is present. Now leave room for the Index. BZ 426
7086
7087iASL: Prevent error message if CondRefOf target does not exist. Fixes
7088cases
7089where an error message is emitted if the target does not exist. BZ 516
7090
7091iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
7092(get ACPI tables on Windows). This was apparently broken in version
709320070919.
7094
7095AcpiXtract: Handle EOF while extracting data. Correctly handle the case
7096where
7097the EOF happens immediately after the last table in the input file. Print
7098completion message. Previously, no message was displayed in this case.
7099
7100----------------------------------------
710101 July 2008. Summary of changes for version 20080701:
7102
71030) Git source tree / acpica.org
7104
7105Fixed a problem where a git-clone from http would not transfer the entire
7106source tree.
7107
71081) ACPI CA Core Subsystem:
7109
7110Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
7111enable bit. Now performs a read-change-write of the enable register
7112instead
7113of simply writing out the cached enable mask. This will prevent
7114inadvertent
7115enabling of GPEs if a rogue GPE is received during initialization (before
7116GPE
7117handlers are installed.)
7118
7119Implemented a copy for dynamically loaded tables. Previously, dynamically
7120loaded tables were simply mapped - but on some machines this memory is
7121corrupted after suspend. Now copy the table to a local buffer. For the
7122OpRegion case, added checksum verify. Use the table length from the table
7123header, not the region length. For the Buffer case, use the table length
7124also. Dennis Noordsij, Bob Moore. BZ 10734
7125
7126Fixed a problem where the same ACPI table could not be dynamically loaded
7127and
7128unloaded more than once. Without this change, a table cannot be loaded
7129again
7130once it has been loaded/unloaded one time. The current mechanism does not
7131unregister a table upon an unload. During a load, if the same table is
7132found,
7133this no longer returns an exception. BZ 722
7134
7135Fixed a problem where the wrong descriptor length was calculated for the
7136EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
7137EndTag
7138are calculated as 12 bytes long, but the actual length in the internal
7139descriptor is 16 because of the round-up to 8 on the 64-bit build.
7140Reported
7141by Linn Crosetto. BZ 728
7142
7143Fixed a possible memory leak in the Unload operator. The DdbHandle
7144returned
7145by Load() did not have its reference count decremented during unload,
7146leading
7147to a memory leak. Lin Ming. BZ 727
7148
7149Fixed a possible memory leak when deleting thermal/processor objects. Any
7150associated notify handlers (and objects) were not being deleted. Fiodor
7151Suietov. BZ 506
7152
7153Fixed the ordering of the ASCII names in the global mutex table to match
7154the
7155actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
7156only.
7157Vegard Nossum. BZ 726
7158
7159Enhanced the AcpiGetObjectInfo interface to return the number of required
7160arguments if the object is a control method. Added this call to the
7161debugger
7162so the proper number of default arguments are passed to a method. This
7163prevents a warning when executing methods from AcpiExec.
7164
7165Added a check for an invalid handle in AcpiGetObjectInfo. Return
7166AE_BAD_PARAMETER if input handle is invalid. BZ 474
7167
7168Fixed an extraneous warning from exconfig.c on the 64-bit build.
7169
7170Example Code and Data Size: These are the sizes for the OS-independent
7171acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7172debug version of the code includes the debug output trace mechanism and
7173has a
7174much larger code and data size.
7175
7176 Previous Release:
7177 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
7178 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
7179 Current Release:
7180 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
7181 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
7182
71832) iASL Compiler/Disassembler and Tools:
7184
7185iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
7186resource descriptor names.
7187
7188iASL: Detect invalid ASCII characters in input (windows version). Removed
7189the
7190"-CF" flag from the flex compile, enables correct detection of non-ASCII
7191characters in the input. BZ 441
7192
7193iASL: Eliminate warning when result of LoadTable is not used. Eliminate
7194the
7195"result of operation not used" warning when the DDB handle returned from
7196LoadTable is not used. The warning is not needed. BZ 590
7197
7198AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
7199method
7200to
7201pass address of table to the AML. Added option to disable OpRegion
7202simulation
7203to allow creation of an OpRegion with a real address that was passed to
7204_CFG.
7205All of this allows testing of the Load and Unload operators from
7206AcpiExec.
7207
7208Debugger: update tables command for unloaded tables. Handle unloaded
7209tables
7210and use the standard table header output routine.
7211
7212----------------------------------------
721309 June 2008. Summary of changes for version 20080609:
7214
72151) ACPI CA Core Subsystem:
7216
7217Implemented a workaround for reversed _PRT entries. A significant number
7218of
7219BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
7220change dynamically detects and repairs this problem. Provides
7221compatibility
7222with MS ACPI. BZ 6859
7223
7224Simplified the internal ACPI hardware interfaces to eliminate the locking
7225flag parameter from Register Read/Write. Added a new external interface,
7226AcpiGetRegisterUnlocked.
7227
7228Fixed a problem where the invocation of a GPE control method could hang.
7229This
7230was a regression introduced in 20080514. The new method argument count
7231validation mechanism can enter an infinite loop when a GPE method is
7232dispatched. Problem fixed by removing the obsolete code that passed GPE
7233block
7234information to the notify handler via the control method parameter
7235pointer.
7236
7237Fixed a problem where the _SST execution status was incorrectly returned
7238to
7239the caller of AcpiEnterSleepStatePrep. This was a regression introduced
7240in
724120080514. _SST is optional and a NOT_FOUND exception should never be
7242returned. BZ 716
7243
7244Fixed a problem where a deleted object could be accessed from within the
7245AML
7246parser. This was a regression introduced in version 20080123 as a fix for
7247the
7248Unload operator. Lin Ming. BZ 10669
7249
7250Cleaned up the debug operand dump mechanism. Eliminated unnecessary
7251operands
7252and eliminated the use of a negative index in a loop. Operands are now
7253displayed in the correct order, not backwards. This also fixes a
7254regression
7255introduced in 20080514 on 64-bit systems where the elimination of
7256ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
7257715
7258
7259Fixed a possible memory leak in EvPciConfigRegionSetup where the error
7260exit
7261path did not delete a locally allocated structure.
7262
7263Updated definitions for the DMAR and SRAT tables to synchronize with the
7264current specifications. Includes disassembler support.
7265
7266Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
7267loop termination value was used. Loop terminated on iteration early,
7268missing
7269one mutex. Linn Crosetto
7270
7271Example Code and Data Size: These are the sizes for the OS-independent
7272acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7273debug version of the code includes the debug output trace mechanism and
7274has a
7275much larger code and data size.
7276
7277 Previous Release:
7278 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
7279 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
7280 Current Release:
7281 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
7282 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
7283
72842) iASL Compiler/Disassembler and Tools:
7285
7286Disassembler: Implemented support for EisaId() within _CID objects. Now
7287disassemble integer _CID objects back to EisaId invocations, including
7288multiple integers within _CID packages. Includes single-step support for
7289debugger also.
7290
7291Disassembler: Added support for DMAR and SRAT table definition changes.
7292
7293----------------------------------------
729414 May 2008. Summary of changes for version 20080514:
7295
72961) ACPI CA Core Subsystem:
7297
7298Fixed a problem where GPEs were enabled too early during the ACPICA
7299initialization. This could lead to "handler not installed" errors on some
7300machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
7301This
7302ensures that all operation regions and devices throughout the namespace
7303have
7304been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
7305
7306Implemented a change to the enter sleep code. Moved execution of the _GTS
7307method to just before setting sleep enable bit. The execution was moved
7308from
7309AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
7310immediately before the SLP_EN bit is set, as per the ACPI specification.
7311Luming Yu, BZ 1653.
7312
7313Implemented a fix to disable unknown GPEs (2nd version). Now always
7314disable
7315the GPE, even if ACPICA thinks that that it is already disabled. It is
7316possible that the AML or some other code has enabled the GPE unbeknownst
7317to
7318the ACPICA code.
7319
7320Fixed a problem with the Field operator where zero-length fields would
7321return
7322an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
7323ASL
7324field declarations in Field(), BankField(), and IndexField(). BZ 10606.
7325
7326Implemented a fix for the Load operator, now load the table at the
7327namespace
7328root. This reverts a change introduced in version 20071019. The table is
7329now
7330loaded at the namespace root even though this goes against the ACPI
7331specification. This provides compatibility with other ACPI
7332implementations.
7333The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
7334Ming.
7335
7336Fixed a problem where ACPICA would not Load() tables with unusual
7337signatures.
7338Now ignore ACPI table signature for Load() operator. Only "SSDT" is
7339acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
7340Therefore, signature validation is worthless. Apparently MS ACPI accepts
7341such
7342signatures, ACPICA must be compatible. BZ 10454.
7343
7344Fixed a possible negative array index in AcpiUtValidateException. Added
7345NULL
7346fields to the exception string arrays to eliminate a -1 subtraction on
7347the
7348SubStatus field.
7349
7350Updated the debug tracking macros to reduce overall code and data size.
7351Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
7352instead of pointers to static strings. Jan Beulich and Bob Moore.
7353
7354Implemented argument count checking in control method invocation via
7355AcpiEvaluateObject. Now emit an error if too few arguments, warning if
7356too
7357many. This applies only to extern programmatic control method execution,
7358not
7359method-to-method calls within the AML. Lin Ming.
7360
7361Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
7362no
7363longer needed, especially with the removal of 16-bit support. It was
7364replaced
7365mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
7366bit
7367on
736832/64-bit platforms is required.
7369
7370Added the C const qualifier for appropriate string constants -- mostly
7371MODULE_NAME and printf format strings. Jan Beulich.
7372
7373Example Code and Data Size: These are the sizes for the OS-independent
7374acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7375debug version of the code includes the debug output trace mechanism and
7376has a
7377much larger code and data size.
7378
7379 Previous Release:
7380 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
7381 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
7382 Current Release:
7383 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
7384 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
7385
73862) iASL Compiler/Disassembler and Tools:
7387
7388Implemented ACPI table revision ID validation in the disassembler. Zero
7389is
7390always invalid. For DSDTs, the ID controls the interpreter integer width.
73911
7392means 32-bit and this is unusual. 2 or greater is 64-bit.
7393
7394----------------------------------------
739521 March 2008. Summary of changes for version 20080321:
7396
73971) ACPI CA Core Subsystem:
7398
7399Implemented an additional change to the GPE support in order to suppress
7400spurious or stray GPEs. The AcpiEvDisableGpe function will now
7401permanently
7402disable incoming GPEs that are neither enabled nor disabled -- meaning
7403that
7404the GPE is unknown to the system. This should prevent future interrupt
7405floods
7406from that GPE. BZ 6217 (Zhang Rui)
7407
7408Fixed a problem where NULL package elements were not returned to the
7409AcpiEvaluateObject interface correctly. The element was simply ignored
7410instead of returning a NULL ACPI_OBJECT package element, potentially
7411causing
7412a buffer overflow and/or confusing the caller who expected a fixed number
7413of
7414elements. BZ 10132 (Lin Ming, Bob Moore)
7415
7416Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
7417Dword,
7418Qword), Field, BankField, and IndexField operators when invoked from
7419inside
7420an executing control method. In this case, these operators created
7421namespace
7422nodes that were incorrectly left marked as permanent nodes instead of
7423temporary nodes. This could cause a problem if there is race condition
7424between an exiting control method and a running namespace walk. (Reported
7425by
7426Linn Crosetto)
7427
7428Fixed a problem where the CreateField and CreateXXXField operators would
7429incorrectly allow duplicate names (the name of the field) with no
7430exception
7431generated.
7432
7433Implemented several changes for Notify handling. Added support for new
7434Notify
7435values (ACPI 2.0+) and improved the Notify debug output. Notify on
7436PowerResource objects is no longer allowed, as per the ACPI
7437specification.
7438(Bob Moore, Zhang Rui)
7439
7440All Reference Objects returned via the AcpiEvaluateObject interface are
7441now
7442marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
7443for
7444NULL objects - either NULL package elements or unresolved named
7445references.
7446
7447Fixed a problem where an extraneous debug message was produced for
7448package
7449objects (when debugging enabled). The message "Package List length larger
7450than NumElements count" is now produced in the correct case, and is now
7451an
7452error message rather than a debug message. Added a debug message for the
7453opposite case, where NumElements is larger than the Package List (the
7454package
7455will be padded out with NULL elements as per the ACPI spec.)
7456
7457Implemented several improvements for the output of the ASL "Debug" object
7458to
7459clarify and keep all data for a given object on one output line.
7460
7461Fixed two size calculation issues with the variable-length Start
7462Dependent
7463resource descriptor.
7464
7465Example Code and Data Size: These are the sizes for the OS-independent
7466acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7467debug version of the code includes the debug output trace mechanism and
7468has
7469a much larger code and data size.
7470
7471 Previous Release:
7472 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
7473 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
7474 Current Release:
7475 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
7476 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
7477
74782) iASL Compiler/Disassembler and Tools:
7479
7480Fixed a problem with the use of the Switch operator where execution of
7481the
7482containing method by multiple concurrent threads could cause an
7483AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
7484actual Switch opcode, it must be simulated with local named temporary
7485variables and if/else pairs. The solution chosen was to mark any method
7486that
7487uses Switch as Serialized, thus preventing multiple thread entries. BZ
7488469.
7489
7490----------------------------------------
749113 February 2008. Summary of changes for version 20080213:
7492
74931) ACPI CA Core Subsystem:
7494
7495Implemented another MS compatibility design change for GPE/Notify
7496handling.
7497GPEs are now cleared/enabled asynchronously to allow all pending notifies
7498to
7499complete first. It is expected that the OSL will queue the enable request
7500behind all pending notify requests (may require changes to the local host
7501OSL
7502in AcpiOsExecute). Alexey Starikovskiy.
7503
7504Fixed a problem where buffer and package objects passed as arguments to a
7505control method via the external AcpiEvaluateObject interface could cause
7506an
7507AE_AML_INTERNAL exception depending on the order and type of operators
7508executed by the target control method.
7509
7510Fixed a problem where resource descriptor size optimization could cause a
7511problem when a _CRS resource template is passed to a _SRS method. The
7512_SRS
7513resource template must use the same descriptors (with the same size) as
7514returned from _CRS. This change affects the following resource
7515descriptors:
7516IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
75179487)
7518
7519Fixed a problem where a CopyObject to RegionField, BankField, and
7520IndexField
7521objects did not perform an implicit conversion as it should. These types
7522must
7523retain their initial type permanently as per the ACPI specification.
7524However,
7525a CopyObject to all other object types should not perform an implicit
7526conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
7527
7528Fixed a problem with the AcpiGetDevices interface where the mechanism to
7529match device CIDs did not examine the entire list of available CIDs, but
7530instead aborted on the first non-matching CID. Andrew Patterson.
7531
7532Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
7533was
7534inadvertently changed to return a 16-bit value instead of a 32-bit value,
7535truncating the upper dword of a 64-bit value. This macro is only used to
7536display debug output, so no incorrect calculations were made. Also,
7537reimplemented the macro so that a 64-bit shift is not performed by
7538inefficient compilers.
7539
7540Added missing va_end statements that should correspond with each va_start
7541statement.
7542
7543Example Code and Data Size: These are the sizes for the OS-independent
7544acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7545debug version of the code includes the debug output trace mechanism and
7546has
7547a much larger code and data size.
7548
7549 Previous Release:
7550 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
7551 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
7552 Current Release:
7553 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
7554 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
7555
75562) iASL Compiler/Disassembler and Tools:
7557
7558Implemented full disassembler support for the following new ACPI tables:
7559BERT, EINJ, and ERST. Implemented partial disassembler support for the
7560complicated HEST table. These tables support the Windows Hardware Error
7561Architecture (WHEA).
7562
7563----------------------------------------
756423 January 2008. Summary of changes for version 20080123:
7565
75661) ACPI CA Core Subsystem:
7567
7568Added the 2008 copyright to all module headers and signons. This affects
7569virtually every file in the ACPICA core subsystem, the iASL compiler, and
7570the tools/utilities.
7571
7572Fixed a problem with the SizeOf operator when used with Package and
7573Buffer
7574objects. These objects have deferred execution for some arguments, and
7575the
7576execution is now completed before the SizeOf is executed. This problem
7577caused
7578unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
7579BZ
75809558
7581
7582Implemented an enhancement to the interpreter "slack mode". In the
7583absence
7584of
7585an explicit return or an implicitly returned object from the last
7586executed
7587opcode, a control method will now implicitly return an integer of value 0
7588for
7589Microsoft compatibility. (Lin Ming) BZ 392
7590
7591Fixed a problem with the Load operator where an exception was not
7592returned
7593in
7594the case where the table is already loaded. (Lin Ming) BZ 463
7595
7596Implemented support for the use of DDBHandles as an Indexed Reference, as
7597per
7598the ACPI spec. (Lin Ming) BZ 486
7599
7600Implemented support for UserTerm (Method invocation) for the Unload
7601operator
7602as per the ACPI spec. (Lin Ming) BZ 580
7603
7604Fixed a problem with the LoadTable operator where the OemId and
7605OemTableId
7606input strings could cause unexpected failures if they were shorter than
7607the
7608maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
7609
7610Implemented support for UserTerm (Method invocation) for the Unload
7611operator
7612as per the ACPI spec. (Lin Ming) BZ 580
7613
7614Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
7615HEST,
7616IBFT, UEFI, WDAT. Disassembler support is forthcoming.
7617
7618Example Code and Data Size: These are the sizes for the OS-independent
7619acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7620debug version of the code includes the debug output trace mechanism and
7621has
7622a much larger code and data size.
7623
7624 Previous Release:
7625 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
7626 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
7627 Current Release:
7628 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
7629 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
7630
76312) iASL Compiler/Disassembler and Tools:
7632
7633Implemented support in the disassembler for checksum validation on
7634incoming
7635binary DSDTs and SSDTs. If incorrect, a message is displayed within the
7636table
7637header dump at the start of the disassembly.
7638
7639Implemented additional debugging information in the namespace listing
7640file
7641created during compilation. In addition to the namespace hierarchy, the
7642full
7643pathname to each namespace object is displayed.
7644
7645Fixed a problem with the disassembler where invalid ACPI tables could
7646cause
7647faults or infinite loops.
7648
7649Fixed an unexpected parse error when using the optional "parameter types"
7650list in a control method declaration. (Lin Ming) BZ 397
7651
7652Fixed a problem where two External declarations with the same name did
7653not
7654cause an error (Lin Ming) BZ 509
7655
7656Implemented support for full TermArgs (adding Argx, Localx and method
7657invocation) for the ParameterData parameter to the LoadTable operator.
7658(Lin
7659Ming) BZ 583,587
7660
7661----------------------------------------
766219 December 2007. Summary of changes for version 20071219:
7663
76641) ACPI CA Core Subsystem:
7665
7666Implemented full support for deferred execution for the TermArg string
7667arguments for DataTableRegion. This enables forward references and full
7668operand resolution for the three string arguments. Similar to
7669OperationRegion
7670deferred argument execution.) Lin Ming. BZ 430
7671
7672Implemented full argument resolution support for the BankValue argument
7673to
7674BankField. Previously, only constants were supported, now any TermArg may
7675be
7676used. Lin Ming BZ 387, 393
7677
7678Fixed a problem with AcpiGetDevices where the search of a branch of the
7679device tree could be terminated prematurely. In accordance with the ACPI
7680specification, the search down the current branch is terminated if a
7681device
7682is both not present and not functional (instead of just not present.)
7683Yakui
7684Zhao.
7685
7686Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
7687if
7688the underlying AML code changed the GPE enable registers. Now, any
7689unknown
7690incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
7691disabled
7692instead of simply ignored. Rui Zhang.
7693
7694Fixed a problem with Index Fields where the Index register was
7695incorrectly
7696limited to a maximum of 32 bits. Now any size may be used.
7697
7698Fixed a couple memory leaks associated with "implicit return" objects
7699when
7700the AML Interpreter slack mode is enabled. Lin Ming BZ 349
7701
7702Example Code and Data Size: These are the sizes for the OS-independent
7703acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7704debug version of the code includes the debug output trace mechanism and
7705has
7706a much larger code and data size.
7707
7708 Previous Release:
7709 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
7710 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
7711 Current Release:
7712 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
7713 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
7714
7715----------------------------------------
771614 November 2007. Summary of changes for version 20071114:
7717
77181) ACPI CA Core Subsystem:
7719
7720Implemented event counters for each of the Fixed Events, the ACPI SCI
7721(interrupt) itself, and control methods executed. Named
7722AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
7723These
7724should be useful for debugging and statistics.
7725
7726Implemented a new external interface, AcpiGetStatistics, to retrieve the
7727contents of the various event counters. Returns the current values for
7728AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
7729AcpiMethodCount. The interface can be expanded in the future if new
7730counters
7731are added. Device drivers should use this interface rather than access
7732the
7733counters directly.
7734
7735Fixed a problem with the FromBCD and ToBCD operators. With some
7736compilers,
7737the ShortDivide function worked incorrectly, causing problems with the
7738BCD
7739functions with large input values. A truncation from 64-bit to 32-bit
7740inadvertently occurred. Internal BZ 435. Lin Ming
7741
7742Fixed a problem with Index references passed as method arguments.
7743References
7744passed as arguments to control methods were dereferenced immediately
7745(before
7746control was passed to the called method). The references are now
7747correctly
7748passed directly to the called method. BZ 5389. Lin Ming
7749
7750Fixed a problem with CopyObject used in conjunction with the Index
7751operator.
7752The reference was incorrectly dereferenced before the copy. The reference
7753is
7754now correctly copied. BZ 5391. Lin Ming
7755
7756Fixed a problem with Control Method references within Package objects.
7757These
7758references are now correctly generated. This completes the package
7759construction overhaul that began in version 20071019.
7760
7761Example Code and Data Size: These are the sizes for the OS-independent
7762acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7763debug version of the code includes the debug output trace mechanism and
7764has
7765a much larger code and data size.
7766
7767 Previous Release:
7768 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
7769 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
7770 Current Release:
7771 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
7772 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
7773
7774
77752) iASL Compiler/Disassembler and Tools:
7776
7777The AcpiExec utility now installs handlers for all of the predefined
7778Operation Region types. New types supported are: PCI_Config, CMOS, and
7779PCIBARTarget.
7780
7781Fixed a problem with the 64-bit version of AcpiExec where the extended
7782(64-
7783bit) address fields for the DSDT and FACS within the FADT were not being
7784used, causing truncation of the upper 32-bits of these addresses. Lin
7785Ming
7786and Bob Moore
7787
7788----------------------------------------
778919 October 2007. Summary of changes for version 20071019:
7790
77911) ACPI CA Core Subsystem:
7792
7793Fixed a problem with the Alias operator when the target of the alias is a
7794named ASL operator that opens a new scope -- Scope, Device,
7795PowerResource,
7796Processor, and ThermalZone. In these cases, any children of the original
7797operator could not be accessed via the alias, potentially causing
7798unexpected
7799AE_NOT_FOUND exceptions. (BZ 9067)
7800
7801Fixed a problem with the Package operator where all named references were
7802created as object references and left otherwise unresolved. According to
7803the
7804ACPI specification, a Package can only contain Data Objects or references
7805to
7806control methods. The implication is that named references to Data Objects
7807(Integer, Buffer, String, Package, BufferField, Field) should be resolved
7808immediately upon package creation. This is the approach taken with this
7809change. References to all other named objects (Methods, Devices, Scopes,
7810etc.) are all now properly created as reference objects. (BZ 5328)
7811
7812Reverted a change to Notify handling that was introduced in version
781320070508. This version changed the Notify handling from asynchronous to
7814fully synchronous (Device driver Notify handling with respect to the
7815Notify
7816ASL operator). It was found that this change caused more problems than it
7817solved and was removed by most users.
7818
7819Fixed a problem with the Increment and Decrement operators where the type
7820of
7821the target object could be unexpectedly and incorrectly changed. (BZ 353)
7822Lin Ming.
7823
7824Fixed a problem with the Load and LoadTable operators where the table
7825location within the namespace was ignored. Instead, the table was always
7826loaded into the root or current scope. Lin Ming.
7827
7828Fixed a problem with the Load operator when loading a table from a buffer
7829object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
7830
7831Fixed a problem with the Debug object where a store of a DdbHandle
7832reference
7833object to the Debug object could cause a fault.
7834
7835Added a table checksum verification for the Load operator, in the case
7836where
7837the load is from a buffer. (BZ 578).
7838
7839Implemented additional parameter validation for the LoadTable operator.
7840The
7841length of the input strings SignatureString, OemIdString, and OemTableId
7842are
7843now checked for maximum lengths. (BZ 582) Lin Ming.
7844
7845Example Code and Data Size: These are the sizes for the OS-independent
7846acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7847debug version of the code includes the debug output trace mechanism and
7848has
7849a much larger code and data size.
7850
7851 Previous Release:
7852 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
7853 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
7854 Current Release:
7855 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
7856 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
7857
7858
78592) iASL Compiler/Disassembler:
7860
7861Fixed a problem where if a single file was specified and the file did not
7862exist, no error message was emitted. (Introduced with wildcard support in
7863version 20070917.)
7864
7865----------------------------------------
786619 September 2007. Summary of changes for version 20070919:
7867
78681) ACPI CA Core Subsystem:
7869
7870Designed and implemented new external interfaces to install and remove
7871handlers for ACPI table-related events. Current events that are defined
7872are
7873LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
7874they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
7875AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
7876
7877Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
7878(acpi_serialized option on Linux) could cause some systems to hang during
7879initialization. (Bob Moore) BZ 8171
7880
7881Fixed a problem where objects of certain types (Device, ThermalZone,
7882Processor, PowerResource) can be not found if they are declared and
7883referenced from within the same control method (Lin Ming) BZ 341
7884
7885Example Code and Data Size: These are the sizes for the OS-independent
7886acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7887debug version of the code includes the debug output trace mechanism and
7888has
7889a much larger code and data size.
7890
7891 Previous Release:
7892 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
7893 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
7894 Current Release:
7895 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
7896 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
7897
7898
78992) iASL Compiler/Disassembler:
7900
7901Implemented support to allow multiple files to be compiled/disassembled
7902in
7903a
7904single invocation. This includes command line wildcard support for both
7905the
7906Windows and Unix versions of the compiler. This feature simplifies the
7907disassembly and compilation of multiple ACPI tables in a single
7908directory.
7909
7910----------------------------------------
791108 May 2007. Summary of changes for version 20070508:
7912
79131) ACPI CA Core Subsystem:
7914
7915Implemented a Microsoft compatibility design change for the handling of
7916the
7917Notify AML operator. Previously, notify handlers were dispatched and
7918executed completely asynchronously in a deferred thread. The new design
7919still executes the notify handlers in a different thread, but the
7920original
7921thread that executed the Notify() now waits at a synchronization point
7922for
7923the notify handler to complete. Some machines depend on a synchronous
7924Notify
7925operator in order to operate correctly.
7926
7927Implemented support to allow Package objects to be passed as method
7928arguments to the external AcpiEvaluateObject interface. Previously, this
7929would return the AE_NOT_IMPLEMENTED exception. This feature had not been
7930implemented since there were no reserved control methods that required it
7931until recently.
7932
7933Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
7934that
7935contained invalid non-zero values in reserved fields could cause later
7936failures because these fields have meaning in later revisions of the
7937FADT.
7938For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
7939fields
7940are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
7941
7942Fixed a problem where the Global Lock handle was not properly updated if
7943a
7944thread that acquired the Global Lock via executing AML code then
7945attempted
7946to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
7947Joe
7948Liu.
7949
7950Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
7951could be corrupted if the interrupt being removed was at the head of the
7952list. Reported by Linn Crosetto.
7953
7954Example Code and Data Size: These are the sizes for the OS-independent
7955acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7956debug version of the code includes the debug output trace mechanism and
7957has
7958a much larger code and data size.
7959
7960 Previous Release:
7961 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
7962 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
7963 Current Release:
7964 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
7965 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
7966
7967----------------------------------------
796820 March 2007. Summary of changes for version 20070320:
7969
79701) ACPI CA Core Subsystem:
7971
7972Implemented a change to the order of interpretation and evaluation of AML
7973operand objects within the AML interpreter. The interpreter now evaluates
7974operands in the order that they appear in the AML stream (and the
7975corresponding ASL code), instead of in the reverse order (after the
7976entire
7977operand list has been parsed). The previous behavior caused several
7978subtle
7979incompatibilities with the Microsoft AML interpreter as well as being
7980somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
7981
7982Implemented a change to the ACPI Global Lock support. All interfaces to
7983the
7984global lock now allow the same thread to acquire the lock multiple times.
7985This affects the AcpiAcquireGlobalLock external interface to the global
7986lock
7987as well as the internal use of the global lock to support AML fields -- a
7988control method that is holding the global lock can now simultaneously
7989access
7990AML fields that require global lock protection. Previously, in both
7991cases,
7992this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
7993to
7994AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
7995Controller. There is no change to the behavior of the AML Acquire
7996operator,
7997as this can already be used to acquire a mutex multiple times by the same
7998thread. BZ 8066. With assistance from Alexey Starikovskiy.
7999
8000Fixed a problem where invalid objects could be referenced in the AML
8001Interpreter after error conditions. During operand evaluation, ensure
8002that
8003the internal "Return Object" field is cleared on error and only valid
8004pointers are stored there. Caused occasional access to deleted objects
8005that
8006resulted in "large reference count" warning messages. Valery Podrezov.
8007
8008Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
8009on
8010deeply nested control method invocations. BZ 7873, local BZ 487. Valery
8011Podrezov.
8012
8013Fixed an internal problem with the handling of result objects on the
8014interpreter result stack. BZ 7872. Valery Podrezov.
8015
8016Removed obsolete code that handled the case where AML_NAME_OP is the
8017target
8018of a reference (Reference.Opcode). This code was no longer necessary. BZ
80197874. Valery Podrezov.
8020
8021Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
8022was
8023a
8024remnant from the previously discontinued 16-bit support.
8025
8026Example Code and Data Size: These are the sizes for the OS-independent
8027acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8028debug version of the code includes the debug output trace mechanism and
8029has
8030a much larger code and data size.
8031
8032 Previous Release:
8033 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8034 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8035 Current Release:
8036 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8037 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
8038
8039----------------------------------------
804026 January 2007. Summary of changes for version 20070126:
8041
80421) ACPI CA Core Subsystem:
8043
8044Added the 2007 copyright to all module headers and signons. This affects
8045virtually every file in the ACPICA core subsystem, the iASL compiler, and
8046the utilities.
8047
8048Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
8049during a table load. A bad pointer was passed in the case where the DSDT
8050is
8051overridden, causing a fault in this case.
8052
8053Example Code and Data Size: These are the sizes for the OS-independent
8054acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8055debug version of the code includes the debug output trace mechanism and
8056has
8057a much larger code and data size.
8058
8059 Previous Release:
8060 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8061 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8062 Current Release:
8063 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8064 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8065
8066----------------------------------------
806715 December 2006. Summary of changes for version 20061215:
8068
80691) ACPI CA Core Subsystem:
8070
8071Support for 16-bit ACPICA has been completely removed since it is no
8072longer
8073necessary and it clutters the code. All 16-bit macros, types, and
8074conditional compiles have been removed, cleaning up and simplifying the
8075code
8076across the entire subsystem. DOS support is no longer needed since the
8077bootable Linux firmware kit is now available.
8078
8079The handler for the Global Lock is now removed during AcpiTerminate to
8080enable a clean subsystem restart, via the implementation of the
8081AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
8082HP)
8083
8084Implemented enhancements to the multithreading support within the
8085debugger
8086to enable improved multithreading debugging and evaluation of the
8087subsystem.
8088(Valery Podrezov)
8089
8090Debugger: Enhanced the Statistics/Memory command to emit the total
8091(maximum)
8092memory used during the execution, as well as the maximum memory consumed
8093by
8094each of the various object types. (Valery Podrezov)
8095
8096Example Code and Data Size: These are the sizes for the OS-independent
8097acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8098debug version of the code includes the debug output trace mechanism and
8099has
8100a much larger code and data size.
8101
8102 Previous Release:
8103 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
8104 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
8105 Current Release:
8106 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8107 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8108
8109
81102) iASL Compiler/Disassembler and Tools:
8111
8112AcpiExec: Implemented a new option (-m) to display full memory use
8113statistics upon subsystem/program termination. (Valery Podrezov)
8114
8115----------------------------------------
811609 November 2006. Summary of changes for version 20061109:
8117
81181) ACPI CA Core Subsystem:
8119
8120Optimized the Load ASL operator in the case where the source operand is
8121an
8122operation region. Simply map the operation region memory, instead of
8123performing a bytewise read. (Region must be of type SystemMemory, see
8124below.)
8125
8126Fixed the Load ASL operator for the case where the source operand is a
8127region field. A buffer object is also allowed as the source operand. BZ
8128480
8129
8130Fixed a problem where the Load ASL operator allowed the source operand to
8131be
8132an operation region of any type. It is now restricted to regions of type
8133SystemMemory, as per the ACPI specification. BZ 481
8134
8135Additional cleanup and optimizations for the new Table Manager code.
8136
8137AcpiEnable will now fail if all of the required ACPI tables are not
8138loaded
8139(FADT, FACS, DSDT). BZ 477
8140
8141Added #pragma pack(8/4) to acobject.h to ensure that the structures in
8142this
8143header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
8144manually optimized to be aligned and will not work if it is byte-packed.
8145
8146Example Code and Data Size: These are the sizes for the OS-independent
8147acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8148debug version of the code includes the debug output trace mechanism and
8149has
8150a much larger code and data size.
8151
8152 Previous Release:
8153 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
8154 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
8155 Current Release:
8156 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
8157 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
8158
8159
81602) iASL Compiler/Disassembler and Tools:
8161
8162Fixed a problem where the presence of the _OSI predefined control method
8163within complex expressions could cause an internal compiler error.
8164
8165AcpiExec: Implemented full region support for multiple address spaces.
8166SpaceId is now part of the REGION object. BZ 429
8167
8168----------------------------------------
816911 October 2006. Summary of changes for version 20061011:
8170
81711) ACPI CA Core Subsystem:
8172
8173Completed an AML interpreter performance enhancement for control method
8174execution. Previously a 2-pass parse/execution, control methods are now
8175completely parsed and executed in a single pass. This improves overall
8176interpreter performance by ~25%, reduces code size, and reduces CPU stack
8177use. (Valery Podrezov + interpreter changes in version 20051202 that
8178eliminated namespace loading during the pass one parse.)
8179
8180Implemented _CID support for PCI Root Bridge detection. If the _HID does
8181not
8182match the predefined PCI Root Bridge IDs, the _CID list (if present) is
8183now
8184obtained and also checked for an ID match.
8185
8186Implemented additional support for the PCI _ADR execution: upsearch until
8187a
8188device scope is found before executing _ADR. This allows PCI_Config
8189operation regions to be declared locally within control methods
8190underneath
8191PCI device objects.
8192
8193Fixed a problem with a possible race condition between threads executing
8194AcpiWalkNamespace and the AML interpreter. This condition was removed by
8195modifying AcpiWalkNamespace to (by default) ignore all temporary
8196namespace
8197entries created during any concurrent control method execution. An
8198additional namespace race condition is known to exist between
8199AcpiWalkNamespace and the Load/Unload ASL operators and is still under
8200investigation.
8201
8202Restructured the AML ParseLoop function, breaking it into several
8203subfunctions in order to reduce CPU stack use and improve
8204maintainability.
8205(Mikhail Kouzmich)
8206
8207AcpiGetHandle: Fix for parameter validation to detect invalid
8208combinations
8209of prefix handle and pathname. BZ 478
8210
8211Example Code and Data Size: These are the sizes for the OS-independent
8212acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8213debug version of the code includes the debug output trace mechanism and
8214has
8215a much larger code and data size.
8216
8217 Previous Release:
8218 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8219 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
8220 Current Release:
8221 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
8222 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
8223
82242) iASL Compiler/Disassembler and Tools:
8225
8226Ported the -g option (get local ACPI tables) to the new ACPICA Table
8227Manager
8228to restore original behavior.
8229
8230----------------------------------------
823127 September 2006. Summary of changes for version 20060927:
8232
82331) ACPI CA Core Subsystem:
8234
8235Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
8236These functions now use a spinlock for mutual exclusion and the interrupt
8237level indication flag is not needed.
8238
8239Fixed a problem with the Global Lock where the lock could appear to be
8240obtained before it is actually obtained. The global lock semaphore was
8241inadvertently created with one unit instead of zero units. (BZ 464)
8242Fiodor
8243Suietov.
8244
8245Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
8246during
8247a read from a buffer or region field. (BZ 458) Fiodor Suietov.
8248
8249Example Code and Data Size: These are the sizes for the OS-independent
8250acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8251debug version of the code includes the debug output trace mechanism and
8252has
8253a much larger code and data size.
8254
8255 Previous Release:
8256 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8257 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
8258 Current Release:
8259 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8260 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
8261
8262
82632) iASL Compiler/Disassembler and Tools:
8264
8265Fixed a compilation problem with the pre-defined Resource Descriptor
8266field
8267names where an "object does not exist" error could be incorrectly
8268generated
8269if the parent ResourceTemplate pathname places the template within a
8270different namespace scope than the current scope. (BZ 7212)
8271
8272Fixed a problem where the compiler could hang after syntax errors
8273detected
8274in an ElseIf construct. (BZ 453)
8275
8276Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
8277operator. An incorrect output filename was produced when this parameter
8278was
8279a null string (""). Now, the original input filename is used as the AML
8280output filename, with an ".aml" extension.
8281
8282Implemented a generic batch command mode for the AcpiExec utility
8283(execute
8284any AML debugger command) (Valery Podrezov).
8285
8286----------------------------------------
828712 September 2006. Summary of changes for version 20060912:
8288
82891) ACPI CA Core Subsystem:
8290
8291Enhanced the implementation of the "serialized mode" of the interpreter
8292(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
8293specified, instead of creating a serialization semaphore per control
8294method,
8295the interpreter lock is simply no longer released before a blocking
8296operation during control method execution. This effectively makes the AML
8297Interpreter single-threaded. The overhead of a semaphore per-method is
8298eliminated.
8299
8300Fixed a regression where an error was no longer emitted if a control
8301method
8302attempts to create 2 objects of the same name. This once again returns
8303AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
8304that
8305will dynamically serialize the control method to possible prevent future
8306errors. (BZ 440)
8307
8308Integrated a fix for a problem with PCI Express HID detection in the PCI
8309Config Space setup procedure. (BZ 7145)
8310
8311Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
8312AcpiHwInitialize function - the FADT registers are now validated when the
8313table is loaded.
8314
8315Added two new warnings during FADT verification - 1) if the FADT is
8316larger
8317than the largest known FADT version, and 2) if there is a mismatch
8318between
8319a
832032-bit block address and the 64-bit X counterpart (when both are non-
8321zero.)
8322
8323Example Code and Data Size: These are the sizes for the OS-independent
8324acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8325debug version of the code includes the debug output trace mechanism and
8326has
8327a much larger code and data size.
8328
8329 Previous Release:
8330 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
8331 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
8332 Current Release:
8333 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8334 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
8335
8336
83372) iASL Compiler/Disassembler and Tools:
8338
8339Fixed a problem with the implementation of the Switch() operator where
8340the
8341temporary variable was declared too close to the actual Switch, instead
8342of
8343at method level. This could cause a problem if the Switch() operator is
8344within a while loop, causing an error on the second iteration. (BZ 460)
8345
8346Disassembler - fix for error emitted for unknown type for target of scope
8347operator. Now, ignore it and continue.
8348
8349Disassembly of an FADT now verifies the input FADT and reports any errors
8350found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
8351
8352Disassembly of raw data buffers with byte initialization data now
8353prefixes
8354each output line with the current buffer offset.
8355
8356Disassembly of ASF! table now includes all variable-length data fields at
8357the end of some of the subtables.
8358
8359The disassembler now emits a comment if a buffer appears to be a
8360ResourceTemplate, but cannot be disassembled as such because the EndTag
8361does
8362not appear at the very end of the buffer.
8363
8364AcpiExec - Added the "-t" command line option to enable the serialized
8365mode
8366of the AML interpreter.
8367
8368----------------------------------------
836931 August 2006. Summary of changes for version 20060831:
8370
83711) ACPI CA Core Subsystem:
8372
8373Miscellaneous fixes for the Table Manager:
8374- Correctly initialize internal common FADT for all 64-bit "X" fields
8375- Fixed a couple table mapping issues during table load
8376- Fixed a couple alignment issues for IA64
8377- Initialize input array to zero in AcpiInitializeTables
8378- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
8379AcpiGetTableByIndex
8380
8381Change for GPE support: when a "wake" GPE is received, all wake GPEs are
8382now
8383immediately disabled to prevent the waking GPE from firing again and to
8384prevent other wake GPEs from interrupting the wake process.
8385
8386Added the AcpiGpeCount global that tracks the number of processed GPEs,
8387to
8388be used for debugging systems with a large number of ACPI interrupts.
8389
8390Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
8391both the ACPICA headers and the disassembler.
8392
8393Example Code and Data Size: These are the sizes for the OS-independent
8394acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8395debug version of the code includes the debug output trace mechanism and
8396has
8397a much larger code and data size.
8398
8399 Previous Release:
8400 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
8401 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
8402 Current Release:
8403 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
8404 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
8405
8406
84072) iASL Compiler/Disassembler and Tools:
8408
8409Disassembler support for the DMAR ACPI table.
8410
8411----------------------------------------
841223 August 2006. Summary of changes for version 20060823:
8413
84141) ACPI CA Core Subsystem:
8415
8416The Table Manager component has been completely redesigned and
8417reimplemented. The new design is much simpler, and reduces the overall
8418code
8419and data size of the kernel-resident ACPICA by approximately 5%. Also, it
8420is
8421now possible to obtain the ACPI tables very early during kernel
8422initialization, even before dynamic memory management is initialized.
8423(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
8424
8425Obsolete ACPICA interfaces:
8426
8427- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
8428init
8429time).
8430- AcpiLoadTable: Not needed.
8431- AcpiUnloadTable: Not needed.
8432
8433New ACPICA interfaces:
8434
8435- AcpiInitializeTables: Must be called before the table manager can be
8436used.
8437- AcpiReallocateRootTable: Used to transfer the root table to dynamically
8438allocated memory after it becomes available.
8439- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
8440tables
8441in the RSDT/XSDT.
8442
8443Other ACPICA changes:
8444
8445- AcpiGetTableHeader returns the actual mapped table header, not a copy.
8446Use
8447AcpiOsUnmapMemory to free this mapping.
8448- AcpiGetTable returns the actual mapped table. The mapping is managed
8449internally and must not be deleted by the caller. Use of this interface
8450causes no additional dynamic memory allocation.
8451- AcpiFindRootPointer: Support for physical addressing has been
8452eliminated,
8453it appeared to be unused.
8454- The interface to AcpiOsMapMemory has changed to be consistent with the
8455other allocation interfaces.
8456- The interface to AcpiOsGetRootPointer has changed to eliminate
8457unnecessary
8458parameters.
8459- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
846064-
8461bit platforms. Was previously 64 bits on all platforms.
8462- The interface to the ACPI Global Lock acquire/release macros have
8463changed
8464slightly since ACPICA no longer keeps a local copy of the FACS with a
8465constructed pointer to the actual global lock.
8466
8467Porting to the new table manager:
8468
8469- AcpiInitializeTables: Must be called once, and can be called anytime
8470during the OS initialization process. It allows the host to specify an
8471area
8472of memory to be used to store the internal version of the RSDT/XSDT (root
8473table). This allows the host to access ACPI tables before memory
8474management
8475is initialized and running.
8476- AcpiReallocateRootTable: Can be called after memory management is
8477running
8478to copy the root table to a dynamically allocated array, freeing up the
8479scratch memory specified in the call to AcpiInitializeTables.
8480- AcpiSubsystemInitialize: This existing interface is independent of the
8481Table Manager, and does not have to be called before the Table Manager
8482can
8483be used, it only must be called before the rest of ACPICA can be used.
8484- ACPI Tables: Some changes have been made to the names and structure of
8485the
8486actbl.h and actbl1.h header files and may require changes to existing
8487code.
8488For example, bitfields have been completely removed because of their lack
8489of
8490portability across C compilers.
8491- Update interfaces to the Global Lock acquire/release macros if local
8492versions are used. (see acwin.h)
8493
8494Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
8495
8496New files: tbfind.c
8497
8498Example Code and Data Size: These are the sizes for the OS-independent
8499acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8500debug version of the code includes the debug output trace mechanism and
8501has
8502a much larger code and data size.
8503
8504 Previous Release:
8505 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
8506 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
8507 Current Release:
8508 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
8509 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
8510
8511
85122) iASL Compiler/Disassembler and Tools:
8513
8514No changes for this release.
8515
8516----------------------------------------
851721 July 2006. Summary of changes for version 20060721:
8518
85191) ACPI CA Core Subsystem:
8520
8521The full source code for the ASL test suite used to validate the iASL
8522compiler and the ACPICA core subsystem is being released with the ACPICA
8523source for the first time. The source is contained in a separate package
8524and
8525consists of over 1100 files that exercise all ASL/AML operators. The
8526package
8527should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
8528Fiodor
8529Suietov)
8530
8531Completed a new design and implementation for support of the ACPI Global
8532Lock. On the OS side, the global lock is now treated as a standard AML
8533mutex. Previously, multiple OS threads could "acquire" the global lock
8534simultaneously. However, this could cause the BIOS to be starved out of
8535the
8536lock - especially in cases such as the Embedded Controller driver where
8537there is a tight coupling between the OS and the BIOS.
8538
8539Implemented an optimization for the ACPI Global Lock interrupt mechanism.
8540The Global Lock interrupt handler no longer queues the execution of a
8541separate thread to signal the global lock semaphore. Instead, the
8542semaphore
8543is signaled directly from the interrupt handler.
8544
8545Implemented support within the AML interpreter for package objects that
8546contain a larger AML length (package list length) than the package
8547element
8548count. In this case, the length of the package is truncated to match the
8549package element count. Some BIOS code apparently modifies the package
8550length
8551on the fly, and this change supports this behavior. Provides
8552compatibility
8553with the MS AML interpreter. (With assistance from Fiodor Suietov)
8554
8555Implemented a temporary fix for the BankValue parameter of a Bank Field
8556to
8557support all constant values, now including the Zero and One opcodes.
8558Evaluation of this parameter must eventually be converted to a full
8559TermArg
8560evaluation. A not-implemented error is now returned (temporarily) for
8561non-
8562constant values for this parameter.
8563
8564Fixed problem reports (Fiodor Suietov) integrated:
8565- Fix for premature object deletion after CopyObject on Operation Region
8566(BZ
8567350)
8568
8569Example Code and Data Size: These are the sizes for the OS-independent
8570acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8571debug version of the code includes the debug output trace mechanism and
8572has
8573a much larger code and data size.
8574
8575 Previous Release:
8576 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
8577 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
8578 Current Release:
8579 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
8580 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
8581
8582
85832) iASL Compiler/Disassembler and Tools:
8584
8585No changes for this release.
8586
8587----------------------------------------
858807 July 2006. Summary of changes for version 20060707:
8589
85901) ACPI CA Core Subsystem:
8591
8592Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
8593that do not allow the initialization of address pointers within packed
8594structures - even though the hardware itself may support misaligned
8595transfers. Some of the debug data structures are packed by default to
8596minimize size.
8597
8598Added an error message for the case where AcpiOsGetThreadId() returns
8599zero.
8600A non-zero value is required by the core ACPICA code to ensure the proper
8601operation of AML mutexes and recursive control methods.
8602
8603The DSDT is now the only ACPI table that determines whether the AML
8604interpreter is in 32-bit or 64-bit mode. Not really a functional change,
8605but
8606the hooks for per-table 32/64 switching have been removed from the code.
8607A
8608clarification to the ACPI specification is forthcoming in ACPI 3.0B.
8609
8610Fixed a possible leak of an OwnerID in the error path of
8611AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
8612deletion to a single place in AcpiTbUninstallTable to correct possible
8613leaks
8614when using the AcpiTbDeleteTablesByType interface (with assistance from
8615Lance Ortiz.)
8616
8617Fixed a problem with Serialized control methods where the semaphore
8618associated with the method could be over-signaled after multiple method
8619invocations.
8620
8621Fixed two issues with the locking of the internal namespace data
8622structure.
8623Both the Unload() operator and AcpiUnloadTable interface now lock the
8624namespace during the namespace deletion associated with the table unload
8625(with assistance from Linn Crosetto.)
8626
8627Fixed problem reports (Valery Podrezov) integrated:
8628- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
8629
8630Fixed problem reports (Fiodor Suietov) integrated:
8631- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
8632- On Address Space handler deletion, needless deactivation call (BZ 374)
8633- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
8634375)
8635- Possible memory leak, Notify sub-objects of Processor, Power,
8636ThermalZone
8637(BZ 376)
8638- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
8639- Minimum Length of RSDT should be validated (BZ 379)
8640- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
8641Handler (BZ (380)
8642- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
8643loaded
8644(BZ 381)
8645
8646Example Code and Data Size: These are the sizes for the OS-independent
8647acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8648debug version of the code includes the debug output trace mechanism and
8649has
8650a much larger code and data size.
8651
8652 Previous Release:
8653 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
8654 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
8655 Current Release:
8656 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
8657 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
8658
8659
86602) iASL Compiler/Disassembler and Tools:
8661
8662Fixed problem reports:
8663Compiler segfault when ASL contains a long (>1024) String declaration (BZ
8664436)
8665
8666----------------------------------------
866723 June 2006. Summary of changes for version 20060623:
8668
86691) ACPI CA Core Subsystem:
8670
8671Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
8672allows the type to be customized to the host OS for improved efficiency
8673(since a spinlock is usually a very small object.)
8674
8675Implemented support for "ignored" bits in the ACPI registers. According
8676to
8677the ACPI specification, these bits should be preserved when writing the
8678registers via a read/modify/write cycle. There are 3 bits preserved in
8679this
8680manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
8681
8682Implemented the initial deployment of new OSL mutex interfaces. Since
8683some
8684host operating systems have separate mutex and semaphore objects, this
8685feature was requested. The base code now uses mutexes (and the new mutex
8686interfaces) wherever a binary semaphore was used previously. However, for
8687the current release, the mutex interfaces are defined as macros to map
8688them
8689to the existing semaphore interfaces. Therefore, no OSL changes are
8690required
8691at this time. (See acpiosxf.h)
8692
8693Fixed several problems with the support for the control method SyncLevel
8694parameter. The SyncLevel now works according to the ACPI specification
8695and
8696in concert with the Mutex SyncLevel parameter, since the current
8697SyncLevel
8698is a property of the executing thread. Mutual exclusion for control
8699methods
8700is now implemented with a mutex instead of a semaphore.
8701
8702Fixed three instances of the use of the C shift operator in the bitfield
8703support code (exfldio.c) to avoid the use of a shift value larger than
8704the
8705target data width. The behavior of C compilers is undefined in this case
8706and
8707can cause unpredictable results, and therefore the case must be detected
8708and
8709avoided. (Fiodor Suietov)
8710
8711Added an info message whenever an SSDT or OEM table is loaded dynamically
8712via the Load() or LoadTable() ASL operators. This should improve
8713debugging
8714capability since it will show exactly what tables have been loaded
8715(beyond
8716the tables present in the RSDT/XSDT.)
8717
8718Example Code and Data Size: These are the sizes for the OS-independent
8719acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8720debug version of the code includes the debug output trace mechanism and
8721has
8722a much larger code and data size.
8723
8724 Previous Release:
8725 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
8726 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
8727 Current Release:
8728 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
8729 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
8730
8731
87322) iASL Compiler/Disassembler and Tools:
8733
8734No changes for this release.
8735
8736----------------------------------------
873708 June 2006. Summary of changes for version 20060608:
8738
87391) ACPI CA Core Subsystem:
8740
8741Converted the locking mutex used for the ACPI hardware to a spinlock.
8742This
8743change should eliminate all problems caused by attempting to acquire a
8744semaphore at interrupt level, and it means that all ACPICA external
8745interfaces that directly access the ACPI hardware can be safely called
8746from
8747interrupt level. OSL code that implements the semaphore interfaces should
8748be
8749able to eliminate any workarounds for being called at interrupt level.
8750
8751Fixed a regression introduced in 20060526 where the ACPI device
8752initialization could be prematurely aborted with an AE_NOT_FOUND if a
8753device
8754did not have an optional _INI method.
8755
8756Fixed an IndexField issue where a write to the Data Register should be
8757limited in size to the AccessSize (width) of the IndexField itself. (BZ
8758433,
8759Fiodor Suietov)
8760
8761Fixed problem reports (Valery Podrezov) integrated:
8762- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
8763
8764Fixed problem reports (Fiodor Suietov) integrated:
8765- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
8766
8767Removed four global mutexes that were obsolete and were no longer being
8768used.
8769
8770Example Code and Data Size: These are the sizes for the OS-independent
8771acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8772debug version of the code includes the debug output trace mechanism and
8773has
8774a much larger code and data size.
8775
8776 Previous Release:
8777 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
8778 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
8779 Current Release:
8780 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
8781 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
8782
8783
87842) iASL Compiler/Disassembler and Tools:
8785
8786Fixed a fault when using -g option (get tables from registry) on Windows
8787machines.
8788
8789Fixed problem reports integrated:
8790- Generate error if CreateField NumBits parameter is zero. (BZ 405)
8791- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
8792Suietov)
8793- Global table revision override (-r) is ignored (BZ 413)
8794
8795----------------------------------------
879626 May 2006. Summary of changes for version 20060526:
8797
87981) ACPI CA Core Subsystem:
8799
8800Restructured, flattened, and simplified the internal interfaces for
8801namespace object evaluation - resulting in smaller code, less CPU stack
8802use,
8803and fewer interfaces. (With assistance from Mikhail Kouzmich)
8804
8805Fixed a problem with the CopyObject operator where the first parameter
8806was
8807not typed correctly for the parser, interpreter, compiler, and
8808disassembler.
8809Caused various errors and unexpected behavior.
8810
8811Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
8812produced incorrect results with some C compilers. Since the behavior of C
8813compilers when the shift value is larger than the datatype width is
8814apparently not well defined, the interpreter now detects this condition
8815and
8816simply returns zero as expected in all such cases. (BZ 395)
8817
8818Fixed problem reports (Valery Podrezov) integrated:
8819- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
8820- Allow interpreter to handle nested method declarations (BZ 5361)
8821
8822Fixed problem reports (Fiodor Suietov) integrated:
8823- AcpiTerminate doesn't free debug memory allocation list objects (BZ
8824355)
8825- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
8826356)
8827- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
8828- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
8829- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
8830- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
8831- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
8832- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
8833- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
8834365)
8835- Status of the Global Initialization Handler call not used (BZ 366)
8836- Incorrect object parameter to Global Initialization Handler (BZ 367)
8837
8838Example Code and Data Size: These are the sizes for the OS-independent
8839acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8840debug version of the code includes the debug output trace mechanism and
8841has
8842a much larger code and data size.
8843
8844 Previous Release:
8845 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
8846 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
8847 Current Release:
8848 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
8849 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
8850
8851
88522) iASL Compiler/Disassembler and Tools:
8853
8854Modified the parser to allow the names IO, DMA, and IRQ to be used as
8855namespace identifiers with no collision with existing resource descriptor
8856macro names. This provides compatibility with other ASL compilers and is
8857most useful for disassembly/recompilation of existing tables without
8858parse
8859errors. (With assistance from Thomas Renninger)
8860
8861Disassembler: fixed an incorrect disassembly problem with the
8862DataTableRegion and CopyObject operators. Fixed a possible fault during
8863disassembly of some Alias operators.
8864
8865----------------------------------------
886612 May 2006. Summary of changes for version 20060512:
8867
88681) ACPI CA Core Subsystem:
8869
8870Replaced the AcpiOsQueueForExecution interface with a new interface named
8871AcpiOsExecute. The major difference is that the new interface does not
8872have
8873a Priority parameter, this appeared to be useless and has been replaced
8874by
8875a
8876Type parameter. The Type tells the host what type of execution is being
8877requested, such as global lock handler, notify handler, GPE handler, etc.
8878This allows the host to queue and execute the request as appropriate for
8879the
8880request type, possibly using different work queues and different
8881priorities
8882for the various request types. This enables fixes for multithreading
8883deadlock problems such as BZ #5534, and will require changes to all
8884existing
8885OS interface layers. (Alexey Starikovskiy and Bob Moore)
8886
8887Fixed a possible memory leak associated with the support for the so-
8888called
8889"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
8890Suietov)
8891
8892Fixed a problem with the Load() operator where a table load from an
8893operation region could overwrite an internal table buffer by up to 7
8894bytes
8895and cause alignment faults on IPF systems. (With assistance from Luming
8896Yu)
8897
8898Example Code and Data Size: These are the sizes for the OS-independent
8899acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8900debug version of the code includes the debug output trace mechanism and
8901has
8902a much larger code and data size.
8903
8904 Previous Release:
8905 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
8906 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
8907 Current Release:
8908 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
8909 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
8910
8911
8912
89132) iASL Compiler/Disassembler and Tools:
8914
8915Disassembler: Implemented support to cross reference the internal
8916namespace
8917and automatically generate ASL External() statements for symbols not
8918defined
8919within the current table being disassembled. This will simplify the
8920disassembly and recompilation of interdependent tables such as SSDTs
8921since
8922these statements will no longer have to be added manually.
8923
8924Disassembler: Implemented experimental support to automatically detect
8925invocations of external control methods and generate appropriate
8926External()
8927statements. This is problematic because the AML cannot be correctly
8928parsed
8929until the number of arguments for each control method is known.
8930Currently,
8931standalone method invocations and invocations as the source operand of a
8932Store() statement are supported.
8933
8934Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
8935LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
8936LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
8937more readable and likely closer to the original ASL source.
8938
8939----------------------------------------
894021 April 2006. Summary of changes for version 20060421:
8941
89421) ACPI CA Core Subsystem:
8943
8944Removed a device initialization optimization introduced in 20051216 where
8945the _STA method was not run unless an _INI was also present for the same
8946device. This optimization could cause problems because it could allow
8947_INI
8948methods to be run within a not-present device subtree. (If a not-present
8949device had no _INI, _STA would not be run, the not-present status would
8950not
8951be discovered, and the children of the device would be incorrectly
8952traversed.)
8953
8954Implemented a new _STA optimization where namespace subtrees that do not
8955contain _INI are identified and ignored during device initialization.
8956Selectively running _STA can significantly improve boot time on large
8957machines (with assistance from Len Brown.)
8958
8959Implemented support for the device initialization case where the returned
8960_STA flags indicate a device not-present but functioning. In this case,
8961_INI
8962is not run, but the device children are examined for presence, as per the
8963ACPI specification.
8964
8965Implemented an additional change to the IndexField support in order to
8966conform to MS behavior. The value written to the Index Register is not
8967simply a byte offset, it is a byte offset in units of the access width of
8968the parent Index Field. (Fiodor Suietov)
8969
8970Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
8971interface is called during the creation of all AML operation regions, and
8972allows the host OS to exert control over what addresses it will allow the
8973AML code to access. Operation Regions whose addresses are disallowed will
8974cause a runtime exception when they are actually accessed (will not
8975affect
8976or abort table loading.) See oswinxf or osunixxf for an example
8977implementation.
8978
8979Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
8980interface allows the host OS to match the various "optional"
8981interface/behavior strings for the _OSI predefined control method as
8982appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
8983for an example implementation.
8984
8985Restructured and corrected various problems in the exception handling
8986code
8987paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
8988(with assistance from Takayoshi Kochi.)
8989
8990Modified the Linux source converter to ignore quoted string literals
8991while
8992converting identifiers from mixed to lower case. This will correct
8993problems
8994with the disassembler and other areas where such strings must not be
8995modified.
8996
8997The ACPI_FUNCTION_* macros no longer require quotes around the function
8998name. This allows the Linux source converter to convert the names, now
8999that
9000the converter ignores quoted strings.
9001
9002Example Code and Data Size: These are the sizes for the OS-independent
9003acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9004debug version of the code includes the debug output trace mechanism and
9005has
9006a much larger code and data size.
9007
9008 Previous Release:
9009
9010 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
9011 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
9012 Current Release:
9013 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
9014 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
9015
9016
90172) iASL Compiler/Disassembler and Tools:
9018
9019Implemented 3 new warnings for iASL, and implemented multiple warning
9020levels
9021(w2 flag).
9022
90231) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
9024not
9025WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
9026check for the possible timeout, a warning is issued.
9027
90282) Useless operators: If an ASL operator does not specify an optional
9029target
9030operand and it also does not use the function return value from the
9031operator, a warning is issued since the operator effectively does
9032nothing.
9033
90343) Unreferenced objects: If a namespace object is created, but never
9035referenced, a warning is issued. This is a warning level 2 since there
9036are
9037cases where this is ok, such as when a secondary table is loaded that
9038uses
9039the unreferenced objects. Even so, care is taken to only flag objects
9040that
9041don't look like they will ever be used. For example, the reserved methods
9042(starting with an underscore) are usually not referenced because it is
9043expected that the OS will invoke them.
9044
9045----------------------------------------
904631 March 2006. Summary of changes for version 20060331:
9047
90481) ACPI CA Core Subsystem:
9049
9050Implemented header file support for the following additional ACPI tables:
9051ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
9052support,
9053all current and known ACPI tables are now defined in the ACPICA headers
9054and
9055are available for use by device drivers and other software.
9056
9057Implemented support to allow tables that contain ACPI names with invalid
9058characters to be loaded. Previously, this would cause the table load to
9059fail, but since there are several known cases of such tables on existing
9060machines, this change was made to enable ACPI support for them. Also,
9061this
9062matches the behavior of the Microsoft ACPI implementation.
9063
9064Fixed a couple regressions introduced during the memory optimization in
9065the
906620060317 release. The namespace node definition required additional
9067reorganization and an internal datatype that had been changed to 8-bit
9068was
9069restored to 32-bit. (Valery Podrezov)
9070
9071Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
9072could be passed through to AcpiOsReleaseObject which is unexpected. Such
9073null pointers are now trapped and ignored, matching the behavior of the
9074previous implementation before the deployment of AcpiOsReleaseObject.
9075(Valery Podrezov, Fiodor Suietov)
9076
9077Fixed a memory mapping leak during the deletion of a SystemMemory
9078operation
9079region where a cached memory mapping was not deleted. This became a
9080noticeable problem for operation regions that are defined within
9081frequently
9082used control methods. (Dana Meyers)
9083
9084Reorganized the ACPI table header files into two main files: one for the
9085ACPI tables consumed by the ACPICA core, and another for the
9086miscellaneous
9087ACPI tables that are consumed by the drivers and other software. The
9088various
9089FADT definitions were merged into one common section and three different
9090tables (ACPI 1.0, 1.0+, and 2.0)
9091
9092Example Code and Data Size: These are the sizes for the OS-independent
9093acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9094debug version of the code includes the debug output trace mechanism and
9095has
9096a much larger code and data size.
9097
9098 Previous Release:
9099 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
9100 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
9101 Current Release:
9102 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
9103 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
9104
9105
91062) iASL Compiler/Disassembler and Tools:
9107
9108Disassembler: Implemented support to decode and format all non-AML ACPI
9109tables (tables other than DSDTs and SSDTs.) This includes the new tables
9110added to the ACPICA headers, therefore all current and known ACPI tables
9111are
9112supported.
9113
9114Disassembler: The change to allow ACPI names with invalid characters also
9115enables the disassembly of such tables. Invalid characters within names
9116are
9117changed to '*' to make the name printable; the iASL compiler will still
9118generate an error for such names, however, since this is an invalid ACPI
9119character.
9120
9121Implemented an option for AcpiXtract (-a) to extract all tables found in
9122the
9123input file. The default invocation extracts only the DSDTs and SSDTs.
9124
9125Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
9126makefile for the AcpiXtract utility.
9127
9128----------------------------------------
912917 March 2006. Summary of changes for version 20060317:
9130
91311) ACPI CA Core Subsystem:
9132
9133Implemented the use of a cache object for all internal namespace nodes.
9134Since there are about 1000 static nodes in a typical system, this will
9135decrease memory use for cache implementations that minimize per-
9136allocation
9137overhead (such as a slab allocator.)
9138
9139Removed the reference count mechanism for internal namespace nodes, since
9140it
9141was deemed unnecessary. This reduces the size of each namespace node by
9142about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
9143case,
9144and 32 bytes for the 64-bit case.
9145
9146Optimized several internal data structures to reduce object size on 64-
9147bit
9148platforms by packing data within the 64-bit alignment. This includes the
9149frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
9150instances corresponding to the namespace objects.
9151
9152Added two new strings for the predefined _OSI method: "Windows 2001.1
9153SP1"
9154and "Windows 2006".
9155
9156Split the allocation tracking mechanism out to a separate file, from
9157utalloc.c to uttrack.c. This mechanism appears to be only useful for
9158application-level code. Kernels may wish to not include uttrack.c in
9159distributions.
9160
9161Removed all remnants of the obsolete ACPI_REPORT_* macros and the
9162associated
9163code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
9164macros.)
9165
9166Code and Data Size: These are the sizes for the acpica.lib produced by
9167the
9168Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9169ACPI
9170driver or OSPM code. The debug version of the code includes the debug
9171output
9172trace mechanism and has a much larger code and data size. Note that these
9173values will vary depending on the efficiency of the compiler and the
9174compiler options used during generation.
9175
9176 Previous Release:
9177 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9178 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
9179 Current Release:
9180 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
9181 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
9182
9183
91842) iASL Compiler/Disassembler and Tools:
9185
9186Implemented an ANSI C version of the acpixtract utility. This version
9187will
9188automatically extract the DSDT and all SSDTs from the input acpidump text
9189file and dump the binary output to separate files. It can also display a
9190summary of the input file including the headers for each table found and
9191will extract any single ACPI table, with any signature. (See
9192source/tools/acpixtract)
9193
9194----------------------------------------
919510 March 2006. Summary of changes for version 20060310:
9196
91971) ACPI CA Core Subsystem:
9198
9199Tagged all external interfaces to the subsystem with the new
9200ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
9201assist
9202kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
9203macro. The default definition is NULL.
9204
9205Added the ACPI_THREAD_ID type for the return value from
9206AcpiOsGetThreadId.
9207This allows the host to define this as necessary to simplify kernel
9208integration. The default definition is ACPI_NATIVE_UINT.
9209
9210Fixed two interpreter problems related to error processing, the deletion
9211of
9212objects, and placing invalid pointers onto the internal operator result
9213stack. BZ 6028, 6151 (Valery Podrezov)
9214
9215Increased the reference count threshold where a warning is emitted for
9216large
9217reference counts in order to eliminate unnecessary warnings on systems
9218with
9219large namespaces (especially 64-bit.) Increased the value from 0x400 to
92200x800.
9221
9222Due to universal disagreement as to the meaning of the 'c' in the
9223calloc()
9224function, the ACPI_MEM_CALLOCATE macro has been renamed to
9225ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
9226ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
9227ACPI_FREE.
9228
9229Code and Data Size: These are the sizes for the acpica.lib produced by
9230the
9231Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9232ACPI
9233driver or OSPM code. The debug version of the code includes the debug
9234output
9235trace mechanism and has a much larger code and data size. Note that these
9236values will vary depending on the efficiency of the compiler and the
9237compiler options used during generation.
9238
9239 Previous Release:
9240 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
9241 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
9242 Current Release:
9243 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9244 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
9245
9246
92472) iASL Compiler/Disassembler:
9248
9249Disassembler: implemented support for symbolic resource descriptor
9250references. If a CreateXxxxField operator references a fixed offset
9251within
9252a
9253resource descriptor, a name is assigned to the descriptor and the offset
9254is
9255translated to the appropriate resource tag and pathname. The addition of
9256this support brings the disassembled code very close to the original ASL
9257source code and helps eliminate run-time errors when the disassembled
9258code
9259is modified (and recompiled) in such a way as to invalidate the original
9260fixed offsets.
9261
9262Implemented support for a Descriptor Name as the last parameter to the
9263ASL
9264Register() macro. This parameter was inadvertently left out of the ACPI
9265specification, and will be added for ACPI 3.0b.
9266
9267Fixed a problem where the use of the "_OSI" string (versus the full path
9268"\_OSI") caused an internal compiler error. ("No back ptr to op")
9269
9270Fixed a problem with the error message that occurs when an invalid string
9271is
9272used for a _HID object (such as one with an embedded asterisk:
9273"*PNP010A".)
9274The correct message is now displayed.
9275
9276----------------------------------------
927717 February 2006. Summary of changes for version 20060217:
9278
92791) ACPI CA Core Subsystem:
9280
9281Implemented a change to the IndexField support to match the behavior of
9282the
9283Microsoft AML interpreter. The value written to the Index register is now
9284a
9285byte offset, no longer an index based upon the width of the Data
9286register.
9287This should fix IndexField problems seen on some machines where the Data
9288register is not exactly one byte wide. The ACPI specification will be
9289clarified on this point.
9290
9291Fixed a problem where several resource descriptor types could overrun the
9292internal descriptor buffer due to size miscalculation: VendorShort,
9293VendorLong, and Interrupt. This was noticed on IA64 machines, but could
9294affect all platforms.
9295
9296Fixed a problem where individual resource descriptors were misaligned
9297within
9298the internal buffer, causing alignment faults on IA64 platforms.
9299
9300Code and Data Size: These are the sizes for the acpica.lib produced by
9301the
9302Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9303ACPI
9304driver or OSPM code. The debug version of the code includes the debug
9305output
9306trace mechanism and has a much larger code and data size. Note that these
9307values will vary depending on the efficiency of the compiler and the
9308compiler options used during generation.
9309
9310 Previous Release:
9311 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9312 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
9313 Current Release:
9314 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
9315 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
9316
9317
93182) iASL Compiler/Disassembler:
9319
9320Implemented support for new reserved names: _WDG and _WED are Microsoft
9321extensions for Windows Instrumentation Management, _TDL is a new ACPI-
9322defined method (Throttling Depth Limit.)
9323
9324Fixed a problem where a zero-length VendorShort or VendorLong resource
9325descriptor was incorrectly emitted as a descriptor of length one.
9326
9327----------------------------------------
932810 February 2006. Summary of changes for version 20060210:
9329
93301) ACPI CA Core Subsystem:
9331
9332Removed a couple of extraneous ACPI_ERROR messages that appeared during
9333normal execution. These became apparent after the conversion from
9334ACPI_DEBUG_PRINT.
9335
9336Fixed a problem where the CreateField operator could hang if the BitIndex
9337or
9338NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
9339
9340Fixed a problem where a DeRefOf operation on a buffer object incorrectly
9341failed with an exception. This also fixes a couple of related RefOf and
9342DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
9343
9344Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
9345of
9346AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
9347BZ
93485480)
9349
9350Implemented a memory cleanup at the end of the execution of each
9351iteration
9352of an AML While() loop, preventing the accumulation of outstanding
9353objects.
9354(Valery Podrezov, BZ 5427)
9355
9356Eliminated a chunk of duplicate code in the object resolution code.
9357(Valery
9358Podrezov, BZ 5336)
9359
9360Fixed several warnings during the 64-bit code generation.
9361
9362The AcpiSrc source code conversion tool now inserts one line of
9363whitespace
9364after an if() statement that is followed immediately by a comment,
9365improving
9366readability of the Linux code.
9367
9368Code and Data Size: The current and previous library sizes for the core
9369subsystem are shown below. These are the code and data sizes for the
9370acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9371These
9372values do not include any ACPI driver or OSPM code. The debug version of
9373the
9374code includes the debug output trace mechanism and has a much larger code
9375and data size. Note that these values will vary depending on the
9376efficiency
9377of the compiler and the compiler options used during generation.
9378
9379 Previous Release:
9380 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
9381 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
9382 Current Release:
9383 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9384 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
9385
9386
93872) iASL Compiler/Disassembler:
9388
9389Fixed a problem with the disassembly of a BankField operator with a
9390complex
9391expression for the BankValue parameter.
9392
9393----------------------------------------
939427 January 2006. Summary of changes for version 20060127:
9395
93961) ACPI CA Core Subsystem:
9397
9398Implemented support in the Resource Manager to allow unresolved
9399namestring
9400references within resource package objects for the _PRT method. This
9401support
9402is in addition to the previously implemented unresolved reference support
9403within the AML parser. If the interpreter slack mode is enabled, these
9404unresolved references will be passed through to the caller as a NULL
9405package
9406entry.
9407
9408Implemented and deployed new macros and functions for error and warning
9409messages across the subsystem. These macros are simpler and generate less
9410code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
9411ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
9412macros remain defined to allow ACPI drivers time to migrate to the new
9413macros.
9414
9415Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
9416the
9417Acquire/Release Lock OSL interfaces.
9418
9419Fixed a problem where Alias ASL operators are sometimes not correctly
9420resolved, in both the interpreter and the iASL compiler.
9421
9422Fixed several problems with the implementation of the
9423ConcatenateResTemplate
9424ASL operator. As per the ACPI specification, zero length buffers are now
9425treated as a single EndTag. One-length buffers always cause a fatal
9426exception. Non-zero length buffers that do not end with a full 2-byte
9427EndTag
9428cause a fatal exception.
9429
9430Fixed a possible structure overwrite in the AcpiGetObjectInfo external
9431interface. (With assistance from Thomas Renninger)
9432
9433Code and Data Size: The current and previous library sizes for the core
9434subsystem are shown below. These are the code and data sizes for the
9435acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9436These
9437values do not include any ACPI driver or OSPM code. The debug version of
9438the
9439code includes the debug output trace mechanism and has a much larger code
9440and data size. Note that these values will vary depending on the
9441efficiency
9442of the compiler and the compiler options used during generation.
9443
9444 Previous Release:
9445 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
9446 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
9447 Current Release:
9448 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
9449 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
9450
9451
94522) iASL Compiler/Disassembler:
9453
9454Fixed an internal error that was generated for any forward references to
9455ASL
9456Alias objects.
9457
9458----------------------------------------
945913 January 2006. Summary of changes for version 20060113:
9460
94611) ACPI CA Core Subsystem:
9462
9463Added 2006 copyright to all module headers and signons. This affects
9464virtually every file in the ACPICA core subsystem, iASL compiler, and the
9465utilities.
9466
9467Enhanced the ACPICA error reporting in order to simplify user migration
9468to
9469the non-debug version of ACPICA. Replaced all instances of the
9470ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
9471debug
9472levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
9473respectively. This preserves all error and warning messages in the non-
9474debug
9475version of the ACPICA code (this has been referred to as the "debug lite"
9476option.) Over 200 cases were converted to create a total of over 380
9477error/warning messages across the ACPICA code. This increases the code
9478and
9479data size of the default non-debug version of the code somewhat (about
948013K),
9481but all error/warning reporting may be disabled if desired (and code
9482eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
9483configuration option. The size of the debug version of ACPICA remains
9484about
9485the same.
9486
9487Fixed a memory leak within the AML Debugger "Set" command. One object was
9488not properly deleted for every successful invocation of the command.
9489
9490Code and Data Size: The current and previous library sizes for the core
9491subsystem are shown below. These are the code and data sizes for the
9492acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9493These
9494values do not include any ACPI driver or OSPM code. The debug version of
9495the
9496code includes the debug output trace mechanism and has a much larger code
9497and data size. Note that these values will vary depending on the
9498efficiency
9499of the compiler and the compiler options used during generation.
9500
9501 Previous Release:
9502 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
9503 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
9504 Current Release:
9505 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
9506 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
9507
9508
95092) iASL Compiler/Disassembler:
9510
9511The compiler now officially supports the ACPI 3.0a specification that was
9512released on December 30, 2005. (Specification is available at
9513www.acpi.info)
9514
9515----------------------------------------
951616 December 2005. Summary of changes for version 20051216:
9517
95181) ACPI CA Core Subsystem:
9519
9520Implemented optional support to allow unresolved names within ASL Package
9521objects. A null object is inserted in the package when a named reference
9522cannot be located in the current namespace. Enabled via the interpreter
9523slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
9524machines
9525that contain such code.
9526
9527Implemented an optimization to the initialization sequence that can
9528improve
9529boot time. During ACPI device initialization, the _STA method is now run
9530if
9531and only if the _INI method exists. The _STA method is used to determine
9532if
9533the device is present; An _INI can only be run if _STA returns present,
9534but
9535it is a waste of time to run the _STA method if the _INI does not exist.
9536(Prototype and assistance from Dong Wei)
9537
9538Implemented use of the C99 uintptr_t for the pointer casting macros if it
9539is
9540available in the current compiler. Otherwise, the default (void *) cast
9541is
9542used as before.
9543
9544Fixed some possible memory leaks found within the execution path of the
9545Break, Continue, If, and CreateField operators. (Valery Podrezov)
9546
9547Fixed a problem introduced in the 20051202 release where an exception is
9548generated during method execution if a control method attempts to declare
9549another method.
9550
9551Moved resource descriptor string constants that are used by both the AML
9552disassembler and AML debugger to the common utilities directory so that
9553these components are independent.
9554
9555Implemented support in the AcpiExec utility (-e switch) to globally
9556ignore
9557exceptions during control method execution (method is not aborted.)
9558
9559Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
9560generation.
9561
9562Code and Data Size: The current and previous library sizes for the core
9563subsystem are shown below. These are the code and data sizes for the
9564acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9565These
9566values do not include any ACPI driver or OSPM code. The debug version of
9567the
9568code includes the debug output trace mechanism and has a much larger code
9569and data size. Note that these values will vary depending on the
9570efficiency
9571of the compiler and the compiler options used during generation.
9572
9573 Previous Release:
9574 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9575 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
9576 Current Release:
9577 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
9578 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
9579
9580
95812) iASL Compiler/Disassembler:
9582
9583Fixed a problem where a CPU stack overflow fault could occur if a
9584recursive
9585method call was made from within a Return statement.
9586
9587----------------------------------------
958802 December 2005. Summary of changes for version 20051202:
9589
95901) ACPI CA Core Subsystem:
9591
9592Modified the parsing of control methods to no longer create namespace
9593objects during the first pass of the parse. Objects are now created only
9594during the execute phase, at the moment the namespace creation operator
9595is
9596encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
9597This
9598should eliminate ALREADY_EXISTS exceptions seen on some machines where
9599reentrant control methods are protected by an AML mutex. The mutex will
9600now
9601correctly block multiple threads from attempting to create the same
9602object
9603more than once.
9604
9605Increased the number of available Owner Ids for namespace object tracking
9606from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
9607on
9608some machines with a large number of ACPI tables (either static or
9609dynamic).
9610
9611Fixed a problem with the AcpiExec utility where a fault could occur when
9612the
9613-b switch (batch mode) is used.
9614
9615Enhanced the namespace dump routine to output the owner ID for each
9616namespace object.
9617
9618Code and Data Size: The current and previous library sizes for the core
9619subsystem are shown below. These are the code and data sizes for the
9620acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9621These
9622values do not include any ACPI driver or OSPM code. The debug version of
9623the
9624code includes the debug output trace mechanism and has a much larger code
9625and data size. Note that these values will vary depending on the
9626efficiency
9627of the compiler and the compiler options used during generation.
9628
9629 Previous Release:
9630 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9631 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9632 Current Release:
9633 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9634 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
9635
9636
96372) iASL Compiler/Disassembler:
9638
9639Fixed a parse error during compilation of certain Switch/Case constructs.
9640To
9641simplify the parse, the grammar now allows for multiple Default
9642statements
9643and this error is now detected and flagged during the analysis phase.
9644
9645Disassembler: The disassembly now includes the contents of the original
9646table header within a comment at the start of the file. This includes the
9647name and version of the original ASL compiler.
9648
9649----------------------------------------
965017 November 2005. Summary of changes for version 20051117:
9651
96521) ACPI CA Core Subsystem:
9653
9654Fixed a problem in the AML parser where the method thread count could be
9655decremented below zero if any errors occurred during the method parse
9656phase.
9657This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
9658machines.
9659This also fixed a related regression with the mechanism that detects and
9660corrects methods that cannot properly handle reentrancy (related to the
9661deployment of the new OwnerId mechanism.)
9662
9663Eliminated the pre-parsing of control methods (to detect errors) during
9664table load. Related to the problem above, this was causing unwind issues
9665if
9666any errors occurred during the parse, and it seemed to be overkill. A
9667table
9668load should not be aborted if there are problems with any single control
9669method, thus rendering this feature rather pointless.
9670
9671Fixed a problem with the new table-driven resource manager where an
9672internal
9673buffer overflow could occur for small resource templates.
9674
9675Implemented a new external interface, AcpiGetVendorResource. This
9676interface
9677will find and return a vendor-defined resource descriptor within a _CRS
9678or
9679_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
9680Helgaas.
9681
9682Removed the length limit (200) on string objects as per the upcoming ACPI
96833.0A specification. This affects the following areas of the interpreter:
96841)
9685any implicit conversion of a Buffer to a String, 2) a String object
9686result
9687of the ASL Concatentate operator, 3) the String object result of the ASL
9688ToString operator.
9689
9690Fixed a problem in the Windows OS interface layer (OSL) where a
9691WAIT_FOREVER
9692on a semaphore object would incorrectly timeout. This allows the
9693multithreading features of the AcpiExec utility to work properly under
9694Windows.
9695
9696Updated the Linux makefiles for the iASL compiler and AcpiExec to include
9697the recently added file named "utresrc.c".
9698
9699Code and Data Size: The current and previous library sizes for the core
9700subsystem are shown below. These are the code and data sizes for the
9701acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9702These
9703values do not include any ACPI driver or OSPM code. The debug version of
9704the
9705code includes the debug output trace mechanism and has a much larger code
9706and data size. Note that these values will vary depending on the
9707efficiency
9708of the compiler and the compiler options used during generation.
9709
9710 Previous Release:
9711 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
9712 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9713 Current Release:
9714 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9715 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9716
9717
97182) iASL Compiler/Disassembler:
9719
9720Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
9721specification. For the iASL compiler, this means that string literals
9722within
9723the source ASL can be of any length.
9724
9725Enhanced the listing output to dump the AML code for resource descriptors
9726immediately after the ASL code for each descriptor, instead of in a block
9727at
9728the end of the entire resource template.
9729
9730Enhanced the compiler debug output to dump the entire original parse tree
9731constructed during the parse phase, before any transforms are applied to
9732the
9733tree. The transformed tree is dumped also.
9734
9735----------------------------------------
973602 November 2005. Summary of changes for version 20051102:
9737
97381) ACPI CA Core Subsystem:
9739
9740Modified the subsystem initialization sequence to improve GPE support.
9741The
9742GPE initialization has been split into two parts in order to defer
9743execution
9744of the _PRW methods (Power Resources for Wake) until after the hardware
9745is
9746fully initialized and the SCI handler is installed. This allows the _PRW
9747methods to access fields protected by the Global Lock. This will fix
9748systems
9749where a NO_GLOBAL_LOCK exception has been seen during initialization.
9750
9751Converted the ACPI internal object disassemble and display code within
9752the
9753AML debugger to fully table-driven operation, reducing code size and
9754increasing maintainability.
9755
9756Fixed a regression with the ConcatenateResTemplate() ASL operator
9757introduced
9758in the 20051021 release.
9759
9760Implemented support for "local" internal ACPI object types within the
9761debugger "Object" command and the AcpiWalkNamespace external interfaces.
9762These local types include RegionFields, BankFields, IndexFields, Alias,
9763and
9764reference objects.
9765
9766Moved common AML resource handling code into a new file, "utresrc.c".
9767This
9768code is shared by both the Resource Manager and the AML Debugger.
9769
9770Code and Data Size: The current and previous library sizes for the core
9771subsystem are shown below. These are the code and data sizes for the
9772acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9773These
9774values do not include any ACPI driver or OSPM code. The debug version of
9775the
9776code includes the debug output trace mechanism and has a much larger code
9777and data size. Note that these values will vary depending on the
9778efficiency
9779of the compiler and the compiler options used during generation.
9780
9781 Previous Release:
9782 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
9783 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
9784 Current Release:
9785 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
9786 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9787
9788
97892) iASL Compiler/Disassembler:
9790
9791Fixed a problem with very large initializer lists (more than 4000
9792elements)
9793for both Buffer and Package objects where the parse stack could overflow.
9794
9795Enhanced the pre-compile source code scan for non-ASCII characters to
9796ignore
9797characters within comment fields. The scan is now always performed and is
9798no
9799longer optional, detecting invalid characters within a source file
9800immediately rather than during the parse phase or later.
9801
9802Enhanced the ASL grammar definition to force early reductions on all
9803list-
9804style grammar elements so that the overall parse stack usage is greatly
9805reduced. This should improve performance and reduce the possibility of
9806parse
9807stack overflow.
9808
9809Eliminated all reduce/reduce conflicts in the iASL parser generation.
9810Also,
9811with the addition of a %expected statement, the compiler generates from
9812source with no warnings.
9813
9814Fixed a possible segment fault in the disassembler if the input filename
9815does not contain a "dot" extension (Thomas Renninger).
9816
9817----------------------------------------
981821 October 2005. Summary of changes for version 20051021:
9819
98201) ACPI CA Core Subsystem:
9821
9822Implemented support for the EM64T and other x86-64 processors. This
9823essentially entails recognizing that these processors support non-aligned
9824memory transfers. Previously, all 64-bit processors were assumed to lack
9825hardware support for non-aligned transfers.
9826
9827Completed conversion of the Resource Manager to nearly full table-driven
9828operation. Specifically, the resource conversion code (convert AML to
9829internal format and the reverse) and the debug code to dump internal
9830resource descriptors are fully table-driven, reducing code and data size
9831and
9832improving maintainability.
9833
9834The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
9835word
9836on 64-bit processors instead of a fixed 32-bit word. (With assistance
9837from
9838Alexey Starikovskiy)
9839
9840Implemented support within the resource conversion code for the Type-
9841Specific byte within the various ACPI 3.0 *WordSpace macros.
9842
9843Fixed some issues within the resource conversion code for the type-
9844specific
9845flags for both Memory and I/O address resource descriptors. For Memory,
9846implemented support for the MTP and TTP flags. For I/O, split the TRS and
9847TTP flags into two separate fields.
9848
9849Code and Data Size: The current and previous library sizes for the core
9850subsystem are shown below. These are the code and data sizes for the
9851acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9852These
9853values do not include any ACPI driver or OSPM code. The debug version of
9854the
9855code includes the debug output trace mechanism and has a much larger code
9856and data size. Note that these values will vary depending on the
9857efficiency
9858of the compiler and the compiler options used during generation.
9859
9860 Previous Release:
9861 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
9862 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
9863 Current Release:
9864 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
9865 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
9866
9867
9868
98692) iASL Compiler/Disassembler:
9870
9871Relaxed a compiler restriction that disallowed a ResourceIndex byte if
9872the
9873corresponding ResourceSource string was not also present in a resource
9874descriptor declaration. This restriction caused problems with existing
9875AML/ASL code that includes the Index byte without the string. When such
9876AML
9877was disassembled, it could not be compiled without modification. Further,
9878the modified code created a resource template with a different size than
9879the
9880original, breaking code that used fixed offsets into the resource
9881template
9882buffer.
9883
9884Removed a recent feature of the disassembler to ignore a lone
9885ResourceIndex
9886byte. This byte is now emitted if present so that the exact AML can be
9887reproduced when the disassembled code is recompiled.
9888
9889Improved comments and text alignment for the resource descriptor code
9890emitted by the disassembler.
9891
9892Implemented disassembler support for the ACPI 3.0 AccessSize field within
9893a
9894Register() resource descriptor.
9895
9896----------------------------------------
989730 September 2005. Summary of changes for version 20050930:
9898
98991) ACPI CA Core Subsystem:
9900
9901Completed a major overhaul of the Resource Manager code - specifically,
9902optimizations in the area of the AML/internal resource conversion code.
9903The
9904code has been optimized to simplify and eliminate duplicated code, CPU
9905stack
9906use has been decreased by optimizing function parameters and local
9907variables, and naming conventions across the manager have been
9908standardized
9909for clarity and ease of maintenance (this includes function, parameter,
9910variable, and struct/typedef names.) The update may force changes in some
9911driver code, depending on how resources are handled by the host OS.
9912
9913All Resource Manager dispatch and information tables have been moved to a
9914single location for clarity and ease of maintenance. One new file was
9915created, named "rsinfo.c".
9916
9917The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
9918guarantee that the argument is not evaluated twice, making them less
9919prone
9920to macro side-effects. However, since there exists the possibility of
9921additional stack use if a particular compiler cannot optimize them (such
9922as
9923in the debug generation case), the original macros are optionally
9924available.
9925Note that some invocations of the return_VALUE macro may now cause size
9926mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
9927to
9928eliminate these. (From Randy Dunlap)
9929
9930Implemented a new mechanism to enable debug tracing for individual
9931control
9932methods. A new external interface, AcpiDebugTrace, is provided to enable
9933this mechanism. The intent is to allow the host OS to easily enable and
9934disable tracing for problematic control methods. This interface can be
9935easily exposed to a user or debugger interface if desired. See the file
9936psxface.c for details.
9937
9938AcpiUtCallocate will now return a valid pointer if a length of zero is
9939specified - a length of one is used and a warning is issued. This matches
9940the behavior of AcpiUtAllocate.
9941
9942Code and Data Size: The current and previous library sizes for the core
9943subsystem are shown below. These are the code and data sizes for the
9944acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9945These
9946values do not include any ACPI driver or OSPM code. The debug version of
9947the
9948code includes the debug output trace mechanism and has a much larger code
9949and data size. Note that these values will vary depending on the
9950efficiency
9951of the compiler and the compiler options used during generation.
9952
9953 Previous Release:
9954 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
9955 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
9956 Current Release:
9957 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
9958 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
9959
9960
99612) iASL Compiler/Disassembler:
9962
9963A remark is issued if the effective compile-time length of a package or
9964buffer is zero. Previously, this was a warning.
9965
9966----------------------------------------
996716 September 2005. Summary of changes for version 20050916:
9968
99691) ACPI CA Core Subsystem:
9970
9971Fixed a problem within the Resource Manager where support for the Generic
9972Register descriptor was not fully implemented. This descriptor is now
9973fully
9974recognized, parsed, disassembled, and displayed.
9975
9976Completely restructured the Resource Manager code to utilize table-driven
9977dispatch and lookup, eliminating many of the large switch() statements.
9978This
9979reduces overall subsystem code size and code complexity. Affects the
9980resource parsing and construction, disassembly, and debug dump output.
9981
9982Cleaned up and restructured the debug dump output for all resource
9983descriptors. Improved readability of the output and reduced code size.
9984
9985Fixed a problem where changes to internal data structures caused the
9986optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
9987
9988Code and Data Size: The current and previous library sizes for the core
9989subsystem are shown below. These are the code and data sizes for the
9990acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9991These
9992values do not include any ACPI driver or OSPM code. The debug version of
9993the
9994code includes the debug output trace mechanism and has a much larger code
9995and data size. Note that these values will vary depending on the
9996efficiency
9997of the compiler and the compiler options used during generation.
9998
9999 Previous Release:
10000 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
10001 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
10002 Current Release:
10003 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
10004 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
10005
10006
100072) iASL Compiler/Disassembler:
10008
10009Updated the disassembler to automatically insert an EndDependentFn()
10010macro
10011into the ASL stream if this macro is missing in the original AML code,
10012simplifying compilation of the resulting ASL module.
10013
10014Fixed a problem in the disassembler where a disassembled ResourceSource
10015string (within a large resource descriptor) was not surrounded by quotes
10016and
10017not followed by a comma, causing errors when the resulting ASL module was
10018compiled. Also, escape sequences within a ResourceSource string are now
10019handled correctly (especially "\\")
10020
10021----------------------------------------
1002202 September 2005. Summary of changes for version 20050902:
10023
100241) ACPI CA Core Subsystem:
10025
10026Fixed a problem with the internal Owner ID allocation and deallocation
10027mechanisms for control method execution and recursive method invocation.
10028This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
10029messages seen on some systems. Recursive method invocation depth is
10030currently limited to 255. (Alexey Starikovskiy)
10031
10032Completely eliminated all vestiges of support for the "module-level
10033executable code" until this support is fully implemented and debugged.
10034This
10035should eliminate the NO_RETURN_VALUE exceptions seen during table load on
10036some systems that invoke this support.
10037
10038Fixed a problem within the resource manager code where the transaction
10039flags
10040for a 64-bit address descriptor were handled incorrectly in the type-
10041specific flag byte.
10042
10043Consolidated duplicate code within the address descriptor resource
10044manager
10045code, reducing overall subsystem code size.
10046
10047Fixed a fault when using the AML debugger "disassemble" command to
10048disassemble individual control methods.
10049
10050Removed references to the "release_current" directory within the Unix
10051release package.
10052
10053Code and Data Size: The current and previous core subsystem library sizes
10054are shown below. These are the code and data sizes for the acpica.lib
10055produced by the Microsoft Visual C++ 6.0 compiler. These values do not
10056include any ACPI driver or OSPM code. The debug version of the code
10057includes
10058the debug output trace mechanism and has a much larger code and data
10059size.
10060Note that these values will vary depending on the efficiency of the
10061compiler
10062and the compiler options used during generation.
10063
10064 Previous Release:
10065 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10066 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
10067 Current Release:
10068 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
10069 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
10070
10071
100722) iASL Compiler/Disassembler:
10073
10074Implemented an error check for illegal duplicate values in the interrupt
10075and
10076dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
10077Interrupt().
10078
10079Implemented error checking for the Irq() and IrqNoFlags() macros to
10080detect
10081too many values in the interrupt list (16 max) and invalid values in the
10082list (range 0 - 15)
10083
10084The maximum length string literal within an ASL file is now restricted to
10085200 characters as per the ACPI specification.
10086
10087Fixed a fault when using the -ln option (generate namespace listing).
10088
10089Implemented an error check to determine if a DescriptorName within a
10090resource descriptor has already been used within the current scope.
10091
10092----------------------------------------
1009315 August 2005. Summary of changes for version 20050815:
10094
100951) ACPI CA Core Subsystem:
10096
10097Implemented a full bytewise compare to determine if a table load request
10098is
10099attempting to load a duplicate table. The compare is performed if the
10100table
10101signatures and table lengths match. This will allow different tables with
10102the same OEM Table ID and revision to be loaded - probably against the
10103ACPI
10104specification, but discovered in the field nonetheless.
10105
10106Added the changes.txt logfile to each of the zipped release packages.
10107
10108Code and Data Size: Current and previous core subsystem library sizes are
10109shown below. These are the code and data sizes for the acpica.lib
10110produced
10111by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10112any ACPI driver or OSPM code. The debug version of the code includes the
10113debug output trace mechanism and has a much larger code and data size.
10114Note
10115that these values will vary depending on the efficiency of the compiler
10116and
10117the compiler options used during generation.
10118
10119 Previous Release:
10120 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10121 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
10122 Current Release:
10123 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10124 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
10125
10126
101272) iASL Compiler/Disassembler:
10128
10129Fixed a problem where incorrect AML code could be generated for Package
10130objects if optimization is disabled (via the -oa switch).
10131
10132Fixed a problem with where incorrect AML code is generated for variable-
10133length packages when the package length is not specified and the number
10134of
10135initializer values is greater than 255.
10136
10137
10138----------------------------------------
1013929 July 2005. Summary of changes for version 20050729:
10140
101411) ACPI CA Core Subsystem:
10142
10143Implemented support to ignore an attempt to install/load a particular
10144ACPI
10145table more than once. Apparently there exists BIOS code that repeatedly
10146attempts to load the same SSDT upon certain events. With assistance from
10147Venkatesh Pallipadi.
10148
10149Restructured the main interface to the AML parser in order to correctly
10150handle all exceptional conditions. This will prevent leakage of the
10151OwnerId
10152resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
10153some
10154machines. With assistance from Alexey Starikovskiy.
10155
10156Support for "module level code" has been disabled in this version due to
10157a
10158number of issues that have appeared on various machines. The support can
10159be
10160enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
10161compilation. When the issues are fully resolved, the code will be enabled
10162by
10163default again.
10164
10165Modified the internal functions for debug print support to define the
10166FunctionName parameter as a (const char *) for compatibility with
10167compiler
10168built-in macros such as __FUNCTION__, etc.
10169
10170Linted the entire ACPICA source tree for both 32-bit and 64-bit.
10171
10172Implemented support to display an object count summary for the AML
10173Debugger
10174commands Object and Methods.
10175
10176Code and Data Size: Current and previous core subsystem library sizes are
10177shown below. These are the code and data sizes for the acpica.lib
10178produced
10179by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10180any ACPI driver or OSPM code. The debug version of the code includes the
10181debug output trace mechanism and has a much larger code and data size.
10182Note
10183that these values will vary depending on the efficiency of the compiler
10184and
10185the compiler options used during generation.
10186
10187 Previous Release:
10188 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
10189 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
10190 Current Release:
10191 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10192 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
10193
10194
101952) iASL Compiler/Disassembler:
10196
10197Fixed a regression that appeared in the 20050708 version of the compiler
10198where an error message was inadvertently emitted for invocations of the
10199_OSI
10200reserved control method.
10201
10202----------------------------------------
1020308 July 2005. Summary of changes for version 20050708:
10204
102051) ACPI CA Core Subsystem:
10206
10207The use of the CPU stack in the debug version of the subsystem has been
10208considerably reduced. Previously, a debug structure was declared in every
10209function that used the debug macros. This structure has been removed in
10210favor of declaring the individual elements as parameters to the debug
10211functions. This reduces the cumulative stack use during nested execution
10212of
10213ACPI function calls at the cost of a small increase in the code size of
10214the
10215debug version of the subsystem. With assistance from Alexey Starikovskiy
10216and
10217Len Brown.
10218
10219Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
10220headers to define a macro that will return the current function name at
10221runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
10222by
10223the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
10224compiler-dependent header, the function name is saved on the CPU stack
10225(one
10226pointer per function.) This mechanism is used because apparently there
10227exists no standard ANSI-C defined macro that that returns the function
10228name.
10229
10230Redesigned and reimplemented the "Owner ID" mechanism used to track
10231namespace objects created/deleted by ACPI tables and control method
10232execution. A bitmap is now used to allocate and free the IDs, thus
10233solving
10234the wraparound problem present in the previous implementation. The size
10235of
10236the namespace node descriptor was reduced by 2 bytes as a result (Alexey
10237Starikovskiy).
10238
10239Removed the UINT32_BIT and UINT16_BIT types that were used for the
10240bitfield
10241flag definitions within the headers for the predefined ACPI tables. These
10242have been replaced by UINT8_BIT in order to increase the code portability
10243of
10244the subsystem. If the use of UINT8 remains a problem, we may be forced to
10245eliminate bitfields entirely because of a lack of portability.
10246
10247Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
10248This
10249is a frequently used function and this improvement increases the
10250performance
10251of the entire subsystem (Alexey Starikovskiy).
10252
10253Fixed several possible memory leaks and the inverse - premature object
10254deletion (Alexey Starikovskiy).
10255
10256Code and Data Size: Current and previous core subsystem library sizes are
10257shown below. These are the code and data sizes for the acpica.lib
10258produced
10259by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10260any ACPI driver or OSPM code. The debug version of the code includes the
10261debug output trace mechanism and has a much larger code and data size.
10262Note
10263that these values will vary depending on the efficiency of the compiler
10264and
10265the compiler options used during generation.
10266
10267 Previous Release:
10268 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
10269 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
10270 Current Release:
10271 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
10272 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
10273
10274----------------------------------------
1027524 June 2005. Summary of changes for version 20050624:
10276
102771) ACPI CA Core Subsystem:
10278
10279Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
10280the host-defined cache object. This allows the OSL implementation to
10281define
10282and type this object in any manner desired, simplifying the OSL
10283implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
10284Linux, and should be defined in the OS-specific header file for other
10285operating systems as required.
10286
10287Changed the interface to AcpiOsAcquireObject to directly return the
10288requested object as the function return (instead of ACPI_STATUS.) This
10289change was made for performance reasons, since this is the purpose of the
10290interface in the first place. AcpiOsAcquireObject is now similar to the
10291AcpiOsAllocate interface.
10292
10293Implemented a new AML debugger command named Businfo. This command
10294displays
10295information about all devices that have an associate _PRT object. The
10296_ADR,
10297_HID, _UID, and _CID are displayed for these devices.
10298
10299Modified the initialization sequence in AcpiInitializeSubsystem to call
10300the
10301OSL interface AcpiOslInitialize first, before any local initialization.
10302This
10303change was required because the global initialization now calls OSL
10304interfaces.
10305
10306Enhanced the Dump command to display the entire contents of Package
10307objects
10308(including all sub-objects and their values.)
10309
10310Restructured the code base to split some files because of size and/or
10311because the code logically belonged in a separate file. New files are
10312listed
10313below. All makefiles and project files included in the ACPI CA release
10314have
10315been updated.
10316 utilities/utcache.c /* Local cache interfaces */
10317 utilities/utmutex.c /* Local mutex support */
10318 utilities/utstate.c /* State object support */
10319 interpreter/parser/psloop.c /* Main AML parse loop */
10320
10321Code and Data Size: Current and previous core subsystem library sizes are
10322shown below. These are the code and data sizes for the acpica.lib
10323produced
10324by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10325any ACPI driver or OSPM code. The debug version of the code includes the
10326debug output trace mechanism and has a much larger code and data size.
10327Note
10328that these values will vary depending on the efficiency of the compiler
10329and
10330the compiler options used during generation.
10331
10332 Previous Release:
10333 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
10334 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
10335 Current Release:
10336 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
10337 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
10338
10339
103402) iASL Compiler/Disassembler:
10341
10342Fixed a regression introduced in version 20050513 where the use of a
10343Package
10344object within a Case() statement caused a compile time exception. The
10345original behavior has been restored (a Match() operator is emitted.)
10346
10347----------------------------------------
1034817 June 2005. Summary of changes for version 20050617:
10349
103501) ACPI CA Core Subsystem:
10351
10352Moved the object cache operations into the OS interface layer (OSL) to
10353allow
10354the host OS to handle these operations if desired (for example, the Linux
10355OSL will invoke the slab allocator). This support is optional; the
10356compile
10357time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
10358cache
10359code in the ACPI CA core. The new OSL interfaces are shown below. See
10360utalloc.c for an example implementation, and acpiosxf.h for the exact
10361interface definitions. With assistance from Alexey Starikovskiy.
10362 AcpiOsCreateCache
10363 AcpiOsDeleteCache
10364 AcpiOsPurgeCache
10365 AcpiOsAcquireObject
10366 AcpiOsReleaseObject
10367
10368Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
10369return
10370and restore a flags parameter. This fits better with many OS lock models.
10371Note: the current execution state (interrupt handler or not) is no longer
10372passed to these interfaces. If necessary, the OSL must determine this
10373state
10374by itself, a simple and fast operation. With assistance from Alexey
10375Starikovskiy.
10376
10377Fixed a problem in the ACPI table handling where a valid XSDT was assumed
10378present if the revision of the RSDP was 2 or greater. According to the
10379ACPI
10380specification, the XSDT is optional in all cases, and the table manager
10381therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
10382Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
10383contain
10384only the RSDT.
10385
10386Fixed an interpreter problem with the Mid() operator in the case of an
10387input
10388string where the resulting output string is of zero length. It now
10389correctly
10390returns a valid, null terminated string object instead of a string object
10391with a null pointer.
10392
10393Fixed a problem with the control method argument handling to allow a
10394store
10395to an Arg object that already contains an object of type Device. The
10396Device
10397object is now correctly overwritten. Previously, an error was returned.
10398
10399
10400Enhanced the debugger Find command to emit object values in addition to
10401the
10402found object pathnames. The output format is the same as the dump
10403namespace
10404command.
10405
10406Enhanced the debugger Set command. It now has the ability to set the
10407value
10408of any Named integer object in the namespace (Previously, only method
10409locals
10410and args could be set.)
10411
10412Code and Data Size: Current and previous core subsystem library sizes are
10413shown below. These are the code and data sizes for the acpica.lib
10414produced
10415by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10416any ACPI driver or OSPM code. The debug version of the code includes the
10417debug output trace mechanism and has a much larger code and data size.
10418Note
10419that these values will vary depending on the efficiency of the compiler
10420and
10421the compiler options used during generation.
10422
10423 Previous Release:
10424 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
10425 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
10426 Current Release:
10427 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
10428 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
10429
10430
104312) iASL Compiler/Disassembler:
10432
10433Fixed a regression in the disassembler where if/else/while constructs
10434were
10435output incorrectly. This problem was introduced in the previous release
10436(20050526). This problem also affected the single-step disassembly in the
10437debugger.
10438
10439Fixed a problem where compiling the reserved _OSI method would randomly
10440(but
10441rarely) produce compile errors.
10442
10443Enhanced the disassembler to emit compilable code in the face of
10444incorrect
10445AML resource descriptors. If the optional ResourceSourceIndex is present,
10446but the ResourceSource is not, do not emit the ResourceSourceIndex in the
10447disassembly. Otherwise, the resulting code cannot be compiled without
10448errors.
10449
10450----------------------------------------
1045126 May 2005. Summary of changes for version 20050526:
10452
104531) ACPI CA Core Subsystem:
10454
10455Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
10456the module level (not within a control method.) These opcodes are
10457executed
10458exactly once at the time the table is loaded. This type of code was legal
10459up
10460until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
10461in
10462order to provide backwards compatibility with earlier BIOS
10463implementations.
10464This eliminates the "Encountered executable code at module level" warning
10465that was previously generated upon detection of such code.
10466
10467Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
10468inadvertently be generated during the lookup of namespace objects in the
10469second pass parse of ACPI tables and control methods. It appears that
10470this
10471problem could occur during the resolution of forward references to
10472namespace
10473objects.
10474
10475Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
10476corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
10477allows the deadlock detection debug code to be compiled out in the normal
10478case, improving mutex performance (and overall subsystem performance)
10479considerably.
10480
10481Implemented a handful of miscellaneous fixes for possible memory leaks on
10482error conditions and error handling control paths. These fixes were
10483suggested by FreeBSD and the Coverity Prevent source code analysis tool.
10484
10485Added a check for a null RSDT pointer in AcpiGetFirmwareTable
10486(tbxfroot.c)
10487to prevent a fault in this error case.
10488
10489Code and Data Size: Current and previous core subsystem library sizes are
10490shown below. These are the code and data sizes for the acpica.lib
10491produced
10492by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10493any ACPI driver or OSPM code. The debug version of the code includes the
10494debug output trace mechanism and has a much larger code and data size.
10495Note
10496that these values will vary depending on the efficiency of the compiler
10497and
10498the compiler options used during generation.
10499
10500 Previous Release:
10501 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10502 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10503 Current Release:
10504 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
10505 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
10506
10507
105082) iASL Compiler/Disassembler:
10509
10510Implemented support to allow Type 1 and Type 2 ASL operators to appear at
10511the module level (not within a control method.) These operators will be
10512executed once at the time the table is loaded. This type of code was
10513legal
10514up until the release of ACPI 2.0B (2002) and is now supported by the iASL
10515compiler in order to provide backwards compatibility with earlier BIOS
10516ASL
10517code.
10518
10519The ACPI integer width (specified via the table revision ID or the -r
10520override, 32 or 64 bits) is now used internally during compile-time
10521constant
10522folding to ensure that constants are truncated to 32 bits if necessary.
10523Previously, the revision ID value was only emitted in the AML table
10524header.
10525
10526An error message is now generated for the Mutex and Method operators if
10527the
10528SyncLevel parameter is outside the legal range of 0 through 15.
10529
10530Fixed a problem with the Method operator ParameterTypes list handling
10531(ACPI
105323.0). Previously, more than 2 types or 2 arguments generated a syntax
10533error.
10534The actual underlying implementation of method argument typechecking is
10535still under development, however.
10536
10537----------------------------------------
1053813 May 2005. Summary of changes for version 20050513:
10539
105401) ACPI CA Core Subsystem:
10541
10542Implemented support for PCI Express root bridges -- added support for
10543device
10544PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
10545
10546The interpreter now automatically truncates incoming 64-bit constants to
1054732
10548bits if currently executing out of a 32-bit ACPI table (Revision < 2).
10549This
10550also affects the iASL compiler constant folding. (Note: as per below, the
10551iASL compiler no longer allows 64-bit constants within 32-bit tables.)
10552
10553Fixed a problem where string and buffer objects with "static" pointers
10554(pointers to initialization data within an ACPI table) were not handled
10555consistently. The internal object copy operation now always copies the
10556data
10557to a newly allocated buffer, regardless of whether the source object is
10558static or not.
10559
10560Fixed a problem with the FromBCD operator where an implicit result
10561conversion was improperly performed while storing the result to the
10562target
10563operand. Since this is an "explicit conversion" operator, the implicit
10564conversion should never be performed on the output.
10565
10566Fixed a problem with the CopyObject operator where a copy to an existing
10567named object did not always completely overwrite the existing object
10568stored
10569at name. Specifically, a buffer-to-buffer copy did not delete the
10570existing
10571buffer.
10572
10573Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
10574and
10575structs for consistency.
10576
10577Code and Data Size: Current and previous core subsystem library sizes are
10578shown below. These are the code and data sizes for the acpica.lib
10579produced
10580by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10581any ACPI driver or OSPM code. The debug version of the code includes the
10582debug output trace mechanism and has a much larger code and data size.
10583Note
10584that these values will vary depending on the efficiency of the compiler
10585and
10586the compiler options used during generation.
10587
10588 Previous Release:
10589 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10590 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10591 Current Release: (Same sizes)
10592 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10593 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10594
10595
105962) iASL Compiler/Disassembler:
10597
10598The compiler now emits a warning if an attempt is made to generate a 64-
10599bit
10600integer constant from within a 32-bit ACPI table (Revision < 2). The
10601integer
10602is truncated to 32 bits.
10603
10604Fixed a problem with large package objects: if the static length of the
10605package is greater than 255, the "variable length package" opcode is
10606emitted. Previously, this caused an error. This requires an update to the
10607ACPI spec, since it currently (incorrectly) states that packages larger
10608than
10609255 elements are not allowed.
10610
10611The disassembler now correctly handles variable length packages and
10612packages
10613larger than 255 elements.
10614
10615----------------------------------------
1061608 April 2005. Summary of changes for version 20050408:
10617
106181) ACPI CA Core Subsystem:
10619
10620Fixed three cases in the interpreter where an "index" argument to an ASL
10621function was still (internally) 32 bits instead of the required 64 bits.
10622This was the Index argument to the Index, Mid, and Match operators.
10623
10624The "strupr" function is now permanently local (AcpiUtStrupr), since this
10625is
10626not a POSIX-defined function and not present in most kernel-level C
10627libraries. All references to the C library strupr function have been
10628removed
10629from the headers.
10630
10631Completed the deployment of static functions/prototypes. All prototypes
10632with
10633the static attribute have been moved from the headers to the owning C
10634file.
10635
10636Implemented an extract option (-e) for the AcpiBin utility (AML binary
10637utility). This option allows the utility to extract individual ACPI
10638tables
10639from the output of AcpiDmp. It provides the same functionality of the
10640acpixtract.pl perl script without the worry of setting the correct perl
10641options. AcpiBin runs on Windows and has not yet been generated/validated
10642in
10643the Linux/Unix environment (but should be soon).
10644
10645Updated and fixed the table dump option for AcpiBin (-d). This option
10646converts a single ACPI table to a hex/ascii file, similar to the output
10647of
10648AcpiDmp.
10649
10650Code and Data Size: Current and previous core subsystem library sizes are
10651shown below. These are the code and data sizes for the acpica.lib
10652produced
10653by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10654any ACPI driver or OSPM code. The debug version of the code includes the
10655debug output trace mechanism and has a much larger code and data size.
10656Note
10657that these values will vary depending on the efficiency of the compiler
10658and
10659the compiler options used during generation.
10660
10661 Previous Release:
10662 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
10663 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
10664 Current Release:
10665 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10666 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10667
10668
106692) iASL Compiler/Disassembler:
10670
10671Disassembler fix: Added a check to ensure that the table length found in
10672the
10673ACPI table header within the input file is not longer than the actual
10674input
10675file size. This indicates some kind of file or table corruption.
10676
10677----------------------------------------
1067829 March 2005. Summary of changes for version 20050329:
10679
106801) ACPI CA Core Subsystem:
10681
10682An error is now generated if an attempt is made to create a Buffer Field
10683of
10684length zero (A CreateField with a length operand of zero.)
10685
10686The interpreter now issues a warning whenever executable code at the
10687module
10688level is detected during ACPI table load. This will give some idea of the
10689prevalence of this type of code.
10690
10691Implemented support for references to named objects (other than control
10692methods) within package objects.
10693
10694Enhanced package object output for the debug object. Package objects are
10695now
10696completely dumped, showing all elements.
10697
10698Enhanced miscellaneous object output for the debug object. Any object can
10699now be written to the debug object (for example, a device object can be
10700written, and the type of the object will be displayed.)
10701
10702The "static" qualifier has been added to all local functions across both
10703the
10704core subsystem and the iASL compiler.
10705
10706The number of "long" lines (> 80 chars) within the source has been
10707significantly reduced, by about 1/3.
10708
10709Cleaned up all header files to ensure that all CA/iASL functions are
10710prototyped (even static functions) and the formatting is consistent.
10711
10712Two new header files have been added, acopcode.h and acnames.h.
10713
10714Removed several obsolete functions that were no longer used.
10715
10716Code and Data Size: Current and previous core subsystem library sizes are
10717shown below. These are the code and data sizes for the acpica.lib
10718produced
10719by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10720any ACPI driver or OSPM code. The debug version of the code includes the
10721debug output trace mechanism and has a much larger code and data size.
10722Note
10723that these values will vary depending on the efficiency of the compiler
10724and
10725the compiler options used during generation.
10726
10727 Previous Release:
10728 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10729 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
10730 Current Release:
10731 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
10732 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
10733
10734
10735
107362) iASL Compiler/Disassembler:
10737
10738Fixed a problem with the resource descriptor generation/support. For the
10739ResourceSourceIndex and the ResourceSource fields, both must be present,
10740or
10741both must be not present - can't have one without the other.
10742
10743The compiler now returns non-zero from the main procedure if any errors
10744have
10745occurred during the compilation.
10746
10747
10748----------------------------------------
1074909 March 2005. Summary of changes for version 20050309:
10750
107511) ACPI CA Core Subsystem:
10752
10753The string-to-buffer implicit conversion code has been modified again
10754after
10755a change to the ACPI specification. In order to match the behavior of
10756the
10757other major ACPI implementation, the target buffer is no longer truncated
10758if
10759the source string is smaller than an existing target buffer. This change
10760requires an update to the ACPI spec, and should eliminate the recent
10761AE_AML_BUFFER_LIMIT issues.
10762
10763The "implicit return" support was rewritten to a new algorithm that
10764solves
10765the general case. Rather than attempt to determine when a method is about
10766to
10767exit, the result of every ASL operator is saved momentarily until the
10768very
10769next ASL operator is executed. Therefore, no matter how the method exits,
10770there will always be a saved implicit return value. This feature is only
10771enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
10772eliminate
10773AE_AML_NO_RETURN_VALUE errors when enabled.
10774
10775Implemented implicit conversion support for the predicate (operand) of
10776the
10777If, Else, and While operators. String and Buffer arguments are
10778automatically
10779converted to Integers.
10780
10781Changed the string-to-integer conversion behavior to match the new ACPI
10782errata: "If no integer object exists, a new integer is created. The ASCII
10783string is interpreted as a hexadecimal constant. Each string character is
10784interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
10785with the first character as the most significant digit, and ending with
10786the
10787first non-hexadecimal character or end-of-string." This means that the
10788first
10789non-hex character terminates the conversion and this is the code that was
10790changed.
10791
10792Fixed a problem where the ObjectType operator would fail (fault) when
10793used
10794on an Index of a Package which pointed to a null package element. The
10795operator now properly returns zero (Uninitialized) in this case.
10796
10797Fixed a problem where the While operator used excessive memory by not
10798properly popping the result stack during execution. There was no memory
10799leak
10800after execution, however. (Code provided by Valery Podrezov.)
10801
10802Fixed a problem where references to control methods within Package
10803objects
10804caused the method to be invoked, instead of producing a reference object
10805pointing to the method.
10806
10807Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
10808to
10809improve performance and reduce code size. (Code provided by Alexey
10810Starikovskiy.)
10811
10812Code and Data Size: Current and previous core subsystem library sizes are
10813shown below. These are the code and data sizes for the acpica.lib
10814produced
10815by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10816any ACPI driver or OSPM code. The debug version of the code includes the
10817debug output trace mechanism and has a much larger code and data size.
10818Note
10819that these values will vary depending on the efficiency of the compiler
10820and
10821the compiler options used during generation.
10822
10823 Previous Release:
10824 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10825 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
10826 Current Release:
10827 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10828 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
10829
10830
108312) iASL Compiler/Disassembler:
10832
10833Fixed a problem with the Return operator with no arguments. Since the AML
10834grammar for the byte encoding requires an operand for the Return opcode,
10835the
10836compiler now emits a Return(Zero) for this case. An ACPI specification
10837update has been written for this case.
10838
10839For tables other than the DSDT, namepath optimization is automatically
10840disabled. This is because SSDTs can be loaded anywhere in the namespace,
10841the
10842compiler has no knowledge of where, and thus cannot optimize namepaths.
10843
10844Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
10845inadvertently omitted from the ACPI specification, and will require an
10846update to the spec.
10847
10848The source file scan for ASCII characters is now optional (-a). This
10849change
10850was made because some vendors place non-ascii characters within comments.
10851However, the scan is simply a brute-force byte compare to ensure all
10852characters in the file are in the range 0x00 to 0x7F.
10853
10854Fixed a problem with the CondRefOf operator where the compiler was
10855inappropriately checking for the existence of the target. Since the point
10856of
10857the operator is to check for the existence of the target at run-time, the
10858compiler no longer checks for the target existence.
10859
10860Fixed a problem where errors generated from the internal AML interpreter
10861during constant folding were not handled properly, causing a fault.
10862
10863Fixed a problem with overly aggressive range checking for the Stall
10864operator. The valid range (max 255) is now only checked if the operand is
10865of
10866type Integer. All other operand types cannot be statically checked.
10867
10868Fixed a problem where control method references within the RefOf,
10869DeRefOf,
10870and ObjectType operators were not treated properly. They are now treated
10871as
10872actual references, not method invocations.
10873
10874Fixed and enhanced the "list namespace" option (-ln). This option was
10875broken
10876a number of releases ago.
10877
10878Improved error handling for the Field, IndexField, and BankField
10879operators.
10880The compiler now cleanly reports and recovers from errors in the field
10881component (FieldUnit) list.
10882
10883Fixed a disassembler problem where the optional ResourceDescriptor fields
10884TRS and TTP were not always handled correctly.
10885
10886Disassembler - Comments in output now use "//" instead of "/*"
10887
10888----------------------------------------
1088928 February 2005. Summary of changes for version 20050228:
10890
108911) ACPI CA Core Subsystem:
10892
10893Fixed a problem where the result of an Index() operator (an object
10894reference) must increment the reference count on the target object for
10895the
10896life of the object reference.
10897
10898Implemented AML Interpreter and Debugger support for the new ACPI 3.0
10899Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
10900WordSpace
10901resource descriptors.
10902
10903Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
10904Space Descriptor" string, indicating interpreter support for the
10905descriptors
10906above.
10907
10908Implemented header support for the new ACPI 3.0 FADT flag bits.
10909
10910Implemented header support for the new ACPI 3.0 PCI Express bits for the
10911PM1
10912status/enable registers.
10913
10914Updated header support for the MADT processor local Apic struct and MADT
10915platform interrupt source struct for new ACPI 3.0 fields.
10916
10917Implemented header support for the SRAT and SLIT ACPI tables.
10918
10919Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
10920flag
10921at runtime.
10922
10923Code and Data Size: Current and previous core subsystem library sizes are
10924shown below. These are the code and data sizes for the acpica.lib
10925produced
10926by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10927any ACPI driver or OSPM code. The debug version of the code includes the
10928debug output trace mechanism and has a much larger code and data size.
10929Note
10930that these values will vary depending on the efficiency of the compiler
10931and
10932the compiler options used during generation.
10933
10934 Previous Release:
10935 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
10936 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
10937 Current Release:
10938 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10939 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
10940
10941
109422) iASL Compiler/Disassembler:
10943
10944Fixed a problem with the internal 64-bit String-to-integer conversion
10945with
10946strings less than two characters long.
10947
10948Fixed a problem with constant folding where the result of the Index()
10949operator can not be considered a constant. This means that Index() cannot
10950be
10951a type3 opcode and this will require an update to the ACPI specification.
10952
10953Disassembler: Implemented support for the TTP, MTP, and TRS resource
10954descriptor fields. These fields were inadvertently ignored and not output
10955in
10956the disassembly of the resource descriptor.
10957
10958
10959 ----------------------------------------
1096011 February 2005. Summary of changes for version 20050211:
10961
109621) ACPI CA Core Subsystem:
10963
10964Implemented ACPI 3.0 support for implicit conversion within the Match()
10965operator. MatchObjects can now be of type integer, buffer, or string
10966instead
10967of just type integer. Package elements are implicitly converted to the
10968type
10969of the MatchObject. This change aligns the behavior of Match() with the
10970behavior of the other logical operators (LLess(), etc.) It also requires
10971an
10972errata change to the ACPI specification as this support was intended for
10973ACPI 3.0, but was inadvertently omitted.
10974
10975Fixed a problem with the internal implicit "to buffer" conversion.
10976Strings
10977that are converted to buffers will cause buffer truncation if the string
10978is
10979smaller than the target buffer. Integers that are converted to buffers
10980will
10981not cause buffer truncation, only zero extension (both as per the ACPI
10982spec.) The problem was introduced when code was added to truncate the
10983buffer, but this should not be performed in all cases, only the string
10984case.
10985
10986Fixed a problem with the Buffer and Package operators where the
10987interpreter
10988would get confused if two such operators were used as operands to an ASL
10989operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
10990stack was not being popped after the execution of these operators,
10991resulting
10992in an AE_NO_RETURN_VALUE exception.
10993
10994Fixed a problem with constructs of the form Store(Index(...),...). The
10995reference object returned from Index was inadvertently resolved to an
10996actual
10997value. This problem was introduced in version 20050114 when the behavior
10998of
10999Store() was modified to restrict the object types that can be used as the
11000source operand (to match the ACPI specification.)
11001
11002Reduced excessive stack use within the AcpiGetObjectInfo procedure.
11003
11004Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
11005
11006Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
11007
11008Code and Data Size: Current and previous core subsystem library sizes are
11009shown below. These are the code and data sizes for the acpica.lib
11010produced
11011by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11012any ACPI driver or OSPM code. The debug version of the code includes the
11013debug output trace mechanism and has a much larger code and data size.
11014Note
11015that these values will vary depending on the efficiency of the compiler
11016and
11017the compiler options used during generation.
11018
11019 Previous Release:
11020 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
11021 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
11022 Current Release:
11023 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
11024 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
11025
11026
110272) iASL Compiler/Disassembler:
11028
11029Fixed a code generation problem in the constant folding optimization code
11030where incorrect code was generated if a constant was reduced to a buffer
11031object (i.e., a reduced type 5 opcode.)
11032
11033Fixed a typechecking problem for the ToBuffer operator. Caused by an
11034incorrect return type in the internal opcode information table.
11035
11036----------------------------------------
1103725 January 2005. Summary of changes for version 20050125:
11038
110391) ACPI CA Core Subsystem:
11040
11041Fixed a recently introduced problem with the Global Lock where the
11042underlying semaphore was not created. This problem was introduced in
11043version 20050114, and caused an AE_AML_NO_OPERAND exception during an
11044Acquire() operation on _GL.
11045
11046The local object cache is now optional, and is disabled by default. Both
11047AcpiExec and the iASL compiler enable the cache because they run in user
11048mode and this enhances their performance. #define
11049ACPI_ENABLE_OBJECT_CACHE
11050to enable the local cache.
11051
11052Fixed an issue in the internal function AcpiUtEvaluateObject concerning
11053the
11054optional "implicit return" support where an error was returned if no
11055return
11056object was expected, but one was implicitly returned. AE_OK is now
11057returned
11058in this case and the implicitly returned object is deleted.
11059AcpiUtEvaluateObject is only occasionally used, and only to execute
11060reserved
11061methods such as _STA and _INI where the return type is known up front.
11062
11063Fixed a few issues with the internal convert-to-integer code. It now
11064returns
11065an error if an attempt is made to convert a null string, a string of only
11066blanks/tabs, or a zero-length buffer. This affects both implicit
11067conversion
11068and explicit conversion via the ToInteger() operator.
11069
11070The internal debug code in AcpiUtAcquireMutex has been commented out. It
11071is
11072not needed for normal operation and should increase the performance of
11073the
11074entire subsystem. The code remains in case it is needed for debug
11075purposes
11076again.
11077
11078The AcpiExec source and makefile are included in the Unix/Linux package
11079for
11080the first time.
11081
11082Code and Data Size: Current and previous core subsystem library sizes are
11083shown below. These are the code and data sizes for the acpica.lib
11084produced
11085by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11086any ACPI driver or OSPM code. The debug version of the code includes the
11087debug output trace mechanism and has a much larger code and data size.
11088Note
11089that these values will vary depending on the efficiency of the compiler
11090and
11091the compiler options used during generation.
11092
11093 Previous Release:
11094 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
11095 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
11096 Current Release:
11097 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
11098 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
11099
111002) iASL Compiler/Disassembler:
11101
11102Switch/Case support: A warning is now issued if the type of the Switch
11103value
11104cannot be determined at compile time. For example, Switch(Arg0) will
11105generate the warning, and the type is assumed to be an integer. As per
11106the
11107ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
11108the
11109warning.
11110
11111Switch/Case support: Implemented support for buffer and string objects as
11112the switch value. This is an ACPI 3.0 feature, now that LEqual supports
11113buffers and strings.
11114
11115Switch/Case support: The emitted code for the LEqual() comparisons now
11116uses
11117the switch value as the first operand, not the second. The case value is
11118now
11119the second operand, and this allows the case value to be implicitly
11120converted to the type of the switch value, not the other way around.
11121
11122Switch/Case support: Temporary variables are now emitted immediately
11123within
11124the control method, not at the global level. This means that there are
11125now
1112636 temps available per-method, not 36 temps per-module as was the case
11127with
11128the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
11129
11130----------------------------------------
1113114 January 2005. Summary of changes for version 20050114:
11132
11133Added 2005 copyright to all module headers. This affects every module in
11134the core subsystem, iASL compiler, and the utilities.
11135
111361) ACPI CA Core Subsystem:
11137
11138Fixed an issue with the String-to-Buffer conversion code where the string
11139null terminator was not included in the buffer after conversion, but
11140there
11141is existing ASL that assumes the string null terminator is included. This
11142is
11143the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
11144introduced in the previous version when the code was updated to correctly
11145set the converted buffer size as per the ACPI specification. The ACPI
11146spec
11147is ambiguous and will be updated to specify that the null terminator must
11148be
11149included in the converted buffer. This also affects the ToBuffer() ASL
11150operator.
11151
11152Fixed a problem with the Mid() ASL/AML operator where it did not work
11153correctly on Buffer objects. Newly created sub-buffers were not being
11154marked
11155as initialized.
11156
11157
11158Fixed a problem in AcpiTbFindTable where incorrect string compares were
11159performed on the OemId and OemTableId table header fields. These fields
11160are
11161not null terminated, so strncmp is now used instead of strcmp.
11162
11163Implemented a restriction on the Store() ASL/AML operator to align the
11164behavior with the ACPI specification. Previously, any object could be
11165used
11166as the source operand. Now, the only objects that may be used are
11167Integers,
11168Buffers, Strings, Packages, Object References, and DDB Handles. If
11169necessary, the original behavior can be restored by enabling the
11170EnableInterpreterSlack flag.
11171
11172Enhanced the optional "implicit return" support to allow an implicit
11173return
11174value from methods that are invoked externally via the AcpiEvaluateObject
11175interface. This enables implicit returns from the _STA and _INI methods,
11176for example.
11177
11178Changed the Revision() ASL/AML operator to return the current version of
11179the
11180AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
11181returned
11182the supported ACPI version (This is the function of the _REV method).
11183
11184Updated the _REV predefined method to return the currently supported
11185version
11186of ACPI, now 3.
11187
11188Implemented batch mode option for the AcpiExec utility (-b).
11189
11190Code and Data Size: Current and previous core subsystem library sizes are
11191shown below. These are the code and data sizes for the acpica.lib
11192produced
11193by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11194any ACPI driver or OSPM code. The debug version of the code includes the
11195debug output trace mechanism and has a much larger code and data size.
11196Note
11197that these values will vary depending on the efficiency of the compiler
11198and
11199the compiler options used during generation.
11200
11201 Previous Release:
11202 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11203 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
11204 Current Release:
11205 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
11206 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
11207
11208----------------------------------------
1120910 December 2004. Summary of changes for version 20041210:
11210
11211ACPI 3.0 support is nearing completion in both the iASL compiler and the
11212ACPI CA core subsystem.
11213
112141) ACPI CA Core Subsystem:
11215
11216Fixed a problem in the ToDecimalString operator where the resulting
11217string
11218length was incorrectly calculated. The length is now calculated exactly,
11219eliminating incorrect AE_STRING_LIMIT exceptions.
11220
11221Fixed a problem in the ToHexString operator to allow a maximum 200
11222character
11223string to be produced.
11224
11225Fixed a problem in the internal string-to-buffer and buffer-to-buffer
11226copy
11227routine where the length of the resulting buffer was not truncated to the
11228new size (if the target buffer already existed).
11229
11230Code and Data Size: Current and previous core subsystem library sizes are
11231shown below. These are the code and data sizes for the acpica.lib
11232produced
11233by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11234any ACPI driver or OSPM code. The debug version of the code includes the
11235debug output trace mechanism and has a much larger code and data size.
11236Note
11237that these values will vary depending on the efficiency of the compiler
11238and
11239the compiler options used during generation.
11240
11241 Previous Release:
11242 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11243 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
11244 Current Release:
11245 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11246 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
11247
11248
112492) iASL Compiler/Disassembler:
11250
11251Implemented the new ACPI 3.0 resource template macros - DWordSpace,
11252ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
11253Includes support in the disassembler.
11254
11255Implemented support for the new (ACPI 3.0) parameter to the Register
11256macro,
11257AccessSize.
11258
11259Fixed a problem where the _HE resource name for the Interrupt macro was
11260referencing bit 0 instead of bit 1.
11261
11262Implemented check for maximum 255 interrupts in the Interrupt macro.
11263
11264Fixed a problem with the predefined resource descriptor names where
11265incorrect AML code was generated if the offset within the resource buffer
11266was 0 or 1. The optimizer shortened the AML code to a single byte opcode
11267but did not update the surrounding package lengths.
11268
11269Changes to the Dma macro: All channels within the channel list must be
11270in
11271the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
11272optional (default is BusMaster).
11273
11274Implemented check for maximum 7 data bytes for the VendorShort macro.
11275
11276The ReadWrite parameter is now optional for the Memory32 and similar
11277macros.
11278
11279----------------------------------------
1128003 December 2004. Summary of changes for version 20041203:
11281
112821) ACPI CA Core Subsystem:
11283
11284The low-level field insertion/extraction code (exfldio) has been
11285completely
11286rewritten to eliminate unnecessary complexity, bugs, and boundary
11287conditions.
11288
11289Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
11290ToDecimalString
11291operators where the input operand could be inadvertently deleted if no
11292conversion was necessary (e.g., if the input to ToInteger was an Integer
11293object.)
11294
11295Fixed a problem with the ToDecimalString and ToHexString where an
11296incorrect
11297exception code was returned if the resulting string would be > 200 chars.
11298AE_STRING_LIMIT is now returned.
11299
11300Fixed a problem with the Concatenate operator where AE_OK was always
11301returned, even if the operation failed.
11302
11303Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
11304semaphores to be allocated.
11305
11306Code and Data Size: Current and previous core subsystem library sizes are
11307shown below. These are the code and data sizes for the acpica.lib
11308produced
11309by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11310any ACPI driver or OSPM code. The debug version of the code includes the
11311debug output trace mechanism and has a much larger code and data size.
11312Note
11313that these values will vary depending on the efficiency of the compiler
11314and
11315the compiler options used during generation.
11316
11317 Previous Release:
11318 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11319 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11320 Current Release:
11321 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11322 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
11323
11324
113252) iASL Compiler/Disassembler:
11326
11327Fixed typechecking for the ObjectType and SizeOf operators. Problem was
11328recently introduced in 20041119.
11329
11330Fixed a problem with the ToUUID macro where the upper nybble of each
11331buffer
11332byte was inadvertently set to zero.
11333
11334----------------------------------------
1133519 November 2004. Summary of changes for version 20041119:
11336
113371) ACPI CA Core Subsystem:
11338
11339Fixed a problem in the internal ConvertToInteger routine where new
11340integers
11341were not truncated to 32 bits for 32-bit ACPI tables. This routine
11342converts
11343buffers and strings to integers.
11344
11345Implemented support to store a value to an Index() on a String object.
11346This
11347is an ACPI 2.0 feature that had not yet been implemented.
11348
11349Implemented new behavior for storing objects to individual package
11350elements
11351(via the Index() operator). The previous behavior was to invoke the
11352implicit
11353conversion rules if an object was already present at the index. The new
11354behavior is to simply delete any existing object and directly store the
11355new
11356object. Although the ACPI specification seems unclear on this subject,
11357other
11358ACPI implementations behave in this manner. (This is the root of the
11359AE_BAD_HEX_CONSTANT issue.)
11360
11361Modified the RSDP memory scan mechanism to support the extended checksum
11362for
11363ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
11364RSDP signature is found with a valid checksum.
11365
11366Code and Data Size: Current and previous core subsystem library sizes are
11367shown below. These are the code and data sizes for the acpica.lib
11368produced
11369by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11370any ACPI driver or OSPM code. The debug version of the code includes the
11371debug output trace mechanism and has a much larger code and data size.
11372Note
11373that these values will vary depending on the efficiency of the compiler
11374and
11375the compiler options used during generation.
11376
11377 Previous Release:
11378 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11379 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11380 Current Release:
11381 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11382 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11383
11384
113852) iASL Compiler/Disassembler:
11386
11387Fixed a missing semicolon in the aslcompiler.y file.
11388
11389----------------------------------------
1139005 November 2004. Summary of changes for version 20041105:
11391
113921) ACPI CA Core Subsystem:
11393
11394Implemented support for FADT revision 2. This was an interim table
11395(between
11396ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
11397
11398Implemented optional support to allow uninitialized LocalX and ArgX
11399variables in a control method. The variables are initialized to an
11400Integer
11401object with a value of zero. This support is enabled by setting the
11402AcpiGbl_EnableInterpreterSlack flag to TRUE.
11403
11404Implemented support for Integer objects for the SizeOf operator. Either
114054
11406or 8 is returned, depending on the current integer size (32-bit or 64-
11407bit,
11408depending on the parent table revision).
11409
11410Fixed a problem in the implementation of the SizeOf and ObjectType
11411operators
11412where the operand was resolved to a value too early, causing incorrect
11413return values for some objects.
11414
11415Fixed some possible memory leaks during exceptional conditions.
11416
11417Code and Data Size: Current and previous core subsystem library sizes are
11418shown below. These are the code and data sizes for the acpica.lib
11419produced
11420by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11421any ACPI driver or OSPM code. The debug version of the code includes the
11422debug output trace mechanism and has a much larger code and data size.
11423Note
11424that these values will vary depending on the efficiency of the compiler
11425and
11426the compiler options used during generation.
11427
11428 Previous Release:
11429 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11430 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
11431 Current Release:
11432 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11433 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11434
11435
114362) iASL Compiler/Disassembler:
11437
11438Implemented support for all ACPI 3.0 reserved names and methods.
11439
11440Implemented all ACPI 3.0 grammar elements in the front-end, including
11441support for semicolons.
11442
11443Implemented the ACPI 3.0 Function() and ToUUID() macros
11444
11445Fixed a problem in the disassembler where a Scope() operator would not be
11446emitted properly if the target of the scope was in another table.
11447
11448----------------------------------------
1144915 October 2004. Summary of changes for version 20041015:
11450
11451Note: ACPI CA is currently undergoing an in-depth and complete formal
11452evaluation to test/verify the following areas. Other suggestions are
11453welcome. This will result in an increase in the frequency of releases and
11454the number of bug fixes in the next few months.
11455 - Functional tests for all ASL/AML operators
11456 - All implicit/explicit type conversions
11457 - Bit fields and operation regions
11458 - 64-bit math support and 32-bit-only "truncated" math support
11459 - Exceptional conditions, both compiler and interpreter
11460 - Dynamic object deletion and memory leaks
11461 - ACPI 3.0 support when implemented
11462 - External interfaces to the ACPI subsystem
11463
11464
114651) ACPI CA Core Subsystem:
11466
11467Fixed two alignment issues on 64-bit platforms - within debug statements
11468in
11469AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
11470Address
11471field within the non-aligned ACPI generic address structure.
11472
11473Fixed a problem in the Increment and Decrement operators where incorrect
11474operand resolution could result in the inadvertent modification of the
11475original integer when the integer is passed into another method as an
11476argument and the arg is then incremented/decremented.
11477
11478Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
11479bit
11480BCD number were truncated during conversion.
11481
11482Fixed a problem in the ToDecimal operator where the length of the
11483resulting
11484string could be set incorrectly too long if the input operand was a
11485Buffer
11486object.
11487
11488Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
11489(0)
11490within a buffer would prematurely terminate a compare between buffer
11491objects.
11492
11493Added a check for string overflow (>200 characters as per the ACPI
11494specification) during the Concatenate operator with two string operands.
11495
11496Code and Data Size: Current and previous core subsystem library sizes are
11497shown below. These are the code and data sizes for the acpica.lib
11498produced
11499by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11500any ACPI driver or OSPM code. The debug version of the code includes the
11501debug output trace mechanism and has a much larger code and data size.
11502Note
11503that these values will vary depending on the efficiency of the compiler
11504and
11505the compiler options used during generation.
11506
11507 Previous Release:
11508 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11509 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
11510 Current Release:
11511 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11512 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
11513
11514
11515
115162) iASL Compiler/Disassembler:
11517
11518Allow the use of the ObjectType operator on uninitialized Locals and Args
11519(returns 0 as per the ACPI specification).
11520
11521Fixed a problem where the compiler would fault if there was a syntax
11522error
11523in the FieldName of all of the various CreateXXXField operators.
11524
11525Disallow the use of lower case letters within the EISAID macro, as per
11526the
11527ACPI specification. All EISAID strings must be of the form "UUUNNNN"
11528Where
11529U is an uppercase letter and N is a hex digit.
11530
11531
11532----------------------------------------
1153306 October 2004. Summary of changes for version 20041006:
11534
115351) ACPI CA Core Subsystem:
11536
11537Implemented support for the ACPI 3.0 Timer operator. This ASL function
11538implements a 64-bit timer with 100 nanosecond granularity.
11539
11540Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
11541implement the ACPI 3.0 Timer operator. This allows the host OS to
11542implement
11543the timer with the best clock available. Also, it keeps the core
11544subsystem
11545out of the clock handling business, since the host OS (usually) performs
11546this function.
11547
11548Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
11549functions use a 64-bit address which is part of the packed ACPI Generic
11550Address Structure. Since the structure is non-aligned, the alignment
11551macros
11552are now used to extract the address to a local variable before use.
11553
11554Fixed a problem where the ToInteger operator assumed all input strings
11555were
11556hexadecimal. The operator now handles both decimal strings and hex
11557strings
11558(prefixed with "0x").
11559
11560Fixed a problem where the string length in the string object created as a
11561result of the internal ConvertToString procedure could be incorrect. This
11562potentially affected all implicit conversions and also the
11563ToDecimalString
11564and ToHexString operators.
11565
11566Fixed two problems in the ToString operator. If the length parameter was
11567zero, an incorrect string object was created and the value of the input
11568length parameter was inadvertently changed from zero to Ones.
11569
11570Fixed a problem where the optional ResourceSource string in the
11571ExtendedIRQ
11572resource macro was ignored.
11573
11574Simplified the interfaces to the internal division functions, reducing
11575code
11576size and complexity.
11577
11578Code and Data Size: Current and previous core subsystem library sizes are
11579shown below. These are the code and data sizes for the acpica.lib
11580produced
11581by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11582any ACPI driver or OSPM code. The debug version of the code includes the
11583debug output trace mechanism and has a much larger code and data size.
11584Note
11585that these values will vary depending on the efficiency of the compiler
11586and
11587the compiler options used during generation.
11588
11589 Previous Release:
11590 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
11591 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
11592 Current Release:
11593 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11594 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
11595
11596
115972) iASL Compiler/Disassembler:
11598
11599Implemented support for the ACPI 3.0 Timer operator.
11600
11601Fixed a problem where the Default() operator was inadvertently ignored in
11602a
11603Switch/Case block. This was a problem in the translation of the Switch
11604statement to If...Else pairs.
11605
11606Added support to allow a standalone Return operator, with no parentheses
11607(or
11608operands).
11609
11610Fixed a problem with code generation for the ElseIf operator where the
11611translated Else...If parse tree was improperly constructed leading to the
11612loss of some code.
11613
11614----------------------------------------
1161522 September 2004. Summary of changes for version 20040922:
11616
116171) ACPI CA Core Subsystem:
11618
11619Fixed a problem with the implementation of the LNot() operator where
11620"Ones"
11621was not returned for the TRUE case. Changed the code to return Ones
11622instead
11623of (!Arg) which was usually 1. This change affects iASL constant folding
11624for
11625this operator also.
11626
11627Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
11628not
11629initialized properly -- Now zero the entire buffer in this case where the
11630buffer already exists.
11631
11632Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
11633Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
11634related code considerably. This will require changes/updates to all OS
11635interface layers (OSLs.)
11636
11637Implemented a new external interface, AcpiInstallExceptionHandler, to
11638allow
11639a system exception handler to be installed. This handler is invoked upon
11640any
11641run-time exception that occurs during control method execution.
11642
11643Added support for the DSDT in AcpiTbFindTable. This allows the
11644DataTableRegion() operator to access the local copy of the DSDT.
11645
11646Code and Data Size: Current and previous core subsystem library sizes are
11647shown below. These are the code and data sizes for the acpica.lib
11648produced
11649by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11650any ACPI driver or OSPM code. The debug version of the code includes the
11651debug output trace mechanism and has a much larger code and data size.
11652Note
11653that these values will vary depending on the efficiency of the compiler
11654and
11655the compiler options used during generation.
11656
11657 Previous Release:
11658 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
11659 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
11660 Current Release:
11661 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
11662 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
11663
11664
116652) iASL Compiler/Disassembler:
11666
11667Fixed a problem with constant folding and the LNot operator. LNot was
11668returning 1 in the TRUE case, not Ones as per the ACPI specification.
11669This
11670could result in the generation of an incorrect folded/reduced constant.
11671
11672End-Of-File is now allowed within a "//"-style comment. A parse error no
11673longer occurs if such a comment is at the very end of the input ASL
11674source
11675file.
11676
11677Implemented the "-r" option to override the Revision in the table header.
11678The initial use of this option will be to simplify the evaluation of the
11679AML
11680interpreter by allowing a single ASL source module to be compiled for
11681either
1168232-bit or 64-bit integers.
11683
11684
11685----------------------------------------
1168627 August 2004. Summary of changes for version 20040827:
11687
116881) ACPI CA Core Subsystem:
11689
11690- Implemented support for implicit object conversion in the non-numeric
11691logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
11692and
11693LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
11694the second operand is implicitly converted on the fly to match the type
11695of
11696the first operand. For example:
11697
11698 LEqual (Source1, Source2)
11699
11700Source1 and Source2 must each evaluate to an integer, a string, or a
11701buffer.
11702The data type of Source1 dictates the required type of Source2. Source2
11703is
11704implicitly converted if necessary to match the type of Source1.
11705
11706- Updated and corrected the behavior of the string conversion support.
11707The
11708rules concerning conversion of buffers to strings (according to the ACPI
11709specification) are as follows:
11710
11711ToDecimalString - explicit byte-wise conversion of buffer to string of
11712decimal values (0-255) separated by commas. ToHexString - explicit byte-
11713wise
11714conversion of buffer to string of hex values (0-FF) separated by commas.
11715ToString - explicit byte-wise conversion of buffer to string. Byte-by-
11716byte
11717copy with no transform except NULL terminated. Any other implicit buffer-
11718to-
11719string conversion - byte-wise conversion of buffer to string of hex
11720values
11721(0-FF) separated by spaces.
11722
11723- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
11724
11725- Fixed a problem in AcpiNsGetPathnameLength where the returned length
11726was
11727one byte too short in the case of a node in the root scope. This could
11728cause a fault during debug output.
11729
11730- Code and Data Size: Current and previous core subsystem library sizes
11731are
11732shown below. These are the code and data sizes for the acpica.lib
11733produced
11734by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11735any ACPI driver or OSPM code. The debug version of the code includes the
11736debug output trace mechanism and has a much larger code and data size.
11737Note
11738that these values will vary depending on the efficiency of the compiler
11739and
11740the compiler options used during generation.
11741
11742 Previous Release:
11743 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
11744 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
11745 Current Release:
11746 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
11747 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
11748
11749
117502) iASL Compiler/Disassembler:
11751
11752- Fixed a Linux generation error.
11753
11754
11755----------------------------------------
1175616 August 2004. Summary of changes for version 20040816:
11757
117581) ACPI CA Core Subsystem:
11759
11760Designed and implemented support within the AML interpreter for the so-
11761called "implicit return". This support returns the result of the last
11762ASL
11763operation within a control method, in the absence of an explicit Return()
11764operator. A few machines depend on this behavior, even though it is not
11765explicitly supported by the ASL language. It is optional support that
11766can
11767be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
11768
11769Removed support for the PCI_Config address space from the internal low
11770level
11771hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
11772support was not used internally, and would not work correctly anyway
11773because
11774the PCI bus number and segment number were not supported. There are
11775separate interfaces for PCI configuration space access because of the
11776unique
11777interface.
11778
11779Code and Data Size: Current and previous core subsystem library sizes are
11780shown below. These are the code and data sizes for the acpica.lib
11781produced
11782by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11783any ACPI driver or OSPM code. The debug version of the code includes the
11784debug output trace mechanism and has a much larger code and data size.
11785Note
11786that these values will vary depending on the efficiency of the compiler
11787and
11788the compiler options used during generation.
11789
11790 Previous Release:
11791 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11792 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
11793 Current Release:
11794 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
11795 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
11796
11797
117982) iASL Compiler/Disassembler:
11799
11800Fixed a problem where constants in ASL expressions at the root level (not
11801within a control method) could be inadvertently truncated during code
11802generation. This problem was introduced in the 20040715 release.
11803
11804
11805----------------------------------------
1180615 July 2004. Summary of changes for version 20040715:
11807
118081) ACPI CA Core Subsystem:
11809
11810Restructured the internal HW GPE interfaces to pass/track the current
11811state
11812of interrupts (enabled/disabled) in order to avoid possible deadlock and
11813increase flexibility of the interfaces.
11814
11815Implemented a "lexicographical compare" for String and Buffer objects
11816within
11817the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
11818-
11819as per further clarification to the ACPI specification. Behavior is
11820similar
11821to C library "strcmp".
11822
11823Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
11824external function. In the 32-bit non-debug case, the stack use has been
11825reduced from 168 bytes to 32 bytes.
11826
11827Deployed a new run-time configuration flag,
11828AcpiGbl_EnableInterpreterSlack,
11829whose purpose is to allow the AML interpreter to forgive certain bad AML
11830constructs. Default setting is FALSE.
11831
11832Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
11833IO
11834support code. If enabled, it allows field access to go beyond the end of
11835a
11836region definition if the field is within the region length rounded up to
11837the
11838next access width boundary (a common coding error.)
11839
11840Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
11841ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
11842these
11843symbols are lowercased by the latest version of the AcpiSrc tool.
11844
11845The prototypes for the PCI interfaces in acpiosxf.h have been updated to
11846rename "Register" to simply "Reg" to prevent certain compilers from
11847complaining.
11848
11849Code and Data Size: Current and previous core subsystem library sizes are
11850shown below. These are the code and data sizes for the acpica.lib
11851produced
11852by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11853any ACPI driver or OSPM code. The debug version of the code includes the
11854debug output trace mechanism and has a much larger code and data size.
11855Note
11856that these values will vary depending on the efficiency of the compiler
11857and
11858the compiler options used during generation.
11859
11860 Previous Release:
11861 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11862 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
11863 Current Release:
11864 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11865 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
11866
11867
118682) iASL Compiler/Disassembler:
11869
11870Implemented full support for Package objects within the Case() operator.
11871Note: The Break() operator is currently not supported within Case blocks
11872(TermLists) as there is some question about backward compatibility with
11873ACPI
118741.0 interpreters.
11875
11876
11877Fixed a problem where complex terms were not supported properly within
11878the
11879Switch() operator.
11880
11881Eliminated extraneous warning for compiler-emitted reserved names of the
11882form "_T_x". (Used in Switch/Case operators.)
11883
11884Eliminated optimization messages for "_T_x" objects and small constants
11885within the DefinitionBlock operator.
11886
11887
11888----------------------------------------
1188915 June 2004. Summary of changes for version 20040615:
11890
118911) ACPI CA Core Subsystem:
11892
11893Implemented support for Buffer and String objects (as per ACPI 2.0) for
11894the
11895following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
11896LLessEqual.
11897
11898All directory names in the entire source package are lower case, as they
11899were in earlier releases.
11900
11901Implemented "Disassemble" command in the AML debugger that will
11902disassemble
11903a single control method.
11904
11905Code and Data Size: Current and previous core subsystem library sizes are
11906shown below. These are the code and data sizes for the acpica.lib
11907produced
11908by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11909any ACPI driver or OSPM code. The debug version of the code includes the
11910debug output trace mechanism and has a much larger code and data size.
11911Note
11912that these values will vary depending on the efficiency of the compiler
11913and
11914the compiler options used during generation.
11915
11916 Previous Release:
11917 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
11918 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
11919
11920 Current Release:
11921 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11922 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
11923
11924
119252) iASL Compiler/Disassembler:
11926
11927Implemented support for Buffer and String objects (as per ACPI 2.0) for
11928the
11929following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
11930LLessEqual.
11931
11932All directory names in the entire source package are lower case, as they
11933were in earlier releases.
11934
11935Fixed a fault when using the -g or -d<nofilename> options if the FADT was
11936not found.
11937
11938Fixed an issue with the Windows version of the compiler where later
11939versions
11940of Windows place the FADT in the registry under the name "FADT" and not
11941"FACP" as earlier versions did. This applies when using the -g or -
11942d<nofilename> options. The compiler now looks for both strings as
11943necessary.
11944
11945Fixed a problem with compiler namepath optimization where a namepath
11946within
11947the Scope() operator could not be optimized if the namepath was a subpath
11948of
11949the current scope path.
11950
11951----------------------------------------
1195227 May 2004. Summary of changes for version 20040527:
11953
119541) ACPI CA Core Subsystem:
11955
11956Completed a new design and implementation for EBDA (Extended BIOS Data
11957Area)
11958support in the RSDP scan code. The original code improperly scanned for
11959the
11960EBDA by simply scanning from memory location 0 to 0x400. The correct
11961method
11962is to first obtain the EBDA pointer from within the BIOS data area, then
11963scan 1K of memory starting at the EBDA pointer. There appear to be few
11964if
11965any machines that place the RSDP in the EBDA, however.
11966
11967Integrated a fix for a possible fault during evaluation of BufferField
11968arguments. Obsolete code that was causing the problem was removed.
11969
11970Found and fixed a problem in the Field Support Code where data could be
11971corrupted on a bit field read that starts on an aligned boundary but does
11972not end on an aligned boundary. Merged the read/write "datum length"
11973calculation code into a common procedure.
11974
11975Rolled in a couple of changes to the FreeBSD-specific header.
11976
11977
11978Code and Data Size: Current and previous core subsystem library sizes are
11979shown below. These are the code and data sizes for the acpica.lib
11980produced
11981by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11982any ACPI driver or OSPM code. The debug version of the code includes the
11983debug output trace mechanism and has a much larger code and data size.
11984Note
11985that these values will vary depending on the efficiency of the compiler
11986and
11987the compiler options used during generation.
11988
11989 Previous Release:
11990 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
11991 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
11992 Current Release:
11993 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
11994 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
11995
11996
119972) iASL Compiler/Disassembler:
11998
11999Fixed a generation warning produced by some overly-verbose compilers for
12000a
1200164-bit constant.
12002
12003----------------------------------------
1200414 May 2004. Summary of changes for version 20040514:
12005
120061) ACPI CA Core Subsystem:
12007
12008Fixed a problem where hardware GPE enable bits sometimes not set properly
12009during and after GPE method execution. Result of 04/27 changes.
12010
12011Removed extra "clear all GPEs" when sleeping/waking.
12012
12013Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
12014AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
12015to
12016the new AcpiEv* calls as appropriate.
12017
12018ACPI_OS_NAME was removed from the OS-specific headers. The default name
12019is
12020now "Microsoft Windows NT" for maximum compatibility. However this can
12021be
12022changed by modifying the acconfig.h file.
12023
12024Allow a single invocation of AcpiInstallNotifyHandler for a handler that
12025traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
12026
12027Run _INI methods on ThermalZone objects. This is against the ACPI
12028specification, but there is apparently ASL code in the field that has
12029these
12030_INI methods, and apparently "other" AML interpreters execute them.
12031
12032Performed a full 16/32/64 bit lint that resulted in some small changes.
12033
12034Added a sleep simulation command to the AML debugger to test sleep code.
12035
12036Code and Data Size: Current and previous core subsystem library sizes are
12037shown below. These are the code and data sizes for the acpica.lib
12038produced
12039by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12040any ACPI driver or OSPM code. The debug version of the code includes the
12041debug output trace mechanism and has a much larger code and data size.
12042Note
12043that these values will vary depending on the efficiency of the compiler
12044and
12045the compiler options used during generation.
12046
12047 Previous Release:
12048 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12049 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
12050 Current Release:
12051 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12052 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
12053
12054----------------------------------------
1205527 April 2004. Summary of changes for version 20040427:
12056
120571) ACPI CA Core Subsystem:
12058
12059Completed a major overhaul of the GPE handling within ACPI CA. There are
12060now three types of GPEs: wake-only, runtime-only, and combination
12061wake/run.
12062The only GPEs allowed to be combination wake/run are for button-style
12063devices such as a control-method power button, control-method sleep
12064button,
12065or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
12066not
12067referenced by any _PRW methods are marked for "runtime" and hardware
12068enabled. Any GPE that is referenced by a _PRW method is marked for
12069"wake"
12070(and disabled at runtime). However, at sleep time, only those GPEs that
12071have been specifically enabled for wake via the AcpiEnableGpe interface
12072will
12073actually be hardware enabled.
12074
12075A new external interface has been added, AcpiSetGpeType(), that is meant
12076to
12077be used by device drivers to force a GPE to a particular type. It will
12078be
12079especially useful for the drivers for the button devices mentioned above.
12080
12081Completed restructuring of the ACPI CA initialization sequence so that
12082default operation region handlers are installed before GPEs are
12083initialized
12084and the _PRW methods are executed. This will prevent errors when the
12085_PRW
12086methods attempt to access system memory or I/O space.
12087
12088GPE enable/disable no longer reads the GPE enable register. We now keep
12089the
12090enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
12091thus no longer depend on the hardware to maintain these bits.
12092
12093Always clear the wake status and fixed/GPE status bits before sleep, even
12094for state S5.
12095
12096Improved the AML debugger output for displaying the GPE blocks and their
12097current status.
12098
12099Added new strings for the _OSI method, of the form "Windows 2001 SPx"
12100where
12101x = 0,1,2,3,4.
12102
12103Fixed a problem where the physical address was incorrectly calculated
12104when
12105the Load() operator was used to directly load from an Operation Region
12106(vs.
12107loading from a Field object.) Also added check for minimum table length
12108for
12109this case.
12110
12111Fix for multiple mutex acquisition. Restore original thread SyncLevel on
12112mutex release.
12113
12114Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
12115consistency with the other fields returned.
12116
12117Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
12118structure for each GPE in the system, so the size of this structure is
12119important.
12120
12121CPU stack requirement reduction: Cleaned up the method execution and
12122object
12123evaluation paths so that now a parameter structure is passed, instead of
12124copying the various method parameters over and over again.
12125
12126In evregion.c: Correctly exit and reenter the interpreter region if and
12127only if dispatching an operation region request to a user-installed
12128handler.
12129Do not exit/reenter when dispatching to a default handler (e.g., default
12130system memory or I/O handlers)
12131
12132
12133Notes for updating drivers for the new GPE support. The following
12134changes
12135must be made to ACPI-related device drivers that are attached to one or
12136more
12137GPEs: (This information will be added to the ACPI CA Programmer
12138Reference.)
12139
121401) AcpiInstallGpeHandler no longer automatically enables the GPE, you
12141must
12142explicitly call AcpiEnableGpe.
121432) There is a new interface called AcpiSetGpeType. This should be called
12144before enabling the GPE. Also, this interface will automatically disable
12145the GPE if it is currently enabled.
121463) AcpiEnableGpe no longer supports a GPE type flag.
12147
12148Specific drivers that must be changed:
121491) EC driver:
12150 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
12151AeGpeHandler, NULL);
12152 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
12153 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
12154
121552) Button Drivers (Power, Lid, Sleep):
12156Run _PRW method under parent device
12157If _PRW exists: /* This is a control-method button */
12158 Extract GPE number and possibly GpeDevice
12159 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
12160 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
12161
12162For all other devices that have _PRWs, we automatically set the GPE type
12163to
12164ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
12165This
12166must be done on a selective basis, usually requiring some kind of user
12167app
12168to allow the user to pick the wake devices.
12169
12170
12171Code and Data Size: Current and previous core subsystem library sizes are
12172shown below. These are the code and data sizes for the acpica.lib
12173produced
12174by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12175any ACPI driver or OSPM code. The debug version of the code includes the
12176debug output trace mechanism and has a much larger code and data size.
12177Note
12178that these values will vary depending on the efficiency of the compiler
12179and
12180the compiler options used during generation.
12181
12182 Previous Release:
12183 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
12184 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
12185 Current Release:
12186
12187 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12188 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
12189
12190
12191
12192----------------------------------------
1219302 April 2004. Summary of changes for version 20040402:
12194
121951) ACPI CA Core Subsystem:
12196
12197Fixed an interpreter problem where an indirect store through an ArgX
12198parameter was incorrectly applying the "implicit conversion rules" during
12199the store. From the ACPI specification: "If the target is a method local
12200or
12201argument (LocalX or ArgX), no conversion is performed and the result is
12202stored directly to the target". The new behavior is to disable implicit
12203conversion during ALL stores to an ArgX.
12204
12205Changed the behavior of the _PRW method scan to ignore any and all errors
12206returned by a given _PRW. This prevents the scan from aborting from the
12207failure of any single _PRW.
12208
12209Moved the runtime configuration parameters from the global init procedure
12210to
12211static variables in acglobal.h. This will allow the host to override the
12212default values easily.
12213
12214Code and Data Size: Current and previous core subsystem library sizes are
12215shown below. These are the code and data sizes for the acpica.lib
12216produced
12217by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12218any ACPI driver or OSPM code. The debug version of the code includes the
12219debug output trace mechanism and has a much larger code and data size.
12220Note
12221that these values will vary depending on the efficiency of the compiler
12222and
12223the compiler options used during generation.
12224
12225 Previous Release:
12226 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
12227 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
12228 Current Release:
12229 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
12230 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
12231
12232
122332) iASL Compiler/Disassembler:
12234
12235iASL now fully disassembles SSDTs. However, External() statements are
12236not
12237generated automatically for unresolved symbols at this time. This is a
12238planned feature for future implementation.
12239
12240Fixed a scoping problem in the disassembler that occurs when the type of
12241the
12242target of a Scope() operator is overridden. This problem caused an
12243incorrectly nested internal namespace to be constructed.
12244
12245Any warnings or errors that are emitted during disassembly are now
12246commented
12247out automatically so that the resulting file can be recompiled without
12248any
12249hand editing.
12250
12251----------------------------------------
1225226 March 2004. Summary of changes for version 20040326:
12253
122541) ACPI CA Core Subsystem:
12255
12256Implemented support for "wake" GPEs via interaction between GPEs and the
12257_PRW methods. Every GPE that is pointed to by one or more _PRWs is
12258identified as a WAKE GPE and by default will no longer be enabled at
12259runtime. Previously, we were blindly enabling all GPEs with a
12260corresponding
12261_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
12262We
12263believe this has been the cause of thousands of "spurious" GPEs on some
12264systems.
12265
12266This new GPE behavior is can be reverted to the original behavior (enable
12267ALL GPEs at runtime) via a runtime flag.
12268
12269Fixed a problem where aliased control methods could not access objects
12270properly. The proper scope within the namespace was not initialized
12271(transferred to the target of the aliased method) before executing the
12272target method.
12273
12274Fixed a potential race condition on internal object deletion on the
12275return
12276object in AcpiEvaluateObject.
12277
12278Integrated a fix for resource descriptors where both _MEM and _MTP were
12279being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
12280wide, 0x0F instead of 0x03.)
12281
12282Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
12283preventing
12284a
12285fault in some cases.
12286
12287Updated Notify() values for debug statements in evmisc.c
12288
12289Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
12290
12291Code and Data Size: Current and previous core subsystem library sizes are
12292shown below. These are the code and data sizes for the acpica.lib
12293produced
12294by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12295any ACPI driver or OSPM code. The debug version of the code includes the
12296debug output trace mechanism and has a much larger code and data size.
12297Note
12298that these values will vary depending on the efficiency of the compiler
12299and
12300the compiler options used during generation.
12301
12302 Previous Release:
12303
12304 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
12305 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
12306 Current Release:
12307 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
12308 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
12309
12310----------------------------------------
1231111 March 2004. Summary of changes for version 20040311:
12312
123131) ACPI CA Core Subsystem:
12314
12315Fixed a problem where errors occurring during the parse phase of control
12316method execution did not abort cleanly. For example, objects created and
12317installed in the namespace were not deleted. This caused all subsequent
12318invocations of the method to return the AE_ALREADY_EXISTS exception.
12319
12320Implemented a mechanism to force a control method to "Serialized"
12321execution
12322if the method attempts to create namespace objects. (The root of the
12323AE_ALREADY_EXISTS problem.)
12324
12325Implemented support for the predefined _OSI "internal" control method.
12326Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
12327and
12328"Windows 2001.1", and can be easily upgraded for new strings as
12329necessary.
12330This feature will allow "other" operating systems to execute the fully
12331tested, "Windows" code path through the ASL code
12332
12333Global Lock Support: Now allows multiple acquires and releases with any
12334internal thread. Removed concept of "owning thread" for this special
12335mutex.
12336
12337Fixed two functions that were inappropriately declaring large objects on
12338the
12339CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
12340during
12341method execution considerably.
12342
12343Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
12344S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
12345
12346Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
12347defined on the machine.
12348
12349Implemented two runtime options: One to force all control method
12350execution
12351to "Serialized" to mimic Windows behavior, another to disable _OSI
12352support
12353if it causes problems on a given machine.
12354
12355Code and Data Size: Current and previous core subsystem library sizes are
12356shown below. These are the code and data sizes for the acpica.lib
12357produced
12358by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12359any ACPI driver or OSPM code. The debug version of the code includes the
12360debug output trace mechanism and has a much larger code and data size.
12361Note
12362that these values will vary depending on the efficiency of the compiler
12363and
12364the compiler options used during generation.
12365
12366 Previous Release:
12367 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
12368 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
12369 Current Release:
12370 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
12371 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
12372
123732) iASL Compiler/Disassembler:
12374
12375Fixed an array size problem for FreeBSD that would cause the compiler to
12376fault.
12377
12378----------------------------------------
1237920 February 2004. Summary of changes for version 20040220:
12380
12381
123821) ACPI CA Core Subsystem:
12383
12384Implemented execution of _SxD methods for Device objects in the
12385GetObjectInfo interface.
12386
12387Fixed calls to _SST method to pass the correct arguments.
12388
12389Added a call to _SST on wake to restore to "working" state.
12390
12391Check for End-Of-Buffer failure case in the WalkResources interface.
12392
12393Integrated fix for 64-bit alignment issue in acglobal.h by moving two
12394structures to the beginning of the file.
12395
12396After wake, clear GPE status register(s) before enabling GPEs.
12397
12398After wake, clear/enable power button. (Perhaps we should clear/enable
12399all
12400fixed events upon wake.)
12401
12402Fixed a couple of possible memory leaks in the Namespace manager.
12403
12404Integrated latest acnetbsd.h file.
12405
12406----------------------------------------
1240711 February 2004. Summary of changes for version 20040211:
12408
12409
124101) ACPI CA Core Subsystem:
12411
12412Completed investigation and implementation of the call-by-reference
12413mechanism for control method arguments.
12414
12415Fixed a problem where a store of an object into an indexed package could
12416fail if the store occurs within a different method than the method that
12417created the package.
12418
12419Fixed a problem where the ToDecimal operator could return incorrect
12420results.
12421
12422Fixed a problem where the CopyObject operator could fail on some of the
12423more
12424obscure objects (e.g., Reference objects.)
12425
12426Improved the output of the Debug object to display buffer, package, and
12427index objects.
12428
12429Fixed a problem where constructs of the form "RefOf (ArgX)" did not
12430return
12431the expected result.
12432
12433Added permanent ACPI_REPORT_ERROR macros for all instances of the
12434ACPI_AML_INTERNAL exception.
12435
12436Integrated latest version of acfreebsd.h
12437
12438----------------------------------------
1243916 January 2004. Summary of changes for version 20040116:
12440
12441The purpose of this release is primarily to update the copyright years in
12442each module, thus causing a huge number of diffs. There are a few small
12443functional changes, however.
12444
124451) ACPI CA Core Subsystem:
12446
12447Improved error messages when there is a problem finding one or more of
12448the
12449required base ACPI tables
12450
12451Reintroduced the definition of APIC_HEADER in actbl.h
12452
12453Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
12454
12455Removed extraneous reference to NewObj in dsmthdat.c
12456
124572) iASL compiler
12458
12459Fixed a problem introduced in December that disabled the correct
12460disassembly
12461of Resource Templates
12462
12463
12464----------------------------------------
1246503 December 2003. Summary of changes for version 20031203:
12466
124671) ACPI CA Core Subsystem:
12468
12469Changed the initialization of Operation Regions during subsystem
12470init to perform two entire walks of the ACPI namespace; The first
12471to initialize the regions themselves, the second to execute the
12472_REG methods. This fixed some interdependencies across _REG
12473methods found on some machines.
12474
12475Fixed a problem where a Store(Local0, Local1) could simply update
12476the object reference count, and not create a new copy of the
12477object if the Local1 is uninitialized.
12478
12479Implemented support for the _SST reserved method during sleep
12480transitions.
12481
12482Implemented support to clear the SLP_TYP and SLP_EN bits when
12483waking up, this is apparently required by some machines.
12484
12485When sleeping, clear the wake status only if SleepState is not S5.
12486
12487Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
12488pointer arithmetic advanced a string pointer too far.
12489
12490Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
12491could be returned if the requested table has not been loaded.
12492
12493Within the support for IRQ resources, restructured the handling of
12494the active and edge/level bits.
12495
12496Fixed a few problems in AcpiPsxExecute() where memory could be
12497leaked under certain error conditions.
12498
12499Improved error messages for the cases where the ACPI mode could
12500not be entered.
12501
12502Code and Data Size: Current and previous core subsystem library
12503sizes are shown below. These are the code and data sizes for the
12504acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12505these values do not include any ACPI driver or OSPM code. The
12506debug version of the code includes the debug output trace
12507mechanism and has a much larger code and data size. Note that
12508these values will vary depending on the efficiency of the compiler
12509and the compiler options used during generation.
12510
12511 Previous Release (20031029):
12512 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
12513 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
12514 Current Release:
12515 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
12516 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
12517
125182) iASL Compiler/Disassembler:
12519
12520Implemented a fix for the iASL disassembler where a bad index was
12521generated. This was most noticeable on 64-bit platforms
12522
12523
12524----------------------------------------
1252529 October 2003. Summary of changes for version 20031029:
12526
125271) ACPI CA Core Subsystem:
12528
12529
12530Fixed a problem where a level-triggered GPE with an associated
12531_Lxx control method was incorrectly cleared twice.
12532
12533Fixed a problem with the Field support code where an access can
12534occur beyond the end-of-region if the field is non-aligned but
12535extends to the very end of the parent region (resulted in an
12536AE_AML_REGION_LIMIT exception.)
12537
12538Fixed a problem with ACPI Fixed Events where an RT Clock handler
12539would not get invoked on an RTC event. The RTC event bitmasks for
12540the PM1 registers were not being initialized properly.
12541
12542Implemented support for executing _STA and _INI methods for
12543Processor objects. Although this is currently not part of the
12544ACPI specification, there is existing ASL code that depends on the
12545init-time execution of these methods.
12546
12547Implemented and deployed a GetDescriptorName function to decode
12548the various types of internal descriptors. Guards against null
12549descriptors during debug output also.
12550
12551Implemented and deployed a GetNodeName function to extract the 4-
12552character namespace node name. This function simplifies the debug
12553and error output, as well as guarding against null pointers during
12554output.
12555
12556Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
12557simplify the debug and error output of 64-bit integers. This
12558macro replaces the HIDWORD and LODWORD macros for dumping these
12559integers.
12560
12561Updated the implementation of the Stall() operator to only call
12562AcpiOsStall(), and also return an error if the operand is larger
12563than 255. This preserves the required behavior of not
12564relinquishing the processor, as would happen if AcpiOsSleep() was
12565called for "long stalls".
12566
12567Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
12568initialized are now treated as NOOPs.
12569
12570Cleaned up a handful of warnings during 64-bit generation.
12571
12572Fixed a reported error where and incorrect GPE number was passed
12573to the GPE dispatch handler. This value is only used for error
12574output, however. Used this opportunity to clean up and streamline
12575the GPE dispatch code.
12576
12577Code and Data Size: Current and previous core subsystem library
12578sizes are shown below. These are the code and data sizes for the
12579acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12580these values do not include any ACPI driver or OSPM code. The
12581
12582debug version of the code includes the debug output trace
12583mechanism and has a much larger code and data size. Note that
12584these values will vary depending on the efficiency of the compiler
12585and the compiler options used during generation.
12586
12587 Previous Release (20031002):
12588 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
12589 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
12590 Current Release:
12591 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
12592 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
12593
12594
125952) iASL Compiler/Disassembler:
12596
12597Updated the iASL compiler to return an error if the operand to the
12598Stall() operator is larger than 255.
12599
12600
12601----------------------------------------
1260202 October 2003. Summary of changes for version 20031002:
12603
12604
126051) ACPI CA Core Subsystem:
12606
12607Fixed a problem with Index Fields where the index was not
12608incremented for fields that require multiple writes to the
12609index/data registers (Fields that are wider than the data
12610register.)
12611
12612Fixed a problem with all Field objects where a write could go
12613beyond the end-of-field if the field was larger than the access
12614granularity and therefore required multiple writes to complete the
12615request. An extra write beyond the end of the field could happen
12616inadvertently.
12617
12618Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
12619would incorrectly be returned if the width of the Data Register
12620was larger than the specified field access width.
12621
12622Completed fixes for LoadTable() and Unload() and verified their
12623operation. Implemented full support for the "DdbHandle" object
12624throughout the ACPI CA subsystem.
12625
12626Implemented full support for the MADT and ECDT tables in the ACPI
12627CA header files. Even though these tables are not directly
12628consumed by ACPI CA, the header definitions are useful for ACPI
12629device drivers.
12630
12631Integrated resource descriptor fixes posted to the Linux ACPI
12632list. This included checks for minimum descriptor length, and
12633support for trailing NULL strings within descriptors that have
12634optional string elements.
12635
12636Code and Data Size: Current and previous core subsystem library
12637sizes are shown below. These are the code and data sizes for the
12638acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12639these values do not include any ACPI driver or OSPM code. The
12640debug version of the code includes the debug output trace
12641mechanism and has a much larger code and data size. Note that
12642these values will vary depending on the efficiency of the compiler
12643and the compiler options used during generation.
12644
12645 Previous Release (20030918):
12646 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
12647 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
12648 Current Release:
12649 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
12650 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
12651
12652
126532) iASL Compiler:
12654
12655Implemented detection of non-ASCII characters within the input
12656source ASL file. This catches attempts to compile binary (AML)
12657files early in the compile, with an informative error message.
12658
12659Fixed a problem where the disassembler would fault if the output
12660filename could not be generated or if the output file could not be
12661opened.
12662
12663----------------------------------------
1266418 September 2003. Summary of changes for version 20030918:
12665
12666
126671) ACPI CA Core Subsystem:
12668
12669Found and fixed a longstanding problem with the late execution of
12670the various deferred AML opcodes (such as Operation Regions,
12671Buffer Fields, Buffers, and Packages). If the name string
12672specified for the name of the new object placed the object in a
12673scope other than the current scope, the initialization/execution
12674of the opcode failed. The solution to this problem was to
12675implement a mechanism where the late execution of such opcodes
12676does not attempt to lookup/create the name a second time in an
12677incorrect scope. This fixes the "region size computed
12678incorrectly" problem.
12679
12680Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
12681Global Lock AE_BAD_PARAMETER error.
12682
12683Fixed several 64-bit issues with prototypes, casting and data
12684types.
12685
12686Removed duplicate prototype from acdisasm.h
12687
12688Fixed an issue involving EC Operation Region Detach (Shaohua Li)
12689
12690Code and Data Size: Current and previous core subsystem library
12691sizes are shown below. These are the code and data sizes for the
12692acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12693these values do not include any ACPI driver or OSPM code. The
12694debug version of the code includes the debug output trace
12695mechanism and has a much larger code and data size. Note that
12696these values will vary depending on the efficiency of the compiler
12697and the compiler options used during generation.
12698
12699 Previous Release:
12700
12701 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
12702 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
12703 Current Release:
12704 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
12705 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
12706
12707
127082) Linux:
12709
12710Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
12711correct sleep time in seconds.
12712
12713----------------------------------------
1271414 July 2003. Summary of changes for version 20030619:
12715
127161) ACPI CA Core Subsystem:
12717
12718Parse SSDTs in order discovered, as opposed to reverse order
12719(Hrvoje Habjanic)
12720
12721Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
12722Klausner,
12723 Nate Lawson)
12724
12725
127262) Linux:
12727
12728Dynamically allocate SDT list (suggested by Andi Kleen)
12729
12730proc function return value cleanups (Andi Kleen)
12731
12732Correctly handle NMI watchdog during long stalls (Andrew Morton)
12733
12734Make it so acpismp=force works (reported by Andrew Morton)
12735
12736
12737----------------------------------------
1273819 June 2003. Summary of changes for version 20030619:
12739
127401) ACPI CA Core Subsystem:
12741
12742Fix To/FromBCD, eliminating the need for an arch-specific #define.
12743
12744Do not acquire a semaphore in the S5 shutdown path.
12745
12746Fix ex_digits_needed for 0. (Takayoshi Kochi)
12747
12748Fix sleep/stall code reversal. (Andi Kleen)
12749
12750Revert a change having to do with control method calling
12751semantics.
12752
127532) Linux:
12754
12755acpiphp update (Takayoshi Kochi)
12756
12757Export acpi_disabled for sonypi (Stelian Pop)
12758
12759Mention acpismp=force in config help
12760
12761Re-add acpitable.c and acpismp=force. This improves backwards
12762
12763compatibility and also cleans up the code to a significant degree.
12764
12765Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
12766
12767----------------------------------------
1276822 May 2003. Summary of changes for version 20030522:
12769
127701) ACPI CA Core Subsystem:
12771
12772Found and fixed a reported problem where an AE_NOT_FOUND error
12773occurred occasionally during _BST evaluation. This turned out to
12774be an Owner ID allocation issue where a called method did not get
12775a new ID assigned to it. Eventually, (after 64k calls), the Owner
12776ID UINT16 would wraparound so that the ID would be the same as the
12777caller's and the called method would delete the caller's
12778namespace.
12779
12780Implemented extended error reporting for control methods that are
12781aborted due to a run-time exception. Output includes the exact
12782AML instruction that caused the method abort, a dump of the method
12783locals and arguments at the time of the abort, and a trace of all
12784nested control method calls.
12785
12786Modified the interpreter to allow the creation of buffers of zero
12787length from the AML code. Implemented new code to ensure that no
12788attempt is made to actually allocate a memory buffer (of length
12789zero) - instead, a simple buffer object with a NULL buffer pointer
12790and length zero is created. A warning is no longer issued when
12791the AML attempts to create a zero-length buffer.
12792
12793Implemented a workaround for the "leading asterisk issue" in
12794_HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
12795asterisk is automatically removed if present in any HID, UID, or
12796CID strings. The iASL compiler will still flag this asterisk as
12797an error, however.
12798
12799Implemented full support for _CID methods that return a package of
12800multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
12801now additionally returns a device _CID list if present. This
12802required a change to the external interface in order to pass an
12803ACPI_BUFFER object as a parameter since the _CID list is of
12804variable length.
12805
12806Fixed a problem with the new AE_SAME_HANDLER exception where
12807handler initialization code did not know about this exception.
12808
12809Code and Data Size: Current and previous core subsystem library
12810sizes are shown below. These are the code and data sizes for the
12811acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12812these values do not include any ACPI driver or OSPM code. The
12813debug version of the code includes the debug output trace
12814mechanism and has a much larger code and data size. Note that
12815these values will vary depending on the efficiency of the compiler
12816and the compiler options used during generation.
12817
12818 Previous Release (20030509):
12819 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
12820 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
12821 Current Release:
12822 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
12823 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
12824
12825
128262) Linux:
12827
12828Fixed a bug in which we would reinitialize the ACPI interrupt
12829after it was already working, thus disabling all ACPI and the IRQs
12830for any other device sharing the interrupt. (Thanks to Stian
12831Jordet)
12832
12833Toshiba driver update (John Belmonte)
12834
12835Return only 0 or 1 for our interrupt handler status (Andrew
12836Morton)
12837
12838
128393) iASL Compiler:
12840
12841Fixed a reported problem where multiple (nested) ElseIf()
12842statements were not handled correctly by the compiler, resulting
12843in incorrect warnings and incorrect AML code. This was a problem
12844in both the ASL parser and the code generator.
12845
12846
128474) Documentation:
12848
12849Added changes to existing interfaces, new exception codes, and new
12850text concerning reference count object management versus garbage
12851collection.
12852
12853----------------------------------------
1285409 May 2003. Summary of changes for version 20030509.
12855
12856
128571) ACPI CA Core Subsystem:
12858
12859Changed the subsystem initialization sequence to hold off
12860installation of address space handlers until the hardware has been
12861initialized and the system has entered ACPI mode. This is because
12862the installation of space handlers can cause _REG methods to be
12863run. Previously, the _REG methods could potentially be run before
12864ACPI mode was enabled.
12865
12866Fixed some memory leak issues related to address space handler and
12867notify handler installation. There were some problems with the
12868reference count mechanism caused by the fact that the handler
12869objects are shared across several namespace objects.
12870
12871Fixed a reported problem where reference counts within the
12872namespace were not properly updated when named objects created by
12873method execution were deleted.
12874
12875Fixed a reported problem where multiple SSDTs caused a deletion
12876issue during subsystem termination. Restructured the table data
12877structures to simplify the linked lists and the related code.
12878
12879Fixed a problem where the table ID associated with secondary
12880tables (SSDTs) was not being propagated into the namespace objects
12881created by those tables. This would only present a problem for
12882tables that are unloaded at run-time, however.
12883
12884Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
12885type as the length parameter (instead of UINT32).
12886
12887Solved a long-standing problem where an ALREADY_EXISTS error
12888appears on various systems. This problem could happen when there
12889are multiple PCI_Config operation regions under a single PCI root
12890bus. This doesn't happen very frequently, but there are some
12891systems that do this in the ASL.
12892
12893Fixed a reported problem where the internal DeleteNode function
12894was incorrectly handling the case where a namespace node was the
12895first in the parent's child list, and had additional peers (not
12896the only child, but first in the list of children.)
12897
12898Code and Data Size: Current core subsystem library sizes are shown
12899below. These are the code and data sizes for the acpica.lib
12900produced by the Microsoft Visual C++ 6.0 compiler, and these
12901values do not include any ACPI driver or OSPM code. The debug
12902version of the code includes the debug output trace mechanism and
12903has a much larger code and data size. Note that these values will
12904vary depending on the efficiency of the compiler and the compiler
12905options used during generation.
12906
12907 Previous Release
12908 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
12909 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
12910 Current Release:
12911 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
12912 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
12913
12914
129152) Linux:
12916
12917Allow ":" in OS override string (Ducrot Bruno)
12918
12919Kobject fix (Greg KH)
12920
12921
129223 iASL Compiler/Disassembler:
12923
12924Fixed a problem in the generation of the C source code files (AML
12925is emitted in C source statements for BIOS inclusion) where the
12926Ascii dump that appears within a C comment at the end of each line
12927could cause a compile time error if the AML sequence happens to
12928have an open comment or close comment sequence embedded.
12929
12930
12931----------------------------------------
1293224 April 2003. Summary of changes for version 20030424.
12933
12934
129351) ACPI CA Core Subsystem:
12936
12937Support for big-endian systems has been implemented. Most of the
12938support has been invisibly added behind big-endian versions of the
12939ACPI_MOVE_* macros.
12940
12941Fixed a problem in AcpiHwDisableGpeBlock() and
12942AcpiHwClearGpeBlock() where an incorrect offset was passed to the
12943low level hardware write routine. The offset parameter was
12944actually eliminated from the low level read/write routines because
12945they had become obsolete.
12946
12947Fixed a problem where a handler object was deleted twice during
12948the removal of a fixed event handler.
12949
12950
129512) Linux:
12952
12953A fix for SMP systems with link devices was contributed by
12954
12955Compaq's Dan Zink.
12956
12957(2.5) Return whether we handled the interrupt in our IRQ handler.
12958(Linux ISRs no longer return void, so we can propagate the handler
12959return value from the ACPI CA core back to the OS.)
12960
12961
12962
129633) Documentation:
12964
12965The ACPI CA Programmer Reference has been updated to reflect new
12966interfaces and changes to existing interfaces.
12967
12968----------------------------------------
1296928 March 2003. Summary of changes for version 20030328.
12970
129711) ACPI CA Core Subsystem:
12972
12973The GPE Block Device support has been completed. New interfaces
12974are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
12975interfaces (enable, disable, clear, getstatus) have been split
12976into separate interfaces for Fixed Events and General Purpose
12977Events (GPEs) in order to support GPE Block Devices properly.
12978
12979Fixed a problem where the error message "Failed to acquire
12980semaphore" would appear during operations on the embedded
12981controller (EC).
12982
12983Code and Data Size: Current core subsystem library sizes are shown
12984below. These are the code and data sizes for the acpica.lib
12985produced by the Microsoft Visual C++ 6.0 compiler, and these
12986values do not include any ACPI driver or OSPM code. The debug
12987version of the code includes the debug output trace mechanism and
12988has a much larger code and data size. Note that these values will
12989vary depending on the efficiency of the compiler and the compiler
12990options used during generation.
12991
12992 Previous Release
12993 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
12994 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
12995 Current Release:
12996 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
12997 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
12998
12999
13000----------------------------------------
1300128 February 2003. Summary of changes for version 20030228.
13002
13003
130041) ACPI CA Core Subsystem:
13005
13006The GPE handling and dispatch code has been completely overhauled
13007in preparation for support of GPE Block Devices (ID ACPI0006).
13008This affects internal data structures and code only; there should
13009be no differences visible externally. One new file has been
13010added, evgpeblk.c
13011
13012The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
13013fields that are used to determine the GPE block lengths. The
13014REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
13015structures are ignored. This is per the ACPI specification but it
13016isn't very clear. The full 256 Block 0/1 GPEs are now supported
13017(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
13018
13019In the SCI interrupt handler, removed the read of the PM1_CONTROL
13020register to look at the SCI_EN bit. On some machines, this read
13021causes an SMI event and greatly slows down SCI events. (This may
13022in fact be the cause of slow battery status response on some
13023systems.)
13024
13025Fixed a problem where a store of a NULL string to a package object
13026could cause the premature deletion of the object. This was seen
13027during execution of the battery _BIF method on some systems,
13028resulting in no battery data being returned.
13029
13030Added AcpiWalkResources interface to simplify parsing of resource
13031lists.
13032
13033Code and Data Size: Current core subsystem library sizes are shown
13034below. These are the code and data sizes for the acpica.lib
13035produced by the Microsoft Visual C++ 6.0 compiler, and these
13036values do not include any ACPI driver or OSPM code. The debug
13037version of the code includes the debug output trace mechanism and
13038has a much larger code and data size. Note that these values will
13039vary depending on the efficiency of the compiler and the compiler
13040options used during generation.
13041
13042 Previous Release
13043 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13044 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13045 Current Release:
13046 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
13047 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
13048
13049
130502) Linux
13051
13052S3 fixes (Ole Rohne)
13053
13054Update ACPI PHP driver with to use new acpi_walk_resource API
13055(Bjorn Helgaas)
13056
13057Add S4BIOS support (Pavel Machek)
13058
13059Map in entire table before performing checksum (John Stultz)
13060
13061Expand the mem= cmdline to allow the specification of reserved and
13062ACPI DATA blocks (Pavel Machek)
13063
13064Never use ACPI on VISWS
13065
13066Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
13067
13068Revert a change that allowed P_BLK lengths to be 4 or 5. This is
13069causing us to think that some systems support C2 when they really
13070don't.
13071
13072Do not count processor objects for non-present CPUs (Thanks to
13073Dominik Brodowski)
13074
13075
130763) iASL Compiler:
13077
13078Fixed a problem where ASL include files could not be found and
13079opened.
13080
13081Added support for the _PDC reserved name.
13082
13083
13084----------------------------------------
1308522 January 2003. Summary of changes for version 20030122.
13086
13087
130881) ACPI CA Core Subsystem:
13089
13090Added a check for constructs of the form: Store (Local0, Local0)
13091where Local0 is not initialized. Apparently, some BIOS
13092programmers believe that this is a NOOP. Since this store doesn't
13093do anything anyway, the new prototype behavior will ignore this
13094error. This is a case where we can relax the strict checking in
13095the interpreter in the name of compatibility.
13096
13097
130982) Linux
13099
13100The AcpiSrc Source Conversion Utility has been released with the
13101Linux package for the first time. This is the utility that is
13102used to convert the ACPI CA base source code to the Linux version.
13103
13104(Both) Handle P_BLK lengths shorter than 6 more gracefully
13105
13106(Both) Move more headers to include/acpi, and delete an unused
13107header.
13108
13109(Both) Move drivers/acpi/include directory to include/acpi
13110
13111(Both) Boot functions don't use cmdline, so don't pass it around
13112
13113(Both) Remove include of unused header (Adrian Bunk)
13114
13115(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
13116the
13117former now also includes the latter, acpiphp.h only needs the one,
13118now.
13119
13120(2.5) Make it possible to select method of bios restoring after S3
13121resume. [=> no more ugly ifdefs] (Pavel Machek)
13122
13123(2.5) Make proc write interfaces work (Pavel Machek)
13124
13125(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
13126
13127(2.5) Break out ACPI Perf code into its own module, under cpufreq
13128(Dominik Brodowski)
13129
13130(2.4) S4BIOS support (Ducrot Bruno)
13131
13132(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
13133Visinoni)
13134
13135
131363) iASL Compiler:
13137
13138Added support to disassemble SSDT and PSDTs.
13139
13140Implemented support to obtain SSDTs from the Windows registry if
13141available.
13142
13143
13144----------------------------------------
1314509 January 2003. Summary of changes for version 20030109.
13146
131471) ACPI CA Core Subsystem:
13148
13149Changed the behavior of the internal Buffer-to-String conversion
13150function. The current ACPI specification states that the contents
13151of the buffer are "converted to a string of two-character
13152hexadecimal numbers, each separated by a space". Unfortunately,
13153this definition is not backwards compatible with existing ACPI 1.0
13154implementations (although the behavior was not defined in the ACPI
131551.0 specification). The new behavior simply copies data from the
13156buffer to the string until a null character is found or the end of
13157the buffer is reached. The new String object is always null
13158terminated. This problem was seen during the generation of _BIF
13159battery data where incorrect strings were returned for battery
13160type, etc. This will also require an errata to the ACPI
13161specification.
13162
13163Renamed all instances of NATIVE_UINT and NATIVE_INT to
13164ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
13165
13166Copyright in all module headers (both Linux and non-Linux) has be
13167updated to 2003.
13168
13169Code and Data Size: Current core subsystem library sizes are shown
13170below. These are the code and data sizes for the acpica.lib
13171produced by the Microsoft Visual C++ 6.0 compiler, and these
13172values do not include any ACPI driver or OSPM code. The debug
13173version of the code includes the debug output trace mechanism and
13174has a much larger code and data size. Note that these values will
13175vary depending on the efficiency of the compiler and the compiler
13176options used during generation.
13177
13178 Previous Release
13179 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13180 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13181 Current Release:
13182 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13183 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13184
13185
131862) Linux
13187
13188Fixed an oops on module insertion/removal (Matthew Tippett)
13189
13190(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
13191
13192(2.5) Replace pr_debug (Randy Dunlap)
13193
13194(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
13195
13196(Both) Eliminate spawning of thread from timer callback, in favor
13197of schedule_work()
13198
13199(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
13200
13201(Both) Added define for Fixed Function HW region (Matthew Wilcox)
13202
13203(Both) Add missing statics to button.c (Pavel Machek)
13204
13205Several changes have been made to the source code translation
13206utility that generates the Linux Code in order to make the code
13207more "Linux-like":
13208
13209All typedefs on structs and unions have been removed in keeping
13210with the Linux coding style.
13211
13212Removed the non-Linux SourceSafe module revision number from each
13213module header.
13214
13215Completed major overhaul of symbols to be lowercased for linux.
13216Doubled the number of symbols that are lowercased.
13217
13218Fixed a problem where identifiers within procedure headers and
13219within quotes were not fully lower cased (they were left with a
13220starting capital.)
13221
13222Some C macros whose only purpose is to allow the generation of 16-
13223bit code are now completely removed in the Linux code, increasing
13224readability and maintainability.
13225
13226----------------------------------------
13227
1322812 December 2002. Summary of changes for version 20021212.
13229
13230
132311) ACPI CA Core Subsystem:
13232
13233Fixed a problem where the creation of a zero-length AML Buffer
13234would cause a fault.
13235
13236Fixed a problem where a Buffer object that pointed to a static AML
13237buffer (in an ACPI table) could inadvertently be deleted, causing
13238memory corruption.
13239
13240Fixed a problem where a user buffer (passed in to the external
13241ACPI CA interfaces) could be overwritten if the buffer was too
13242small to complete the operation, causing memory corruption.
13243
13244Fixed a problem in the Buffer-to-String conversion code where a
13245string of length one was always returned, regardless of the size
13246of the input Buffer object.
13247
13248Removed the NATIVE_CHAR data type across the entire source due to
13249lack of need and lack of consistent use.
13250
13251Code and Data Size: Current core subsystem library sizes are shown
13252below. These are the code and data sizes for the acpica.lib
13253produced by the Microsoft Visual C++ 6.0 compiler, and these
13254values do not include any ACPI driver or OSPM code. The debug
13255version of the code includes the debug output trace mechanism and
13256has a much larger code and data size. Note that these values will
13257vary depending on the efficiency of the compiler and the compiler
13258options used during generation.
13259
13260 Previous Release
13261 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
13262 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
13263 Current Release:
13264 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13265 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13266
13267
13268----------------------------------------
1326905 December 2002. Summary of changes for version 20021205.
13270
132711) ACPI CA Core Subsystem:
13272
13273Fixed a problem where a store to a String or Buffer object could
13274cause corruption of the DSDT if the object type being stored was
13275the same as the target object type and the length of the object
13276being stored was equal to or smaller than the original (existing)
13277target object. This was seen to cause corruption of battery _BIF
13278buffers if the _BIF method modified the buffer on the fly.
13279
13280Fixed a problem where an internal error was generated if a control
13281method invocation was used in an OperationRegion, Buffer, or
13282Package declaration. This was caused by the deferred parsing of
13283the control method and thus the deferred creation of the internal
13284method object. The solution to this problem was to create the
13285internal method object at the moment the method is encountered in
13286the first pass - so that subsequent references to the method will
13287able to obtain the required parameter count and thus properly
13288parse the method invocation. This problem presented itself as an
13289AE_AML_INTERNAL during the pass 1 parse phase during table load.
13290
13291Fixed a problem where the internal String object copy routine did
13292not always allocate sufficient memory for the target String object
13293and caused memory corruption. This problem was seen to cause
13294"Allocation already present in list!" errors as memory allocation
13295became corrupted.
13296
13297Implemented a new function for the evaluation of namespace objects
13298that allows the specification of the allowable return object
13299types. This simplifies a lot of code that checks for a return
13300object of one or more specific objects returned from the
13301evaluation (such as _STA, etc.) This may become and external
13302function if it would be useful to ACPI-related drivers.
13303
13304Completed another round of prefixing #defines with "ACPI_" for
13305clarity.
13306
13307Completed additional code restructuring to allow more modular
13308linking for iASL compiler and AcpiExec. Several files were split
13309creating new files. New files: nsparse.c dsinit.c evgpe.c
13310
13311Implemented an abort mechanism to terminate an executing control
13312method via the AML debugger. This feature is useful for debugging
13313control methods that depend (wait) for specific hardware
13314responses.
13315
13316Code and Data Size: Current core subsystem library sizes are shown
13317below. These are the code and data sizes for the acpica.lib
13318produced by the Microsoft Visual C++ 6.0 compiler, and these
13319values do not include any ACPI driver or OSPM code. The debug
13320version of the code includes the debug output trace mechanism and
13321has a much larger code and data size. Note that these values will
13322vary depending on the efficiency of the compiler and the compiler
13323options used during generation.
13324
13325 Previous Release
13326 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13327 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
13328 Current Release:
13329 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
13330 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
13331
13332
133332) iASL Compiler/Disassembler
13334
13335Fixed a compiler code generation problem for "Interrupt" Resource
13336Descriptors. If specified in the ASL, the optional "Resource
13337Source Index" and "Resource Source" fields were not inserted into
13338the correct location within the AML resource descriptor, creating
13339an invalid descriptor.
13340
13341Fixed a disassembler problem for "Interrupt" resource descriptors.
13342The optional "Resource Source Index" and "Resource Source" fields
13343were ignored.
13344
13345
13346----------------------------------------
1334722 November 2002. Summary of changes for version 20021122.
13348
13349
133501) ACPI CA Core Subsystem:
13351
13352Fixed a reported problem where an object stored to a Method Local
13353or Arg was not copied to a new object during the store - the
13354object pointer was simply copied to the Local/Arg. This caused
13355all subsequent operations on the Local/Arg to also affect the
13356original source of the store operation.
13357
13358Fixed a problem where a store operation to a Method Local or Arg
13359was not completed properly if the Local/Arg contained a reference
13360(from RefOf) to a named field. The general-purpose store-to-
13361namespace-node code is now used so that this case is handled
13362automatically.
13363
13364Fixed a problem where the internal object copy routine would cause
13365a protection fault if the object being copied was a Package and
13366contained either 1) a NULL package element or 2) a nested sub-
13367package.
13368
13369Fixed a problem with the GPE initialization that resulted from an
13370ambiguity in the ACPI specification. One section of the
13371specification states that both the address and length of the GPE
13372block must be zero if the block is not supported. Another section
13373implies that only the address need be zero if the block is not
13374supported. The code has been changed so that both the address and
13375the length must be non-zero to indicate a valid GPE block (i.e.,
13376if either the address or the length is zero, the GPE block is
13377invalid.)
13378
13379Code and Data Size: Current core subsystem library sizes are shown
13380below. These are the code and data sizes for the acpica.lib
13381produced by the Microsoft Visual C++ 6.0 compiler, and these
13382values do not include any ACPI driver or OSPM code. The debug
13383version of the code includes the debug output trace mechanism and
13384has a much larger code and data size. Note that these values will
13385vary depending on the efficiency of the compiler and the compiler
13386options used during generation.
13387
13388 Previous Release
13389 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
13390 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
13391 Current Release:
13392 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13393 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
13394
13395
133962) Linux
13397
13398Cleaned up EC driver. Exported an external EC read/write
13399interface. By going through this, other drivers (most notably
13400sonypi) will be able to serialize access to the EC.
13401
13402
134033) iASL Compiler/Disassembler
13404
13405Implemented support to optionally generate include files for both
13406ASM and C (the -i switch). This simplifies BIOS development by
13407automatically creating include files that contain external
13408declarations for the symbols that are created within the
13409
13410(optionally generated) ASM and C AML source files.
13411
13412
13413----------------------------------------
1341415 November 2002. Summary of changes for version 20021115.
13415
134161) ACPI CA Core Subsystem:
13417
13418Fixed a memory leak problem where an error during resolution of
13419
13420method arguments during a method invocation from another method
13421failed to cleanup properly by deleting all successfully resolved
13422argument objects.
13423
13424Fixed a problem where the target of the Index() operator was not
13425correctly constructed if the source object was a package. This
13426problem has not been detected because the use of a target operand
13427with Index() is very rare.
13428
13429Fixed a problem with the Index() operator where an attempt was
13430made to delete the operand objects twice.
13431
13432Fixed a problem where an attempt was made to delete an operand
13433twice during execution of the CondRefOf() operator if the target
13434did not exist.
13435
13436Implemented the first of perhaps several internal create object
13437functions that create and initialize a specific object type. This
13438consolidates duplicated code wherever the object is created, thus
13439shrinking the size of the subsystem.
13440
13441Implemented improved debug/error messages for errors that occur
13442during nested method invocations. All executing method pathnames
13443are displayed (with the error) as the call stack is unwound - thus
13444simplifying debug.
13445
13446Fixed a problem introduced in the 10/02 release that caused
13447premature deletion of a buffer object if a buffer was used as an
13448ASL operand where an integer operand is required (Thus causing an
13449implicit object conversion from Buffer to Integer.) The change in
13450the 10/02 release was attempting to fix a memory leak (albeit
13451incorrectly.)
13452
13453Code and Data Size: Current core subsystem library sizes are shown
13454below. These are the code and data sizes for the acpica.lib
13455produced by the Microsoft Visual C++ 6.0 compiler, and these
13456values do not include any ACPI driver or OSPM code. The debug
13457version of the code includes the debug output trace mechanism and
13458has a much larger code and data size. Note that these values will
13459vary depending on the efficiency of the compiler and the compiler
13460options used during generation.
13461
13462 Previous Release
13463 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
13464 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
13465 Current Release:
13466 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
13467 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
13468
13469
134702) Linux
13471
13472Changed the implementation of the ACPI semaphores to use down()
13473instead of down_interruptable(). It is important that the
13474execution of ACPI control methods not be interrupted by signals.
13475Methods must run to completion, or the system may be left in an
13476unknown/unstable state.
13477
13478Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
13479(Shawn Starr)
13480
13481
134823) iASL Compiler/Disassembler
13483
13484
13485Changed the default location of output files. All output files
13486are now placed in the current directory by default instead of in
13487the directory of the source file. This change may affect some
13488existing makefiles, but it brings the behavior of the compiler in
13489line with other similar tools. The location of the output files
13490can be overridden with the -p command line switch.
13491
13492
13493----------------------------------------
1349411 November 2002. Summary of changes for version 20021111.
13495
13496
134970) ACPI Specification 2.0B is released and is now available at:
13498http://www.acpi.info/index.html
13499
13500
135011) ACPI CA Core Subsystem:
13502
13503Implemented support for the ACPI 2.0 SMBus Operation Regions.
13504This includes the early detection and handoff of the request to
13505the SMBus region handler (avoiding all of the complex field
13506support code), and support for the bidirectional return packet
13507from an SMBus write operation. This paves the way for the
13508development of SMBus drivers in each host operating system.
13509
13510Fixed a problem where the semaphore WAIT_FOREVER constant was
13511defined as 32 bits, but must be 16 bits according to the ACPI
13512specification. This had the side effect of causing ASL
13513Mutex/Event timeouts even though the ASL code requested a wait
13514forever. Changed all internal references to the ACPI timeout
13515parameter to 16 bits to prevent future problems. Changed the name
13516of WAIT_FOREVER to ACPI_WAIT_FOREVER.
13517
13518Code and Data Size: Current core subsystem library sizes are shown
13519below. These are the code and data sizes for the acpica.lib
13520produced by the Microsoft Visual C++ 6.0 compiler, and these
13521values do not include any ACPI driver or OSPM code. The debug
13522version of the code includes the debug output trace mechanism and
13523has a much larger code and data size. Note that these values will
13524vary depending on the efficiency of the compiler and the compiler
13525options used during generation.
13526
13527 Previous Release
13528 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13529 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
13530 Current Release:
13531 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
13532 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
13533
13534
135352) Linux
13536
13537Module loading/unloading fixes (John Cagle)
13538
13539
135403) iASL Compiler/Disassembler
13541
13542Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
13543
13544Implemented support for the disassembly of all SMBus protocol
13545keywords (SMBQuick, SMBWord, etc.)
13546
13547----------------------------------------
1354801 November 2002. Summary of changes for version 20021101.
13549
13550
135511) ACPI CA Core Subsystem:
13552
13553Fixed a problem where platforms that have a GPE1 block but no GPE0
13554block were not handled correctly. This resulted in a "GPE
13555overlap" error message. GPE0 is no longer required.
13556
13557Removed code added in the previous release that inserted nodes
13558into the namespace in alphabetical order. This caused some side-
13559effects on various machines. The root cause of the problem is
13560still under investigation since in theory, the internal ordering
13561of the namespace nodes should not matter.
13562
13563
13564Enhanced error reporting for the case where a named object is not
13565found during control method execution. The full ACPI namepath
13566(name reference) of the object that was not found is displayed in
13567this case.
13568
13569Note: as a result of the overhaul of the namespace object types in
13570the previous release, the namespace nodes for the predefined
13571scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
13572instead of ACPI_TYPE_ANY. This simplifies the namespace
13573management code but may affect code that walks the namespace tree
13574looking for specific object types.
13575
13576Code and Data Size: Current core subsystem library sizes are shown
13577below. These are the code and data sizes for the acpica.lib
13578produced by the Microsoft Visual C++ 6.0 compiler, and these
13579values do not include any ACPI driver or OSPM code. The debug
13580version of the code includes the debug output trace mechanism and
13581has a much larger code and data size. Note that these values will
13582vary depending on the efficiency of the compiler and the compiler
13583options used during generation.
13584
13585 Previous Release
13586 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
13587 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
13588 Current Release:
13589 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13590 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
13591
13592
135932) Linux
13594
13595Fixed a problem introduced in the previous release where the
13596Processor and Thermal objects were not recognized and installed in
13597/proc. This was related to the scope type change described above.
13598
13599
136003) iASL Compiler/Disassembler
13601
13602Implemented the -g option to get all of the required ACPI tables
13603from the registry and save them to files (Windows version of the
13604compiler only.) The required tables are the FADT, FACS, and DSDT.
13605
13606Added ACPI table checksum validation during table disassembly in
13607order to catch corrupted tables.
13608
13609
13610----------------------------------------
1361122 October 2002. Summary of changes for version 20021022.
13612
136131) ACPI CA Core Subsystem:
13614
13615Implemented a restriction on the Scope operator that the target
13616must already exist in the namespace at the time the operator is
13617encountered (during table load or method execution). In other
13618words, forward references are not allowed and Scope() cannot
13619create a new object. This changes the previous behavior where the
13620interpreter would create the name if not found. This new behavior
13621correctly enables the search-to-root algorithm during namespace
13622lookup of the target name. Because of this upsearch, this fixes
13623the known Compaq _SB_.OKEC problem and makes both the AML
13624interpreter and iASL compiler compatible with other ACPI
13625implementations.
13626
13627Completed a major overhaul of the internal ACPI object types for
13628the ACPI Namespace and the associated operand objects. Many of
13629these types had become obsolete with the introduction of the two-
13630pass namespace load. This cleanup simplifies the code and makes
13631the entire namespace load mechanism much clearer and easier to
13632understand.
13633
13634Improved debug output for tracking scope opening/closing to help
13635diagnose scoping issues. The old scope name as well as the new
13636scope name are displayed. Also improved error messages for
13637problems with ASL Mutex objects and error messages for GPE
13638problems.
13639
13640Cleaned up the namespace dump code, removed obsolete code.
13641
13642All string output (for all namespace/object dumps) now uses the
13643common ACPI string output procedure which handles escapes properly
13644and does not emit non-printable characters.
13645
13646Fixed some issues with constants in the 64-bit version of the
13647local C library (utclib.c)
13648
13649
136502) Linux
13651
13652EC Driver: No longer attempts to acquire the Global Lock at
13653interrupt level.
13654
13655
136563) iASL Compiler/Disassembler
13657
13658Implemented ACPI 2.0B grammar change that disallows all Type 1 and
136592 opcodes outside of a control method. This means that the
13660"executable" operators (versus the "namespace" operators) cannot
13661be used at the table level; they can only be used within a control
13662method.
13663
13664Implemented the restriction on the Scope() operator where the
13665target must already exist in the namespace at the time the
13666operator is encountered (during ASL compilation). In other words,
13667forward references are not allowed and Scope() cannot create a new
13668object. This makes the iASL compiler compatible with other ACPI
13669implementations and makes the Scope() implementation adhere to the
13670ACPI specification.
13671
13672Fixed a problem where namepath optimization for the Alias operator
13673was optimizing the wrong path (of the two namepaths.) This caused
13674a "Missing alias link" error message.
13675
13676Fixed a problem where an "unknown reserved name" warning could be
13677incorrectly generated for names like "_SB" when the trailing
13678underscore is not used in the original ASL.
13679
13680Fixed a problem where the reserved name check did not handle
13681NamePaths with multiple NameSegs correctly. The first nameseg of
13682the NamePath was examined instead of the last NameSeg.
13683
13684
13685----------------------------------------
13686
1368702 October 2002. Summary of changes for this release.
13688
13689
136901) ACPI CA Core Subsystem version 20021002:
13691
13692Fixed a problem where a store/copy of a string to an existing
13693string did not always set the string length properly in the String
13694object.
13695
13696Fixed a reported problem with the ToString operator where the
13697behavior was identical to the ToHexString operator instead of just
13698simply converting a raw buffer to a string data type.
13699
13700Fixed a problem where CopyObject and the other "explicit"
13701conversion operators were not updating the internal namespace node
13702type as part of the store operation.
13703
13704Fixed a memory leak during implicit source operand conversion
13705where the original object was not deleted if it was converted to a
13706new object of a different type.
13707
13708Enhanced error messages for all problems associated with namespace
13709lookups. Common procedure generates and prints the lookup name as
13710well as the formatted status.
13711
13712Completed implementation of a new design for the Alias support
13713within the namespace. The existing design did not handle the case
13714where a new object was assigned to one of the two names due to the
13715use of an explicit conversion operator, resulting in the two names
13716pointing to two different objects. The new design simply points
13717the Alias name to the original name node - not to the object.
13718This results in a level of indirection that must be handled in the
13719name resolution mechanism.
13720
13721Code and Data Size: Current core subsystem library sizes are shown
13722below. These are the code and data sizes for the acpica.lib
13723produced by the Microsoft Visual C++ 6.0 compiler, and these
13724values do not include any ACPI driver or OSPM code. The debug
13725version of the code includes the debug output trace mechanism and
13726has a larger code and data size. Note that these values will vary
13727depending on the efficiency of the compiler and the compiler
13728options used during generation.
13729
13730 Previous Release
13731 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
13732 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
13733 Current Release:
13734 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
13735 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
13736
13737
137382) Linux
13739
13740Initialize thermal driver's timer before it is used. (Knut
13741Neumann)
13742
13743Allow handling negative celsius values. (Kochi Takayoshi)
13744
13745Fix thermal management and make trip points. R/W (Pavel Machek)
13746
13747Fix /proc/acpi/sleep. (P. Christeas)
13748
13749IA64 fixes. (David Mosberger)
13750
13751Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
13752
13753Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
13754Brodowski)
13755
13756
137573) iASL Compiler/Disassembler
13758
13759Clarified some warning/error messages.
13760
13761
13762----------------------------------------
1376318 September 2002. Summary of changes for this release.
13764
13765
137661) ACPI CA Core Subsystem version 20020918:
13767
13768Fixed a reported problem with reference chaining (via the Index()
13769and RefOf() operators) in the ObjectType() and SizeOf() operators.
13770The definition of these operators includes the dereferencing of
13771all chained references to return information on the base object.
13772
13773Fixed a problem with stores to indexed package elements - the
13774existing code would not complete the store if an "implicit
13775conversion" was not performed. In other words, if the existing
13776object (package element) was to be replaced completely, the code
13777didn't handle this case.
13778
13779Relaxed typechecking on the ASL "Scope" operator to allow the
13780target name to refer to an object of type Integer, String, or
13781Buffer, in addition to the scoping object types (Device,
13782predefined Scopes, Processor, PowerResource, and ThermalZone.)
13783This allows existing AML code that has workarounds for a bug in
13784Windows to function properly. A warning is issued, however. This
13785affects both the AML interpreter and the iASL compiler. Below is
13786an example of this type of ASL code:
13787
13788 Name(DEB,0x00)
13789 Scope(DEB)
13790 {
13791
13792Fixed some reported problems with 64-bit integer support in the
13793local implementation of C library functions (clib.c)
13794
13795
137962) Linux
13797
13798Use ACPI fix map region instead of IOAPIC region, since it is
13799undefined in non-SMP.
13800
13801Ensure that the SCI has the proper polarity and trigger, even on
13802systems that do not have an interrupt override entry in the MADT.
13803
138042.5 big driver reorganization (Pat Mochel)
13805
13806Use early table mapping code from acpitable.c (Andi Kleen)
13807
13808New blacklist entries (Andi Kleen)
13809
13810Blacklist improvements. Split blacklist code out into a separate
13811file. Move checking the blacklist to very early. Previously, we
13812would use ACPI tables, and then halfway through init, check the
13813blacklist -- too late. Now, it's early enough to completely fall-
13814back to non-ACPI.
13815
13816
138173) iASL Compiler/Disassembler version 20020918:
13818
13819Fixed a problem where the typechecking code didn't know that an
13820alias could point to a method. In other words, aliases were not
13821being dereferenced during typechecking.
13822
13823
13824----------------------------------------
1382529 August 2002. Summary of changes for this release.
13826
138271) ACPI CA Core Subsystem Version 20020829:
13828
13829If the target of a Scope() operator already exists, it must be an
13830object type that actually opens a scope -- such as a Device,
13831Method, Scope, etc. This is a fatal runtime error. Similar error
13832check has been added to the iASL compiler also.
13833
13834Tightened up the namespace load to disallow multiple names in the
13835same scope. This previously was allowed if both objects were of
13836the same type. (i.e., a lookup was the same as entering a new
13837name).
13838
13839
138402) Linux
13841
13842Ensure that the ACPI interrupt has the proper trigger and
13843polarity.
13844
13845local_irq_disable is extraneous. (Matthew Wilcox)
13846
13847Make "acpi=off" actually do what it says, and not use the ACPI
13848interpreter *or* the tables.
13849
13850Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
13851Takayoshi)
13852
13853
138543) iASL Compiler/Disassembler Version 20020829:
13855
13856Implemented namepath optimization for name declarations. For
13857example, a declaration like "Method (\_SB_.ABCD)" would get
13858optimized to "Method (ABCD)" if the declaration is within the
13859\_SB_ scope. This optimization is in addition to the named
13860reference path optimization first released in the previous
13861version. This would seem to complete all possible optimizations
13862for namepaths within the ASL/AML.
13863
13864If the target of a Scope() operator already exists, it must be an
13865object type that actually opens a scope -- such as a Device,
13866Method, Scope, etc.
13867
13868Implemented a check and warning for unreachable code in the same
13869block below a Return() statement.
13870
13871Fixed a problem where the listing file was not generated if the
13872compiler aborted if the maximum error count was exceeded (200).
13873
13874Fixed a problem where the typechecking of method return values was
13875broken. This includes the check for a return value when the
13876method is invoked as a TermArg (a return value is expected.)
13877
13878Fixed a reported problem where EOF conditions during a quoted
13879string or comment caused a fault.
13880
13881
13882----------------------------------------
1388315 August 2002. Summary of changes for this release.
13884
138851) ACPI CA Core Subsystem Version 20020815:
13886
13887Fixed a reported problem where a Store to a method argument that
13888contains a reference did not perform the indirect store correctly.
13889This problem was created during the conversion to the new
13890reference object model - the indirect store to a method argument
13891code was not updated to reflect the new model.
13892
13893Reworked the ACPI mode change code to better conform to ACPI 2.0,
13894handle corner cases, and improve code legibility (Kochi Takayoshi)
13895
13896Fixed a problem with the pathname parsing for the carat (^)
13897prefix. The heavy use of the carat operator by the new namepath
13898optimization in the iASL compiler uncovered a problem with the AML
13899interpreter handling of this prefix. In the case where one or
13900more carats precede a single nameseg, the nameseg was treated as
13901standalone and the search rule (to root) was inadvertently
13902applied. This could cause both the iASL compiler and the
13903interpreter to find the wrong object or to miss the error that
13904should occur if the object does not exist at that exact pathname.
13905
13906Found and fixed the problem where the HP Pavilion DSDT would not
13907load. This was a relatively minor tweak to the table loading code
13908(a problem caused by the unexpected encounter with a method
13909invocation not within a control method), but it does not solve the
13910overall issue of the execution of AML code at the table level.
13911This investigation is still ongoing.
13912
13913Code and Data Size: Current core subsystem library sizes are shown
13914below. These are the code and data sizes for the acpica.lib
13915produced by the Microsoft Visual C++ 6.0 compiler, and these
13916values do not include any ACPI driver or OSPM code. The debug
13917version of the code includes the debug output trace mechanism and
13918has a larger code and data size. Note that these values will vary
13919depending on the efficiency of the compiler and the compiler
13920options used during generation.
13921
13922 Previous Release
13923 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
13924 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
13925 Current Release:
13926 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
13927 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
13928
13929
139302) Linux
13931
13932Remove redundant slab.h include (Brad Hards)
13933
13934Fix several bugs in thermal.c (Herbert Nachtnebel)
13935
13936Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
13937
13938Change acpi_system_suspend to use updated irq functions (Pavel
13939Machek)
13940
13941Export acpi_get_firmware_table (Matthew Wilcox)
13942
13943Use proper root proc entry for ACPI (Kochi Takayoshi)
13944
13945Fix early-boot table parsing (Bjorn Helgaas)
13946
13947
139483) iASL Compiler/Disassembler
13949
13950Reworked the compiler options to make them more consistent and to
13951use two-letter options where appropriate. We were running out of
13952sensible letters. This may break some makefiles, so check the
13953current options list by invoking the compiler with no parameters.
13954
13955Completed the design and implementation of the ASL namepath
13956optimization option for the compiler. This option optimizes all
13957references to named objects to the shortest possible path. The
13958first attempt tries to utilize a single nameseg (4 characters) and
13959the "search-to-root" algorithm used by the interpreter. If that
13960cannot be used (because either the name is not in the search path
13961or there is a conflict with another object with the same name),
13962the pathname is optimized using the carat prefix (usually a
13963shorter string than specifying the entire path from the root.)
13964
13965Implemented support to obtain the DSDT from the Windows registry
13966(when the disassembly option is specified with no input file).
13967Added this code as the implementation for AcpiOsTableOverride in
13968the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
13969utility) to scan memory for the DSDT to the AcpiOsTableOverride
13970function in the DOS OSL to make the disassembler truly OS
13971independent.
13972
13973Implemented a new option to disassemble and compile in one step.
13974When used without an input filename, this option will grab the
13975DSDT from the local machine, disassemble it, and compile it in one
13976step.
13977
13978Added a warning message for invalid escapes (a backslash followed
13979by any character other than the allowable escapes). This catches
13980the quoted string error "\_SB_" (which should be "\\_SB_" ).
13981
13982Also, there are numerous instances in the ACPI specification where
13983this error occurs.
13984
13985Added a compiler option to disable all optimizations. This is
13986basically the "compatibility mode" because by using this option,
13987the AML code will come out exactly the same as other ASL
13988compilers.
13989
13990Added error messages for incorrectly ordered dependent resource
13991functions. This includes: missing EndDependentFn macro at end of
13992dependent resource list, nested dependent function macros (both
13993start and end), and missing StartDependentFn macro. These are
13994common errors that should be caught at compile time.
13995
13996Implemented _OSI support for the disassembler and compiler. _OSI
13997must be included in the namespace for proper disassembly (because
13998the disassembler must know the number of arguments.)
13999
14000Added an "optimization" message type that is optional (off by
14001default). This message is used for all optimizations - including
14002constant folding, integer optimization, and namepath optimization.
14003
14004----------------------------------------
1400525 July 2002. Summary of changes for this release.
14006
14007
140081) ACPI CA Core Subsystem Version 20020725:
14009
14010The AML Disassembler has been enhanced to produce compilable ASL
14011code and has been integrated into the iASL compiler (see below) as
14012well as the single-step disassembly for the AML debugger and the
14013disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
14014resource templates and macros are fully supported. The
14015disassembler has been tested on over 30 different AML files,
14016producing identical AML when the resulting disassembled ASL file
14017is recompiled with the same ASL compiler.
14018
14019Modified the Resource Manager to allow zero interrupts and zero
14020dma channels during the GetCurrentResources call. This was
14021causing problems on some platforms.
14022
14023Added the AcpiOsRedirectOutput interface to the OSL to simplify
14024output redirection for the AcpiOsPrintf and AcpiOsVprintf
14025interfaces.
14026
14027Code and Data Size: Current core subsystem library sizes are shown
14028below. These are the code and data sizes for the acpica.lib
14029produced by the Microsoft Visual C++ 6.0 compiler, and these
14030values do not include any ACPI driver or OSPM code. The debug
14031version of the code includes the debug output trace mechanism and
14032has a larger code and data size. Note that these values will vary
14033depending on the efficiency of the compiler and the compiler
14034options used during generation.
14035
14036 Previous Release
14037 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
14038 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
14039 Current Release:
14040 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
14041 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
14042
14043
140442) Linux
14045
14046Fixed a panic in the EC driver (Dominik Brodowski)
14047
14048Implemented checksum of the R/XSDT itself during Linux table scan
14049(Richard Schaal)
14050
14051
140523) iASL compiler
14053
14054The AML disassembler is integrated into the compiler. The "-d"
14055option invokes the disassembler to completely disassemble an
14056input AML file, producing as output a text ASL file with the
14057extension ".dsl" (to avoid name collisions with existing .asl
14058source files.) A future enhancement will allow the disassembler
14059to obtain the BIOS DSDT from the registry under Windows.
14060
14061Fixed a problem with the VendorShort and VendorLong resource
14062descriptors where an invalid AML sequence was created.
14063
14064Implemented a fix for BufferData term in the ASL parser. It was
14065inadvertently defined twice, allowing invalid syntax to pass and
14066causing reduction conflicts.
14067
14068Fixed a problem where the Ones opcode could get converted to a
14069value of zero if "Ones" was used where a byte, word or dword value
14070was expected. The 64-bit value is now truncated to the correct
14071size with the correct value.
14072
14073
14074
14075----------------------------------------
1407602 July 2002. Summary of changes for this release.
14077
14078
140791) ACPI CA Core Subsystem Version 20020702:
14080
14081The Table Manager code has been restructured to add several new
14082features. Tables that are not required by the core subsystem
14083(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
14084validated in any way and are returned from AcpiGetFirmwareTable if
14085requested. The AcpiOsTableOverride interface is now called for
14086each table that is loaded by the subsystem in order to allow the
14087host to override any table it chooses. Previously, only the DSDT
14088could be overridden. Added one new files, tbrsdt.c and
14089tbgetall.c.
14090
14091Fixed a problem with the conversion of internal package objects to
14092external objects (when a package is returned from a control
14093method.) The return buffer length was set to zero instead of the
14094proper length of the package object.
14095
14096Fixed a reported problem with the use of the RefOf and DeRefOf
14097operators when passing reference arguments to control methods. A
14098new type of Reference object is used internally for references
14099produced by the RefOf operator.
14100
14101Added additional error messages in the Resource Manager to explain
14102AE_BAD_DATA errors when they occur during resource parsing.
14103
14104Split the AcpiEnableSubsystem into two primitives to enable a
14105finer granularity initialization sequence. These two calls should
14106be called in this order: AcpiEnableSubsystem (flags),
14107AcpiInitializeObjects (flags). The flags parameter remains the
14108same.
14109
14110
141112) Linux
14112
14113Updated the ACPI utilities module to understand the new style of
14114fully resolved package objects that are now returned from the core
14115subsystem. This eliminates errors of the form:
14116
14117 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
14118 acpi_utils-0430 [145] acpi_evaluate_reference:
14119 Invalid element in package (not a device reference)
14120
14121The method evaluation utility uses the new buffer allocation
14122scheme instead of calling AcpiEvaluate Object twice.
14123
14124Added support for ECDT. This allows the use of the Embedded
14125
14126Controller before the namespace has been fully initialized, which
14127is necessary for ACPI 2.0 support, and for some laptops to
14128initialize properly. (Laptops using ECDT are still rare, so only
14129limited testing was performed of the added functionality.)
14130
14131Fixed memory leaks in the EC driver.
14132
14133Eliminated a brittle code structure in acpi_bus_init().
14134
14135Eliminated the acpi_evaluate() helper function in utils.c. It is
14136no longer needed since acpi_evaluate_object can optionally
14137allocate memory for the return object.
14138
14139Implemented fix for keyboard hang when getting battery readings on
14140some systems (Stephen White)
14141
14142PCI IRQ routing update (Dominik Brodowski)
14143
14144Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
14145support
14146
14147----------------------------------------
1414811 June 2002. Summary of changes for this release.
14149
14150
141511) ACPI CA Core Subsystem Version 20020611:
14152
14153Fixed a reported problem where constants such as Zero and One
14154appearing within _PRT packages were not handled correctly within
14155the resource manager code. Originally reported against the ASL
14156compiler because the code generator now optimizes integers to
14157their minimal AML representation (i.e. AML constants if possible.)
14158The _PRT code now handles all AML constant opcodes correctly
14159(Zero, One, Ones, Revision).
14160
14161Fixed a problem with the Concatenate operator in the AML
14162interpreter where a buffer result object was incorrectly marked as
14163not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
14164
14165All package sub-objects are now fully resolved before they are
14166returned from the external ACPI interfaces. This means that name
14167strings are resolved to object handles, and constant operators
14168(Zero, One, Ones, Revision) are resolved to Integers.
14169
14170Implemented immediate resolution of the AML Constant opcodes
14171(Zero, One, Ones, Revision) to Integer objects upon detection
14172within the AML stream. This has simplified and reduced the
14173generated code size of the subsystem by eliminating about 10
14174switch statements for these constants (which previously were
14175contained in Reference objects.) The complicating issues are that
14176the Zero opcode is used as a "placeholder" for unspecified
14177optional target operands and stores to constants are defined to be
14178no-ops.
14179
14180Code and Data Size: Current core subsystem library sizes are shown
14181below. These are the code and data sizes for the acpica.lib
14182produced by the Microsoft Visual C++ 6.0 compiler, and these
14183values do not include any ACPI driver or OSPM code. The debug
14184version of the code includes the debug output trace mechanism and
14185has a larger code and data size. Note that these values will vary
14186depending on the efficiency of the compiler and the compiler
14187options used during generation.
14188
14189 Previous Release
14190 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
14191 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
14192 Current Release:
14193 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
14194 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
14195
14196
141972) Linux
14198
14199
14200Added preliminary support for obtaining _TRA data for PCI root
14201bridges (Bjorn Helgaas).
14202
14203
142043) iASL Compiler Version X2046:
14205
14206Fixed a problem where the "_DDN" reserved name was defined to be a
14207control method with one argument. There are no arguments, and
14208_DDN does not have to be a control method.
14209
14210Fixed a problem with the Linux version of the compiler where the
14211source lines printed with error messages were the wrong lines.
14212This turned out to be the "LF versus CR/LF" difference between
14213Windows and Unix. This appears to be the longstanding issue
14214concerning listing output and error messages.
14215
14216Fixed a problem with the Linux version of compiler where opcode
14217names within error messages were wrong. This was caused by a
14218slight difference in the output of the Flex tool on Linux versus
14219Windows.
14220
14221Fixed a problem with the Linux compiler where the hex output files
14222contained some garbage data caused by an internal buffer overrun.
14223
14224
14225----------------------------------------
1422617 May 2002. Summary of changes for this release.
14227
14228
142291) ACPI CA Core Subsystem Version 20020517:
14230
14231Implemented a workaround to an BIOS bug discovered on the HP
14232OmniBook where the FADT revision number and the table size are
14233inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
14234behavior is to fallback to using only the ACPI 1.0 fields of the
14235FADT if the table is too small to be a ACPI 2.0 table as claimed
14236by the revision number. Although this is a BIOS bug, this is a
14237case where the workaround is simple enough and with no side
14238effects, so it seemed prudent to add it. A warning message is
14239issued, however.
14240
14241Implemented minimum size checks for the fixed-length ACPI tables -
14242- the FADT and FACS, as well as consistency checks between the
14243revision number and the table size.
14244
14245Fixed a reported problem in the table override support where the
14246new table pointer was incorrectly treated as a physical address
14247instead of a logical address.
14248
14249Eliminated the use of the AE_AML_ERROR exception and replaced it
14250with more descriptive codes.
14251
14252Fixed a problem where an exception would occur if an ASL Field was
14253defined with no named Field Units underneath it (used by some
14254index fields).
14255
14256Code and Data Size: Current core subsystem library sizes are shown
14257below. These are the code and data sizes for the acpica.lib
14258produced by the Microsoft Visual C++ 6.0 compiler, and these
14259values do not include any ACPI driver or OSPM code. The debug
14260version of the code includes the debug output trace mechanism and
14261has a larger code and data size. Note that these values will vary
14262depending on the efficiency of the compiler and the compiler
14263options used during generation.
14264
14265 Previous Release
14266 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
14267 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
14268 Current Release:
14269 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
14270 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
14271
14272
14273
142742) Linux
14275
14276Much work done on ACPI init (MADT and PCI IRQ routing support).
14277(Paul D. and Dominik Brodowski)
14278
14279Fix PCI IRQ-related panic on boot (Sam Revitch)
14280
14281Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
14282
14283Fix "MHz" typo (Dominik Brodowski)
14284
14285Fix RTC year 2000 issue (Dominik Brodowski)
14286
14287Preclude multiple button proc entries (Eric Brunet)
14288
14289Moved arch-specific code out of include/platform/aclinux.h
14290
142913) iASL Compiler Version X2044:
14292
14293Implemented error checking for the string used in the EISAID macro
14294(Usually used in the definition of the _HID object.) The code now
14295strictly enforces the PnP format - exactly 7 characters, 3
14296uppercase letters and 4 hex digits.
14297
14298If a raw string is used in the definition of the _HID object
14299(instead of the EISAID macro), the string must contain all
14300alphanumeric characters (e.g., "*PNP0011" is not allowed because
14301of the asterisk.)
14302
14303Implemented checking for invalid use of ACPI reserved names for
14304most of the name creation operators (Name, Device, Event, Mutex,
14305OperationRegion, PowerResource, Processor, and ThermalZone.)
14306Previously, this check was only performed for control methods.
14307
14308Implemented an additional check on the Name operator to emit an
14309error if a reserved name that must be implemented in ASL as a
14310control method is used. We know that a reserved name must be a
14311method if it is defined with input arguments.
14312
14313The warning emitted when a namespace object reference is not found
14314during the cross reference phase has been changed into an error.
14315The "External" directive should be used for names defined in other
14316modules.
14317
14318
143194) Tools and Utilities
14320
14321The 16-bit tools (adump16 and aexec16) have been regenerated and
14322tested.
14323
14324Fixed a problem with the output of both acpidump and adump16 where
14325the indentation of closing parentheses and brackets was not
14326
14327aligned properly with the parent block.
14328
14329
14330----------------------------------------
1433103 May 2002. Summary of changes for this release.
14332
14333
143341) ACPI CA Core Subsystem Version 20020503:
14335
14336Added support a new OSL interface that allows the host operating
14337
14338system software to override the DSDT found in the firmware -
14339AcpiOsTableOverride. With this interface, the OSL can examine the
14340version of the firmware DSDT and replace it with a different one
14341if desired.
14342
14343Added new external interfaces for accessing ACPI registers from
14344device drivers and other system software - AcpiGetRegister and
14345AcpiSetRegister. This was simply an externalization of the
14346existing AcpiHwBitRegister interfaces.
14347
14348Fixed a regression introduced in the previous build where the
14349ASL/AML CreateField operator always returned an error,
14350"destination must be a NS Node".
14351
14352Extended the maximum time (before failure) to successfully enable
14353ACPI mode to 3 seconds.
14354
14355Code and Data Size: Current core subsystem library sizes are shown
14356below. These are the code and data sizes for the acpica.lib
14357produced by the Microsoft Visual C++ 6.0 compiler, and these
14358values do not include any ACPI driver or OSPM code. The debug
14359version of the code includes the debug output trace mechanism and
14360has a larger code and data size. Note that these values will vary
14361depending on the efficiency of the compiler and the compiler
14362options used during generation.
14363
14364 Previous Release
14365 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
14366 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
14367 Current Release:
14368 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
14369 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
14370
14371
143722) Linux
14373
14374Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
14375free. While 3 out of 4 of our in-house systems work fine, the last
14376one still hangs when testing the LAPIC timer.
14377
14378Renamed many files in 2.5 kernel release to omit "acpi_" from the
14379name.
14380
14381Added warning on boot for Presario 711FR.
14382
14383Sleep improvements (Pavel Machek)
14384
14385ACPI can now be built without CONFIG_PCI enabled.
14386
14387IA64: Fixed memory map functions (JI Lee)
14388
14389
143903) iASL Compiler Version X2043:
14391
14392Added support to allow the compiler to be integrated into the MS
14393VC++ development environment for one-button compilation of single
14394files or entire projects -- with error-to-source-line mapping.
14395
14396Implemented support for compile-time constant folding for the
14397Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
14398specification. This allows the ASL writer to use expressions
14399instead of Integer/Buffer/String constants in terms that must
14400evaluate to constants at compile time and will also simplify the
14401emitted AML in any such sub-expressions that can be folded
14402(evaluated at compile-time.) This increases the size of the
14403compiler significantly because a portion of the ACPI CA AML
14404interpreter is included within the compiler in order to pre-
14405evaluate constant expressions.
14406
14407
14408Fixed a problem with the "Unicode" ASL macro that caused the
14409compiler to fault. (This macro is used in conjunction with the
14410_STR reserved name.)
14411
14412Implemented an AML opcode optimization to use the Zero, One, and
14413Ones opcodes where possible to further reduce the size of integer
14414constants and thus reduce the overall size of the generated AML
14415code.
14416
14417Implemented error checking for new reserved terms for ACPI version
144182.0A.
14419
14420Implemented the -qr option to display the current list of ACPI
14421reserved names known to the compiler.
14422
14423Implemented the -qc option to display the current list of ASL
14424operators that are allowed within constant expressions and can
14425therefore be folded at compile time if the operands are constants.
14426
14427
144284) Documentation
14429
14430Updated the Programmer's Reference for new interfaces, data types,
14431and memory allocation model options.
14432
14433Updated the iASL Compiler User Reference to apply new format and
14434add information about new features and options.
14435
14436----------------------------------------
1443719 April 2002. Summary of changes for this release.
14438
144391) ACPI CA Core Subsystem Version 20020419:
14440
14441The source code base for the Core Subsystem has been completely
14442cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
14443versions. The Lint option files used are included in the
14444/acpi/generate/lint directory.
14445
14446Implemented enhanced status/error checking across the entire
14447Hardware manager subsystem. Any hardware errors (reported from
14448the OSL) are now bubbled up and will abort a running control
14449method.
14450
14451
14452Fixed a problem where the per-ACPI-table integer width (32 or 64)
14453was stored only with control method nodes, causing a fault when
14454non-control method code was executed during table loading. The
14455solution implemented uses a global variable to indicate table
14456width across the entire ACPI subsystem. Therefore, ACPI CA does
14457not support mixed integer widths across different ACPI tables
14458(DSDT, SSDT).
14459
14460Fixed a problem where NULL extended fields (X fields) in an ACPI
144612.0 ACPI FADT caused the table load to fail. Although the
14462existing ACPI specification is a bit fuzzy on this topic, the new
14463behavior is to fall back on a ACPI 1.0 field if the corresponding
14464ACPI 2.0 X field is zero (even though the table revision indicates
14465a full ACPI 2.0 table.) The ACPI specification will be updated to
14466clarify this issue.
14467
14468Fixed a problem with the SystemMemory operation region handler
14469where memory was always accessed byte-wise even if the AML-
14470specified access width was larger than a byte. This caused
14471problems on systems with memory-mapped I/O. Memory is now
14472accessed with the width specified. On systems that do not support
14473non-aligned transfers, a check is made to guarantee proper address
14474alignment before proceeding in order to avoid an AML-caused
14475alignment fault within the kernel.
14476
14477
14478Fixed a problem with the ExtendedIrq resource where only one byte
14479of the 4-byte Irq field was extracted.
14480
14481Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
14482function was out of date and required a rewrite.
14483
14484Code and Data Size: Current core subsystem library sizes are shown
14485below. These are the code and data sizes for the acpica.lib
14486produced by the Microsoft Visual C++ 6.0 compiler, and these
14487values do not include any ACPI driver or OSPM code. The debug
14488version of the code includes the debug output trace mechanism and
14489has a larger code and data size. Note that these values will vary
14490depending on the efficiency of the compiler and the compiler
14491options used during generation.
14492
14493 Previous Release
14494 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
14495 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
14496 Current Release:
14497 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
14498 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
14499
14500
145012) Linux
14502
14503PCI IRQ routing fixes (Dominik Brodowski)
14504
14505
145063) iASL Compiler Version X2042:
14507
14508Implemented an additional compile-time error check for a field
14509unit whose size + minimum access width would cause a run-time
14510access beyond the end-of-region. Previously, only the field size
14511itself was checked.
14512
14513The Core subsystem and iASL compiler now share a common parse
14514object in preparation for compile-time evaluation of the type
145153/4/5 ASL operators.
14516
14517
14518----------------------------------------
14519Summary of changes for this release: 03_29_02
14520
145211) ACPI CA Core Subsystem Version 20020329:
14522
14523Implemented support for late evaluation of TermArg operands to
14524Buffer and Package objects. This allows complex expressions to be
14525used in the declarations of these object types.
14526
14527Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
145281.0, if the field was larger than 32 bits, it was returned as a
14529buffer - otherwise it was returned as an integer. In ACPI 2.0,
14530the field is returned as a buffer only if the field is larger than
1453164 bits. The TableRevision is now considered when making this
14532conversion to avoid incompatibility with existing ASL code.
14533
14534Implemented logical addressing for AcpiOsGetRootPointer. This
14535allows an RSDP with either a logical or physical address. With
14536this support, the host OS can now override all ACPI tables with
14537one logical RSDP. Includes implementation of "typed" pointer
14538support to allow a common data type for both physical and logical
14539pointers internally. This required a change to the
14540AcpiOsGetRootPointer interface.
14541
14542Implemented the use of ACPI 2.0 Generic Address Structures for all
14543GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
14544mapped I/O for these ACPI features.
14545
14546Initialization now ignores not only non-required tables (All
14547tables other than the FADT, FACS, DSDT, and SSDTs), but also does
14548not validate the table headers of unrecognized tables.
14549
14550Fixed a problem where a notify handler could only be
14551installed/removed on an object of type Device. All "notify"
14552
14553objects are now supported -- Devices, Processor, Power, and
14554Thermal.
14555
14556Removed most verbosity from the ACPI_DB_INFO debug level. Only
14557critical information is returned when this debug level is enabled.
14558
14559Code and Data Size: Current core subsystem library sizes are shown
14560below. These are the code and data sizes for the acpica.lib
14561produced by the Microsoft Visual C++ 6.0 compiler, and these
14562values do not include any ACPI driver or OSPM code. The debug
14563version of the code includes the debug output trace mechanism and
14564has a larger code and data size. Note that these values will vary
14565depending on the efficiency of the compiler and the compiler
14566options used during generation.
14567
14568 Previous Release
14569 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
14570 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
14571 Current Release:
14572 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
14573 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
14574
14575
145762) Linux:
14577
14578The processor driver (acpi_processor.c) now fully supports ACPI
145792.0-based processor performance control (e.g. Intel(R)
14580SpeedStep(TM) technology) Note that older laptops that only have
14581the Intel "applet" interface are not supported through this. The
14582'limit' and 'performance' interface (/proc) are fully functional.
14583[Note that basic policy for controlling performance state
14584transitions will be included in the next version of ospmd.] The
14585idle handler was modified to more aggressively use C2, and PIIX4
14586errata handling underwent a complete overhaul (big thanks to
14587Dominik Brodowski).
14588
14589Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
14590based devices in the ACPI namespace are now dynamically bound
14591(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
14592This allows, among other things, ACPI to resolve bus numbers for
14593subordinate PCI bridges.
14594
14595Enhanced PCI IRQ routing to get the proper bus number for _PRT
14596entries defined underneath PCI bridges.
14597
14598Added IBM 600E to bad bios list due to invalid _ADR value for
14599PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
14600
14601In the process of adding full MADT support (e.g. IOAPIC) for IA32
14602(acpi.c, mpparse.c) -- stay tuned.
14603
14604Added back visual differentiation between fixed-feature and
14605control-method buttons in dmesg. Buttons are also subtyped (e.g.
14606button/power/PWRF) to simplify button identification.
14607
14608We no longer use -Wno-unused when compiling debug. Please ignore
14609any "_THIS_MODULE defined but not used" messages.
14610
14611Can now shut down the system using "magic sysrq" key.
14612
14613
146143) iASL Compiler version 2041:
14615
14616Fixed a problem where conversion errors for hex/octal/decimal
14617constants were not reported.
14618
14619Implemented a fix for the General Register template Address field.
14620This field was 8 bits when it should be 64.
14621
14622Fixed a problem where errors/warnings were no longer being emitted
14623within the listing output file.
14624
14625Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
14626exactly 4 characters, alphanumeric only.
14627
14628
14629
14630
14631----------------------------------------
14632Summary of changes for this release: 03_08_02
14633
14634
146351) ACPI CA Core Subsystem Version 20020308:
14636
14637Fixed a problem with AML Fields where the use of the "AccessAny"
14638keyword could cause an interpreter error due to attempting to read
14639or write beyond the end of the parent Operation Region.
14640
14641Fixed a problem in the SystemMemory Operation Region handler where
14642an attempt was made to map memory beyond the end of the region.
14643This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
14644errors on some Linux systems.
14645
14646Fixed a problem where the interpreter/namespace "search to root"
14647algorithm was not functioning for some object types. Relaxed the
14648internal restriction on the search to allow upsearches for all
14649external object types as well as most internal types.
14650
14651
146522) Linux:
14653
14654We now use safe_halt() macro versus individual calls to sti | hlt.
14655
14656Writing to the processor limit interface should now work. "echo 1"
14657will increase the limit, 2 will decrease, and 0 will reset to the
14658
14659default.
14660
14661
146623) ASL compiler:
14663
14664Fixed segfault on Linux version.
14665
14666
14667----------------------------------------
14668Summary of changes for this release: 02_25_02
14669
146701) ACPI CA Core Subsystem:
14671
14672
14673Fixed a problem where the GPE bit masks were not initialized
14674properly, causing erratic GPE behavior.
14675
14676Implemented limited support for multiple calling conventions. The
14677code can be generated with either the VPL (variable parameter
14678list, or "C") convention, or the FPL (fixed parameter list, or
14679"Pascal") convention. The core subsystem is about 3.4% smaller
14680when generated with FPL.
14681
14682
146832) Linux
14684
14685Re-add some /proc/acpi/event functionality that was lost during
14686the rewrite
14687
14688Resolved issue with /proc events for fixed-feature buttons showing
14689up as the system device.
14690
14691Fixed checks on C2/C3 latencies to be inclusive of maximum values.
14692
14693Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
14694
14695Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
14696
14697Fixed limit interface & usage to fix bugs with passive cooling
14698hysterisis.
14699
14700Restructured PRT support.
14701
14702
14703----------------------------------------
14704Summary of changes for this label: 02_14_02
14705
14706
147071) ACPI CA Core Subsystem:
14708
14709Implemented support in AcpiLoadTable to allow loading of FACS and
14710FADT tables.
14711
14712Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
14713been removed. All 64-bit platforms should be migrated to the ACPI
147142.0 tables. The actbl71.h header has been removed from the source
14715tree.
14716
14717All C macros defined within the subsystem have been prefixed with
14718"ACPI_" to avoid collision with other system include files.
14719
14720Removed the return value for the two AcpiOsPrint interfaces, since
14721it is never used and causes lint warnings for ignoring the return
14722value.
14723
14724Added error checking to all internal mutex acquire and release
14725calls. Although a failure from one of these interfaces is
14726probably a fatal system error, these checks will cause the
14727immediate abort of the currently executing method or interface.
14728
14729Fixed a problem where the AcpiSetCurrentResources interface could
14730fault. This was a side effect of the deployment of the new memory
14731allocation model.
14732
14733Fixed a couple of problems with the Global Lock support introduced
14734in the last major build. The "common" (1.0/2.0) internal FACS was
14735being overwritten with the FACS signature and clobbering the
14736Global Lock pointer. Also, the actual firmware FACS was being
14737unmapped after construction of the "common" FACS, preventing
14738access to the actual Global Lock field within it. The "common"
14739internal FACS is no longer installed as an actual ACPI table; it
14740is used simply as a global.
14741
14742Code and Data Size: Current core subsystem library sizes are shown
14743below. These are the code and data sizes for the acpica.lib
14744produced by the Microsoft Visual C++ 6.0 compiler, and these
14745values do not include any ACPI driver or OSPM code. The debug
14746version of the code includes the debug output trace mechanism and
14747has a larger code and data size. Note that these values will vary
14748depending on the efficiency of the compiler and the compiler
14749options used during generation.
14750
14751 Previous Release (02_07_01)
14752 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
14753 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
14754 Current Release:
14755 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
14756 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
14757
14758
147592) Linux
14760
14761Updated Linux-specific code for core macro and OSL interface
14762changes described above.
14763
14764Improved /proc/acpi/event. It now can be opened only once and has
14765proper poll functionality.
14766
14767Fixed and restructured power management (acpi_bus).
14768
14769Only create /proc "view by type" when devices of that class exist.
14770
14771Fixed "charging/discharging" bug (and others) in acpi_battery.
14772
14773Improved thermal zone code.
14774
14775
147763) ASL Compiler, version X2039:
14777
14778
14779Implemented the new compiler restriction on ASL String hex/octal
14780escapes to non-null, ASCII values. An error results if an invalid
14781value is used. (This will require an ACPI 2.0 specification
14782change.)
14783
14784AML object labels that are output to the optional C and ASM source
14785are now prefixed with both the ACPI table signature and table ID
14786to help guarantee uniqueness within a large BIOS project.
14787
14788
14789----------------------------------------
14790Summary of changes for this label: 02_01_02
14791
147921) ACPI CA Core Subsystem:
14793
14794ACPI 2.0 support is complete in the entire Core Subsystem and the
14795ASL compiler. All new ACPI 2.0 operators are implemented and all
14796other changes for ACPI 2.0 support are complete. With
14797simultaneous code and data optimizations throughout the subsystem,
14798ACPI 2.0 support has been implemented with almost no additional
14799cost in terms of code and data size.
14800
14801Implemented a new mechanism for allocation of return buffers. If
14802the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
14803be allocated on behalf of the caller. Consolidated all return
14804buffer validation and allocation to a common procedure. Return
14805buffers will be allocated via the primary OSL allocation interface
14806since it appears that a separate pool is not needed by most users.
14807If a separate pool is required for these buffers, the caller can
14808still use the original mechanism and pre-allocate the buffer(s).
14809
14810Implemented support for string operands within the DerefOf
14811operator.
14812
14813Restructured the Hardware and Event managers to be table driven,
14814simplifying the source code and reducing the amount of generated
14815code.
14816
14817Split the common read/write low-level ACPI register bitfield
14818procedure into a separate read and write, simplifying the code
14819considerably.
14820
14821Obsoleted the AcpiOsCallocate OSL interface. This interface was
14822used only a handful of times and didn't have enough critical mass
14823for a separate interface. Replaced with a common calloc procedure
14824in the core.
14825
14826Fixed a reported problem with the GPE number mapping mechanism
14827that allows GPE1 numbers to be non-contiguous with GPE0.
14828Reorganized the GPE information and shrunk a large array that was
14829originally large enough to hold info for all possible GPEs (256)
14830to simply large enough to hold all GPEs up to the largest GPE
14831number on the machine.
14832
14833Fixed a reported problem with resource structure alignment on 64-
14834bit platforms.
14835
14836Changed the AcpiEnableEvent and AcpiDisableEvent external
14837interfaces to not require any flags for the common case of
14838enabling/disabling a GPE.
14839
14840Implemented support to allow a "Notify" on a Processor object.
14841
14842Most TBDs in comments within the source code have been resolved
14843and eliminated.
14844
14845
14846Fixed a problem in the interpreter where a standalone parent
14847prefix (^) was not handled correctly in the interpreter and
14848debugger.
14849
14850Removed obsolete and unnecessary GPE save/restore code.
14851
14852Implemented Field support in the ASL Load operator. This allows a
14853table to be loaded from a named field, in addition to loading a
14854table directly from an Operation Region.
14855
14856Implemented timeout and handle support in the external Global Lock
14857interfaces.
14858
14859Fixed a problem in the AcpiDump utility where pathnames were no
14860longer being generated correctly during the dump of named objects.
14861
14862Modified the AML debugger to give a full display of if/while
14863predicates instead of just one AML opcode at a time. (The
14864predicate can have several nested ASL statements.) The old method
14865was confusing during single stepping.
14866
14867Code and Data Size: Current core subsystem library sizes are shown
14868below. These are the code and data sizes for the acpica.lib
14869produced by the Microsoft Visual C++ 6.0 compiler, and these
14870values do not include any ACPI driver or OSPM code. The debug
14871version of the code includes the debug output trace mechanism and
14872has a larger code and data size. Note that these values will vary
14873depending on the efficiency of the compiler and the compiler
14874options used during generation.
14875
14876 Previous Release (12_18_01)
14877 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
14878 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
14879 Current Release:
14880 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
14881 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
14882
148832) Linux
14884
14885 Implemented fix for PIIX reverse throttling errata (Processor
14886driver)
14887
14888Added new Limit interface (Processor and Thermal drivers)
14889
14890New thermal policy (Thermal driver)
14891
14892Many updates to /proc
14893
14894Battery "low" event support (Battery driver)
14895
14896Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
14897
14898IA32 - IA64 initialization unification, no longer experimental
14899
14900Menuconfig options redesigned
14901
149023) ASL Compiler, version X2037:
14903
14904Implemented several new output features to simplify integration of
14905AML code into firmware: 1) Output the AML in C source code with
14906labels for each named ASL object. The original ASL source code
14907is interleaved as C comments. 2) Output the AML in ASM source code
14908with labels and interleaved ASL source. 3) Output the AML in
14909raw hex table form, in either C or ASM.
14910
14911Implemented support for optional string parameters to the
14912LoadTable operator.
14913
14914Completed support for embedded escape sequences within string
14915literals. The compiler now supports all single character escapes
14916as well as the Octal and Hex escapes. Note: the insertion of a
14917null byte into a string literal (via the hex/octal escape) causes
14918the string to be immediately terminated. A warning is issued.
14919
14920Fixed a problem where incorrect AML was generated for the case
14921where an ASL namepath consists of a single parent prefix (
14922
14923) with no trailing name segments.
14924
14925The compiler has been successfully generated with a 64-bit C
14926compiler.
14927
14928
14929
14930
14931----------------------------------------
14932Summary of changes for this label: 12_18_01
14933
149341) Linux
14935
14936Enhanced blacklist with reason and severity fields. Any table's
14937signature may now be used to identify a blacklisted system.
14938
14939Call _PIC control method to inform the firmware which interrupt
14940model the OS is using. Turn on any disabled link devices.
14941
14942Cleaned up busmgr /proc error handling (Andreas Dilger)
14943
14944 2) ACPI CA Core Subsystem:
14945
14946Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
14947while loop)
14948
14949Completed implementation of the ACPI 2.0 "Continue",
14950"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
14951operators. All new ACPI 2.0 operators are now implemented in both
14952the ASL compiler and the AML interpreter. The only remaining ACPI
149532.0 task is support for the String data type in the DerefOf
14954operator. Fixed a problem with AcquireMutex where the status code
14955was lost if the caller had to actually wait for the mutex.
14956
14957Increased the maximum ASL Field size from 64K bits to 4G bits.
14958
14959Completed implementation of the external Global Lock interfaces --
14960AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
14961Handler parameters were added.
14962
14963Completed another pass at removing warnings and issues when
14964compiling with 64-bit compilers. The code now compiles cleanly
14965with the Intel 64-bit C/C++ compiler. Most notably, the pointer
14966add and subtract (diff) macros have changed considerably.
14967
14968
14969Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1497064-bit platforms, 32-bits on all others. This type is used
14971wherever memory allocation and/or the C sizeof() operator is used,
14972and affects the OSL memory allocation interfaces AcpiOsAllocate
14973and AcpiOsCallocate.
14974
14975Implemented sticky user breakpoints in the AML debugger.
14976
14977Code and Data Size: Current core subsystem library sizes are shown
14978below. These are the code and data sizes for the acpica.lib
14979produced by the Microsoft Visual C++ 6.0 compiler, and these
14980values do not include any ACPI driver or OSPM code. The debug
14981version of the code includes the debug output trace mechanism and
14982has a larger code and data size. Note that these values will vary
14983depending on the efficiency of the compiler and the compiler
14984options used during generation.
14985
14986 Previous Release (12_05_01)
14987 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
14988 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
14989 Current Release:
14990 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
14991 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
14992
14993 3) ASL Compiler, version X2034:
14994
14995Now checks for (and generates an error if detected) the use of a
14996Break or Continue statement without an enclosing While statement.
14997
14998
14999Successfully generated the compiler with the Intel 64-bit C
15000compiler.
15001
15002 ----------------------------------------
15003Summary of changes for this label: 12_05_01
15004
15005 1) ACPI CA Core Subsystem:
15006
15007The ACPI 2.0 CopyObject operator is fully implemented. This
15008operator creates a new copy of an object (and is also used to
15009bypass the "implicit conversion" mechanism of the Store operator.)
15010
15011The ACPI 2.0 semantics for the SizeOf operator are fully
15012implemented. The change is that performing a SizeOf on a
15013reference object causes an automatic dereference of the object to
15014tha actual value before the size is evaluated. This behavior was
15015undefined in ACPI 1.0.
15016
15017The ACPI 2.0 semantics for the Extended IRQ resource descriptor
15018have been implemented. The interrupt polarity and mode are now
15019independently set.
15020
15021Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
15022appearing in Package objects were not properly converted to
15023integers when the internal Package was converted to an external
15024object (via the AcpiEvaluateObject interface.)
15025
15026Fixed a problem with the namespace object deletion mechanism for
15027objects created by control methods. There were two parts to this
15028problem: 1) Objects created during the initialization phase method
15029parse were not being deleted, and 2) The object owner ID mechanism
15030to track objects was broken.
15031
15032Fixed a problem where the use of the ASL Scope operator within a
15033control method would result in an invalid opcode exception.
15034
15035Fixed a problem introduced in the previous label where the buffer
15036length required for the _PRT structure was not being returned
15037correctly.
15038
15039Code and Data Size: Current core subsystem library sizes are shown
15040below. These are the code and data sizes for the acpica.lib
15041produced by the Microsoft Visual C++ 6.0 compiler, and these
15042values do not include any ACPI driver or OSPM code. The debug
15043version of the code includes the debug output trace mechanism and
15044has a larger code and data size. Note that these values will vary
15045depending on the efficiency of the compiler and the compiler
15046options used during generation.
15047
15048 Previous Release (11_20_01)
15049 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
15050 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
15051
15052 Current Release:
15053 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
15054 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
15055
15056 2) Linux:
15057
15058Updated all files to apply cleanly against 2.4.16.
15059
15060Added basic PCI Interrupt Routing Table (PRT) support for IA32
15061(acpi_pci.c), and unified the PRT code for IA32 and IA64. This
15062version supports both static and dyanmic PRT entries, but dynamic
15063entries are treated as if they were static (not yet
15064reconfigurable). Architecture- specific code to use this data is
15065absent on IA32 but should be available shortly.
15066
15067Changed the initialization sequence to start the ACPI interpreter
15068(acpi_init) prior to initialization of the PCI driver (pci_init)
15069in init/main.c. This ordering is required to support PRT and
15070facilitate other (future) enhancement. A side effect is that the
15071ACPI bus driver and certain device drivers can no longer be loaded
15072as modules.
15073
15074Modified the 'make menuconfig' options to allow PCI Interrupt
15075Routing support to be included without the ACPI Bus and other
15076device drivers.
15077
15078 3) ASL Compiler, version X2033:
15079
15080Fixed some issues with the use of the new CopyObject and
15081DataTableRegion operators. Both are fully functional.
15082
15083 ----------------------------------------
15084Summary of changes for this label: 11_20_01
15085
15086 20 November 2001. Summary of changes for this release.
15087
15088 1) ACPI CA Core Subsystem:
15089
15090Updated Index support to match ACPI 2.0 semantics. Storing a
15091Integer, String, or Buffer to an Index of a Buffer will store only
15092the least-significant byte of the source to the Indexed buffer
15093byte. Multiple writes are not performed.
15094
15095Fixed a problem where the access type used in an AccessAs ASL
15096operator was not recorded correctly into the field object.
15097
15098Fixed a problem where ASL Event objects were created in a
15099signalled state. Events are now created in an unsignalled state.
15100
15101The internal object cache is now purged after table loading and
15102initialization to reduce the use of dynamic kernel memory -- on
15103the assumption that object use is greatest during the parse phase
15104of the entire table (versus the run-time use of individual control
15105methods.)
15106
15107ACPI 2.0 variable-length packages are now fully operational.
15108
15109Code and Data Size: Code and Data optimizations have permitted new
15110feature development with an actual reduction in the library size.
15111Current core subsystem library sizes are shown below. These are
15112the code and data sizes for the acpica.lib produced by the
15113Microsoft Visual C++ 6.0 compiler, and these values do not include
15114any ACPI driver or OSPM code. The debug version of the code
15115includes the debug output trace mechanism and has a larger code
15116and data size. Note that these values will vary depending on the
15117efficiency of the compiler and the compiler options used during
15118generation.
15119
15120 Previous Release (11_09_01):
15121 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
15122 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
15123
15124 Current Release:
15125 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
15126 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
15127
15128 2) Linux:
15129
15130Enhanced the ACPI boot-time initialization code to allow the use
15131of Local APIC tables for processor enumeration on IA-32, and to
15132pave the way for a fully MPS-free boot (on SMP systems) in the
15133near future. This functionality replaces
15134arch/i386/kernel/acpitables.c, which was introduced in an earlier
151352.4.15-preX release. To enable this feature you must add
15136"acpi_boot=on" to the kernel command line -- see the help entry
15137for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
15138the works...
15139
15140Restructured the configuration options to allow boot-time table
15141parsing support without inclusion of the ACPI Interpreter (and
15142other) code.
15143
15144NOTE: This release does not include fixes for the reported events,
15145power-down, and thermal passive cooling issues (coming soon).
15146
15147 3) ASL Compiler:
15148
15149Added additional typechecking for Fields within restricted access
15150Operation Regions. All fields within EC and CMOS regions must be
15151declared with ByteAcc. All fields withing SMBus regions must be
15152declared with the BufferAcc access type.
15153
15154Fixed a problem where the listing file output of control methods
15155no longer interleaved the actual AML code with the ASL source
15156code.
15157
15158
15159
15160
15161----------------------------------------
15162Summary of changes for this label: 11_09_01
15163
151641) ACPI CA Core Subsystem:
15165
15166Implemented ACPI 2.0-defined support for writes to fields with a
15167Buffer, String, or Integer source operand that is smaller than the
15168target field. In these cases, the source operand is zero-extended
15169to fill the target field.
15170
15171Fixed a problem where a Field starting bit offset (within the
15172parent operation region) was calculated incorrectly if the
15173
15174alignment of the field differed from the access width. This
15175affected CreateWordField, CreateDwordField, CreateQwordField, and
15176possibly other fields that use the "AccessAny" keyword.
15177
15178Fixed a problem introduced in the 11_02_01 release where indirect
15179stores through method arguments did not operate correctly.
15180
151812) Linux:
15182
15183Implemented boot-time ACPI table parsing support
15184(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
15185facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
15186legacy BIOS interfaces (e.g. MPS) for the configuration of system
15187processors, memory, and interrupts during setup_arch(). Note that
15188this patch does not include the required architecture-specific
15189changes required to apply this information -- subsequent patches
15190will be posted for both IA32 and IA64 to achieve this.
15191
15192Added low-level sleep support for IA32 platforms, courtesy of Pat
15193Mochel. This allows IA32 systems to transition to/from various
15194sleeping states (e.g. S1, S3), although the lack of a centralized
15195driver model and power-manageable drivers will prevent its
15196(successful) use on most systems.
15197
15198Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
15199submenu, unified IA32 and IA64 options, added new "Boot using ACPI
15200tables" option, etc.
15201
15202Increased the default timeout for the EC driver from 1ms to 10ms
15203(1000 cycles of 10us) to try to address AE_TIME errors during EC
15204transactions.
15205
15206 ----------------------------------------
15207Summary of changes for this label: 11_02_01
15208
152091) ACPI CA Core Subsystem:
15210
15211ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
15212(QWordAcc keyword). All ACPI 2.0 64-bit support is now
15213implemented.
15214
15215OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
15216changes to support ACPI 2.0 Qword field access. Read/Write
15217PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
15218accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
15219the value parameter for the address space handler interface is now
15220an ACPI_INTEGER. OSL implementations of these interfaces must now
15221handle the case where the Width parameter is 64.
15222
15223Index Fields: Fixed a problem where unaligned bit assembly and
15224disassembly for IndexFields was not supported correctly.
15225
15226Index and Bank Fields: Nested Index and Bank Fields are now
15227supported. During field access, a check is performed to ensure
15228that the value written to an Index or Bank register is not out of
15229the range of the register. The Index (or Bank) register is
15230written before each access to the field data. Future support will
15231include allowing individual IndexFields to be wider than the
15232DataRegister width.
15233
15234Fields: Fixed a problem where the AML interpreter was incorrectly
15235attempting to write beyond the end of a Field/OpRegion. This was
15236a boundary case that occurred when a DWORD field was written to a
15237BYTE access OpRegion, forcing multiple writes and causing the
15238interpreter to write one datum too many.
15239
15240Fields: Fixed a problem with Field/OpRegion access where the
15241starting bit address of a field was incorrectly calculated if the
15242current access type was wider than a byte (WordAcc, DwordAcc, or
15243QwordAcc).
15244
15245Fields: Fixed a problem where forward references to individual
15246FieldUnits (individual Field names within a Field definition) were
15247not resolved during the AML table load.
15248
15249Fields: Fixed a problem where forward references from a Field
15250definition to the parent Operation Region definition were not
15251resolved during the AML table load.
15252
15253Fields: Duplicate FieldUnit names within a scope are now detected
15254during AML table load.
15255
15256Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
15257returned an incorrect name for the root node.
15258
15259Code and Data Size: Code and Data optimizations have permitted new
15260feature development with an actual reduction in the library size.
15261Current core subsystem library sizes are shown below. These are
15262the code and data sizes for the acpica.lib produced by the
15263Microsoft Visual C++ 6.0 compiler, and these values do not include
15264any ACPI driver or OSPM code. The debug version of the code
15265includes the debug output trace mechanism and has a larger code
15266and data size. Note that these values will vary depending on the
15267efficiency of the compiler and the compiler options used during
15268generation.
15269
15270 Previous Release (10_18_01):
15271 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
15272 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
15273
15274 Current Release:
15275 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
15276 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
15277
15278 2) Linux:
15279
15280Improved /proc processor output (Pavel Machek) Re-added
15281MODULE_LICENSE("GPL") to all modules.
15282
15283 3) ASL Compiler version X2030:
15284
15285Duplicate FieldUnit names within a scope are now detected and
15286flagged as errors.
15287
15288 4) Documentation:
15289
15290Programmer Reference updated to reflect OSL and address space
15291handler interface changes described above.
15292
15293----------------------------------------
15294Summary of changes for this label: 10_18_01
15295
15296ACPI CA Core Subsystem:
15297
15298Fixed a problem with the internal object reference count mechanism
15299that occasionally caused premature object deletion. This resolves
15300all of the outstanding problem reports where an object is deleted
15301in the middle of an interpreter evaluation. Although this problem
15302only showed up in rather obscure cases, the solution to the
15303problem involved an adjustment of all reference counts involving
15304objects attached to namespace nodes.
15305
15306Fixed a problem with Field support in the interpreter where
15307writing to an aligned field whose length is an exact multiple (2
15308or greater) of the field access granularity would cause an attempt
15309to write beyond the end of the field.
15310
15311The top level AML opcode execution functions within the
15312interpreter have been renamed with a more meaningful and
15313consistent naming convention. The modules exmonad.c and
15314exdyadic.c were eliminated. New modules are exoparg1.c,
15315exoparg2.c, exoparg3.c, and exoparg6.c.
15316
15317Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
15318
15319Fixed a problem where the AML debugger was causing some internal
15320objects to not be deleted during subsystem termination.
15321
15322Fixed a problem with the external AcpiEvaluateObject interface
15323where the subsystem would fault if the named object to be
15324evaluated refered to a constant such as Zero, Ones, etc.
15325
15326Fixed a problem with IndexFields and BankFields where the
15327subsystem would fault if the index, data, or bank registers were
15328not defined in the same scope as the field itself.
15329
15330Added printf format string checking for compilers that support
15331this feature. Corrected more than 50 instances of issues with
15332format specifiers within invocations of ACPI_DEBUG_PRINT
15333throughout the core subsystem code.
15334
15335The ASL "Revision" operator now returns the ACPI support level
15336implemented in the core - the value "2" since the ACPI 2.0 support
15337is more than 50% implemented.
15338
15339Enhanced the output of the AML debugger "dump namespace" command
15340to output in a more human-readable form.
15341
15342Current core subsystem library code sizes are shown below. These
15343
15344are the code and data sizes for the acpica.lib produced by the
15345Microsoft Visual C++ 6.0 compiler, and these values do not include
15346any ACPI driver or OSPM code. The debug version of the code
15347includes the full debug trace mechanism -- leading to a much
15348
15349larger code and data size. Note that these values will vary
15350depending on the efficiency of the compiler and the compiler
15351options used during generation.
15352
15353 Previous Label (09_20_01):
15354 Non-Debug Version: 65K Code, 5K Data, 70K Total
15355 Debug Version: 138K Code, 58K Data, 196K Total
15356
15357 This Label:
15358
15359 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
15360 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
15361
15362Linux:
15363
15364Implemented a "Bad BIOS Blacklist" to track machines that have
15365known ASL/AML problems.
15366
15367Enhanced the /proc interface for the thermal zone driver and added
15368support for _HOT (the critical suspend trip point). The 'info'
15369file now includes threshold/policy information, and allows setting
15370of _SCP (cooling preference) and _TZP (polling frequency) values
15371to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
15372frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
15373preference to the passive/quiet mode (if supported by the ASL).
15374
15375Implemented a workaround for a gcc bug that resuted in an OOPs
15376when loading the control method battery driver.
15377
15378 ----------------------------------------
15379Summary of changes for this label: 09_20_01
15380
15381 ACPI CA Core Subsystem:
15382
15383The AcpiEnableEvent and AcpiDisableEvent interfaces have been
15384modified to allow individual GPE levels to be flagged as wake-
15385enabled (i.e., these GPEs are to remain enabled when the platform
15386sleeps.)
15387
15388The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
15389support wake-enabled GPEs. This means that upon entering the
15390sleep state, all GPEs that are not wake-enabled are disabled.
15391When leaving the sleep state, these GPEs are reenabled.
15392
15393A local double-precision divide/modulo module has been added to
15394enhance portability to OS kernels where a 64-bit math library is
15395not available. The new module is "utmath.c".
15396
15397Several optimizations have been made to reduce the use of CPU
15398stack. Originally over 2K, the maximum stack usage is now below
153992K at 1860 bytes (1.82k)
15400
15401Fixed a problem with the AcpiGetFirmwareTable interface where the
15402root table pointer was not mapped into a logical address properly.
15403
15404Fixed a problem where a NULL pointer was being dereferenced in the
15405interpreter code for the ASL Notify operator.
15406
15407Fixed a problem where the use of the ASL Revision operator
15408returned an error. This operator now returns the current version
15409of the ACPI CA core subsystem.
15410
15411Fixed a problem where objects passed as control method parameters
15412to AcpiEvaluateObject were always deleted at method termination.
15413However, these objects may end up being stored into the namespace
15414by the called method. The object reference count mechanism was
15415applied to these objects instead of a force delete.
15416
15417Fixed a problem where static strings or buffers (contained in the
15418AML code) that are declared as package elements within the ASL
15419code could cause a fault because the interpreter would attempt to
15420delete them. These objects are now marked with the "static
15421object" flag to prevent any attempt to delete them.
15422
15423Implemented an interpreter optimization to use operands directly
15424from the state object instead of extracting the operands to local
15425variables. This reduces stack use and code size, and improves
15426performance.
15427
15428The module exxface.c was eliminated as it was an unnecessary extra
15429layer of code.
15430
15431Current core subsystem library code sizes are shown below. These
15432are the code and data sizes for the acpica.lib produced by the
15433Microsoft Visual C++ 6.0 compiler, and these values do not include
15434any ACPI driver or OSPM code. The debug version of the code
15435includes the full debug trace mechanism -- leading to a much
15436larger code and data size. Note that these values will vary
15437depending on the efficiency of the compiler and the compiler
15438options used during generation.
15439
15440 Non-Debug Version: 65K Code, 5K Data, 70K Total
15441(Previously 69K) Debug Version: 138K Code, 58K Data, 196K
15442Total (Previously 195K)
15443
15444Linux:
15445
15446Support for ACPI 2.0 64-bit integers has been added. All ACPI
15447Integer objects are now 64 bits wide
15448
15449All Acpi data types and structures are now in lower case. Only
15450Acpi macros are upper case for differentiation.
15451
15452 Documentation:
15453
15454Changes to the external interfaces as described above.
15455
15456 ----------------------------------------
15457Summary of changes for this label: 08_31_01
15458
15459 ACPI CA Core Subsystem:
15460
15461A bug with interpreter implementation of the ASL Divide operator
15462was found and fixed. The implicit function return value (not the
15463explicit store operands) was returning the remainder instead of
15464the quotient. This was a longstanding bug and it fixes several
15465known outstanding issues on various platforms.
15466
15467The ACPI_DEBUG_PRINT and function trace entry/exit macros have
15468been further optimized for size. There are 700 invocations of the
15469DEBUG_PRINT macro alone, so each optimization reduces the size of
15470the debug version of the subsystem significantly.
15471
15472A stack trace mechanism has been implemented. The maximum stack
15473usage is about 2K on 32-bit platforms. The debugger command "stat
15474stack" will display the current maximum stack usage.
15475
15476All public symbols and global variables within the subsystem are
15477now prefixed with the string "Acpi". This keeps all of the
15478symbols grouped together in a kernel map, and avoids conflicts
15479with other kernel subsystems.
15480
15481Most of the internal fixed lookup tables have been moved into the
15482code segment via the const operator.
15483
15484Several enhancements have been made to the interpreter to both
15485reduce the code size and improve performance.
15486
15487Current core subsystem library code sizes are shown below. These
15488are the code and data sizes for the acpica.lib produced by the
15489Microsoft Visual C++ 6.0 compiler, and these values do not include
15490any ACPI driver or OSPM code. The debug version of the code
15491includes the full debug trace mechanism which contains over 700
15492invocations of the DEBUG_PRINT macro, 500 function entry macro
15493invocations, and over 900 function exit macro invocations --
15494leading to a much larger code and data size. Note that these
15495values will vary depending on the efficiency of the compiler and
15496the compiler options used during generation.
15497
15498 Non-Debug Version: 64K Code, 5K Data, 69K Total
15499Debug Version: 137K Code, 58K Data, 195K Total
15500
15501 Linux:
15502
15503Implemented wbinvd() macro, pending a kernel-wide definition.
15504
15505Fixed /proc/acpi/event to handle poll() and short reads.
15506
15507 ASL Compiler, version X2026:
15508
15509Fixed a problem introduced in the previous label where the AML
15510
15511code emitted for package objects produced packages with zero
15512length.
15513
15514 ----------------------------------------
15515Summary of changes for this label: 08_16_01
15516
15517ACPI CA Core Subsystem:
15518
15519The following ACPI 2.0 ASL operators have been implemented in the
15520AML interpreter (These are already supported by the Intel ASL
15521compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
15522ToBuffer. Support for 64-bit AML constants is implemented in the
15523AML parser, debugger, and disassembler.
15524
15525The internal memory tracking mechanism (leak detection code) has
15526been upgraded to reduce the memory overhead (a separate tracking
15527block is no longer allocated for each memory allocation), and now
15528supports all of the internal object caches.
15529
15530The data structures and code for the internal object caches have
15531been coelesced and optimized so that there is a single cache and
15532memory list data structure and a single group of functions that
15533implement generic cache management. This has reduced the code
15534size in both the debug and release versions of the subsystem.
15535
15536The DEBUG_PRINT macro(s) have been optimized for size and replaced
15537by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
15538different, because it generates a single call to an internal
15539function. This results in a savings of about 90 bytes per
15540invocation, resulting in an overall code and data savings of about
1554116% in the debug version of the subsystem.
15542
15543 Linux:
15544
15545Fixed C3 disk corruption problems and re-enabled C3 on supporting
15546machines.
15547
15548Integrated low-level sleep code by Patrick Mochel.
15549
15550Further tweaked source code Linuxization.
15551
15552Other minor fixes.
15553
15554 ASL Compiler:
15555
15556Support for ACPI 2.0 variable length packages is fixed/completed.
15557
15558Fixed a problem where the optional length parameter for the ACPI
155592.0 ToString operator.
15560
15561Fixed multiple extraneous error messages when a syntax error is
15562detected within the declaration line of a control method.
15563
15564 ----------------------------------------
15565Summary of changes for this label: 07_17_01
15566
15567ACPI CA Core Subsystem:
15568
15569Added a new interface named AcpiGetFirmwareTable to obtain any
15570ACPI table via the ACPI signature. The interface can be called at
15571any time during kernel initialization, even before the kernel
15572virtual memory manager is initialized and paging is enabled. This
15573allows kernel subsystems to obtain ACPI tables very early, even
15574before the ACPI CA subsystem is initialized.
15575
15576Fixed a problem where Fields defined with the AnyAcc attribute
15577could be resolved to the incorrect address under the following
15578conditions: 1) the field width is larger than 8 bits and 2) the
15579parent operation region is not defined on a DWORD boundary.
15580
15581Fixed a problem where the interpreter is not being locked during
15582namespace initialization (during execution of the _INI control
15583methods), causing an error when an attempt is made to release it
15584later.
15585
15586ACPI 2.0 support in the AML Interpreter has begun and will be
15587ongoing throughout the rest of this year. In this label, The Mod
15588operator is implemented.
15589
15590Added a new data type to contain full PCI addresses named
15591ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
15592and Function values.
15593
15594 Linux:
15595
15596Enhanced the Linux version of the source code to change most
15597capitalized ACPI type names to lowercase. For example, all
15598instances of ACPI_STATUS are changed to acpi_status. This will
15599result in a large diff, but the change is strictly cosmetic and
15600aligns the CA code closer to the Linux coding standard.
15601
15602OSL Interfaces:
15603
15604The interfaces to the PCI configuration space have been changed to
15605add the PCI Segment number and to split the single 32-bit combined
15606DeviceFunction field into two 16-bit fields. This was
15607accomplished by moving the four values that define an address in
15608PCI configuration space (segment, bus, device, and function) to
15609the new ACPI_PCI_ID structure.
15610
15611The changes to the PCI configuration space interfaces led to a
15612reexamination of the complete set of address space access
15613interfaces for PCI, I/O, and Memory. The previously existing 18
15614interfaces have proven difficult to maintain (any small change
15615must be propagated across at least 6 interfaces) and do not easily
15616allow for future expansion to 64 bits if necessary. Also, on some
15617systems, it would not be appropriate to demultiplex the access
15618width (8, 16, 32,or 64) before calling the OSL if the
15619corresponding native OS interfaces contain a similar access width
15620parameter. For these reasons, the 18 address space interfaces
15621have been replaced by these 6 new ones:
15622
15623AcpiOsReadPciConfiguration
15624AcpiOsWritePciConfiguration
15625AcpiOsReadMemory
15626AcpiOsWriteMemory
15627AcpiOsReadPort
15628AcpiOsWritePort
15629
15630Added a new interface named AcpiOsGetRootPointer to allow the OSL
15631to perform the platform and/or OS-specific actions necessary to
15632obtain the ACPI RSDP table pointer. On IA-32 platforms, this
15633interface will simply call down to the CA core to perform the low-
15634memory search for the table. On IA-64, the RSDP is obtained from
15635EFI. Migrating this interface to the OSL allows the CA core to
15636
15637remain OS and platform independent.
15638
15639Added a new interface named AcpiOsSignal to provide a generic
15640"function code and pointer" interface for various miscellaneous
15641signals and notifications that must be made to the host OS. The
15642first such signals are intended to support the ASL Fatal and
15643Breakpoint operators. In the latter case, the AcpiOsBreakpoint
15644interface has been obsoleted.
15645
15646The definition of the AcpiFormatException interface has been
15647changed to simplify its use. The caller no longer must supply a
15648buffer to the call; A pointer to a const string is now returned
15649directly. This allows the call to be easily used in printf
15650statements, etc. since the caller does not have to manage a local
15651buffer.
15652
15653
15654 ASL Compiler, Version X2025:
15655
15656The ACPI 2.0 Switch/Case/Default operators have been implemented
15657and are fully functional. They will work with all ACPI 1.0
15658interpreters, since the operators are simply translated to If/Else
15659pairs.
15660
15661The ACPI 2.0 ElseIf operator is implemented and will also work
15662with 1.0 interpreters, for the same reason.
15663
15664Implemented support for ACPI 2.0 variable-length packages. These
15665packages have a separate opcode, and their size is determined by
15666the interpreter at run-time.
15667
15668Documentation The ACPI CA Programmer Reference has been updated to
15669reflect the new interfaces and changes to existing interfaces.
15670
15671 ------------------------------------------
15672Summary of changes for this label: 06_15_01
15673
15674 ACPI CA Core Subsystem:
15675
15676Fixed a problem where a DWORD-accessed field within a Buffer
15677object would get its byte address inadvertently rounded down to
15678the nearest DWORD. Buffers are always Byte-accessible.
15679
15680 ASL Compiler, version X2024:
15681
15682Fixed a problem where the Switch() operator would either fault or
15683hang the compiler. Note however, that the AML code for this ACPI
156842.0 operator is not yet implemented.
15685
15686Compiler uses the new AcpiOsGetTimer interface to obtain compile
15687timings.
15688
15689Implementation of the CreateField operator automatically converts
15690a reference to a named field within a resource descriptor from a
15691byte offset to a bit offset if required.
15692
15693Added some missing named fields from the resource descriptor
15694support. These are the names that are automatically created by the
15695compiler to reference fields within a descriptor. They are only
15696valid at compile time and are not passed through to the AML
15697interpreter.
15698
15699Resource descriptor named fields are now typed as Integers and
15700subject to compile-time typechecking when used in expressions.
15701
15702 ------------------------------------------
15703Summary of changes for this label: 05_18_01
15704
15705 ACPI CA Core Subsystem:
15706
15707Fixed a couple of problems in the Field support code where bits
15708from adjacent fields could be returned along with the proper field
15709bits. Restructured the field support code to improve performance,
15710readability and maintainability.
15711
15712New DEBUG_PRINTP macro automatically inserts the procedure name
15713into the output, saving hundreds of copies of procedure name
15714strings within the source, shrinking the memory footprint of the
15715debug version of the core subsystem.
15716
15717 Source Code Structure:
15718
15719The source code directory tree was restructured to reflect the
15720current organization of the component architecture. Some files
15721and directories have been moved and/or renamed.
15722
15723 Linux:
15724
15725Fixed leaking kacpidpc processes.
15726
15727Fixed queueing event data even when /proc/acpi/event is not
15728opened.
15729
15730 ASL Compiler, version X2020:
15731
15732Memory allocation performance enhancement - over 24X compile time
15733improvement on large ASL files. Parse nodes and namestring
15734buffers are now allocated from a large internal compiler buffer.
15735
15736The temporary .SRC file is deleted unless the "-s" option is
15737specified
15738
15739The "-d" debug output option now sends all output to the .DBG file
15740instead of the console.
15741
15742"External" second parameter is now optional
15743
15744"ElseIf" syntax now properly allows the predicate
15745
15746Last operand to "Load" now recognized as a Target operand
15747
15748Debug object can now be used anywhere as a normal object.
15749
15750ResourceTemplate now returns an object of type BUFFER
15751
15752EISAID now returns an object of type INTEGER
15753
15754"Index" now works with a STRING operand
15755
15756"LoadTable" now accepts optional parameters
15757
15758"ToString" length parameter is now optional
15759
15760"Interrupt (ResourceType," parse error fixed.
15761
15762"Register" with a user-defined region space parse error fixed
15763
15764Escaped backslash at the end of a string ("\\") scan/parse error
15765fixed
15766
15767"Revision" is now an object of type INTEGER.
15768
15769
15770
15771------------------------------------------
15772Summary of changes for this label: 05_02_01
15773
15774Linux:
15775
15776/proc/acpi/event now blocks properly.
15777
15778Removed /proc/sys/acpi. You can still dump your DSDT from
15779/proc/acpi/dsdt.
15780
15781 ACPI CA Core Subsystem:
15782
15783Fixed a problem introduced in the previous label where some of the
15784"small" resource descriptor types were not recognized.
15785
15786Improved error messages for the case where an ASL Field is outside
15787the range of the parent operation region.
15788
15789 ASL Compiler, version X2018:
15790
15791
15792Added error detection for ASL Fields that extend beyond the length
15793of the parent operation region (only if the length of the region
15794is known at compile time.) This includes fields that have a
15795minimum access width that is smaller than the parent region, and
15796individual field units that are partially or entirely beyond the
15797extent of the parent.
15798
15799
15800
15801------------------------------------------
15802Summary of changes for this label: 04_27_01
15803
15804 ACPI CA Core Subsystem:
15805
15806Fixed a problem where the namespace mutex could be released at the
15807wrong time during execution of AcpiRemoveAddressSpaceHandler.
15808
15809Added optional thread ID output for debug traces, to simplify
15810debugging of multiple threads. Added context switch notification
15811when the debug code realizes that a different thread is now
15812executing ACPI code.
15813
15814Some additional external data types have been prefixed with the
15815string "ACPI_" for consistency. This may effect existing code.
15816The data types affected are the external callback typedefs - e.g.,
15817
15818WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
15819
15820 Linux:
15821
15822Fixed an issue with the OSL semaphore implementation where a
15823thread was waking up with an error from receiving a SIGCHLD
15824signal.
15825
15826Linux version of ACPI CA now uses the system C library for string
15827manipulation routines instead of a local implementation.
15828
15829Cleaned up comments and removed TBDs.
15830
15831 ASL Compiler, version X2017:
15832
15833Enhanced error detection and reporting for all file I/O
15834operations.
15835
15836 Documentation:
15837
15838Programmer Reference updated to version 1.06.
15839
15840
15841
15842------------------------------------------
15843Summary of changes for this label: 04_13_01
15844
15845 ACPI CA Core Subsystem:
15846
15847Restructured support for BufferFields and RegionFields.
15848BankFields support is now fully operational. All known 32-bit
15849limitations on field sizes have been removed. Both BufferFields
15850and (Operation) RegionFields are now supported by the same field
15851management code.
15852
15853Resource support now supports QWORD address and IO resources. The
1585416/32/64 bit address structures and the Extended IRQ structure
15855have been changed to properly handle Source Resource strings.
15856
15857A ThreadId of -1 is now used to indicate a "mutex not acquired"
15858condition internally and must never be returned by AcpiOsThreadId.
15859This reserved value was changed from 0 since Unix systems allow a
15860thread ID of 0.
15861
15862Linux:
15863
15864Driver code reorganized to enhance portability
15865
15866Added a kernel configuration option to control ACPI_DEBUG
15867
15868Fixed the EC driver to honor _GLK.
15869
15870ASL Compiler, version X2016:
15871
15872Fixed support for the "FixedHw" keyword. Previously, the FixedHw
15873address space was set to 0, not 0x7f as it should be.
15874
15875 ------------------------------------------
15876Summary of changes for this label: 03_13_01
15877
15878 ACPI CA Core Subsystem:
15879
15880During ACPI initialization, the _SB_._INI method is now run if
15881present.
15882
15883Notify handler fix - notifies are deferred until the parent method
15884completes execution. This fixes the "mutex already acquired"
15885issue seen occasionally.
15886
15887Part of the "implicit conversion" rules in ACPI 2.0 have been
15888found to cause compatibility problems with existing ASL/AML. The
15889convert "result-to-target-type" implementation has been removed
15890for stores to method Args and Locals. Source operand conversion
15891is still fully implemented. Possible changes to ACPI 2.0
15892specification pending.
15893
15894Fix to AcpiRsCalculatePciRoutingTableLength to return correct
15895length.
15896
15897Fix for compiler warnings for 64-bit compiles.
15898
15899 Linux:
15900
15901/proc output aligned for easier parsing.
15902
15903Release-version compile problem fixed.
15904
15905New kernel configuration options documented in Configure.help.
15906
15907IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
15908context" message.
15909
15910 OSPM:
15911
15912Power resource driver integrated with bus manager.
15913
15914Fixed kernel fault during active cooling for thermal zones.
15915
15916Source Code:
15917
15918The source code tree has been restructured.
15919
15920
15921
15922------------------------------------------
15923Summary of changes for this label: 03_02_01
15924
15925 Linux OS Services Layer (OSL):
15926
15927Major revision of all Linux-specific code.
15928
15929Modularized all ACPI-specific drivers.
15930
15931Added new thermal zone and power resource drivers.
15932
15933Revamped /proc interface (new functionality is under /proc/acpi).
15934
15935New kernel configuration options.
15936
15937 Linux known issues:
15938
15939New kernel configuration options not documented in Configure.help
15940yet.
15941
15942
15943Module dependencies not currently implemented. If used, they
15944should be loaded in this order: busmgr, power, ec, system,
15945processor, battery, ac_adapter, button, thermal.
15946
15947Modules will not load if CONFIG_MODVERSION is set.
15948
15949IBM 600E - entering S5 may reboot instead of shutting down.
15950
15951IBM 600E - Sleep button may generate "Invalid <NULL> context"
15952message.
15953
15954Some systems may fail with "execution mutex already acquired"
15955message.
15956
15957 ACPI CA Core Subsystem:
15958
15959Added a new OSL Interface, AcpiOsGetThreadId. This was required
15960for the deadlock detection code. Defined to return a non-zero, 32-
15961bit thread ID for the currently executing thread. May be a non-
15962zero constant integer on single-thread systems.
15963
15964Implemented deadlock detection for internal subsystem mutexes. We
15965may add conditional compilation for this code (debug only) later.
15966
15967ASL/AML Mutex object semantics are now fully supported. This
15968includes multiple acquires/releases by owner and support for the
15969
15970Mutex SyncLevel parameter.
15971
15972A new "Force Release" mechanism automatically frees all ASL
15973Mutexes that have been acquired but not released when a thread
15974exits the interpreter. This forces conformance to the ACPI spec
15975("All mutexes must be released when an invocation exits") and
15976prevents deadlocked ASL threads. This mechanism can be expanded
15977(later) to monitor other resource acquisitions if OEM ASL code
15978continues to misbehave (which it will).
15979
15980Several new ACPI exception codes have been added for the Mutex
15981support.
15982
15983Recursive method calls are now allowed and supported (the ACPI
15984spec does in fact allow recursive method calls.) The number of
15985recursive calls is subject to the restrictions imposed by the
15986SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
15987parameter.
15988
15989Implemented support for the SyncLevel parameter for control
15990methods (ACPI 2.0 feature)
15991
15992Fixed a deadlock problem when multiple threads attempted to use
15993the interpreter.
15994
15995Fixed a problem where the string length of a String package
15996element was not always set in a package returned from
15997AcpiEvaluateObject.
15998
15999Fixed a problem where the length of a String package element was
16000not always included in the length of the overall package returned
16001from AcpiEvaluateObject.
16002
16003Added external interfaces (Acpi*) to the ACPI debug memory
16004manager. This manager keeps a list of all outstanding
16005allocations, and can therefore detect memory leaks and attempts to
16006free memory blocks more than once. Useful for code such as the
16007power manager, etc. May not be appropriate for device drivers.
16008Performance with the debug code enabled is slow.
16009
16010The ACPI Global Lock is now an optional hardware element.
16011
16012 ASL Compiler Version X2015:
16013
16014Integrated changes to allow the compiler to be generated on
16015multiple platforms.
16016
16017Linux makefile added to generate the compiler on Linux
16018
16019 Source Code:
16020
16021All platform-specific headers have been moved to their own
16022subdirectory, Include/Platform.
16023
16024New source file added, Interpreter/ammutex.c
16025
16026New header file, Include/acstruct.h
16027
16028 Documentation:
16029
16030The programmer reference has been updated for the following new
16031interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
16032
16033 ------------------------------------------
16034Summary of changes for this label: 02_08_01
16035
16036Core ACPI CA Subsystem: Fixed a problem where an error was
16037incorrectly returned if the return resource buffer was larger than
16038the actual data (in the resource interfaces).
16039
16040References to named objects within packages are resolved to the
16041
16042full pathname string before packages are returned directly (via
16043the AcpiEvaluateObject interface) or indirectly via the resource
16044interfaces.
16045
16046Linux OS Services Layer (OSL):
16047
16048Improved /proc battery interface.
16049
16050
16051Added C-state debugging output and other miscellaneous fixes.
16052
16053ASL Compiler Version X2014:
16054
16055All defined method arguments can now be used as local variables,
16056including the ones that are not actually passed in as parameters.
16057The compiler tracks initialization of the arguments and issues an
16058exception if they are used without prior assignment (just like
16059locals).
16060
16061The -o option now specifies a filename prefix that is used for all
16062output files, including the AML output file. Otherwise, the
16063default behavior is as follows: 1) the AML goes to the file
16064specified in the DSDT. 2) all other output files use the input
16065source filename as the base.
16066
16067 ------------------------------------------
16068Summary of changes for this label: 01_25_01
16069
16070Core ACPI CA Subsystem: Restructured the implementation of object
16071store support within the interpreter. This includes support for
16072the Store operator as well as any ASL operators that include a
16073target operand.
16074
16075Partially implemented support for Implicit Result-to-Target
16076conversion. This is when a result object is converted on the fly
16077to the type of an existing target object. Completion of this
16078support is pending further analysis of the ACPI specification
16079concerning this matter.
16080
16081CPU-specific code has been removed from the subsystem (hardware
16082directory).
16083
16084New Power Management Timer functions added
16085
16086Linux OS Services Layer (OSL): Moved system state transition code
16087to the core, fixed it, and modified Linux OSL accordingly.
16088
16089Fixed C2 and C3 latency calculations.
16090
16091
16092We no longer use the compilation date for the version message on
16093initialization, but retrieve the version from AcpiGetSystemInfo().
16094
16095Incorporated for fix Sony VAIO machines.
16096
16097Documentation: The Programmer Reference has been updated and
16098reformatted.
16099
16100
16101ASL Compiler: Version X2013: Fixed a problem where the line
16102numbering and error reporting could get out of sync in the
16103presence of multiple include files.
16104
16105 ------------------------------------------
16106Summary of changes for this label: 01_15_01
16107
16108Core ACPI CA Subsystem:
16109
16110Implemented support for type conversions in the execution of the
16111ASL Concatenate operator (The second operand is converted to
16112match the type of the first operand before concatenation.)
16113
16114Support for implicit source operand conversion is partially
16115implemented. The ASL source operand types Integer, Buffer, and
16116String are freely interchangeable for most ASL operators and are
16117converted by the interpreter on the fly as required. Implicit
16118Target operand conversion (where the result is converted to the
16119target type before storing) is not yet implemented.
16120
16121Support for 32-bit and 64-bit BCD integers is implemented.
16122
16123Problem fixed where a field read on an aligned field could cause a
16124read past the end of the field.
16125
16126New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
16127does not return a value, but the caller expects one. (The ASL
16128compiler flags this as a warning.)
16129
16130ASL Compiler:
16131
16132Version X2011:
161331. Static typechecking of all operands is implemented. This
16134prevents the use of invalid objects (such as using a Package where
16135an Integer is required) at compile time instead of at interpreter
16136run-time.
161372. The ASL source line is printed with ALL errors and warnings.
161383. Bug fix for source EOF without final linefeed.
161394. Debug option is split into a parse trace and a namespace trace.
161405. Namespace output option (-n) includes initial values for
16141integers and strings.
161426. Parse-only option added for quick syntax checking.
161437. Compiler checks for duplicate ACPI name declarations
16144
16145Version X2012:
161461. Relaxed typechecking to allow interchangeability between
16147strings, integers, and buffers. These types are now converted by
16148the interpreter at runtime.
161492. Compiler reports time taken by each internal subsystem in the
16150debug output file.
16151
16152
16153 ------------------------------------------
16154Summary of changes for this label: 12_14_00
16155
16156ASL Compiler:
16157
16158This is the first official release of the compiler. Since the
16159compiler requires elements of the Core Subsystem, this label
16160synchronizes everything.
16161
16162------------------------------------------
16163Summary of changes for this label: 12_08_00
16164
16165
16166Fixed a problem where named references within the ASL definition
16167of both OperationRegions and CreateXXXFields did not work
16168properly. The symptom was an AE_AML_OPERAND_TYPE during
16169initialization of the region/field. This is similar (but not
16170related internally) to the problem that was fixed in the last
16171label.
16172
16173Implemented both 32-bit and 64-bit support for the BCD ASL
16174functions ToBCD and FromBCD.
16175
16176Updated all legal headers to include "2000" in the copyright
16177years.
16178
16179 ------------------------------------------
16180Summary of changes for this label: 12_01_00
16181
16182Fixed a problem where method invocations within the ASL definition
16183of both OperationRegions and CreateXXXFields did not work
16184properly. The symptom was an AE_AML_OPERAND_TYPE during
16185initialization of the region/field:
16186
16187 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
16188[DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
16189(0x3005)
16190
16191Fixed a problem where operators with more than one nested
16192subexpression would fail. The symptoms were varied, by mostly
16193AE_AML_OPERAND_TYPE errors. This was actually a rather serious
16194problem that has gone unnoticed until now.
16195
16196 Subtract (Add (1,2), Multiply (3,4))
16197
16198Fixed a problem where AcpiGetHandle didn't quite get fixed in the
16199previous build (The prefix part of a relative path was handled
16200incorrectly).
16201
16202Fixed a problem where Operation Region initialization failed if
16203the operation region name was a "namepath" instead of a simple
16204"nameseg". Symptom was an AE_NO_OPERAND error.
16205
16206Fixed a problem where an assignment to a local variable via the
16207indirect RefOf mechanism only worked for the first such
16208assignment. Subsequent assignments were ignored.
16209
16210 ------------------------------------------
16211Summary of changes for this label: 11_15_00
16212
16213ACPI 2.0 table support with backwards support for ACPI 1.0 and the
162140.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
16215the AML interpreter does NOT have support for the new 2.0 ASL
16216grammar terms at this time.
16217
16218All ACPI hardware access is via the GAS structures in the ACPI 2.0
16219FADT.
16220
16221All physical memory addresses across all platforms are now 64 bits
16222wide. Logical address width remains dependent on the platform
16223(i.e., "void *").
16224
16225AcpiOsMapMemory interface changed to a 64-bit physical address.
16226
16227The AML interpreter integer size is now 64 bits, as per the ACPI
162282.0 specification.
16229
16230For backwards compatibility with ACPI 1.0, ACPI tables with a
16231revision number less than 2 use 32-bit integers only.
16232
16233Fixed a problem where the evaluation of OpRegion operands did not
16234always resolve them to numbers properly.
16235
16236------------------------------------------
16237Summary of changes for this label: 10_20_00
16238
16239Fix for CBN_._STA issue. This fix will allow correct access to
16240CBN_ OpRegions when the _STA returns 0x8.
16241
16242Support to convert ACPI constants (Ones, Zeros, One) to actual
16243values before a package object is returned
16244
16245Fix for method call as predicate to if/while construct causing
16246incorrect if/while behavior
16247
16248Fix for Else block package lengths sometimes calculated wrong (if
16249block > 63 bytes)
16250
16251Fix for Processor object length field, was always zero
16252
16253Table load abort if FACP sanity check fails
16254
16255Fix for problem with Scope(name) if name already exists
16256
16257Warning emitted if a named object referenced cannot be found
16258(resolved) during method execution.
16259
16260
16261
16262
16263
16264------------------------------------------
16265Summary of changes for this label: 9_29_00
16266
16267New table initialization interfaces: AcpiInitializeSubsystem no
16268longer has any parameters AcpiFindRootPointer - Find the RSDP (if
16269necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
16270>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
16271AcpiLoadTables
16272
16273Note: These interface changes require changes to all existing OSDs
16274
16275The PCI_Config default address space handler is always installed
16276at the root namespace object.
16277
16278-------------------------------------------
16279Summary of changes for this label: 09_15_00
16280
16281The new initialization architecture is implemented. New
16282interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
16283AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
16284
16285(Namespace is automatically loaded when a table is loaded)
16286
16287The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1628852 bytes to 32 bytes. There is usually one of these for every
16289namespace object, so the memory savings is significant.
16290
16291Implemented just-in-time evaluation of the CreateField operators.
16292
16293Bug fixes for IA-64 support have been integrated.
16294
16295Additional code review comments have been implemented
16296
16297The so-called "third pass parse" has been replaced by a final walk
16298through the namespace to initialize all operation regions (address
16299spaces) and fields that have not yet been initialized during the
16300execution of the various _INI and REG methods.
16301
16302New file - namespace/nsinit.c
16303
16304-------------------------------------------
16305Summary of changes for this label: 09_01_00
16306
16307Namespace manager data structures have been reworked to change the
16308primary object from a table to a single object. This has
16309resulted in dynamic memory savings of 3X within the namespace and
163102X overall in the ACPI CA subsystem.
16311
16312Fixed problem where the call to AcpiEvFindPciRootBuses was
16313inadvertently left commented out.
16314
16315Reduced the warning count when generating the source with the GCC
16316compiler.
16317
16318Revision numbers added to each module header showing the
16319SourceSafe version of the file. Please refer to this version
16320number when giving us feedback or comments on individual modules.
16321
16322The main object types within the subsystem have been renamed to
16323clarify their purpose:
16324
16325ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
16326ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
16327ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
16328
16329NOTE: no changes to the initialization sequence are included in
16330this label.
16331
16332-------------------------------------------
16333Summary of changes for this label: 08_23_00
16334
16335Fixed problem where TerminateControlMethod was being called
16336multiple times per method
16337
16338Fixed debugger problem where single stepping caused a semaphore to
16339be oversignalled
16340
16341Improved performance through additional parse object caching -
16342added ACPI_EXTENDED_OP type
16343
16344-------------------------------------------
16345Summary of changes for this label: 08_10_00
16346
16347Parser/Interpreter integration: Eliminated the creation of
16348complete parse trees for ACPI tables and control methods.
16349Instead, parse subtrees are created and then deleted as soon as
16350they are processed (Either entered into the namespace or executed
16351by the interpreter). This reduces the use of dynamic kernel
16352memory significantly. (about 10X)
16353
16354Exception codes broken into classes and renumbered. Be sure to
16355recompile all code that includes acexcep.h. Hopefully we won't
16356have to renumber the codes again now that they are split into
16357classes (environment, programmer, AML code, ACPI table, and
16358internal).
16359
16360Fixed some additional alignment issues in the Resource Manager
16361subcomponent
16362
16363Implemented semaphore tracking in the AcpiExec utility, and fixed
16364several places where mutexes/semaphores were being unlocked
16365without a corresponding lock operation. There are no known
16366semaphore or mutex "leaks" at this time.
16367
16368Fixed the case where an ASL Return operator is used to return an
16369unnamed package.
16370
16371-------------------------------------------
16372Summary of changes for this label: 07_28_00
16373
16374Fixed a problem with the way addresses were calculated in
16375AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
16376manifested itself when a Field was created with WordAccess or
16377DwordAccess, but the field unit defined within the Field was less
16378
16379than a Word or Dword.
16380
16381Fixed a problem in AmlDumpOperands() module's loop to pull
16382operands off of the operand stack to display information. The
16383problem manifested itself as a TLB error on 64-bit systems when
16384accessing an operand stack with two or more operands.
16385
16386Fixed a problem with the PCI configuration space handlers where
16387context was getting confused between accesses. This required a
16388change to the generic address space handler and address space
16389setup definitions. Handlers now get both a global handler context
16390(this is the one passed in by the user when executing
16391AcpiInstallAddressSpaceHandler() and a specific region context
16392that is unique to each region (For example, the _ADR, _SEG and
16393_BBN values associated with a specific region). The generic
16394function definitions have changed to the following:
16395
16396typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
16397UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
16398*HandlerContext, // This used to be void *Context void
16399*RegionContext); // This is an additional parameter
16400
16401typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
16402RegionHandle, UINT32 Function, void *HandlerContext, void
16403**RegionContext); // This used to be **ReturnContext
16404
16405-------------------------------------------
16406Summary of changes for this label: 07_21_00
16407
16408Major file consolidation and rename. All files within the
16409interpreter have been renamed as well as most header files. This
16410was done to prevent collisions with existing files in the host
16411OSs -- filenames such as "config.h" and "global.h" seem to be
16412quite common. The VC project files have been updated. All
16413makefiles will require modification.
16414
16415The parser/interpreter integration continues in Phase 5 with the
16416implementation of a complete 2-pass parse (the AML is parsed
16417twice) for each table; This avoids the construction of a huge
16418parse tree and therefore reduces the amount of dynamic memory
16419required by the subsystem. Greater use of the parse object cache
16420means that performance is unaffected.
16421
16422Many comments from the two code reviews have been rolled in.
16423
16424The 64-bit alignment support is complete.
16425
16426-------------------------------------------
16427Summary of changes for this label: 06_30_00
16428
16429With a nod and a tip of the hat to the technology of yesteryear,
16430we've added support in the source code for 80 column output
16431devices. The code is now mostly constrained to 80 columns or
16432less to support environments and editors that 1) cannot display
16433or print more than 80 characters on a single line, and 2) cannot
16434disable line wrapping.
16435
16436A major restructuring of the namespace data structure has been
16437completed. The result is 1) cleaner and more
16438understandable/maintainable code, and 2) a significant reduction
16439in the dynamic memory requirement for each named ACPI object
16440(almost half).
16441
16442-------------------------------------------
16443Summary of changes for this label: 06_23_00
16444
16445Linux support has been added. In order to obtain approval to get
16446the ACPI CA subsystem into the Linux kernel, we've had to make
16447quite a few changes to the base subsystem that will affect all
16448users (all the changes are generic and OS- independent). The
16449effects of these global changes have been somewhat far reaching.
16450Files have been merged and/or renamed and interfaces have been
16451renamed. The major changes are described below.
16452
16453Osd* interfaces renamed to AcpiOs* to eliminate namespace
16454pollution/confusion within our target kernels. All OSD
16455interfaces must be modified to match the new naming convention.
16456
16457Files merged across the subsystem. A number of the smaller source
16458and header files have been merged to reduce the file count and
16459increase the density of the existing files. There are too many
16460to list here. In general, makefiles that call out individual
16461files will require rebuilding.
16462
16463Interpreter files renamed. All interpreter files now have the
16464prefix am* instead of ie* and is*.
16465
16466Header files renamed: The acapi.h file is now acpixf.h. The
16467acpiosd.h file is now acpiosxf.h. We are removing references to
16468the acronym "API" since it is somewhat windowsy. The new name is
16469"external interface" or xface or xf in the filenames.j
16470
16471
16472All manifest constants have been forced to upper case (some were
16473mixed case.) Also, the string "ACPI_" has been prepended to many
16474(not all) of the constants, typedefs, and structs.
16475
16476The globals "DebugLevel" and "DebugLayer" have been renamed
16477"AcpiDbgLevel" and "AcpiDbgLayer" respectively.
16478
16479All other globals within the subsystem are now prefixed with
16480"AcpiGbl_" Internal procedures within the subsystem are now
16481prefixed with "Acpi" (with only a few exceptions). The original
16482two-letter abbreviation for the subcomponent remains after "Acpi"
16483- for example, CmCallocate became AcpiCmCallocate.
16484
16485Added a source code translation/conversion utility. Used to
16486generate the Linux source code, it can be modified to generate
16487other types of source as well. Can also be used to cleanup
16488existing source by removing extraneous spaces and blank lines.
16489Found in tools/acpisrc/*
16490
16491OsdUnMapMemory was renamed to OsdUnmapMemory and then
16492AcpiOsUnmapMemory. (UnMap became Unmap).
16493
16494A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
16495When set to one, this indicates that the caller wants to use the
16496
16497semaphore as a mutex, not a counting semaphore. ACPI CA uses
16498both types. However, implementers of this call may want to use
16499different OS primitives depending on the type of semaphore
16500requested. For example, some operating systems provide separate
16501
16502"mutex" and "semaphore" interfaces - where the mutex interface is
16503much faster because it doesn't have all the overhead of a full
16504semaphore implementation.
16505
16506Fixed a deadlock problem where a method that accesses the PCI
16507address space can block forever if it is the first access to the
16508space.
16509
16510-------------------------------------------
16511Summary of changes for this label: 06_02_00
16512
16513Support for environments that cannot handle unaligned data
16514accesses (e.g. firmware and OS environments devoid of alignment
16515handler technology namely SAL/EFI and the IA-64 Linux kernel) has
16516been added (via configurable macros) in these three areas: -
16517Transfer of data from the raw AML byte stream is done via byte
16518moves instead of word/dword/qword moves. - External objects are
16519aligned within the user buffer, including package elements (sub-
16520objects). - Conversion of name strings to UINT32 Acpi Names is now
16521done byte-wise.
16522
16523The Store operator was modified to mimic Microsoft's
16524implementation when storing to a Buffer Field.
16525
16526Added a check of the BM_STS bit before entering C3.
16527
16528The methods subdirectory has been obsoleted and removed. A new
16529file, cmeval.c subsumes the functionality.
16530
16531A 16-bit (DOS) version of AcpiExec has been developed. The
16532makefile is under the acpiexec directory.
3522 April 2016. Summary of changes for version 20160422:
36
371) ACPICA kernel-resident subsystem:
38
39Fixed a regression in the GAS (generic address structure) arbitrary bit
40support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
41and incorrect return values. Lv Zheng. ACPICA BZ 1270.
42
43ACPI 6.0: Added support for new/renamed resource macros. One new argument
44was added to each of these macros, and the original name has been
45deprecated. The AML disassembler will always disassemble to the new
46names. Support for the new macros was added to iASL, disassembler,
47resource manager, and the acpihelp utility. ACPICA BZ 1274.
48
49 I2cSerialBus -> I2cSerialBusV2
50 SpiSerialBus -> SpiSerialBusV2
51 UartSerialBus -> UartSerialBusV2
52
53ACPI 6.0: Added support for a new integer field that was appended to the
54package object returned by the _BIX method. This adds iASL compile-time
55and AML runtime error checking. ACPICA BZ 1273.
56
57ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
58Subspace Type2" (Headers, Disassembler, and data table compiler).
59
60Example Code and Data Size: These are the sizes for the OS-independent
61acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
62debug version of the code includes the debug output trace mechanism and
63has a much larger code and data size.
64
65 Current Release:
66 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
67 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
68 Previous Release:
69 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
70 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
71
72
732) iASL Compiler/Disassembler and Tools:
74
75iASL: Implemented an ASL grammar extension to allow/enable executable
76"module-level code" to be created and executed under the various
77operators that create new scopes. This type of AML code is already
78supported in all known AML interpreters, and the grammar change will
79appear in the next version of the ACPI specification. Simplifies the
80conditional runtime creation of named objects under these object types:
81
82 Device
83 PowerResource
84 Processor
85 Scope
86 ThermalZone
87
88iASL: Implemented a new ASL extension, a "For" loop macro to add greater
89ease-of-use to the ASL language. The syntax is similar to the
90corresponding C operator, and is implemented with the existing AML While
91opcode -- thus requiring no changes to existing AML interpreters.
92
93 For (Initialize, Predicate, Update) {TermList}
94
95Grammar:
96 ForTerm :=
97 For (
98 Initializer // Nothing | TermArg => ComputationalData
99 Predicate // Nothing | TermArg => ComputationalData
100 Update // Nothing | TermArg => ComputationalData
101 ) {TermList}
102
103
104iASL: The _HID/_ADR detection and validation has been enhanced to search
105under conditionals in order to allow these objects to be conditionally
106created at runtime.
107
108iASL: Fixed several issues with the constant folding feature. The
109improvement allows better detection and resolution of statements that can
110be folded at compile time. ACPICA BZ 1266.
111
112iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
113conversion to the ASL ElseIf operator where incorrect ASL code could be
114generated.
115
116iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
117sometimes an extra (and extraneous) set of parentheses were emitted for
118some combinations of operators. Although this did not cause any problems
119with recompilation of the disassembled code, it made the code more
120difficult to read. David Box. ACPICA BZ 1231.
121
122iASL: Changed to ignore the unreferenced detection for predefined names
123of resource descriptor elements, when the resource descriptor is
124created/defined within a control method.
125
126iASL: Disassembler: Fix a possible fault with externally declared Buffer
127objects.
128
129----------------------------------------
13018 March 2016. Summary of changes for version 20160318:
131
1321) ACPICA kernel-resident subsystem:
133
134Added support for arbitrary bit lengths and bit offsets for registers
135defined by the Generic Address Structure. Previously, only aligned bit
136lengths of 8/16/32/64 were supported. This was sufficient for many years,
137but recently some machines have been seen that require arbitrary bit-
138level support. ACPICA BZ 1240. Lv Zheng.
139
140Fixed an issue where the \_SB._INI method sometimes must be evaluated
141before any _REG methods are evaluated. Lv Zheng.
142
143Implemented several changes related to ACPI table support
144(Headers/Disassembler/TableCompiler):
145NFIT: For ACPI 6.1, updated to add some additional new fields and
146constants.
147FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
1486).
149DMAR: Added new constants per the 10/2014 DMAR spec.
150IORT: Added new subtable per the 10/2015 IORT spec.
151HEST: For ACPI 6.1, added new constants and new subtable.
152DBG2: Added new constants per the 12/2015 DBG2 spec.
153FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
154ACPICA BZ 1249.
155ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
156
157Updated header support for the DMAR table to match the current version of
158the related spec.
159
160Added extensions to the ASL Concatenate operator to allow any ACPI object
161to be passed as an operand. Any object other than Integer/String/Buffer
162simply returns a string containing the object type. This extends the
163usefulness of the Printf macros. Previously, Concatenate would abort the
164control method if a non-data object was encountered.
165
166ACPICA source code: Deployed the C "const" keyword across the source code
167where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
168
169Example Code and Data Size: These are the sizes for the OS-independent
170acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
171debug version of the code includes the debug output trace mechanism and
172has a much larger code and data size.
173
174 Current Release:
175 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
176 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
177 Previous Release:
178 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
179 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
180
181
1822) iASL Compiler/Disassembler and Tools:
183
184iASL/Disassembler: Improved the heuristic used to determine the number of
185arguments for an externally defined control method (a method in another
186table). Although this is an improvement, there is no deterministic way to
187"guess" the number of method arguments. Only the ACPI 6.0 External opcode
188will completely solve this problem as it is deployed (automatically) in
189newer BIOS code.
190
191iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
192statements that could cause errors when the disassembled file is
193compiled. ACPICA BZ 1243. David Box.
194
195iASL: Fixed a regression caused by the merger of the two versions of the
196local strtoul64. Because of a dependency on a global variable, strtoul64
197could return an error for integers greater than a 32-bit value. ACPICA BZ
1981260.
199
200iASL: Fixed a regression where a fault could occur for an ASL Return
201statement if it invokes a control method that is not resolved. ACPICA BZ
2021264.
203
204AcpiXtract: Improved input file validation: detection of binary files and
205non-acpidump text files.
206
207----------------------------------------
20812 February 2016. Summary of changes for version 20160212:
209
2101) ACPICA kernel-resident subsystem:
211
212Implemented full support for the ACPI 6.1 specification (released in
213January). This version of the specification is available at:
214http://www.uefi.org/specifications
215
216Only a relatively small number of changes were required in ACPICA to
217support ACPI 6.1, in these areas:
218- New predefined names
219- New _HID values
220- A new subtable for HEST
221- A few other header changes for new values
222
223Ensure \_SB_._INI is executed before any _REG methods are executed. There
224appears to be existing BIOS code that relies on this behavior. Lv Zheng.
225
226Reverted a change made in version 20151218 which enabled method
227invocations to be targets of various ASL operators (SuperName and Target
228grammar elements). While the new behavior is supported by the ACPI
229specification, other AML interpreters do not support this behavior and
230never will. The ACPI specification will be updated for ACPI 6.2 to remove
231this support. Therefore, the change was reverted to the original ACPICA
232behavior.
233
234ACPICA now supports the GCC 6 compiler.
235
236Current Release: (Note: build changes increased sizes)
237 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
238 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
239Previous Release:
240 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
241 Debug Version: 200.4K Code, 81.9K Data, 282.3K Total
242
243
2442) iASL Compiler/Disassembler and Tools:
245
246Completed full support for the ACPI 6.0 External() AML opcode. The
247compiler emits an external AML opcode for each ASL External statement.
248This opcode is used by the disassembler to assist with the disassembly of
249external control methods by specifying the required number of arguments
250for the method. AML interpreters do not use this opcode. To ensure that
251interpreters do not even see the opcode, a block of one or more external
252opcodes is surrounded by an "If(0)" construct. As this feature becomes
253commonly deployed in BIOS code, the ability of disassemblers to correctly
254disassemble AML code will be greatly improved. David Box.
255
256iASL: Implemented support for an optional cross-reference output file.
257The -lx option will create a the cross-reference file with the suffix
258"xrf". Three different types of cross-reference are created in this file:
259- List of object references made from within each control method
260- Invocation (caller) list for each user-defined control method
261- List of references to each non-method object in the namespace
262
263iASL: Method invocations as ASL Target operands are now disallowed and
264flagged as errors in preparation for ACPI 6.2 (see the description of the
265problem above).
266
267----------------------------------------
2688 January 2016. Summary of changes for version 20160108:
269
2701) ACPICA kernel-resident subsystem:
271
272Updated all ACPICA copyrights and signons to 2016: Added the 2016
273copyright to all source code module headers and utility/tool signons.
274This includes the standard Linux dual-license header. This affects
275virtually every file in the ACPICA core subsystem, iASL compiler, all
276ACPICA utilities, and the ACPICA test suite.
277
278Fixed a regression introduced in version 20151218 concerning the
279execution of so-called module-level ASL/AML code. Namespace objects
280created under a module-level If() construct were not properly/fully
281entered into the namespace and could cause an interpreter fault when
282accessed.
283
284Example Code and Data Size: These are the sizes for the OS-independent
285acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
286debug version of the code includes the debug output trace mechanism and
287has a much larger code and data size.
288
289Current Release:
290 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
291 Debug Version: 200.4K Code, 81.9K Data, 282.4K Total
292 Previous Release:
293 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
294 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
295
296
2972) iASL Compiler/Disassembler and Tools:
298
299Fixed a problem with the compilation of the GpioIo and GpioInt resource
300descriptors. The _PIN field name was incorrectly defined to be an array
301of 32-bit values, but the _PIN values are in fact 16 bits each. This
302would cause incorrect bit width warnings when using Word (16-bit) fields
303to access the descriptors.
304
305
306----------------------------------------
30718 December 2015. Summary of changes for version 20151218:
308
3091) ACPICA kernel-resident subsystem:
310
311Implemented per-AML-table execution of "module-level code" as individual
312ACPI tables are loaded into the namespace during ACPICA initialization.
313In other words, any module-level code within an AML table is executed
314immediately after the table is loaded, instead of batched and executed
315after all of the tables have been loaded. This provides compatibility
316with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
317David Box.
318
319To fully support the feature above, the default operation region handlers
320for the SystemMemory, SystemIO, and PCI_Config address spaces are now
321installed before any ACPI tables are loaded. This enables module-level
322code to access these address spaces during the table load and module-
323level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
324Box.
325
326Implemented several changes to the internal _REG support in conjunction
327with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
328utilities for the changes above. Although these tools were changed, host
329operating systems that simply use the default handlers for SystemMemory,
330SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
331
332For example, in the code below, DEV1 is conditionally added to the
333namespace by the DSDT via module-level code that accesses an operation
334region. The SSDT references DEV1 via the Scope operator. DEV1 must be
335created immediately after the DSDT is loaded in order for the SSDT to
336successfully reference DEV1. Previously, this code would cause an
337AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
338fully supported by ACPICA.
339
340 DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
341 {
342 OperationRegion (OPR1, SystemMemory, 0x400, 32)
343 Field (OPR1, AnyAcc, NoLock, Preserve)
344 {
345 FLD1, 1
346 }
347 If (FLD1)
348 {
349 Device (\DEV1)
350 {
351 }
352 }
353 }
354 DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
355 {
356 External (\DEV1, DeviceObj)
357 Scope (\DEV1)
358 {
359 }
360 }
361
362Fixed an AML interpreter problem where control method invocations were
363not handled correctly when the invocation was itself a SuperName argument
364to another ASL operator. In these cases, the method was not invoked.
365ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
366argument:
367 Store
368 Acquire, Wait
369 CondRefOf, RefOf
370 Decrement, Increment
371 Load, Unload
372 Notify
373 Signal, Release, Reset
374 SizeOf
375
376Implemented automatic String-to-ObjectReference conversion support for
377packages returned by predefined names (such as _DEP). A common BIOS error
378is to add double quotes around an ObjectReference namepath, which turns
379the reference into an unexpected string object. This support detects the
380problem and corrects it before the package is returned to the caller that
381invoked the method. Lv Zheng.
382
383Implemented extensions to the Concatenate operator. Concatenate now
384accepts any type of object, it is not restricted to simply
385Integer/String/Buffer. For objects other than these 3 basic data types,
386the argument is treated as a string containing the name of the object
387type. This expands the utility of Concatenate and the Printf/Fprintf
388macros. ACPICA BZ 1222.
389
390Cleaned up the output of the ASL Debug object. The timer() value is now
391optional and no longer emitted by default. Also, the basic data types of
392Integer/String/Buffer are simply emitted as their values, without a data
393type string -- since the data type is obvious from the output. ACPICA BZ
3941221.
395
396Example Code and Data Size: These are the sizes for the OS-independent
397acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
398debug version of the code includes the debug output trace mechanism and
399has a much larger code and data size.
400
401 Current Release:
402 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
403 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
404 Previous Release:
405 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
406 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
407
408
4092) iASL Compiler/Disassembler and Tools:
410
411iASL: Fixed some issues with the ASL Include() operator. This operator
412was incorrectly defined in the iASL parser rules, causing a new scope to
413be opened for the code within the include file. This could lead to
414several issues, including allowing ASL code that is technically illegal
415and not supported by AML interpreters. Note, this does not affect the
416related #include preprocessor operator. ACPICA BZ 1212.
417
418iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
419operator is essentially an ASL macro since there is no AML opcode
420associated with it. The code emitted by the iASL compiler for ElseIf is
421an Else opcode followed immediately by an If opcode. The disassembler
422will now emit an ElseIf if it finds an Else immediately followed by an
423If. This simplifies the decoded ASL, especially for deeply nested
424If..Else and large Switch constructs. Thus, the disassembled code more
425closely follows the original source ASL. ACPICA BZ 1211. Example:
426
427 Old disassembly:
428 Else
429 {
430 If (Arg0 == 0x02)
431 {
432 Local0 = 0x05
433 }
434 }
435
436 New disassembly:
437 ElseIf (Arg0 == 0x02)
438 {
439 Local0 = 0x05
440 }
441
442AcpiExec: Added support for the new module level code behavior and the
443early region installation. This required a small change to the
444initialization, since AcpiExec must install its own operation region
445handlers.
446
447AcpiExec: Added support to make the debug object timer optional. Default
448is timer disabled. This cleans up the debug object output -- the timer
449data is rarely used.
450
451AcpiExec: Multiple ACPI tables are now loaded in the order that they
452appear on the command line. This can be important when there are
453interdependencies/references between the tables.
454
455iASL/Templates. Add support to generate template files with multiple
456SSDTs within a single output file. Also added ommand line support to
457specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
4581223, 1225.
459
460
461----------------------------------------
46224 November 2015. Summary of changes for version 20151124:
463
4641) ACPICA kernel-resident subsystem:
465
466Fixed a possible regression for a previous update to FADT handling. The
467FADT no longer has a fixed table ID, causing some issues with code that
468was hardwired to a specific ID. Lv Zheng.
469
470Fixed a problem where the method auto-serialization could interfere with
471the current SyncLevel. This change makes the auto-serialization support
472transparent to the SyncLevel support and management.
473
474Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
475interface is intended for early access to the namespace during the
476initial namespace device discovery walk. The _SUB method has been seen to
477access operation regions in some cases, causing errors because the
478operation regions are not fully initialized.
479
480AML Debugger: Fixed some issues with the terminate/quit/exit commands
481that can cause faults. Lv Zheng.
482
483AML Debugger: Add thread ID support so that single-step mode only applies
484to the AML Debugger thread. This prevents runtime errors within some
485kernels. Lv Zheng.
486
487Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
488methods that are invoked by this interface are optional, removed warnings
489emitted for the case where one or more of these methods do not exist.
490ACPICA BZ 1208, original change by Prarit Bhargava.
491
492Made a major pass through the entire ACPICA source code base to
493standardize formatting that has diverged a bit over time. There are no
494functional changes, but this will of course cause quite a few code
495differences from the previous ACPICA release.
496
497Example Code and Data Size: These are the sizes for the OS-independent
498acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
499debug version of the code includes the debug output trace mechanism and
500has a much larger code and data size.
501
502 Current Release:
503 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
504 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
505 Previous Release:
506 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
507 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
508
509
5102) iASL Compiler/Disassembler and Tools:
511
512iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
513definition blocks within a single ASL file and the resulting AML file.
514Support for this type of file was also added to the various tools that
515use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
516example code below shows two definition blocks within the same file:
517
518 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
5190x12345678)
520 {
521 }
522 DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
523 {
524 }
525
526iASL: Enhanced typechecking for the Name() operator. All expressions for
527the value of the named object must be reduced/folded to a single constant
528at compile time, as per the ACPI specification (the AML definition of
529Name()).
530
531iASL: Fixed some code indentation issues for the -ic and -ia options (C
532and assembly headers). Now all emitted code correctly begins in column 1.
533
534iASL: Added an error message for an attempt to open a Scope() on an
535object defined in an SSDT. The DSDT is always loaded into the namespace
536first, so any attempt to open a Scope on an SSDT object will fail at
537runtime.
538
539
540----------------------------------------
54130 September 2015. Summary of changes for version 20150930:
542
5431) ACPICA kernel-resident subsystem:
544
545Debugger: Implemented several changes and bug fixes to assist support for
546the in-kernel version of the AML debugger. Lv Zheng.
547- Fix the "predefined" command for in-kernel debugger.
548- Do not enter debug command loop for the help and version commands.
549- Disallow "execute" command during execution/single-step of a method.
550
551Interpreter: Updated runtime typechecking for all operators that have
552target operands. The operand is resolved and validated that it is legal.
553For example, the target cannot be a non-data object such as a Device,
554Mutex, ThermalZone, etc., as per the ACPI specification.
555
556Debugger: Fixed the double-mutex user I/O handshake to work when local
557deadlock detection is enabled.
558
559Debugger: limited display of method locals and arguments (LocalX and
560ArgX) to only those that have actually been initialized. This prevents
561lines of extraneous output.
562
563Updated the definition of the NFIT table to correct the bit polarity of
564one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
565
566Example Code and Data Size: These are the sizes for the OS-independent
567acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
568debug version of the code includes the debug output trace mechanism and
569has a much larger code and data size.
570
571 Current Release:
572 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
573 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
574 Previous Release:
575 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
576 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
577
578
5792) iASL Compiler/Disassembler and Tools:
580
581iASL: Improved the compile-time typechecking for operands of many of the
582ASL operators:
583
584-- Added an option to disable compiler operand/operator typechecking (-
585ot).
586
587-- For the following operators, the TermArg operands are now validated
588when possible to be Integer data objects: BankField, OperationRegion,
589DataTableRegion, Buffer, and Package.
590
591-- Store (Source, Target): Both the source and target operands are
592resolved and checked that the operands are both legal. For example,
593neither operand can be a non-data object such as a Device, Mutex,
594ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
595operator can be used to store an object to any type of target object.
596
597-- Store (Source, Target): If the source is a Package object, the target
598must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
599is a Package, the source must also be a Package.
600
601-- Store (Source, Target): A warning is issued if the source and target
602resolve to the identical named object.
603
604-- Store (Source, <method invocation>): An error is generated for the
605target method invocation, as this construct is not supported by the AML
606interpreter.
607
608-- For all ASL math and logic operators, the target operand must be a
609data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
610includes the function return value also.
611
612-- External declarations are also included in the typechecking where
613possible. External objects defined using the UnknownObj keyword cannot be
614typechecked, however.
615
616iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
617operator:
618- Legacy code: Index(PKG1, 3)
619- New ASL+ code: PKG1[3]
620This completes the ACPI 6.0 ASL+ support as it was the only operator not
621supported.
622
623iASL: Fixed the file suffix for the preprocessor output file (.i). Two
624spaces were inadvertently appended to the filename, causing file access
625and deletion problems on some systems.
626
627ASL Test Suite (ASLTS): Updated the master makefile to generate all
628possible compiler output files when building the test suite -- thus
629exercising these features of the compiler. These files are automatically
630deleted when the test suite exits.
631
632
633----------------------------------------
63418 August 2015. Summary of changes for version 20150818:
635
6361) ACPICA kernel-resident subsystem:
637
638Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
639Zheng. ACPICA BZ 1186.
640
641Completed development to ensure that the ACPICA Disassembler and Debugger
642are fully standalone components of ACPICA. Removed cross-component
643dependences. Lv Zheng.
644
645The max-number-of-AML-loops is now runtime configurable (previously was
646compile-time only). This is essentially a loop timeout to force-abort
647infinite AML loops. ACPCIA BZ 1192.
648
649Debugger: Cleanup output to dump ACPI names and namepaths without any
650trailing underscores. Lv Zheng. ACPICA BZ 1135.
651
652Removed unnecessary conditional compilations across the Debugger and
653Disassembler components where entire modules could be left uncompiled.
654
655The aapits test is deprecated and has been removed from the ACPICA git
656tree. The test has never been completed and has not been maintained, thus
657becoming rather useless. ACPICA BZ 1015, 794.
658
659A batch of small changes to close bugzilla and other reports:
660- Remove duplicate code for _PLD processing. ACPICA BZ 1176.
661- Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
662- iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
663- ACPI table support: general cleanup and simplification. Lv Zheng, Bob
664Moore.
665- ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
666ACPICA BZ 1184.
667- Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
668operators.
669- Debugger: Split debugger initialization/termination interfaces. Lv
670Zheng.
671- AcpiExec: Emit OemTableId for SSDTs during the load phase for table
672identification.
673- AcpiExec: Add debug message during _REG method phase during table
674load/init.
675- AcpiNames: Fix a regression where some output was missing and no longer
676emitted.
677- Debugger: General cleanup and simplification. Lv Zheng.
678- Disassembler: Cleanup use of several global option variables. Lv Zheng.
679
680Example Code and Data Size: These are the sizes for the OS-independent
681acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
682debug version of the code includes the debug output trace mechanism and
683has a much larger code and data size.
684
685 Current Release:
686 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
687 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
688 Previous Release:
689 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
690 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
691
692
6932) iASL Compiler/Disassembler and Tools:
694
695AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
696were not handled properly and caused load errors. Now, properly invoke
697and use the ACPICA auto-reallocate mechanism for ACPI table data
698structures. ACPICA BZ 1188
699
700AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
701BZ 1190.
702
703AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
704AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
705executed during initialization. ACPICA BZ 1187, 1189.
706
707iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
708that corresponds to each disassembled ASL statement, to simplify
709debugging. ACPICA BZ 1191.
710
711Debugger: Add option to the "objects" command to display a summary of the
712current namespace objects (Object type and count). This is displayed if
713the command is entered with no arguments.
714
715AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
716
717
718----------------------------------------
71917 July 2015. Summary of changes for version 20150717:
720
7211) ACPICA kernel-resident subsystem:
722
723Improved the partitioning between the Debugger and Disassembler
724components. This allows the Debugger to be used standalone within kernel
725code without the Disassembler (which is used for single stepping also).
726This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
727
728Debugger: Implemented a new command to trace the execution of control
729methods (Trace). This is especially useful for the in-kernel version of
730the debugger when file I/O may not be available for method trace output.
731See the ACPICA reference for more information. Lv Zheng.
732
733Moved all C library prototypes (used for the local versions of these
734functions when requested) to a new header, acclib.h
735Cleaned up the use of non-ANSI C library functions. These functions are
736implemented locally in ACPICA. Moved all such functions to a common
737source file, utnonansi.c
738
739Debugger: Fixed a problem with the "!!" command (get last command
740executed) where the debugger could enter an infinite loop and eventually
741crash.
742
743Removed the use of local macros that were used for some of the standard C
744library functions to automatically cast input parameters. This mostly
745affected the is* functions where the input parameter is defined to be an
746int. This required a few modifications to the main ACPICA source code to
747provide casting for these functions and eliminate possible compiler
748warnings for these parameters.
749
750Across the source code, added additional status/error checking to resolve
751issues discovered by static source code analysis tools such as Coverity.
752
753Example Code and Data Size: These are the sizes for the OS-independent
754acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
755debug version of the code includes the debug output trace mechanism and
756has a much larger code and data size.
757
758 Current Release:
759 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
760 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
761 Previous Release:
762 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
763 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
764
765
7662) iASL Compiler/Disassembler and Tools:
767
768iASL: Fixed a regression where the device map file feature no longer
769worked properly when used in conjunction with the disassembler. It only
770worked properly with the compiler itself.
771
772iASL: Implemented a new warning for method LocalX variables that are set
773but never used (similar to a C compiler such as gcc). This also applies
774to ArgX variables that are not defined by the parent method, and are
775instead (legally) used as local variables.
776
777iASL/Preprocessor: Finished the pass-through of line numbers from the
778preprocessor to the compiler. This ensures that compiler errors/warnings
779have the correct original line numbers and filenames, regardless of any
780#include files.
781
782iASL/Preprocessor: Fixed a couple of issues with comment handling and the
783pass-through of comments to the preprocessor output file (which becomes
784the compiler input file). Also fixed a problem with // comments that
785appear after a math expression.
786
787iASL: Added support for the TCPA server table to the table compiler and
788template generator. (The client table was already previously supported)
789
790iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
791identify the iASL compiler.
792
793Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
794multiple times. The new names are ACPI_SIGN_NEGATIVE and
795ACPI_SIGN_POSITIVE.
796
797AcpiHelp: Update to expand help messages for the iASL preprocessor
798directives.
799
800
801----------------------------------------
80219 June 2015. Summary of changes for version 20150619:
803
804Two regressions in version 20150616 have been addressed:
805
806Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
807etc.) This update changes ACPICA to only use the standard headers for
808functions, or the prototypes for the local versions of the C library
809functions. Across the source code, this required some additional casts
810for some Clib invocations for portability. Moved all local prototypes to
811a new file, acclib.h
812
813Fixes several problems with recent changes to the handling of the FACS
814table that could cause some systems not to boot.
815
816
817----------------------------------------
81816 June 2015. Summary of changes for version 20150616:
819
820
8211) ACPICA kernel-resident subsystem:
822
823Across the entire ACPICA source code base, the various macros for the C
824library functions (such as ACPI_STRLEN, etc.) have been removed and
825replaced by the standard C library names (strlen, etc.) The original
826purpose for these macros is no longer applicable. This simplification
827reduces the number of macros used in the ACPICA source code
828significantly, improving readability and maintainability.
829
830Implemented support for a new ACPI table, the OSDT. This table, the
831"override" SDT, can be loaded directly by the host OS at boot time. It
832enables the replacement of existing namespace objects that were installed
833via the DSDT and/or SSDTs. The primary purpose for this is to replace
834buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
835for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
836Moore.
837
838Added support for systems with (improperly) two FACS tables -- a "32-bit"
839table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
840X field). This change will support both automatically. There continues to
841be systems found with this issue. This support requires a change to the
842AcpiSetFirmwareWakingVector interface. Also, a public global variable has
843been added to allow the host to select which FACS is desired
844(AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
845details Lv Zheng.
846
847Added a new feature to allow for systems that do not contain an FACS.
848Although this is already supported on hardware-reduced platforms, the
849feature has been extended for all platforms. The reasoning is that we do
850not want to abort the entire ACPICA initialization just because the
851system is seriously buggy and has no FACS.
852
853Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
854not correctly transcribed from the ACPI specification in ACPICA version
85520150515.
856
857Implemented support for the _CLS object in the AcpiGetObjectInfo external
858interface.
859
860Updated the definitions of the TCPA and TPM2 ACPI tables to the more
861recent TCG ACPI Specification, December 14, 2014. Table disassembler and
862compiler also updated. Note: The TCPA "server" table is not supported by
863the disassembler/table-compiler at this time.
864
865ACPI 6.0: Added definitions for the new GIC version field in the MADT.
866
867Example Code and Data Size: These are the sizes for the OS-independent
868acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
869debug version of the code includes the debug output trace mechanism and
870has a much larger code and data size.
871
872 Current Release:
873 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
874 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
875 Previous Release:
876 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
877 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
878
879
8802) iASL Compiler/Disassembler and Tools:
881
882Disassembler: Fixed a problem with the new symbolic operator disassembler
883where incorrect ASL code could be emitted in some cases for the "non-
884commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
885ShiftRight. The actual problem cases seem to be rather unusual in common
886ASL code, however. David Box.
887
888Modified the linux version of acpidump to obtain ACPI tables from not
889just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
890Zheng.
891
892iASL: Fixed a problem where the user preprocessor output file (.i)
893contained extra data that was not expected. The compiler was using this
894file as a temporary file and passed through #line directives in order to
895keep compiler error messages in sync with the input file and line number
896across multiple include files. The (.i) is no longer a temporary file as
897the compiler uses a new, different file for the original purpose.
898
899iASL: Fixed a problem where comments within the original ASL source code
900file were not passed through to the preprocessor output file, nor any
901listing files.
902
903iASL: Fixed some issues for the handling of the "#include" preprocessor
904directive and the similar (but not the same) "Include" ASL operator.
905
906iASL: Add support for the new OSDT in both the disassembler and compiler.
907
908iASL: Fixed a problem with the constant folding support where a Buffer
909object could be incorrectly generated (incorrectly formed) during a
910conversion to a Store() operator.
911
912AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
913description text for the _REV predefined name. _REV now permanently
914returns 2, as per the ACPI 6.0 specification.
915
916Debugger: Enhanced the output of the Debug ASL object for references
917produced by the Index operator. For Buffers and strings, only output the
918actual byte pointed to by the index. For packages, only print the single
919package element decoded by the index. Previously, the entire
920buffer/string/package was emitted.
921
922iASL/Table-compiler: Fixed a regression where the "generic" data types
923were no longer recognized, causing errors.
924
925
926----------------------------------------
92715 May 2015. Summary of changes for version 20150515:
928
929This release implements most of ACPI 6.0 as described below.
930
9311) ACPICA kernel-resident subsystem:
932
933Implemented runtime argument checking and return value checking for all
934new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
935_MTL, _PRR, _RDI, _RST, _TFP, _TSN.
936
937Example Code and Data Size: These are the sizes for the OS-independent
938acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
939debug version of the code includes the debug output trace mechanism and
940has a much larger code and data size.
941
942 Current Release:
943 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
944 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
945 Previous Release:
946 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
947 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
948
949
9502) iASL Compiler/Disassembler and Tools:
951
952iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
953names (argument count validation and return value typechecking.)
954
955iASL disassembler and table compiler: implemented support for all new
956ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
957
958iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
959tables: FADT, MADT.
960
961iASL preprocessor: Added a new directive to enable inclusion of binary
962blobs into ASL code. The new directive is #includebuffer. It takes a
963binary file as input and emits a named ascii buffer object into the ASL
964code.
965
966AcpiHelp: Added support for all new ACPI 6.0 predefined names.
967
968AcpiHelp: Added a new option, -d, to display all iASL preprocessor
969directives.
970
971AcpiHelp: Added a new option, -t, to display all known/supported ACPI
972tables.
973
974
975----------------------------------------
97610 April 2015. Summary of changes for version 20150410:
977
978Reverted a change introduced in version 20150408 that caused
979a regression in the disassembler where incorrect operator
980symbols could be emitted.
981
982
983----------------------------------------
98408 April 2015. Summary of changes for version 20150408:
985
986
9871) ACPICA kernel-resident subsystem:
988
989Permanently set the return value for the _REV predefined name. It now
990returns 2 (was 5). This matches other ACPI implementations. _REV will be
991deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
992for ACPI 2.0 and later. It should never be used to differentiate or
993identify operating systems.
994
995Added the "Windows 2015" string to the _OSI support. ACPICA will now
996return TRUE to a query with this string.
997
998Fixed several issues with the local version of the printf function.
999
1000Added the C99 compiler option (-std=c99) to the Unix makefiles.
1001
1002 Current Release:
1003 Non-Debug Version: 99.9K Code, 27.4K Data, 127.3K Total
1004 Debug Version: 195.2K Code, 80.7K Data, 275.9K Total
1005 Previous Release:
1006 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1007 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1008
1009
10102) iASL Compiler/Disassembler and Tools:
1011
1012iASL: Implemented an enhancement to the constant folding feature to
1013transform the parse tree to a simple Store operation whenever possible:
1014 Add (2, 3, X) ==> is converted to: Store (5, X)
1015 X = 2 + 3 ==> is converted to: Store (5, X)
1016
1017Updated support for the SLIC table (Software Licensing Description Table)
1018in both the Data Table compiler and the disassembler. The SLIC table
1019support now conforms to "Microsoft Software Licensing Tables (SLIC and
1020MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
1021following the ACPI header is now defined to be "Proprietary Data", and as
1022such, can only be entered or displayed as a hex data block.
1023
1024Implemented full support for the MSDM table as described in the document
1025above. Note: The format of MSDM is similar to SLIC. Any MSDM data
1026following the ACPI header is defined to be "Proprietary Data", and can
1027only be entered or displayed as a hex data block.
1028
1029Implemented the -Pn option for the iASL Table Compiler (was only
1030implemented for the ASL compiler). This option disables the iASL
1031preprocessor.
1032
1033Disassembler: For disassembly of Data Tables, added a comment field
1034around the Ascii equivalent data that is emitted as part of the "Raw
1035Table Data" block. This prevents the iASL Preprocessor from possible
1036confusion if/when the table is compiled.
1037
1038Disassembler: Added an option (-df) to force the disassembler to assume
1039that the table being disassembled contains valid AML. This feature is
1040useful for disassembling AML files that contain ACPI signatures other
1041than DSDT or SSDT (such as OEMx or other signatures).
1042
1043Changes for the EFI version of the tools:
10441) Fixed a build error/issue
10452) Fixed a cast warning
1046
1047iASL: Fixed a path issue with the __FILE__ operator by making the
1048directory prefix optional within the internal SplitInputFilename
1049function.
1050
1051Debugger: Removed some unused global variables.
1052
1053Tests: Updated the makefile for proper generation of the AAPITS suite.
1054
1055
1056----------------------------------------
105704 February 2015. Summary of changes for version 20150204:
1058
1059ACPICA kernel-resident subsystem:
1060
1061Updated all ACPICA copyrights and signons to 2014. Added the 2014
1062copyright to all module headers and signons, including the standard Linux
1063header. This affects virtually every file in the ACPICA core subsystem,
1064iASL compiler, all ACPICA utilities, and the test suites.
1065
1066Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
1067A raw gpe handling mechanism was created to allow better handling of GPE
1068storms that aren't easily managed by the normal handler. The raw handler
1069allows disabling/renabling of the the GPE so that interrupt storms can be
1070avoided in cases where events cannot be timely serviced. In this
1071scenario, handlers should use the AcpiSetGpe() API to disable/enable the
1072GPE. This API will leave the reference counts undisturbed, thereby
1073preventing unintentional clearing of the GPE when the intent in only to
1074temporarily disable it. Raw handlers allow enabling and disabling of a
1075GPE by removing GPE register locking. As such, raw handlers much provide
1076their own locks while using GPE API's to protect access to GPE data
1077structures.
1078Lv Zheng
1079
1080Events: Always modify GPE registers under the GPE lock.
1081Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
1082values. Reported as bug by joe.liu@apple.com.
1083
1084Unix makefiles: Separate option to disable optimizations and
1085_FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
1086NOOPT disable option and creates a separate flag (NOFORTIFY) for this
1087purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
1088errors when building ACPICA. This allows disabling the option without
1089also having to disable optimazations.
1090David Box
1091
1092 Current Release:
1093 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1094 Debug Version: 199.2K Code, 82.4K Data, 281.6K Total
1095
1096--
1097--------------------------------------
109807 November 2014. Summary of changes for version 20141107:
1099
1100This release is available at https://acpica.org/downloads
1101
1102This release introduces and implements language extensions to ASL that
1103provide support for symbolic ("C-style") operators and expressions. These
1104language extensions are known collectively as ASL+.
1105
1106
11071) iASL Compiler/Disassembler and Tools:
1108
1109Disassembler: Fixed a problem with disassembly of the UartSerialBus
1110macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
1111Box.
1112
1113Disassembler: Fixed the Unicode macro support to add escape sequences.
1114All non-printable ASCII values are emitted as escape sequences, as well
1115as the standard escapes for quote and backslash. Ensures that the
1116disassembled macro can be correctly recompiled.
1117
1118iASL: Added Printf/Fprintf macros for formatted output. These macros are
1119translated to existing AML Concatenate and Store operations. Printf
1120writes to the ASL Debug object. Fprintf allows the specification of an
1121ASL name as the target. Only a single format specifier is required, %o,
1122since the AML interpreter dynamically converts objects to the required
1123type. David E. Box.
1124
1125 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
1126 (Concatenate (Concatenate (Concatenate ("", Arg0),
1127 ": Unexpected value for "), Arg1), ", "), Arg2),
1128 " at line "), Arg3), Debug)
1129
1130 (new) Printf ("%o: Unexpected value for %o, %o at line %o",
1131 Arg0, Arg1, Arg2, Arg3)
1132
1133 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
1134 ("", Arg1), ": "), Arg0), " Successful"), STR1)
1135
1136 (new) Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
1137
1138iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
1139ASL parse tree before the AML code is generated. This allows blocks of
1140ASL code to be removed in order to help locate and identify problem
1141devices and/or code. David E. Box.
1142
1143AcpiExec: Added support (-fi) for an optional namespace object
1144initialization file. This file specifies initial values for namespace
1145objects as necessary for debugging and testing different ASL code paths
1146that may be taken as a result of BIOS options.
1147
1148
11492) Overview of symbolic operator support for ASL (ASL+)
1150-------------------------------------------------------
1151
1152As an extension to the ASL language, iASL implements support for symbolic
1153(C-style) operators for math and logical expressions. This can greatly
1154simplify ASL code as well as improve both readability and
1155maintainability. These language extensions can exist concurrently with
1156all legacy ASL code and expressions.
1157
1158The symbolic extensions are 100% compatible with existing AML
1159interpreters, since no new AML opcodes are created. To implement the
1160extensions, the iASL compiler transforms the symbolic expressions into
1161the legacy ASL/AML equivalents at compile time.
1162
1163Full symbolic expressions are supported, along with the standard C
1164precedence and associativity rules.
1165
1166Full disassembler support for the symbolic expressions is provided, and
1167creates an automatic migration path for existing ASL code to ASL+ code
1168via the disassembly process. By default, the disassembler now emits ASL+
1169code with symbolic expressions. An option (-dl) is provided to force the
1170disassembler to emit legacy ASL code if desired.
1171
1172Below is the complete list of the currently supported symbolic operators
1173with examples. See the iASL User Guide for additional information.
1174
1175
1176ASL+ Syntax Legacy ASL Equivalent
1177----------- ---------------------
1178
1179 // Math operators
1180
1181Z = X + Y Add (X, Y, Z)
1182Z = X - Y Subtract (X, Y, Z)
1183Z = X * Y Multiply (X, Y, Z)
1184Z = X / Y Divide (X, Y, , Z)
1185Z = X % Y Mod (X, Y, Z)
1186Z = X << Y ShiftLeft (X, Y, Z)
1187Z = X >> Y ShiftRight (X, Y, Z)
1188Z = X & Y And (X, Y, Z)
1189Z = X | Y Or (X, Y, Z)
1190Z = X ^ Y Xor (X, Y, Z)
1191Z = ~X Not (X, Z)
1192X++ Increment (X)
1193X-- Decrement (X)
1194
1195 // Logical operators
1196
1197(X == Y) LEqual (X, Y)
1198(X != Y) LNotEqual (X, Y)
1199(X < Y) LLess (X, Y)
1200(X > Y) LGreater (X, Y)
1201(X <= Y) LLessEqual (X, Y)
1202(X >= Y) LGreaterEqual (X, Y)
1203(X && Y) LAnd (X, Y)
1204(X || Y) LOr (X, Y)
1205(!X) LNot (X)
1206
1207 // Assignment and compound assignment operations
1208
1209X = Y Store (Y, X)
1210X += Y Add (X, Y, X)
1211X -= Y Subtract (X, Y, X)
1212X *= Y Multiply (X, Y, X)
1213X /= Y Divide (X, Y, , X)
1214X %= Y Mod (X, Y, X)
1215X <<= Y ShiftLeft (X, Y, X)
1216X >>= Y ShiftRight (X, Y, X)
1217X &= Y And (X, Y, X)
1218X |= Y Or (X, Y, X)
1219X ^= Y Xor (X, Y, X)
1220
1221
12223) ASL+ Examples:
1223-----------------
1224
1225Legacy ASL:
1226 If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
1227 And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
12280x03FB),
1229 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
1230 {
1231 And (MEMB, 0xFFFFFFF0, SRMB)
1232 Store (MEMB, Local2)
1233 Store (PDBM, Local1)
1234 And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
1235 Store (SRMB, MEMB)
1236 Or (PDBM, 0x02, PDBM)
1237 }
1238
1239ASL+ version:
1240 If (((R510 & 0x03FB) == 0x02E0) ||
1241 ((R520 & 0x03FB) == 0x02E0) ||
1242 ((R530 & 0x03FB) == 0x02E0) ||
1243 ((R540 & 0x03FB) == 0x02E0))
1244 {
1245 SRMB = (MEMB & 0xFFFFFFF0)
1246 Local2 = MEMB
1247 Local1 = PDBM
1248 PDBM &= 0xFFFFFFFFFFFFFFF9
1249 MEMB = SRMB
1250 PDBM |= 0x02
1251 }
1252
1253Legacy ASL:
1254 Store (0x1234, Local1)
1255 Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
1256 Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
1257 Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
1258 Store (Index (PKG1, 0x03), Local6)
1259 Store (Add (Local3, Local2), Debug)
1260 Add (Local1, 0x0F, Local2)
1261 Add (Local1, Multiply (Local2, Local3), Local2)
1262 Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
1263
1264ASL+ version:
1265 Local1 = 0x1234
1266 Local3 = (((Local1 + TEST) + 0x20) * Local2)
1267 Local3 = (Local2 * ((Local1 + TEST) + 0x20))
1268 Local3 = (Local1 + (TEST + (0x20 * Local2)))
1269 Local6 = Index (PKG1, 0x03)
1270 Debug = (Local3 + Local2)
1271 Local2 = (Local1 + 0x0F)
1272 Local2 = (Local1 + (Local2 * Local3))
1273 Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
1274
1275
1276----------------------------------------
127726 September 2014. Summary of changes for version 20140926:
1278
12791) ACPICA kernel-resident subsystem:
1280
1281Updated the GPIO operation region handler interface (GeneralPurposeIo).
1282In order to support GPIO Connection objects with multiple pins, along
1283with the related Field objects, the following changes to the interface
1284have been made: The Address is now defined to be the offset in bits of
1285the field unit from the previous invocation of a Connection. It can be
1286viewed as a "Pin Number Index" into the connection resource descriptor.
1287The BitWidth is the exact bit width of the field. It is usually one bit,
1288but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
1289additional information and examples.
1290
1291GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
1292corresponding _Lxx/_Exx methods are disabled (they may have been enabled
1293by the firmware), so that they cannot fire until they are enabled via
1294AcpiUpdateAllGpes. Rafael J. Wysocki.
1295
1296Added a new return flag for the Event/GPE status interfaces --
1297AcpiGetEventStatus and AcpiGetGpeStatus. The new
1298ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
1299GPE currently has a handler associated with it, and can thus actually
1300affect the system. Lv Zheng.
1301
1302Example Code and Data Size: These are the sizes for the OS-independent
1303acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1304debug version of the code includes the debug output trace mechanism and
1305has a much larger code and data size.
1306
1307 Current Release:
1308 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
1309 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
1310 Previous Release:
1311 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1312 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1313
13142) iASL Compiler/Disassembler and Tools:
1315
1316iASL: Fixed a memory allocation/free regression introduced in 20140828
1317that could cause the compiler to crash. This was introduced inadvertently
1318during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
13191113.
1320
1321iASL: Removed two error messages that have been found to create false
1322positives, until they can be fixed and fully validated (ACPICA BZ 1112):
13231) Illegal forward reference within a method
13242) Illegal reference across two methods
1325
1326iASL: Implemented a new option (-lm) to create a hardware mapping file
1327that summarizes all GPIO, I2C, SPI, and UART connections. This option
1328works for both the compiler and disassembler. See the iASL compiler user
1329guide for additional information and examples (section 6.4.6).
1330
1331AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
1332version 2. This corrects the AE_BAD_HEADER exception seen on systems with
1333a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
1334
1335AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
1336unless STDIN is actually a terminal. Assists with batch-mode processing.
1337ACPICA BZ 1114.
1338
1339Disassembler/AcpiHelp: Added another large group of recognized _HID
1340values.
1341
1342
1343----------------------------------------
134428 August 2014. Summary of changes for version 20140828:
1345
13461) ACPICA kernel-resident subsystem:
1347
1348Fixed a problem related to the internal use of the Timer() operator where
1349a 64-bit divide could cause an attempted link to a double-precision math
1350library. This divide is not actually necessary, so the code was
1351restructured to eliminate it. Lv Zheng.
1352
1353ACPI 5.1: Added support for the runtime validation of the _DSD package
1354(similar to the iASL support).
1355
1356ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
1357SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
1358
1359Example Code and Data Size: These are the sizes for the OS-independent
1360acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1361debug version of the code includes the debug output trace mechanism and
1362has a much larger code and data size.
1363
1364 Current Release:
1365 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1366 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1367 Previous Release:
1368 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total1
1369 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
1370
13712) iASL Compiler/Disassembler and Tools:
1372
1373AcpiExec: Fixed a problem on unix systems where the original terminal
1374state was not always properly restored upon exit. Seen when using the -v
1375option. ACPICA BZ 1104.
1376
1377iASL: Fixed a problem with the validation of the ranges/length within the
1378Memory24 resource descriptor. There was a boundary condition when the
1379range was equal to the (length -1) caused by the fact that these values
1380are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
1381
1382Disassembler: Fixed a problem with the GpioInt descriptor interrupt
1383polarity
1384flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
1385is
1386now supported properly.
1387
1388ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
1389in the disassembler, data table compiler, and table template generator.
1390
1391iASL: Added a requirement for Device() objects that one of either a _HID
1392or _ADR must exist within the scope of a Device, as per the ACPI
1393specification. Remove a similar requirement that was incorrectly in place
1394for the _DSD object.
1395
1396iASL: Added error detection for illegal named references within control
1397methods that would cause runtime failures. Now trapped as errors are: 1)
1398References to objects within a non-parent control method. 2) Forward
1399references (within a method) -- for control methods, AML interpreters use
1400a one-pass parse of control methods. ACPICA BZ 1008.
1401
1402iASL: Added error checking for dependencies related to the _PSx power
1403methods. ACPICA BZ 1029.
14041) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
1405_PS3.
14062) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
1407scope.
1408
1409iASL and table compiler: Cleanup miscellaneous memory leaks by fully
1410deploying the existing object and string caches and adding new caches for
1411the table compiler.
1412
1413iASL: Split the huge parser source file into multiple subfiles to improve
1414manageability. Generation now requires the M4 macro preprocessor, which
1415is part of the Bison distribution on both unix and windows platforms.
1416
1417AcpiSrc: Fixed and removed all extraneous warnings generated during
1418entire ACPICA source code scan and/or conversion.
1419
1420
1421----------------------------------------
1422
142324 July 2014. Summary of changes for version 20140724:
1424
1425The ACPI 5.1 specification has been released and is available at:
1426http://uefi.org/specs/access
1427
1428
14290) ACPI 5.1 support in ACPICA:
1430
1431ACPI 5.1 is fully supported in ACPICA as of this release.
1432
1433New predefined names. Support includes iASL and runtime ACPICA
1434validation.
1435 _CCA (Cache Coherency Attribute).
1436 _DSD (Device-Specific Data). David Box.
1437
1438Modifications to existing ACPI tables. Support includes headers, iASL
1439Data Table compiler, disassembler, and the template generator.
1440 FADT - New fields and flags. Graeme Gregory.
1441 GTDT - One new subtable and new fields. Tomasz Nowicki.
1442 MADT - Two new subtables. Tomasz Nowicki.
1443 PCCT - One new subtable.
1444
1445Miscellaneous.
1446 New notification type for System Resource Affinity change events.
1447
1448
14491) ACPICA kernel-resident subsystem:
1450
1451Fixed a regression introduced in 20140627 where a fault can happen during
1452the deletion of Alias AML namespace objects. The problem affected both
1453the core ACPICA and the ACPICA tools including iASL and AcpiExec.
1454
1455Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
1456simple mechanism to enable wake GPEs that have no associated handler or
1457control method. Rafael Wysocki.
1458
1459Updated the AcpiEnableGpe interface to disallow the enable if there is no
1460handler or control method associated with the particular GPE. This will
1461help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
1462
1463Updated GPE handling and dispatch by disabling the GPE before clearing
1464the status bit for edge-triggered GPEs. Lv Zheng.
1465
1466Added Timer() support to the AML Debug object. The current timer value is
1467now displayed with each invocation of (Store to) the debug object to
1468enable simple generation of execution times for AML code (method
1469execution for example.) ACPICA BZ 1093.
1470
1471Example Code and Data Size: These are the sizes for the OS-independent
1472acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1473debug version of the code includes the debug output trace mechanism and
1474has a much larger code and data size.
1475
1476 Current Release:
1477 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total
1478 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
1479 Previous Release:
1480 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
1481 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
1482
1483
14842) iASL Compiler/Disassembler and Tools:
1485
1486Fixed an issue with the recently added local printf implementation,
1487concerning width/precision specifiers that could cause incorrect output.
1488Lv Zheng. ACPICA BZ 1094.
1489
1490Disassembler: Added support to detect buffers that contain UUIDs and
1491disassemble them to an invocation of the ToUUID operator. Also emit
1492commented descriptions of known ACPI-related UUIDs.
1493
1494AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
1495-u. Adds three new files.
1496
1497iASL: Update table compiler and disassembler for DMAR table changes that
1498were introduced in September 2013. With assistance by David Woodhouse.
1499
1500----------------------------------------
150127 June 2014. Summary of changes for version 20140627:
1502
15031) ACPICA kernel-resident subsystem:
1504
1505Formatted Output: Implemented local versions of standard formatted output
1506utilities such as printf, etc. Over time, it has been discovered that
1507there are in fact many portability issues with printf, and the addition
1508of this feature will fix/prevent these issues once and for all. Some
1509known issues are summarized below:
1510
15111) Output of 64-bit values is not portable. For example, UINT64 is %ull
1512for the Linux kernel and is %uI64 for some MSVC versions.
15132) Invoking printf consistently in a manner that is portable across both
151432-bit and 64-bit platforms is difficult at best in many situations.
15153) The output format for pointers varies from system to system (leading
1516zeros especially), and leads to inconsistent output from ACPICA across
1517platforms.
15184) Certain platform-specific printf formats may conflict with ACPICA use.
15195) If there is no local C library available, ACPICA now has local support
1520for printf.
1521
1522-- To address these printf issues in a complete manner, ACPICA now
1523directly implements a small subset of printf format specifiers, only
1524those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
1525
1526Implemented support for ACPICA generation within the EFI environment.
1527Initially, the AcpiDump utility is supported in the UEFI shell
1528environment. Lv Zheng.
1529
1530Added a new external interface, AcpiLogError, to improve ACPICA
1531portability. This allows the host to redirect error messages from the
1532ACPICA utilities. Lv Zheng.
1533
1534Added and deployed new OSL file I/O interfaces to improve ACPICA
1535portability:
1536 AcpiOsOpenFile
1537 AcpiOsCloseFile
1538 AcpiOsReadFile
1539 AcpiOsWriteFile
1540 AcpiOsGetFileOffset
1541 AcpiOsSetFileOffset
1542There are C library implementations of these functions in the new file
1543service_layers/oslibcfs.c -- however, the functions can be implemented by
1544the local host in any way necessary. Lv Zheng.
1545
1546Implemented a mechanism to disable/enable ACPI table checksum validation
1547at runtime. This can be useful when loading tables very early during OS
1548initialization when it may not be possible to map the entire table in
1549order to compute the checksum. Lv Zheng.
1550
1551Fixed a buffer allocation issue for the Generic Serial Bus support.
1552Originally, a fixed buffer length was used. This change allows for
1553variable-length buffers based upon the protocol indicated by the field
1554access attributes. Reported by Lan Tianyu. Lv Zheng.
1555
1556Fixed a problem where an object detached from a namespace node was not
1557properly terminated/cleared and could cause a circular list problem if
1558reattached. ACPICA BZ 1063. David Box.
1559
1560Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
1561
1562Fixed a possible memory leak in an error return path within the function
1563AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
1564
1565Example Code and Data Size: These are the sizes for the OS-independent
1566acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1567debug version of the code includes the debug output trace mechanism and
1568has a much larger code and data size.
1569
1570 Current Release:
1571 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
1572 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
1573 Previous Release:
1574 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
1575 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
1576
1577
15782) iASL Compiler/Disassembler and Tools:
1579
1580Disassembler: Add dump of ASCII equivalent text within a comment at the
1581end of each line of the output for the Buffer() ASL operator.
1582
1583AcpiDump: Miscellaneous changes:
1584 Fixed repetitive table dump in -n mode.
1585 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
1586the ACPI 2.0 GUID fails.
1587
1588iASL: Fixed a problem where the compiler could fault if incorrectly given
1589an acpidump output file as input. ACPICA BZ 1088. David Box.
1590
1591AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
1592they are invoked without any arguments.
1593
1594Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
15951086. Colin Ian King.
1596
1597Disassembler: Cleaned up a block of code that extracts a parent Op
1598object. Added a comment that explains that the parent is guaranteed to be
1599valid in this case. ACPICA BZ 1069.
1600
1601
1602----------------------------------------
160324 April 2014. Summary of changes for version 20140424:
1604
16051) ACPICA kernel-resident subsystem:
1606
1607Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
1608Some of these tables are known to contain a trailing NULL entry. Lv
1609Zheng.
1610
1611Removed an extraneous error message for the case where there are a large
1612number of system GPEs (> 124). This was the "32-bit FADT register is too
1613long to convert to GAS struct" message, which is irrelevant for GPEs
1614since the GPEx_BLK_LEN fields of the FADT are always used instead of the
1615(limited capacity) GAS bit length. Also, several changes to ensure proper
1616support for GPE numbers > 255, where some "GPE number" fields were 8-bits
1617internally.
1618
1619Implemented and deployed additional configuration support for the public
1620ACPICA external interfaces. Entire classes of interfaces can now be
1621easily modified or configured out, replaced by stubbed inline functions
1622by default. Lv Zheng.
1623
1624Moved all public ACPICA runtime configuration globals to the public
1625ACPICA external interface file for convenience. Also, removed some
1626obsolete/unused globals. See the file acpixf.h. Lv Zheng.
1627
1628Documentation: Added a new section to the ACPICA reference describing the
1629maximum number of GPEs that can be supported by the FADT-defined GPEs in
1630block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
1631reference.
1632
1633Example Code and Data Size: These are the sizes for the OS-independent
1634acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1635debug version of the code includes the debug output trace mechanism and
1636has a much larger code and data size.
1637
1638 Current Release:
1639 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
1640 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
1641 Previous Release:
1642 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
1643 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
1644
1645
16462) iASL Compiler/Disassembler and Tools:
1647
1648iASL and disassembler: Add full support for the LPIT table (Low Power
1649Idle Table). Includes support in the disassembler, data table compiler,
1650and template generator.
1651
1652AcpiDump utility:
16531) Add option to force the use of the RSDT (over the XSDT).
16542) Improve validation of the RSDP signature (use 8 chars instead of 4).
1655
1656iASL: Add check for predefined packages that are too large. For
1657predefined names that contain subpackages, check if each subpackage is
1658too large. (Check for too small already exists.)
1659
1660Debugger: Updated the GPE command (which simulates a GPE by executing the
1661GPE code paths in ACPICA). The GPE device is now optional, and defaults
1662to the GPE 0/1 FADT-defined blocks.
1663
1664Unix application OSL: Update line-editing support. Add additional error
1665checking and take care not to reset terminal attributes on exit if they
1666were never set. This should help guarantee that the terminal is always
1667left in the previous state on program exit.
1668
1669
1670----------------------------------------
167125 March 2014. Summary of changes for version 20140325:
1672
16731) ACPICA kernel-resident subsystem:
1674
1675Updated the auto-serialize feature for control methods. This feature
1676automatically serializes all methods that create named objects in order
1677to prevent runtime errors. The update adds support to ignore the
1678currently executing AML SyncLevel when invoking such a method, in order
1679to prevent disruption of any existing SyncLevel priorities that may exist
1680in the AML code. Although the use of SyncLevels is relatively rare, this
1681change fixes a regression where an AE_AML_MUTEX_ORDER exception can
1682appear on some machines starting with the 20140214 release.
1683
1684Added a new external interface to allow the host to install ACPI tables
1685very early, before the namespace is even created. AcpiInstallTable gives
1686the host additional flexibility for ACPI table management. Tables can be
1687installed directly by the host as if they had originally appeared in the
1688XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
1689(anything except the DSDT and FACS). Adds a new file, tbdata.c, along
1690with additional internal restructuring and cleanup. See the ACPICA
1691Reference for interface details. Lv Zheng.
1692
1693Added validation of the checksum for all incoming dynamically loaded
1694tables (via external interfaces or via AML Load/LoadTable operators). Lv
1695Zheng.
1696
1697Updated the use of the AcpiOsWaitEventsComplete interface during Notify
1698and GPE handler removal. Restructured calls to eliminate possible race
1699conditions. Lv Zheng.
1700
1701Added a warning for the use/execution of the ASL/AML Unload (table)
1702operator. This will help detect and identify machines that use this
1703operator if and when it is ever used. This operator has never been seen
1704in the field and the usage model and possible side-effects of the drastic
1705runtime action of a full table removal are unknown.
1706
1707Reverted the use of #pragma push/pop which was introduced in the 20140214
1708release. It appears that push and pop are not implemented by enough
1709compilers to make the use of this feature feasible for ACPICA at this
1710time. However, these operators may be deployed in a future ACPICA
1711release.
1712
1713Added the missing EXPORT_SYMBOL macros for the install and remove SCI
1714handler interfaces.
1715
1716Source code generation:
17171) Disabled the use of the "strchr" macro for the gcc-specific
1718generation. For some versions of gcc, this macro can periodically expose
1719a compiler bug which in turn causes compile-time error(s).
17202) Added support for PPC64 compilation. Colin Ian King.
1721
1722Example Code and Data Size: These are the sizes for the OS-independent
1723acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1724debug version of the code includes the debug output trace mechanism and
1725has a much larger code and data size.
1726
1727 Current Release:
1728 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
1729 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
1730 Previous Release:
1731 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
1732 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
1733
1734
17352) iASL Compiler/Disassembler and Tools:
1736
1737Disassembler: Added several new features to improve the readability of
1738the resulting ASL code. Extra information is emitted within comment
1739fields in the ASL code:
17401) Known _HID/_CID values are decoded to descriptive text.
17412) Standard values for the Notify() operator are decoded to descriptive
1742text.
17433) Target operands are expanded to full pathnames (in a comment) when
1744possible.
1745
1746Disassembler: Miscellaneous updates for extern() handling:
17471) Abort compiler if file specified by -fe option does not exist.
17482) Silence unnecessary warnings about argument count mismatches.
17493) Update warning messages concerning unresolved method externals.
17504) Emit "UnknownObj" keyword for externals whose type cannot be
1751determined.
1752
1753AcpiHelp utility:
17541) Added the -a option to display both the ASL syntax and the AML
1755encoding for an input ASL operator. This effectively displays all known
1756information about an ASL operator with one AcpiHelp invocation.
17572) Added substring match support (similar to a wildcard) for the -i
1758(_HID/PNP IDs) option.
1759
1760iASL/Disassembler: Since this tool does not yet support execution on big-
1761endian machines, added detection of endianness and an error message if
1762execution is attempted on big-endian. Support for big-endian within iASL
1763is a feature that is on the ACPICA to-be-done list.
1764
1765AcpiBin utility:
17661) Remove option to extract binary files from an acpidump; this function
1767is made obsolete by the AcpiXtract utility.
17682) General cleanup of open files and allocated buffers.
1769
1770
1771----------------------------------------
177214 February 2014. Summary of changes for version 20140214:
1773
17741) ACPICA kernel-resident subsystem:
1775
1776Implemented a new mechanism to proactively prevent problems with ill-
1777behaved reentrant control methods that create named ACPI objects. This
1778behavior is illegal as per the ACPI specification, but is nonetheless
1779frequently seen in the field. Previously, this could lead to an
1780AE_ALREADY_EXISTS exception if the method was actually entered by more
1781than one thread. This new mechanism detects such methods at table load
1782time and marks them "serialized" to prevent reentrancy. A new global
1783option, AcpiGbl_AutoSerializeMethods, has been added to disable this
1784feature if desired. This mechanism and global option obsoletes and
1785supersedes the previous AcpiGbl_SerializeAllMethods option.
1786
1787Added the "Windows 2013" string to the _OSI support. ACPICA will now
1788respond TRUE to _OSI queries with this string. It is the stated policy of
1789ACPICA to add new strings to the _OSI support as soon as possible after
1790they are defined. See the full ACPICA _OSI policy which has been added to
1791the utilities/utosi.c file.
1792
1793Hardened/updated the _PRT return value auto-repair code:
17941) Do not abort the repair on a single subpackage failure, continue to
1795check all subpackages.
17962) Add check for the minimum subpackage length (4).
17973) Properly handle extraneous NULL package elements.
1798
1799Added support to avoid the possibility of infinite loops when traversing
1800object linked lists. Never allow an infinite loop, even in the face of
1801corrupted object lists.
1802
1803ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
1804pack(pop) directives to ensure that the ACPICA headers are independent of
1805compiler settings or other host headers.
1806
1807Example Code and Data Size: These are the sizes for the OS-independent
1808acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1809debug version of the code includes the debug output trace mechanism and
1810has a much larger code and data size.
1811
1812 Current Release:
1813 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
1814 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
1815 Previous Release:
1816 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
1817 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
1818
1819
18202) iASL Compiler/Disassembler and Tools:
1821
1822iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
1823first reserved field was incorrectly forced to have a value of zero. This
1824change correctly forces the field to have a value of one. ACPICA BZ 1081.
1825
1826Debugger: Added missing support for the "Extra" and "Data" subobjects
1827when displaying object data.
1828
1829Debugger: Added support to display entire object linked lists when
1830displaying object data.
1831
1832iASL: Removed the obsolete -g option to obtain ACPI tables from the
1833Windows registry. This feature has been superseded by the acpidump
1834utility.
1835
1836
1837----------------------------------------
183814 January 2014. Summary of changes for version 20140114:
1839
18401) ACPICA kernel-resident subsystem:
1841
1842Updated all ACPICA copyrights and signons to 2014. Added the 2014
1843copyright to all module headers and signons, including the standard Linux
1844header. This affects virtually every file in the ACPICA core subsystem,
1845iASL compiler, all ACPICA utilities, and the test suites.
1846
1847Improved parameter validation for AcpiInstallGpeBlock. Added the
1848following checks:
18491) The incoming device handle refers to type ACPI_TYPE_DEVICE.
18502) There is not already a GPE block attached to the device.
1851Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
1852device.
1853
1854Correctly support "references" in the ACPI_OBJECT. This change fixes the
1855support to allow references (namespace nodes) to be passed as arguments
1856to control methods via the evaluate object interface. This is probably
1857most useful for testing purposes, however.
1858
1859Improved support for 32/64 bit physical addresses in printf()-like
1860output. This change improves the support for physical addresses in printf
1861debug statements and other output on both 32-bit and 64-bit hosts. It
1862consistently outputs the appropriate number of bytes for each host. The
1863%p specifier is unsatisfactory since it does not emit uniform output on
1864all hosts/clib implementations (on some, leading zeros are not supported,
1865leading to difficult-to-read output).
1866
1867Example Code and Data Size: These are the sizes for the OS-independent
1868acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1869debug version of the code includes the debug output trace mechanism and
1870has a much larger code and data size.
1871
1872 Current Release:
1873 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
1874 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
1875 Previous Release:
1876 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
1877 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
1878
1879
18802) iASL Compiler/Disassembler and Tools:
1881
1882iASL: Fix a possible fault when using the Connection() operator. Fixes a
1883problem if the parent Field definition for the Connection operator refers
1884to an operation region that does not exist. ACPICA BZ 1064.
1885
1886AcpiExec: Load of local test tables is now optional. The utility has the
1887capability to load some various tables to test features of ACPICA.
1888However, there are enough of them that the output of the utility became
1889confusing. With this change, only the required local tables are displayed
1890(RSDP, XSDT, etc.) along with the actual tables loaded via the command
1891line specification. This makes the default output simler and easier to
1892understand. The -el command line option restores the original behavior
1893for testing purposes.
1894
1895AcpiExec: Added support for overlapping operation regions. This change
1896expands the simulation of operation regions by supporting regions that
1897overlap within the given address space. Supports SystemMemory and
1898SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
1899
1900AcpiExec: Added region handler support for PCI_Config and EC spaces. This
1901allows AcpiExec to simulate these address spaces, similar to the current
1902support for SystemMemory and SystemIO.
1903
1904Debugger: Added new command to read/write/compare all namespace objects.
1905The command "test objects" will exercise the entire namespace by writing
1906new values to each data object, and ensuring that the write was
1907successful. The original value is then restored and verified.
1908
1909Debugger: Added the "test predefined" command. This change makes this
1910test public and puts it under the new "test" command. The test executes
1911each and every predefined name within the current namespace.
1912
1913
1914----------------------------------------
191518 December 2013. Summary of changes for version 20131218:
1916
1917Global note: The ACPI 5.0A specification was released this month. There
1918are no changes needed for ACPICA since this release of ACPI is an
1919errata/clarification release. The specification is available at
1920acpi.info.
1921
1922
19231) ACPICA kernel-resident subsystem:
1924
1925Added validation of the XSDT root table if it is present. Some older
1926platforms contain an XSDT that is ill-formed or otherwise invalid (such
1927as containing some or all entries that are NULL pointers). This change
1928adds a new function to validate the XSDT before actually using it. If the
1929XSDT is found to be invalid, ACPICA will now automatically fall back to
1930using the RSDT instead. Original implementation by Zhao Yakui. Ported to
1931ACPICA and enhanced by Lv Zheng and Bob Moore.
1932
1933Added a runtime option to ignore the XSDT and force the use of the RSDT.
1934This change adds a runtime option that will force ACPICA to use the RSDT
1935instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
1936requires that an XSDT be used instead of the RSDT, the XSDT has been
1937found to be corrupt or ill-formed on some machines. Lv Zheng.
1938
1939Added a runtime option to favor 32-bit FADT register addresses over the
194064-bit addresses. This change adds an option to favor 32-bit FADT
1941addresses when there is a conflict between the 32-bit and 64-bit versions
1942of the same register. The default behavior is to use the 64-bit version
1943in accordance with the ACPI specification. This can now be overridden via
1944the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
1945
1946During the change above, the internal "Convert FADT" and "Verify FADT"
1947functions have been merged to simplify the code, making it easier to
1948understand and maintain. ACPICA BZ 933.
1949
1950Improve exception reporting and handling for GPE block installation.
1951Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
1952status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
1953
1954Added helper macros to extract bus/segment numbers from the HEST table.
1955This change adds two macros to extract the encoded bus and segment
1956numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
1957Betty Dall <betty.dall@hp.com>
1958
1959Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
1960by ACPICA. It is not a public macro, so it should have no effect on
1961existing OSV code. Lv Zheng.
1962
1963Example Code and Data Size: These are the sizes for the OS-independent
1964acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1965debug version of the code includes the debug output trace mechanism and
1966has a much larger code and data size.
1967
1968 Current Release:
1969 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
1970 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
1971 Previous Release:
1972 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
1973 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
1974
1975
19762) iASL Compiler/Disassembler and Tools:
1977
1978Disassembler: Improved pathname support for emitted External()
1979statements. This change adds full pathname support for external names
1980that have been resolved internally by the inclusion of additional ACPI
1981tables (via the iASL -e option). Without this change, the disassembler
1982can emit multiple externals for the same object, or it become confused
1983when the Scope() operator is used on an external object. Overall, greatly
1984improves the ability to actually recompile the emitted ASL code when
1985objects a referenced across multiple ACPI tables. Reported by Michael
1986Tsirkin (mst@redhat.com).
1987
1988Tests/ASLTS: Updated functional control suite to execute with no errors.
1989David Box. Fixed several errors related to the testing of the interpreter
1990slack mode. Lv Zheng.
1991
1992iASL: Added support to detect names that are declared within a control
1993method, but are unused (these are temporary names that are only valid
1994during the time the method is executing). A remark is issued for these
1995cases. ACPICA BZ 1022.
1996
1997iASL: Added full support for the DBG2 table. Adds full disassembler,
1998table compiler, and template generator support for the DBG2 table (Debug
1999Port 2 table).
2000
2001iASL: Added full support for the PCCT table, update the table definition.
2002Updates the PCCT table definition in the actbl3.h header and adds table
2003compiler and template generator support.
2004
2005iASL: Added an option to emit only error messages (no warnings/remarks).
2006The -ve option will enable only error messages, warnings and remarks are
2007suppressed. This can simplify debugging when only the errors are
2008important, such as when an ACPI table is disassembled and there are many
2009warnings and remarks -- but only the actual errors are of real interest.
2010
2011Example ACPICA code (source/tools/examples): Updated the example code so
2012that it builds to an actual working program, not just example code. Added
2013ACPI tables and execution of an example control method in the DSDT. Added
2014makefile support for Unix generation.
2015
2016
2017----------------------------------------
201815 November 2013. Summary of changes for version 20131115:
2019
2020This release is available at https://acpica.org/downloads
2021
2022
20231) ACPICA kernel-resident subsystem:
2024
2025Resource Manager: Fixed loop termination for the "get AML length"
2026function. The loop previously had an error termination on a NULL resource
2027pointer, which can never happen since the loop simply increments a valid
2028resource pointer. This fix changes the loop to terminate with an error on
2029an invalid end-of-buffer condition. The problem can be seen as an
2030infinite loop by callers to AcpiSetCurrentResources with an invalid or
2031corrupted resource descriptor, or a resource descriptor that is missing
2032an END_TAG descriptor. Reported by Dan Carpenter
2033<dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
2034
2035Table unload and ACPICA termination: Delete all attached data objects
2036during namespace node deletion. This fix updates namespace node deletion
2037to delete the entire list of attached objects (attached via
2038AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
20391024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
2040
2041ACPICA termination: Added support to delete all objects attached to the
2042root namespace node. This fix deletes any and all objects that have been
2043attached to the root node via AcpiAttachData. Previously, none of these
2044objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
2045
2046Debug output: Do not emit the function nesting level for the in-kernel
2047build. The nesting level is really only useful during a single-thread
2048execution. Therefore, only enable this output for the AcpiExec utility.
2049Also, only emit the thread ID when executing under AcpiExec (Context
2050switches are still always detected and a message is emitted). ACPICA BZ
2051972.
2052
2053Example Code and Data Size: These are the sizes for the OS-independent
2054acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2055debug version of the code includes the debug output trace mechanism and
2056has a much larger code and data size.
2057
2058 Current Release:
2059 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
2060 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
2061 Previous Release:
2062 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
2063 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
2064
2065
20662) iASL Compiler/Disassembler and Tools:
2067
2068AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
2069correct portable POSIX header for terminal control functions.
2070
2071Disassembler: Fixed control method invocation issues related to the use
2072of the CondRefOf() operator. The problem is seen in the disassembly where
2073control method invocations may not be disassembled properly if the
2074control method name has been used previously as an argument to CondRefOf.
2075The solution is to not attempt to emit an external declaration for the
2076CondRefOf target (it is not necessary in the first place). This prevents
2077disassembler object type confusion. ACPICA BZ 988.
2078
2079Unix Makefiles: Added an option to disable compiler optimizations and the
2080_FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
2081with optimizations (reportedly, gcc 4.4 for example). This change adds a
2082command line option for make (NOOPT) that disables all compiler
2083optimizations and the _FORTIFY_SOURCE compiler flag. The default
2084optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
20851034. Lv Zheng, Bob Moore.
2086
2087Tests/ASLTS: Added options to specify individual test cases and modes.
2088This allows testers running aslts.sh to optionally specify individual
2089test modes and test cases. Also added an option to disable the forced
2090generation of the ACPICA tools from source if desired. Lv Zheng.
2091
2092----------------------------------------
209327 September 2013. Summary of changes for version 20130927:
2094
2095This release is available at https://acpica.org/downloads
2096
2097
20981) ACPICA kernel-resident subsystem:
2099
2100Fixed a problem with store operations to reference objects. This change
2101fixes a problem where a Store operation to an ArgX object that contained
2102a
2103reference to a field object did not complete the automatic dereference
2104and
2105then write to the actual field object. Instead, the object type of the
2106field object was inadvertently changed to match the type of the source
2107operand. The new behavior will actually write to the field object (buffer
2108field or field unit), thus matching the correct ACPI-defined behavior.
2109
2110Implemented support to allow the host to redefine individual OSL
2111prototypes. This change enables the host to redefine OSL prototypes found
2112in the acpiosxf.h file. This allows the host to implement OSL interfaces
2113with a macro or inlined function. Further, it allows the host to add any
2114additional required modifiers such as __iomem, __init, __exit, etc., as
2115necessary on a per-interface basis. Enables maximum flexibility for the
2116OSL interfaces. Lv Zheng.
2117
2118Hardcoded the access width for the FADT-defined reset register. The ACPI
2119specification requires the reset register width to be 8 bits. ACPICA now
2120hardcodes the width to 8 and ignores the FADT width value. This provides
2121compatibility with other ACPI implementations that have allowed BIOS code
2122with bad register width values to go unnoticed. Matthew Garett, Bob
2123Moore,
2124Lv Zheng.
2125
2126Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
2127used
2128in the OSL header (acpiosxf). The change modifies the position of this
2129macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
2130build issues if the OSL defines the implementation of the interface to be
2131an inline stub function. Lv Zheng.
2132
2133Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
2134initialization interfaces. This change adds a new macro for the main init
2135and terminate external interfaces in order to support hosts that require
2136additional or different processing for these functions. Changed from
2137ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
2138Zheng, Bob Moore.
2139
2140Cleaned up the memory allocation macros for configurability. In the
2141common
2142case, the ACPI_ALLOCATE and related macros now resolve directly to their
2143respective AcpiOs* OSL interfaces. Two options:
21441) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
2145default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
21462) For AcpiExec (and for debugging), the macros can optionally be
2147resolved
2148to the local ACPICA interfaces that track each allocation (local tracking
2149is used to immediately detect memory leaks).
2150Lv Zheng.
2151
2152Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
2153to predefine this macro to either TRUE or FALSE during the system build.
2154
2155Replaced __FUNCTION_ with __func__ in the gcc-specific header.
2156
2157Example Code and Data Size: These are the sizes for the OS-independent
2158acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2159debug version of the code includes the debug output trace mechanism and
2160has a much larger code and data size.
2161
2162 Current Release:
2163 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
2164 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
2165 Previous Release:
2166 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
2167 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2168
2169
21702) iASL Compiler/Disassembler and Tools:
2171
2172iASL: Implemented wildcard support for the -e option. This simplifies use
2173when there are many SSDTs that must be included to resolve external
2174method
2175declarations. ACPICA BZ 1041. Example:
2176 iasl -e ssdt*.dat -d dsdt.dat
2177
2178AcpiExec: Add history/line-editing for Unix/Linux systems. This change
2179adds a portable module that implements full history and limited line
2180editing for Unix and Linux systems. It does not use readline() due to
2181portability issues. Instead it uses the POSIX termio interface to put the
2182terminal in raw input mode so that the various special keys can be
2183trapped
2184(such as up/down-arrow for history support and left/right-arrow for line
2185editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
2186
2187AcpiXtract: Add support to handle (ignore) "empty" lines containing only
2188one or more spaces. This provides compatible with early or different
2189versions of the AcpiDump utility. ACPICA BZ 1044.
2190
2191AcpiDump: Do not ignore tables that contain only an ACPI table header.
2192Apparently, some BIOSs create SSDTs that contain an ACPI table header but
2193no other data. This change adds support to dump these tables. Any tables
2194shorter than the length of an ACPI table header remain in error (an error
2195message is emitted). Reported by Yi Li.
2196
2197Debugger: Echo actual command along with the "unknown command" message.
2198
2199----------------------------------------
220023 August 2013. Summary of changes for version 20130823:
2201
22021) ACPICA kernel-resident subsystem:
2203
2204Implemented support for host-installed System Control Interrupt (SCI)
2205handlers. Certain ACPI functionality requires the host to handle raw
2206SCIs. For example, the "SCI Doorbell" that is defined for memory power
2207state support requires the host device driver to handle SCIs to examine
2208if the doorbell has been activated. Multiple SCI handlers can be
2209installed to allow for future expansion. New external interfaces are
2210AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
2211details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
2212
2213Operation region support: Never locally free the handler "context"
2214pointer. This change removes some dangerous code that attempts to free
2215the handler context pointer in some (rare) circumstances. The owner of
2216the handler owns this pointer and the ACPICA code should never touch it.
2217Although not seen to be an issue in any kernel, it did show up as a
2218problem (fault) under AcpiExec. Also, set the internal storage field for
2219the context pointer to zero when the region is deactivated, simply for
2220sanity. David Box. ACPICA BZ 1039.
2221
2222AcpiRead: On error, do not modify the return value target location. If an
2223error happens in the middle of a split 32/32 64-bit I/O operation, do not
2224modify the target of the return value pointer. Makes the code consistent
2225with the rest of ACPICA. Bjorn Helgaas.
2226
2227Example Code and Data Size: These are the sizes for the OS-independent
2228acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2229debug version of the code includes the debug output trace mechanism and
2230has a much larger code and data size.
2231
2232 Current Release:
2233 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
2234 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2235 Previous Release:
2236 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
2237 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
2238
2239
22402) iASL Compiler/Disassembler and Tools:
2241
2242AcpiDump: Implemented several new features and fixed some problems:
22431) Added support to dump the RSDP, RSDT, and XSDT tables.
22442) Added support for multiple table instances (SSDT, UEFI).
22453) Added option to dump "customized" (overridden) tables (-c).
22464) Fixed a problem where some table filenames were improperly
2247constructed.
22485) Improved some error messages, removed some unnecessary messages.
2249
2250iASL: Implemented additional support for disassembly of ACPI tables that
2251contain invocations of external control methods. The -fe<file> option
2252allows the import of a file that specifies the external methods along
2253with the required number of arguments for each -- allowing for the
2254correct disassembly of the table. This is a workaround for a limitation
2255of AML code where the disassembler often cannot determine the number of
2256arguments required for an external control method and generates incorrect
2257ASL code. See the iASL reference for details. ACPICA BZ 1030.
2258
2259Debugger: Implemented a new command (paths) that displays the full
2260pathnames (namepaths) and object types of all objects in the namespace.
2261This is an alternative to the namespace command.
2262
2263Debugger: Implemented a new command (sci) that invokes the SCI dispatch
2264mechanism and any installed handlers.
2265
2266iASL: Fixed a possible segfault for "too many parent prefixes" condition.
2267This can occur if there are too many parent prefixes in a namepath (for
2268example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
2269
2270Application OSLs: Set the return value for the PCI read functions. These
2271functions simply return AE_OK, but should set the return value to zero
2272also. This change implements this. ACPICA BZ 1038.
2273
2274Debugger: Prevent possible command line buffer overflow. Increase the
2275size of a couple of the debugger line buffers, and ensure that overflow
2276cannot happen. ACPICA BZ 1037.
2277
2278iASL: Changed to abort immediately on serious errors during the parsing
2279phase. Due to the nature of ASL, there is no point in attempting to
2280compile these types of errors, and they typically end up causing a
2281cascade of hundreds of errors which obscure the original problem.
2282
2283----------------------------------------
228425 July 2013. Summary of changes for version 20130725:
2285
22861) ACPICA kernel-resident subsystem:
2287
2288Fixed a problem with the DerefOf operator where references to FieldUnits
2289and BufferFields incorrectly returned the parent object, not the actual
2290value of the object. After this change, a dereference of a FieldUnit
2291reference results in a read operation on the field to get the value, and
2292likewise, the appropriate BufferField value is extracted from the target
2293buffer.
2294
2295Fixed a problem where the _WAK method could cause a fault under these
2296circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
2297method returned no value. The problem is rarely seen because most kernels
2298run ACPICA in slack mode.
2299
2300For the DerefOf operator, a fatal error now results if an attempt is made
2301to dereference a reference (created by the Index operator) to a NULL
2302package element. Provides compatibility with other ACPI implementations,
2303and this behavior will be added to a future version of the ACPI
2304specification.
2305
2306The ACPI Power Management Timer (defined in the FADT) is now optional.
2307This provides compatibility with other ACPI implementations and will
2308appear in the next version of the ACPI specification. If there is no PM
2309Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
2310zero in the FADT indicates no PM timer.
2311
2312Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
2313allows the host to globally enable/disable all vendor strings, all
2314feature strings, or both. Intended to be primarily used for debugging
2315purposes only. Lv Zheng.
2316
2317Expose the collected _OSI data to the host via a global variable. This
2318data tracks the highest level vendor ID that has been invoked by the BIOS
2319so that the host (and potentially ACPICA itself) can change behaviors
2320based upon the age of the BIOS.
2321
2322Example Code and Data Size: These are the sizes for the OS-independent
2323acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2324debug version of the code includes the debug output trace mechanism and
2325has a much larger code and data size.
2326
2327 Current Release:
2328 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
2329 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2330 Previous Release:
2331 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
2332 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
2333
2334
23352) iASL Compiler/Disassembler and Tools:
2336
2337iASL: Created the following enhancements for the -so option (create
2338offset table):
23391)Add offsets for the last nameseg in each namepath for every supported
2340object type
23412)Add support for Processor, Device, Thermal Zone, and Scope objects
23423)Add the actual AML opcode for the parent object of every supported
2343object type
23444)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
2345
2346Disassembler: Emit all unresolved external symbols in a single block.
2347These are external references to control methods that could not be
2348resolved, and thus, the disassembler had to make a guess at the number of
2349arguments to parse.
2350
2351iASL: The argument to the -T option (create table template) is now
2352optional. If not specified, the default table is a DSDT, typically the
2353most common case.
2354
2355----------------------------------------
235626 June 2013. Summary of changes for version 20130626:
2357
23581) ACPICA kernel-resident subsystem:
2359
2360Fixed an issue with runtime repair of the _CST object. Null or invalid
2361elements were not always removed properly. Lv Zheng.
2362
2363Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
2364FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
2365the maximum number of GPEs is 1016. Use of multiple GPE block devices
2366makes the system-wide number of GPEs essentially unlimited.
2367
2368Example Code and Data Size: These are the sizes for the OS-independent
2369acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2370debug version of the code includes the debug output trace mechanism and
2371has a much larger code and data size.
2372
2373 Current Release:
2374 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
2375 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
2376 Previous Release:
2377 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
2378 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
2379
2380
23812) iASL Compiler/Disassembler and Tools:
2382
2383Portable AcpiDump: Implemented full support for the Linux and FreeBSD
2384hosts. Now supports Linux, FreeBSD, and Windows.
2385
2386Disassembler: Added some missing types for the HEST and EINJ tables: "Set
2387Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
2388
2389iASL/Preprocessor: Implemented full support for nested
2390#if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
2391
2392Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
2393max. The original purpose of this constraint was to limit the amount of
2394debug output. However, the string function in question (UtPrintString) is
2395now used for the disassembler also, where 256 bytes is insufficient.
2396Reported by RehabMan@GitHub.
2397
2398iASL/DataTables: Fixed some problems and issues with compilation of DMAR
2399tables. ACPICA BZ 999. Lv Zheng.
2400
2401iASL: Fixed a couple of error exit issues that could result in a "Could
2402not delete <file>" message during ASL compilation.
2403
2404AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
2405the actual signatures for these tables are "FACP" and "APIC",
2406respectively.
2407
2408AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
2409tables are allowed to have multiple instances.
2410
2411----------------------------------------
241217 May 2013. Summary of changes for version 20130517:
2413
24141) ACPICA kernel-resident subsystem:
2415
2416Fixed a regression introduced in version 20130328 for _INI methods. This
2417change fixes a problem introduced in 20130328 where _INI methods are no
2418longer executed properly because of a memory block that was not
2419initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
2420<tomasz.nowicki@linaro.org>.
2421
2422Fixed a possible problem with the new extended sleep registers in the
2423ACPI
24245.0 FADT. Do not use these registers (even if populated) unless the HW-
2425reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
24261020. Lv Zheng.
2427
2428Implemented return value repair code for _CST predefined objects: Sort
2429the
2430list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
2431
2432Implemented a debug-only option to disable loading of SSDTs from the
2433RSDT/XSDT during ACPICA initialization. This can be useful for debugging
2434ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
2435acglobal.h - ACPICA BZ 1005. Lv Zheng.
2436
2437Fixed some issues in the ACPICA initialization and termination code:
2438Tomasz Nowicki <tomasz.nowicki@linaro.org>
24391) Clear events initialized flag upon event component termination. ACPICA
2440BZ 1013.
24412) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
24423) Delete global lock pending lock during termination. ACPICA BZ 1012.
24434) Clear debug buffer global on termination to prevent possible multiple
2444delete. ACPICA BZ 1010.
2445
2446Standardized all switch() blocks across the entire source base. After
2447many
2448years, different formatting for switch() had crept in. This change makes
2449the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
2450
2451Split some files to enhance ACPICA modularity and configurability:
24521) Split buffer dump routines into utilities/utbuffer.c
24532) Split internal error message routines into utilities/uterror.c
24543) Split table print utilities into tables/tbprint.c
24554) Split iASL command-line option processing into asloptions.c
2456
2457Makefile enhancements:
24581) Support for all new files above.
24592) Abort make on errors from any subcomponent. Chao Guan.
24603) Add build support for Apple Mac OS X. Liang Qi.
2461
2462Example Code and Data Size: These are the sizes for the OS-independent
2463acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2464debug version of the code includes the debug output trace mechanism and
2465has a much larger code and data size.
2466
2467 Current Release:
2468 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
2469 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
2470 Previous Release:
2471 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
2472 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
2473
2474
24752) iASL Compiler/Disassembler and Tools:
2476
2477New utility: Implemented an easily portable version of the acpidump
2478utility to extract ACPI tables from the system (or a file) in an ASCII
2479hex
2480dump format. The top-level code implements the various command line
2481options, file I/O, and table dump routines. To port to a new host, only
2482three functions need to be implemented to get tables -- since this
2483functionality is OS-dependent. See the tools/acpidump/apmain.c module and
2484the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
24851) The Windows version obtains the ACPI tables from the Registry.
24862) The Linux version is under development.
24873) Other hosts - If an OS-dependent module is submitted, it will be
2488distributed with ACPICA.
2489
2490iASL: Fixed a regression for -D preprocessor option (define symbol). A
2491restructuring/change to the initialization sequence caused this option to
2492no longer work properly.
2493
2494iASL: Implemented a mechanism to disable specific warnings and remarks.
2495Adds a new command line option, "-vw <messageid> as well as "#pragma
2496disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
2497
2498iASL: Fix for too-strict package object validation. The package object
2499validation for return values from the predefined names is a bit too
2500strict, it does not allow names references within the package (which will
2501be resolved at runtime.) These types of references cannot be validated at
2502compile time. This change ignores named references within package objects
2503for names that return or define static packages.
2504
2505Debugger: Fixed the 80-character command line limitation for the History
2506command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
2507
2508iASL: Added control method and package support for the -so option
2509(generates AML offset table for BIOS support.)
2510
2511iASL: issue a remark if a non-serialized method creates named objects. If
2512a thread blocks within the method for any reason, and another thread
2513enters the method, the method will fail because an attempt will be made
2514to
2515create the same (named) object twice. In this case, issue a remark that
2516the method should be marked serialized. NOTE: may become a warning later.
2517ACPICA BZ 909.
2518
2519----------------------------------------
252018 April 2013. Summary of changes for version 20130418:
2521
25221) ACPICA kernel-resident subsystem:
2523
2524Fixed a possible buffer overrun during some rare but specific field unit
2525read operations. This overrun can only happen if the DSDT version is 1 --
2526meaning that all AML integers are 32 bits -- and the field length is
2527between 33 and 55 bits long. During the read, an internal buffer object
2528is
2529created for the field unit because the field is larger than an integer
2530(32
2531bits). However, in this case, the buffer will be incorrectly written
2532beyond the end because the buffer length is less than the internal
2533minimum
2534of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
2535long, but a full 8 bytes will be written.
2536
2537Updated the Embedded Controller "orphan" _REG method support. This refers
2538to _REG methods under the EC device that have no corresponding operation
2539region. This is allowed by the ACPI specification. This update removes a
2540dependency on the existence an ECDT table. It will execute an orphan _REG
2541method as long as the operation region handler for the EC is installed at
2542the EC device node and not the namespace root. Rui Zhang (original
2543update), Bob Moore (update/integrate).
2544
2545Implemented run-time argument typechecking for all predefined ACPI names
2546(_STA, _BIF, etc.) This change performs object typechecking on all
2547incoming arguments for all predefined names executed via
2548AcpiEvaluateObject. This ensures that ACPI-related device drivers are
2549passing correct object types as well as the correct number of arguments
2550(therefore identifying any issues immediately). Also, the ASL/namespace
2551definition of the predefined name is checked against the ACPI
2552specification for the proper argument count. Adds one new file,
2553nsarguments.c
2554
2555Changed an exception code for the ASL UnLoad() operator. Changed the
2556exception code for the case where the input DdbHandle is invalid, from
2557AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
2558
2559Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
2560global makefile. The use of this flag causes compiler errors on earlier
2561versions of GCC, so it has been removed for compatibility.
2562
2563Miscellaneous cleanup:
25641) Removed some unused/obsolete macros
25652) Fixed a possible memory leak in the _OSI support
25663) Removed an unused variable in the predefined name support
25674) Windows OSL: remove obsolete reference to a memory list field
2568
2569Example Code and Data Size: These are the sizes for the OS-independent
2570acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2571debug version of the code includes the debug output trace mechanism and
2572has a much larger code and data size.
2573
2574 Current Release:
2575 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
2576 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
2577 Previous Release:
2578 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
2579 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
2580
2581
25822) iASL Compiler/Disassembler and Tools:
2583
2584AcpiExec: Added installation of a handler for the SystemCMOS address
2585space. This prevents control method abort if a method accesses this
2586space.
2587
2588AcpiExec: Added support for multiple EC devices, and now install EC
2589operation region handler(s) at the actual EC device instead of the
2590namespace root. This reflects the typical behavior of host operating
2591systems.
2592
2593AcpiExec: Updated to ensure that all operation region handlers are
2594installed before the _REG methods are executed. This prevents a _REG
2595method from aborting if it accesses an address space has no handler.
2596AcpiExec installs a handler for every possible address space.
2597
2598Debugger: Enhanced the "handlers" command to display non-root handlers.
2599This change enhances the handlers command to display handlers associated
2600with individual devices throughout the namespace, in addition to the
2601currently supported display of handlers associated with the root
2602namespace
2603node.
2604
2605ASL Test Suite: Several test suite errors have been identified and
2606resolved, reducing the total error count during execution. Chao Guan.
2607
2608----------------------------------------
260928 March 2013. Summary of changes for version 20130328:
2610
26111) ACPICA kernel-resident subsystem:
2612
2613Fixed several possible race conditions with the internal object reference
2614counting mechanism. Some of the external ACPICA interfaces update object
2615reference counts without holding the interpreter or namespace lock. This
2616change adds a spinlock to protect reference count updates on the internal
2617ACPICA objects. Reported by and with assistance from Andriy Gapon
2618(avg@FreeBSD.org).
2619
2620FADT support: Removed an extraneous warning for very large GPE register
2621sets. This change removes a size mismatch warning if the legacy length
2622field for a GPE register set is larger than the 64-bit GAS structure can
2623accommodate. GPE register sets can be larger than the 255-bit width
2624limitation of the GAS structure. Linn Crosetto (linn@hp.com).
2625
2626_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
2627return from this interface. Handles a possible timeout case if
2628ACPI_WAIT_FOREVER is modified by the host to be a value less than
2629"forever". Jung-uk Kim.
2630
2631Predefined name support: Add allowed/required argument type information
2632to
2633the master predefined info table. This change adds the infrastructure to
2634enable typechecking on incoming arguments for all predefined
2635methods/objects. It does not actually contain the code that will fully
2636utilize this information, this is still under development. Also condenses
2637some duplicate code for the predefined names into a new module,
2638utilities/utpredef.c
2639
2640Example Code and Data Size: These are the sizes for the OS-independent
2641acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2642debug version of the code includes the debug output trace mechanism and
2643has a much larger code and data size.
2644
2645 Previous Release:
2646 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
2647 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
2648 Current Release:
2649 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
2650 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
2651
2652
26532) iASL Compiler/Disassembler and Tools:
2654
2655iASL: Implemented a new option to simplify the development of ACPI-
2656related
2657BIOS code. Adds support for a new "offset table" output file. The -so
2658option will create a C table containing the AML table offsets of various
2659named objects in the namespace so that BIOS code can modify them easily
2660at
2661boot time. This can simplify BIOS runtime code by eliminating expensive
2662searches for "magic values", enhancing boot times and adding greater
2663reliability. With assistance from Lee Hamel.
2664
2665iASL: Allow additional predefined names to return zero-length packages.
2666Now, all predefined names that are defined by the ACPI specification to
2667return a "variable-length package of packages" are allowed to return a
2668zero length top-level package. This allows the BIOS to tell the host that
2669the requested feature is not supported, and supports existing BIOS/ASL
2670code and practices.
2671
2672iASL: Changed the "result not used" warning to an error. This is the case
2673where an ASL operator is effectively a NOOP because the result of the
2674operation is not stored anywhere. For example:
2675 Add (4, Local0)
2676There is no target (missing 3rd argument), nor is the function return
2677value used. This is potentially a very serious problem -- since the code
2678was probably intended to do something, but for whatever reason, the value
2679was not stored. Therefore, this issue has been upgraded from a warning to
2680an error.
2681
2682AcpiHelp: Added allowable/required argument types to the predefined names
2683info display. This feature utilizes the recent update to the predefined
2684names table (above).
2685
2686----------------------------------------
268714 February 2013. Summary of changes for version 20130214:
2688
26891) ACPICA Kernel-resident Subsystem:
2690
2691Fixed a possible regression on some hosts: Reinstated the safe return
2692macros (return_ACPI_STATUS, etc.) that ensure that the argument is
2693evaluated only once. Although these macros are not needed for the ACPICA
2694code itself, they are often used by ACPI-related host device drivers
2695where
2696the safe feature may be necessary.
2697
2698Fixed several issues related to the ACPI 5.0 reduced hardware support
2699(SOC): Now ensure that if the platform declares itself as hardware-
2700reduced
2701via the FADT, the following functions become NOOPs (and always return
2702AE_OK) because ACPI is always enabled by definition on these machines:
2703 AcpiEnable
2704 AcpiDisable
2705 AcpiHwGetMode
2706 AcpiHwSetMode
2707
2708Dynamic Object Repair: Implemented additional runtime repairs for
2709predefined name return values. Both of these repairs can simplify code in
2710the related device drivers that invoke these methods:
27111) For the _STR and _MLS names, automatically repair/convert an ASCII
2712string to a Unicode buffer.
27132) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
2714a
2715lone end tag descriptor in the following cases: A Return(0) was executed,
2716a null buffer was returned, or no object at all was returned (non-slack
2717mode only). Adds a new file, nsconvert.c
2718ACPICA BZ 998. Bob Moore, Lv Zheng.
2719
2720Resource Manager: Added additional code to prevent possible infinite
2721loops
2722while traversing corrupted or ill-formed resource template buffers. Check
2723for zero-length resource descriptors in all code that loops through
2724resource templates (the length field is used to index through the
2725template). This change also hardens the external AcpiWalkResources and
2726AcpiWalkResourceBuffer interfaces.
2727
2728Local Cache Manager: Enhanced the main data structure to eliminate an
2729unnecessary mechanism to access the next object in the list. Actually
2730provides a small performance enhancement for hosts that use the local
2731ACPICA cache manager. Jung-uk Kim.
2732
2733Example Code and Data Size: These are the sizes for the OS-independent
2734acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2735debug version of the code includes the debug output trace mechanism and
2736has a much larger code and data size.
2737
2738 Previous Release:
2739 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
2740 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
2741 Current Release:
2742 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
2743 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
2744
2745
27462) iASL Compiler/Disassembler and Tools:
2747
2748iASL/Disassembler: Fixed several issues with the definition of the ACPI
27495.0 RASF table (RAS Feature Table). This change incorporates late changes
2750that were made to the ACPI 5.0 specification.
2751
2752iASL/Disassembler: Added full support for the following new ACPI tables:
2753 1) The MTMR table (MID Timer Table)
2754 2) The VRTC table (Virtual Real Time Clock Table).
2755Includes header file, disassembler, table compiler, and template support
2756for both tables.
2757
2758iASL: Implemented compile-time validation of package objects returned by
2759predefined names. This new feature validates static package objects
2760returned by the various predefined names defined to return packages. Both
2761object types and package lengths are validated, for both parent packages
2762and sub-packages, if any. The code is similar in structure and behavior
2763to
2764the runtime repair mechanism within the AML interpreter and uses the
2765existing predefined name information table. Adds a new file, aslprepkg.c.
2766ACPICA BZ 938.
2767
2768iASL: Implemented auto-detection of binary ACPI tables for disassembly.
2769This feature detects a binary file with a valid ACPI table header and
2770invokes the disassembler automatically. Eliminates the need to
2771specifically invoke the disassembler with the -d option. ACPICA BZ 862.
2772
2773iASL/Disassembler: Added several warnings for the case where there are
2774unresolved control methods during the disassembly. This can potentially
2775cause errors when the output file is compiled, because the disassembler
2776assumes zero method arguments in these cases (it cannot determine the
2777actual number of arguments without resolution/definition of the method).
2778
2779Debugger: Added support to display all resources with a single command.
2780Invocation of the resources command with no arguments will now display
2781all
2782resources within the current namespace.
2783
2784AcpiHelp: Added descriptive text for each ACPICA exception code displayed
2785via the -e option.
2786
2787----------------------------------------
278817 January 2013. Summary of changes for version 20130117:
2789
27901) ACPICA Kernel-resident Subsystem:
2791
2792Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
2793return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
2794objects to return a package containing one integer, most BIOS code
2795returns
2796two integers and the previous code reflects that. However, we also need
2797to
2798support BIOS code that actually implements to the ACPI spec, and this
2799change reflects this.
2800
2801Fixed two issues with the ACPI_DEBUG_PRINT macros:
28021) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
2803C compilers that require this support.
28042) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
2805ACPI_DEBUG is already used by many of the various hosts.
2806
2807Updated all ACPICA copyrights and signons to 2013. Added the 2013
2808copyright to all module headers and signons, including the standard Linux
2809header. This affects virtually every file in the ACPICA core subsystem,
2810iASL compiler, all ACPICA utilities, and the test suites.
2811
2812Example Code and Data Size: These are the sizes for the OS-independent
2813acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2814debug version of the code includes the debug output trace mechanism and
2815has a much larger code and data size.
2816
2817 Previous Release:
2818 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
2819 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
2820 Current Release:
2821 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
2822 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
2823
2824
28252) iASL Compiler/Disassembler and Tools:
2826
2827Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
2828prevent a possible fault on some hosts. Some C libraries modify the arg
2829pointer parameter to vfprintf making it difficult to call it twice in the
2830AcpiOsVprintf function. Use a local buffer to workaround this issue. This
2831does not affect the Windows OSL since the Win C library does not modify
2832the arg pointer. Chao Guan, Bob Moore.
2833
2834iASL: Fixed a possible infinite loop when the maximum error count is
2835reached. If an output file other than the .AML file is specified (such as
2836a listing file), and the maximum number of errors is reached, do not
2837attempt to flush data to the output file(s) as the compiler is aborting.
2838This can cause an infinite loop as the max error count code essentially
2839keeps calling itself.
2840
2841iASL/Disassembler: Added an option (-in) to ignore NOOP
2842opcodes/operators.
2843Implemented for both the compiler and the disassembler. Often, the NOOP
2844opcode is used as padding for packages that are changed dynamically by
2845the
2846BIOS. When disassembled and recompiled, these NOOPs will cause syntax
2847errors. This option causes the disassembler to ignore all NOOP opcodes
2848(0xA3), and it also causes the compiler to ignore all ASL source code
2849NOOP
2850statements as well.
2851
2852Debugger: Enhanced the Sleep command to execute all sleep states. This
2853change allows Sleep to be invoked with no arguments and causes the
2854debugger to execute all of the sleep states, 0-5, automatically.
2855
2856----------------------------------------
285720 December 2012. Summary of changes for version 20121220:
2858
28591) ACPICA Kernel-resident Subsystem:
2860
2861Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
2862alternate entry point for AcpiWalkResources and improves the usability of
2863the resource manager by accepting as input a buffer containing the output
2864of either a _CRS, _PRS, or _AEI method. The key functionality is that the
2865input buffer is not deleted by this interface so that it can be used by
2866the host later. See the ACPICA reference for details.
2867
2868Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
2869(DSDT version < 2). The constant will be truncated and this warning
2870reflects that behavior.
2871
2872Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
2873ExtendedInterrupt, and GpioInt descriptors. This change adds support to
2874both get and set the new wake bit in these descriptors, separately from
2875the existing share bit. Reported by Aaron Lu.
2876
2877Interpreter: Fix Store() when an implicit conversion is not possible. For
2878example, in the cases such as a store of a string to an existing package
2879object, implement the store as a CopyObject(). This is a small departure
2880from the ACPI specification which states that the control method should
2881be
2882aborted in this case. However, the ASLTS suite depends on this behavior.
2883
2884Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
2885macros: check if debug output is currently enabled as soon as possible to
2886minimize performance impact if debug is in fact not enabled.
2887
2888Source code restructuring: Cleanup to improve modularity. The following
2889new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
2890psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
2891Associated makefiles and project files have been updated.
2892
2893Changed an exception code for LoadTable operator. For the case where one
2894of the input strings is too long, change the returned exception code from
2895AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
2896
2897Fixed a possible memory leak in dispatcher error path. On error, delete
2898the mutex object created during method mutex creation. Reported by
2899tim.gardner@canonical.com.
2900
2901Example Code and Data Size: These are the sizes for the OS-independent
2902acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2903debug version of the code includes the debug output trace mechanism and
2904has a much larger code and data size.
2905
2906 Previous Release:
2907 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
2908 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2909 Current Release:
2910 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
2911 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
2912
2913
29142) iASL Compiler/Disassembler and Tools:
2915
2916iASL: Disallow a method call as argument to the ObjectType ASL operator.
2917This change tracks an errata to the ACPI 5.0 document. The AML grammar
2918will not allow the interpreter to differentiate between a method and a
2919method invocation when these are used as an argument to the ObjectType
2920operator. The ACPI specification change is to disallow a method
2921invocation
2922(UserTerm) for the ObjectType operator.
2923
2924Finish support for the TPM2 and CSRT tables in the headers, table
2925compiler, and disassembler.
2926
2927Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
2928always expires immediately if the semaphore is not available. The
2929original
2930code was using a relative-time timeout, but sem_timedwait requires the
2931use
2932of an absolute time.
2933
2934iASL: Added a remark if the Timer() operator is used within a 32-bit
2935table. This operator returns a 64-bit time value that will be truncated
2936within a 32-bit table.
2937
2938iASL Source code restructuring: Cleanup to improve modularity. The
2939following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
2940aslmethod.c, and aslfileio.c. Associated makefiles and project files have
2941been updated.
2942
2943
2944----------------------------------------
294514 November 2012. Summary of changes for version 20121114:
2946
29471) ACPICA Kernel-resident Subsystem:
2948
2949Implemented a performance enhancement for ACPI/AML Package objects. This
2950change greatly increases the performance of Package objects within the
2951interpreter. It changes the processing of reference counts for packages
2952by
2953optimizing for the most common case where the package sub-objects are
2954either Integers, Strings, or Buffers. Increases the overall performance
2955of
2956the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
29572X.)
2958Chao Guan. ACPICA BZ 943.
2959
2960Implemented and deployed common macros to extract flag bits from resource
2961descriptors. Improves readability and maintainability of the code. Fixes
2962a
2963problem with the UART serial bus descriptor for the number of data bits
2964flags (was incorrectly 2 bits, should be 3).
2965
2966Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
2967of the macros and changed the SETx macros to the style of (destination,
2968source). Also added ACPI_CASTx companion macros. Lv Zheng.
2969
2970Example Code and Data Size: These are the sizes for the OS-independent
2971acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2972debug version of the code includes the debug output trace mechanism and
2973has a much larger code and data size.
2974
2975 Previous Release:
2976 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
2977 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2978 Current Release:
2979 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
2980 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
2981
2982
29832) iASL Compiler/Disassembler and Tools:
2984
2985Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
2986adds the ShareAndWake and ExclusiveAndWake flags which were added to the
2987Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
2988
2989Disassembler: Fixed a problem with external declaration generation. Fixes
2990a problem where an incorrect pathname could be generated for an external
2991declaration if the original reference to the object includes leading
2992carats (^). ACPICA BZ 984.
2993
2994Debugger: Completed a major update for the Disassemble<method> command.
2995This command was out-of-date and did not properly disassemble control
2996methods that had any reasonable complexity. This fix brings the command
2997up
2998to the same level as the rest of the disassembler. Adds one new file,
2999dmdeferred.c, which is existing code that is now common with the main
3000disassembler and the debugger disassemble command. ACPICA MZ 978.
3001
3002iASL: Moved the parser entry prototype to avoid a duplicate declaration.
3003Newer versions of Bison emit this prototype, so moved the prototype out
3004of
3005the iASL header to where it is actually used in order to avoid a
3006duplicate
3007declaration.
3008
3009iASL/Tools: Standardized use of the stream I/O functions:
3010 1) Ensure check for I/O error after every fopen/fread/fwrite
3011 2) Ensure proper order of size/count arguments for fread/fwrite
3012 3) Use test of (Actual != Requested) after all fwrite, and most fread
3013 4) Standardize I/O error messages
3014Improves reliability and maintainability of the code. Bob Moore, Lv
3015Zheng.
3016ACPICA BZ 981.
3017
3018Disassembler: Prevent duplicate External() statements. During generation
3019of external statements, detect similar pathnames that are actually
3020duplicates such as these:
3021 External (\ABCD)
3022 External (ABCD)
3023Remove all leading '\' characters from pathnames during the external
3024statement generation so that duplicates will be detected and tossed.
3025ACPICA BZ 985.
3026
3027Tools: Replace low-level I/O with stream I/O functions. Replace
3028open/read/write/close with the stream I/O equivalents
3029fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
3030Moore.
3031
3032AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
3033name header so that AcpiXtract recognizes the output file/table.
3034
3035iASL: Remove obsolete -2 option flag. Originally intended to force the
3036compiler/disassembler into an ACPI 2.0 mode, this was never implemented
3037and the entire concept is now obsolete.
3038
3039----------------------------------------
304018 October 2012. Summary of changes for version 20121018:
3041
3042
30431) ACPICA Kernel-resident Subsystem:
3044
3045Updated support for the ACPI 5.0 MPST table. Fixes some problems
3046introduced by late changes to the table as it was added to the ACPI 5.0
3047specification. Includes header, disassembler, and data table compiler
3048support as well as a new version of the MPST template.
3049
3050AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
30515.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
3052methods: _HID, _CID, and _UID.
3053
3054Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
3055ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
3056name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
3057names for their various drivers. Affects the AcpiGetObjectInfo external
3058interface, and other internal interfaces as well.
3059
3060Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
3061This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
3062on machines that support non-aligned transfers. Optimizes for this case
3063rather than using a strncpy. With assistance from Zheng Lv.
3064
3065Resource Manager: Small fix for buffer size calculation. Fixed a one byte
3066error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
3067
3068Added a new debug print message for AML mutex objects that are force-
3069released. At control method termination, any currently acquired mutex
3070objects are force-released. Adds a new debug-only message for each one
3071that is released.
3072
3073Audited/updated all ACPICA return macros and the function debug depth
3074counter: 1) Ensure that all functions that use the various TRACE macros
3075also use the appropriate ACPICA return macros. 2) Ensure that all normal
3076return statements surround the return expression (value) with parens to
3077ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
3078Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
3079
3080Global source code changes/maintenance: All extra lines at the start and
3081end of each source file have been removed for consistency. Also, within
3082comments, all new sentences start with a single space instead of a double
3083space, again for consistency across the code base.
3084
3085Example Code and Data Size: These are the sizes for the OS-independent
3086acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3087debug version of the code includes the debug output trace mechanism and
3088has a much larger code and data size.
3089
3090 Previous Release:
3091 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
3092 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
3093 Current Release:
3094 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
3095 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3096
3097
30982) iASL Compiler/Disassembler and Tools:
3099
3100AcpiExec: Improved the algorithm used for memory leak/corruption
3101detection. Added some intelligence to the code that maintains the global
3102list of allocated memory. The list is now ordered by allocated memory
3103address, significantly improving performance. When running AcpiExec on
3104the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
3105on the platform and/or the environment. Note, this performance
3106enhancement affects the AcpiExec utility only, not the kernel-resident
3107ACPICA code.
3108
3109Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
3110the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
3111incorrect table offset reported for invalid opcodes. Report the original
311232-bit value for bad ACPI_NAMEs (as well as the repaired name.)
3113
3114Disassembler: Enhanced the -vt option to emit the binary table data in
3115hex format to assist with debugging.
3116
3117Fixed a potential filename buffer overflow in osunixdir.c. Increased the
3118size of file structure. Colin Ian King.
3119
3120----------------------------------------
312113 September 2012. Summary of changes for version 20120913:
3122
3123
31241) ACPICA Kernel-resident Subsystem:
3125
3126ACPI 5.0: Added two new notify types for the Hardware Error Notification
3127Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
3128and
3129MCE(6).
3130
3131Table Manager: Merged/removed duplicate code in the root table resize
3132functions. One function is external, the other is internal. Lv Zheng,
3133ACPICA
3134BZ 846.
3135
3136Makefiles: Completely removed the obsolete "Linux" makefiles under
3137acpica/generate/linux. These makefiles are obsolete and have been
3138replaced
3139by
3140the generic unix makefiles under acpica/generate/unix.
3141
3142Makefiles: Ensure that binary files always copied properly. Minor rule
3143change
3144to ensure that the final binary output files are always copied up to the
3145appropriate binary directory (bin32 or bin64.)
3146
3147Example Code and Data Size: These are the sizes for the OS-independent
3148acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3149debug
3150version of the code includes the debug output trace mechanism and has a
3151much
3152larger code and data size.
3153
3154 Previous Release:
3155 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
3156 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
3157 Current Release:
3158 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
3159 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
3160
3161
31622) iASL Compiler/Disassembler and Tools:
3163
3164Disassembler: Fixed a possible fault during the disassembly of resource
3165descriptors when a second parse is required because of the invocation of
3166external control methods within the table. With assistance from
3167adq@lidskialf.net. ACPICA BZ 976.
3168
3169iASL: Fixed a namepath optimization problem. An error can occur if the
3170parse
3171node that contains the namepath to be optimized does not have a parent
3172node
3173that is a named object. This change fixes the problem.
3174
3175iASL: Fixed a regression where the AML file is not deleted on errors. The
3176AML
3177output file should be deleted if there are any errors during the
3178compiler.
3179The
3180only exception is if the -f (force output) option is used. ACPICA BZ 974.
3181
3182iASL: Added a feature to automatically increase internal line buffer
3183sizes.
3184Via realloc(), automatically increase the internal line buffer sizes as
3185necessary to support very long source code lines. The current version of
3186the
3187preprocessor requires a buffer long enough to contain full source code
3188lines.
3189This change increases the line buffer(s) if the input lines go beyond the
3190current buffer size. This eliminates errors that occurred when a source
3191code
3192line was longer than the buffer.
3193
3194iASL: Fixed a problem with constant folding in method declarations. The
3195SyncLevel term is a ByteConstExpr, and incorrect code would be generated
3196if a
3197Type3 opcode was used.
3198
3199Debugger: Improved command help support. For incorrect argument count,
3200display
3201full help for the command. For help command itself, allow an argument to
3202specify a command.
3203
3204Test Suites: Several bug fixes for the ASLTS suite reduces the number of
3205errors during execution of the suite. Guan Chao.
3206
3207----------------------------------------
320816 August 2012. Summary of changes for version 20120816:
3209
3210
32111) ACPICA Kernel-resident Subsystem:
3212
3213Removed all use of the deprecated _GTS and _BFS predefined methods. The
3214_GTS
3215(Going To Sleep) and _BFS (Back From Sleep) methods are essentially
3216deprecated and will probably be removed from the ACPI specification.
3217Windows
3218does not invoke them, and reportedly never will. The final nail in the
3219coffin
3220is that the ACPI specification states that these methods must be run with
3221interrupts off, which is not going to happen in a kernel interpreter.
3222Note:
3223Linux has removed all use of the methods also. It was discovered that
3224invoking these functions caused failures on some machines, probably
3225because
3226they were never tested since Windows does not call them. Affects two
3227external
3228interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
3229ACPICA BZ 969.
3230
3231Implemented support for complex bit-packed buffers returned from the _PLD
3232(Physical Location of Device) predefined method. Adds a new external
3233interface, AcpiDecodePldBuffer that parses the buffer into a more usable
3234C
3235structure. Note: C Bitfields cannot be used for this type of predefined
3236structure since the memory layout of individual bitfields is not defined
3237by
3238the C language. In addition, there are endian concerns where a compiler
3239will
3240change the bitfield ordering based on the machine type. The new ACPICA
3241interface eliminates these issues, and should be called after _PLD is
3242executed. ACPICA BZ 954.
3243
3244Implemented a change to allow a scope change to root (via "Scope (\)")
3245during
3246execution of module-level ASL code (code that is executed at table load
3247time.) Lin Ming.
3248
3249Added the Windows8/Server2012 string for the _OSI method. This change
3250adds
3251a
3252new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
32532012.
3254
3255Added header support for the new ACPI tables DBG2 (Debug Port Table Type
32562)
3257and CSRT (Core System Resource Table).
3258
3259Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
3260names. This simplifies access to the buffers returned by these predefined
3261names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
3262
3263GPE support: Removed an extraneous parameter from the various low-level
3264internal GPE functions. Tang Feng.
3265
3266Removed the linux makefiles from the unix packages. The generate/linux
3267makefiles are obsolete and have been removed from the unix tarball
3268release
3269packages. The replacement makefiles are under generate/unix, and there is
3270a
3271top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
3272
3273Updates for Unix makefiles:
32741) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
32752) Update linker flags (move to end of command line) for AcpiExec
3276utility.
3277Guan Chao.
3278
3279Split ACPICA initialization functions to new file, utxfinit.c. Split from
3280utxface.c to improve modularity and reduce file size.
3281
3282Example Code and Data Size: These are the sizes for the OS-independent
3283acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3284debug version of the code includes the debug output trace mechanism and
3285has a
3286much larger code and data size.
3287
3288 Previous Release:
3289 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
3290 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
3291 Current Release:
3292 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
3293 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
3294
3295
32962) iASL Compiler/Disassembler and Tools:
3297
3298iASL: Fixed a problem with constant folding for fixed-length constant
3299expressions. The constant-folding code was not being invoked for constant
3300expressions that allow the use of type 3/4/5 opcodes to generate
3301constants
3302for expressions such as ByteConstExpr, WordConstExpr, etc. This could
3303result
3304in the generation of invalid AML bytecode. ACPICA BZ 970.
3305
3306iASL: Fixed a generation issue on newer versions of Bison. Newer versions
3307apparently automatically emit some of the necessary externals. This
3308change
3309handles these versions in order to eliminate generation warnings.
3310
3311Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
3312
3313Disassembler: Add support to decode _PLD buffers. The decoded buffer
3314appears
3315within comments in the output file.
3316
3317Debugger: Fixed a regression with the "Threads" command where
3318AE_BAD_PARAMETER was always returned.
3319
3320----------------------------------------
332111 July 2012. Summary of changes for version 20120711:
3322
33231) ACPICA Kernel-resident Subsystem:
3324
3325Fixed a possible fault in the return package object repair code. Fixes a
3326problem that can occur when a lone package object is wrapped with an
3327outer
3328package object in order to force conformance to the ACPI specification.
3329Can
3330affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
3331_DLM,
3332_CSD, _PSD, _TSD.
3333
3334Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
3335PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
3336ARB_DIS bit must be implemented in the host-dependent C3 processor power
3337state
3338support. Note, ARB_DIS is obsolete and only applies to older chipsets,
3339both
3340Intel and other vendors. (for Intel: ICH4-M and earlier)
3341
3342This change removes the code to disable/enable bus master arbitration
3343during
3344suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
3345causes
3346resume problems on some machines. The change has been in use for over
3347seven
3348years within Linux.
3349
3350Implemented two new external interfaces to support host-directed dynamic
3351ACPI
3352table load and unload. They are intended to simplify the host
3353implementation
3354of hot-plug support:
3355 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
3356 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
3357table.
3358See the ACPICA reference for additional details. Adds one new file,
3359components/tables/tbxfload.c
3360
3361Implemented and deployed two new interfaces for errors and warnings that
3362are
3363known to be caused by BIOS/firmware issues:
3364 AcpiBiosError: Prints "ACPI Firmware Error" message.
3365 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
3366Deployed these new interfaces in the ACPICA Table Manager code for ACPI
3367table
3368and FADT errors. Additional deployment to be completed as appropriate in
3369the
3370future. The associated conditional macros are ACPI_BIOS_ERROR and
3371ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
3372ACPICA
3373BZ
3374843.
3375
3376Implicit notify support: ensure that no memory allocation occurs within a
3377critical region. This fix moves a memory allocation outside of the time
3378that a
3379spinlock is held. Fixes issues on systems that do not allow this
3380behavior.
3381Jung-uk Kim.
3382
3383Split exception code utilities and tables into a new file,
3384utilities/utexcep.c
3385
3386Example Code and Data Size: These are the sizes for the OS-independent
3387acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3388debug
3389version of the code includes the debug output trace mechanism and has a
3390much
3391larger code and data size.
3392
3393 Previous Release:
3394 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
3395 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
3396 Current Release:
3397 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
3398 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
3399
3400
34012) iASL Compiler/Disassembler and Tools:
3402
3403iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
3404of
34050. Jung-uk Kim.
3406
3407Debugger: Enhanced the "tables" command to emit additional information
3408about
3409the current set of ACPI tables, including the owner ID and flags decode.
3410
3411Debugger: Reimplemented the "unload" command to use the new
3412AcpiUnloadParentTable external interface. This command was disable
3413previously
3414due to need for an unload interface.
3415
3416AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
3417option
3418will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
3419
3420----------------------------------------
342120 June 2012. Summary of changes for version 20120620:
3422
3423
34241) ACPICA Kernel-resident Subsystem:
3425
3426Implemented support to expand the "implicit notify" feature to allow
3427multiple
3428devices to be notified by a single GPE. This feature automatically
3429generates a
3430runtime device notification in the absence of a BIOS-provided GPE control
3431method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
3432notify is
3433provided by ACPICA for Windows compatibility, and is a workaround for
3434BIOS
3435AML
3436code errors. See the description of the AcpiSetupGpeForWake interface in
3437the
3438APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
3439
3440Changed some comments and internal function names to simplify and ensure
3441correctness of the Linux code translation. No functional changes.
3442
3443Example Code and Data Size: These are the sizes for the OS-independent
3444acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3445debug
3446version of the code includes the debug output trace mechanism and has a
3447much
3448larger code and data size.
3449
3450 Previous Release:
3451 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
3452 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
3453 Current Release:
3454 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
3455 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
3456
3457
34582) iASL Compiler/Disassembler and Tools:
3459
3460Disassembler: Added support to emit short, commented descriptions for the
3461ACPI
3462predefined names in order to improve the readability of the disassembled
3463output. ACPICA BZ 959. Changes include:
3464 1) Emit descriptions for all standard predefined names (_INI, _STA,
3465_PRW,
3466etc.)
3467 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
3468 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
3469etc.)
3470
3471AcpiSrc: Fixed several long-standing Linux code translation issues.
3472Argument
3473descriptions in function headers are now translated properly to lower
3474case
3475and
3476underscores. ACPICA BZ 961. Also fixes translation problems such as
3477these:
3478(old -> new)
3479 i_aSL -> iASL
3480 00-7_f -> 00-7F
3481 16_k -> 16K
3482 local_fADT -> local_FADT
3483 execute_oSI -> execute_OSI
3484
3485iASL: Fixed a problem where null bytes were inadvertently emitted into
3486some
3487listing files.
3488
3489iASL: Added the existing debug options to the standard help screen. There
3490are
3491no longer two different help screens. ACPICA BZ 957.
3492
3493AcpiHelp: Fixed some typos in the various predefined name descriptions.
3494Also
3495expand some of the descriptions where appropriate.
3496
3497iASL: Fixed the -ot option (display compile times/statistics). Was not
3498working
3499properly for standard output; only worked for the debug file case.
3500
3501----------------------------------------
350218 May 2012. Summary of changes for version 20120518:
3503
3504
35051) ACPICA Core Subsystem:
3506
3507Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
3508defined
3509to block until asynchronous events such as notifies and GPEs have
3510completed.
3511Within ACPICA, it is only called before a notify or GPE handler is
3512removed/uninstalled. It also may be useful for the host OS within related
3513drivers such as the Embedded Controller driver. See the ACPICA reference
3514for
3515additional information. ACPICA BZ 868.
3516
3517ACPI Tables: Added a new error message for a possible overflow failure
3518during
3519the conversion of FADT 32-bit legacy register addresses to internal
3520common
352164-
3522bit GAS structure representation. The GAS has a one-byte "bit length"
3523field,
3524thus limiting the register length to 255 bits. ACPICA BZ 953.
3525
3526Example Code and Data Size: These are the sizes for the OS-independent
3527acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3528debug
3529version of the code includes the debug output trace mechanism and has a
3530much
3531larger code and data size.
3532
3533 Previous Release:
3534 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3535 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
3536 Current Release:
3537 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
3538 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
3539
3540
35412) iASL Compiler/Disassembler and Tools:
3542
3543iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
3544macro.
3545This keyword was added late in the ACPI 5.0 release cycle and was not
3546implemented until now.
3547
3548Disassembler: Added support for Operation Region externals. Adds missing
3549support for operation regions that are defined in another table, and
3550referenced locally via a Field or BankField ASL operator. Now generates
3551the
3552correct External statement.
3553
3554Disassembler: Several additional fixes for the External() statement
3555generation
3556related to some ASL operators. Also, order the External() statements
3557alphabetically in the disassembler output. Fixes the External()
3558generation
3559for
3560the Create* field, Alias, and Scope operators:
3561 1) Create* buffer field operators - fix type mismatch warning on
3562disassembly
3563 2) Alias - implement missing External support
3564 3) Scope - fix to make sure all necessary externals are emitted.
3565
3566iASL: Improved pathname support. For include files, merge the prefix
3567pathname
3568with the file pathname and eliminate unnecessary components. Convert
3569backslashes in all pathnames to forward slashes, for readability. Include
3570file
3571pathname changes affect both #include and Include() type operators.
3572
3573iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
3574end
3575of a valid line by inserting a newline and then returning the EOF during
3576the
3577next call to GetNextLine. Prevents the line from being ignored due to EOF
3578condition.
3579
3580iASL: Implemented some changes to enhance the IDE support (-vi option.)
3581Error
3582and Warning messages are now correctly recognized for both the source
3583code
3584browser and the global error and warning counts.
3585
3586----------------------------------------
358720 April 2012. Summary of changes for version 20120420:
3588
3589
35901) ACPICA Core Subsystem:
3591
3592Implemented support for multiple notify handlers. This change adds
3593support
3594to
3595allow multiple system and device notify handlers on Device, Thermal Zone,
3596and
3597Processor objects. This can simplify the host OS notification
3598implementation.
3599Also re-worked and restructured the entire notify support code to
3600simplify
3601handler installation, handler removal, notify event queuing, and notify
3602dispatch to handler(s). Note: there can still only be two global notify
3603handlers - one for system notifies and one for device notifies. There are
3604no
3605changes to the existing handler install/remove interfaces. Lin Ming, Bob
3606Moore, Rafael Wysocki.
3607
3608Fixed a regression in the package repair code where the object reference
3609count was calculated incorrectly. Regression was introduced in the commit
3610"Support to add Package wrappers".
3611
3612Fixed a couple possible memory leaks in the AML parser, in the error
3613recovery
3614path. Jesper Juhl, Lin Ming.
3615
3616Example Code and Data Size: These are the sizes for the OS-independent
3617acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3618debug version of the code includes the debug output trace mechanism and
3619has a
3620much larger code and data size.
3621
3622 Previous Release:
3623 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3624 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3625 Current Release:
3626 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3627 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
3628
3629
36302) iASL Compiler/Disassembler and Tools:
3631
3632iASL: Fixed a problem with the resource descriptor support where the
3633length
3634of the StartDependentFn and StartDependentFnNoPrio descriptors were not
3635included in cumulative descriptor offset, resulting in incorrect values
3636for
3637resource tags within resource descriptors appearing after a
3638StartDependent*
3639descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
3640
3641iASL and Preprocessor: Implemented full support for the #line directive
3642to
3643correctly track original source file line numbers through the .i
3644preprocessor
3645output file - for error and warning messages.
3646
3647iASL: Expand the allowable byte constants for address space IDs.
3648Previously,
3649the allowable range was 0x80-0xFF (user-defined spaces), now the range is
36500x0A-0xFF to allow for custom and new IDs without changing the compiler.
3651
3652iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
3653
3654iASL: Add option to completely disable the preprocessor (-Pn).
3655
3656iASL: Now emit all error/warning messages to standard error (stderr) by
3657default (instead of the previous stdout).
3658
3659ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
3660Update
3661for resource descriptor offset fix above. Update/cleanup error output
3662routines. Enable and send iASL errors/warnings to an error logfile
3663(error.txt). Send all other iASL output to a logfile (compiler.txt).
3664Fixed
3665several extraneous "unrecognized operator" messages.
3666
3667----------------------------------------
366820 March 2012. Summary of changes for version 20120320:
3669
3670
36711) ACPICA Core Subsystem:
3672
3673Enhanced the sleep/wake interfaces to optionally execute the _GTS method
3674(Going To Sleep) and the _BFS method (Back From Sleep). Windows
3675apparently
3676does not execute these methods, and therefore these methods are often
3677untested. It has been seen on some systems where the execution of these
3678methods causes errors and also prevents the machine from entering S5. It
3679is
3680therefore suggested that host operating systems do not execute these
3681methods
3682by default. In the future, perhaps these methods can be optionally
3683executed
3684based on the age of the system and/or what is the newest version of
3685Windows
3686that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
3687and
3688AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
3689Ming.
3690
3691Fixed a problem where the length of the local/common FADT was set too
3692early.
3693The local FADT table length cannot be set to the common length until the
3694original length has been examined. There is code that checks the table
3695length
3696and sets various fields appropriately. This can affect older machines
3697with
3698early FADT versions. For example, this can cause inadvertent writes to
3699the
3700CST_CNT register. Julian Anastasov.
3701
3702Fixed a mapping issue related to a physical table override. Use the
3703deferred
3704mapping mechanism for tables loaded via the physical override OSL
3705interface.
3706This allows for early mapping before the virtual memory manager is
3707available.
3708Thomas Renninger, Bob Moore.
3709
3710Enhanced the automatic return-object repair code: Repair a common problem
3711with
3712predefined methods that are defined to return a variable-length Package
3713of
3714sub-objects. If there is only one sub-object, some BIOS ASL code
3715mistakenly
3716simply returns the single object instead of a Package with one sub-
3717object.
3718This new support will repair this error by wrapping a Package object
3719around
3720the original object, creating the correct and expected Package with one
3721sub-
3722object. Names that can be repaired in this manner include: _ALR, _CSD,
3723_HPX,
3724_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
3725939.
3726
3727Changed the exception code returned for invalid ACPI paths passed as
3728parameters to external interfaces such as AcpiEvaluateObject. Was
3729AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
3730
3731Example Code and Data Size: These are the sizes for the OS-independent
3732acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3733debug
3734version of the code includes the debug output trace mechanism and has a
3735much
3736larger code and data size.
3737
3738 Previous Release:
3739 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
3740 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3741 Current Release:
3742 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
3743 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3744
3745
37462) iASL Compiler/Disassembler and Tools:
3747
3748iASL: Added the infrastructure and initial implementation of a integrated
3749C-
3750like preprocessor. This will simplify BIOS development process by
3751eliminating
3752the need for a separate preprocessing step during builds. On Windows, it
3753also
3754eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
3755features including full #define() macro support are still under
3756development.
3757These preprocessor directives are supported:
3758 #define
3759 #elif
3760 #else
3761 #endif
3762 #error
3763 #if
3764 #ifdef
3765 #ifndef
3766 #include
3767 #pragma message
3768 #undef
3769 #warning
3770In addition, these new command line options are supported:
3771 -D <symbol> Define symbol for preprocessor use
3772 -li Create preprocessed output file (*.i)
3773 -P Preprocess only and create preprocessor output file (*.i)
3774
3775Table Compiler: Fixed a problem where the equals operator within an
3776expression
3777did not work properly.
3778
3779Updated iASL to use the current versions of Bison/Flex. Updated the
3780Windows
3781project file to invoke these tools from the standard location. ACPICA BZ
3782904.
3783Versions supported:
3784 Flex for Windows: V2.5.4
3785 Bison for Windows: V2.4.1
3786
3787----------------------------------------
378815 February 2012. Summary of changes for version 20120215:
3789
3790
37911) ACPICA Core Subsystem:
3792
3793There have been some major changes to the sleep/wake support code, as
3794described below (a - e).
3795
3796a) The AcpiLeaveSleepState has been split into two interfaces, similar to
3797AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
3798AcpiLeaveSleepStatePrep. This allows the host to perform actions between
3799the
3800time the _BFS method is called and the _WAK method is called. NOTE: all
3801hosts
3802must update their wake/resume code or else sleep/wake will not work
3803properly.
3804Rafael Wysocki.
3805
3806b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
3807_WAK
3808method. Some machines require that the GPEs are enabled before the _WAK
3809method
3810is executed. Thomas Renninger.
3811
3812c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
3813bit.
3814Some BIOS code assumes that WAK_STS will be cleared on resume and use it
3815to
3816determine whether the system is rebooting or resuming. Matthew Garrett.
3817
3818d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
3819Sleep) to
3820match the ACPI specification requirement. Rafael Wysocki.
3821
3822e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
3823registers within the V5 FADT. This support adds two new files:
3824hardware/hwesleep.c implements the support for the new registers. Moved
3825all
3826sleep/wake external interfaces to hardware/hwxfsleep.c.
3827
3828
3829Added a new OSL interface for ACPI table overrides,
3830AcpiOsPhysicalTableOverride. This interface allows the host to override a
3831table via a physical address, instead of the logical address required by
3832AcpiOsTableOverride. This simplifies the host implementation. Initial
3833implementation by Thomas Renninger. The ACPICA implementation creates a
3834single
3835shared function for table overrides that attempts both a logical and a
3836physical override.
3837
3838Expanded the OSL memory read/write interfaces to 64-bit data
3839(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
3840transfer support for GAS register structures passed to AcpiRead and
3841AcpiWrite.
3842
3843Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
3844custom
3845build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
3846model.
3847See the ACPICA reference for details. ACPICA BZ 942. This option removes
3848about
384910% of the code and 5% of the static data, and the following hardware
3850ACPI
3851features become unavailable:
3852 PM Event and Control registers
3853 SCI interrupt (and handler)
3854 Fixed Events
3855 General Purpose Events (GPEs)
3856 Global Lock
3857 ACPI PM timer
3858 FACS table (Waking vectors and Global Lock)
3859
3860Updated the unix tarball directory structure to match the ACPICA git
3861source
3862tree. This ensures that the generic unix makefiles work properly (in
3863generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
3864867.
3865
3866Updated the return value of the _REV predefined method to integer value 5
3867to
3868reflect ACPI 5.0 support.
3869
3870Moved the external ACPI PM timer interface prototypes to the public
3871acpixf.h
3872file where they belong.
3873
3874Example Code and Data Size: These are the sizes for the OS-independent
3875acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3876debug
3877version of the code includes the debug output trace mechanism and has a
3878much
3879larger code and data size.
3880
3881 Previous Release:
3882 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
3883 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
3884 Current Release:
3885 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
3886 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
3887
3888
38892) iASL Compiler/Disassembler and Tools:
3890
3891Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
3892descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
3893incorrectly displayed.
3894
3895AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
3896specification.
3897
3898----------------------------------------
389911 January 2012. Summary of changes for version 20120111:
3900
3901
39021) ACPICA Core Subsystem:
3903
3904Implemented a new mechanism to allow host device drivers to check for
3905address
3906range conflicts with ACPI Operation Regions. Both SystemMemory and
3907SystemIO
3908address spaces are supported. A new external interface,
3909AcpiCheckAddressRange,
3910allows drivers to check an address range against the ACPI namespace. See
3911the
3912ACPICA reference for additional details. Adds one new file,
3913utilities/utaddress.c. Lin Ming, Bob Moore.
3914
3915Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
3916Control
3917and
3918Status registers, update the ACPI 5.0 flags, and update internal data
3919structures to handle an FADT larger than 256 bytes. The size of the ACPI
39205.0
3921FADT is 268 bytes.
3922
3923Updated all ACPICA copyrights and signons to 2012. Added the 2012
3924copyright to
3925all module headers and signons, including the standard Linux header. This
3926affects virtually every file in the ACPICA core subsystem, iASL compiler,
3927and
3928all ACPICA utilities.
3929
3930Example Code and Data Size: These are the sizes for the OS-independent
3931acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3932debug
3933version of the code includes the debug output trace mechanism and has a
3934much
3935larger code and data size.
3936
3937 Previous Release:
3938 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
3939 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
3940 Current Release:
3941 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
3942 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
3943
3944
39452) iASL Compiler/Disassembler and Tools:
3946
3947Disassembler: fixed a problem with the automatic resource tag generation
3948support. Fixes a problem where the resource tags are inadvertently not
3949constructed if the table being disassembled contains external references
3950to
3951control methods. Moved the actual construction of the tags to after the
3952final
3953namespace is constructed (after 2nd parse is invoked due to external
3954control
3955method references.) ACPICA BZ 941.
3956
3957Table Compiler: Make all "generic" operators caseless. These are the
3958operators
3959like UINT8, String, etc. Making these caseless improves ease-of-use.
3960ACPICA BZ
3961934.
3962
3963----------------------------------------
396423 November 2011. Summary of changes for version 20111123:
3965
39660) ACPI 5.0 Support:
3967
3968This release contains full support for the ACPI 5.0 specification, as
3969summarized below.
3970
3971Reduced Hardware Support:
3972-------------------------
3973
3974This support allows for ACPI systems without the usual ACPI hardware.
3975This
3976support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
3977will
3978not attempt to initialize or use any of the usual ACPI hardware. Note,
3979when
3980this flag is set, all of the following ACPI hardware is assumed to be not
3981present and is not initialized or accessed:
3982
3983 General Purpose Events (GPEs)
3984 Fixed Events (PM1a/PM1b and PM Control)
3985 Power Management Timer and Console Buttons (power/sleep)
3986 Real-time Clock Alarm
3987 Global Lock
3988 System Control Interrupt (SCI)
3989 The FACS is assumed to be non-existent
3990
3991ACPI Tables:
3992------------
3993
3994All new tables and updates to existing tables are fully supported in the
3995ACPICA headers (for use by device drivers), the disassembler, and the
3996iASL
3997Data Table Compiler. ACPI 5.0 defines these new tables:
3998
3999 BGRT /* Boot Graphics Resource Table */
4000 DRTM /* Dynamic Root of Trust for Measurement table */
4001 FPDT /* Firmware Performance Data Table */
4002 GTDT /* Generic Timer Description Table */
4003 MPST /* Memory Power State Table */
4004 PCCT /* Platform Communications Channel Table */
4005 PMTT /* Platform Memory Topology Table */
4006 RASF /* RAS Feature table */
4007
4008Operation Regions/SpaceIDs:
4009---------------------------
4010
4011All new operation regions are fully supported by the iASL compiler, the
4012disassembler, and the ACPICA runtime code (for dispatch to region
4013handlers.)
4014The new operation region Space IDs are:
4015
4016 GeneralPurposeIo
4017 GenericSerialBus
4018
4019Resource Descriptors:
4020---------------------
4021
4022All new ASL resource descriptors are fully supported by the iASL
4023compiler,
4024the
4025ASL/AML disassembler, and the ACPICA runtime Resource Manager code
4026(including
4027all new predefined resource tags). New descriptors are:
4028
4029 FixedDma
4030 GpioIo
4031 GpioInt
4032 I2cSerialBus
4033 SpiSerialBus
4034 UartSerialBus
4035
4036ASL/AML Operators, New and Modified:
4037------------------------------------
4038
4039One new operator is added, the Connection operator, which is used to
4040associate
4041a GeneralPurposeIo or GenericSerialBus resource descriptor with
4042individual
4043field objects within an operation region. Several new protocols are
4044associated
4045with the AccessAs operator. All are fully supported by the iASL compiler,
4046disassembler, and runtime ACPICA AML interpreter:
4047
4048 Connection // Declare Field Connection
4049attributes
4050 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
4051 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
4052Protocol
4053 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
4054 RawDataBuffer // Data type for Vendor Data
4055fields
4056
4057Predefined ASL/AML Objects:
4058---------------------------
4059
4060All new predefined objects/control-methods are supported by the iASL
4061compiler
4062and the ACPICA runtime validation/repair (arguments and return values.)
4063New
4064predefined names include the following:
4065
4066Standard Predefined Names (Objects or Control Methods):
4067 _AEI, _CLS, _CPC, _CWS, _DEP,
4068 _DLM, _EVT, _GCP, _CRT, _GWS,
4069 _HRV, _PRE, _PSE, _SRT, _SUB.
4070
4071Resource Tags (Names used to access individual fields within resource
4072descriptors):
4073 _DBT, _DPL, _DRS, _END, _FLC,
4074 _IOR, _LIN, _MOD, _PAR, _PHA,
4075 _PIN, _PPI, _POL, _RXL, _SLV,
4076 _SPE, _STB, _TXL, _VEN.
4077
4078ACPICA External Interfaces:
4079---------------------------
4080
4081Several new interfaces have been defined for use by ACPI-related device
4082drivers and other host OS services:
4083
4084AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
4085to
4086acquire and release AML mutexes that are defined in the DSDT/SSDT tables
4087provided by the BIOS. They are intended to be used in conjunction with
4088the
4089ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
4090mutual exclusion with the AML code/interpreter.
4091
4092AcpiGetEventResources: Returns the (formatted) resource descriptors as
4093defined
4094by the ACPI 5.0 _AEI object (ACPI Event Information). This object
4095provides
4096resource descriptors associated with hardware-reduced platform events,
4097similar
4098to the AcpiGetCurrentResources interface.
4099
4100Operation Region Handlers: For General Purpose IO and Generic Serial Bus
4101operation regions, information about the Connection() object and any
4102optional
4103length information is passed to the region handler within the Context
4104parameter.
4105
4106AcpiBufferToResource: This interface converts a raw AML buffer containing
4107a
4108resource template or resource descriptor to the ACPI_RESOURCE internal
4109format
4110suitable for use by device drivers. Can be used by an operation region
4111handler
4112to convert the Connection() buffer object into a ACPI_RESOURCE.
4113
4114Miscellaneous/Tools/TestSuites:
4115-------------------------------
4116
4117Support for extended _HID names (Four alpha characters instead of three).
4118Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
4119Support for ACPI 5.0 features in the ASLTS test suite.
4120Fully updated documentation (ACPICA and iASL reference documents.)
4121
4122ACPI Table Definition Language:
4123-------------------------------
4124
4125Support for this language was implemented and released as a subsystem of
4126the
4127iASL compiler in 2010. (See the iASL compiler User Guide.)
4128
4129
4130Non-ACPI 5.0 changes for this release:
4131--------------------------------------
4132
41331) ACPICA Core Subsystem:
4134
4135Fix a problem with operation region declarations where a failure can
4136occur
4137if
4138the region name and an argument that evaluates to an object (such as the
4139region address) are in different namespace scopes. Lin Ming, ACPICA BZ
4140937.
4141
4142Do not abort an ACPI table load if an invalid space ID is found within.
4143This
4144will be caught later if the offending method is executed. ACPICA BZ 925.
4145
4146Fixed an issue with the FFixedHW space ID where the ID was not always
4147recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
4148
4149Fixed a problem with the 32-bit generation of the unix-specific OSL
4150(osunixxf.c). Lin Ming, ACPICA BZ 936.
4151
4152Several changes made to enable generation with the GCC 4.6 compiler.
4153ACPICA BZ
4154935.
4155
4156New error messages: Unsupported I/O requests (not 8/16/32 bit), and
4157Index/Bank
4158field registers out-of-range.
4159
41602) iASL Compiler/Disassembler and Tools:
4161
4162iASL: Implemented the __PATH__ operator, which returns the full pathname
4163of
4164the current source file.
4165
4166AcpiHelp: Automatically display expanded keyword information for all ASL
4167operators.
4168
4169Debugger: Add "Template" command to disassemble/dump resource template
4170buffers.
4171
4172Added a new master script to generate and execute the ASLTS test suite.
4173Automatically handles 32- and 64-bit generation. See tests/aslts.sh
4174
4175iASL: Fix problem with listing generation during processing of the
4176Switch()
4177operator where AML listing was disabled until the entire Switch block was
4178completed.
4179
4180iASL: Improve support for semicolon statement terminators. Fix "invalid
4181character" message for some cases when the semicolon is used. Semicolons
4182are
4183now allowed after every <Term> grammar element. ACPICA BZ 927.
4184
4185iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
4186923.
4187
4188Disassembler: Fix problem with disassembly of the DataTableRegion
4189operator
4190where an inadvertent "Unhandled deferred opcode" message could be
4191generated.
4192
41933) Example Code and Data Size
4194
4195These are the sizes for the OS-independent acpica.lib produced by the
4196Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
4197includes the debug output trace mechanism and has a much larger code and
4198data
4199size.
4200
4201 Previous Release:
4202 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4203 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4204 Current Release:
4205 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
4206 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
4207
4208----------------------------------------
420922 September 2011. Summary of changes for version 20110922:
4210
42110) ACPI 5.0 News:
4212
4213Support for ACPI 5.0 in ACPICA has been underway for several months and
4214will
4215be released at the same time that ACPI 5.0 is officially released.
4216
4217The ACPI 5.0 specification is on track for release in the next few
4218months.
4219
42201) ACPICA Core Subsystem:
4221
4222Fixed a problem where the maximum sleep time for the Sleep() operator was
4223intended to be limited to two seconds, but was inadvertently limited to
422420
4225seconds instead.
4226
4227Linux and Unix makefiles: Added header file dependencies to ensure
4228correct
4229generation of ACPICA core code and utilities. Also simplified the
4230makefiles
4231considerably through the use of the vpath variable to specify search
4232paths.
4233ACPICA BZ 924.
4234
42352) iASL Compiler/Disassembler and Tools:
4236
4237iASL: Implemented support to check the access length for all fields
4238created to
4239access named Resource Descriptor fields. For example, if a resource field
4240is
4241defined to be two bits, a warning is issued if a CreateXxxxField() is
4242used
4243with an incorrect bit length. This is implemented for all current
4244resource
4245descriptor names. ACPICA BZ 930.
4246
4247Disassembler: Fixed a byte ordering problem with the output of 24-bit and
424856-
4249bit integers.
4250
4251iASL: Fixed a couple of issues associated with variable-length package
4252objects. 1) properly handle constants like One, Ones, Zero -- do not make
4253a
4254VAR_PACKAGE when these are used as a package length. 2) Allow the
4255VAR_PACKAGE
4256opcode (in addition to PACKAGE) when validating object types for
4257predefined
4258names.
4259
4260iASL: Emit statistics for all output files (instead of just the ASL input
4261and
4262AML output). Includes listings, hex files, etc.
4263
4264iASL: Added -G option to the table compiler to allow the compilation of
4265custom
4266ACPI tables. The only part of a table that is required is the standard
426736-
4268byte
4269ACPI header.
4270
4271AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
4272headers),
4273which also adds correct 64-bit support. Also, now all output filenames
4274are
4275completely lower case.
4276
4277AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
4278loading table files. A warning is issued for any such tables. The only
4279exception is an FADT. This also fixes a possible fault when attempting to
4280load
4281non-AML tables. ACPICA BZ 932.
4282
4283AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
4284a
4285missing table terminator could cause a fault when using the -p option.
4286
4287AcpiSrc: Fixed a possible divide-by-zero fault when generating file
4288statistics.
4289
42903) Example Code and Data Size
4291
4292These are the sizes for the OS-independent acpica.lib produced by the
4293Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
4294includes the debug output trace mechanism and has a much larger code and
4295data
4296size.
4297
4298 Previous Release (VC 9.0):
4299 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4300 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4301 Current Release (VC 9.0):
4302 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4303 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4304
4305
4306----------------------------------------
430723 June 2011. Summary of changes for version 20110623:
4308
43091) ACPI CA Core Subsystem:
4310
4311Updated the predefined name repair mechanism to not attempt repair of a
4312_TSS
4313return object if a _PSS object is present. We can only sort the _TSS
4314return
4315package if there is no _PSS within the same scope. This is because if
4316_PSS
4317is
4318present, the ACPI specification dictates that the _TSS Power Dissipation
4319field
4320is to be ignored, and therefore some BIOSs leave garbage values in the
4321_TSS
4322Power field(s). In this case, it is best to just return the _TSS package
4323as-
4324is. Reported by, and fixed with assistance from Fenghua Yu.
4325
4326Added an option to globally disable the control method return value
4327validation
4328and repair. This runtime option can be used to disable return value
4329repair
4330if
4331this is causing a problem on a particular machine. Also added an option
4332to
4333AcpiExec (-dr) to set this disable flag.
4334
4335All makefiles and project files: Major changes to improve generation of
4336ACPICA
4337tools. ACPICA BZ 912:
4338 Reduce default optimization levels to improve compatibility
4339 For Linux, add strict-aliasing=0 for gcc 4
4340 Cleanup and simplify use of command line defines
4341 Cleanup multithread library support
4342 Improve usage messages
4343
4344Linux-specific header: update handling of THREAD_ID and pthread. For the
434532-
4346bit case, improve casting to eliminate possible warnings, especially with
4347the
4348acpica tools.
4349
4350Example Code and Data Size: These are the sizes for the OS-independent
4351acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4352debug
4353version of the code includes the debug output trace mechanism and has a
4354much
4355larger code and data size.
4356
4357 Previous Release (VC 9.0):
4358 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
4359 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4360 Current Release (VC 9.0):
4361 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4362 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4363
43642) iASL Compiler/Disassembler and Tools:
4365
4366With this release, a new utility named "acpihelp" has been added to the
4367ACPICA
4368package. This utility summarizes the ACPI specification chapters for the
4369ASL
4370and AML languages. It generates under Linux/Unix as well as Windows, and
4371provides the following functionality:
4372 Find/display ASL operator(s) -- with description and syntax.
4373 Find/display ASL keyword(s) -- with exact spelling and descriptions.
4374 Find/display ACPI predefined name(s) -- with description, number
4375 of arguments, and the return value data type.
4376 Find/display AML opcode name(s) -- with opcode, arguments, and
4377grammar.
4378 Decode/display AML opcode -- with opcode name, arguments, and
4379grammar.
4380
4381Service Layers: Make multi-thread support configurable. Conditionally
4382compile
4383the multi-thread support so that threading libraries will not be linked
4384if
4385not
4386necessary. The only tool that requires multi-thread support is AcpiExec.
4387
4388iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
4389of
4390Bison appear to want the interface to yyerror to be a const char * (or at
4391least this is a problem when generating iASL on some systems.) ACPICA BZ
4392923
4393Pierre Lejeune.
4394
4395Tools: Fix for systems where O_BINARY is not defined. Only used for
4396Windows
4397versions of the tools.
4398
4399----------------------------------------
440027 May 2011. Summary of changes for version 20110527:
4401
44021) ACPI CA Core Subsystem:
4403
4404ASL Load() operator: Reinstate most restrictions on the incoming ACPI
4405table
4406signature. Now, only allow SSDT, OEMx, and a null signature. History:
4407 1) Originally, we checked the table signature for "SSDT" or "PSDT".
4408 (PSDT is now obsolete.)
4409 2) We added support for OEMx tables, signature "OEM" plus a fourth
4410 "don't care" character.
4411 3) Valid tables were encountered with a null signature, so we just
4412 gave up on validating the signature, (05/2008).
4413 4) We encountered non-AML tables such as the MADT, which caused
4414 interpreter errors and kernel faults. So now, we once again allow
4415 only SSDT, OEMx, and now, also a null signature. (05/2011).
4416
4417Added the missing _TDL predefined name to the global name list in order
4418to
4419enable validation. Affects both the core ACPICA code and the iASL
4420compiler.
4421
4422Example Code and Data Size: These are the sizes for the OS-independent
4423acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4424debug
4425version of the code includes the debug output trace mechanism and has a
4426much
4427larger code and data size.
4428
4429 Previous Release (VC 9.0):
4430 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
4431 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
4432 Current Release (VC 9.0):
4433 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
4434 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4435
44362) iASL Compiler/Disassembler and Tools:
4437
4438Debugger/AcpiExec: Implemented support for "complex" method arguments on
4439the
4440debugger command line. This adds support beyond simple integers --
4441including
4442Strings, Buffers, and Packages. Includes support for nested packages.
4443Increased the default command line buffer size to accommodate these
4444arguments.
4445See the ACPICA reference for details and syntax. ACPICA BZ 917.
4446
4447Debugger/AcpiExec: Implemented support for "default" method arguments for
4448the
4449Execute/Debug command. Now, the debugger will always invoke a control
4450method
4451with the required number of arguments -- even if the command line
4452specifies
4453none or insufficient arguments. It uses default integer values for any
4454missing
4455arguments. Also fixes a bug where only six method arguments maximum were
4456supported instead of the required seven.
4457
4458Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
4459and
4460also return status in order to prevent buffer overruns. See the ACPICA
4461reference for details and syntax. ACPICA BZ 921
4462
4463iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
4464makefiles to simplify support for the two different but similar parser
4465generators, bison and yacc.
4466
4467Updated the generic unix makefile for gcc 4. The default gcc version is
4468now
4469expected to be 4 or greater, since options specific to gcc 4 are used.
4470
4471----------------------------------------
447213 April 2011. Summary of changes for version 20110413:
4473
44741) ACPI CA Core Subsystem:
4475
4476Implemented support to execute a so-called "orphan" _REG method under the
4477EC
4478device. This change will force the execution of a _REG method underneath
4479the
4480EC
4481device even if there is no corresponding operation region of type
4482EmbeddedControl. Fixes a problem seen on some machines and apparently is
4483compatible with Windows behavior. ACPICA BZ 875.
4484
4485Added more predefined methods that are eligible for automatic NULL
4486package
4487element removal. This change adds another group of predefined names to
4488the
4489list
4490of names that can be repaired by having NULL package elements dynamically
4491removed. This group are those methods that return a single variable-
4492length
4493package containing simple data types such as integers, buffers, strings.
4494This
4495includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
4496_PSL,
4497_Sx,
4498and _TZD. ACPICA BZ 914.
4499
4500Split and segregated all internal global lock functions to a new file,
4501evglock.c.
4502
4503Updated internal address SpaceID for DataTable regions. Moved this
4504internal
4505space
4506id in preparation for ACPI 5.0 changes that will include some new space
4507IDs.
4508This
4509change should not affect user/host code.
4510
4511Example Code and Data Size: These are the sizes for the OS-independent
4512acpica.lib
4513produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
4514version of
4515the code includes the debug output trace mechanism and has a much larger
4516code
4517and
4518data size.
4519
4520 Previous Release (VC 9.0):
4521 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
4522 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
4523 Current Release (VC 9.0):
4524 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
4525 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
4526
45272) iASL Compiler/Disassembler and Tools:
4528
4529iASL/DTC: Major update for new grammar features. Allow generic data types
4530in
4531custom ACPI tables. Field names are now optional. Any line can be split
4532to
4533multiple lines using the continuation char (\). Large buffers now use
4534line-
4535continuation character(s) and no colon on the continuation lines. See the
4536grammar
4537update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
4538Moore.
4539
4540iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
4541statements.
4542Since the parser stuffs a "zero" as the return value for these statements
4543(due
4544to
4545the underlying AML grammar), they were seen as "return with value" by the
4546iASL
4547semantic checking. They are now seen correctly as "null" return
4548statements.
4549
4550iASL: Check if a_REG declaration has a corresponding Operation Region.
4551Adds a
4552check for each _REG to ensure that there is in fact a corresponding
4553operation
4554region declaration in the same scope. If not, the _REG method is not very
4555useful
4556since it probably won't be executed. ACPICA BZ 915.
4557
4558iASL/DTC: Finish support for expression evaluation. Added a new
4559expression
4560parser
4561that implements c-style operator precedence and parenthesization. ACPICA
4562bugzilla
4563908.
4564
4565Disassembler/DTC: Remove support for () and <> style comments in data
4566tables.
4567Now
4568that DTC has full expression support, we don't want to have comment
4569strings
4570that
4571start with a parentheses or a less-than symbol. Now, only the standard /*
4572and
4573//
4574comments are supported, as well as the bracket [] comments.
4575
4576AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
4577"unusual"
4578headers in the acpidump file. Update the header validation to support
4579these
4580tables. Problem introduced in previous AcpiXtract version in the change
4581to
4582support "wrong checksum" error messages emitted by acpidump utility.
4583
4584iASL: Add a * option to generate all template files (as a synonym for
4585ALL)
4586as
4587in
4588"iasl -T *" or "iasl -T ALL".
4589
4590iASL/DTC: Do not abort compiler on fatal errors. We do not want to
4591completely
4592abort the compiler on "fatal" errors, simply should abort the current
4593compile.
4594This allows multiple compiles with a single (possibly wildcard) compiler
4595invocation.
4596
4597----------------------------------------
459816 March 2011. Summary of changes for version 20110316:
4599
46001) ACPI CA Core Subsystem:
4601
4602Fixed a problem caused by a _PRW method appearing at the namespace root
4603scope
4604during the setup of wake GPEs. A fault could occur if a _PRW directly
4605under
4606the
4607root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
4608
4609Implemented support for "spurious" Global Lock interrupts. On some
4610systems, a
4611global lock interrupt can occur without the pending flag being set. Upon
4612a
4613GL
4614interrupt, we now ensure that a thread is actually waiting for the lock
4615before
4616signaling GL availability. Rafael Wysocki, Bob Moore.
4617
4618Example Code and Data Size: These are the sizes for the OS-independent
4619acpica.lib
4620produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
4621version of
4622the code includes the debug output trace mechanism and has a much larger
4623code
4624and
4625data size.
4626
4627 Previous Release (VC 9.0):
4628 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4629 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4630 Current Release (VC 9.0):
4631 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
4632 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
4633
46342) iASL Compiler/Disassembler and Tools:
4635
4636Implemented full support for the "SLIC" ACPI table. Includes support in
4637the
4638header files, disassembler, table compiler, and template generator. Bob
4639Moore,
4640Lin Ming.
4641
4642AcpiXtract: Correctly handle embedded comments and messages from
4643AcpiDump.
4644Apparently some or all versions of acpidump will occasionally emit a
4645comment
4646like
4647"Wrong checksum", etc., into the dump file. This was causing problems for
4648AcpiXtract. ACPICA BZ 905.
4649
4650iASL: Fix the Linux makefile by removing an inadvertent double file
4651inclusion.
4652ACPICA BZ 913.
4653
4654AcpiExec: Update installation of operation region handlers. Install one
4655handler
4656for a user-defined address space. This is used by the ASL test suite
4657(ASLTS).
4658
4659----------------------------------------
466011 February 2011. Summary of changes for version 20110211:
4661
46621) ACPI CA Core Subsystem:
4663
4664Added a mechanism to defer _REG methods for some early-installed
4665handlers.
4666Most user handlers should be installed before call to
4667AcpiEnableSubsystem.
4668However, Event handlers and region handlers should be installed after
4669AcpiInitializeObjects. Override handlers for the "default" regions should
4670be
4671installed early, however. This change executes all _REG methods for the
4672default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
4673chicken/egg issues between them. ACPICA BZ 848.
4674
4675Implemented an optimization for GPE detection. This optimization will
4676simply
4677ignore GPE registers that contain no enabled GPEs -- there is no need to
4678read the register since this information is available internally. This
4679becomes more important on machines with a large GPE space. ACPICA
4680bugzilla
4681884. Lin Ming. Suggestion from Joe Liu.
4682
4683Removed all use of the highly unreliable FADT revision field. The
4684revision
4685number in the FADT has been found to be completely unreliable and cannot
4686be
4687trusted. Only the actual table length can be used to infer the version.
4688This
4689change updates the ACPICA core and the disassembler so that both no
4690longer
4691even look at the FADT version and instead depend solely upon the FADT
4692length.
4693
4694Fix an unresolved name issue for the no-debug and no-error-message source
4695generation cases. The _AcpiModuleName was left undefined in these cases,
4696but
4697it is actually needed as a parameter to some interfaces. Define
4698_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
4699
4700Split several large files (makefiles and project files updated)
4701 utglobal.c -> utdecode.c
4702 dbcomds.c -> dbmethod.c dbnames.c
4703 dsopcode.c -> dsargs.c dscontrol.c
4704 dsload.c -> dsload2.c
4705 aslanalyze.c -> aslbtypes.c aslwalks.c
4706
4707Example Code and Data Size: These are the sizes for the OS-independent
4708acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4709debug version of the code includes the debug output trace mechanism and
4710has
4711a much larger code and data size.
4712
4713 Previous Release (VC 9.0):
4714 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4715 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4716 Current Release (VC 9.0):
4717 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4718 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4719
47202) iASL Compiler/Disassembler and Tools:
4721
4722iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
4723These are useful C-style macros with the standard definitions. ACPICA
4724bugzilla 898.
4725
4726iASL/DTC: Added support for integer expressions and labels. Support for
4727full
4728expressions for all integer fields in all ACPI tables. Support for labels
4729in
4730"generic" portions of tables such as UEFI. See the iASL reference manual.
4731
4732Debugger: Added a command to display the status of global handlers. The
4733"handlers" command will display op region, fixed event, and miscellaneous
4734global handlers. installation status -- and for op regions, whether
4735default
4736or user-installed handler will be used.
4737
4738iASL: Warn if reserved method incorrectly returns a value. Many
4739predefined
4740names are defined such that they do not return a value. If implemented as
4741a
4742method, issue a warning if such a name explicitly returns a value. ACPICA
4743Bugzilla 855.
4744
4745iASL: Added detection of GPE method name conflicts. Detects a conflict
4746where
4747there are two GPE methods of the form _Lxy and _Exy in the same scope.
4748(For
4749example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
4750
4751iASL/DTC: Fixed a couple input scanner issues with comments and line
4752numbers. Comment remover could get confused and miss a comment ending.
4753Fixed
4754a problem with line counter maintenance.
4755
4756iASL/DTC: Reduced the severity of some errors from fatal to error. There
4757is
4758no need to abort on simple errors within a field definition.
4759
4760Debugger: Simplified the output of the help command. All help output now
4761in
4762a single screen, instead of help subcommands. ACPICA Bugzilla 897.
4763
4764----------------------------------------
476512 January 2011. Summary of changes for version 20110112:
4766
47671) ACPI CA Core Subsystem:
4768
4769Fixed a race condition between method execution and namespace walks that
4770can
4771possibly cause a fault. The problem was apparently introduced in version
477220100528 as a result of a performance optimization that reduces the
4773number
4774of
4775namespace walks upon method exit by using the delete_namespace_subtree
4776function instead of the delete_namespace_by_owner function used
4777previously.
4778Bug is a missing namespace lock in the delete_namespace_subtree function.
4779dana.myers@oracle.com
4780
4781Fixed several issues and a possible fault with the automatic "serialized"
4782method support. History: This support changes a method to "serialized" on
4783the
4784fly if the method generates an AE_ALREADY_EXISTS error, indicating the
4785possibility that it cannot handle reentrancy. This fix repairs a couple
4786of
4787issues seen in the field, especially on machines with many cores:
4788
4789 1) Delete method children only upon the exit of the last thread,
4790 so as to not delete objects out from under other running threads
4791 (and possibly causing a fault.)
4792 2) Set the "serialized" bit for the method only upon the exit of the
4793 Last thread, so as to not cause deadlock when running threads
4794 attempt to exit.
4795 3) Cleanup the use of the AML "MethodFlags" and internal method flags
4796 so that there is no longer any confusion between the two.
4797
4798 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
4799
4800Debugger: Now lock the namespace for duration of a namespace dump.
4801Prevents
4802issues if the namespace is changing dynamically underneath the debugger.
4803Especially affects temporary namespace nodes, since the debugger displays
4804these also.
4805
4806Updated the ordering of include files. The ACPICA headers should appear
4807before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
4808set
4809any necessary compiler-specific defines, etc. Affects the ACPI-related
4810tools
4811and utilities.
4812
4813Updated all ACPICA copyrights and signons to 2011. Added the 2011
4814copyright
4815to all module headers and signons, including the Linux header. This
4816affects
4817virtually every file in the ACPICA core subsystem, iASL compiler, and all
4818utilities.
4819
4820Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
4821project files for VC++ 6.0 are now obsolete. New project files can be
4822found
4823under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
4824details.
4825
4826Example Code and Data Size: These are the sizes for the OS-independent
4827acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4828debug version of the code includes the debug output trace mechanism and
4829has a
4830much larger code and data size.
4831
4832 Previous Release (VC 6.0):
4833 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
4834 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
4835 Current Release (VC 9.0):
4836 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
4837 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
4838
48392) iASL Compiler/Disassembler and Tools:
4840
4841iASL: Added generic data types to the Data Table compiler. Add "generic"
4842data
4843types such as UINT32, String, Unicode, etc., to simplify the generation
4844of
4845platform-defined tables such as UEFI. Lin Ming.
4846
4847iASL: Added listing support for the Data Table Compiler. Adds listing
4848support
4849(-l) to display actual binary output for each line of input code.
4850
4851----------------------------------------
485209 December 2010. Summary of changes for version 20101209:
4853
48541) ACPI CA Core Subsystem:
4855
4856Completed the major overhaul of the GPE support code that was begun in
4857July
48582010. Major features include: removal of _PRW execution in ACPICA (host
4859executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
4860changes to existing interfaces, simplification of GPE handler operation,
4861and
4862a handful of new interfaces:
4863
4864 AcpiUpdateAllGpes
4865 AcpiFinishGpe
4866 AcpiSetupGpeForWake
4867 AcpiSetGpeWakeMask
4868 One new file, evxfgpe.c to consolidate all external GPE interfaces.
4869
4870See the ACPICA Programmer Reference for full details and programming
4871information. See the new section 4.4 "General Purpose Event (GPE)
4872Support"
4873for a full overview, and section 8.7 "ACPI General Purpose Event
4874Management"
4875for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
4876Ming,
4877Bob Moore, Rafael Wysocki.
4878
4879Implemented a new GPE feature for Windows compatibility, the "Implicit
4880Wake
4881GPE Notify". This feature will automatically issue a Notify(2) on a
4882device
4883when a Wake GPE is received if there is no corresponding GPE method or
4884handler. ACPICA BZ 870.
4885
4886Fixed a problem with the Scope() operator during table parse and load
4887phase.
4888During load phase (table load or method execution), the scope operator
4889should
4890not enter the target into the namespace. Instead, it should open a new
4891scope
4892at the target location. Linux BZ 19462, ACPICA BZ 882.
4893
4894Example Code and Data Size: These are the sizes for the OS-independent
4895acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4896debug version of the code includes the debug output trace mechanism and
4897has a
4898much larger code and data size.
4899
4900 Previous Release:
4901 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
4902 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
4903 Current Release:
4904 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4905 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4906
49072) iASL Compiler/Disassembler and Tools:
4908
4909iASL: Relax the alphanumeric restriction on _CID strings. These strings
4910are
4911"bus-specific" per the ACPI specification, and therefore any characters
4912are
4913acceptable. The only checks that can be performed are for a null string
4914and
4915perhaps for a leading asterisk. ACPICA BZ 886.
4916
4917iASL: Fixed a problem where a syntax error that caused a premature EOF
4918condition on the source file emitted a very confusing error message. The
4919premature EOF is now detected correctly. ACPICA BZ 891.
4920
4921Disassembler: Decode the AccessSize within a Generic Address Structure
4922(byte
4923access, word access, etc.) Note, this field does not allow arbitrary bit
4924access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
4925
4926New: AcpiNames utility - Example namespace dump utility. Shows an example
4927of
4928ACPICA configuration for a minimal namespace dump utility. Uses table and
4929namespace managers, but no AML interpreter. Does not add any
4930functionality
4931over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
4932partition and configure ACPICA. ACPICA BZ 883.
4933
4934AML Debugger: Increased the debugger buffer size for method return
4935objects.
4936Was 4K, increased to 16K. Also enhanced error messages for debugger
4937method
4938execution, including the buffer overflow case.
4939
4940----------------------------------------
494113 October 2010. Summary of changes for version 20101013:
4942
49431) ACPI CA Core Subsystem:
4944
4945Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
4946now
4947clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
4948HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
4949
4950Changed the type of the predefined namespace object _TZ from ThermalZone
4951to
4952Device. This was found to be confusing to the host software that
4953processes
4954the various thermal zones, since _TZ is not really a ThermalZone.
4955However,
4956a
4957Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
4958Zhang.
4959
4960Added Windows Vista SP2 to the list of supported _OSI strings. The actual
4961string is "Windows 2006 SP2".
4962
4963Eliminated duplicate code in AcpiUtExecute* functions. Now that the
4964nsrepair
4965code automatically repairs _HID-related strings, this type of code is no
4966longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
4967878.
4968
4969Example Code and Data Size: These are the sizes for the OS-independent
4970acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4971debug version of the code includes the debug output trace mechanism and
4972has a
4973much larger code and data size.
4974
4975 Previous Release:
4976 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4977 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4978 Current Release:
4979 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
4980 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
4981
49822) iASL Compiler/Disassembler and Tools:
4983
4984iASL: Implemented additional compile-time validation for _HID strings.
4985The
4986non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
4987length
4988of
4989the string must be exactly seven or eight characters. For both _HID and
4990_CID
4991strings, all characters must be alphanumeric. ACPICA BZ 874.
4992
4993iASL: Allow certain "null" resource descriptors. Some BIOS code creates
4994descriptors that are mostly or all zeros, with the expectation that they
4995will
4996be filled in at runtime. iASL now allows this as long as there is a
4997"resource
4998tag" (name) associated with the descriptor, which gives the ASL a handle
4999needed to modify the descriptor. ACPICA BZ 873.
5000
5001Added single-thread support to the generic Unix application OSL.
5002Primarily
5003for iASL support, this change removes the use of semaphores in the
5004single-
5005threaded ACPICA tools/applications - increasing performance. The
5006_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
5007option. ACPICA BZ 879.
5008
5009AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
5010support
5011for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
5012
5013iASL: Moved all compiler messages to a new file, aslmessages.h.
5014
5015----------------------------------------
501615 September 2010. Summary of changes for version 20100915:
5017
50181) ACPI CA Core Subsystem:
5019
5020Removed the AcpiOsDerivePciId OSL interface. The various host
5021implementations
5022of this function were not OS-dependent and are now obsolete and can be
5023removed from all host OSLs. This function has been replaced by
5024AcpiHwDerivePciId, which is now part of the ACPICA core code.
5025AcpiHwDerivePciId has been implemented without recursion. Adds one new
5026module, hwpci.c. ACPICA BZ 857.
5027
5028Implemented a dynamic repair for _HID and _CID strings. The following
5029problems are now repaired at runtime: 1) Remove a leading asterisk in the
5030string, and 2) the entire string is uppercased. Both repairs are in
5031accordance with the ACPI specification and will simplify host driver
5032code.
5033ACPICA BZ 871.
5034
5035The ACPI_THREAD_ID type is no longer configurable, internally it is now
5036always UINT64. This simplifies the ACPICA code, especially any printf
5037output.
5038UINT64 is the only common data type for all thread_id types across all
5039operating systems. It is now up to the host OSL to cast the native
5040thread_id
5041type to UINT64 before returning the value to ACPICA (via
5042AcpiOsGetThreadId).
5043Lin Ming, Bob Moore.
5044
5045Added the ACPI_INLINE type to enhance the ACPICA configuration. The
5046"inline"
5047keyword is not standard across compilers, and this type allows inline to
5048be
5049configured on a per-compiler basis. Lin Ming.
5050
5051Made the system global AcpiGbl_SystemAwakeAndRunning publically
5052available.
5053Added an extern for this boolean in acpixf.h. Some hosts utilize this
5054value
5055during suspend/restore operations. ACPICA BZ 869.
5056
5057All code that implements error/warning messages with the "ACPI:" prefix
5058has
5059been moved to a new module, utxferror.c.
5060
5061The UINT64_OVERLAY was moved to utmath.c, which is the only module where
5062it
5063is used. ACPICA BZ 829. Lin Ming, Bob Moore.
5064
5065Example Code and Data Size: These are the sizes for the OS-independent
5066acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5067debug version of the code includes the debug output trace mechanism and
5068has a
5069much larger code and data size.
5070
5071 Previous Release:
5072 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
5073 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
5074 Current Release:
5075 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5076 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5077
50782) iASL Compiler/Disassembler and Tools:
5079
5080iASL/Disassembler: Write ACPI errors to stderr instead of the output
5081file.
5082This keeps the output files free of random error messages that may
5083originate
5084from within the namespace/interpreter code. Used this opportunity to
5085merge
5086all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
5087866. Lin Ming, Bob Moore.
5088
5089Tools: update some printfs for ansi warnings on size_t. Handle width
5090change
5091of size_t on 32-bit versus 64-bit generations. Lin Ming.
5092
5093----------------------------------------
509406 August 2010. Summary of changes for version 20100806:
5095
50961) ACPI CA Core Subsystem:
5097
5098Designed and implemented a new host interface to the _OSI support code.
5099This
5100will allow the host to dynamically add or remove multiple _OSI strings,
5101as
5102well as install an optional handler that is called for each _OSI
5103invocation.
5104Also added a new AML debugger command, 'osi' to display and modify the
5105global
5106_OSI string table, and test support in the AcpiExec utility. See the
5107ACPICA
5108reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
5109New Functions:
5110 AcpiInstallInterface - Add an _OSI string.
5111 AcpiRemoveInterface - Delete an _OSI string.
5112 AcpiInstallInterfaceHandler - Install optional _OSI handler.
5113Obsolete Functions:
5114 AcpiOsValidateInterface - no longer used.
5115New Files:
5116 source/components/utilities/utosi.c
5117
5118Re-introduced the support to enable multi-byte transfers for Embedded
5119Controller (EC) operation regions. A reported problem was found to be a
5120bug
5121in the host OS, not in the multi-byte support. Previously, the maximum
5122data
5123size passed to the EC operation region handler was a single byte. There
5124are
5125often EC Fields larger than one byte that need to be transferred, and it
5126is
5127useful for the EC driver to lock these as a single transaction. This
5128change
5129enables single transfers larger than 8 bits. This effectively changes the
5130access to the EC space from ByteAcc to AnyAcc, and will probably require
5131changes to the host OS Embedded Controller driver to enable 16/32/64/256-
5132bit
5133transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
5134
5135Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
5136prototype in acpiosxf.h had the output value pointer as a (void *).
5137It should be a (UINT64 *). This may affect some host OSL code.
5138
5139Fixed a couple problems with the recently modified Linux makefiles for
5140iASL
5141and AcpiExec. These new makefiles place the generated object files in the
5142local directory so that there can be no collisions between the files that
5143are
5144shared between them that are compiled with different options.
5145
5146Example Code and Data Size: These are the sizes for the OS-independent
5147acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5148debug version of the code includes the debug output trace mechanism and
5149has a
5150much larger code and data size.
5151
5152 Previous Release:
5153 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5154 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
5155 Current Release:
5156 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
5157 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
5158
51592) iASL Compiler/Disassembler and Tools:
5160
5161iASL/Disassembler: Added a new option (-da, "disassemble all") to load
5162the
5163namespace from and disassemble an entire group of AML files. Useful for
5164loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
5165and
5166disassembling with one simple command. ACPICA BZ 865. Lin Ming.
5167
5168iASL: Allow multiple invocations of -e option. This change allows
5169multiple
5170uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
5171834.
5172Lin Ming.
5173
5174----------------------------------------
517502 July 2010. Summary of changes for version 20100702:
5176
51771) ACPI CA Core Subsystem:
5178
5179Implemented several updates to the recently added GPE reference count
5180support. The model for "wake" GPEs is changing to give the host OS
5181complete
5182control of these GPEs. Eventually, the ACPICA core will not execute any
5183_PRW
5184methods, since the host already must execute them. Also, additional
5185changes
5186were made to help ensure that the reference counts are kept in proper
5187synchronization with reality. Rafael J. Wysocki.
5188
51891) Ensure that GPEs are not enabled twice during initialization.
51902) Ensure that GPE enable masks stay in sync with the reference count.
51913) Do not inadvertently enable GPEs when writing GPE registers.
51924) Remove the internal wake reference counter and add new AcpiGpeWakeup
5193interface. This interface will set or clear individual GPEs for wakeup.
51945) Remove GpeType argument from AcpiEnable and AcpiDisable. These
5195interfaces
5196are now used for "runtime" GPEs only.
5197
5198Changed the behavior of the GPE install/remove handler interfaces. The
5199GPE
5200is
5201no longer disabled during this process, as it was found to cause problems
5202on
5203some machines. Rafael J. Wysocki.
5204
5205Reverted a change introduced in version 20100528 to enable Embedded
5206Controller multi-byte transfers. This change was found to cause problems
5207with
5208Index Fields and possibly Bank Fields. It will be reintroduced when these
5209problems have been resolved.
5210
5211Fixed a problem with references to Alias objects within Package Objects.
5212A
5213reference to an Alias within the definition of a Package was not always
5214resolved properly. Aliases to objects like Processors, Thermal zones,
5215etc.
5216were resolved to the actual object instead of a reference to the object
5217as
5218it
5219should be. Package objects are only allowed to contain integer, string,
5220buffer, package, and reference objects. Redhat bugzilla 608648.
5221
5222Example Code and Data Size: These are the sizes for the OS-independent
5223acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5224debug version of the code includes the debug output trace mechanism and
5225has a
5226much larger code and data size.
5227
5228 Previous Release:
5229 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5230 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
5231 Current Release:
5232 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5233 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
5234
52352) iASL Compiler/Disassembler and Tools:
5236
5237iASL: Implemented a new compiler subsystem to allow definition and
5238compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
5239These
5240are called "ACPI Data Tables", and the new compiler is the "Data Table
5241Compiler". This compiler is intended to simplify the existing error-prone
5242process of creating these tables for the BIOS, as well as allowing the
5243disassembly, modification, recompilation, and override of existing ACPI
5244data
5245tables. See the iASL User Guide for detailed information.
5246
5247iASL: Implemented a new Template Generator option in support of the new
5248Data
5249Table Compiler. This option will create examples of all known ACPI tables
5250that can be used as the basis for table development. See the iASL
5251documentation and the -T option.
5252
5253Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
5254Descriptor Table).
5255
5256Updated the Linux makefiles for iASL and AcpiExec to place the generated
5257object files in the local directory so that there can be no collisions
5258between the shared files between them that are generated with different
5259options.
5260
5261Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
5262Use
5263the #define __APPLE__ to enable this support.
5264
5265----------------------------------------
526628 May 2010. Summary of changes for version 20100528:
5267
5268Note: The ACPI 4.0a specification was released on April 5, 2010 and is
5269available at www.acpi.info. This is primarily an errata release.
5270
52711) ACPI CA Core Subsystem:
5272
5273Undefined ACPI tables: We are looking for the definitions for the
5274following
5275ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
5276
5277Implemented support to enable multi-byte transfers for Embedded
5278Controller
5279(EC) operation regions. Previously, the maximum data size passed to the
5280EC
5281operation region handler was a single byte. There are often EC Fields
5282larger
5283than one byte that need to be transferred, and it is useful for the EC
5284driver
5285to lock these as a single transaction. This change enables single
5286transfers
5287larger than 8 bits. This effectively changes the access to the EC space
5288from
5289ByteAcc to AnyAcc, and will probably require changes to the host OS
5290Embedded
5291Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
5292bit
5293transfers. Alexey Starikovskiy, Lin Ming
5294
5295Implemented a performance enhancement for namespace search and access.
5296This
5297change enhances the performance of namespace searches and walks by adding
5298a
5299backpointer to the parent in each namespace node. On large namespaces,
5300this
5301change can improve overall ACPI performance by up to 9X. Adding a pointer
5302to
5303each namespace node increases the overall size of the internal namespace
5304by
5305about 5%, since each namespace entry usually consists of both a namespace
5306node and an ACPI operand object. However, this is the first growth of the
5307namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
5308
5309Implemented a performance optimization that reduces the number of
5310namespace
5311walks. On control method exit, only walk the namespace if the method is
5312known
5313to have created namespace objects outside of its local scope. Previously,
5314the
5315entire namespace was traversed on each control method exit. This change
5316can
5317improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
5318Moore.
5319
5320Added support to truncate I/O addresses to 16 bits for Windows
5321compatibility.
5322Some ASL code has been seen in the field that inadvertently has bits set
5323above bit 15. This feature is optional and is enabled if the BIOS
5324requests
5325any Windows OSI strings. It can also be enabled by the host OS. Matthew
5326Garrett, Bob Moore.
5327
5328Added support to limit the maximum time for the ASL Sleep() operator. To
5329prevent accidental deep sleeps, limit the maximum time that Sleep() will
5330actually sleep. Configurable, the default maximum is two seconds. ACPICA
5331bugzilla 854.
5332
5333Added run-time validation support for the _WDG and_WED Microsoft
5334predefined
5335methods. These objects are defined by "Windows Instrumentation", and are
5336not
5337part of the ACPI spec. ACPICA BZ 860.
5338
5339Expanded all statistic counters used during namespace and device
5340initialization from 16 to 32 bits in order to support very large
5341namespaces.
5342
5343Replaced all instances of %d in printf format specifiers with %u since
5344nearly
5345all integers in ACPICA are unsigned.
5346
5347Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
5348returned
5349as AE_NO_HANDLER.
5350
5351Example Code and Data Size: These are the sizes for the OS-independent
5352acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5353debug version of the code includes the debug output trace mechanism and
5354has a
5355much larger code and data size.
5356
5357 Previous Release:
5358 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
5359 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
5360 Current Release:
5361 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5362 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
5363
53642) iASL Compiler/Disassembler and Tools:
5365
5366iASL: Added compiler support for the _WDG and_WED Microsoft predefined
5367methods. These objects are defined by "Windows Instrumentation", and are
5368not
5369part of the ACPI spec. ACPICA BZ 860.
5370
5371AcpiExec: added option to disable the memory tracking mechanism. The -dt
5372option will disable the tracking mechanism, which improves performance
5373considerably.
5374
5375AcpiExec: Restructured the command line options into -d (disable) and -e
5376(enable) options.
5377
5378----------------------------------------
537928 April 2010. Summary of changes for version 20100428:
5380
53811) ACPI CA Core Subsystem:
5382
5383Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
5384including FADT-based and GPE Block Devices, execute any _PRW methods in
5385the
5386new table, and process any _Lxx/_Exx GPE methods in the new table. Any
5387runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
5388immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
5389Devices. Provides compatibility with other ACPI implementations. Two new
5390files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
5391Moore.
5392
5393Fixed a regression introduced in version 20100331 within the table
5394manager
5395where initial table loading could fail. This was introduced in the fix
5396for
5397AcpiReallocateRootTable. Also, renamed some of fields in the table
5398manager
5399data structures to clarify their meaning and use.
5400
5401Fixed a possible allocation overrun during internal object copy in
5402AcpiUtCopySimpleObject. The original code did not correctly handle the
5403case
5404where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
5405847.
5406
5407Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
5408possible access beyond end-of-allocation. Also, now fully validate
5409descriptor
5410(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
5411
5412Example Code and Data Size: These are the sizes for the OS-independent
5413acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5414debug version of the code includes the debug output trace mechanism and
5415has a
5416much larger code and data size.
5417
5418 Previous Release:
5419 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
5420 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
5421 Current Release:
5422 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
5423 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
5424
54252) iASL Compiler/Disassembler and Tools:
5426
5427iASL: Implemented Min/Max/Len/Gran validation for address resource
5428descriptors. This change implements validation for the address fields
5429that
5430are common to all address-type resource descriptors. These checks are
5431implemented: Checks for valid Min/Max, length within the Min/Max window,
5432valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
5433per
5434table 6-40 in the ACPI 4.0a specification. Also split the large
5435aslrestype1.c
5436and aslrestype2.c files into five new files. ACPICA BZ 840.
5437
5438iASL: Added support for the _Wxx predefined names. This support was
5439missing
5440and these names were not recognized by the compiler as valid predefined
5441names. ACPICA BZ 851.
5442
5443iASL: Added an error for all predefined names that are defined to return
5444no
5445value and thus must be implemented as Control Methods. These include all
5446of
5447the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
5448names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
5449
5450iASL: Implemented the -ts option to emit hex AML data in ASL format, as
5451an
5452ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
5453be
5454dynamically loaded via the Load() operator. Also cleaned up output for
5455the
5456-
5457ta and -tc options. ACPICA BZ 853.
5458
5459Tests: Added a new file with examples of extended iASL error checking.
5460Demonstrates the advanced error checking ability of the iASL compiler.
5461Available at tests/misc/badcode.asl.
5462
5463----------------------------------------
546431 March 2010. Summary of changes for version 20100331:
5465
54661) ACPI CA Core Subsystem:
5467
5468Completed a major update for the GPE support in order to improve support
5469for
5470shared GPEs and to simplify both host OS and ACPICA code. Added a
5471reference
5472count mechanism to support shared GPEs that require multiple device
5473drivers.
5474Several external interfaces have changed. One external interface has been
5475removed. One new external interface was added. Most of the GPE external
5476interfaces now use the GPE spinlock instead of the events mutex (and the
5477Flags parameter for many GPE interfaces has been removed.) See the
5478updated
5479ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
5480Rafael
5481Wysocki. ACPICA BZ 831.
5482
5483Changed:
5484 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
5485Removed:
5486 AcpiSetGpeType
5487New:
5488 AcpiSetGpe
5489
5490Implemented write support for DataTable operation regions. These regions
5491are
5492defined via the DataTableRegion() operator. Previously, only read support
5493was
5494implemented. The ACPI specification allows DataTableRegions to be
5495read/write,
5496however.
5497
5498Implemented a new subsystem option to force a copy of the DSDT to local
5499memory. Optionally copy the entire DSDT to local memory (instead of
5500simply
5501mapping it.) There are some (albeit very rare) BIOSs that corrupt or
5502replace
5503the original DSDT, creating the need for this option. Default is FALSE,
5504do
5505not copy the DSDT.
5506
5507Implemented detection of a corrupted or replaced DSDT. This change adds
5508support to detect a DSDT that has been corrupted and/or replaced from
5509outside
5510the OS (by firmware). This is typically catastrophic for the system, but
5511has
5512been seen on some machines. Once this problem has been detected, the DSDT
5513copy option can be enabled via system configuration. Lin Ming, Bob Moore.
5514
5515Fixed two problems with AcpiReallocateRootTable during the root table
5516copy.
5517When copying the root table to the new allocation, the length used was
5518incorrect. The new size was used instead of the current table size,
5519meaning
5520too much data was copied. Also, the count of available slots for ACPI
5521tables
5522was not set correctly. Alexey Starikovskiy, Bob Moore.
5523
5524Example Code and Data Size: These are the sizes for the OS-independent
5525acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5526debug version of the code includes the debug output trace mechanism and
5527has a
5528much larger code and data size.
5529
5530 Previous Release:
5531 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
5532 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
5533 Current Release:
5534 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
5535 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
5536
55372) iASL Compiler/Disassembler and Tools:
5538
5539iASL: Implement limited typechecking for values returned from predefined
5540control methods. The type of any returned static (unnamed) object is now
5541validated. For example, Return(1). ACPICA BZ 786.
5542
5543iASL: Fixed a predefined name object verification regression. Fixes a
5544problem
5545introduced in version 20100304. An error is incorrectly generated if a
5546predefined name is declared as a static named object with a value defined
5547using the keywords "Zero", "One", or "Ones". Lin Ming.
5548
5549iASL: Added Windows 7 support for the -g option (get local ACPI tables)
5550by
5551reducing the requested registry access rights. ACPICA BZ 842.
5552
5553Disassembler: fixed a possible fault when generating External()
5554statements.
5555Introduced in commit ae7d6fd: Properly handle externals with parent-
5556prefix
5557(carat). Fixes a string length allocation calculation. Lin Ming.
5558
5559----------------------------------------
556004 March 2010. Summary of changes for version 20100304:
5561
55621) ACPI CA Core Subsystem:
5563
5564Fixed a possible problem with the AML Mutex handling function
5565AcpiExReleaseMutex where the function could fault under the very rare
5566condition when the interpreter has blocked, the interpreter lock is
5567released,
5568the interpreter is then reentered via the same thread, and attempts to
5569acquire an AML mutex that was previously acquired. FreeBSD report 140979.
5570Lin
5571Ming.
5572
5573Implemented additional configuration support for the AML "Debug Object".
5574Output from the debug object can now be enabled via a global variable,
5575AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
5576debugging.
5577This debug output is now available in the release version of ACPICA
5578instead
5579of just the debug version. Also, the entire debug output module can now
5580be
5581configured out of the ACPICA build if desired. One new file added,
5582executer/exdebug.c. Lin Ming, Bob Moore.
5583
5584Added header support for the ACPI MCHI table (Management Controller Host
5585Interface Table). This table was added in ACPI 4.0, but the defining
5586document
5587has only recently become available.
5588
5589Standardized output of integer values for ACPICA warnings/errors. Always
5590use
55910x prefix for hex output, always use %u for unsigned integer decimal
5592output.
5593Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
5594400
5595invocations.) These invocations were converted from the original
5596ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
5597
5598Example Code and Data Size: These are the sizes for the OS-independent
5599acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5600debug version of the code includes the debug output trace mechanism and
5601has a
5602much larger code and data size.
5603
5604 Previous Release:
5605 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
5606 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
5607 Current Release:
5608 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
5609 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
5610
56112) iASL Compiler/Disassembler and Tools:
5612
5613iASL: Implemented typechecking support for static (non-control method)
5614predefined named objects that are declared with the Name() operator. For
5615example, the type of this object is now validated to be of type Integer:
5616Name(_BBN, 1). This change migrates the compiler to using the core
5617predefined
5618name table instead of maintaining a local version. Added a new file,
5619aslpredef.c. ACPICA BZ 832.
5620
5621Disassembler: Added support for the ACPI 4.0 MCHI table.
5622
5623----------------------------------------
562421 January 2010. Summary of changes for version 20100121:
5625
56261) ACPI CA Core Subsystem:
5627
5628Added the 2010 copyright to all module headers and signons. This affects
5629virtually every file in the ACPICA core subsystem, the iASL compiler, the
5630tools/utilities, and the test suites.
5631
5632Implemented a change to the AcpiGetDevices interface to eliminate
5633unnecessary
5634invocations of the _STA method. In the case where a specific _HID is
5635requested, do not run _STA until a _HID match is found. This eliminates
5636potentially dozens of _STA calls during a search for a particular
5637device/HID,
5638which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
5639
5640Implemented an additional repair for predefined method return values.
5641Attempt
5642to repair unexpected NULL elements within returned Package objects.
5643Create
5644an
5645Integer of value zero, a NULL String, or a zero-length Buffer as
5646appropriate.
5647ACPICA BZ 818. Lin Ming, Bob Moore.
5648
5649Removed the obsolete ACPI_INTEGER data type. This type was introduced as
5650the
5651code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
5652(with
565364-bit AML integers). It is now obsolete and this change removes it from
5654the
5655ACPICA code base, replaced by UINT64. The original typedef has been
5656retained
5657for now for compatibility with existing device driver code. ACPICA BZ
5658824.
5659
5660Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
5661in
5662the parse tree object.
5663
5664Added additional warning options for the gcc-4 generation. Updated the
5665source
5666accordingly. This includes some code restructuring to eliminate
5667unreachable
5668code, elimination of some gotos, elimination of unused return values,
5669some
5670additional casting, and removal of redundant declarations.
5671
5672Example Code and Data Size: These are the sizes for the OS-independent
5673acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5674debug version of the code includes the debug output trace mechanism and
5675has a
5676much larger code and data size.
5677
5678 Previous Release:
5679 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
5680 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
5681 Current Release:
5682 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
5683 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
5684
56852) iASL Compiler/Disassembler and Tools:
5686
5687No functional changes for this release.
5688
5689----------------------------------------
569014 December 2009. Summary of changes for version 20091214:
5691
56921) ACPI CA Core Subsystem:
5693
5694Enhanced automatic data type conversions for predefined name repairs.
5695This
5696change expands the automatic repairs/conversions for predefined name
5697return
5698values to make Integers, Strings, and Buffers fully interchangeable.
5699Also,
5700a
5701Buffer can be converted to a Package of Integers if necessary. The
5702nsrepair.c
5703module was completely restructured. Lin Ming, Bob Moore.
5704
5705Implemented automatic removal of null package elements during predefined
5706name
5707repairs. This change will automatically remove embedded and trailing NULL
5708package elements from returned package objects that are defined to
5709contain
5710a
5711variable number of sub-packages. The driver is then presented with a
5712package
5713with no null elements to deal with. ACPICA BZ 819.
5714
5715Implemented a repair for the predefined _FDE and _GTM names. The expected
5716return value for both names is a Buffer of 5 DWORDs. This repair fixes
5717two
5718possible problems (both seen in the field), where a package of integers
5719is
5720returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
5721Kim.
5722
5723Implemented additional module-level code support. This change will
5724properly
5725execute module-level code that is not at the root of the namespace (under
5726a
5727Device object, etc.). Now executes the code within the current scope
5728instead
5729of the root. ACPICA BZ 762. Lin Ming.
5730
5731Fixed possible mutex acquisition errors when running _REG methods. Fixes
5732a
5733problem where mutex errors can occur when running a _REG method that is
5734in
5735the same scope as a method-defined operation region or an operation
5736region
5737under a module-level IF block. This type of code is rare, so the problem
5738has
5739not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
5740
5741Fixed a possible memory leak during module-level code execution. An
5742object
5743could be leaked for each block of executed module-level code if the
5744interpreter slack mode is enabled This change deletes any implicitly
5745returned
5746object from the module-level code block. Lin Ming.
5747
5748Removed messages for successful predefined repair(s). The repair
5749mechanism
5750was considered too wordy. Now, messages are only unconditionally emitted
5751if
5752the return object cannot be repaired. Existing messages for successful
5753repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
5754827.
5755
5756Example Code and Data Size: These are the sizes for the OS-independent
5757acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5758debug version of the code includes the debug output trace mechanism and
5759has a
5760much larger code and data size.
5761
5762 Previous Release:
5763 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
5764 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
5765 Current Release:
5766 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
5767 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
5768
57692) iASL Compiler/Disassembler and Tools:
5770
5771iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
5772files
5773were no longer automatically removed at the termination of the compile.
5774
5775acpiexec: Implemented the -f option to specify default region fill value.
5776This option specifies the value used to initialize buffers that simulate
5777operation regions. Default value is zero. Useful for debugging problems
5778that
5779depend on a specific initial value for a region or field.
5780
5781----------------------------------------
578212 November 2009. Summary of changes for version 20091112:
5783
57841) ACPI CA Core Subsystem:
5785
5786Implemented a post-order callback to AcpiWalkNamespace. The existing
5787interface only has a pre-order callback. This change adds an additional
5788parameter for a post-order callback which will be more useful for bus
5789scans.
5790ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
5791
5792Modified the behavior of the operation region memory mapping cache for
5793SystemMemory. Ensure that the memory mappings created for operation
5794regions
5795do not cross 4K page boundaries. Crossing a page boundary while mapping
5796regions can cause kernel warnings on some hosts if the pages have
5797different
5798attributes. Such regions are probably BIOS bugs, and this is the
5799workaround.
5800Linux BZ 14445. Lin Ming.
5801
5802Implemented an automatic repair for predefined methods that must return
5803sorted lists. This change will repair (by sorting) packages returned by
5804_ALR,
5805_PSS, and _TSS. Drivers can now assume that the packages are correctly
5806sorted
5807and do not contain NULL package elements. Adds one new file,
5808namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
5809
5810Fixed a possible fault during predefined name validation if a return
5811Package
5812object contains NULL elements. Also adds a warning if a NULL element is
5813followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
5814may
5815include repair or removal of all such NULL elements where possible.
5816
5817Implemented additional module-level executable AML code support. This
5818change
5819will execute module-level code that is not at the root of the namespace
5820(under a Device object, etc.) at table load time. Module-level executable
5821AML
5822code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
5823
5824Implemented a new internal function to create Integer objects. This
5825function
5826simplifies miscellaneous object creation code. ACPICA BZ 823.
5827
5828Reduced the severity of predefined repair messages, Warning to Info.
5829Since
5830the object was successfully repaired, a warning is too severe. Reduced to
5831an
5832info message for now. These messages may eventually be changed to debug-
5833only.
5834ACPICA BZ 812.
5835
5836Example Code and Data Size: These are the sizes for the OS-independent
5837acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5838debug version of the code includes the debug output trace mechanism and
5839has a
5840much larger code and data size.
5841
5842 Previous Release:
5843 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
5844 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
5845 Current Release:
5846 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
5847 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
5848
58492) iASL Compiler/Disassembler and Tools:
5850
5851iASL: Implemented Switch() with While(1) so that Break works correctly.
5852This
5853change correctly implements the Switch operator with a surrounding
5854While(1)
5855so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
5856
5857iASL: Added a message if a package initializer list is shorter than
5858package
5859length. Adds a new remark for a Package() declaration if an initializer
5860list
5861exists, but is shorter than the declared length of the package. Although
5862technically legal, this is probably a coding error and it is seen in the
5863field. ACPICA BZ 815. Lin Ming, Bob Moore.
5864
5865iASL: Fixed a problem where the compiler could fault after the maximum
5866number
5867of errors was reached (200).
5868
5869acpixtract: Fixed a possible warning for pointer cast if the compiler
5870warning
5871level set very high.
5872
5873----------------------------------------
587413 October 2009. Summary of changes for version 20091013:
5875
58761) ACPI CA Core Subsystem:
5877
5878Fixed a problem where an Operation Region _REG method could be executed
5879more
5880than once. If a custom address space handler is installed by the host
5881before
5882the "initialize operation regions" phase of the ACPICA initialization,
5883any
5884_REG methods for that address space could be executed twice. This change
5885fixes the problem. ACPICA BZ 427. Lin Ming.
5886
5887Fixed a possible memory leak for the Scope() ASL operator. When the exact
5888invocation of "Scope(\)" is executed (change scope to root), one internal
5889operand object was leaked. Lin Ming.
5890
5891Implemented a run-time repair for the _MAT predefined method. If the _MAT
5892return value is defined as a Field object in the AML, and the field
5893size is less than or equal to the default width of an integer (32 or
589464),_MAT
5895can incorrectly return an Integer instead of a Buffer. ACPICA now
5896automatically repairs this problem. ACPICA BZ 810.
5897
5898Implemented a run-time repair for the _BIF and _BIX predefined methods.
5899The
5900"OEM Information" field is often incorrectly returned as an Integer with
5901value zero if the field is not supported by the platform. This is due to
5902an
5903ambiguity in the ACPI specification. The field should always be a string.
5904ACPICA now automatically repairs this problem by returning a NULL string
5905within the returned Package. ACPICA BZ 807.
5906
5907Example Code and Data Size: These are the sizes for the OS-independent
5908acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5909debug version of the code includes the debug output trace mechanism and
5910has a
5911much larger code and data size.
5912
5913 Previous Release:
5914 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
5915 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
5916 Current Release:
5917 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
5918 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
5919
59202) iASL Compiler/Disassembler and Tools:
5921
5922Disassembler: Fixed a problem where references to external symbols that
5923contained one or more parent-prefixes (carats) were not handled
5924correctly,
5925possibly causing a fault. ACPICA BZ 806. Lin Ming.
5926
5927Disassembler: Restructured the code so that all functions that handle
5928external symbols are in a single module. One new file is added,
5929common/dmextern.c.
5930
5931AML Debugger: Added a max count argument for the Batch command (which
5932executes multiple predefined methods within the namespace.)
5933
5934iASL: Updated the compiler documentation (User Reference.) Available at
5935http://www.acpica.org/documentation/. ACPICA BZ 750.
5936
5937AcpiXtract: Updated for Lint and other formatting changes. Close all open
5938files.
5939
5940----------------------------------------
594103 September 2009. Summary of changes for version 20090903:
5942
59431) ACPI CA Core Subsystem:
5944
5945For Windows Vista compatibility, added the automatic execution of an _INI
5946method located at the namespace root (\_INI). This method is executed at
5947table load time. This support is in addition to the automatic execution
5948of
5949\_SB._INI. Lin Ming.
5950
5951Fixed a possible memory leak in the interpreter for AML package objects
5952if
5953the package initializer list is longer than the defined size of the
5954package.
5955This apparently can only happen if the BIOS changes the package size on
5956the
5957fly (seen in a _PSS object), as ASL compilers do not allow this. The
5958interpreter will truncate the package to the defined size (and issue an
5959error
5960message), but previously could leave the extra objects undeleted if they
5961were
5962pre-created during the argument processing (such is the case if the
5963package
5964consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
5965
5966Fixed a problem seen when a Buffer or String is stored to itself via ASL.
5967This has been reported in the field. Previously, ACPICA would zero out
5968the
5969buffer/string. Now, the operation is treated as a noop. Provides Windows
5970compatibility. ACPICA BZ 803. Lin Ming.
5971
5972Removed an extraneous error message for ASL constructs of the form
5973Store(LocalX,LocalX) when LocalX is uninitialized. These curious
5974statements
5975are seen in many BIOSs and are once again treated as NOOPs and no error
5976is
5977emitted when they are encountered. ACPICA BZ 785.
5978
5979Fixed an extraneous warning message if a _DSM reserved method returns a
5980Package object. _DSM can return any type of object, so validation on the
5981return type cannot be performed. ACPICA BZ 802.
5982
5983Example Code and Data Size: These are the sizes for the OS-independent
5984acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5985debug version of the code includes the debug output trace mechanism and
5986has a
5987much larger code and data size.
5988
5989 Previous Release:
5990 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
5991 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
5992 Current Release:
5993 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
5994 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
5995
59962) iASL Compiler/Disassembler and Tools:
5997
5998iASL: Fixed a problem with the use of the Alias operator and Resource
5999Templates. The correct alias is now constructed and no error is emitted.
6000ACPICA BZ 738.
6001
6002iASL: Implemented the -I option to specify additional search directories
6003for
6004include files. Allows multiple additional search paths for include files.
6005Directories are searched in the order specified on the command line
6006(after
6007the local directory is searched.) ACPICA BZ 800.
6008
6009iASL: Fixed a problem where the full pathname for include files was not
6010emitted for warnings/errors. This caused the IDE support to not work
6011properly. ACPICA BZ 765.
6012
6013iASL: Implemented the -@ option to specify a Windows-style response file
6014containing additional command line options. ACPICA BZ 801.
6015
6016AcpiExec: Added support to load multiple AML files simultaneously (such
6017as
6018a
6019DSDT and multiple SSDTs). Also added support for wildcards within the AML
6020pathname. These features allow all machine tables to be easily loaded and
6021debugged together. ACPICA BZ 804.
6022
6023Disassembler: Added missing support for disassembly of HEST table Error
6024Bank
6025subtables.
6026
6027----------------------------------------
602830 July 2009. Summary of changes for version 20090730:
6029
6030The ACPI 4.0 implementation for ACPICA is complete with this release.
6031
60321) ACPI CA Core Subsystem:
6033
6034ACPI 4.0: Added header file support for all new and changed ACPI tables.
6035Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
6036new
6037for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
6038BERT,
6039EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
6040There
6041have been some ACPI 4.0 changes to other existing tables. Split the large
6042actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
6043
6044ACPI 4.0: Implemented predefined name validation for all new names. There
6045are
604631 new names in ACPI 4.0. The predefined validation module was split into
6047two
6048files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
6049
6050Implemented support for so-called "module-level executable code". This is
6051executable AML code that exists outside of any control method and is
6052intended
6053to be executed at table load time. Although illegal since ACPI 2.0, this
6054type
6055of code still exists and is apparently still being created. Blocks of
6056this
6057code are now detected and executed as intended. Currently, the code
6058blocks
6059must exist under either an If, Else, or While construct; these are the
6060typical cases seen in the field. ACPICA BZ 762. Lin Ming.
6061
6062Implemented an automatic dynamic repair for predefined names that return
6063nested Package objects. This applies to predefined names that are defined
6064to
6065return a variable-length Package of sub-packages. If the number of sub-
6066packages is one, BIOS code is occasionally seen that creates a simple
6067single
6068package with no sub-packages. This code attempts to fix the problem by
6069wrapping a new package object around the existing package. These methods
6070can
6071be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
6072BZ
6073790.
6074
6075Fixed a regression introduced in 20090625 for the AcpiGetDevices
6076interface.
6077The _HID/_CID matching was broken and no longer matched IDs correctly.
6078ACPICA
6079BZ 793.
6080
6081Fixed a problem with AcpiReset where the reset would silently fail if the
6082register was one of the protected I/O ports. AcpiReset now bypasses the
6083port
6084validation mechanism. This may eventually be driven into the
6085AcpiRead/Write
6086interfaces.
6087
6088Fixed a regression related to the recent update of the AcpiRead/Write
6089interfaces. A sleep/suspend could fail if the optional PM2 Control
6090register
6091does not exist during an attempt to write the Bus Master Arbitration bit.
6092(However, some hosts already delete the code that writes this bit, and
6093the
6094code may in fact be obsolete at this date.) ACPICA BZ 799.
6095
6096Fixed a problem where AcpiTerminate could fault if inadvertently called
6097twice
6098in succession. ACPICA BZ 795.
6099
6100Example Code and Data Size: These are the sizes for the OS-independent
6101acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6102debug version of the code includes the debug output trace mechanism and
6103has a
6104much larger code and data size.
6105
6106 Previous Release:
6107 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
6108 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
6109 Current Release:
6110 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
6111 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
6112
61132) iASL Compiler/Disassembler and Tools:
6114
6115ACPI 4.0: Implemented disassembler support for all new ACPI tables and
6116changes to existing tables. ACPICA BZ 775.
6117
6118----------------------------------------
611925 June 2009. Summary of changes for version 20090625:
6120
6121The ACPI 4.0 Specification was released on June 16 and is available at
6122www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
6123continue for the next few releases.
6124
61251) ACPI CA Core Subsystem:
6126
6127ACPI 4.0: Implemented interpreter support for the IPMI operation region
6128address space. Includes support for bi-directional data buffers and an
6129IPMI
6130address space handler (to be installed by an IPMI device driver.) ACPICA
6131BZ
6132773. Lin Ming.
6133
6134ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
6135Includes
6136support in both the header files and the disassembler.
6137
6138Completed a major update for the AcpiGetObjectInfo external interface.
6139Changes include:
6140 - Support for variable, unlimited length HID, UID, and CID strings.
6141 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
6142etc.)
6143 - Call the _SxW power methods on behalf of a device object.
6144 - Determine if a device is a PCI root bridge.
6145 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
6146These changes will require an update to all callers of this interface.
6147See
6148the updated ACPICA Programmer Reference for details. One new source file
6149has
6150been added - utilities/utids.c. ACPICA BZ 368, 780.
6151
6152Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
6153transfers. The Value parameter has been extended from 32 bits to 64 bits
6154in
6155order to support new ACPI 4.0 tables. These changes will require an
6156update
6157to
6158all callers of these interfaces. See the ACPICA Programmer Reference for
6159details. ACPICA BZ 768.
6160
6161Fixed several problems with AcpiAttachData. The handler was not invoked
6162when
6163the host node was deleted. The data sub-object was not automatically
6164deleted
6165when the host node was deleted. The interface to the handler had an
6166unused
6167parameter, this was removed. ACPICA BZ 778.
6168
6169Enhanced the function that dumps ACPI table headers. All non-printable
6170characters in the string fields are now replaced with '?' (Signature,
6171OemId,
6172OemTableId, and CompilerId.) ACPI tables with non-printable characters in
6173these fields are occasionally seen in the field. ACPICA BZ 788.
6174
6175Fixed a problem with predefined method repair code where the code that
6176attempts to repair/convert an object of incorrect type is only executed
6177on
6178the first time the predefined method is called. The mechanism that
6179disables
6180warnings on subsequent calls was interfering with the repair mechanism.
6181ACPICA BZ 781.
6182
6183Fixed a possible memory leak in the predefined validation/repair code
6184when
6185a
6186buffer is automatically converted to an expected string object.
6187
6188Removed obsolete 16-bit files from the distribution and from the current
6189git
6190tree head. ACPICA BZ 776.
6191
6192Example Code and Data Size: These are the sizes for the OS-independent
6193acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6194debug version of the code includes the debug output trace mechanism and
6195has a
6196much larger code and data size.
6197
6198 Previous Release:
6199 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
6200 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
6201 Current Release:
6202 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
6203 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
6204
62052) iASL Compiler/Disassembler and Tools:
6206
6207ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
6208operation region keyword. ACPICA BZ 771, 772. Lin Ming.
6209
6210ACPI 4.0: iASL - implemented compile-time validation support for all new
6211predefined names and control methods (31 total). ACPICA BZ 769.
6212
6213----------------------------------------
621421 May 2009. Summary of changes for version 20090521:
6215
62161) ACPI CA Core Subsystem:
6217
6218Disabled the preservation of the SCI enable bit in the PM1 control
6219register.
6220The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
6221to
6222be
6223a "preserved" bit - "OSPM always preserves this bit position", section
62244.7.3.2.1. However, some machines fail if this bit is in fact preserved
6225because the bit needs to be explicitly set by the OS as a workaround. No
6226machines fail if the bit is not preserved. Therefore, ACPICA no longer
6227attempts to preserve this bit.
6228
6229Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
6230incorrectly formed _PRT package could cause a fault. Added validation to
6231ensure that each package element is actually a sub-package.
6232
6233Implemented a new interface to install or override a single control
6234method,
6235AcpiInstallMethod. This interface is useful when debugging in order to
6236repair
6237an existing method or to install a missing method without having to
6238override
6239the entire ACPI table. See the ACPICA Programmer Reference for use and
6240examples. Lin Ming, Bob Moore.
6241
6242Fixed several reference count issues with the DdbHandle object that is
6243created from a Load or LoadTable operator. Prevent premature deletion of
6244the
6245object. Also, mark the object as invalid once the table has been
6246unloaded.
6247This is needed because the handle itself may not be deleted after the
6248table
6249unload, depending on whether it has been stored in a named object by the
6250caller. Lin Ming.
6251
6252Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
6253mutexes of the same sync level are acquired but then not released in
6254strict
6255opposite order, the internally maintained Current Sync Level becomes
6256confused
6257and can cause subsequent execution errors. ACPICA BZ 471.
6258
6259Changed the allowable release order for ASL mutex objects. The ACPI 4.0
6260specification has been changed to make the SyncLevel for mutex objects
6261more
6262useful. When releasing a mutex, the SyncLevel of the mutex must now be
6263the
6264same as the current sync level. This makes more sense than the previous
6265rule
6266(SyncLevel less than or equal). This change updates the code to match the
6267specification.
6268
6269Fixed a problem with the local version of the AcpiOsPurgeCache function.
6270The
6271(local) cache must be locked during all cache object deletions. Andrew
6272Baumann.
6273
6274Updated the Load operator to use operation region interfaces. This
6275replaces
6276direct memory mapping with region access calls. Now, all region accesses
6277go
6278through the installed region handler as they should.
6279
6280Simplified and optimized the NsGetNextNode function. Reduced parameter
6281count
6282and reduced code for this frequently used function.
6283
6284Example Code and Data Size: These are the sizes for the OS-independent
6285acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6286debug version of the code includes the debug output trace mechanism and
6287has a
6288much larger code and data size.
6289
6290 Previous Release:
6291 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
6292 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
6293 Current Release:
6294 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
6295 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
6296
62972) iASL Compiler/Disassembler and Tools:
6298
6299Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
6300problems
6301with sub-table disassembly and handling invalid sub-tables. Attempt
6302recovery
6303after an invalid sub-table ID.
6304
6305----------------------------------------
630622 April 2009. Summary of changes for version 20090422:
6307
63081) ACPI CA Core Subsystem:
6309
6310Fixed a compatibility issue with the recently released I/O port
6311protection
6312mechanism. For windows compatibility, 1) On a port protection violation,
6313simply ignore the request and do not return an exception (allow the
6314control
6315method to continue execution.) 2) If only part of the request overlaps a
6316protected port, read/write the individual ports that are not protected.
6317Linux
6318BZ 13036. Lin Ming
6319
6320Enhanced the execution of the ASL/AML BreakPoint operator so that it
6321actually
6322breaks into the AML debugger if the debugger is present. This matches the
6323ACPI-defined behavior.
6324
6325Fixed several possible warnings related to the use of the configurable
6326ACPI_THREAD_ID. This type can now be configured as either an integer or a
6327pointer with no warnings. Also fixes several warnings in printf-like
6328statements for the 64-bit build when the type is configured as a pointer.
6329ACPICA BZ 766, 767.
6330
6331Fixed a number of possible warnings when compiling with gcc 4+ (depending
6332on
6333warning options.) Examples include printf formats, aliasing, unused
6334globals,
6335missing prototypes, missing switch default statements, use of non-ANSI
6336library functions, use of non-ANSI constructs. See generate/unix/Makefile
6337for
6338a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
6339
6340Example Code and Data Size: These are the sizes for the OS-independent
6341acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6342debug version of the code includes the debug output trace mechanism and
6343has a
6344much larger code and data size.
6345
6346 Previous Release:
6347 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
6348 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
6349 Current Release:
6350 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
6351 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
6352
63532) iASL Compiler/Disassembler and Tools:
6354
6355iASL: Fixed a generation warning from Bison 2.3 and fixed several
6356warnings
6357on
6358the 64-bit build.
6359
6360iASL: Fixed a problem where the Unix/Linux versions of the compiler could
6361not
6362correctly digest Windows/DOS formatted files (with CR/LF).
6363
6364iASL: Added a new option for "quiet mode" (-va) that produces only the
6365compilation summary, not individual errors and warnings. Useful for large
6366batch compilations.
6367
6368AcpiExec: Implemented a new option (-z) to enable a forced
6369semaphore/mutex
6370timeout that can be used to detect hang conditions during execution of
6371AML
6372code (includes both internal semaphores and AML-defined mutexes and
6373events.)
6374
6375Added new makefiles for the generation of acpica in a generic unix-like
6376environment. These makefiles are intended to generate the acpica tools
6377and
6378utilities from the original acpica git source tree structure.
6379
6380Test Suites: Updated and cleaned up the documentation files. Updated the
6381copyrights to 2009, affecting all source files. Use the new version of
6382iASL
6383with quiet mode. Increased the number of available semaphores in the
6384Windows
6385OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
6386added
6387an alternate implementation of the semaphore timeout to allow aslts to
6388execute fully on Cygwin.
6389
6390----------------------------------------
639120 March 2009. Summary of changes for version 20090320:
6392
63931) ACPI CA Core Subsystem:
6394
6395Fixed a possible race condition between AcpiWalkNamespace and dynamic
6396table
6397unloads. Added a reader/writer locking mechanism to allow multiple
6398concurrent
6399namespace walks (readers), but block a dynamic table unload until it can
6400gain
6401exclusive write access to the namespace. This fixes a problem where a
6402table
6403unload could (possibly catastrophically) delete the portion of the
6404namespace
6405that is currently being examined by a walk. Adds a new file, utlock.c,
6406that
6407implements the reader/writer lock mechanism. ACPICA BZ 749.
6408
6409Fixed a regression introduced in version 20090220 where a change to the
6410FADT
6411handling could cause the ACPICA subsystem to access non-existent I/O
6412ports.
6413
6414Modified the handling of FADT register and table (FACS/DSDT) addresses.
6415The
6416FADT can contain both 32-bit and 64-bit versions of these addresses.
6417Previously, the 64-bit versions were favored, meaning that if both 32 and
641864
6419versions were valid, but not equal, the 64-bit version was used. This was
6420found to cause some machines to fail. Now, in this case, the 32-bit
6421version
6422is used instead. This now matches the Windows behavior.
6423
6424Implemented a new mechanism to protect certain I/O ports. Provides
6425Microsoft
6426compatibility and protects the standard PC I/O ports from access via AML
6427code. Adds a new file, hwvalid.c
6428
6429Fixed a possible extraneous warning message from the FADT support. The
6430message warns of a 32/64 length mismatch between the legacy and GAS
6431definitions for a register.
6432
6433Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
6434is
6435made obsolete by the port protection mechanism above. It was previously
6436used
6437to validate the entire address range of an operation region, which could
6438be
6439incorrect if the range included illegal ports, but fields within the
6440operation region did not actually access those ports. Validation is now
6441performed on a per-field basis instead of the entire region.
6442
6443Modified the handling of the PM1 Status Register ignored bit (bit 11.)
6444Ignored bits must be "preserved" according to the ACPI spec. Usually,
6445this
6446means a read/modify/write when writing to the register. However, for
6447status
6448registers, writing a one means clear the event. Writing a zero means
6449preserve
6450the event (do not clear.) This behavior is clarified in the ACPI 4.0
6451spec,
6452and the ACPICA code now simply always writes a zero to the ignored bit.
6453
6454Modified the handling of ignored bits for the PM1 A/B Control Registers.
6455As
6456per the ACPI specification, for the control registers, preserve
6457(read/modify/write) all bits that are defined as either reserved or
6458ignored.
6459
6460Updated the handling of write-only bits in the PM1 A/B Control Registers.
6461When reading the register, zero the write-only bits as per the ACPI spec.
6462ACPICA BZ 443. Lin Ming.
6463
6464Removed "Linux" from the list of supported _OSI strings. Linux no longer
6465wants to reply true to this request. The Windows strings are the only
6466paths
6467through the AML that are tested and known to work properly.
6468
6469 Previous Release:
6470 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
6471 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
6472 Current Release:
6473 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
6474 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
6475
64762) iASL Compiler/Disassembler and Tools:
6477
6478Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
6479and
6480aetables.c
6481
6482----------------------------------------
648320 February 2009. Summary of changes for version 20090220:
6484
64851) ACPI CA Core Subsystem:
6486
6487Optimized the ACPI register locking. Removed locking for reads from the
6488ACPI
6489bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
6490is
6491not required when reading the single-bit registers. The
6492AcpiGetRegisterUnlocked function is no longer needed and has been
6493removed.
6494This will improve performance for reads on these registers. ACPICA BZ
6495760.
6496
6497Fixed the parameter validation for AcpiRead/Write. Now return
6498AE_BAD_PARAMETER if the input register pointer is null, and
6499AE_BAD_ADDRESS
6500if
6501the register has an address of zero. Previously, these cases simply
6502returned
6503AE_OK. For optional registers such as PM1B status/enable/control, the
6504caller
6505should check for a valid register address before calling. ACPICA BZ 748.
6506
6507Renamed the external ACPI bit register access functions. Renamed
6508AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
6509functions. The new names are AcpiReadBitRegister and
6510AcpiWriteBitRegister.
6511Also, restructured the code for these functions by simplifying the code
6512path
6513and condensing duplicate code to reduce code size.
6514
6515Added new functions to transparently handle the possibly split PM1 A/B
6516registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
6517functions
6518now handle the split registers for PM1 Status, Enable, and Control.
6519ACPICA
6520BZ
6521746.
6522
6523Added a function to handle the PM1 control registers,
6524AcpiHwWritePm1Control.
6525This function writes both of the PM1 control registers (A/B). These
6526registers
6527are different than the PM1 A/B status and enable registers in that
6528different
6529values can be written to the A/B registers. Most notably, the SLP_TYP
6530bits
6531can be different, as per the values returned from the _Sx predefined
6532methods.
6533
6534Removed an extra register write within AcpiHwClearAcpiStatus. This
6535function
6536was writing an optional PM1B status register twice. The existing call to
6537the
6538low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
6539A/B
6540register. ACPICA BZ 751.
6541
6542Split out the PM1 Status registers from the FADT. Added new globals for
6543these
6544registers (A/B), similar to the way the PM1 Enable registers are handled.
6545Instead of overloading the FADT Event Register blocks. This makes the
6546code
6547clearer and less prone to error.
6548
6549Fixed the warning message for when the platform contains too many ACPI
6550tables
6551for the default size of the global root table data structure. The
6552calculation
6553for the truncation value was incorrect.
6554
6555Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
6556obsolete macro, since it is now a simple reference to ->common.type.
6557There
6558were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
6559
6560Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
6561TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
6562simply SLEEP_TYPE. ACPICA BZ 754.
6563
6564Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
6565function is only needed on 64-bit host operating systems and is thus not
6566included for 32-bit hosts.
6567
6568Debug output: print the input and result for invocations of the _OSI
6569reserved
6570control method via the ACPI_LV_INFO debug level. Also, reduced some of
6571the
6572verbosity of this debug level. Len Brown.
6573
6574Example Code and Data Size: These are the sizes for the OS-independent
6575acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6576debug version of the code includes the debug output trace mechanism and
6577has a
6578much larger code and data size.
6579
6580 Previous Release:
6581 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
6582 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
6583 Current Release:
6584 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
6585 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
6586
65872) iASL Compiler/Disassembler and Tools:
6588
6589Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
6590various legal performance profiles.
6591
6592----------------------------------------
659323 January 2009. Summary of changes for version 20090123:
6594
65951) ACPI CA Core Subsystem:
6596
6597Added the 2009 copyright to all module headers and signons. This affects
6598virtually every file in the ACPICA core subsystem, the iASL compiler, and
6599the tools/utilities.
6600
6601Implemented a change to allow the host to override any ACPI table,
6602including
6603dynamically loaded tables. Previously, only the DSDT could be replaced by
6604the
6605host. With this change, the AcpiOsTableOverride interface is called for
6606each
6607table found in the RSDT/XSDT during ACPICA initialization, and also
6608whenever
6609a table is dynamically loaded via the AML Load operator.
6610
6611Updated FADT flag definitions, especially the Boot Architecture flags.
6612
6613Debugger: For the Find command, automatically pad the input ACPI name
6614with
6615underscores if the name is shorter than 4 characters. This enables a
6616match
6617with the actual namespace entry which is itself padded with underscores.
6618
6619Example Code and Data Size: These are the sizes for the OS-independent
6620acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6621debug version of the code includes the debug output trace mechanism and
6622has a
6623much larger code and data size.
6624
6625 Previous Release:
6626 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
6627 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
6628 Current Release:
6629 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
6630 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
6631
66322) iASL Compiler/Disassembler and Tools:
6633
6634Fix build error under Bison-2.4.
6635
6636Dissasembler: Enhanced FADT support. Added decoding of the Boot
6637Architecture
6638flags. Now decode all flags, regardless of the FADT version. Flag output
6639includes the FADT version which first defined each flag.
6640
6641The iASL -g option now dumps the RSDT to a file (in addition to the FADT
6642and
6643DSDT). Windows only.
6644
6645----------------------------------------
664604 December 2008. Summary of changes for version 20081204:
6647
66481) ACPI CA Core Subsystem:
6649
6650The ACPICA Programmer Reference has been completely updated and revamped
6651for
6652this release. This includes updates to the external interfaces, OSL
6653interfaces, the overview sections, and the debugger reference.
6654
6655Several new ACPICA interfaces have been implemented and documented in the
6656programmer reference:
6657AcpiReset - Writes the reset value to the FADT-defined reset register.
6658AcpiDisableAllGpes - Disable all available GPEs.
6659AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
6660AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
6661AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
6662AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
6663AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
6664
6665Most of the public ACPI hardware-related interfaces have been moved to a
6666new
6667file, components/hardware/hwxface.c
6668
6669Enhanced the FADT parsing and low-level ACPI register access: The ACPI
6670register lengths within the FADT are now used, and the low level ACPI
6671register access no longer hardcodes the ACPI register lengths. Given that
6672there may be some risk in actually trusting the FADT register lengths, a
6673run-
6674time option was added to fall back to the default hardcoded lengths if
6675the
6676FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
6677option is set to true for now, and a warning is issued if a suspicious
6678FADT
6679register length is overridden with the default value.
6680
6681Fixed a reference count issue in NsRepairObject. This problem was
6682introduced
6683in version 20081031 as part of a fix to repair Buffer objects within
6684Packages. Lin Ming.
6685
6686Added semaphore support to the Linux/Unix application OS-services layer
6687(OSL). ACPICA BZ 448. Lin Ming.
6688
6689Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
6690will
6691be implemented in the OSL, or will binary semaphores be used instead.
6692
6693Example Code and Data Size: These are the sizes for the OS-independent
6694acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6695debug version of the code includes the debug output trace mechanism and
6696has a
6697much larger code and data size.
6698
6699 Previous Release:
6700 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
6701 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
6702 Current Release:
6703 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
6704 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
6705
67062) iASL Compiler/Disassembler and Tools:
6707
6708iASL: Completed the '-e' option to include additional ACPI tables in
6709order
6710to
6711aid with disassembly and External statement generation. ACPICA BZ 742.
6712Lin
6713Ming.
6714
6715iASL: Removed the "named object in while loop" error. The compiler cannot
6716determine how many times a loop will execute. ACPICA BZ 730.
6717
6718Disassembler: Implemented support for FADT revision 2 (MS extension).
6719ACPICA
6720BZ 743.
6721
6722Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
6723MCFG).
6724
6725----------------------------------------
672631 October 2008. Summary of changes for version 20081031:
6727
67281) ACPI CA Core Subsystem:
6729
6730Restructured the ACPICA header files into public/private. acpi.h now
6731includes
6732only the "public" acpica headers. All other acpica headers are "private"
6733and
6734should not be included by acpica users. One new file, accommon.h is used
6735to
6736include the commonly used private headers for acpica code generation.
6737Future
6738plans include moving all private headers to a new subdirectory.
6739
6740Implemented an automatic Buffer->String return value conversion for
6741predefined ACPI methods. For these methods (such as _BIF), added
6742automatic
6743conversion for return objects that are required to be a String, but a
6744Buffer
6745was found instead. This can happen when reading string battery data from
6746an
6747operation region, because it used to be difficult to convert the data
6748from
6749buffer to string from within the ASL. Ensures that the host OS is
6750provided
6751with a valid null-terminated string. Linux BZ 11822.
6752
6753Updated the FACS waking vector interfaces. Split
6754AcpiSetFirmwareWakingVector
6755into two: one for the 32-bit vector, another for the 64-bit vector. This
6756is
6757required because the host OS must setup the wake much differently for
6758each
6759vector (real vs. protected mode, etc.) and the interface itself should
6760not
6761be
6762deciding which vector to use. Also, eliminated the
6763GetFirmwareWakingVector
6764interface, as it served no purpose (only the firmware reads the vector,
6765OS
6766only writes the vector.) ACPICA BZ 731.
6767
6768Implemented a mechanism to escape infinite AML While() loops. Added a
6769loop
6770counter to force exit from AML While loops if the count becomes too
6771large.
6772This can occur in poorly written AML when the hardware does not respond
6773within a while loop and the loop does not implement a timeout. The
6774maximum
6775loop count is configurable. A new exception code is returned when a loop
6776is
6777broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
6778
6779Optimized the execution of AML While loops. Previously, a control state
6780object was allocated and freed for each execution of the loop. The
6781optimization is to simply reuse the control state for each iteration.
6782This
6783speeds up the raw loop execution time by about 5%.
6784
6785Enhanced the implicit return mechanism. For Windows compatibility, return
6786an
6787implicit integer of value zero for methods that contain no executable
6788code.
6789Such methods are seen in the field as stubs (presumably), and can cause
6790drivers to fail if they expect a return value. Lin Ming.
6791
6792Allow multiple backslashes as root prefixes in namepaths. In a fully
6793qualified namepath, allow multiple backslash prefixes. This can happen
6794(and
6795is seen in the field) because of the use of a double-backslash in strings
6796(since backslash is the escape character) causing confusion. ACPICA BZ
6797739
6798Lin Ming.
6799
6800Emit a warning if two different FACS or DSDT tables are discovered in the
6801FADT. Checks if there are two valid but different addresses for the FACS
6802and
6803DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
6804
6805Consolidated the method argument count validation code. Merged the code
6806that
6807validates control method argument counts into the predefined validation
6808module. Eliminates possible multiple warnings for incorrect argument
6809counts.
6810
6811Implemented ACPICA example code. Includes code for ACPICA initialization,
6812handler installation, and calling a control method. Available at
6813source/tools/examples.
6814
6815Added a global pointer for FACS table to simplify internal FACS access.
6816Use
6817the global pointer instead of using AcpiGetTableByIndex for each FACS
6818access.
6819This simplifies the code for the Global Lock and the Firmware Waking
6820Vector(s).
6821
6822Example Code and Data Size: These are the sizes for the OS-independent
6823acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6824debug version of the code includes the debug output trace mechanism and
6825has a
6826much larger code and data size.
6827
6828 Previous Release:
6829 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
6830 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
6831 Current Release:
6832 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
6833 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
6834
68352) iASL Compiler/Disassembler and Tools:
6836
6837iASL: Improved disassembly of external method calls. Added the -e option
6838to
6839allow the inclusion of additional ACPI tables to help with the
6840disassembly
6841of
6842method invocations and the generation of external declarations during the
6843disassembly. Certain external method invocations cannot be disassembled
6844properly without the actual declaration of the method. Use the -e option
6845to
6846include the table where the external method(s) are actually declared.
6847Most
6848useful for disassembling SSDTs that make method calls back to the master
6849DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
6850-d
6851-e dsdt.aml ssdt1.aml
6852
6853iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
6854problem where the use of an alias within a namepath would result in a not
6855found error or cause the compiler to fault. Also now allows forward
6856references from the Alias operator itself. ACPICA BZ 738.
6857
6858----------------------------------------
685926 September 2008. Summary of changes for version 20080926:
6860
68611) ACPI CA Core Subsystem:
6862
6863Designed and implemented a mechanism to validate predefined ACPI methods
6864and
6865objects. This code validates the predefined ACPI objects (objects whose
6866names
6867start with underscore) that appear in the namespace, at the time they are
6868evaluated. The argument count and the type of the returned object are
6869validated against the ACPI specification. The purpose of this validation
6870is
6871to detect problems with the BIOS-implemented predefined ACPI objects
6872before
6873the results are returned to the ACPI-related drivers. Future enhancements
6874may
6875include actual repair of incorrect return objects where possible. Two new
6876files are nspredef.c and acpredef.h.
6877
6878Fixed a fault in the AML parser if a memory allocation fails during the
6879Op
6880completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
6881
6882Fixed an issue with implicit return compatibility. This change improves
6883the
6884implicit return mechanism to be more compatible with the MS interpreter.
6885Lin
6886Ming, ACPICA BZ 349.
6887
6888Implemented support for zero-length buffer-to-string conversions. Allow
6889zero
6890length strings during interpreter buffer-to-string conversions. For
6891example,
6892during the ToDecimalString and ToHexString operators, as well as implicit
6893conversions. Fiodor Suietov, ACPICA BZ 585.
6894
6895Fixed two possible memory leaks in the error exit paths of
6896AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
6897are
6898similar in that they use a stack of state objects in order to eliminate
6899recursion. The stack must be fully unwound and deallocated if an error
6900occurs. Lin Ming. ACPICA BZ 383.
6901
6902Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
6903global
6904ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
6905Moore ACPICA BZ 442.
6906
6907Removed the obsolete version number in module headers. Removed the
6908"$Revision" number that appeared in each module header. This version
6909number
6910was useful under SourceSafe and CVS, but has no meaning under git. It is
6911not
6912only incorrect, it could also be misleading.
6913
6914Example Code and Data Size: These are the sizes for the OS-independent
6915acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6916debug version of the code includes the debug output trace mechanism and
6917has a
6918much larger code and data size.
6919
6920 Previous Release:
6921 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6922 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
6923 Current Release:
6924 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
6925 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
6926
6927----------------------------------------
692829 August 2008. Summary of changes for version 20080829:
6929
69301) ACPI CA Core Subsystem:
6931
6932Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
6933Reference. Changes include the elimination of cheating on the Object
6934field
6935for the DdbHandle subtype, addition of a reference class field to
6936differentiate the various reference types (instead of an AML opcode), and
6937the
6938cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
6939
6940Reduce an error to a warning for an incorrect method argument count.
6941Previously aborted with an error if too few arguments were passed to a
6942control method via the external ACPICA interface. Now issue a warning
6943instead
6944and continue. Handles the case where the method inadvertently declares
6945too
6946many arguments, but does not actually use the extra ones. Applies mainly
6947to
6948the predefined methods. Lin Ming. Linux BZ 11032.
6949
6950Disallow the evaluation of named object types with no intrinsic value.
6951Return
6952AE_TYPE for objects that have no value and therefore evaluation is
6953undefined:
6954Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
6955of
6956these types were allowed, but an exception would be generated at some
6957point
6958during the evaluation. Now, the error is generated up front.
6959
6960Fixed a possible memory leak in the AcpiNsGetExternalPathname function
6961(nsnames.c). Fixes a leak in the error exit path.
6962
6963Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
6964debug
6965levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
6966ACPI_EXCEPTION
6967interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
6968ACPI_LV_EVENTS.
6969
6970Removed obsolete and/or unused exception codes from the acexcep.h header.
6971There is the possibility that certain device drivers may be affected if
6972they
6973use any of these exceptions.
6974
6975The ACPICA documentation has been added to the public git source tree,
6976under
6977acpica/documents. Included are the ACPICA programmer reference, the iASL
6978compiler reference, and the changes.txt release logfile.
6979
6980Example Code and Data Size: These are the sizes for the OS-independent
6981acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6982debug version of the code includes the debug output trace mechanism and
6983has a
6984much larger code and data size.
6985
6986 Previous Release:
6987 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6988 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
6989 Current Release:
6990 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
6991 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
6992
69932) iASL Compiler/Disassembler and Tools:
6994
6995Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
6996defines _SCP with 3 arguments. Previous versions defined it with only 1
6997argument. iASL now allows both definitions.
6998
6999iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
7000zero-
7001length subtables when disassembling ACPI tables. Also fixed a couple of
7002errors where a full 16-bit table type field was not extracted from the
7003input
7004properly.
7005
7006acpisrc: Improve comment counting mechanism for generating source code
7007statistics. Count first and last lines of multi-line comments as
7008whitespace,
7009not comment lines. Handle Linux legal header in addition to standard
7010acpica
7011header.
7012
7013----------------------------------------
7014
701529 July 2008. Summary of changes for version 20080729:
7016
70171) ACPI CA Core Subsystem:
7018
7019Fix a possible deadlock in the GPE dispatch. Remove call to
7020AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
7021attempt
7022to acquire the GPE lock but can deadlock since the GPE lock is already
7023held
7024at dispatch time. This code was introduced in version 20060831 as a
7025response
7026to Linux BZ 6881 and has since been removed from Linux.
7027
7028Add a function to dereference returned reference objects. Examines the
7029return
7030object from a call to AcpiEvaluateObject. Any Index or RefOf references
7031are
7032automatically dereferenced in an attempt to return something useful
7033(these
7034reference types cannot be converted into an external ACPI_OBJECT.)
7035Provides
7036MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
7037
7038x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
7039subtables for the MADT and one new subtable for the SRAT. Includes
7040disassembler and AcpiSrc support. Data from the Intel 64 Architecture
7041x2APIC
7042Specification, June 2008.
7043
7044Additional error checking for pathname utilities. Add error check after
7045all
7046calls to AcpiNsGetPathnameLength. Add status return from
7047AcpiNsBuildExternalPath and check after all calls. Add parameter
7048validation
7049to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
7050
7051Return status from the global init function AcpiUtGlobalInitialize. This
7052is
7053used by both the kernel subsystem and the utilities such as iASL
7054compiler.
7055The function could possibly fail when the caches are initialized. Yang
7056Yi.
7057
7058Add a function to decode reference object types to strings. Created for
7059improved error messages.
7060
7061Improve object conversion error messages. Better error messages during
7062object
7063conversion from internal to the external ACPI_OBJECT. Used for external
7064calls
7065to AcpiEvaluateObject.
7066
7067Example Code and Data Size: These are the sizes for the OS-independent
7068acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7069debug version of the code includes the debug output trace mechanism and
7070has a
7071much larger code and data size.
7072
7073 Previous Release:
7074 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
7075 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
7076 Current Release:
7077 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7078 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
7079
70802) iASL Compiler/Disassembler and Tools:
7081
7082Debugger: fix a possible hang when evaluating non-methods. Fixes a
7083problem
7084introduced in version 20080701. If the object being evaluated (via
7085execute
7086command) is not a method, the debugger can hang while trying to obtain
7087non-
7088existent parameters.
7089
7090iASL: relax error for using reserved "_T_x" identifiers. These names can
7091appear in a disassembled ASL file if they were emitted by the original
7092compiler. Instead of issuing an error or warning and forcing the user to
7093manually change these names, issue a remark instead.
7094
7095iASL: error if named object created in while loop. Emit an error if any
7096named
7097object is created within a While loop. If allowed, this code will
7098generate
7099a
7100run-time error on the second iteration of the loop when an attempt is
7101made
7102to
7103create the same named object twice. ACPICA bugzilla 730.
7104
7105iASL: Support absolute pathnames for include files. Add support for
7106absolute
7107pathnames within the Include operator. previously, only relative
7108pathnames
7109were supported.
7110
7111iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
7112Descriptor.
7113The ACPI spec requires one interrupt minimum. BZ 423
7114
7115iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
7116Handles the case for the Interrupt Resource Descriptor where
7117the ResourceSource argument is omitted but ResourceSourceIndex
7118is present. Now leave room for the Index. BZ 426
7119
7120iASL: Prevent error message if CondRefOf target does not exist. Fixes
7121cases
7122where an error message is emitted if the target does not exist. BZ 516
7123
7124iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
7125(get ACPI tables on Windows). This was apparently broken in version
712620070919.
7127
7128AcpiXtract: Handle EOF while extracting data. Correctly handle the case
7129where
7130the EOF happens immediately after the last table in the input file. Print
7131completion message. Previously, no message was displayed in this case.
7132
7133----------------------------------------
713401 July 2008. Summary of changes for version 20080701:
7135
71360) Git source tree / acpica.org
7137
7138Fixed a problem where a git-clone from http would not transfer the entire
7139source tree.
7140
71411) ACPI CA Core Subsystem:
7142
7143Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
7144enable bit. Now performs a read-change-write of the enable register
7145instead
7146of simply writing out the cached enable mask. This will prevent
7147inadvertent
7148enabling of GPEs if a rogue GPE is received during initialization (before
7149GPE
7150handlers are installed.)
7151
7152Implemented a copy for dynamically loaded tables. Previously, dynamically
7153loaded tables were simply mapped - but on some machines this memory is
7154corrupted after suspend. Now copy the table to a local buffer. For the
7155OpRegion case, added checksum verify. Use the table length from the table
7156header, not the region length. For the Buffer case, use the table length
7157also. Dennis Noordsij, Bob Moore. BZ 10734
7158
7159Fixed a problem where the same ACPI table could not be dynamically loaded
7160and
7161unloaded more than once. Without this change, a table cannot be loaded
7162again
7163once it has been loaded/unloaded one time. The current mechanism does not
7164unregister a table upon an unload. During a load, if the same table is
7165found,
7166this no longer returns an exception. BZ 722
7167
7168Fixed a problem where the wrong descriptor length was calculated for the
7169EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
7170EndTag
7171are calculated as 12 bytes long, but the actual length in the internal
7172descriptor is 16 because of the round-up to 8 on the 64-bit build.
7173Reported
7174by Linn Crosetto. BZ 728
7175
7176Fixed a possible memory leak in the Unload operator. The DdbHandle
7177returned
7178by Load() did not have its reference count decremented during unload,
7179leading
7180to a memory leak. Lin Ming. BZ 727
7181
7182Fixed a possible memory leak when deleting thermal/processor objects. Any
7183associated notify handlers (and objects) were not being deleted. Fiodor
7184Suietov. BZ 506
7185
7186Fixed the ordering of the ASCII names in the global mutex table to match
7187the
7188actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
7189only.
7190Vegard Nossum. BZ 726
7191
7192Enhanced the AcpiGetObjectInfo interface to return the number of required
7193arguments if the object is a control method. Added this call to the
7194debugger
7195so the proper number of default arguments are passed to a method. This
7196prevents a warning when executing methods from AcpiExec.
7197
7198Added a check for an invalid handle in AcpiGetObjectInfo. Return
7199AE_BAD_PARAMETER if input handle is invalid. BZ 474
7200
7201Fixed an extraneous warning from exconfig.c on the 64-bit build.
7202
7203Example Code and Data Size: These are the sizes for the OS-independent
7204acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7205debug version of the code includes the debug output trace mechanism and
7206has a
7207much larger code and data size.
7208
7209 Previous Release:
7210 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
7211 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
7212 Current Release:
7213 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
7214 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
7215
72162) iASL Compiler/Disassembler and Tools:
7217
7218iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
7219resource descriptor names.
7220
7221iASL: Detect invalid ASCII characters in input (windows version). Removed
7222the
7223"-CF" flag from the flex compile, enables correct detection of non-ASCII
7224characters in the input. BZ 441
7225
7226iASL: Eliminate warning when result of LoadTable is not used. Eliminate
7227the
7228"result of operation not used" warning when the DDB handle returned from
7229LoadTable is not used. The warning is not needed. BZ 590
7230
7231AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
7232method
7233to
7234pass address of table to the AML. Added option to disable OpRegion
7235simulation
7236to allow creation of an OpRegion with a real address that was passed to
7237_CFG.
7238All of this allows testing of the Load and Unload operators from
7239AcpiExec.
7240
7241Debugger: update tables command for unloaded tables. Handle unloaded
7242tables
7243and use the standard table header output routine.
7244
7245----------------------------------------
724609 June 2008. Summary of changes for version 20080609:
7247
72481) ACPI CA Core Subsystem:
7249
7250Implemented a workaround for reversed _PRT entries. A significant number
7251of
7252BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
7253change dynamically detects and repairs this problem. Provides
7254compatibility
7255with MS ACPI. BZ 6859
7256
7257Simplified the internal ACPI hardware interfaces to eliminate the locking
7258flag parameter from Register Read/Write. Added a new external interface,
7259AcpiGetRegisterUnlocked.
7260
7261Fixed a problem where the invocation of a GPE control method could hang.
7262This
7263was a regression introduced in 20080514. The new method argument count
7264validation mechanism can enter an infinite loop when a GPE method is
7265dispatched. Problem fixed by removing the obsolete code that passed GPE
7266block
7267information to the notify handler via the control method parameter
7268pointer.
7269
7270Fixed a problem where the _SST execution status was incorrectly returned
7271to
7272the caller of AcpiEnterSleepStatePrep. This was a regression introduced
7273in
727420080514. _SST is optional and a NOT_FOUND exception should never be
7275returned. BZ 716
7276
7277Fixed a problem where a deleted object could be accessed from within the
7278AML
7279parser. This was a regression introduced in version 20080123 as a fix for
7280the
7281Unload operator. Lin Ming. BZ 10669
7282
7283Cleaned up the debug operand dump mechanism. Eliminated unnecessary
7284operands
7285and eliminated the use of a negative index in a loop. Operands are now
7286displayed in the correct order, not backwards. This also fixes a
7287regression
7288introduced in 20080514 on 64-bit systems where the elimination of
7289ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
7290715
7291
7292Fixed a possible memory leak in EvPciConfigRegionSetup where the error
7293exit
7294path did not delete a locally allocated structure.
7295
7296Updated definitions for the DMAR and SRAT tables to synchronize with the
7297current specifications. Includes disassembler support.
7298
7299Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
7300loop termination value was used. Loop terminated on iteration early,
7301missing
7302one mutex. Linn Crosetto
7303
7304Example Code and Data Size: These are the sizes for the OS-independent
7305acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7306debug version of the code includes the debug output trace mechanism and
7307has a
7308much larger code and data size.
7309
7310 Previous Release:
7311 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
7312 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
7313 Current Release:
7314 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
7315 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
7316
73172) iASL Compiler/Disassembler and Tools:
7318
7319Disassembler: Implemented support for EisaId() within _CID objects. Now
7320disassemble integer _CID objects back to EisaId invocations, including
7321multiple integers within _CID packages. Includes single-step support for
7322debugger also.
7323
7324Disassembler: Added support for DMAR and SRAT table definition changes.
7325
7326----------------------------------------
732714 May 2008. Summary of changes for version 20080514:
7328
73291) ACPI CA Core Subsystem:
7330
7331Fixed a problem where GPEs were enabled too early during the ACPICA
7332initialization. This could lead to "handler not installed" errors on some
7333machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
7334This
7335ensures that all operation regions and devices throughout the namespace
7336have
7337been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
7338
7339Implemented a change to the enter sleep code. Moved execution of the _GTS
7340method to just before setting sleep enable bit. The execution was moved
7341from
7342AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
7343immediately before the SLP_EN bit is set, as per the ACPI specification.
7344Luming Yu, BZ 1653.
7345
7346Implemented a fix to disable unknown GPEs (2nd version). Now always
7347disable
7348the GPE, even if ACPICA thinks that that it is already disabled. It is
7349possible that the AML or some other code has enabled the GPE unbeknownst
7350to
7351the ACPICA code.
7352
7353Fixed a problem with the Field operator where zero-length fields would
7354return
7355an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
7356ASL
7357field declarations in Field(), BankField(), and IndexField(). BZ 10606.
7358
7359Implemented a fix for the Load operator, now load the table at the
7360namespace
7361root. This reverts a change introduced in version 20071019. The table is
7362now
7363loaded at the namespace root even though this goes against the ACPI
7364specification. This provides compatibility with other ACPI
7365implementations.
7366The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
7367Ming.
7368
7369Fixed a problem where ACPICA would not Load() tables with unusual
7370signatures.
7371Now ignore ACPI table signature for Load() operator. Only "SSDT" is
7372acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
7373Therefore, signature validation is worthless. Apparently MS ACPI accepts
7374such
7375signatures, ACPICA must be compatible. BZ 10454.
7376
7377Fixed a possible negative array index in AcpiUtValidateException. Added
7378NULL
7379fields to the exception string arrays to eliminate a -1 subtraction on
7380the
7381SubStatus field.
7382
7383Updated the debug tracking macros to reduce overall code and data size.
7384Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
7385instead of pointers to static strings. Jan Beulich and Bob Moore.
7386
7387Implemented argument count checking in control method invocation via
7388AcpiEvaluateObject. Now emit an error if too few arguments, warning if
7389too
7390many. This applies only to extern programmatic control method execution,
7391not
7392method-to-method calls within the AML. Lin Ming.
7393
7394Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
7395no
7396longer needed, especially with the removal of 16-bit support. It was
7397replaced
7398mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
7399bit
7400on
740132/64-bit platforms is required.
7402
7403Added the C const qualifier for appropriate string constants -- mostly
7404MODULE_NAME and printf format strings. Jan Beulich.
7405
7406Example Code and Data Size: These are the sizes for the OS-independent
7407acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7408debug version of the code includes the debug output trace mechanism and
7409has a
7410much larger code and data size.
7411
7412 Previous Release:
7413 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
7414 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
7415 Current Release:
7416 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
7417 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
7418
74192) iASL Compiler/Disassembler and Tools:
7420
7421Implemented ACPI table revision ID validation in the disassembler. Zero
7422is
7423always invalid. For DSDTs, the ID controls the interpreter integer width.
74241
7425means 32-bit and this is unusual. 2 or greater is 64-bit.
7426
7427----------------------------------------
742821 March 2008. Summary of changes for version 20080321:
7429
74301) ACPI CA Core Subsystem:
7431
7432Implemented an additional change to the GPE support in order to suppress
7433spurious or stray GPEs. The AcpiEvDisableGpe function will now
7434permanently
7435disable incoming GPEs that are neither enabled nor disabled -- meaning
7436that
7437the GPE is unknown to the system. This should prevent future interrupt
7438floods
7439from that GPE. BZ 6217 (Zhang Rui)
7440
7441Fixed a problem where NULL package elements were not returned to the
7442AcpiEvaluateObject interface correctly. The element was simply ignored
7443instead of returning a NULL ACPI_OBJECT package element, potentially
7444causing
7445a buffer overflow and/or confusing the caller who expected a fixed number
7446of
7447elements. BZ 10132 (Lin Ming, Bob Moore)
7448
7449Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
7450Dword,
7451Qword), Field, BankField, and IndexField operators when invoked from
7452inside
7453an executing control method. In this case, these operators created
7454namespace
7455nodes that were incorrectly left marked as permanent nodes instead of
7456temporary nodes. This could cause a problem if there is race condition
7457between an exiting control method and a running namespace walk. (Reported
7458by
7459Linn Crosetto)
7460
7461Fixed a problem where the CreateField and CreateXXXField operators would
7462incorrectly allow duplicate names (the name of the field) with no
7463exception
7464generated.
7465
7466Implemented several changes for Notify handling. Added support for new
7467Notify
7468values (ACPI 2.0+) and improved the Notify debug output. Notify on
7469PowerResource objects is no longer allowed, as per the ACPI
7470specification.
7471(Bob Moore, Zhang Rui)
7472
7473All Reference Objects returned via the AcpiEvaluateObject interface are
7474now
7475marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
7476for
7477NULL objects - either NULL package elements or unresolved named
7478references.
7479
7480Fixed a problem where an extraneous debug message was produced for
7481package
7482objects (when debugging enabled). The message "Package List length larger
7483than NumElements count" is now produced in the correct case, and is now
7484an
7485error message rather than a debug message. Added a debug message for the
7486opposite case, where NumElements is larger than the Package List (the
7487package
7488will be padded out with NULL elements as per the ACPI spec.)
7489
7490Implemented several improvements for the output of the ASL "Debug" object
7491to
7492clarify and keep all data for a given object on one output line.
7493
7494Fixed two size calculation issues with the variable-length Start
7495Dependent
7496resource descriptor.
7497
7498Example Code and Data Size: These are the sizes for the OS-independent
7499acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7500debug version of the code includes the debug output trace mechanism and
7501has
7502a much larger code and data size.
7503
7504 Previous Release:
7505 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
7506 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
7507 Current Release:
7508 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
7509 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
7510
75112) iASL Compiler/Disassembler and Tools:
7512
7513Fixed a problem with the use of the Switch operator where execution of
7514the
7515containing method by multiple concurrent threads could cause an
7516AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
7517actual Switch opcode, it must be simulated with local named temporary
7518variables and if/else pairs. The solution chosen was to mark any method
7519that
7520uses Switch as Serialized, thus preventing multiple thread entries. BZ
7521469.
7522
7523----------------------------------------
752413 February 2008. Summary of changes for version 20080213:
7525
75261) ACPI CA Core Subsystem:
7527
7528Implemented another MS compatibility design change for GPE/Notify
7529handling.
7530GPEs are now cleared/enabled asynchronously to allow all pending notifies
7531to
7532complete first. It is expected that the OSL will queue the enable request
7533behind all pending notify requests (may require changes to the local host
7534OSL
7535in AcpiOsExecute). Alexey Starikovskiy.
7536
7537Fixed a problem where buffer and package objects passed as arguments to a
7538control method via the external AcpiEvaluateObject interface could cause
7539an
7540AE_AML_INTERNAL exception depending on the order and type of operators
7541executed by the target control method.
7542
7543Fixed a problem where resource descriptor size optimization could cause a
7544problem when a _CRS resource template is passed to a _SRS method. The
7545_SRS
7546resource template must use the same descriptors (with the same size) as
7547returned from _CRS. This change affects the following resource
7548descriptors:
7549IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
75509487)
7551
7552Fixed a problem where a CopyObject to RegionField, BankField, and
7553IndexField
7554objects did not perform an implicit conversion as it should. These types
7555must
7556retain their initial type permanently as per the ACPI specification.
7557However,
7558a CopyObject to all other object types should not perform an implicit
7559conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
7560
7561Fixed a problem with the AcpiGetDevices interface where the mechanism to
7562match device CIDs did not examine the entire list of available CIDs, but
7563instead aborted on the first non-matching CID. Andrew Patterson.
7564
7565Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
7566was
7567inadvertently changed to return a 16-bit value instead of a 32-bit value,
7568truncating the upper dword of a 64-bit value. This macro is only used to
7569display debug output, so no incorrect calculations were made. Also,
7570reimplemented the macro so that a 64-bit shift is not performed by
7571inefficient compilers.
7572
7573Added missing va_end statements that should correspond with each va_start
7574statement.
7575
7576Example Code and Data Size: These are the sizes for the OS-independent
7577acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7578debug version of the code includes the debug output trace mechanism and
7579has
7580a much larger code and data size.
7581
7582 Previous Release:
7583 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
7584 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
7585 Current Release:
7586 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
7587 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
7588
75892) iASL Compiler/Disassembler and Tools:
7590
7591Implemented full disassembler support for the following new ACPI tables:
7592BERT, EINJ, and ERST. Implemented partial disassembler support for the
7593complicated HEST table. These tables support the Windows Hardware Error
7594Architecture (WHEA).
7595
7596----------------------------------------
759723 January 2008. Summary of changes for version 20080123:
7598
75991) ACPI CA Core Subsystem:
7600
7601Added the 2008 copyright to all module headers and signons. This affects
7602virtually every file in the ACPICA core subsystem, the iASL compiler, and
7603the tools/utilities.
7604
7605Fixed a problem with the SizeOf operator when used with Package and
7606Buffer
7607objects. These objects have deferred execution for some arguments, and
7608the
7609execution is now completed before the SizeOf is executed. This problem
7610caused
7611unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
7612BZ
76139558
7614
7615Implemented an enhancement to the interpreter "slack mode". In the
7616absence
7617of
7618an explicit return or an implicitly returned object from the last
7619executed
7620opcode, a control method will now implicitly return an integer of value 0
7621for
7622Microsoft compatibility. (Lin Ming) BZ 392
7623
7624Fixed a problem with the Load operator where an exception was not
7625returned
7626in
7627the case where the table is already loaded. (Lin Ming) BZ 463
7628
7629Implemented support for the use of DDBHandles as an Indexed Reference, as
7630per
7631the ACPI spec. (Lin Ming) BZ 486
7632
7633Implemented support for UserTerm (Method invocation) for the Unload
7634operator
7635as per the ACPI spec. (Lin Ming) BZ 580
7636
7637Fixed a problem with the LoadTable operator where the OemId and
7638OemTableId
7639input strings could cause unexpected failures if they were shorter than
7640the
7641maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
7642
7643Implemented support for UserTerm (Method invocation) for the Unload
7644operator
7645as per the ACPI spec. (Lin Ming) BZ 580
7646
7647Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
7648HEST,
7649IBFT, UEFI, WDAT. Disassembler support is forthcoming.
7650
7651Example Code and Data Size: These are the sizes for the OS-independent
7652acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7653debug version of the code includes the debug output trace mechanism and
7654has
7655a much larger code and data size.
7656
7657 Previous Release:
7658 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
7659 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
7660 Current Release:
7661 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
7662 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
7663
76642) iASL Compiler/Disassembler and Tools:
7665
7666Implemented support in the disassembler for checksum validation on
7667incoming
7668binary DSDTs and SSDTs. If incorrect, a message is displayed within the
7669table
7670header dump at the start of the disassembly.
7671
7672Implemented additional debugging information in the namespace listing
7673file
7674created during compilation. In addition to the namespace hierarchy, the
7675full
7676pathname to each namespace object is displayed.
7677
7678Fixed a problem with the disassembler where invalid ACPI tables could
7679cause
7680faults or infinite loops.
7681
7682Fixed an unexpected parse error when using the optional "parameter types"
7683list in a control method declaration. (Lin Ming) BZ 397
7684
7685Fixed a problem where two External declarations with the same name did
7686not
7687cause an error (Lin Ming) BZ 509
7688
7689Implemented support for full TermArgs (adding Argx, Localx and method
7690invocation) for the ParameterData parameter to the LoadTable operator.
7691(Lin
7692Ming) BZ 583,587
7693
7694----------------------------------------
769519 December 2007. Summary of changes for version 20071219:
7696
76971) ACPI CA Core Subsystem:
7698
7699Implemented full support for deferred execution for the TermArg string
7700arguments for DataTableRegion. This enables forward references and full
7701operand resolution for the three string arguments. Similar to
7702OperationRegion
7703deferred argument execution.) Lin Ming. BZ 430
7704
7705Implemented full argument resolution support for the BankValue argument
7706to
7707BankField. Previously, only constants were supported, now any TermArg may
7708be
7709used. Lin Ming BZ 387, 393
7710
7711Fixed a problem with AcpiGetDevices where the search of a branch of the
7712device tree could be terminated prematurely. In accordance with the ACPI
7713specification, the search down the current branch is terminated if a
7714device
7715is both not present and not functional (instead of just not present.)
7716Yakui
7717Zhao.
7718
7719Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
7720if
7721the underlying AML code changed the GPE enable registers. Now, any
7722unknown
7723incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
7724disabled
7725instead of simply ignored. Rui Zhang.
7726
7727Fixed a problem with Index Fields where the Index register was
7728incorrectly
7729limited to a maximum of 32 bits. Now any size may be used.
7730
7731Fixed a couple memory leaks associated with "implicit return" objects
7732when
7733the AML Interpreter slack mode is enabled. Lin Ming BZ 349
7734
7735Example Code and Data Size: These are the sizes for the OS-independent
7736acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7737debug version of the code includes the debug output trace mechanism and
7738has
7739a much larger code and data size.
7740
7741 Previous Release:
7742 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
7743 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
7744 Current Release:
7745 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
7746 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
7747
7748----------------------------------------
774914 November 2007. Summary of changes for version 20071114:
7750
77511) ACPI CA Core Subsystem:
7752
7753Implemented event counters for each of the Fixed Events, the ACPI SCI
7754(interrupt) itself, and control methods executed. Named
7755AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
7756These
7757should be useful for debugging and statistics.
7758
7759Implemented a new external interface, AcpiGetStatistics, to retrieve the
7760contents of the various event counters. Returns the current values for
7761AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
7762AcpiMethodCount. The interface can be expanded in the future if new
7763counters
7764are added. Device drivers should use this interface rather than access
7765the
7766counters directly.
7767
7768Fixed a problem with the FromBCD and ToBCD operators. With some
7769compilers,
7770the ShortDivide function worked incorrectly, causing problems with the
7771BCD
7772functions with large input values. A truncation from 64-bit to 32-bit
7773inadvertently occurred. Internal BZ 435. Lin Ming
7774
7775Fixed a problem with Index references passed as method arguments.
7776References
7777passed as arguments to control methods were dereferenced immediately
7778(before
7779control was passed to the called method). The references are now
7780correctly
7781passed directly to the called method. BZ 5389. Lin Ming
7782
7783Fixed a problem with CopyObject used in conjunction with the Index
7784operator.
7785The reference was incorrectly dereferenced before the copy. The reference
7786is
7787now correctly copied. BZ 5391. Lin Ming
7788
7789Fixed a problem with Control Method references within Package objects.
7790These
7791references are now correctly generated. This completes the package
7792construction overhaul that began in version 20071019.
7793
7794Example Code and Data Size: These are the sizes for the OS-independent
7795acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7796debug version of the code includes the debug output trace mechanism and
7797has
7798a much larger code and data size.
7799
7800 Previous Release:
7801 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
7802 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
7803 Current Release:
7804 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
7805 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
7806
7807
78082) iASL Compiler/Disassembler and Tools:
7809
7810The AcpiExec utility now installs handlers for all of the predefined
7811Operation Region types. New types supported are: PCI_Config, CMOS, and
7812PCIBARTarget.
7813
7814Fixed a problem with the 64-bit version of AcpiExec where the extended
7815(64-
7816bit) address fields for the DSDT and FACS within the FADT were not being
7817used, causing truncation of the upper 32-bits of these addresses. Lin
7818Ming
7819and Bob Moore
7820
7821----------------------------------------
782219 October 2007. Summary of changes for version 20071019:
7823
78241) ACPI CA Core Subsystem:
7825
7826Fixed a problem with the Alias operator when the target of the alias is a
7827named ASL operator that opens a new scope -- Scope, Device,
7828PowerResource,
7829Processor, and ThermalZone. In these cases, any children of the original
7830operator could not be accessed via the alias, potentially causing
7831unexpected
7832AE_NOT_FOUND exceptions. (BZ 9067)
7833
7834Fixed a problem with the Package operator where all named references were
7835created as object references and left otherwise unresolved. According to
7836the
7837ACPI specification, a Package can only contain Data Objects or references
7838to
7839control methods. The implication is that named references to Data Objects
7840(Integer, Buffer, String, Package, BufferField, Field) should be resolved
7841immediately upon package creation. This is the approach taken with this
7842change. References to all other named objects (Methods, Devices, Scopes,
7843etc.) are all now properly created as reference objects. (BZ 5328)
7844
7845Reverted a change to Notify handling that was introduced in version
784620070508. This version changed the Notify handling from asynchronous to
7847fully synchronous (Device driver Notify handling with respect to the
7848Notify
7849ASL operator). It was found that this change caused more problems than it
7850solved and was removed by most users.
7851
7852Fixed a problem with the Increment and Decrement operators where the type
7853of
7854the target object could be unexpectedly and incorrectly changed. (BZ 353)
7855Lin Ming.
7856
7857Fixed a problem with the Load and LoadTable operators where the table
7858location within the namespace was ignored. Instead, the table was always
7859loaded into the root or current scope. Lin Ming.
7860
7861Fixed a problem with the Load operator when loading a table from a buffer
7862object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
7863
7864Fixed a problem with the Debug object where a store of a DdbHandle
7865reference
7866object to the Debug object could cause a fault.
7867
7868Added a table checksum verification for the Load operator, in the case
7869where
7870the load is from a buffer. (BZ 578).
7871
7872Implemented additional parameter validation for the LoadTable operator.
7873The
7874length of the input strings SignatureString, OemIdString, and OemTableId
7875are
7876now checked for maximum lengths. (BZ 582) Lin Ming.
7877
7878Example Code and Data Size: These are the sizes for the OS-independent
7879acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7880debug version of the code includes the debug output trace mechanism and
7881has
7882a much larger code and data size.
7883
7884 Previous Release:
7885 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
7886 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
7887 Current Release:
7888 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
7889 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
7890
7891
78922) iASL Compiler/Disassembler:
7893
7894Fixed a problem where if a single file was specified and the file did not
7895exist, no error message was emitted. (Introduced with wildcard support in
7896version 20070917.)
7897
7898----------------------------------------
789919 September 2007. Summary of changes for version 20070919:
7900
79011) ACPI CA Core Subsystem:
7902
7903Designed and implemented new external interfaces to install and remove
7904handlers for ACPI table-related events. Current events that are defined
7905are
7906LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
7907they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
7908AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
7909
7910Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
7911(acpi_serialized option on Linux) could cause some systems to hang during
7912initialization. (Bob Moore) BZ 8171
7913
7914Fixed a problem where objects of certain types (Device, ThermalZone,
7915Processor, PowerResource) can be not found if they are declared and
7916referenced from within the same control method (Lin Ming) BZ 341
7917
7918Example Code and Data Size: These are the sizes for the OS-independent
7919acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7920debug version of the code includes the debug output trace mechanism and
7921has
7922a much larger code and data size.
7923
7924 Previous Release:
7925 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
7926 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
7927 Current Release:
7928 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
7929 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
7930
7931
79322) iASL Compiler/Disassembler:
7933
7934Implemented support to allow multiple files to be compiled/disassembled
7935in
7936a
7937single invocation. This includes command line wildcard support for both
7938the
7939Windows and Unix versions of the compiler. This feature simplifies the
7940disassembly and compilation of multiple ACPI tables in a single
7941directory.
7942
7943----------------------------------------
794408 May 2007. Summary of changes for version 20070508:
7945
79461) ACPI CA Core Subsystem:
7947
7948Implemented a Microsoft compatibility design change for the handling of
7949the
7950Notify AML operator. Previously, notify handlers were dispatched and
7951executed completely asynchronously in a deferred thread. The new design
7952still executes the notify handlers in a different thread, but the
7953original
7954thread that executed the Notify() now waits at a synchronization point
7955for
7956the notify handler to complete. Some machines depend on a synchronous
7957Notify
7958operator in order to operate correctly.
7959
7960Implemented support to allow Package objects to be passed as method
7961arguments to the external AcpiEvaluateObject interface. Previously, this
7962would return the AE_NOT_IMPLEMENTED exception. This feature had not been
7963implemented since there were no reserved control methods that required it
7964until recently.
7965
7966Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
7967that
7968contained invalid non-zero values in reserved fields could cause later
7969failures because these fields have meaning in later revisions of the
7970FADT.
7971For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
7972fields
7973are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
7974
7975Fixed a problem where the Global Lock handle was not properly updated if
7976a
7977thread that acquired the Global Lock via executing AML code then
7978attempted
7979to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
7980Joe
7981Liu.
7982
7983Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
7984could be corrupted if the interrupt being removed was at the head of the
7985list. Reported by Linn Crosetto.
7986
7987Example Code and Data Size: These are the sizes for the OS-independent
7988acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7989debug version of the code includes the debug output trace mechanism and
7990has
7991a much larger code and data size.
7992
7993 Previous Release:
7994 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
7995 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
7996 Current Release:
7997 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
7998 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
7999
8000----------------------------------------
800120 March 2007. Summary of changes for version 20070320:
8002
80031) ACPI CA Core Subsystem:
8004
8005Implemented a change to the order of interpretation and evaluation of AML
8006operand objects within the AML interpreter. The interpreter now evaluates
8007operands in the order that they appear in the AML stream (and the
8008corresponding ASL code), instead of in the reverse order (after the
8009entire
8010operand list has been parsed). The previous behavior caused several
8011subtle
8012incompatibilities with the Microsoft AML interpreter as well as being
8013somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
8014
8015Implemented a change to the ACPI Global Lock support. All interfaces to
8016the
8017global lock now allow the same thread to acquire the lock multiple times.
8018This affects the AcpiAcquireGlobalLock external interface to the global
8019lock
8020as well as the internal use of the global lock to support AML fields -- a
8021control method that is holding the global lock can now simultaneously
8022access
8023AML fields that require global lock protection. Previously, in both
8024cases,
8025this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
8026to
8027AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
8028Controller. There is no change to the behavior of the AML Acquire
8029operator,
8030as this can already be used to acquire a mutex multiple times by the same
8031thread. BZ 8066. With assistance from Alexey Starikovskiy.
8032
8033Fixed a problem where invalid objects could be referenced in the AML
8034Interpreter after error conditions. During operand evaluation, ensure
8035that
8036the internal "Return Object" field is cleared on error and only valid
8037pointers are stored there. Caused occasional access to deleted objects
8038that
8039resulted in "large reference count" warning messages. Valery Podrezov.
8040
8041Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
8042on
8043deeply nested control method invocations. BZ 7873, local BZ 487. Valery
8044Podrezov.
8045
8046Fixed an internal problem with the handling of result objects on the
8047interpreter result stack. BZ 7872. Valery Podrezov.
8048
8049Removed obsolete code that handled the case where AML_NAME_OP is the
8050target
8051of a reference (Reference.Opcode). This code was no longer necessary. BZ
80527874. Valery Podrezov.
8053
8054Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
8055was
8056a
8057remnant from the previously discontinued 16-bit support.
8058
8059Example Code and Data Size: These are the sizes for the OS-independent
8060acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8061debug version of the code includes the debug output trace mechanism and
8062has
8063a much larger code and data size.
8064
8065 Previous Release:
8066 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8067 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8068 Current Release:
8069 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8070 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
8071
8072----------------------------------------
807326 January 2007. Summary of changes for version 20070126:
8074
80751) ACPI CA Core Subsystem:
8076
8077Added the 2007 copyright to all module headers and signons. This affects
8078virtually every file in the ACPICA core subsystem, the iASL compiler, and
8079the utilities.
8080
8081Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
8082during a table load. A bad pointer was passed in the case where the DSDT
8083is
8084overridden, causing a fault in this case.
8085
8086Example Code and Data Size: These are the sizes for the OS-independent
8087acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8088debug version of the code includes the debug output trace mechanism and
8089has
8090a much larger code and data size.
8091
8092 Previous Release:
8093 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8094 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8095 Current Release:
8096 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8097 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8098
8099----------------------------------------
810015 December 2006. Summary of changes for version 20061215:
8101
81021) ACPI CA Core Subsystem:
8103
8104Support for 16-bit ACPICA has been completely removed since it is no
8105longer
8106necessary and it clutters the code. All 16-bit macros, types, and
8107conditional compiles have been removed, cleaning up and simplifying the
8108code
8109across the entire subsystem. DOS support is no longer needed since the
8110bootable Linux firmware kit is now available.
8111
8112The handler for the Global Lock is now removed during AcpiTerminate to
8113enable a clean subsystem restart, via the implementation of the
8114AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
8115HP)
8116
8117Implemented enhancements to the multithreading support within the
8118debugger
8119to enable improved multithreading debugging and evaluation of the
8120subsystem.
8121(Valery Podrezov)
8122
8123Debugger: Enhanced the Statistics/Memory command to emit the total
8124(maximum)
8125memory used during the execution, as well as the maximum memory consumed
8126by
8127each of the various object types. (Valery Podrezov)
8128
8129Example Code and Data Size: These are the sizes for the OS-independent
8130acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8131debug version of the code includes the debug output trace mechanism and
8132has
8133a much larger code and data size.
8134
8135 Previous Release:
8136 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
8137 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
8138 Current Release:
8139 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8140 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8141
8142
81432) iASL Compiler/Disassembler and Tools:
8144
8145AcpiExec: Implemented a new option (-m) to display full memory use
8146statistics upon subsystem/program termination. (Valery Podrezov)
8147
8148----------------------------------------
814909 November 2006. Summary of changes for version 20061109:
8150
81511) ACPI CA Core Subsystem:
8152
8153Optimized the Load ASL operator in the case where the source operand is
8154an
8155operation region. Simply map the operation region memory, instead of
8156performing a bytewise read. (Region must be of type SystemMemory, see
8157below.)
8158
8159Fixed the Load ASL operator for the case where the source operand is a
8160region field. A buffer object is also allowed as the source operand. BZ
8161480
8162
8163Fixed a problem where the Load ASL operator allowed the source operand to
8164be
8165an operation region of any type. It is now restricted to regions of type
8166SystemMemory, as per the ACPI specification. BZ 481
8167
8168Additional cleanup and optimizations for the new Table Manager code.
8169
8170AcpiEnable will now fail if all of the required ACPI tables are not
8171loaded
8172(FADT, FACS, DSDT). BZ 477
8173
8174Added #pragma pack(8/4) to acobject.h to ensure that the structures in
8175this
8176header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
8177manually optimized to be aligned and will not work if it is byte-packed.
8178
8179Example Code and Data Size: These are the sizes for the OS-independent
8180acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8181debug version of the code includes the debug output trace mechanism and
8182has
8183a much larger code and data size.
8184
8185 Previous Release:
8186 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
8187 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
8188 Current Release:
8189 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
8190 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
8191
8192
81932) iASL Compiler/Disassembler and Tools:
8194
8195Fixed a problem where the presence of the _OSI predefined control method
8196within complex expressions could cause an internal compiler error.
8197
8198AcpiExec: Implemented full region support for multiple address spaces.
8199SpaceId is now part of the REGION object. BZ 429
8200
8201----------------------------------------
820211 October 2006. Summary of changes for version 20061011:
8203
82041) ACPI CA Core Subsystem:
8205
8206Completed an AML interpreter performance enhancement for control method
8207execution. Previously a 2-pass parse/execution, control methods are now
8208completely parsed and executed in a single pass. This improves overall
8209interpreter performance by ~25%, reduces code size, and reduces CPU stack
8210use. (Valery Podrezov + interpreter changes in version 20051202 that
8211eliminated namespace loading during the pass one parse.)
8212
8213Implemented _CID support for PCI Root Bridge detection. If the _HID does
8214not
8215match the predefined PCI Root Bridge IDs, the _CID list (if present) is
8216now
8217obtained and also checked for an ID match.
8218
8219Implemented additional support for the PCI _ADR execution: upsearch until
8220a
8221device scope is found before executing _ADR. This allows PCI_Config
8222operation regions to be declared locally within control methods
8223underneath
8224PCI device objects.
8225
8226Fixed a problem with a possible race condition between threads executing
8227AcpiWalkNamespace and the AML interpreter. This condition was removed by
8228modifying AcpiWalkNamespace to (by default) ignore all temporary
8229namespace
8230entries created during any concurrent control method execution. An
8231additional namespace race condition is known to exist between
8232AcpiWalkNamespace and the Load/Unload ASL operators and is still under
8233investigation.
8234
8235Restructured the AML ParseLoop function, breaking it into several
8236subfunctions in order to reduce CPU stack use and improve
8237maintainability.
8238(Mikhail Kouzmich)
8239
8240AcpiGetHandle: Fix for parameter validation to detect invalid
8241combinations
8242of prefix handle and pathname. BZ 478
8243
8244Example Code and Data Size: These are the sizes for the OS-independent
8245acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8246debug version of the code includes the debug output trace mechanism and
8247has
8248a much larger code and data size.
8249
8250 Previous Release:
8251 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8252 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
8253 Current Release:
8254 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
8255 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
8256
82572) iASL Compiler/Disassembler and Tools:
8258
8259Ported the -g option (get local ACPI tables) to the new ACPICA Table
8260Manager
8261to restore original behavior.
8262
8263----------------------------------------
826427 September 2006. Summary of changes for version 20060927:
8265
82661) ACPI CA Core Subsystem:
8267
8268Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
8269These functions now use a spinlock for mutual exclusion and the interrupt
8270level indication flag is not needed.
8271
8272Fixed a problem with the Global Lock where the lock could appear to be
8273obtained before it is actually obtained. The global lock semaphore was
8274inadvertently created with one unit instead of zero units. (BZ 464)
8275Fiodor
8276Suietov.
8277
8278Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
8279during
8280a read from a buffer or region field. (BZ 458) Fiodor Suietov.
8281
8282Example Code and Data Size: These are the sizes for the OS-independent
8283acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8284debug version of the code includes the debug output trace mechanism and
8285has
8286a much larger code and data size.
8287
8288 Previous Release:
8289 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8290 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
8291 Current Release:
8292 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8293 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
8294
8295
82962) iASL Compiler/Disassembler and Tools:
8297
8298Fixed a compilation problem with the pre-defined Resource Descriptor
8299field
8300names where an "object does not exist" error could be incorrectly
8301generated
8302if the parent ResourceTemplate pathname places the template within a
8303different namespace scope than the current scope. (BZ 7212)
8304
8305Fixed a problem where the compiler could hang after syntax errors
8306detected
8307in an ElseIf construct. (BZ 453)
8308
8309Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
8310operator. An incorrect output filename was produced when this parameter
8311was
8312a null string (""). Now, the original input filename is used as the AML
8313output filename, with an ".aml" extension.
8314
8315Implemented a generic batch command mode for the AcpiExec utility
8316(execute
8317any AML debugger command) (Valery Podrezov).
8318
8319----------------------------------------
832012 September 2006. Summary of changes for version 20060912:
8321
83221) ACPI CA Core Subsystem:
8323
8324Enhanced the implementation of the "serialized mode" of the interpreter
8325(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
8326specified, instead of creating a serialization semaphore per control
8327method,
8328the interpreter lock is simply no longer released before a blocking
8329operation during control method execution. This effectively makes the AML
8330Interpreter single-threaded. The overhead of a semaphore per-method is
8331eliminated.
8332
8333Fixed a regression where an error was no longer emitted if a control
8334method
8335attempts to create 2 objects of the same name. This once again returns
8336AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
8337that
8338will dynamically serialize the control method to possible prevent future
8339errors. (BZ 440)
8340
8341Integrated a fix for a problem with PCI Express HID detection in the PCI
8342Config Space setup procedure. (BZ 7145)
8343
8344Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
8345AcpiHwInitialize function - the FADT registers are now validated when the
8346table is loaded.
8347
8348Added two new warnings during FADT verification - 1) if the FADT is
8349larger
8350than the largest known FADT version, and 2) if there is a mismatch
8351between
8352a
835332-bit block address and the 64-bit X counterpart (when both are non-
8354zero.)
8355
8356Example Code and Data Size: These are the sizes for the OS-independent
8357acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8358debug version of the code includes the debug output trace mechanism and
8359has
8360a much larger code and data size.
8361
8362 Previous Release:
8363 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
8364 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
8365 Current Release:
8366 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8367 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
8368
8369
83702) iASL Compiler/Disassembler and Tools:
8371
8372Fixed a problem with the implementation of the Switch() operator where
8373the
8374temporary variable was declared too close to the actual Switch, instead
8375of
8376at method level. This could cause a problem if the Switch() operator is
8377within a while loop, causing an error on the second iteration. (BZ 460)
8378
8379Disassembler - fix for error emitted for unknown type for target of scope
8380operator. Now, ignore it and continue.
8381
8382Disassembly of an FADT now verifies the input FADT and reports any errors
8383found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
8384
8385Disassembly of raw data buffers with byte initialization data now
8386prefixes
8387each output line with the current buffer offset.
8388
8389Disassembly of ASF! table now includes all variable-length data fields at
8390the end of some of the subtables.
8391
8392The disassembler now emits a comment if a buffer appears to be a
8393ResourceTemplate, but cannot be disassembled as such because the EndTag
8394does
8395not appear at the very end of the buffer.
8396
8397AcpiExec - Added the "-t" command line option to enable the serialized
8398mode
8399of the AML interpreter.
8400
8401----------------------------------------
840231 August 2006. Summary of changes for version 20060831:
8403
84041) ACPI CA Core Subsystem:
8405
8406Miscellaneous fixes for the Table Manager:
8407- Correctly initialize internal common FADT for all 64-bit "X" fields
8408- Fixed a couple table mapping issues during table load
8409- Fixed a couple alignment issues for IA64
8410- Initialize input array to zero in AcpiInitializeTables
8411- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
8412AcpiGetTableByIndex
8413
8414Change for GPE support: when a "wake" GPE is received, all wake GPEs are
8415now
8416immediately disabled to prevent the waking GPE from firing again and to
8417prevent other wake GPEs from interrupting the wake process.
8418
8419Added the AcpiGpeCount global that tracks the number of processed GPEs,
8420to
8421be used for debugging systems with a large number of ACPI interrupts.
8422
8423Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
8424both the ACPICA headers and the disassembler.
8425
8426Example Code and Data Size: These are the sizes for the OS-independent
8427acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8428debug version of the code includes the debug output trace mechanism and
8429has
8430a much larger code and data size.
8431
8432 Previous Release:
8433 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
8434 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
8435 Current Release:
8436 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
8437 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
8438
8439
84402) iASL Compiler/Disassembler and Tools:
8441
8442Disassembler support for the DMAR ACPI table.
8443
8444----------------------------------------
844523 August 2006. Summary of changes for version 20060823:
8446
84471) ACPI CA Core Subsystem:
8448
8449The Table Manager component has been completely redesigned and
8450reimplemented. The new design is much simpler, and reduces the overall
8451code
8452and data size of the kernel-resident ACPICA by approximately 5%. Also, it
8453is
8454now possible to obtain the ACPI tables very early during kernel
8455initialization, even before dynamic memory management is initialized.
8456(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
8457
8458Obsolete ACPICA interfaces:
8459
8460- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
8461init
8462time).
8463- AcpiLoadTable: Not needed.
8464- AcpiUnloadTable: Not needed.
8465
8466New ACPICA interfaces:
8467
8468- AcpiInitializeTables: Must be called before the table manager can be
8469used.
8470- AcpiReallocateRootTable: Used to transfer the root table to dynamically
8471allocated memory after it becomes available.
8472- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
8473tables
8474in the RSDT/XSDT.
8475
8476Other ACPICA changes:
8477
8478- AcpiGetTableHeader returns the actual mapped table header, not a copy.
8479Use
8480AcpiOsUnmapMemory to free this mapping.
8481- AcpiGetTable returns the actual mapped table. The mapping is managed
8482internally and must not be deleted by the caller. Use of this interface
8483causes no additional dynamic memory allocation.
8484- AcpiFindRootPointer: Support for physical addressing has been
8485eliminated,
8486it appeared to be unused.
8487- The interface to AcpiOsMapMemory has changed to be consistent with the
8488other allocation interfaces.
8489- The interface to AcpiOsGetRootPointer has changed to eliminate
8490unnecessary
8491parameters.
8492- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
849364-
8494bit platforms. Was previously 64 bits on all platforms.
8495- The interface to the ACPI Global Lock acquire/release macros have
8496changed
8497slightly since ACPICA no longer keeps a local copy of the FACS with a
8498constructed pointer to the actual global lock.
8499
8500Porting to the new table manager:
8501
8502- AcpiInitializeTables: Must be called once, and can be called anytime
8503during the OS initialization process. It allows the host to specify an
8504area
8505of memory to be used to store the internal version of the RSDT/XSDT (root
8506table). This allows the host to access ACPI tables before memory
8507management
8508is initialized and running.
8509- AcpiReallocateRootTable: Can be called after memory management is
8510running
8511to copy the root table to a dynamically allocated array, freeing up the
8512scratch memory specified in the call to AcpiInitializeTables.
8513- AcpiSubsystemInitialize: This existing interface is independent of the
8514Table Manager, and does not have to be called before the Table Manager
8515can
8516be used, it only must be called before the rest of ACPICA can be used.
8517- ACPI Tables: Some changes have been made to the names and structure of
8518the
8519actbl.h and actbl1.h header files and may require changes to existing
8520code.
8521For example, bitfields have been completely removed because of their lack
8522of
8523portability across C compilers.
8524- Update interfaces to the Global Lock acquire/release macros if local
8525versions are used. (see acwin.h)
8526
8527Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
8528
8529New files: tbfind.c
8530
8531Example Code and Data Size: These are the sizes for the OS-independent
8532acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8533debug version of the code includes the debug output trace mechanism and
8534has
8535a much larger code and data size.
8536
8537 Previous Release:
8538 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
8539 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
8540 Current Release:
8541 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
8542 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
8543
8544
85452) iASL Compiler/Disassembler and Tools:
8546
8547No changes for this release.
8548
8549----------------------------------------
855021 July 2006. Summary of changes for version 20060721:
8551
85521) ACPI CA Core Subsystem:
8553
8554The full source code for the ASL test suite used to validate the iASL
8555compiler and the ACPICA core subsystem is being released with the ACPICA
8556source for the first time. The source is contained in a separate package
8557and
8558consists of over 1100 files that exercise all ASL/AML operators. The
8559package
8560should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
8561Fiodor
8562Suietov)
8563
8564Completed a new design and implementation for support of the ACPI Global
8565Lock. On the OS side, the global lock is now treated as a standard AML
8566mutex. Previously, multiple OS threads could "acquire" the global lock
8567simultaneously. However, this could cause the BIOS to be starved out of
8568the
8569lock - especially in cases such as the Embedded Controller driver where
8570there is a tight coupling between the OS and the BIOS.
8571
8572Implemented an optimization for the ACPI Global Lock interrupt mechanism.
8573The Global Lock interrupt handler no longer queues the execution of a
8574separate thread to signal the global lock semaphore. Instead, the
8575semaphore
8576is signaled directly from the interrupt handler.
8577
8578Implemented support within the AML interpreter for package objects that
8579contain a larger AML length (package list length) than the package
8580element
8581count. In this case, the length of the package is truncated to match the
8582package element count. Some BIOS code apparently modifies the package
8583length
8584on the fly, and this change supports this behavior. Provides
8585compatibility
8586with the MS AML interpreter. (With assistance from Fiodor Suietov)
8587
8588Implemented a temporary fix for the BankValue parameter of a Bank Field
8589to
8590support all constant values, now including the Zero and One opcodes.
8591Evaluation of this parameter must eventually be converted to a full
8592TermArg
8593evaluation. A not-implemented error is now returned (temporarily) for
8594non-
8595constant values for this parameter.
8596
8597Fixed problem reports (Fiodor Suietov) integrated:
8598- Fix for premature object deletion after CopyObject on Operation Region
8599(BZ
8600350)
8601
8602Example Code and Data Size: These are the sizes for the OS-independent
8603acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8604debug version of the code includes the debug output trace mechanism and
8605has
8606a much larger code and data size.
8607
8608 Previous Release:
8609 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
8610 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
8611 Current Release:
8612 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
8613 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
8614
8615
86162) iASL Compiler/Disassembler and Tools:
8617
8618No changes for this release.
8619
8620----------------------------------------
862107 July 2006. Summary of changes for version 20060707:
8622
86231) ACPI CA Core Subsystem:
8624
8625Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
8626that do not allow the initialization of address pointers within packed
8627structures - even though the hardware itself may support misaligned
8628transfers. Some of the debug data structures are packed by default to
8629minimize size.
8630
8631Added an error message for the case where AcpiOsGetThreadId() returns
8632zero.
8633A non-zero value is required by the core ACPICA code to ensure the proper
8634operation of AML mutexes and recursive control methods.
8635
8636The DSDT is now the only ACPI table that determines whether the AML
8637interpreter is in 32-bit or 64-bit mode. Not really a functional change,
8638but
8639the hooks for per-table 32/64 switching have been removed from the code.
8640A
8641clarification to the ACPI specification is forthcoming in ACPI 3.0B.
8642
8643Fixed a possible leak of an OwnerID in the error path of
8644AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
8645deletion to a single place in AcpiTbUninstallTable to correct possible
8646leaks
8647when using the AcpiTbDeleteTablesByType interface (with assistance from
8648Lance Ortiz.)
8649
8650Fixed a problem with Serialized control methods where the semaphore
8651associated with the method could be over-signaled after multiple method
8652invocations.
8653
8654Fixed two issues with the locking of the internal namespace data
8655structure.
8656Both the Unload() operator and AcpiUnloadTable interface now lock the
8657namespace during the namespace deletion associated with the table unload
8658(with assistance from Linn Crosetto.)
8659
8660Fixed problem reports (Valery Podrezov) integrated:
8661- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
8662
8663Fixed problem reports (Fiodor Suietov) integrated:
8664- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
8665- On Address Space handler deletion, needless deactivation call (BZ 374)
8666- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
8667375)
8668- Possible memory leak, Notify sub-objects of Processor, Power,
8669ThermalZone
8670(BZ 376)
8671- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
8672- Minimum Length of RSDT should be validated (BZ 379)
8673- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
8674Handler (BZ (380)
8675- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
8676loaded
8677(BZ 381)
8678
8679Example Code and Data Size: These are the sizes for the OS-independent
8680acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8681debug version of the code includes the debug output trace mechanism and
8682has
8683a much larger code and data size.
8684
8685 Previous Release:
8686 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
8687 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
8688 Current Release:
8689 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
8690 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
8691
8692
86932) iASL Compiler/Disassembler and Tools:
8694
8695Fixed problem reports:
8696Compiler segfault when ASL contains a long (>1024) String declaration (BZ
8697436)
8698
8699----------------------------------------
870023 June 2006. Summary of changes for version 20060623:
8701
87021) ACPI CA Core Subsystem:
8703
8704Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
8705allows the type to be customized to the host OS for improved efficiency
8706(since a spinlock is usually a very small object.)
8707
8708Implemented support for "ignored" bits in the ACPI registers. According
8709to
8710the ACPI specification, these bits should be preserved when writing the
8711registers via a read/modify/write cycle. There are 3 bits preserved in
8712this
8713manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
8714
8715Implemented the initial deployment of new OSL mutex interfaces. Since
8716some
8717host operating systems have separate mutex and semaphore objects, this
8718feature was requested. The base code now uses mutexes (and the new mutex
8719interfaces) wherever a binary semaphore was used previously. However, for
8720the current release, the mutex interfaces are defined as macros to map
8721them
8722to the existing semaphore interfaces. Therefore, no OSL changes are
8723required
8724at this time. (See acpiosxf.h)
8725
8726Fixed several problems with the support for the control method SyncLevel
8727parameter. The SyncLevel now works according to the ACPI specification
8728and
8729in concert with the Mutex SyncLevel parameter, since the current
8730SyncLevel
8731is a property of the executing thread. Mutual exclusion for control
8732methods
8733is now implemented with a mutex instead of a semaphore.
8734
8735Fixed three instances of the use of the C shift operator in the bitfield
8736support code (exfldio.c) to avoid the use of a shift value larger than
8737the
8738target data width. The behavior of C compilers is undefined in this case
8739and
8740can cause unpredictable results, and therefore the case must be detected
8741and
8742avoided. (Fiodor Suietov)
8743
8744Added an info message whenever an SSDT or OEM table is loaded dynamically
8745via the Load() or LoadTable() ASL operators. This should improve
8746debugging
8747capability since it will show exactly what tables have been loaded
8748(beyond
8749the tables present in the RSDT/XSDT.)
8750
8751Example Code and Data Size: These are the sizes for the OS-independent
8752acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8753debug version of the code includes the debug output trace mechanism and
8754has
8755a much larger code and data size.
8756
8757 Previous Release:
8758 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
8759 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
8760 Current Release:
8761 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
8762 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
8763
8764
87652) iASL Compiler/Disassembler and Tools:
8766
8767No changes for this release.
8768
8769----------------------------------------
877008 June 2006. Summary of changes for version 20060608:
8771
87721) ACPI CA Core Subsystem:
8773
8774Converted the locking mutex used for the ACPI hardware to a spinlock.
8775This
8776change should eliminate all problems caused by attempting to acquire a
8777semaphore at interrupt level, and it means that all ACPICA external
8778interfaces that directly access the ACPI hardware can be safely called
8779from
8780interrupt level. OSL code that implements the semaphore interfaces should
8781be
8782able to eliminate any workarounds for being called at interrupt level.
8783
8784Fixed a regression introduced in 20060526 where the ACPI device
8785initialization could be prematurely aborted with an AE_NOT_FOUND if a
8786device
8787did not have an optional _INI method.
8788
8789Fixed an IndexField issue where a write to the Data Register should be
8790limited in size to the AccessSize (width) of the IndexField itself. (BZ
8791433,
8792Fiodor Suietov)
8793
8794Fixed problem reports (Valery Podrezov) integrated:
8795- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
8796
8797Fixed problem reports (Fiodor Suietov) integrated:
8798- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
8799
8800Removed four global mutexes that were obsolete and were no longer being
8801used.
8802
8803Example Code and Data Size: These are the sizes for the OS-independent
8804acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8805debug version of the code includes the debug output trace mechanism and
8806has
8807a much larger code and data size.
8808
8809 Previous Release:
8810 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
8811 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
8812 Current Release:
8813 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
8814 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
8815
8816
88172) iASL Compiler/Disassembler and Tools:
8818
8819Fixed a fault when using -g option (get tables from registry) on Windows
8820machines.
8821
8822Fixed problem reports integrated:
8823- Generate error if CreateField NumBits parameter is zero. (BZ 405)
8824- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
8825Suietov)
8826- Global table revision override (-r) is ignored (BZ 413)
8827
8828----------------------------------------
882926 May 2006. Summary of changes for version 20060526:
8830
88311) ACPI CA Core Subsystem:
8832
8833Restructured, flattened, and simplified the internal interfaces for
8834namespace object evaluation - resulting in smaller code, less CPU stack
8835use,
8836and fewer interfaces. (With assistance from Mikhail Kouzmich)
8837
8838Fixed a problem with the CopyObject operator where the first parameter
8839was
8840not typed correctly for the parser, interpreter, compiler, and
8841disassembler.
8842Caused various errors and unexpected behavior.
8843
8844Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
8845produced incorrect results with some C compilers. Since the behavior of C
8846compilers when the shift value is larger than the datatype width is
8847apparently not well defined, the interpreter now detects this condition
8848and
8849simply returns zero as expected in all such cases. (BZ 395)
8850
8851Fixed problem reports (Valery Podrezov) integrated:
8852- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
8853- Allow interpreter to handle nested method declarations (BZ 5361)
8854
8855Fixed problem reports (Fiodor Suietov) integrated:
8856- AcpiTerminate doesn't free debug memory allocation list objects (BZ
8857355)
8858- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
8859356)
8860- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
8861- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
8862- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
8863- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
8864- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
8865- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
8866- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
8867365)
8868- Status of the Global Initialization Handler call not used (BZ 366)
8869- Incorrect object parameter to Global Initialization Handler (BZ 367)
8870
8871Example Code and Data Size: These are the sizes for the OS-independent
8872acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8873debug version of the code includes the debug output trace mechanism and
8874has
8875a much larger code and data size.
8876
8877 Previous Release:
8878 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
8879 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
8880 Current Release:
8881 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
8882 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
8883
8884
88852) iASL Compiler/Disassembler and Tools:
8886
8887Modified the parser to allow the names IO, DMA, and IRQ to be used as
8888namespace identifiers with no collision with existing resource descriptor
8889macro names. This provides compatibility with other ASL compilers and is
8890most useful for disassembly/recompilation of existing tables without
8891parse
8892errors. (With assistance from Thomas Renninger)
8893
8894Disassembler: fixed an incorrect disassembly problem with the
8895DataTableRegion and CopyObject operators. Fixed a possible fault during
8896disassembly of some Alias operators.
8897
8898----------------------------------------
889912 May 2006. Summary of changes for version 20060512:
8900
89011) ACPI CA Core Subsystem:
8902
8903Replaced the AcpiOsQueueForExecution interface with a new interface named
8904AcpiOsExecute. The major difference is that the new interface does not
8905have
8906a Priority parameter, this appeared to be useless and has been replaced
8907by
8908a
8909Type parameter. The Type tells the host what type of execution is being
8910requested, such as global lock handler, notify handler, GPE handler, etc.
8911This allows the host to queue and execute the request as appropriate for
8912the
8913request type, possibly using different work queues and different
8914priorities
8915for the various request types. This enables fixes for multithreading
8916deadlock problems such as BZ #5534, and will require changes to all
8917existing
8918OS interface layers. (Alexey Starikovskiy and Bob Moore)
8919
8920Fixed a possible memory leak associated with the support for the so-
8921called
8922"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
8923Suietov)
8924
8925Fixed a problem with the Load() operator where a table load from an
8926operation region could overwrite an internal table buffer by up to 7
8927bytes
8928and cause alignment faults on IPF systems. (With assistance from Luming
8929Yu)
8930
8931Example Code and Data Size: These are the sizes for the OS-independent
8932acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8933debug version of the code includes the debug output trace mechanism and
8934has
8935a much larger code and data size.
8936
8937 Previous Release:
8938 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
8939 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
8940 Current Release:
8941 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
8942 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
8943
8944
8945
89462) iASL Compiler/Disassembler and Tools:
8947
8948Disassembler: Implemented support to cross reference the internal
8949namespace
8950and automatically generate ASL External() statements for symbols not
8951defined
8952within the current table being disassembled. This will simplify the
8953disassembly and recompilation of interdependent tables such as SSDTs
8954since
8955these statements will no longer have to be added manually.
8956
8957Disassembler: Implemented experimental support to automatically detect
8958invocations of external control methods and generate appropriate
8959External()
8960statements. This is problematic because the AML cannot be correctly
8961parsed
8962until the number of arguments for each control method is known.
8963Currently,
8964standalone method invocations and invocations as the source operand of a
8965Store() statement are supported.
8966
8967Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
8968LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
8969LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
8970more readable and likely closer to the original ASL source.
8971
8972----------------------------------------
897321 April 2006. Summary of changes for version 20060421:
8974
89751) ACPI CA Core Subsystem:
8976
8977Removed a device initialization optimization introduced in 20051216 where
8978the _STA method was not run unless an _INI was also present for the same
8979device. This optimization could cause problems because it could allow
8980_INI
8981methods to be run within a not-present device subtree. (If a not-present
8982device had no _INI, _STA would not be run, the not-present status would
8983not
8984be discovered, and the children of the device would be incorrectly
8985traversed.)
8986
8987Implemented a new _STA optimization where namespace subtrees that do not
8988contain _INI are identified and ignored during device initialization.
8989Selectively running _STA can significantly improve boot time on large
8990machines (with assistance from Len Brown.)
8991
8992Implemented support for the device initialization case where the returned
8993_STA flags indicate a device not-present but functioning. In this case,
8994_INI
8995is not run, but the device children are examined for presence, as per the
8996ACPI specification.
8997
8998Implemented an additional change to the IndexField support in order to
8999conform to MS behavior. The value written to the Index Register is not
9000simply a byte offset, it is a byte offset in units of the access width of
9001the parent Index Field. (Fiodor Suietov)
9002
9003Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
9004interface is called during the creation of all AML operation regions, and
9005allows the host OS to exert control over what addresses it will allow the
9006AML code to access. Operation Regions whose addresses are disallowed will
9007cause a runtime exception when they are actually accessed (will not
9008affect
9009or abort table loading.) See oswinxf or osunixxf for an example
9010implementation.
9011
9012Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
9013interface allows the host OS to match the various "optional"
9014interface/behavior strings for the _OSI predefined control method as
9015appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
9016for an example implementation.
9017
9018Restructured and corrected various problems in the exception handling
9019code
9020paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
9021(with assistance from Takayoshi Kochi.)
9022
9023Modified the Linux source converter to ignore quoted string literals
9024while
9025converting identifiers from mixed to lower case. This will correct
9026problems
9027with the disassembler and other areas where such strings must not be
9028modified.
9029
9030The ACPI_FUNCTION_* macros no longer require quotes around the function
9031name. This allows the Linux source converter to convert the names, now
9032that
9033the converter ignores quoted strings.
9034
9035Example Code and Data Size: These are the sizes for the OS-independent
9036acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9037debug version of the code includes the debug output trace mechanism and
9038has
9039a much larger code and data size.
9040
9041 Previous Release:
9042
9043 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
9044 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
9045 Current Release:
9046 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
9047 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
9048
9049
90502) iASL Compiler/Disassembler and Tools:
9051
9052Implemented 3 new warnings for iASL, and implemented multiple warning
9053levels
9054(w2 flag).
9055
90561) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
9057not
9058WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
9059check for the possible timeout, a warning is issued.
9060
90612) Useless operators: If an ASL operator does not specify an optional
9062target
9063operand and it also does not use the function return value from the
9064operator, a warning is issued since the operator effectively does
9065nothing.
9066
90673) Unreferenced objects: If a namespace object is created, but never
9068referenced, a warning is issued. This is a warning level 2 since there
9069are
9070cases where this is ok, such as when a secondary table is loaded that
9071uses
9072the unreferenced objects. Even so, care is taken to only flag objects
9073that
9074don't look like they will ever be used. For example, the reserved methods
9075(starting with an underscore) are usually not referenced because it is
9076expected that the OS will invoke them.
9077
9078----------------------------------------
907931 March 2006. Summary of changes for version 20060331:
9080
90811) ACPI CA Core Subsystem:
9082
9083Implemented header file support for the following additional ACPI tables:
9084ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
9085support,
9086all current and known ACPI tables are now defined in the ACPICA headers
9087and
9088are available for use by device drivers and other software.
9089
9090Implemented support to allow tables that contain ACPI names with invalid
9091characters to be loaded. Previously, this would cause the table load to
9092fail, but since there are several known cases of such tables on existing
9093machines, this change was made to enable ACPI support for them. Also,
9094this
9095matches the behavior of the Microsoft ACPI implementation.
9096
9097Fixed a couple regressions introduced during the memory optimization in
9098the
909920060317 release. The namespace node definition required additional
9100reorganization and an internal datatype that had been changed to 8-bit
9101was
9102restored to 32-bit. (Valery Podrezov)
9103
9104Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
9105could be passed through to AcpiOsReleaseObject which is unexpected. Such
9106null pointers are now trapped and ignored, matching the behavior of the
9107previous implementation before the deployment of AcpiOsReleaseObject.
9108(Valery Podrezov, Fiodor Suietov)
9109
9110Fixed a memory mapping leak during the deletion of a SystemMemory
9111operation
9112region where a cached memory mapping was not deleted. This became a
9113noticeable problem for operation regions that are defined within
9114frequently
9115used control methods. (Dana Meyers)
9116
9117Reorganized the ACPI table header files into two main files: one for the
9118ACPI tables consumed by the ACPICA core, and another for the
9119miscellaneous
9120ACPI tables that are consumed by the drivers and other software. The
9121various
9122FADT definitions were merged into one common section and three different
9123tables (ACPI 1.0, 1.0+, and 2.0)
9124
9125Example Code and Data Size: These are the sizes for the OS-independent
9126acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9127debug version of the code includes the debug output trace mechanism and
9128has
9129a much larger code and data size.
9130
9131 Previous Release:
9132 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
9133 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
9134 Current Release:
9135 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
9136 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
9137
9138
91392) iASL Compiler/Disassembler and Tools:
9140
9141Disassembler: Implemented support to decode and format all non-AML ACPI
9142tables (tables other than DSDTs and SSDTs.) This includes the new tables
9143added to the ACPICA headers, therefore all current and known ACPI tables
9144are
9145supported.
9146
9147Disassembler: The change to allow ACPI names with invalid characters also
9148enables the disassembly of such tables. Invalid characters within names
9149are
9150changed to '*' to make the name printable; the iASL compiler will still
9151generate an error for such names, however, since this is an invalid ACPI
9152character.
9153
9154Implemented an option for AcpiXtract (-a) to extract all tables found in
9155the
9156input file. The default invocation extracts only the DSDTs and SSDTs.
9157
9158Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
9159makefile for the AcpiXtract utility.
9160
9161----------------------------------------
916217 March 2006. Summary of changes for version 20060317:
9163
91641) ACPI CA Core Subsystem:
9165
9166Implemented the use of a cache object for all internal namespace nodes.
9167Since there are about 1000 static nodes in a typical system, this will
9168decrease memory use for cache implementations that minimize per-
9169allocation
9170overhead (such as a slab allocator.)
9171
9172Removed the reference count mechanism for internal namespace nodes, since
9173it
9174was deemed unnecessary. This reduces the size of each namespace node by
9175about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
9176case,
9177and 32 bytes for the 64-bit case.
9178
9179Optimized several internal data structures to reduce object size on 64-
9180bit
9181platforms by packing data within the 64-bit alignment. This includes the
9182frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
9183instances corresponding to the namespace objects.
9184
9185Added two new strings for the predefined _OSI method: "Windows 2001.1
9186SP1"
9187and "Windows 2006".
9188
9189Split the allocation tracking mechanism out to a separate file, from
9190utalloc.c to uttrack.c. This mechanism appears to be only useful for
9191application-level code. Kernels may wish to not include uttrack.c in
9192distributions.
9193
9194Removed all remnants of the obsolete ACPI_REPORT_* macros and the
9195associated
9196code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
9197macros.)
9198
9199Code and Data Size: These are the sizes for the acpica.lib produced by
9200the
9201Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9202ACPI
9203driver or OSPM code. The debug version of the code includes the debug
9204output
9205trace mechanism and has a much larger code and data size. Note that these
9206values will vary depending on the efficiency of the compiler and the
9207compiler options used during generation.
9208
9209 Previous Release:
9210 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9211 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
9212 Current Release:
9213 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
9214 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
9215
9216
92172) iASL Compiler/Disassembler and Tools:
9218
9219Implemented an ANSI C version of the acpixtract utility. This version
9220will
9221automatically extract the DSDT and all SSDTs from the input acpidump text
9222file and dump the binary output to separate files. It can also display a
9223summary of the input file including the headers for each table found and
9224will extract any single ACPI table, with any signature. (See
9225source/tools/acpixtract)
9226
9227----------------------------------------
922810 March 2006. Summary of changes for version 20060310:
9229
92301) ACPI CA Core Subsystem:
9231
9232Tagged all external interfaces to the subsystem with the new
9233ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
9234assist
9235kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
9236macro. The default definition is NULL.
9237
9238Added the ACPI_THREAD_ID type for the return value from
9239AcpiOsGetThreadId.
9240This allows the host to define this as necessary to simplify kernel
9241integration. The default definition is ACPI_NATIVE_UINT.
9242
9243Fixed two interpreter problems related to error processing, the deletion
9244of
9245objects, and placing invalid pointers onto the internal operator result
9246stack. BZ 6028, 6151 (Valery Podrezov)
9247
9248Increased the reference count threshold where a warning is emitted for
9249large
9250reference counts in order to eliminate unnecessary warnings on systems
9251with
9252large namespaces (especially 64-bit.) Increased the value from 0x400 to
92530x800.
9254
9255Due to universal disagreement as to the meaning of the 'c' in the
9256calloc()
9257function, the ACPI_MEM_CALLOCATE macro has been renamed to
9258ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
9259ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
9260ACPI_FREE.
9261
9262Code and Data Size: These are the sizes for the acpica.lib produced by
9263the
9264Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9265ACPI
9266driver or OSPM code. The debug version of the code includes the debug
9267output
9268trace mechanism and has a much larger code and data size. Note that these
9269values will vary depending on the efficiency of the compiler and the
9270compiler options used during generation.
9271
9272 Previous Release:
9273 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
9274 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
9275 Current Release:
9276 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9277 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
9278
9279
92802) iASL Compiler/Disassembler:
9281
9282Disassembler: implemented support for symbolic resource descriptor
9283references. If a CreateXxxxField operator references a fixed offset
9284within
9285a
9286resource descriptor, a name is assigned to the descriptor and the offset
9287is
9288translated to the appropriate resource tag and pathname. The addition of
9289this support brings the disassembled code very close to the original ASL
9290source code and helps eliminate run-time errors when the disassembled
9291code
9292is modified (and recompiled) in such a way as to invalidate the original
9293fixed offsets.
9294
9295Implemented support for a Descriptor Name as the last parameter to the
9296ASL
9297Register() macro. This parameter was inadvertently left out of the ACPI
9298specification, and will be added for ACPI 3.0b.
9299
9300Fixed a problem where the use of the "_OSI" string (versus the full path
9301"\_OSI") caused an internal compiler error. ("No back ptr to op")
9302
9303Fixed a problem with the error message that occurs when an invalid string
9304is
9305used for a _HID object (such as one with an embedded asterisk:
9306"*PNP010A".)
9307The correct message is now displayed.
9308
9309----------------------------------------
931017 February 2006. Summary of changes for version 20060217:
9311
93121) ACPI CA Core Subsystem:
9313
9314Implemented a change to the IndexField support to match the behavior of
9315the
9316Microsoft AML interpreter. The value written to the Index register is now
9317a
9318byte offset, no longer an index based upon the width of the Data
9319register.
9320This should fix IndexField problems seen on some machines where the Data
9321register is not exactly one byte wide. The ACPI specification will be
9322clarified on this point.
9323
9324Fixed a problem where several resource descriptor types could overrun the
9325internal descriptor buffer due to size miscalculation: VendorShort,
9326VendorLong, and Interrupt. This was noticed on IA64 machines, but could
9327affect all platforms.
9328
9329Fixed a problem where individual resource descriptors were misaligned
9330within
9331the internal buffer, causing alignment faults on IA64 platforms.
9332
9333Code and Data Size: These are the sizes for the acpica.lib produced by
9334the
9335Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9336ACPI
9337driver or OSPM code. The debug version of the code includes the debug
9338output
9339trace mechanism and has a much larger code and data size. Note that these
9340values will vary depending on the efficiency of the compiler and the
9341compiler options used during generation.
9342
9343 Previous Release:
9344 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9345 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
9346 Current Release:
9347 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
9348 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
9349
9350
93512) iASL Compiler/Disassembler:
9352
9353Implemented support for new reserved names: _WDG and _WED are Microsoft
9354extensions for Windows Instrumentation Management, _TDL is a new ACPI-
9355defined method (Throttling Depth Limit.)
9356
9357Fixed a problem where a zero-length VendorShort or VendorLong resource
9358descriptor was incorrectly emitted as a descriptor of length one.
9359
9360----------------------------------------
936110 February 2006. Summary of changes for version 20060210:
9362
93631) ACPI CA Core Subsystem:
9364
9365Removed a couple of extraneous ACPI_ERROR messages that appeared during
9366normal execution. These became apparent after the conversion from
9367ACPI_DEBUG_PRINT.
9368
9369Fixed a problem where the CreateField operator could hang if the BitIndex
9370or
9371NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
9372
9373Fixed a problem where a DeRefOf operation on a buffer object incorrectly
9374failed with an exception. This also fixes a couple of related RefOf and
9375DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
9376
9377Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
9378of
9379AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
9380BZ
93815480)
9382
9383Implemented a memory cleanup at the end of the execution of each
9384iteration
9385of an AML While() loop, preventing the accumulation of outstanding
9386objects.
9387(Valery Podrezov, BZ 5427)
9388
9389Eliminated a chunk of duplicate code in the object resolution code.
9390(Valery
9391Podrezov, BZ 5336)
9392
9393Fixed several warnings during the 64-bit code generation.
9394
9395The AcpiSrc source code conversion tool now inserts one line of
9396whitespace
9397after an if() statement that is followed immediately by a comment,
9398improving
9399readability of the Linux code.
9400
9401Code and Data Size: The current and previous library sizes for the core
9402subsystem are shown below. These are the code and data sizes for the
9403acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9404These
9405values do not include any ACPI driver or OSPM code. The debug version of
9406the
9407code includes the debug output trace mechanism and has a much larger code
9408and data size. Note that these values will vary depending on the
9409efficiency
9410of the compiler and the compiler options used during generation.
9411
9412 Previous Release:
9413 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
9414 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
9415 Current Release:
9416 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9417 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
9418
9419
94202) iASL Compiler/Disassembler:
9421
9422Fixed a problem with the disassembly of a BankField operator with a
9423complex
9424expression for the BankValue parameter.
9425
9426----------------------------------------
942727 January 2006. Summary of changes for version 20060127:
9428
94291) ACPI CA Core Subsystem:
9430
9431Implemented support in the Resource Manager to allow unresolved
9432namestring
9433references within resource package objects for the _PRT method. This
9434support
9435is in addition to the previously implemented unresolved reference support
9436within the AML parser. If the interpreter slack mode is enabled, these
9437unresolved references will be passed through to the caller as a NULL
9438package
9439entry.
9440
9441Implemented and deployed new macros and functions for error and warning
9442messages across the subsystem. These macros are simpler and generate less
9443code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
9444ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
9445macros remain defined to allow ACPI drivers time to migrate to the new
9446macros.
9447
9448Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
9449the
9450Acquire/Release Lock OSL interfaces.
9451
9452Fixed a problem where Alias ASL operators are sometimes not correctly
9453resolved, in both the interpreter and the iASL compiler.
9454
9455Fixed several problems with the implementation of the
9456ConcatenateResTemplate
9457ASL operator. As per the ACPI specification, zero length buffers are now
9458treated as a single EndTag. One-length buffers always cause a fatal
9459exception. Non-zero length buffers that do not end with a full 2-byte
9460EndTag
9461cause a fatal exception.
9462
9463Fixed a possible structure overwrite in the AcpiGetObjectInfo external
9464interface. (With assistance from Thomas Renninger)
9465
9466Code and Data Size: The current and previous library sizes for the core
9467subsystem are shown below. These are the code and data sizes for the
9468acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9469These
9470values do not include any ACPI driver or OSPM code. The debug version of
9471the
9472code includes the debug output trace mechanism and has a much larger code
9473and data size. Note that these values will vary depending on the
9474efficiency
9475of the compiler and the compiler options used during generation.
9476
9477 Previous Release:
9478 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
9479 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
9480 Current Release:
9481 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
9482 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
9483
9484
94852) iASL Compiler/Disassembler:
9486
9487Fixed an internal error that was generated for any forward references to
9488ASL
9489Alias objects.
9490
9491----------------------------------------
949213 January 2006. Summary of changes for version 20060113:
9493
94941) ACPI CA Core Subsystem:
9495
9496Added 2006 copyright to all module headers and signons. This affects
9497virtually every file in the ACPICA core subsystem, iASL compiler, and the
9498utilities.
9499
9500Enhanced the ACPICA error reporting in order to simplify user migration
9501to
9502the non-debug version of ACPICA. Replaced all instances of the
9503ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
9504debug
9505levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
9506respectively. This preserves all error and warning messages in the non-
9507debug
9508version of the ACPICA code (this has been referred to as the "debug lite"
9509option.) Over 200 cases were converted to create a total of over 380
9510error/warning messages across the ACPICA code. This increases the code
9511and
9512data size of the default non-debug version of the code somewhat (about
951313K),
9514but all error/warning reporting may be disabled if desired (and code
9515eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
9516configuration option. The size of the debug version of ACPICA remains
9517about
9518the same.
9519
9520Fixed a memory leak within the AML Debugger "Set" command. One object was
9521not properly deleted for every successful invocation of the command.
9522
9523Code and Data Size: The current and previous library sizes for the core
9524subsystem are shown below. These are the code and data sizes for the
9525acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9526These
9527values do not include any ACPI driver or OSPM code. The debug version of
9528the
9529code includes the debug output trace mechanism and has a much larger code
9530and data size. Note that these values will vary depending on the
9531efficiency
9532of the compiler and the compiler options used during generation.
9533
9534 Previous Release:
9535 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
9536 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
9537 Current Release:
9538 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
9539 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
9540
9541
95422) iASL Compiler/Disassembler:
9543
9544The compiler now officially supports the ACPI 3.0a specification that was
9545released on December 30, 2005. (Specification is available at
9546www.acpi.info)
9547
9548----------------------------------------
954916 December 2005. Summary of changes for version 20051216:
9550
95511) ACPI CA Core Subsystem:
9552
9553Implemented optional support to allow unresolved names within ASL Package
9554objects. A null object is inserted in the package when a named reference
9555cannot be located in the current namespace. Enabled via the interpreter
9556slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
9557machines
9558that contain such code.
9559
9560Implemented an optimization to the initialization sequence that can
9561improve
9562boot time. During ACPI device initialization, the _STA method is now run
9563if
9564and only if the _INI method exists. The _STA method is used to determine
9565if
9566the device is present; An _INI can only be run if _STA returns present,
9567but
9568it is a waste of time to run the _STA method if the _INI does not exist.
9569(Prototype and assistance from Dong Wei)
9570
9571Implemented use of the C99 uintptr_t for the pointer casting macros if it
9572is
9573available in the current compiler. Otherwise, the default (void *) cast
9574is
9575used as before.
9576
9577Fixed some possible memory leaks found within the execution path of the
9578Break, Continue, If, and CreateField operators. (Valery Podrezov)
9579
9580Fixed a problem introduced in the 20051202 release where an exception is
9581generated during method execution if a control method attempts to declare
9582another method.
9583
9584Moved resource descriptor string constants that are used by both the AML
9585disassembler and AML debugger to the common utilities directory so that
9586these components are independent.
9587
9588Implemented support in the AcpiExec utility (-e switch) to globally
9589ignore
9590exceptions during control method execution (method is not aborted.)
9591
9592Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
9593generation.
9594
9595Code and Data Size: The current and previous library sizes for the core
9596subsystem are shown below. These are the code and data sizes for the
9597acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9598These
9599values do not include any ACPI driver or OSPM code. The debug version of
9600the
9601code includes the debug output trace mechanism and has a much larger code
9602and data size. Note that these values will vary depending on the
9603efficiency
9604of the compiler and the compiler options used during generation.
9605
9606 Previous Release:
9607 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9608 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
9609 Current Release:
9610 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
9611 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
9612
9613
96142) iASL Compiler/Disassembler:
9615
9616Fixed a problem where a CPU stack overflow fault could occur if a
9617recursive
9618method call was made from within a Return statement.
9619
9620----------------------------------------
962102 December 2005. Summary of changes for version 20051202:
9622
96231) ACPI CA Core Subsystem:
9624
9625Modified the parsing of control methods to no longer create namespace
9626objects during the first pass of the parse. Objects are now created only
9627during the execute phase, at the moment the namespace creation operator
9628is
9629encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
9630This
9631should eliminate ALREADY_EXISTS exceptions seen on some machines where
9632reentrant control methods are protected by an AML mutex. The mutex will
9633now
9634correctly block multiple threads from attempting to create the same
9635object
9636more than once.
9637
9638Increased the number of available Owner Ids for namespace object tracking
9639from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
9640on
9641some machines with a large number of ACPI tables (either static or
9642dynamic).
9643
9644Fixed a problem with the AcpiExec utility where a fault could occur when
9645the
9646-b switch (batch mode) is used.
9647
9648Enhanced the namespace dump routine to output the owner ID for each
9649namespace object.
9650
9651Code and Data Size: The current and previous library sizes for the core
9652subsystem are shown below. These are the code and data sizes for the
9653acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9654These
9655values do not include any ACPI driver or OSPM code. The debug version of
9656the
9657code includes the debug output trace mechanism and has a much larger code
9658and data size. Note that these values will vary depending on the
9659efficiency
9660of the compiler and the compiler options used during generation.
9661
9662 Previous Release:
9663 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9664 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9665 Current Release:
9666 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9667 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
9668
9669
96702) iASL Compiler/Disassembler:
9671
9672Fixed a parse error during compilation of certain Switch/Case constructs.
9673To
9674simplify the parse, the grammar now allows for multiple Default
9675statements
9676and this error is now detected and flagged during the analysis phase.
9677
9678Disassembler: The disassembly now includes the contents of the original
9679table header within a comment at the start of the file. This includes the
9680name and version of the original ASL compiler.
9681
9682----------------------------------------
968317 November 2005. Summary of changes for version 20051117:
9684
96851) ACPI CA Core Subsystem:
9686
9687Fixed a problem in the AML parser where the method thread count could be
9688decremented below zero if any errors occurred during the method parse
9689phase.
9690This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
9691machines.
9692This also fixed a related regression with the mechanism that detects and
9693corrects methods that cannot properly handle reentrancy (related to the
9694deployment of the new OwnerId mechanism.)
9695
9696Eliminated the pre-parsing of control methods (to detect errors) during
9697table load. Related to the problem above, this was causing unwind issues
9698if
9699any errors occurred during the parse, and it seemed to be overkill. A
9700table
9701load should not be aborted if there are problems with any single control
9702method, thus rendering this feature rather pointless.
9703
9704Fixed a problem with the new table-driven resource manager where an
9705internal
9706buffer overflow could occur for small resource templates.
9707
9708Implemented a new external interface, AcpiGetVendorResource. This
9709interface
9710will find and return a vendor-defined resource descriptor within a _CRS
9711or
9712_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
9713Helgaas.
9714
9715Removed the length limit (200) on string objects as per the upcoming ACPI
97163.0A specification. This affects the following areas of the interpreter:
97171)
9718any implicit conversion of a Buffer to a String, 2) a String object
9719result
9720of the ASL Concatentate operator, 3) the String object result of the ASL
9721ToString operator.
9722
9723Fixed a problem in the Windows OS interface layer (OSL) where a
9724WAIT_FOREVER
9725on a semaphore object would incorrectly timeout. This allows the
9726multithreading features of the AcpiExec utility to work properly under
9727Windows.
9728
9729Updated the Linux makefiles for the iASL compiler and AcpiExec to include
9730the recently added file named "utresrc.c".
9731
9732Code and Data Size: The current and previous library sizes for the core
9733subsystem are shown below. These are the code and data sizes for the
9734acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9735These
9736values do not include any ACPI driver or OSPM code. The debug version of
9737the
9738code includes the debug output trace mechanism and has a much larger code
9739and data size. Note that these values will vary depending on the
9740efficiency
9741of the compiler and the compiler options used during generation.
9742
9743 Previous Release:
9744 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
9745 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9746 Current Release:
9747 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
9748 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9749
9750
97512) iASL Compiler/Disassembler:
9752
9753Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
9754specification. For the iASL compiler, this means that string literals
9755within
9756the source ASL can be of any length.
9757
9758Enhanced the listing output to dump the AML code for resource descriptors
9759immediately after the ASL code for each descriptor, instead of in a block
9760at
9761the end of the entire resource template.
9762
9763Enhanced the compiler debug output to dump the entire original parse tree
9764constructed during the parse phase, before any transforms are applied to
9765the
9766tree. The transformed tree is dumped also.
9767
9768----------------------------------------
976902 November 2005. Summary of changes for version 20051102:
9770
97711) ACPI CA Core Subsystem:
9772
9773Modified the subsystem initialization sequence to improve GPE support.
9774The
9775GPE initialization has been split into two parts in order to defer
9776execution
9777of the _PRW methods (Power Resources for Wake) until after the hardware
9778is
9779fully initialized and the SCI handler is installed. This allows the _PRW
9780methods to access fields protected by the Global Lock. This will fix
9781systems
9782where a NO_GLOBAL_LOCK exception has been seen during initialization.
9783
9784Converted the ACPI internal object disassemble and display code within
9785the
9786AML debugger to fully table-driven operation, reducing code size and
9787increasing maintainability.
9788
9789Fixed a regression with the ConcatenateResTemplate() ASL operator
9790introduced
9791in the 20051021 release.
9792
9793Implemented support for "local" internal ACPI object types within the
9794debugger "Object" command and the AcpiWalkNamespace external interfaces.
9795These local types include RegionFields, BankFields, IndexFields, Alias,
9796and
9797reference objects.
9798
9799Moved common AML resource handling code into a new file, "utresrc.c".
9800This
9801code is shared by both the Resource Manager and the AML Debugger.
9802
9803Code and Data Size: The current and previous library sizes for the core
9804subsystem are shown below. These are the code and data sizes for the
9805acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9806These
9807values do not include any ACPI driver or OSPM code. The debug version of
9808the
9809code includes the debug output trace mechanism and has a much larger code
9810and data size. Note that these values will vary depending on the
9811efficiency
9812of the compiler and the compiler options used during generation.
9813
9814 Previous Release:
9815 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
9816 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
9817 Current Release:
9818 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
9819 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
9820
9821
98222) iASL Compiler/Disassembler:
9823
9824Fixed a problem with very large initializer lists (more than 4000
9825elements)
9826for both Buffer and Package objects where the parse stack could overflow.
9827
9828Enhanced the pre-compile source code scan for non-ASCII characters to
9829ignore
9830characters within comment fields. The scan is now always performed and is
9831no
9832longer optional, detecting invalid characters within a source file
9833immediately rather than during the parse phase or later.
9834
9835Enhanced the ASL grammar definition to force early reductions on all
9836list-
9837style grammar elements so that the overall parse stack usage is greatly
9838reduced. This should improve performance and reduce the possibility of
9839parse
9840stack overflow.
9841
9842Eliminated all reduce/reduce conflicts in the iASL parser generation.
9843Also,
9844with the addition of a %expected statement, the compiler generates from
9845source with no warnings.
9846
9847Fixed a possible segment fault in the disassembler if the input filename
9848does not contain a "dot" extension (Thomas Renninger).
9849
9850----------------------------------------
985121 October 2005. Summary of changes for version 20051021:
9852
98531) ACPI CA Core Subsystem:
9854
9855Implemented support for the EM64T and other x86-64 processors. This
9856essentially entails recognizing that these processors support non-aligned
9857memory transfers. Previously, all 64-bit processors were assumed to lack
9858hardware support for non-aligned transfers.
9859
9860Completed conversion of the Resource Manager to nearly full table-driven
9861operation. Specifically, the resource conversion code (convert AML to
9862internal format and the reverse) and the debug code to dump internal
9863resource descriptors are fully table-driven, reducing code and data size
9864and
9865improving maintainability.
9866
9867The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
9868word
9869on 64-bit processors instead of a fixed 32-bit word. (With assistance
9870from
9871Alexey Starikovskiy)
9872
9873Implemented support within the resource conversion code for the Type-
9874Specific byte within the various ACPI 3.0 *WordSpace macros.
9875
9876Fixed some issues within the resource conversion code for the type-
9877specific
9878flags for both Memory and I/O address resource descriptors. For Memory,
9879implemented support for the MTP and TTP flags. For I/O, split the TRS and
9880TTP flags into two separate fields.
9881
9882Code and Data Size: The current and previous library sizes for the core
9883subsystem are shown below. These are the code and data sizes for the
9884acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9885These
9886values do not include any ACPI driver or OSPM code. The debug version of
9887the
9888code includes the debug output trace mechanism and has a much larger code
9889and data size. Note that these values will vary depending on the
9890efficiency
9891of the compiler and the compiler options used during generation.
9892
9893 Previous Release:
9894 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
9895 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
9896 Current Release:
9897 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
9898 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
9899
9900
9901
99022) iASL Compiler/Disassembler:
9903
9904Relaxed a compiler restriction that disallowed a ResourceIndex byte if
9905the
9906corresponding ResourceSource string was not also present in a resource
9907descriptor declaration. This restriction caused problems with existing
9908AML/ASL code that includes the Index byte without the string. When such
9909AML
9910was disassembled, it could not be compiled without modification. Further,
9911the modified code created a resource template with a different size than
9912the
9913original, breaking code that used fixed offsets into the resource
9914template
9915buffer.
9916
9917Removed a recent feature of the disassembler to ignore a lone
9918ResourceIndex
9919byte. This byte is now emitted if present so that the exact AML can be
9920reproduced when the disassembled code is recompiled.
9921
9922Improved comments and text alignment for the resource descriptor code
9923emitted by the disassembler.
9924
9925Implemented disassembler support for the ACPI 3.0 AccessSize field within
9926a
9927Register() resource descriptor.
9928
9929----------------------------------------
993030 September 2005. Summary of changes for version 20050930:
9931
99321) ACPI CA Core Subsystem:
9933
9934Completed a major overhaul of the Resource Manager code - specifically,
9935optimizations in the area of the AML/internal resource conversion code.
9936The
9937code has been optimized to simplify and eliminate duplicated code, CPU
9938stack
9939use has been decreased by optimizing function parameters and local
9940variables, and naming conventions across the manager have been
9941standardized
9942for clarity and ease of maintenance (this includes function, parameter,
9943variable, and struct/typedef names.) The update may force changes in some
9944driver code, depending on how resources are handled by the host OS.
9945
9946All Resource Manager dispatch and information tables have been moved to a
9947single location for clarity and ease of maintenance. One new file was
9948created, named "rsinfo.c".
9949
9950The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
9951guarantee that the argument is not evaluated twice, making them less
9952prone
9953to macro side-effects. However, since there exists the possibility of
9954additional stack use if a particular compiler cannot optimize them (such
9955as
9956in the debug generation case), the original macros are optionally
9957available.
9958Note that some invocations of the return_VALUE macro may now cause size
9959mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
9960to
9961eliminate these. (From Randy Dunlap)
9962
9963Implemented a new mechanism to enable debug tracing for individual
9964control
9965methods. A new external interface, AcpiDebugTrace, is provided to enable
9966this mechanism. The intent is to allow the host OS to easily enable and
9967disable tracing for problematic control methods. This interface can be
9968easily exposed to a user or debugger interface if desired. See the file
9969psxface.c for details.
9970
9971AcpiUtCallocate will now return a valid pointer if a length of zero is
9972specified - a length of one is used and a warning is issued. This matches
9973the behavior of AcpiUtAllocate.
9974
9975Code and Data Size: The current and previous library sizes for the core
9976subsystem are shown below. These are the code and data sizes for the
9977acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9978These
9979values do not include any ACPI driver or OSPM code. The debug version of
9980the
9981code includes the debug output trace mechanism and has a much larger code
9982and data size. Note that these values will vary depending on the
9983efficiency
9984of the compiler and the compiler options used during generation.
9985
9986 Previous Release:
9987 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
9988 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
9989 Current Release:
9990 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
9991 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
9992
9993
99942) iASL Compiler/Disassembler:
9995
9996A remark is issued if the effective compile-time length of a package or
9997buffer is zero. Previously, this was a warning.
9998
9999----------------------------------------
1000016 September 2005. Summary of changes for version 20050916:
10001
100021) ACPI CA Core Subsystem:
10003
10004Fixed a problem within the Resource Manager where support for the Generic
10005Register descriptor was not fully implemented. This descriptor is now
10006fully
10007recognized, parsed, disassembled, and displayed.
10008
10009Completely restructured the Resource Manager code to utilize table-driven
10010dispatch and lookup, eliminating many of the large switch() statements.
10011This
10012reduces overall subsystem code size and code complexity. Affects the
10013resource parsing and construction, disassembly, and debug dump output.
10014
10015Cleaned up and restructured the debug dump output for all resource
10016descriptors. Improved readability of the output and reduced code size.
10017
10018Fixed a problem where changes to internal data structures caused the
10019optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
10020
10021Code and Data Size: The current and previous library sizes for the core
10022subsystem are shown below. These are the code and data sizes for the
10023acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10024These
10025values do not include any ACPI driver or OSPM code. The debug version of
10026the
10027code includes the debug output trace mechanism and has a much larger code
10028and data size. Note that these values will vary depending on the
10029efficiency
10030of the compiler and the compiler options used during generation.
10031
10032 Previous Release:
10033 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
10034 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
10035 Current Release:
10036 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
10037 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
10038
10039
100402) iASL Compiler/Disassembler:
10041
10042Updated the disassembler to automatically insert an EndDependentFn()
10043macro
10044into the ASL stream if this macro is missing in the original AML code,
10045simplifying compilation of the resulting ASL module.
10046
10047Fixed a problem in the disassembler where a disassembled ResourceSource
10048string (within a large resource descriptor) was not surrounded by quotes
10049and
10050not followed by a comma, causing errors when the resulting ASL module was
10051compiled. Also, escape sequences within a ResourceSource string are now
10052handled correctly (especially "\\")
10053
10054----------------------------------------
1005502 September 2005. Summary of changes for version 20050902:
10056
100571) ACPI CA Core Subsystem:
10058
10059Fixed a problem with the internal Owner ID allocation and deallocation
10060mechanisms for control method execution and recursive method invocation.
10061This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
10062messages seen on some systems. Recursive method invocation depth is
10063currently limited to 255. (Alexey Starikovskiy)
10064
10065Completely eliminated all vestiges of support for the "module-level
10066executable code" until this support is fully implemented and debugged.
10067This
10068should eliminate the NO_RETURN_VALUE exceptions seen during table load on
10069some systems that invoke this support.
10070
10071Fixed a problem within the resource manager code where the transaction
10072flags
10073for a 64-bit address descriptor were handled incorrectly in the type-
10074specific flag byte.
10075
10076Consolidated duplicate code within the address descriptor resource
10077manager
10078code, reducing overall subsystem code size.
10079
10080Fixed a fault when using the AML debugger "disassemble" command to
10081disassemble individual control methods.
10082
10083Removed references to the "release_current" directory within the Unix
10084release package.
10085
10086Code and Data Size: The current and previous core subsystem library sizes
10087are shown below. These are the code and data sizes for the acpica.lib
10088produced by the Microsoft Visual C++ 6.0 compiler. These values do not
10089include any ACPI driver or OSPM code. The debug version of the code
10090includes
10091the debug output trace mechanism and has a much larger code and data
10092size.
10093Note that these values will vary depending on the efficiency of the
10094compiler
10095and the compiler options used during generation.
10096
10097 Previous Release:
10098 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10099 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
10100 Current Release:
10101 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
10102 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
10103
10104
101052) iASL Compiler/Disassembler:
10106
10107Implemented an error check for illegal duplicate values in the interrupt
10108and
10109dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
10110Interrupt().
10111
10112Implemented error checking for the Irq() and IrqNoFlags() macros to
10113detect
10114too many values in the interrupt list (16 max) and invalid values in the
10115list (range 0 - 15)
10116
10117The maximum length string literal within an ASL file is now restricted to
10118200 characters as per the ACPI specification.
10119
10120Fixed a fault when using the -ln option (generate namespace listing).
10121
10122Implemented an error check to determine if a DescriptorName within a
10123resource descriptor has already been used within the current scope.
10124
10125----------------------------------------
1012615 August 2005. Summary of changes for version 20050815:
10127
101281) ACPI CA Core Subsystem:
10129
10130Implemented a full bytewise compare to determine if a table load request
10131is
10132attempting to load a duplicate table. The compare is performed if the
10133table
10134signatures and table lengths match. This will allow different tables with
10135the same OEM Table ID and revision to be loaded - probably against the
10136ACPI
10137specification, but discovered in the field nonetheless.
10138
10139Added the changes.txt logfile to each of the zipped release packages.
10140
10141Code and Data Size: Current and previous core subsystem library sizes are
10142shown below. These are the code and data sizes for the acpica.lib
10143produced
10144by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10145any ACPI driver or OSPM code. The debug version of the code includes the
10146debug output trace mechanism and has a much larger code and data size.
10147Note
10148that these values will vary depending on the efficiency of the compiler
10149and
10150the compiler options used during generation.
10151
10152 Previous Release:
10153 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10154 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
10155 Current Release:
10156 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10157 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
10158
10159
101602) iASL Compiler/Disassembler:
10161
10162Fixed a problem where incorrect AML code could be generated for Package
10163objects if optimization is disabled (via the -oa switch).
10164
10165Fixed a problem with where incorrect AML code is generated for variable-
10166length packages when the package length is not specified and the number
10167of
10168initializer values is greater than 255.
10169
10170
10171----------------------------------------
1017229 July 2005. Summary of changes for version 20050729:
10173
101741) ACPI CA Core Subsystem:
10175
10176Implemented support to ignore an attempt to install/load a particular
10177ACPI
10178table more than once. Apparently there exists BIOS code that repeatedly
10179attempts to load the same SSDT upon certain events. With assistance from
10180Venkatesh Pallipadi.
10181
10182Restructured the main interface to the AML parser in order to correctly
10183handle all exceptional conditions. This will prevent leakage of the
10184OwnerId
10185resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
10186some
10187machines. With assistance from Alexey Starikovskiy.
10188
10189Support for "module level code" has been disabled in this version due to
10190a
10191number of issues that have appeared on various machines. The support can
10192be
10193enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
10194compilation. When the issues are fully resolved, the code will be enabled
10195by
10196default again.
10197
10198Modified the internal functions for debug print support to define the
10199FunctionName parameter as a (const char *) for compatibility with
10200compiler
10201built-in macros such as __FUNCTION__, etc.
10202
10203Linted the entire ACPICA source tree for both 32-bit and 64-bit.
10204
10205Implemented support to display an object count summary for the AML
10206Debugger
10207commands Object and Methods.
10208
10209Code and Data Size: Current and previous core subsystem library sizes are
10210shown below. These are the code and data sizes for the acpica.lib
10211produced
10212by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10213any ACPI driver or OSPM code. The debug version of the code includes the
10214debug output trace mechanism and has a much larger code and data size.
10215Note
10216that these values will vary depending on the efficiency of the compiler
10217and
10218the compiler options used during generation.
10219
10220 Previous Release:
10221 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
10222 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
10223 Current Release:
10224 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10225 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
10226
10227
102282) iASL Compiler/Disassembler:
10229
10230Fixed a regression that appeared in the 20050708 version of the compiler
10231where an error message was inadvertently emitted for invocations of the
10232_OSI
10233reserved control method.
10234
10235----------------------------------------
1023608 July 2005. Summary of changes for version 20050708:
10237
102381) ACPI CA Core Subsystem:
10239
10240The use of the CPU stack in the debug version of the subsystem has been
10241considerably reduced. Previously, a debug structure was declared in every
10242function that used the debug macros. This structure has been removed in
10243favor of declaring the individual elements as parameters to the debug
10244functions. This reduces the cumulative stack use during nested execution
10245of
10246ACPI function calls at the cost of a small increase in the code size of
10247the
10248debug version of the subsystem. With assistance from Alexey Starikovskiy
10249and
10250Len Brown.
10251
10252Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
10253headers to define a macro that will return the current function name at
10254runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
10255by
10256the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
10257compiler-dependent header, the function name is saved on the CPU stack
10258(one
10259pointer per function.) This mechanism is used because apparently there
10260exists no standard ANSI-C defined macro that that returns the function
10261name.
10262
10263Redesigned and reimplemented the "Owner ID" mechanism used to track
10264namespace objects created/deleted by ACPI tables and control method
10265execution. A bitmap is now used to allocate and free the IDs, thus
10266solving
10267the wraparound problem present in the previous implementation. The size
10268of
10269the namespace node descriptor was reduced by 2 bytes as a result (Alexey
10270Starikovskiy).
10271
10272Removed the UINT32_BIT and UINT16_BIT types that were used for the
10273bitfield
10274flag definitions within the headers for the predefined ACPI tables. These
10275have been replaced by UINT8_BIT in order to increase the code portability
10276of
10277the subsystem. If the use of UINT8 remains a problem, we may be forced to
10278eliminate bitfields entirely because of a lack of portability.
10279
10280Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
10281This
10282is a frequently used function and this improvement increases the
10283performance
10284of the entire subsystem (Alexey Starikovskiy).
10285
10286Fixed several possible memory leaks and the inverse - premature object
10287deletion (Alexey Starikovskiy).
10288
10289Code and Data Size: Current and previous core subsystem library sizes are
10290shown below. These are the code and data sizes for the acpica.lib
10291produced
10292by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10293any ACPI driver or OSPM code. The debug version of the code includes the
10294debug output trace mechanism and has a much larger code and data size.
10295Note
10296that these values will vary depending on the efficiency of the compiler
10297and
10298the compiler options used during generation.
10299
10300 Previous Release:
10301 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
10302 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
10303 Current Release:
10304 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
10305 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
10306
10307----------------------------------------
1030824 June 2005. Summary of changes for version 20050624:
10309
103101) ACPI CA Core Subsystem:
10311
10312Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
10313the host-defined cache object. This allows the OSL implementation to
10314define
10315and type this object in any manner desired, simplifying the OSL
10316implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
10317Linux, and should be defined in the OS-specific header file for other
10318operating systems as required.
10319
10320Changed the interface to AcpiOsAcquireObject to directly return the
10321requested object as the function return (instead of ACPI_STATUS.) This
10322change was made for performance reasons, since this is the purpose of the
10323interface in the first place. AcpiOsAcquireObject is now similar to the
10324AcpiOsAllocate interface.
10325
10326Implemented a new AML debugger command named Businfo. This command
10327displays
10328information about all devices that have an associate _PRT object. The
10329_ADR,
10330_HID, _UID, and _CID are displayed for these devices.
10331
10332Modified the initialization sequence in AcpiInitializeSubsystem to call
10333the
10334OSL interface AcpiOslInitialize first, before any local initialization.
10335This
10336change was required because the global initialization now calls OSL
10337interfaces.
10338
10339Enhanced the Dump command to display the entire contents of Package
10340objects
10341(including all sub-objects and their values.)
10342
10343Restructured the code base to split some files because of size and/or
10344because the code logically belonged in a separate file. New files are
10345listed
10346below. All makefiles and project files included in the ACPI CA release
10347have
10348been updated.
10349 utilities/utcache.c /* Local cache interfaces */
10350 utilities/utmutex.c /* Local mutex support */
10351 utilities/utstate.c /* State object support */
10352 interpreter/parser/psloop.c /* Main AML parse loop */
10353
10354Code and Data Size: Current and previous core subsystem library sizes are
10355shown below. These are the code and data sizes for the acpica.lib
10356produced
10357by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10358any ACPI driver or OSPM code. The debug version of the code includes the
10359debug output trace mechanism and has a much larger code and data size.
10360Note
10361that these values will vary depending on the efficiency of the compiler
10362and
10363the compiler options used during generation.
10364
10365 Previous Release:
10366 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
10367 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
10368 Current Release:
10369 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
10370 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
10371
10372
103732) iASL Compiler/Disassembler:
10374
10375Fixed a regression introduced in version 20050513 where the use of a
10376Package
10377object within a Case() statement caused a compile time exception. The
10378original behavior has been restored (a Match() operator is emitted.)
10379
10380----------------------------------------
1038117 June 2005. Summary of changes for version 20050617:
10382
103831) ACPI CA Core Subsystem:
10384
10385Moved the object cache operations into the OS interface layer (OSL) to
10386allow
10387the host OS to handle these operations if desired (for example, the Linux
10388OSL will invoke the slab allocator). This support is optional; the
10389compile
10390time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
10391cache
10392code in the ACPI CA core. The new OSL interfaces are shown below. See
10393utalloc.c for an example implementation, and acpiosxf.h for the exact
10394interface definitions. With assistance from Alexey Starikovskiy.
10395 AcpiOsCreateCache
10396 AcpiOsDeleteCache
10397 AcpiOsPurgeCache
10398 AcpiOsAcquireObject
10399 AcpiOsReleaseObject
10400
10401Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
10402return
10403and restore a flags parameter. This fits better with many OS lock models.
10404Note: the current execution state (interrupt handler or not) is no longer
10405passed to these interfaces. If necessary, the OSL must determine this
10406state
10407by itself, a simple and fast operation. With assistance from Alexey
10408Starikovskiy.
10409
10410Fixed a problem in the ACPI table handling where a valid XSDT was assumed
10411present if the revision of the RSDP was 2 or greater. According to the
10412ACPI
10413specification, the XSDT is optional in all cases, and the table manager
10414therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
10415Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
10416contain
10417only the RSDT.
10418
10419Fixed an interpreter problem with the Mid() operator in the case of an
10420input
10421string where the resulting output string is of zero length. It now
10422correctly
10423returns a valid, null terminated string object instead of a string object
10424with a null pointer.
10425
10426Fixed a problem with the control method argument handling to allow a
10427store
10428to an Arg object that already contains an object of type Device. The
10429Device
10430object is now correctly overwritten. Previously, an error was returned.
10431
10432
10433Enhanced the debugger Find command to emit object values in addition to
10434the
10435found object pathnames. The output format is the same as the dump
10436namespace
10437command.
10438
10439Enhanced the debugger Set command. It now has the ability to set the
10440value
10441of any Named integer object in the namespace (Previously, only method
10442locals
10443and args could be set.)
10444
10445Code and Data Size: Current and previous core subsystem library sizes are
10446shown below. These are the code and data sizes for the acpica.lib
10447produced
10448by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10449any ACPI driver or OSPM code. The debug version of the code includes the
10450debug output trace mechanism and has a much larger code and data size.
10451Note
10452that these values will vary depending on the efficiency of the compiler
10453and
10454the compiler options used during generation.
10455
10456 Previous Release:
10457 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
10458 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
10459 Current Release:
10460 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
10461 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
10462
10463
104642) iASL Compiler/Disassembler:
10465
10466Fixed a regression in the disassembler where if/else/while constructs
10467were
10468output incorrectly. This problem was introduced in the previous release
10469(20050526). This problem also affected the single-step disassembly in the
10470debugger.
10471
10472Fixed a problem where compiling the reserved _OSI method would randomly
10473(but
10474rarely) produce compile errors.
10475
10476Enhanced the disassembler to emit compilable code in the face of
10477incorrect
10478AML resource descriptors. If the optional ResourceSourceIndex is present,
10479but the ResourceSource is not, do not emit the ResourceSourceIndex in the
10480disassembly. Otherwise, the resulting code cannot be compiled without
10481errors.
10482
10483----------------------------------------
1048426 May 2005. Summary of changes for version 20050526:
10485
104861) ACPI CA Core Subsystem:
10487
10488Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
10489the module level (not within a control method.) These opcodes are
10490executed
10491exactly once at the time the table is loaded. This type of code was legal
10492up
10493until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
10494in
10495order to provide backwards compatibility with earlier BIOS
10496implementations.
10497This eliminates the "Encountered executable code at module level" warning
10498that was previously generated upon detection of such code.
10499
10500Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
10501inadvertently be generated during the lookup of namespace objects in the
10502second pass parse of ACPI tables and control methods. It appears that
10503this
10504problem could occur during the resolution of forward references to
10505namespace
10506objects.
10507
10508Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
10509corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
10510allows the deadlock detection debug code to be compiled out in the normal
10511case, improving mutex performance (and overall subsystem performance)
10512considerably.
10513
10514Implemented a handful of miscellaneous fixes for possible memory leaks on
10515error conditions and error handling control paths. These fixes were
10516suggested by FreeBSD and the Coverity Prevent source code analysis tool.
10517
10518Added a check for a null RSDT pointer in AcpiGetFirmwareTable
10519(tbxfroot.c)
10520to prevent a fault in this error case.
10521
10522Code and Data Size: Current and previous core subsystem library sizes are
10523shown below. These are the code and data sizes for the acpica.lib
10524produced
10525by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10526any ACPI driver or OSPM code. The debug version of the code includes the
10527debug output trace mechanism and has a much larger code and data size.
10528Note
10529that these values will vary depending on the efficiency of the compiler
10530and
10531the compiler options used during generation.
10532
10533 Previous Release:
10534 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10535 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10536 Current Release:
10537 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
10538 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
10539
10540
105412) iASL Compiler/Disassembler:
10542
10543Implemented support to allow Type 1 and Type 2 ASL operators to appear at
10544the module level (not within a control method.) These operators will be
10545executed once at the time the table is loaded. This type of code was
10546legal
10547up until the release of ACPI 2.0B (2002) and is now supported by the iASL
10548compiler in order to provide backwards compatibility with earlier BIOS
10549ASL
10550code.
10551
10552The ACPI integer width (specified via the table revision ID or the -r
10553override, 32 or 64 bits) is now used internally during compile-time
10554constant
10555folding to ensure that constants are truncated to 32 bits if necessary.
10556Previously, the revision ID value was only emitted in the AML table
10557header.
10558
10559An error message is now generated for the Mutex and Method operators if
10560the
10561SyncLevel parameter is outside the legal range of 0 through 15.
10562
10563Fixed a problem with the Method operator ParameterTypes list handling
10564(ACPI
105653.0). Previously, more than 2 types or 2 arguments generated a syntax
10566error.
10567The actual underlying implementation of method argument typechecking is
10568still under development, however.
10569
10570----------------------------------------
1057113 May 2005. Summary of changes for version 20050513:
10572
105731) ACPI CA Core Subsystem:
10574
10575Implemented support for PCI Express root bridges -- added support for
10576device
10577PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
10578
10579The interpreter now automatically truncates incoming 64-bit constants to
1058032
10581bits if currently executing out of a 32-bit ACPI table (Revision < 2).
10582This
10583also affects the iASL compiler constant folding. (Note: as per below, the
10584iASL compiler no longer allows 64-bit constants within 32-bit tables.)
10585
10586Fixed a problem where string and buffer objects with "static" pointers
10587(pointers to initialization data within an ACPI table) were not handled
10588consistently. The internal object copy operation now always copies the
10589data
10590to a newly allocated buffer, regardless of whether the source object is
10591static or not.
10592
10593Fixed a problem with the FromBCD operator where an implicit result
10594conversion was improperly performed while storing the result to the
10595target
10596operand. Since this is an "explicit conversion" operator, the implicit
10597conversion should never be performed on the output.
10598
10599Fixed a problem with the CopyObject operator where a copy to an existing
10600named object did not always completely overwrite the existing object
10601stored
10602at name. Specifically, a buffer-to-buffer copy did not delete the
10603existing
10604buffer.
10605
10606Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
10607and
10608structs for consistency.
10609
10610Code and Data Size: Current and previous core subsystem library sizes are
10611shown below. These are the code and data sizes for the acpica.lib
10612produced
10613by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10614any ACPI driver or OSPM code. The debug version of the code includes the
10615debug output trace mechanism and has a much larger code and data size.
10616Note
10617that these values will vary depending on the efficiency of the compiler
10618and
10619the compiler options used during generation.
10620
10621 Previous Release:
10622 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10623 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10624 Current Release: (Same sizes)
10625 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10626 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10627
10628
106292) iASL Compiler/Disassembler:
10630
10631The compiler now emits a warning if an attempt is made to generate a 64-
10632bit
10633integer constant from within a 32-bit ACPI table (Revision < 2). The
10634integer
10635is truncated to 32 bits.
10636
10637Fixed a problem with large package objects: if the static length of the
10638package is greater than 255, the "variable length package" opcode is
10639emitted. Previously, this caused an error. This requires an update to the
10640ACPI spec, since it currently (incorrectly) states that packages larger
10641than
10642255 elements are not allowed.
10643
10644The disassembler now correctly handles variable length packages and
10645packages
10646larger than 255 elements.
10647
10648----------------------------------------
1064908 April 2005. Summary of changes for version 20050408:
10650
106511) ACPI CA Core Subsystem:
10652
10653Fixed three cases in the interpreter where an "index" argument to an ASL
10654function was still (internally) 32 bits instead of the required 64 bits.
10655This was the Index argument to the Index, Mid, and Match operators.
10656
10657The "strupr" function is now permanently local (AcpiUtStrupr), since this
10658is
10659not a POSIX-defined function and not present in most kernel-level C
10660libraries. All references to the C library strupr function have been
10661removed
10662from the headers.
10663
10664Completed the deployment of static functions/prototypes. All prototypes
10665with
10666the static attribute have been moved from the headers to the owning C
10667file.
10668
10669Implemented an extract option (-e) for the AcpiBin utility (AML binary
10670utility). This option allows the utility to extract individual ACPI
10671tables
10672from the output of AcpiDmp. It provides the same functionality of the
10673acpixtract.pl perl script without the worry of setting the correct perl
10674options. AcpiBin runs on Windows and has not yet been generated/validated
10675in
10676the Linux/Unix environment (but should be soon).
10677
10678Updated and fixed the table dump option for AcpiBin (-d). This option
10679converts a single ACPI table to a hex/ascii file, similar to the output
10680of
10681AcpiDmp.
10682
10683Code and Data Size: Current and previous core subsystem library sizes are
10684shown below. These are the code and data sizes for the acpica.lib
10685produced
10686by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10687any ACPI driver or OSPM code. The debug version of the code includes the
10688debug output trace mechanism and has a much larger code and data size.
10689Note
10690that these values will vary depending on the efficiency of the compiler
10691and
10692the compiler options used during generation.
10693
10694 Previous Release:
10695 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
10696 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
10697 Current Release:
10698 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
10699 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
10700
10701
107022) iASL Compiler/Disassembler:
10703
10704Disassembler fix: Added a check to ensure that the table length found in
10705the
10706ACPI table header within the input file is not longer than the actual
10707input
10708file size. This indicates some kind of file or table corruption.
10709
10710----------------------------------------
1071129 March 2005. Summary of changes for version 20050329:
10712
107131) ACPI CA Core Subsystem:
10714
10715An error is now generated if an attempt is made to create a Buffer Field
10716of
10717length zero (A CreateField with a length operand of zero.)
10718
10719The interpreter now issues a warning whenever executable code at the
10720module
10721level is detected during ACPI table load. This will give some idea of the
10722prevalence of this type of code.
10723
10724Implemented support for references to named objects (other than control
10725methods) within package objects.
10726
10727Enhanced package object output for the debug object. Package objects are
10728now
10729completely dumped, showing all elements.
10730
10731Enhanced miscellaneous object output for the debug object. Any object can
10732now be written to the debug object (for example, a device object can be
10733written, and the type of the object will be displayed.)
10734
10735The "static" qualifier has been added to all local functions across both
10736the
10737core subsystem and the iASL compiler.
10738
10739The number of "long" lines (> 80 chars) within the source has been
10740significantly reduced, by about 1/3.
10741
10742Cleaned up all header files to ensure that all CA/iASL functions are
10743prototyped (even static functions) and the formatting is consistent.
10744
10745Two new header files have been added, acopcode.h and acnames.h.
10746
10747Removed several obsolete functions that were no longer used.
10748
10749Code and Data Size: Current and previous core subsystem library sizes are
10750shown below. These are the code and data sizes for the acpica.lib
10751produced
10752by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10753any ACPI driver or OSPM code. The debug version of the code includes the
10754debug output trace mechanism and has a much larger code and data size.
10755Note
10756that these values will vary depending on the efficiency of the compiler
10757and
10758the compiler options used during generation.
10759
10760 Previous Release:
10761 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10762 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
10763 Current Release:
10764 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
10765 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
10766
10767
10768
107692) iASL Compiler/Disassembler:
10770
10771Fixed a problem with the resource descriptor generation/support. For the
10772ResourceSourceIndex and the ResourceSource fields, both must be present,
10773or
10774both must be not present - can't have one without the other.
10775
10776The compiler now returns non-zero from the main procedure if any errors
10777have
10778occurred during the compilation.
10779
10780
10781----------------------------------------
1078209 March 2005. Summary of changes for version 20050309:
10783
107841) ACPI CA Core Subsystem:
10785
10786The string-to-buffer implicit conversion code has been modified again
10787after
10788a change to the ACPI specification. In order to match the behavior of
10789the
10790other major ACPI implementation, the target buffer is no longer truncated
10791if
10792the source string is smaller than an existing target buffer. This change
10793requires an update to the ACPI spec, and should eliminate the recent
10794AE_AML_BUFFER_LIMIT issues.
10795
10796The "implicit return" support was rewritten to a new algorithm that
10797solves
10798the general case. Rather than attempt to determine when a method is about
10799to
10800exit, the result of every ASL operator is saved momentarily until the
10801very
10802next ASL operator is executed. Therefore, no matter how the method exits,
10803there will always be a saved implicit return value. This feature is only
10804enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
10805eliminate
10806AE_AML_NO_RETURN_VALUE errors when enabled.
10807
10808Implemented implicit conversion support for the predicate (operand) of
10809the
10810If, Else, and While operators. String and Buffer arguments are
10811automatically
10812converted to Integers.
10813
10814Changed the string-to-integer conversion behavior to match the new ACPI
10815errata: "If no integer object exists, a new integer is created. The ASCII
10816string is interpreted as a hexadecimal constant. Each string character is
10817interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
10818with the first character as the most significant digit, and ending with
10819the
10820first non-hexadecimal character or end-of-string." This means that the
10821first
10822non-hex character terminates the conversion and this is the code that was
10823changed.
10824
10825Fixed a problem where the ObjectType operator would fail (fault) when
10826used
10827on an Index of a Package which pointed to a null package element. The
10828operator now properly returns zero (Uninitialized) in this case.
10829
10830Fixed a problem where the While operator used excessive memory by not
10831properly popping the result stack during execution. There was no memory
10832leak
10833after execution, however. (Code provided by Valery Podrezov.)
10834
10835Fixed a problem where references to control methods within Package
10836objects
10837caused the method to be invoked, instead of producing a reference object
10838pointing to the method.
10839
10840Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
10841to
10842improve performance and reduce code size. (Code provided by Alexey
10843Starikovskiy.)
10844
10845Code and Data Size: Current and previous core subsystem library sizes are
10846shown below. These are the code and data sizes for the acpica.lib
10847produced
10848by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10849any ACPI driver or OSPM code. The debug version of the code includes the
10850debug output trace mechanism and has a much larger code and data size.
10851Note
10852that these values will vary depending on the efficiency of the compiler
10853and
10854the compiler options used during generation.
10855
10856 Previous Release:
10857 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10858 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
10859 Current Release:
10860 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10861 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
10862
10863
108642) iASL Compiler/Disassembler:
10865
10866Fixed a problem with the Return operator with no arguments. Since the AML
10867grammar for the byte encoding requires an operand for the Return opcode,
10868the
10869compiler now emits a Return(Zero) for this case. An ACPI specification
10870update has been written for this case.
10871
10872For tables other than the DSDT, namepath optimization is automatically
10873disabled. This is because SSDTs can be loaded anywhere in the namespace,
10874the
10875compiler has no knowledge of where, and thus cannot optimize namepaths.
10876
10877Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
10878inadvertently omitted from the ACPI specification, and will require an
10879update to the spec.
10880
10881The source file scan for ASCII characters is now optional (-a). This
10882change
10883was made because some vendors place non-ascii characters within comments.
10884However, the scan is simply a brute-force byte compare to ensure all
10885characters in the file are in the range 0x00 to 0x7F.
10886
10887Fixed a problem with the CondRefOf operator where the compiler was
10888inappropriately checking for the existence of the target. Since the point
10889of
10890the operator is to check for the existence of the target at run-time, the
10891compiler no longer checks for the target existence.
10892
10893Fixed a problem where errors generated from the internal AML interpreter
10894during constant folding were not handled properly, causing a fault.
10895
10896Fixed a problem with overly aggressive range checking for the Stall
10897operator. The valid range (max 255) is now only checked if the operand is
10898of
10899type Integer. All other operand types cannot be statically checked.
10900
10901Fixed a problem where control method references within the RefOf,
10902DeRefOf,
10903and ObjectType operators were not treated properly. They are now treated
10904as
10905actual references, not method invocations.
10906
10907Fixed and enhanced the "list namespace" option (-ln). This option was
10908broken
10909a number of releases ago.
10910
10911Improved error handling for the Field, IndexField, and BankField
10912operators.
10913The compiler now cleanly reports and recovers from errors in the field
10914component (FieldUnit) list.
10915
10916Fixed a disassembler problem where the optional ResourceDescriptor fields
10917TRS and TTP were not always handled correctly.
10918
10919Disassembler - Comments in output now use "//" instead of "/*"
10920
10921----------------------------------------
1092228 February 2005. Summary of changes for version 20050228:
10923
109241) ACPI CA Core Subsystem:
10925
10926Fixed a problem where the result of an Index() operator (an object
10927reference) must increment the reference count on the target object for
10928the
10929life of the object reference.
10930
10931Implemented AML Interpreter and Debugger support for the new ACPI 3.0
10932Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
10933WordSpace
10934resource descriptors.
10935
10936Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
10937Space Descriptor" string, indicating interpreter support for the
10938descriptors
10939above.
10940
10941Implemented header support for the new ACPI 3.0 FADT flag bits.
10942
10943Implemented header support for the new ACPI 3.0 PCI Express bits for the
10944PM1
10945status/enable registers.
10946
10947Updated header support for the MADT processor local Apic struct and MADT
10948platform interrupt source struct for new ACPI 3.0 fields.
10949
10950Implemented header support for the SRAT and SLIT ACPI tables.
10951
10952Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
10953flag
10954at runtime.
10955
10956Code and Data Size: Current and previous core subsystem library sizes are
10957shown below. These are the code and data sizes for the acpica.lib
10958produced
10959by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10960any ACPI driver or OSPM code. The debug version of the code includes the
10961debug output trace mechanism and has a much larger code and data size.
10962Note
10963that these values will vary depending on the efficiency of the compiler
10964and
10965the compiler options used during generation.
10966
10967 Previous Release:
10968 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
10969 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
10970 Current Release:
10971 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
10972 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
10973
10974
109752) iASL Compiler/Disassembler:
10976
10977Fixed a problem with the internal 64-bit String-to-integer conversion
10978with
10979strings less than two characters long.
10980
10981Fixed a problem with constant folding where the result of the Index()
10982operator can not be considered a constant. This means that Index() cannot
10983be
10984a type3 opcode and this will require an update to the ACPI specification.
10985
10986Disassembler: Implemented support for the TTP, MTP, and TRS resource
10987descriptor fields. These fields were inadvertently ignored and not output
10988in
10989the disassembly of the resource descriptor.
10990
10991
10992 ----------------------------------------
1099311 February 2005. Summary of changes for version 20050211:
10994
109951) ACPI CA Core Subsystem:
10996
10997Implemented ACPI 3.0 support for implicit conversion within the Match()
10998operator. MatchObjects can now be of type integer, buffer, or string
10999instead
11000of just type integer. Package elements are implicitly converted to the
11001type
11002of the MatchObject. This change aligns the behavior of Match() with the
11003behavior of the other logical operators (LLess(), etc.) It also requires
11004an
11005errata change to the ACPI specification as this support was intended for
11006ACPI 3.0, but was inadvertently omitted.
11007
11008Fixed a problem with the internal implicit "to buffer" conversion.
11009Strings
11010that are converted to buffers will cause buffer truncation if the string
11011is
11012smaller than the target buffer. Integers that are converted to buffers
11013will
11014not cause buffer truncation, only zero extension (both as per the ACPI
11015spec.) The problem was introduced when code was added to truncate the
11016buffer, but this should not be performed in all cases, only the string
11017case.
11018
11019Fixed a problem with the Buffer and Package operators where the
11020interpreter
11021would get confused if two such operators were used as operands to an ASL
11022operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
11023stack was not being popped after the execution of these operators,
11024resulting
11025in an AE_NO_RETURN_VALUE exception.
11026
11027Fixed a problem with constructs of the form Store(Index(...),...). The
11028reference object returned from Index was inadvertently resolved to an
11029actual
11030value. This problem was introduced in version 20050114 when the behavior
11031of
11032Store() was modified to restrict the object types that can be used as the
11033source operand (to match the ACPI specification.)
11034
11035Reduced excessive stack use within the AcpiGetObjectInfo procedure.
11036
11037Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
11038
11039Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
11040
11041Code and Data Size: Current and previous core subsystem library sizes are
11042shown below. These are the code and data sizes for the acpica.lib
11043produced
11044by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11045any ACPI driver or OSPM code. The debug version of the code includes the
11046debug output trace mechanism and has a much larger code and data size.
11047Note
11048that these values will vary depending on the efficiency of the compiler
11049and
11050the compiler options used during generation.
11051
11052 Previous Release:
11053 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
11054 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
11055 Current Release:
11056 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
11057 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
11058
11059
110602) iASL Compiler/Disassembler:
11061
11062Fixed a code generation problem in the constant folding optimization code
11063where incorrect code was generated if a constant was reduced to a buffer
11064object (i.e., a reduced type 5 opcode.)
11065
11066Fixed a typechecking problem for the ToBuffer operator. Caused by an
11067incorrect return type in the internal opcode information table.
11068
11069----------------------------------------
1107025 January 2005. Summary of changes for version 20050125:
11071
110721) ACPI CA Core Subsystem:
11073
11074Fixed a recently introduced problem with the Global Lock where the
11075underlying semaphore was not created. This problem was introduced in
11076version 20050114, and caused an AE_AML_NO_OPERAND exception during an
11077Acquire() operation on _GL.
11078
11079The local object cache is now optional, and is disabled by default. Both
11080AcpiExec and the iASL compiler enable the cache because they run in user
11081mode and this enhances their performance. #define
11082ACPI_ENABLE_OBJECT_CACHE
11083to enable the local cache.
11084
11085Fixed an issue in the internal function AcpiUtEvaluateObject concerning
11086the
11087optional "implicit return" support where an error was returned if no
11088return
11089object was expected, but one was implicitly returned. AE_OK is now
11090returned
11091in this case and the implicitly returned object is deleted.
11092AcpiUtEvaluateObject is only occasionally used, and only to execute
11093reserved
11094methods such as _STA and _INI where the return type is known up front.
11095
11096Fixed a few issues with the internal convert-to-integer code. It now
11097returns
11098an error if an attempt is made to convert a null string, a string of only
11099blanks/tabs, or a zero-length buffer. This affects both implicit
11100conversion
11101and explicit conversion via the ToInteger() operator.
11102
11103The internal debug code in AcpiUtAcquireMutex has been commented out. It
11104is
11105not needed for normal operation and should increase the performance of
11106the
11107entire subsystem. The code remains in case it is needed for debug
11108purposes
11109again.
11110
11111The AcpiExec source and makefile are included in the Unix/Linux package
11112for
11113the first time.
11114
11115Code and Data Size: Current and previous core subsystem library sizes are
11116shown below. These are the code and data sizes for the acpica.lib
11117produced
11118by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11119any ACPI driver or OSPM code. The debug version of the code includes the
11120debug output trace mechanism and has a much larger code and data size.
11121Note
11122that these values will vary depending on the efficiency of the compiler
11123and
11124the compiler options used during generation.
11125
11126 Previous Release:
11127 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
11128 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
11129 Current Release:
11130 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
11131 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
11132
111332) iASL Compiler/Disassembler:
11134
11135Switch/Case support: A warning is now issued if the type of the Switch
11136value
11137cannot be determined at compile time. For example, Switch(Arg0) will
11138generate the warning, and the type is assumed to be an integer. As per
11139the
11140ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
11141the
11142warning.
11143
11144Switch/Case support: Implemented support for buffer and string objects as
11145the switch value. This is an ACPI 3.0 feature, now that LEqual supports
11146buffers and strings.
11147
11148Switch/Case support: The emitted code for the LEqual() comparisons now
11149uses
11150the switch value as the first operand, not the second. The case value is
11151now
11152the second operand, and this allows the case value to be implicitly
11153converted to the type of the switch value, not the other way around.
11154
11155Switch/Case support: Temporary variables are now emitted immediately
11156within
11157the control method, not at the global level. This means that there are
11158now
1115936 temps available per-method, not 36 temps per-module as was the case
11160with
11161the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
11162
11163----------------------------------------
1116414 January 2005. Summary of changes for version 20050114:
11165
11166Added 2005 copyright to all module headers. This affects every module in
11167the core subsystem, iASL compiler, and the utilities.
11168
111691) ACPI CA Core Subsystem:
11170
11171Fixed an issue with the String-to-Buffer conversion code where the string
11172null terminator was not included in the buffer after conversion, but
11173there
11174is existing ASL that assumes the string null terminator is included. This
11175is
11176the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
11177introduced in the previous version when the code was updated to correctly
11178set the converted buffer size as per the ACPI specification. The ACPI
11179spec
11180is ambiguous and will be updated to specify that the null terminator must
11181be
11182included in the converted buffer. This also affects the ToBuffer() ASL
11183operator.
11184
11185Fixed a problem with the Mid() ASL/AML operator where it did not work
11186correctly on Buffer objects. Newly created sub-buffers were not being
11187marked
11188as initialized.
11189
11190
11191Fixed a problem in AcpiTbFindTable where incorrect string compares were
11192performed on the OemId and OemTableId table header fields. These fields
11193are
11194not null terminated, so strncmp is now used instead of strcmp.
11195
11196Implemented a restriction on the Store() ASL/AML operator to align the
11197behavior with the ACPI specification. Previously, any object could be
11198used
11199as the source operand. Now, the only objects that may be used are
11200Integers,
11201Buffers, Strings, Packages, Object References, and DDB Handles. If
11202necessary, the original behavior can be restored by enabling the
11203EnableInterpreterSlack flag.
11204
11205Enhanced the optional "implicit return" support to allow an implicit
11206return
11207value from methods that are invoked externally via the AcpiEvaluateObject
11208interface. This enables implicit returns from the _STA and _INI methods,
11209for example.
11210
11211Changed the Revision() ASL/AML operator to return the current version of
11212the
11213AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
11214returned
11215the supported ACPI version (This is the function of the _REV method).
11216
11217Updated the _REV predefined method to return the currently supported
11218version
11219of ACPI, now 3.
11220
11221Implemented batch mode option for the AcpiExec utility (-b).
11222
11223Code and Data Size: Current and previous core subsystem library sizes are
11224shown below. These are the code and data sizes for the acpica.lib
11225produced
11226by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11227any ACPI driver or OSPM code. The debug version of the code includes the
11228debug output trace mechanism and has a much larger code and data size.
11229Note
11230that these values will vary depending on the efficiency of the compiler
11231and
11232the compiler options used during generation.
11233
11234 Previous Release:
11235 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11236 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
11237 Current Release:
11238 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
11239 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
11240
11241----------------------------------------
1124210 December 2004. Summary of changes for version 20041210:
11243
11244ACPI 3.0 support is nearing completion in both the iASL compiler and the
11245ACPI CA core subsystem.
11246
112471) ACPI CA Core Subsystem:
11248
11249Fixed a problem in the ToDecimalString operator where the resulting
11250string
11251length was incorrectly calculated. The length is now calculated exactly,
11252eliminating incorrect AE_STRING_LIMIT exceptions.
11253
11254Fixed a problem in the ToHexString operator to allow a maximum 200
11255character
11256string to be produced.
11257
11258Fixed a problem in the internal string-to-buffer and buffer-to-buffer
11259copy
11260routine where the length of the resulting buffer was not truncated to the
11261new size (if the target buffer already existed).
11262
11263Code and Data Size: Current and previous core subsystem library sizes are
11264shown below. These are the code and data sizes for the acpica.lib
11265produced
11266by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11267any ACPI driver or OSPM code. The debug version of the code includes the
11268debug output trace mechanism and has a much larger code and data size.
11269Note
11270that these values will vary depending on the efficiency of the compiler
11271and
11272the compiler options used during generation.
11273
11274 Previous Release:
11275 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11276 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
11277 Current Release:
11278 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11279 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
11280
11281
112822) iASL Compiler/Disassembler:
11283
11284Implemented the new ACPI 3.0 resource template macros - DWordSpace,
11285ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
11286Includes support in the disassembler.
11287
11288Implemented support for the new (ACPI 3.0) parameter to the Register
11289macro,
11290AccessSize.
11291
11292Fixed a problem where the _HE resource name for the Interrupt macro was
11293referencing bit 0 instead of bit 1.
11294
11295Implemented check for maximum 255 interrupts in the Interrupt macro.
11296
11297Fixed a problem with the predefined resource descriptor names where
11298incorrect AML code was generated if the offset within the resource buffer
11299was 0 or 1. The optimizer shortened the AML code to a single byte opcode
11300but did not update the surrounding package lengths.
11301
11302Changes to the Dma macro: All channels within the channel list must be
11303in
11304the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
11305optional (default is BusMaster).
11306
11307Implemented check for maximum 7 data bytes for the VendorShort macro.
11308
11309The ReadWrite parameter is now optional for the Memory32 and similar
11310macros.
11311
11312----------------------------------------
1131303 December 2004. Summary of changes for version 20041203:
11314
113151) ACPI CA Core Subsystem:
11316
11317The low-level field insertion/extraction code (exfldio) has been
11318completely
11319rewritten to eliminate unnecessary complexity, bugs, and boundary
11320conditions.
11321
11322Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
11323ToDecimalString
11324operators where the input operand could be inadvertently deleted if no
11325conversion was necessary (e.g., if the input to ToInteger was an Integer
11326object.)
11327
11328Fixed a problem with the ToDecimalString and ToHexString where an
11329incorrect
11330exception code was returned if the resulting string would be > 200 chars.
11331AE_STRING_LIMIT is now returned.
11332
11333Fixed a problem with the Concatenate operator where AE_OK was always
11334returned, even if the operation failed.
11335
11336Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
11337semaphores to be allocated.
11338
11339Code and Data Size: Current and previous core subsystem library sizes are
11340shown below. These are the code and data sizes for the acpica.lib
11341produced
11342by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11343any ACPI driver or OSPM code. The debug version of the code includes the
11344debug output trace mechanism and has a much larger code and data size.
11345Note
11346that these values will vary depending on the efficiency of the compiler
11347and
11348the compiler options used during generation.
11349
11350 Previous Release:
11351 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11352 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11353 Current Release:
11354 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11355 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
11356
11357
113582) iASL Compiler/Disassembler:
11359
11360Fixed typechecking for the ObjectType and SizeOf operators. Problem was
11361recently introduced in 20041119.
11362
11363Fixed a problem with the ToUUID macro where the upper nybble of each
11364buffer
11365byte was inadvertently set to zero.
11366
11367----------------------------------------
1136819 November 2004. Summary of changes for version 20041119:
11369
113701) ACPI CA Core Subsystem:
11371
11372Fixed a problem in the internal ConvertToInteger routine where new
11373integers
11374were not truncated to 32 bits for 32-bit ACPI tables. This routine
11375converts
11376buffers and strings to integers.
11377
11378Implemented support to store a value to an Index() on a String object.
11379This
11380is an ACPI 2.0 feature that had not yet been implemented.
11381
11382Implemented new behavior for storing objects to individual package
11383elements
11384(via the Index() operator). The previous behavior was to invoke the
11385implicit
11386conversion rules if an object was already present at the index. The new
11387behavior is to simply delete any existing object and directly store the
11388new
11389object. Although the ACPI specification seems unclear on this subject,
11390other
11391ACPI implementations behave in this manner. (This is the root of the
11392AE_BAD_HEX_CONSTANT issue.)
11393
11394Modified the RSDP memory scan mechanism to support the extended checksum
11395for
11396ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
11397RSDP signature is found with a valid checksum.
11398
11399Code and Data Size: Current and previous core subsystem library sizes are
11400shown below. These are the code and data sizes for the acpica.lib
11401produced
11402by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11403any ACPI driver or OSPM code. The debug version of the code includes the
11404debug output trace mechanism and has a much larger code and data size.
11405Note
11406that these values will vary depending on the efficiency of the compiler
11407and
11408the compiler options used during generation.
11409
11410 Previous Release:
11411 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11412 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11413 Current Release:
11414 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11415 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11416
11417
114182) iASL Compiler/Disassembler:
11419
11420Fixed a missing semicolon in the aslcompiler.y file.
11421
11422----------------------------------------
1142305 November 2004. Summary of changes for version 20041105:
11424
114251) ACPI CA Core Subsystem:
11426
11427Implemented support for FADT revision 2. This was an interim table
11428(between
11429ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
11430
11431Implemented optional support to allow uninitialized LocalX and ArgX
11432variables in a control method. The variables are initialized to an
11433Integer
11434object with a value of zero. This support is enabled by setting the
11435AcpiGbl_EnableInterpreterSlack flag to TRUE.
11436
11437Implemented support for Integer objects for the SizeOf operator. Either
114384
11439or 8 is returned, depending on the current integer size (32-bit or 64-
11440bit,
11441depending on the parent table revision).
11442
11443Fixed a problem in the implementation of the SizeOf and ObjectType
11444operators
11445where the operand was resolved to a value too early, causing incorrect
11446return values for some objects.
11447
11448Fixed some possible memory leaks during exceptional conditions.
11449
11450Code and Data Size: Current and previous core subsystem library sizes are
11451shown below. These are the code and data sizes for the acpica.lib
11452produced
11453by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11454any ACPI driver or OSPM code. The debug version of the code includes the
11455debug output trace mechanism and has a much larger code and data size.
11456Note
11457that these values will vary depending on the efficiency of the compiler
11458and
11459the compiler options used during generation.
11460
11461 Previous Release:
11462 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11463 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
11464 Current Release:
11465 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11466 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11467
11468
114692) iASL Compiler/Disassembler:
11470
11471Implemented support for all ACPI 3.0 reserved names and methods.
11472
11473Implemented all ACPI 3.0 grammar elements in the front-end, including
11474support for semicolons.
11475
11476Implemented the ACPI 3.0 Function() and ToUUID() macros
11477
11478Fixed a problem in the disassembler where a Scope() operator would not be
11479emitted properly if the target of the scope was in another table.
11480
11481----------------------------------------
1148215 October 2004. Summary of changes for version 20041015:
11483
11484Note: ACPI CA is currently undergoing an in-depth and complete formal
11485evaluation to test/verify the following areas. Other suggestions are
11486welcome. This will result in an increase in the frequency of releases and
11487the number of bug fixes in the next few months.
11488 - Functional tests for all ASL/AML operators
11489 - All implicit/explicit type conversions
11490 - Bit fields and operation regions
11491 - 64-bit math support and 32-bit-only "truncated" math support
11492 - Exceptional conditions, both compiler and interpreter
11493 - Dynamic object deletion and memory leaks
11494 - ACPI 3.0 support when implemented
11495 - External interfaces to the ACPI subsystem
11496
11497
114981) ACPI CA Core Subsystem:
11499
11500Fixed two alignment issues on 64-bit platforms - within debug statements
11501in
11502AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
11503Address
11504field within the non-aligned ACPI generic address structure.
11505
11506Fixed a problem in the Increment and Decrement operators where incorrect
11507operand resolution could result in the inadvertent modification of the
11508original integer when the integer is passed into another method as an
11509argument and the arg is then incremented/decremented.
11510
11511Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
11512bit
11513BCD number were truncated during conversion.
11514
11515Fixed a problem in the ToDecimal operator where the length of the
11516resulting
11517string could be set incorrectly too long if the input operand was a
11518Buffer
11519object.
11520
11521Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
11522(0)
11523within a buffer would prematurely terminate a compare between buffer
11524objects.
11525
11526Added a check for string overflow (>200 characters as per the ACPI
11527specification) during the Concatenate operator with two string operands.
11528
11529Code and Data Size: Current and previous core subsystem library sizes are
11530shown below. These are the code and data sizes for the acpica.lib
11531produced
11532by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11533any ACPI driver or OSPM code. The debug version of the code includes the
11534debug output trace mechanism and has a much larger code and data size.
11535Note
11536that these values will vary depending on the efficiency of the compiler
11537and
11538the compiler options used during generation.
11539
11540 Previous Release:
11541 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11542 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
11543 Current Release:
11544 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11545 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
11546
11547
11548
115492) iASL Compiler/Disassembler:
11550
11551Allow the use of the ObjectType operator on uninitialized Locals and Args
11552(returns 0 as per the ACPI specification).
11553
11554Fixed a problem where the compiler would fault if there was a syntax
11555error
11556in the FieldName of all of the various CreateXXXField operators.
11557
11558Disallow the use of lower case letters within the EISAID macro, as per
11559the
11560ACPI specification. All EISAID strings must be of the form "UUUNNNN"
11561Where
11562U is an uppercase letter and N is a hex digit.
11563
11564
11565----------------------------------------
1156606 October 2004. Summary of changes for version 20041006:
11567
115681) ACPI CA Core Subsystem:
11569
11570Implemented support for the ACPI 3.0 Timer operator. This ASL function
11571implements a 64-bit timer with 100 nanosecond granularity.
11572
11573Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
11574implement the ACPI 3.0 Timer operator. This allows the host OS to
11575implement
11576the timer with the best clock available. Also, it keeps the core
11577subsystem
11578out of the clock handling business, since the host OS (usually) performs
11579this function.
11580
11581Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
11582functions use a 64-bit address which is part of the packed ACPI Generic
11583Address Structure. Since the structure is non-aligned, the alignment
11584macros
11585are now used to extract the address to a local variable before use.
11586
11587Fixed a problem where the ToInteger operator assumed all input strings
11588were
11589hexadecimal. The operator now handles both decimal strings and hex
11590strings
11591(prefixed with "0x").
11592
11593Fixed a problem where the string length in the string object created as a
11594result of the internal ConvertToString procedure could be incorrect. This
11595potentially affected all implicit conversions and also the
11596ToDecimalString
11597and ToHexString operators.
11598
11599Fixed two problems in the ToString operator. If the length parameter was
11600zero, an incorrect string object was created and the value of the input
11601length parameter was inadvertently changed from zero to Ones.
11602
11603Fixed a problem where the optional ResourceSource string in the
11604ExtendedIRQ
11605resource macro was ignored.
11606
11607Simplified the interfaces to the internal division functions, reducing
11608code
11609size and complexity.
11610
11611Code and Data Size: Current and previous core subsystem library sizes are
11612shown below. These are the code and data sizes for the acpica.lib
11613produced
11614by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11615any ACPI driver or OSPM code. The debug version of the code includes the
11616debug output trace mechanism and has a much larger code and data size.
11617Note
11618that these values will vary depending on the efficiency of the compiler
11619and
11620the compiler options used during generation.
11621
11622 Previous Release:
11623 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
11624 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
11625 Current Release:
11626 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11627 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
11628
11629
116302) iASL Compiler/Disassembler:
11631
11632Implemented support for the ACPI 3.0 Timer operator.
11633
11634Fixed a problem where the Default() operator was inadvertently ignored in
11635a
11636Switch/Case block. This was a problem in the translation of the Switch
11637statement to If...Else pairs.
11638
11639Added support to allow a standalone Return operator, with no parentheses
11640(or
11641operands).
11642
11643Fixed a problem with code generation for the ElseIf operator where the
11644translated Else...If parse tree was improperly constructed leading to the
11645loss of some code.
11646
11647----------------------------------------
1164822 September 2004. Summary of changes for version 20040922:
11649
116501) ACPI CA Core Subsystem:
11651
11652Fixed a problem with the implementation of the LNot() operator where
11653"Ones"
11654was not returned for the TRUE case. Changed the code to return Ones
11655instead
11656of (!Arg) which was usually 1. This change affects iASL constant folding
11657for
11658this operator also.
11659
11660Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
11661not
11662initialized properly -- Now zero the entire buffer in this case where the
11663buffer already exists.
11664
11665Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
11666Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
11667related code considerably. This will require changes/updates to all OS
11668interface layers (OSLs.)
11669
11670Implemented a new external interface, AcpiInstallExceptionHandler, to
11671allow
11672a system exception handler to be installed. This handler is invoked upon
11673any
11674run-time exception that occurs during control method execution.
11675
11676Added support for the DSDT in AcpiTbFindTable. This allows the
11677DataTableRegion() operator to access the local copy of the DSDT.
11678
11679Code and Data Size: Current and previous core subsystem library sizes are
11680shown below. These are the code and data sizes for the acpica.lib
11681produced
11682by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11683any ACPI driver or OSPM code. The debug version of the code includes the
11684debug output trace mechanism and has a much larger code and data size.
11685Note
11686that these values will vary depending on the efficiency of the compiler
11687and
11688the compiler options used during generation.
11689
11690 Previous Release:
11691 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
11692 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
11693 Current Release:
11694 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
11695 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
11696
11697
116982) iASL Compiler/Disassembler:
11699
11700Fixed a problem with constant folding and the LNot operator. LNot was
11701returning 1 in the TRUE case, not Ones as per the ACPI specification.
11702This
11703could result in the generation of an incorrect folded/reduced constant.
11704
11705End-Of-File is now allowed within a "//"-style comment. A parse error no
11706longer occurs if such a comment is at the very end of the input ASL
11707source
11708file.
11709
11710Implemented the "-r" option to override the Revision in the table header.
11711The initial use of this option will be to simplify the evaluation of the
11712AML
11713interpreter by allowing a single ASL source module to be compiled for
11714either
1171532-bit or 64-bit integers.
11716
11717
11718----------------------------------------
1171927 August 2004. Summary of changes for version 20040827:
11720
117211) ACPI CA Core Subsystem:
11722
11723- Implemented support for implicit object conversion in the non-numeric
11724logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
11725and
11726LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
11727the second operand is implicitly converted on the fly to match the type
11728of
11729the first operand. For example:
11730
11731 LEqual (Source1, Source2)
11732
11733Source1 and Source2 must each evaluate to an integer, a string, or a
11734buffer.
11735The data type of Source1 dictates the required type of Source2. Source2
11736is
11737implicitly converted if necessary to match the type of Source1.
11738
11739- Updated and corrected the behavior of the string conversion support.
11740The
11741rules concerning conversion of buffers to strings (according to the ACPI
11742specification) are as follows:
11743
11744ToDecimalString - explicit byte-wise conversion of buffer to string of
11745decimal values (0-255) separated by commas. ToHexString - explicit byte-
11746wise
11747conversion of buffer to string of hex values (0-FF) separated by commas.
11748ToString - explicit byte-wise conversion of buffer to string. Byte-by-
11749byte
11750copy with no transform except NULL terminated. Any other implicit buffer-
11751to-
11752string conversion - byte-wise conversion of buffer to string of hex
11753values
11754(0-FF) separated by spaces.
11755
11756- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
11757
11758- Fixed a problem in AcpiNsGetPathnameLength where the returned length
11759was
11760one byte too short in the case of a node in the root scope. This could
11761cause a fault during debug output.
11762
11763- Code and Data Size: Current and previous core subsystem library sizes
11764are
11765shown below. These are the code and data sizes for the acpica.lib
11766produced
11767by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11768any ACPI driver or OSPM code. The debug version of the code includes the
11769debug output trace mechanism and has a much larger code and data size.
11770Note
11771that these values will vary depending on the efficiency of the compiler
11772and
11773the compiler options used during generation.
11774
11775 Previous Release:
11776 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
11777 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
11778 Current Release:
11779 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
11780 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
11781
11782
117832) iASL Compiler/Disassembler:
11784
11785- Fixed a Linux generation error.
11786
11787
11788----------------------------------------
1178916 August 2004. Summary of changes for version 20040816:
11790
117911) ACPI CA Core Subsystem:
11792
11793Designed and implemented support within the AML interpreter for the so-
11794called "implicit return". This support returns the result of the last
11795ASL
11796operation within a control method, in the absence of an explicit Return()
11797operator. A few machines depend on this behavior, even though it is not
11798explicitly supported by the ASL language. It is optional support that
11799can
11800be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
11801
11802Removed support for the PCI_Config address space from the internal low
11803level
11804hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
11805support was not used internally, and would not work correctly anyway
11806because
11807the PCI bus number and segment number were not supported. There are
11808separate interfaces for PCI configuration space access because of the
11809unique
11810interface.
11811
11812Code and Data Size: Current and previous core subsystem library sizes are
11813shown below. These are the code and data sizes for the acpica.lib
11814produced
11815by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11816any ACPI driver or OSPM code. The debug version of the code includes the
11817debug output trace mechanism and has a much larger code and data size.
11818Note
11819that these values will vary depending on the efficiency of the compiler
11820and
11821the compiler options used during generation.
11822
11823 Previous Release:
11824 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11825 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
11826 Current Release:
11827 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
11828 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
11829
11830
118312) iASL Compiler/Disassembler:
11832
11833Fixed a problem where constants in ASL expressions at the root level (not
11834within a control method) could be inadvertently truncated during code
11835generation. This problem was introduced in the 20040715 release.
11836
11837
11838----------------------------------------
1183915 July 2004. Summary of changes for version 20040715:
11840
118411) ACPI CA Core Subsystem:
11842
11843Restructured the internal HW GPE interfaces to pass/track the current
11844state
11845of interrupts (enabled/disabled) in order to avoid possible deadlock and
11846increase flexibility of the interfaces.
11847
11848Implemented a "lexicographical compare" for String and Buffer objects
11849within
11850the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
11851-
11852as per further clarification to the ACPI specification. Behavior is
11853similar
11854to C library "strcmp".
11855
11856Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
11857external function. In the 32-bit non-debug case, the stack use has been
11858reduced from 168 bytes to 32 bytes.
11859
11860Deployed a new run-time configuration flag,
11861AcpiGbl_EnableInterpreterSlack,
11862whose purpose is to allow the AML interpreter to forgive certain bad AML
11863constructs. Default setting is FALSE.
11864
11865Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
11866IO
11867support code. If enabled, it allows field access to go beyond the end of
11868a
11869region definition if the field is within the region length rounded up to
11870the
11871next access width boundary (a common coding error.)
11872
11873Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
11874ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
11875these
11876symbols are lowercased by the latest version of the AcpiSrc tool.
11877
11878The prototypes for the PCI interfaces in acpiosxf.h have been updated to
11879rename "Register" to simply "Reg" to prevent certain compilers from
11880complaining.
11881
11882Code and Data Size: Current and previous core subsystem library sizes are
11883shown below. These are the code and data sizes for the acpica.lib
11884produced
11885by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11886any ACPI driver or OSPM code. The debug version of the code includes the
11887debug output trace mechanism and has a much larger code and data size.
11888Note
11889that these values will vary depending on the efficiency of the compiler
11890and
11891the compiler options used during generation.
11892
11893 Previous Release:
11894 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11895 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
11896 Current Release:
11897 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
11898 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
11899
11900
119012) iASL Compiler/Disassembler:
11902
11903Implemented full support for Package objects within the Case() operator.
11904Note: The Break() operator is currently not supported within Case blocks
11905(TermLists) as there is some question about backward compatibility with
11906ACPI
119071.0 interpreters.
11908
11909
11910Fixed a problem where complex terms were not supported properly within
11911the
11912Switch() operator.
11913
11914Eliminated extraneous warning for compiler-emitted reserved names of the
11915form "_T_x". (Used in Switch/Case operators.)
11916
11917Eliminated optimization messages for "_T_x" objects and small constants
11918within the DefinitionBlock operator.
11919
11920
11921----------------------------------------
1192215 June 2004. Summary of changes for version 20040615:
11923
119241) ACPI CA Core Subsystem:
11925
11926Implemented support for Buffer and String objects (as per ACPI 2.0) for
11927the
11928following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
11929LLessEqual.
11930
11931All directory names in the entire source package are lower case, as they
11932were in earlier releases.
11933
11934Implemented "Disassemble" command in the AML debugger that will
11935disassemble
11936a single control method.
11937
11938Code and Data Size: Current and previous core subsystem library sizes are
11939shown below. These are the code and data sizes for the acpica.lib
11940produced
11941by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11942any ACPI driver or OSPM code. The debug version of the code includes the
11943debug output trace mechanism and has a much larger code and data size.
11944Note
11945that these values will vary depending on the efficiency of the compiler
11946and
11947the compiler options used during generation.
11948
11949 Previous Release:
11950 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
11951 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
11952
11953 Current Release:
11954 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
11955 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
11956
11957
119582) iASL Compiler/Disassembler:
11959
11960Implemented support for Buffer and String objects (as per ACPI 2.0) for
11961the
11962following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
11963LLessEqual.
11964
11965All directory names in the entire source package are lower case, as they
11966were in earlier releases.
11967
11968Fixed a fault when using the -g or -d<nofilename> options if the FADT was
11969not found.
11970
11971Fixed an issue with the Windows version of the compiler where later
11972versions
11973of Windows place the FADT in the registry under the name "FADT" and not
11974"FACP" as earlier versions did. This applies when using the -g or -
11975d<nofilename> options. The compiler now looks for both strings as
11976necessary.
11977
11978Fixed a problem with compiler namepath optimization where a namepath
11979within
11980the Scope() operator could not be optimized if the namepath was a subpath
11981of
11982the current scope path.
11983
11984----------------------------------------
1198527 May 2004. Summary of changes for version 20040527:
11986
119871) ACPI CA Core Subsystem:
11988
11989Completed a new design and implementation for EBDA (Extended BIOS Data
11990Area)
11991support in the RSDP scan code. The original code improperly scanned for
11992the
11993EBDA by simply scanning from memory location 0 to 0x400. The correct
11994method
11995is to first obtain the EBDA pointer from within the BIOS data area, then
11996scan 1K of memory starting at the EBDA pointer. There appear to be few
11997if
11998any machines that place the RSDP in the EBDA, however.
11999
12000Integrated a fix for a possible fault during evaluation of BufferField
12001arguments. Obsolete code that was causing the problem was removed.
12002
12003Found and fixed a problem in the Field Support Code where data could be
12004corrupted on a bit field read that starts on an aligned boundary but does
12005not end on an aligned boundary. Merged the read/write "datum length"
12006calculation code into a common procedure.
12007
12008Rolled in a couple of changes to the FreeBSD-specific header.
12009
12010
12011Code and Data Size: Current and previous core subsystem library sizes are
12012shown below. These are the code and data sizes for the acpica.lib
12013produced
12014by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12015any ACPI driver or OSPM code. The debug version of the code includes the
12016debug output trace mechanism and has a much larger code and data size.
12017Note
12018that these values will vary depending on the efficiency of the compiler
12019and
12020the compiler options used during generation.
12021
12022 Previous Release:
12023 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12024 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
12025 Current Release:
12026 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
12027 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
12028
12029
120302) iASL Compiler/Disassembler:
12031
12032Fixed a generation warning produced by some overly-verbose compilers for
12033a
1203464-bit constant.
12035
12036----------------------------------------
1203714 May 2004. Summary of changes for version 20040514:
12038
120391) ACPI CA Core Subsystem:
12040
12041Fixed a problem where hardware GPE enable bits sometimes not set properly
12042during and after GPE method execution. Result of 04/27 changes.
12043
12044Removed extra "clear all GPEs" when sleeping/waking.
12045
12046Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
12047AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
12048to
12049the new AcpiEv* calls as appropriate.
12050
12051ACPI_OS_NAME was removed from the OS-specific headers. The default name
12052is
12053now "Microsoft Windows NT" for maximum compatibility. However this can
12054be
12055changed by modifying the acconfig.h file.
12056
12057Allow a single invocation of AcpiInstallNotifyHandler for a handler that
12058traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
12059
12060Run _INI methods on ThermalZone objects. This is against the ACPI
12061specification, but there is apparently ASL code in the field that has
12062these
12063_INI methods, and apparently "other" AML interpreters execute them.
12064
12065Performed a full 16/32/64 bit lint that resulted in some small changes.
12066
12067Added a sleep simulation command to the AML debugger to test sleep code.
12068
12069Code and Data Size: Current and previous core subsystem library sizes are
12070shown below. These are the code and data sizes for the acpica.lib
12071produced
12072by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12073any ACPI driver or OSPM code. The debug version of the code includes the
12074debug output trace mechanism and has a much larger code and data size.
12075Note
12076that these values will vary depending on the efficiency of the compiler
12077and
12078the compiler options used during generation.
12079
12080 Previous Release:
12081 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12082 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
12083 Current Release:
12084 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12085 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
12086
12087----------------------------------------
1208827 April 2004. Summary of changes for version 20040427:
12089
120901) ACPI CA Core Subsystem:
12091
12092Completed a major overhaul of the GPE handling within ACPI CA. There are
12093now three types of GPEs: wake-only, runtime-only, and combination
12094wake/run.
12095The only GPEs allowed to be combination wake/run are for button-style
12096devices such as a control-method power button, control-method sleep
12097button,
12098or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
12099not
12100referenced by any _PRW methods are marked for "runtime" and hardware
12101enabled. Any GPE that is referenced by a _PRW method is marked for
12102"wake"
12103(and disabled at runtime). However, at sleep time, only those GPEs that
12104have been specifically enabled for wake via the AcpiEnableGpe interface
12105will
12106actually be hardware enabled.
12107
12108A new external interface has been added, AcpiSetGpeType(), that is meant
12109to
12110be used by device drivers to force a GPE to a particular type. It will
12111be
12112especially useful for the drivers for the button devices mentioned above.
12113
12114Completed restructuring of the ACPI CA initialization sequence so that
12115default operation region handlers are installed before GPEs are
12116initialized
12117and the _PRW methods are executed. This will prevent errors when the
12118_PRW
12119methods attempt to access system memory or I/O space.
12120
12121GPE enable/disable no longer reads the GPE enable register. We now keep
12122the
12123enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
12124thus no longer depend on the hardware to maintain these bits.
12125
12126Always clear the wake status and fixed/GPE status bits before sleep, even
12127for state S5.
12128
12129Improved the AML debugger output for displaying the GPE blocks and their
12130current status.
12131
12132Added new strings for the _OSI method, of the form "Windows 2001 SPx"
12133where
12134x = 0,1,2,3,4.
12135
12136Fixed a problem where the physical address was incorrectly calculated
12137when
12138the Load() operator was used to directly load from an Operation Region
12139(vs.
12140loading from a Field object.) Also added check for minimum table length
12141for
12142this case.
12143
12144Fix for multiple mutex acquisition. Restore original thread SyncLevel on
12145mutex release.
12146
12147Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
12148consistency with the other fields returned.
12149
12150Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
12151structure for each GPE in the system, so the size of this structure is
12152important.
12153
12154CPU stack requirement reduction: Cleaned up the method execution and
12155object
12156evaluation paths so that now a parameter structure is passed, instead of
12157copying the various method parameters over and over again.
12158
12159In evregion.c: Correctly exit and reenter the interpreter region if and
12160only if dispatching an operation region request to a user-installed
12161handler.
12162Do not exit/reenter when dispatching to a default handler (e.g., default
12163system memory or I/O handlers)
12164
12165
12166Notes for updating drivers for the new GPE support. The following
12167changes
12168must be made to ACPI-related device drivers that are attached to one or
12169more
12170GPEs: (This information will be added to the ACPI CA Programmer
12171Reference.)
12172
121731) AcpiInstallGpeHandler no longer automatically enables the GPE, you
12174must
12175explicitly call AcpiEnableGpe.
121762) There is a new interface called AcpiSetGpeType. This should be called
12177before enabling the GPE. Also, this interface will automatically disable
12178the GPE if it is currently enabled.
121793) AcpiEnableGpe no longer supports a GPE type flag.
12180
12181Specific drivers that must be changed:
121821) EC driver:
12183 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
12184AeGpeHandler, NULL);
12185 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
12186 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
12187
121882) Button Drivers (Power, Lid, Sleep):
12189Run _PRW method under parent device
12190If _PRW exists: /* This is a control-method button */
12191 Extract GPE number and possibly GpeDevice
12192 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
12193 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
12194
12195For all other devices that have _PRWs, we automatically set the GPE type
12196to
12197ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
12198This
12199must be done on a selective basis, usually requiring some kind of user
12200app
12201to allow the user to pick the wake devices.
12202
12203
12204Code and Data Size: Current and previous core subsystem library sizes are
12205shown below. These are the code and data sizes for the acpica.lib
12206produced
12207by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12208any ACPI driver or OSPM code. The debug version of the code includes the
12209debug output trace mechanism and has a much larger code and data size.
12210Note
12211that these values will vary depending on the efficiency of the compiler
12212and
12213the compiler options used during generation.
12214
12215 Previous Release:
12216 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
12217 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
12218 Current Release:
12219
12220 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12221 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
12222
12223
12224
12225----------------------------------------
1222602 April 2004. Summary of changes for version 20040402:
12227
122281) ACPI CA Core Subsystem:
12229
12230Fixed an interpreter problem where an indirect store through an ArgX
12231parameter was incorrectly applying the "implicit conversion rules" during
12232the store. From the ACPI specification: "If the target is a method local
12233or
12234argument (LocalX or ArgX), no conversion is performed and the result is
12235stored directly to the target". The new behavior is to disable implicit
12236conversion during ALL stores to an ArgX.
12237
12238Changed the behavior of the _PRW method scan to ignore any and all errors
12239returned by a given _PRW. This prevents the scan from aborting from the
12240failure of any single _PRW.
12241
12242Moved the runtime configuration parameters from the global init procedure
12243to
12244static variables in acglobal.h. This will allow the host to override the
12245default values easily.
12246
12247Code and Data Size: Current and previous core subsystem library sizes are
12248shown below. These are the code and data sizes for the acpica.lib
12249produced
12250by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12251any ACPI driver or OSPM code. The debug version of the code includes the
12252debug output trace mechanism and has a much larger code and data size.
12253Note
12254that these values will vary depending on the efficiency of the compiler
12255and
12256the compiler options used during generation.
12257
12258 Previous Release:
12259 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
12260 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
12261 Current Release:
12262 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
12263 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
12264
12265
122662) iASL Compiler/Disassembler:
12267
12268iASL now fully disassembles SSDTs. However, External() statements are
12269not
12270generated automatically for unresolved symbols at this time. This is a
12271planned feature for future implementation.
12272
12273Fixed a scoping problem in the disassembler that occurs when the type of
12274the
12275target of a Scope() operator is overridden. This problem caused an
12276incorrectly nested internal namespace to be constructed.
12277
12278Any warnings or errors that are emitted during disassembly are now
12279commented
12280out automatically so that the resulting file can be recompiled without
12281any
12282hand editing.
12283
12284----------------------------------------
1228526 March 2004. Summary of changes for version 20040326:
12286
122871) ACPI CA Core Subsystem:
12288
12289Implemented support for "wake" GPEs via interaction between GPEs and the
12290_PRW methods. Every GPE that is pointed to by one or more _PRWs is
12291identified as a WAKE GPE and by default will no longer be enabled at
12292runtime. Previously, we were blindly enabling all GPEs with a
12293corresponding
12294_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
12295We
12296believe this has been the cause of thousands of "spurious" GPEs on some
12297systems.
12298
12299This new GPE behavior is can be reverted to the original behavior (enable
12300ALL GPEs at runtime) via a runtime flag.
12301
12302Fixed a problem where aliased control methods could not access objects
12303properly. The proper scope within the namespace was not initialized
12304(transferred to the target of the aliased method) before executing the
12305target method.
12306
12307Fixed a potential race condition on internal object deletion on the
12308return
12309object in AcpiEvaluateObject.
12310
12311Integrated a fix for resource descriptors where both _MEM and _MTP were
12312being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
12313wide, 0x0F instead of 0x03.)
12314
12315Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
12316preventing
12317a
12318fault in some cases.
12319
12320Updated Notify() values for debug statements in evmisc.c
12321
12322Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
12323
12324Code and Data Size: Current and previous core subsystem library sizes are
12325shown below. These are the code and data sizes for the acpica.lib
12326produced
12327by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12328any ACPI driver or OSPM code. The debug version of the code includes the
12329debug output trace mechanism and has a much larger code and data size.
12330Note
12331that these values will vary depending on the efficiency of the compiler
12332and
12333the compiler options used during generation.
12334
12335 Previous Release:
12336
12337 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
12338 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
12339 Current Release:
12340 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
12341 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
12342
12343----------------------------------------
1234411 March 2004. Summary of changes for version 20040311:
12345
123461) ACPI CA Core Subsystem:
12347
12348Fixed a problem where errors occurring during the parse phase of control
12349method execution did not abort cleanly. For example, objects created and
12350installed in the namespace were not deleted. This caused all subsequent
12351invocations of the method to return the AE_ALREADY_EXISTS exception.
12352
12353Implemented a mechanism to force a control method to "Serialized"
12354execution
12355if the method attempts to create namespace objects. (The root of the
12356AE_ALREADY_EXISTS problem.)
12357
12358Implemented support for the predefined _OSI "internal" control method.
12359Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
12360and
12361"Windows 2001.1", and can be easily upgraded for new strings as
12362necessary.
12363This feature will allow "other" operating systems to execute the fully
12364tested, "Windows" code path through the ASL code
12365
12366Global Lock Support: Now allows multiple acquires and releases with any
12367internal thread. Removed concept of "owning thread" for this special
12368mutex.
12369
12370Fixed two functions that were inappropriately declaring large objects on
12371the
12372CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
12373during
12374method execution considerably.
12375
12376Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
12377S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
12378
12379Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
12380defined on the machine.
12381
12382Implemented two runtime options: One to force all control method
12383execution
12384to "Serialized" to mimic Windows behavior, another to disable _OSI
12385support
12386if it causes problems on a given machine.
12387
12388Code and Data Size: Current and previous core subsystem library sizes are
12389shown below. These are the code and data sizes for the acpica.lib
12390produced
12391by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12392any ACPI driver or OSPM code. The debug version of the code includes the
12393debug output trace mechanism and has a much larger code and data size.
12394Note
12395that these values will vary depending on the efficiency of the compiler
12396and
12397the compiler options used during generation.
12398
12399 Previous Release:
12400 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
12401 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
12402 Current Release:
12403 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
12404 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
12405
124062) iASL Compiler/Disassembler:
12407
12408Fixed an array size problem for FreeBSD that would cause the compiler to
12409fault.
12410
12411----------------------------------------
1241220 February 2004. Summary of changes for version 20040220:
12413
12414
124151) ACPI CA Core Subsystem:
12416
12417Implemented execution of _SxD methods for Device objects in the
12418GetObjectInfo interface.
12419
12420Fixed calls to _SST method to pass the correct arguments.
12421
12422Added a call to _SST on wake to restore to "working" state.
12423
12424Check for End-Of-Buffer failure case in the WalkResources interface.
12425
12426Integrated fix for 64-bit alignment issue in acglobal.h by moving two
12427structures to the beginning of the file.
12428
12429After wake, clear GPE status register(s) before enabling GPEs.
12430
12431After wake, clear/enable power button. (Perhaps we should clear/enable
12432all
12433fixed events upon wake.)
12434
12435Fixed a couple of possible memory leaks in the Namespace manager.
12436
12437Integrated latest acnetbsd.h file.
12438
12439----------------------------------------
1244011 February 2004. Summary of changes for version 20040211:
12441
12442
124431) ACPI CA Core Subsystem:
12444
12445Completed investigation and implementation of the call-by-reference
12446mechanism for control method arguments.
12447
12448Fixed a problem where a store of an object into an indexed package could
12449fail if the store occurs within a different method than the method that
12450created the package.
12451
12452Fixed a problem where the ToDecimal operator could return incorrect
12453results.
12454
12455Fixed a problem where the CopyObject operator could fail on some of the
12456more
12457obscure objects (e.g., Reference objects.)
12458
12459Improved the output of the Debug object to display buffer, package, and
12460index objects.
12461
12462Fixed a problem where constructs of the form "RefOf (ArgX)" did not
12463return
12464the expected result.
12465
12466Added permanent ACPI_REPORT_ERROR macros for all instances of the
12467ACPI_AML_INTERNAL exception.
12468
12469Integrated latest version of acfreebsd.h
12470
12471----------------------------------------
1247216 January 2004. Summary of changes for version 20040116:
12473
12474The purpose of this release is primarily to update the copyright years in
12475each module, thus causing a huge number of diffs. There are a few small
12476functional changes, however.
12477
124781) ACPI CA Core Subsystem:
12479
12480Improved error messages when there is a problem finding one or more of
12481the
12482required base ACPI tables
12483
12484Reintroduced the definition of APIC_HEADER in actbl.h
12485
12486Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
12487
12488Removed extraneous reference to NewObj in dsmthdat.c
12489
124902) iASL compiler
12491
12492Fixed a problem introduced in December that disabled the correct
12493disassembly
12494of Resource Templates
12495
12496
12497----------------------------------------
1249803 December 2003. Summary of changes for version 20031203:
12499
125001) ACPI CA Core Subsystem:
12501
12502Changed the initialization of Operation Regions during subsystem
12503init to perform two entire walks of the ACPI namespace; The first
12504to initialize the regions themselves, the second to execute the
12505_REG methods. This fixed some interdependencies across _REG
12506methods found on some machines.
12507
12508Fixed a problem where a Store(Local0, Local1) could simply update
12509the object reference count, and not create a new copy of the
12510object if the Local1 is uninitialized.
12511
12512Implemented support for the _SST reserved method during sleep
12513transitions.
12514
12515Implemented support to clear the SLP_TYP and SLP_EN bits when
12516waking up, this is apparently required by some machines.
12517
12518When sleeping, clear the wake status only if SleepState is not S5.
12519
12520Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
12521pointer arithmetic advanced a string pointer too far.
12522
12523Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
12524could be returned if the requested table has not been loaded.
12525
12526Within the support for IRQ resources, restructured the handling of
12527the active and edge/level bits.
12528
12529Fixed a few problems in AcpiPsxExecute() where memory could be
12530leaked under certain error conditions.
12531
12532Improved error messages for the cases where the ACPI mode could
12533not be entered.
12534
12535Code and Data Size: Current and previous core subsystem library
12536sizes are shown below. These are the code and data sizes for the
12537acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12538these values do not include any ACPI driver or OSPM code. The
12539debug version of the code includes the debug output trace
12540mechanism and has a much larger code and data size. Note that
12541these values will vary depending on the efficiency of the compiler
12542and the compiler options used during generation.
12543
12544 Previous Release (20031029):
12545 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
12546 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
12547 Current Release:
12548 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
12549 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
12550
125512) iASL Compiler/Disassembler:
12552
12553Implemented a fix for the iASL disassembler where a bad index was
12554generated. This was most noticeable on 64-bit platforms
12555
12556
12557----------------------------------------
1255829 October 2003. Summary of changes for version 20031029:
12559
125601) ACPI CA Core Subsystem:
12561
12562
12563Fixed a problem where a level-triggered GPE with an associated
12564_Lxx control method was incorrectly cleared twice.
12565
12566Fixed a problem with the Field support code where an access can
12567occur beyond the end-of-region if the field is non-aligned but
12568extends to the very end of the parent region (resulted in an
12569AE_AML_REGION_LIMIT exception.)
12570
12571Fixed a problem with ACPI Fixed Events where an RT Clock handler
12572would not get invoked on an RTC event. The RTC event bitmasks for
12573the PM1 registers were not being initialized properly.
12574
12575Implemented support for executing _STA and _INI methods for
12576Processor objects. Although this is currently not part of the
12577ACPI specification, there is existing ASL code that depends on the
12578init-time execution of these methods.
12579
12580Implemented and deployed a GetDescriptorName function to decode
12581the various types of internal descriptors. Guards against null
12582descriptors during debug output also.
12583
12584Implemented and deployed a GetNodeName function to extract the 4-
12585character namespace node name. This function simplifies the debug
12586and error output, as well as guarding against null pointers during
12587output.
12588
12589Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
12590simplify the debug and error output of 64-bit integers. This
12591macro replaces the HIDWORD and LODWORD macros for dumping these
12592integers.
12593
12594Updated the implementation of the Stall() operator to only call
12595AcpiOsStall(), and also return an error if the operand is larger
12596than 255. This preserves the required behavior of not
12597relinquishing the processor, as would happen if AcpiOsSleep() was
12598called for "long stalls".
12599
12600Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
12601initialized are now treated as NOOPs.
12602
12603Cleaned up a handful of warnings during 64-bit generation.
12604
12605Fixed a reported error where and incorrect GPE number was passed
12606to the GPE dispatch handler. This value is only used for error
12607output, however. Used this opportunity to clean up and streamline
12608the GPE dispatch code.
12609
12610Code and Data Size: Current and previous core subsystem library
12611sizes are shown below. These are the code and data sizes for the
12612acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12613these values do not include any ACPI driver or OSPM code. The
12614
12615debug version of the code includes the debug output trace
12616mechanism and has a much larger code and data size. Note that
12617these values will vary depending on the efficiency of the compiler
12618and the compiler options used during generation.
12619
12620 Previous Release (20031002):
12621 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
12622 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
12623 Current Release:
12624 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
12625 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
12626
12627
126282) iASL Compiler/Disassembler:
12629
12630Updated the iASL compiler to return an error if the operand to the
12631Stall() operator is larger than 255.
12632
12633
12634----------------------------------------
1263502 October 2003. Summary of changes for version 20031002:
12636
12637
126381) ACPI CA Core Subsystem:
12639
12640Fixed a problem with Index Fields where the index was not
12641incremented for fields that require multiple writes to the
12642index/data registers (Fields that are wider than the data
12643register.)
12644
12645Fixed a problem with all Field objects where a write could go
12646beyond the end-of-field if the field was larger than the access
12647granularity and therefore required multiple writes to complete the
12648request. An extra write beyond the end of the field could happen
12649inadvertently.
12650
12651Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
12652would incorrectly be returned if the width of the Data Register
12653was larger than the specified field access width.
12654
12655Completed fixes for LoadTable() and Unload() and verified their
12656operation. Implemented full support for the "DdbHandle" object
12657throughout the ACPI CA subsystem.
12658
12659Implemented full support for the MADT and ECDT tables in the ACPI
12660CA header files. Even though these tables are not directly
12661consumed by ACPI CA, the header definitions are useful for ACPI
12662device drivers.
12663
12664Integrated resource descriptor fixes posted to the Linux ACPI
12665list. This included checks for minimum descriptor length, and
12666support for trailing NULL strings within descriptors that have
12667optional string elements.
12668
12669Code and Data Size: Current and previous core subsystem library
12670sizes are shown below. These are the code and data sizes for the
12671acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12672these values do not include any ACPI driver or OSPM code. The
12673debug version of the code includes the debug output trace
12674mechanism and has a much larger code and data size. Note that
12675these values will vary depending on the efficiency of the compiler
12676and the compiler options used during generation.
12677
12678 Previous Release (20030918):
12679 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
12680 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
12681 Current Release:
12682 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
12683 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
12684
12685
126862) iASL Compiler:
12687
12688Implemented detection of non-ASCII characters within the input
12689source ASL file. This catches attempts to compile binary (AML)
12690files early in the compile, with an informative error message.
12691
12692Fixed a problem where the disassembler would fault if the output
12693filename could not be generated or if the output file could not be
12694opened.
12695
12696----------------------------------------
1269718 September 2003. Summary of changes for version 20030918:
12698
12699
127001) ACPI CA Core Subsystem:
12701
12702Found and fixed a longstanding problem with the late execution of
12703the various deferred AML opcodes (such as Operation Regions,
12704Buffer Fields, Buffers, and Packages). If the name string
12705specified for the name of the new object placed the object in a
12706scope other than the current scope, the initialization/execution
12707of the opcode failed. The solution to this problem was to
12708implement a mechanism where the late execution of such opcodes
12709does not attempt to lookup/create the name a second time in an
12710incorrect scope. This fixes the "region size computed
12711incorrectly" problem.
12712
12713Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
12714Global Lock AE_BAD_PARAMETER error.
12715
12716Fixed several 64-bit issues with prototypes, casting and data
12717types.
12718
12719Removed duplicate prototype from acdisasm.h
12720
12721Fixed an issue involving EC Operation Region Detach (Shaohua Li)
12722
12723Code and Data Size: Current and previous core subsystem library
12724sizes are shown below. These are the code and data sizes for the
12725acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12726these values do not include any ACPI driver or OSPM code. The
12727debug version of the code includes the debug output trace
12728mechanism and has a much larger code and data size. Note that
12729these values will vary depending on the efficiency of the compiler
12730and the compiler options used during generation.
12731
12732 Previous Release:
12733
12734 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
12735 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
12736 Current Release:
12737 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
12738 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
12739
12740
127412) Linux:
12742
12743Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
12744correct sleep time in seconds.
12745
12746----------------------------------------
1274714 July 2003. Summary of changes for version 20030619:
12748
127491) ACPI CA Core Subsystem:
12750
12751Parse SSDTs in order discovered, as opposed to reverse order
12752(Hrvoje Habjanic)
12753
12754Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
12755Klausner,
12756 Nate Lawson)
12757
12758
127592) Linux:
12760
12761Dynamically allocate SDT list (suggested by Andi Kleen)
12762
12763proc function return value cleanups (Andi Kleen)
12764
12765Correctly handle NMI watchdog during long stalls (Andrew Morton)
12766
12767Make it so acpismp=force works (reported by Andrew Morton)
12768
12769
12770----------------------------------------
1277119 June 2003. Summary of changes for version 20030619:
12772
127731) ACPI CA Core Subsystem:
12774
12775Fix To/FromBCD, eliminating the need for an arch-specific #define.
12776
12777Do not acquire a semaphore in the S5 shutdown path.
12778
12779Fix ex_digits_needed for 0. (Takayoshi Kochi)
12780
12781Fix sleep/stall code reversal. (Andi Kleen)
12782
12783Revert a change having to do with control method calling
12784semantics.
12785
127862) Linux:
12787
12788acpiphp update (Takayoshi Kochi)
12789
12790Export acpi_disabled for sonypi (Stelian Pop)
12791
12792Mention acpismp=force in config help
12793
12794Re-add acpitable.c and acpismp=force. This improves backwards
12795
12796compatibility and also cleans up the code to a significant degree.
12797
12798Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
12799
12800----------------------------------------
1280122 May 2003. Summary of changes for version 20030522:
12802
128031) ACPI CA Core Subsystem:
12804
12805Found and fixed a reported problem where an AE_NOT_FOUND error
12806occurred occasionally during _BST evaluation. This turned out to
12807be an Owner ID allocation issue where a called method did not get
12808a new ID assigned to it. Eventually, (after 64k calls), the Owner
12809ID UINT16 would wraparound so that the ID would be the same as the
12810caller's and the called method would delete the caller's
12811namespace.
12812
12813Implemented extended error reporting for control methods that are
12814aborted due to a run-time exception. Output includes the exact
12815AML instruction that caused the method abort, a dump of the method
12816locals and arguments at the time of the abort, and a trace of all
12817nested control method calls.
12818
12819Modified the interpreter to allow the creation of buffers of zero
12820length from the AML code. Implemented new code to ensure that no
12821attempt is made to actually allocate a memory buffer (of length
12822zero) - instead, a simple buffer object with a NULL buffer pointer
12823and length zero is created. A warning is no longer issued when
12824the AML attempts to create a zero-length buffer.
12825
12826Implemented a workaround for the "leading asterisk issue" in
12827_HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
12828asterisk is automatically removed if present in any HID, UID, or
12829CID strings. The iASL compiler will still flag this asterisk as
12830an error, however.
12831
12832Implemented full support for _CID methods that return a package of
12833multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
12834now additionally returns a device _CID list if present. This
12835required a change to the external interface in order to pass an
12836ACPI_BUFFER object as a parameter since the _CID list is of
12837variable length.
12838
12839Fixed a problem with the new AE_SAME_HANDLER exception where
12840handler initialization code did not know about this exception.
12841
12842Code and Data Size: Current and previous core subsystem library
12843sizes are shown below. These are the code and data sizes for the
12844acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
12845these values do not include any ACPI driver or OSPM code. The
12846debug version of the code includes the debug output trace
12847mechanism and has a much larger code and data size. Note that
12848these values will vary depending on the efficiency of the compiler
12849and the compiler options used during generation.
12850
12851 Previous Release (20030509):
12852 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
12853 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
12854 Current Release:
12855 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
12856 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
12857
12858
128592) Linux:
12860
12861Fixed a bug in which we would reinitialize the ACPI interrupt
12862after it was already working, thus disabling all ACPI and the IRQs
12863for any other device sharing the interrupt. (Thanks to Stian
12864Jordet)
12865
12866Toshiba driver update (John Belmonte)
12867
12868Return only 0 or 1 for our interrupt handler status (Andrew
12869Morton)
12870
12871
128723) iASL Compiler:
12873
12874Fixed a reported problem where multiple (nested) ElseIf()
12875statements were not handled correctly by the compiler, resulting
12876in incorrect warnings and incorrect AML code. This was a problem
12877in both the ASL parser and the code generator.
12878
12879
128804) Documentation:
12881
12882Added changes to existing interfaces, new exception codes, and new
12883text concerning reference count object management versus garbage
12884collection.
12885
12886----------------------------------------
1288709 May 2003. Summary of changes for version 20030509.
12888
12889
128901) ACPI CA Core Subsystem:
12891
12892Changed the subsystem initialization sequence to hold off
12893installation of address space handlers until the hardware has been
12894initialized and the system has entered ACPI mode. This is because
12895the installation of space handlers can cause _REG methods to be
12896run. Previously, the _REG methods could potentially be run before
12897ACPI mode was enabled.
12898
12899Fixed some memory leak issues related to address space handler and
12900notify handler installation. There were some problems with the
12901reference count mechanism caused by the fact that the handler
12902objects are shared across several namespace objects.
12903
12904Fixed a reported problem where reference counts within the
12905namespace were not properly updated when named objects created by
12906method execution were deleted.
12907
12908Fixed a reported problem where multiple SSDTs caused a deletion
12909issue during subsystem termination. Restructured the table data
12910structures to simplify the linked lists and the related code.
12911
12912Fixed a problem where the table ID associated with secondary
12913tables (SSDTs) was not being propagated into the namespace objects
12914created by those tables. This would only present a problem for
12915tables that are unloaded at run-time, however.
12916
12917Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
12918type as the length parameter (instead of UINT32).
12919
12920Solved a long-standing problem where an ALREADY_EXISTS error
12921appears on various systems. This problem could happen when there
12922are multiple PCI_Config operation regions under a single PCI root
12923bus. This doesn't happen very frequently, but there are some
12924systems that do this in the ASL.
12925
12926Fixed a reported problem where the internal DeleteNode function
12927was incorrectly handling the case where a namespace node was the
12928first in the parent's child list, and had additional peers (not
12929the only child, but first in the list of children.)
12930
12931Code and Data Size: Current core subsystem library sizes are shown
12932below. These are the code and data sizes for the acpica.lib
12933produced by the Microsoft Visual C++ 6.0 compiler, and these
12934values do not include any ACPI driver or OSPM code. The debug
12935version of the code includes the debug output trace mechanism and
12936has a much larger code and data size. Note that these values will
12937vary depending on the efficiency of the compiler and the compiler
12938options used during generation.
12939
12940 Previous Release
12941 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
12942 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
12943 Current Release:
12944 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
12945 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
12946
12947
129482) Linux:
12949
12950Allow ":" in OS override string (Ducrot Bruno)
12951
12952Kobject fix (Greg KH)
12953
12954
129553 iASL Compiler/Disassembler:
12956
12957Fixed a problem in the generation of the C source code files (AML
12958is emitted in C source statements for BIOS inclusion) where the
12959Ascii dump that appears within a C comment at the end of each line
12960could cause a compile time error if the AML sequence happens to
12961have an open comment or close comment sequence embedded.
12962
12963
12964----------------------------------------
1296524 April 2003. Summary of changes for version 20030424.
12966
12967
129681) ACPI CA Core Subsystem:
12969
12970Support for big-endian systems has been implemented. Most of the
12971support has been invisibly added behind big-endian versions of the
12972ACPI_MOVE_* macros.
12973
12974Fixed a problem in AcpiHwDisableGpeBlock() and
12975AcpiHwClearGpeBlock() where an incorrect offset was passed to the
12976low level hardware write routine. The offset parameter was
12977actually eliminated from the low level read/write routines because
12978they had become obsolete.
12979
12980Fixed a problem where a handler object was deleted twice during
12981the removal of a fixed event handler.
12982
12983
129842) Linux:
12985
12986A fix for SMP systems with link devices was contributed by
12987
12988Compaq's Dan Zink.
12989
12990(2.5) Return whether we handled the interrupt in our IRQ handler.
12991(Linux ISRs no longer return void, so we can propagate the handler
12992return value from the ACPI CA core back to the OS.)
12993
12994
12995
129963) Documentation:
12997
12998The ACPI CA Programmer Reference has been updated to reflect new
12999interfaces and changes to existing interfaces.
13000
13001----------------------------------------
1300228 March 2003. Summary of changes for version 20030328.
13003
130041) ACPI CA Core Subsystem:
13005
13006The GPE Block Device support has been completed. New interfaces
13007are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
13008interfaces (enable, disable, clear, getstatus) have been split
13009into separate interfaces for Fixed Events and General Purpose
13010Events (GPEs) in order to support GPE Block Devices properly.
13011
13012Fixed a problem where the error message "Failed to acquire
13013semaphore" would appear during operations on the embedded
13014controller (EC).
13015
13016Code and Data Size: Current core subsystem library sizes are shown
13017below. These are the code and data sizes for the acpica.lib
13018produced by the Microsoft Visual C++ 6.0 compiler, and these
13019values do not include any ACPI driver or OSPM code. The debug
13020version of the code includes the debug output trace mechanism and
13021has a much larger code and data size. Note that these values will
13022vary depending on the efficiency of the compiler and the compiler
13023options used during generation.
13024
13025 Previous Release
13026 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
13027 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
13028 Current Release:
13029 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
13030 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
13031
13032
13033----------------------------------------
1303428 February 2003. Summary of changes for version 20030228.
13035
13036
130371) ACPI CA Core Subsystem:
13038
13039The GPE handling and dispatch code has been completely overhauled
13040in preparation for support of GPE Block Devices (ID ACPI0006).
13041This affects internal data structures and code only; there should
13042be no differences visible externally. One new file has been
13043added, evgpeblk.c
13044
13045The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
13046fields that are used to determine the GPE block lengths. The
13047REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
13048structures are ignored. This is per the ACPI specification but it
13049isn't very clear. The full 256 Block 0/1 GPEs are now supported
13050(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
13051
13052In the SCI interrupt handler, removed the read of the PM1_CONTROL
13053register to look at the SCI_EN bit. On some machines, this read
13054causes an SMI event and greatly slows down SCI events. (This may
13055in fact be the cause of slow battery status response on some
13056systems.)
13057
13058Fixed a problem where a store of a NULL string to a package object
13059could cause the premature deletion of the object. This was seen
13060during execution of the battery _BIF method on some systems,
13061resulting in no battery data being returned.
13062
13063Added AcpiWalkResources interface to simplify parsing of resource
13064lists.
13065
13066Code and Data Size: Current core subsystem library sizes are shown
13067below. These are the code and data sizes for the acpica.lib
13068produced by the Microsoft Visual C++ 6.0 compiler, and these
13069values do not include any ACPI driver or OSPM code. The debug
13070version of the code includes the debug output trace mechanism and
13071has a much larger code and data size. Note that these values will
13072vary depending on the efficiency of the compiler and the compiler
13073options used during generation.
13074
13075 Previous Release
13076 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13077 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13078 Current Release:
13079 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
13080 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
13081
13082
130832) Linux
13084
13085S3 fixes (Ole Rohne)
13086
13087Update ACPI PHP driver with to use new acpi_walk_resource API
13088(Bjorn Helgaas)
13089
13090Add S4BIOS support (Pavel Machek)
13091
13092Map in entire table before performing checksum (John Stultz)
13093
13094Expand the mem= cmdline to allow the specification of reserved and
13095ACPI DATA blocks (Pavel Machek)
13096
13097Never use ACPI on VISWS
13098
13099Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
13100
13101Revert a change that allowed P_BLK lengths to be 4 or 5. This is
13102causing us to think that some systems support C2 when they really
13103don't.
13104
13105Do not count processor objects for non-present CPUs (Thanks to
13106Dominik Brodowski)
13107
13108
131093) iASL Compiler:
13110
13111Fixed a problem where ASL include files could not be found and
13112opened.
13113
13114Added support for the _PDC reserved name.
13115
13116
13117----------------------------------------
1311822 January 2003. Summary of changes for version 20030122.
13119
13120
131211) ACPI CA Core Subsystem:
13122
13123Added a check for constructs of the form: Store (Local0, Local0)
13124where Local0 is not initialized. Apparently, some BIOS
13125programmers believe that this is a NOOP. Since this store doesn't
13126do anything anyway, the new prototype behavior will ignore this
13127error. This is a case where we can relax the strict checking in
13128the interpreter in the name of compatibility.
13129
13130
131312) Linux
13132
13133The AcpiSrc Source Conversion Utility has been released with the
13134Linux package for the first time. This is the utility that is
13135used to convert the ACPI CA base source code to the Linux version.
13136
13137(Both) Handle P_BLK lengths shorter than 6 more gracefully
13138
13139(Both) Move more headers to include/acpi, and delete an unused
13140header.
13141
13142(Both) Move drivers/acpi/include directory to include/acpi
13143
13144(Both) Boot functions don't use cmdline, so don't pass it around
13145
13146(Both) Remove include of unused header (Adrian Bunk)
13147
13148(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
13149the
13150former now also includes the latter, acpiphp.h only needs the one,
13151now.
13152
13153(2.5) Make it possible to select method of bios restoring after S3
13154resume. [=> no more ugly ifdefs] (Pavel Machek)
13155
13156(2.5) Make proc write interfaces work (Pavel Machek)
13157
13158(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
13159
13160(2.5) Break out ACPI Perf code into its own module, under cpufreq
13161(Dominik Brodowski)
13162
13163(2.4) S4BIOS support (Ducrot Bruno)
13164
13165(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
13166Visinoni)
13167
13168
131693) iASL Compiler:
13170
13171Added support to disassemble SSDT and PSDTs.
13172
13173Implemented support to obtain SSDTs from the Windows registry if
13174available.
13175
13176
13177----------------------------------------
1317809 January 2003. Summary of changes for version 20030109.
13179
131801) ACPI CA Core Subsystem:
13181
13182Changed the behavior of the internal Buffer-to-String conversion
13183function. The current ACPI specification states that the contents
13184of the buffer are "converted to a string of two-character
13185hexadecimal numbers, each separated by a space". Unfortunately,
13186this definition is not backwards compatible with existing ACPI 1.0
13187implementations (although the behavior was not defined in the ACPI
131881.0 specification). The new behavior simply copies data from the
13189buffer to the string until a null character is found or the end of
13190the buffer is reached. The new String object is always null
13191terminated. This problem was seen during the generation of _BIF
13192battery data where incorrect strings were returned for battery
13193type, etc. This will also require an errata to the ACPI
13194specification.
13195
13196Renamed all instances of NATIVE_UINT and NATIVE_INT to
13197ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
13198
13199Copyright in all module headers (both Linux and non-Linux) has be
13200updated to 2003.
13201
13202Code and Data Size: Current core subsystem library sizes are shown
13203below. These are the code and data sizes for the acpica.lib
13204produced by the Microsoft Visual C++ 6.0 compiler, and these
13205values do not include any ACPI driver or OSPM code. The debug
13206version of the code includes the debug output trace mechanism and
13207has a much larger code and data size. Note that these values will
13208vary depending on the efficiency of the compiler and the compiler
13209options used during generation.
13210
13211 Previous Release
13212 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13213 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13214 Current Release:
13215 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13216 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13217
13218
132192) Linux
13220
13221Fixed an oops on module insertion/removal (Matthew Tippett)
13222
13223(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
13224
13225(2.5) Replace pr_debug (Randy Dunlap)
13226
13227(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
13228
13229(Both) Eliminate spawning of thread from timer callback, in favor
13230of schedule_work()
13231
13232(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
13233
13234(Both) Added define for Fixed Function HW region (Matthew Wilcox)
13235
13236(Both) Add missing statics to button.c (Pavel Machek)
13237
13238Several changes have been made to the source code translation
13239utility that generates the Linux Code in order to make the code
13240more "Linux-like":
13241
13242All typedefs on structs and unions have been removed in keeping
13243with the Linux coding style.
13244
13245Removed the non-Linux SourceSafe module revision number from each
13246module header.
13247
13248Completed major overhaul of symbols to be lowercased for linux.
13249Doubled the number of symbols that are lowercased.
13250
13251Fixed a problem where identifiers within procedure headers and
13252within quotes were not fully lower cased (they were left with a
13253starting capital.)
13254
13255Some C macros whose only purpose is to allow the generation of 16-
13256bit code are now completely removed in the Linux code, increasing
13257readability and maintainability.
13258
13259----------------------------------------
13260
1326112 December 2002. Summary of changes for version 20021212.
13262
13263
132641) ACPI CA Core Subsystem:
13265
13266Fixed a problem where the creation of a zero-length AML Buffer
13267would cause a fault.
13268
13269Fixed a problem where a Buffer object that pointed to a static AML
13270buffer (in an ACPI table) could inadvertently be deleted, causing
13271memory corruption.
13272
13273Fixed a problem where a user buffer (passed in to the external
13274ACPI CA interfaces) could be overwritten if the buffer was too
13275small to complete the operation, causing memory corruption.
13276
13277Fixed a problem in the Buffer-to-String conversion code where a
13278string of length one was always returned, regardless of the size
13279of the input Buffer object.
13280
13281Removed the NATIVE_CHAR data type across the entire source due to
13282lack of need and lack of consistent use.
13283
13284Code and Data Size: Current core subsystem library sizes are shown
13285below. These are the code and data sizes for the acpica.lib
13286produced by the Microsoft Visual C++ 6.0 compiler, and these
13287values do not include any ACPI driver or OSPM code. The debug
13288version of the code includes the debug output trace mechanism and
13289has a much larger code and data size. Note that these values will
13290vary depending on the efficiency of the compiler and the compiler
13291options used during generation.
13292
13293 Previous Release
13294 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
13295 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
13296 Current Release:
13297 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13298 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13299
13300
13301----------------------------------------
1330205 December 2002. Summary of changes for version 20021205.
13303
133041) ACPI CA Core Subsystem:
13305
13306Fixed a problem where a store to a String or Buffer object could
13307cause corruption of the DSDT if the object type being stored was
13308the same as the target object type and the length of the object
13309being stored was equal to or smaller than the original (existing)
13310target object. This was seen to cause corruption of battery _BIF
13311buffers if the _BIF method modified the buffer on the fly.
13312
13313Fixed a problem where an internal error was generated if a control
13314method invocation was used in an OperationRegion, Buffer, or
13315Package declaration. This was caused by the deferred parsing of
13316the control method and thus the deferred creation of the internal
13317method object. The solution to this problem was to create the
13318internal method object at the moment the method is encountered in
13319the first pass - so that subsequent references to the method will
13320able to obtain the required parameter count and thus properly
13321parse the method invocation. This problem presented itself as an
13322AE_AML_INTERNAL during the pass 1 parse phase during table load.
13323
13324Fixed a problem where the internal String object copy routine did
13325not always allocate sufficient memory for the target String object
13326and caused memory corruption. This problem was seen to cause
13327"Allocation already present in list!" errors as memory allocation
13328became corrupted.
13329
13330Implemented a new function for the evaluation of namespace objects
13331that allows the specification of the allowable return object
13332types. This simplifies a lot of code that checks for a return
13333object of one or more specific objects returned from the
13334evaluation (such as _STA, etc.) This may become and external
13335function if it would be useful to ACPI-related drivers.
13336
13337Completed another round of prefixing #defines with "ACPI_" for
13338clarity.
13339
13340Completed additional code restructuring to allow more modular
13341linking for iASL compiler and AcpiExec. Several files were split
13342creating new files. New files: nsparse.c dsinit.c evgpe.c
13343
13344Implemented an abort mechanism to terminate an executing control
13345method via the AML debugger. This feature is useful for debugging
13346control methods that depend (wait) for specific hardware
13347responses.
13348
13349Code and Data Size: Current core subsystem library sizes are shown
13350below. These are the code and data sizes for the acpica.lib
13351produced by the Microsoft Visual C++ 6.0 compiler, and these
13352values do not include any ACPI driver or OSPM code. The debug
13353version of the code includes the debug output trace mechanism and
13354has a much larger code and data size. Note that these values will
13355vary depending on the efficiency of the compiler and the compiler
13356options used during generation.
13357
13358 Previous Release
13359 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13360 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
13361 Current Release:
13362 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
13363 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
13364
13365
133662) iASL Compiler/Disassembler
13367
13368Fixed a compiler code generation problem for "Interrupt" Resource
13369Descriptors. If specified in the ASL, the optional "Resource
13370Source Index" and "Resource Source" fields were not inserted into
13371the correct location within the AML resource descriptor, creating
13372an invalid descriptor.
13373
13374Fixed a disassembler problem for "Interrupt" resource descriptors.
13375The optional "Resource Source Index" and "Resource Source" fields
13376were ignored.
13377
13378
13379----------------------------------------
1338022 November 2002. Summary of changes for version 20021122.
13381
13382
133831) ACPI CA Core Subsystem:
13384
13385Fixed a reported problem where an object stored to a Method Local
13386or Arg was not copied to a new object during the store - the
13387object pointer was simply copied to the Local/Arg. This caused
13388all subsequent operations on the Local/Arg to also affect the
13389original source of the store operation.
13390
13391Fixed a problem where a store operation to a Method Local or Arg
13392was not completed properly if the Local/Arg contained a reference
13393(from RefOf) to a named field. The general-purpose store-to-
13394namespace-node code is now used so that this case is handled
13395automatically.
13396
13397Fixed a problem where the internal object copy routine would cause
13398a protection fault if the object being copied was a Package and
13399contained either 1) a NULL package element or 2) a nested sub-
13400package.
13401
13402Fixed a problem with the GPE initialization that resulted from an
13403ambiguity in the ACPI specification. One section of the
13404specification states that both the address and length of the GPE
13405block must be zero if the block is not supported. Another section
13406implies that only the address need be zero if the block is not
13407supported. The code has been changed so that both the address and
13408the length must be non-zero to indicate a valid GPE block (i.e.,
13409if either the address or the length is zero, the GPE block is
13410invalid.)
13411
13412Code and Data Size: Current core subsystem library sizes are shown
13413below. These are the code and data sizes for the acpica.lib
13414produced by the Microsoft Visual C++ 6.0 compiler, and these
13415values do not include any ACPI driver or OSPM code. The debug
13416version of the code includes the debug output trace mechanism and
13417has a much larger code and data size. Note that these values will
13418vary depending on the efficiency of the compiler and the compiler
13419options used during generation.
13420
13421 Previous Release
13422 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
13423 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
13424 Current Release:
13425 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13426 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
13427
13428
134292) Linux
13430
13431Cleaned up EC driver. Exported an external EC read/write
13432interface. By going through this, other drivers (most notably
13433sonypi) will be able to serialize access to the EC.
13434
13435
134363) iASL Compiler/Disassembler
13437
13438Implemented support to optionally generate include files for both
13439ASM and C (the -i switch). This simplifies BIOS development by
13440automatically creating include files that contain external
13441declarations for the symbols that are created within the
13442
13443(optionally generated) ASM and C AML source files.
13444
13445
13446----------------------------------------
1344715 November 2002. Summary of changes for version 20021115.
13448
134491) ACPI CA Core Subsystem:
13450
13451Fixed a memory leak problem where an error during resolution of
13452
13453method arguments during a method invocation from another method
13454failed to cleanup properly by deleting all successfully resolved
13455argument objects.
13456
13457Fixed a problem where the target of the Index() operator was not
13458correctly constructed if the source object was a package. This
13459problem has not been detected because the use of a target operand
13460with Index() is very rare.
13461
13462Fixed a problem with the Index() operator where an attempt was
13463made to delete the operand objects twice.
13464
13465Fixed a problem where an attempt was made to delete an operand
13466twice during execution of the CondRefOf() operator if the target
13467did not exist.
13468
13469Implemented the first of perhaps several internal create object
13470functions that create and initialize a specific object type. This
13471consolidates duplicated code wherever the object is created, thus
13472shrinking the size of the subsystem.
13473
13474Implemented improved debug/error messages for errors that occur
13475during nested method invocations. All executing method pathnames
13476are displayed (with the error) as the call stack is unwound - thus
13477simplifying debug.
13478
13479Fixed a problem introduced in the 10/02 release that caused
13480premature deletion of a buffer object if a buffer was used as an
13481ASL operand where an integer operand is required (Thus causing an
13482implicit object conversion from Buffer to Integer.) The change in
13483the 10/02 release was attempting to fix a memory leak (albeit
13484incorrectly.)
13485
13486Code and Data Size: Current core subsystem library sizes are shown
13487below. These are the code and data sizes for the acpica.lib
13488produced by the Microsoft Visual C++ 6.0 compiler, and these
13489values do not include any ACPI driver or OSPM code. The debug
13490version of the code includes the debug output trace mechanism and
13491has a much larger code and data size. Note that these values will
13492vary depending on the efficiency of the compiler and the compiler
13493options used during generation.
13494
13495 Previous Release
13496 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
13497 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
13498 Current Release:
13499 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
13500 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
13501
13502
135032) Linux
13504
13505Changed the implementation of the ACPI semaphores to use down()
13506instead of down_interruptable(). It is important that the
13507execution of ACPI control methods not be interrupted by signals.
13508Methods must run to completion, or the system may be left in an
13509unknown/unstable state.
13510
13511Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
13512(Shawn Starr)
13513
13514
135153) iASL Compiler/Disassembler
13516
13517
13518Changed the default location of output files. All output files
13519are now placed in the current directory by default instead of in
13520the directory of the source file. This change may affect some
13521existing makefiles, but it brings the behavior of the compiler in
13522line with other similar tools. The location of the output files
13523can be overridden with the -p command line switch.
13524
13525
13526----------------------------------------
1352711 November 2002. Summary of changes for version 20021111.
13528
13529
135300) ACPI Specification 2.0B is released and is now available at:
13531http://www.acpi.info/index.html
13532
13533
135341) ACPI CA Core Subsystem:
13535
13536Implemented support for the ACPI 2.0 SMBus Operation Regions.
13537This includes the early detection and handoff of the request to
13538the SMBus region handler (avoiding all of the complex field
13539support code), and support for the bidirectional return packet
13540from an SMBus write operation. This paves the way for the
13541development of SMBus drivers in each host operating system.
13542
13543Fixed a problem where the semaphore WAIT_FOREVER constant was
13544defined as 32 bits, but must be 16 bits according to the ACPI
13545specification. This had the side effect of causing ASL
13546Mutex/Event timeouts even though the ASL code requested a wait
13547forever. Changed all internal references to the ACPI timeout
13548parameter to 16 bits to prevent future problems. Changed the name
13549of WAIT_FOREVER to ACPI_WAIT_FOREVER.
13550
13551Code and Data Size: Current core subsystem library sizes are shown
13552below. These are the code and data sizes for the acpica.lib
13553produced by the Microsoft Visual C++ 6.0 compiler, and these
13554values do not include any ACPI driver or OSPM code. The debug
13555version of the code includes the debug output trace mechanism and
13556has a much larger code and data size. Note that these values will
13557vary depending on the efficiency of the compiler and the compiler
13558options used during generation.
13559
13560 Previous Release
13561 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13562 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
13563 Current Release:
13564 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
13565 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
13566
13567
135682) Linux
13569
13570Module loading/unloading fixes (John Cagle)
13571
13572
135733) iASL Compiler/Disassembler
13574
13575Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
13576
13577Implemented support for the disassembly of all SMBus protocol
13578keywords (SMBQuick, SMBWord, etc.)
13579
13580----------------------------------------
1358101 November 2002. Summary of changes for version 20021101.
13582
13583
135841) ACPI CA Core Subsystem:
13585
13586Fixed a problem where platforms that have a GPE1 block but no GPE0
13587block were not handled correctly. This resulted in a "GPE
13588overlap" error message. GPE0 is no longer required.
13589
13590Removed code added in the previous release that inserted nodes
13591into the namespace in alphabetical order. This caused some side-
13592effects on various machines. The root cause of the problem is
13593still under investigation since in theory, the internal ordering
13594of the namespace nodes should not matter.
13595
13596
13597Enhanced error reporting for the case where a named object is not
13598found during control method execution. The full ACPI namepath
13599(name reference) of the object that was not found is displayed in
13600this case.
13601
13602Note: as a result of the overhaul of the namespace object types in
13603the previous release, the namespace nodes for the predefined
13604scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
13605instead of ACPI_TYPE_ANY. This simplifies the namespace
13606management code but may affect code that walks the namespace tree
13607looking for specific object types.
13608
13609Code and Data Size: Current core subsystem library sizes are shown
13610below. These are the code and data sizes for the acpica.lib
13611produced by the Microsoft Visual C++ 6.0 compiler, and these
13612values do not include any ACPI driver or OSPM code. The debug
13613version of the code includes the debug output trace mechanism and
13614has a much larger code and data size. Note that these values will
13615vary depending on the efficiency of the compiler and the compiler
13616options used during generation.
13617
13618 Previous Release
13619 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
13620 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
13621 Current Release:
13622 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13623 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
13624
13625
136262) Linux
13627
13628Fixed a problem introduced in the previous release where the
13629Processor and Thermal objects were not recognized and installed in
13630/proc. This was related to the scope type change described above.
13631
13632
136333) iASL Compiler/Disassembler
13634
13635Implemented the -g option to get all of the required ACPI tables
13636from the registry and save them to files (Windows version of the
13637compiler only.) The required tables are the FADT, FACS, and DSDT.
13638
13639Added ACPI table checksum validation during table disassembly in
13640order to catch corrupted tables.
13641
13642
13643----------------------------------------
1364422 October 2002. Summary of changes for version 20021022.
13645
136461) ACPI CA Core Subsystem:
13647
13648Implemented a restriction on the Scope operator that the target
13649must already exist in the namespace at the time the operator is
13650encountered (during table load or method execution). In other
13651words, forward references are not allowed and Scope() cannot
13652create a new object. This changes the previous behavior where the
13653interpreter would create the name if not found. This new behavior
13654correctly enables the search-to-root algorithm during namespace
13655lookup of the target name. Because of this upsearch, this fixes
13656the known Compaq _SB_.OKEC problem and makes both the AML
13657interpreter and iASL compiler compatible with other ACPI
13658implementations.
13659
13660Completed a major overhaul of the internal ACPI object types for
13661the ACPI Namespace and the associated operand objects. Many of
13662these types had become obsolete with the introduction of the two-
13663pass namespace load. This cleanup simplifies the code and makes
13664the entire namespace load mechanism much clearer and easier to
13665understand.
13666
13667Improved debug output for tracking scope opening/closing to help
13668diagnose scoping issues. The old scope name as well as the new
13669scope name are displayed. Also improved error messages for
13670problems with ASL Mutex objects and error messages for GPE
13671problems.
13672
13673Cleaned up the namespace dump code, removed obsolete code.
13674
13675All string output (for all namespace/object dumps) now uses the
13676common ACPI string output procedure which handles escapes properly
13677and does not emit non-printable characters.
13678
13679Fixed some issues with constants in the 64-bit version of the
13680local C library (utclib.c)
13681
13682
136832) Linux
13684
13685EC Driver: No longer attempts to acquire the Global Lock at
13686interrupt level.
13687
13688
136893) iASL Compiler/Disassembler
13690
13691Implemented ACPI 2.0B grammar change that disallows all Type 1 and
136922 opcodes outside of a control method. This means that the
13693"executable" operators (versus the "namespace" operators) cannot
13694be used at the table level; they can only be used within a control
13695method.
13696
13697Implemented the restriction on the Scope() operator where the
13698target must already exist in the namespace at the time the
13699operator is encountered (during ASL compilation). In other words,
13700forward references are not allowed and Scope() cannot create a new
13701object. This makes the iASL compiler compatible with other ACPI
13702implementations and makes the Scope() implementation adhere to the
13703ACPI specification.
13704
13705Fixed a problem where namepath optimization for the Alias operator
13706was optimizing the wrong path (of the two namepaths.) This caused
13707a "Missing alias link" error message.
13708
13709Fixed a problem where an "unknown reserved name" warning could be
13710incorrectly generated for names like "_SB" when the trailing
13711underscore is not used in the original ASL.
13712
13713Fixed a problem where the reserved name check did not handle
13714NamePaths with multiple NameSegs correctly. The first nameseg of
13715the NamePath was examined instead of the last NameSeg.
13716
13717
13718----------------------------------------
13719
1372002 October 2002. Summary of changes for this release.
13721
13722
137231) ACPI CA Core Subsystem version 20021002:
13724
13725Fixed a problem where a store/copy of a string to an existing
13726string did not always set the string length properly in the String
13727object.
13728
13729Fixed a reported problem with the ToString operator where the
13730behavior was identical to the ToHexString operator instead of just
13731simply converting a raw buffer to a string data type.
13732
13733Fixed a problem where CopyObject and the other "explicit"
13734conversion operators were not updating the internal namespace node
13735type as part of the store operation.
13736
13737Fixed a memory leak during implicit source operand conversion
13738where the original object was not deleted if it was converted to a
13739new object of a different type.
13740
13741Enhanced error messages for all problems associated with namespace
13742lookups. Common procedure generates and prints the lookup name as
13743well as the formatted status.
13744
13745Completed implementation of a new design for the Alias support
13746within the namespace. The existing design did not handle the case
13747where a new object was assigned to one of the two names due to the
13748use of an explicit conversion operator, resulting in the two names
13749pointing to two different objects. The new design simply points
13750the Alias name to the original name node - not to the object.
13751This results in a level of indirection that must be handled in the
13752name resolution mechanism.
13753
13754Code and Data Size: Current core subsystem library sizes are shown
13755below. These are the code and data sizes for the acpica.lib
13756produced by the Microsoft Visual C++ 6.0 compiler, and these
13757values do not include any ACPI driver or OSPM code. The debug
13758version of the code includes the debug output trace mechanism and
13759has a larger code and data size. Note that these values will vary
13760depending on the efficiency of the compiler and the compiler
13761options used during generation.
13762
13763 Previous Release
13764 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
13765 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
13766 Current Release:
13767 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
13768 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
13769
13770
137712) Linux
13772
13773Initialize thermal driver's timer before it is used. (Knut
13774Neumann)
13775
13776Allow handling negative celsius values. (Kochi Takayoshi)
13777
13778Fix thermal management and make trip points. R/W (Pavel Machek)
13779
13780Fix /proc/acpi/sleep. (P. Christeas)
13781
13782IA64 fixes. (David Mosberger)
13783
13784Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
13785
13786Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
13787Brodowski)
13788
13789
137903) iASL Compiler/Disassembler
13791
13792Clarified some warning/error messages.
13793
13794
13795----------------------------------------
1379618 September 2002. Summary of changes for this release.
13797
13798
137991) ACPI CA Core Subsystem version 20020918:
13800
13801Fixed a reported problem with reference chaining (via the Index()
13802and RefOf() operators) in the ObjectType() and SizeOf() operators.
13803The definition of these operators includes the dereferencing of
13804all chained references to return information on the base object.
13805
13806Fixed a problem with stores to indexed package elements - the
13807existing code would not complete the store if an "implicit
13808conversion" was not performed. In other words, if the existing
13809object (package element) was to be replaced completely, the code
13810didn't handle this case.
13811
13812Relaxed typechecking on the ASL "Scope" operator to allow the
13813target name to refer to an object of type Integer, String, or
13814Buffer, in addition to the scoping object types (Device,
13815predefined Scopes, Processor, PowerResource, and ThermalZone.)
13816This allows existing AML code that has workarounds for a bug in
13817Windows to function properly. A warning is issued, however. This
13818affects both the AML interpreter and the iASL compiler. Below is
13819an example of this type of ASL code:
13820
13821 Name(DEB,0x00)
13822 Scope(DEB)
13823 {
13824
13825Fixed some reported problems with 64-bit integer support in the
13826local implementation of C library functions (clib.c)
13827
13828
138292) Linux
13830
13831Use ACPI fix map region instead of IOAPIC region, since it is
13832undefined in non-SMP.
13833
13834Ensure that the SCI has the proper polarity and trigger, even on
13835systems that do not have an interrupt override entry in the MADT.
13836
138372.5 big driver reorganization (Pat Mochel)
13838
13839Use early table mapping code from acpitable.c (Andi Kleen)
13840
13841New blacklist entries (Andi Kleen)
13842
13843Blacklist improvements. Split blacklist code out into a separate
13844file. Move checking the blacklist to very early. Previously, we
13845would use ACPI tables, and then halfway through init, check the
13846blacklist -- too late. Now, it's early enough to completely fall-
13847back to non-ACPI.
13848
13849
138503) iASL Compiler/Disassembler version 20020918:
13851
13852Fixed a problem where the typechecking code didn't know that an
13853alias could point to a method. In other words, aliases were not
13854being dereferenced during typechecking.
13855
13856
13857----------------------------------------
1385829 August 2002. Summary of changes for this release.
13859
138601) ACPI CA Core Subsystem Version 20020829:
13861
13862If the target of a Scope() operator already exists, it must be an
13863object type that actually opens a scope -- such as a Device,
13864Method, Scope, etc. This is a fatal runtime error. Similar error
13865check has been added to the iASL compiler also.
13866
13867Tightened up the namespace load to disallow multiple names in the
13868same scope. This previously was allowed if both objects were of
13869the same type. (i.e., a lookup was the same as entering a new
13870name).
13871
13872
138732) Linux
13874
13875Ensure that the ACPI interrupt has the proper trigger and
13876polarity.
13877
13878local_irq_disable is extraneous. (Matthew Wilcox)
13879
13880Make "acpi=off" actually do what it says, and not use the ACPI
13881interpreter *or* the tables.
13882
13883Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
13884Takayoshi)
13885
13886
138873) iASL Compiler/Disassembler Version 20020829:
13888
13889Implemented namepath optimization for name declarations. For
13890example, a declaration like "Method (\_SB_.ABCD)" would get
13891optimized to "Method (ABCD)" if the declaration is within the
13892\_SB_ scope. This optimization is in addition to the named
13893reference path optimization first released in the previous
13894version. This would seem to complete all possible optimizations
13895for namepaths within the ASL/AML.
13896
13897If the target of a Scope() operator already exists, it must be an
13898object type that actually opens a scope -- such as a Device,
13899Method, Scope, etc.
13900
13901Implemented a check and warning for unreachable code in the same
13902block below a Return() statement.
13903
13904Fixed a problem where the listing file was not generated if the
13905compiler aborted if the maximum error count was exceeded (200).
13906
13907Fixed a problem where the typechecking of method return values was
13908broken. This includes the check for a return value when the
13909method is invoked as a TermArg (a return value is expected.)
13910
13911Fixed a reported problem where EOF conditions during a quoted
13912string or comment caused a fault.
13913
13914
13915----------------------------------------
1391615 August 2002. Summary of changes for this release.
13917
139181) ACPI CA Core Subsystem Version 20020815:
13919
13920Fixed a reported problem where a Store to a method argument that
13921contains a reference did not perform the indirect store correctly.
13922This problem was created during the conversion to the new
13923reference object model - the indirect store to a method argument
13924code was not updated to reflect the new model.
13925
13926Reworked the ACPI mode change code to better conform to ACPI 2.0,
13927handle corner cases, and improve code legibility (Kochi Takayoshi)
13928
13929Fixed a problem with the pathname parsing for the carat (^)
13930prefix. The heavy use of the carat operator by the new namepath
13931optimization in the iASL compiler uncovered a problem with the AML
13932interpreter handling of this prefix. In the case where one or
13933more carats precede a single nameseg, the nameseg was treated as
13934standalone and the search rule (to root) was inadvertently
13935applied. This could cause both the iASL compiler and the
13936interpreter to find the wrong object or to miss the error that
13937should occur if the object does not exist at that exact pathname.
13938
13939Found and fixed the problem where the HP Pavilion DSDT would not
13940load. This was a relatively minor tweak to the table loading code
13941(a problem caused by the unexpected encounter with a method
13942invocation not within a control method), but it does not solve the
13943overall issue of the execution of AML code at the table level.
13944This investigation is still ongoing.
13945
13946Code and Data Size: Current core subsystem library sizes are shown
13947below. These are the code and data sizes for the acpica.lib
13948produced by the Microsoft Visual C++ 6.0 compiler, and these
13949values do not include any ACPI driver or OSPM code. The debug
13950version of the code includes the debug output trace mechanism and
13951has a larger code and data size. Note that these values will vary
13952depending on the efficiency of the compiler and the compiler
13953options used during generation.
13954
13955 Previous Release
13956 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
13957 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
13958 Current Release:
13959 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
13960 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
13961
13962
139632) Linux
13964
13965Remove redundant slab.h include (Brad Hards)
13966
13967Fix several bugs in thermal.c (Herbert Nachtnebel)
13968
13969Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
13970
13971Change acpi_system_suspend to use updated irq functions (Pavel
13972Machek)
13973
13974Export acpi_get_firmware_table (Matthew Wilcox)
13975
13976Use proper root proc entry for ACPI (Kochi Takayoshi)
13977
13978Fix early-boot table parsing (Bjorn Helgaas)
13979
13980
139813) iASL Compiler/Disassembler
13982
13983Reworked the compiler options to make them more consistent and to
13984use two-letter options where appropriate. We were running out of
13985sensible letters. This may break some makefiles, so check the
13986current options list by invoking the compiler with no parameters.
13987
13988Completed the design and implementation of the ASL namepath
13989optimization option for the compiler. This option optimizes all
13990references to named objects to the shortest possible path. The
13991first attempt tries to utilize a single nameseg (4 characters) and
13992the "search-to-root" algorithm used by the interpreter. If that
13993cannot be used (because either the name is not in the search path
13994or there is a conflict with another object with the same name),
13995the pathname is optimized using the carat prefix (usually a
13996shorter string than specifying the entire path from the root.)
13997
13998Implemented support to obtain the DSDT from the Windows registry
13999(when the disassembly option is specified with no input file).
14000Added this code as the implementation for AcpiOsTableOverride in
14001the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
14002utility) to scan memory for the DSDT to the AcpiOsTableOverride
14003function in the DOS OSL to make the disassembler truly OS
14004independent.
14005
14006Implemented a new option to disassemble and compile in one step.
14007When used without an input filename, this option will grab the
14008DSDT from the local machine, disassemble it, and compile it in one
14009step.
14010
14011Added a warning message for invalid escapes (a backslash followed
14012by any character other than the allowable escapes). This catches
14013the quoted string error "\_SB_" (which should be "\\_SB_" ).
14014
14015Also, there are numerous instances in the ACPI specification where
14016this error occurs.
14017
14018Added a compiler option to disable all optimizations. This is
14019basically the "compatibility mode" because by using this option,
14020the AML code will come out exactly the same as other ASL
14021compilers.
14022
14023Added error messages for incorrectly ordered dependent resource
14024functions. This includes: missing EndDependentFn macro at end of
14025dependent resource list, nested dependent function macros (both
14026start and end), and missing StartDependentFn macro. These are
14027common errors that should be caught at compile time.
14028
14029Implemented _OSI support for the disassembler and compiler. _OSI
14030must be included in the namespace for proper disassembly (because
14031the disassembler must know the number of arguments.)
14032
14033Added an "optimization" message type that is optional (off by
14034default). This message is used for all optimizations - including
14035constant folding, integer optimization, and namepath optimization.
14036
14037----------------------------------------
1403825 July 2002. Summary of changes for this release.
14039
14040
140411) ACPI CA Core Subsystem Version 20020725:
14042
14043The AML Disassembler has been enhanced to produce compilable ASL
14044code and has been integrated into the iASL compiler (see below) as
14045well as the single-step disassembly for the AML debugger and the
14046disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
14047resource templates and macros are fully supported. The
14048disassembler has been tested on over 30 different AML files,
14049producing identical AML when the resulting disassembled ASL file
14050is recompiled with the same ASL compiler.
14051
14052Modified the Resource Manager to allow zero interrupts and zero
14053dma channels during the GetCurrentResources call. This was
14054causing problems on some platforms.
14055
14056Added the AcpiOsRedirectOutput interface to the OSL to simplify
14057output redirection for the AcpiOsPrintf and AcpiOsVprintf
14058interfaces.
14059
14060Code and Data Size: Current core subsystem library sizes are shown
14061below. These are the code and data sizes for the acpica.lib
14062produced by the Microsoft Visual C++ 6.0 compiler, and these
14063values do not include any ACPI driver or OSPM code. The debug
14064version of the code includes the debug output trace mechanism and
14065has a larger code and data size. Note that these values will vary
14066depending on the efficiency of the compiler and the compiler
14067options used during generation.
14068
14069 Previous Release
14070 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
14071 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
14072 Current Release:
14073 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
14074 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
14075
14076
140772) Linux
14078
14079Fixed a panic in the EC driver (Dominik Brodowski)
14080
14081Implemented checksum of the R/XSDT itself during Linux table scan
14082(Richard Schaal)
14083
14084
140853) iASL compiler
14086
14087The AML disassembler is integrated into the compiler. The "-d"
14088option invokes the disassembler to completely disassemble an
14089input AML file, producing as output a text ASL file with the
14090extension ".dsl" (to avoid name collisions with existing .asl
14091source files.) A future enhancement will allow the disassembler
14092to obtain the BIOS DSDT from the registry under Windows.
14093
14094Fixed a problem with the VendorShort and VendorLong resource
14095descriptors where an invalid AML sequence was created.
14096
14097Implemented a fix for BufferData term in the ASL parser. It was
14098inadvertently defined twice, allowing invalid syntax to pass and
14099causing reduction conflicts.
14100
14101Fixed a problem where the Ones opcode could get converted to a
14102value of zero if "Ones" was used where a byte, word or dword value
14103was expected. The 64-bit value is now truncated to the correct
14104size with the correct value.
14105
14106
14107
14108----------------------------------------
1410902 July 2002. Summary of changes for this release.
14110
14111
141121) ACPI CA Core Subsystem Version 20020702:
14113
14114The Table Manager code has been restructured to add several new
14115features. Tables that are not required by the core subsystem
14116(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
14117validated in any way and are returned from AcpiGetFirmwareTable if
14118requested. The AcpiOsTableOverride interface is now called for
14119each table that is loaded by the subsystem in order to allow the
14120host to override any table it chooses. Previously, only the DSDT
14121could be overridden. Added one new files, tbrsdt.c and
14122tbgetall.c.
14123
14124Fixed a problem with the conversion of internal package objects to
14125external objects (when a package is returned from a control
14126method.) The return buffer length was set to zero instead of the
14127proper length of the package object.
14128
14129Fixed a reported problem with the use of the RefOf and DeRefOf
14130operators when passing reference arguments to control methods. A
14131new type of Reference object is used internally for references
14132produced by the RefOf operator.
14133
14134Added additional error messages in the Resource Manager to explain
14135AE_BAD_DATA errors when they occur during resource parsing.
14136
14137Split the AcpiEnableSubsystem into two primitives to enable a
14138finer granularity initialization sequence. These two calls should
14139be called in this order: AcpiEnableSubsystem (flags),
14140AcpiInitializeObjects (flags). The flags parameter remains the
14141same.
14142
14143
141442) Linux
14145
14146Updated the ACPI utilities module to understand the new style of
14147fully resolved package objects that are now returned from the core
14148subsystem. This eliminates errors of the form:
14149
14150 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
14151 acpi_utils-0430 [145] acpi_evaluate_reference:
14152 Invalid element in package (not a device reference)
14153
14154The method evaluation utility uses the new buffer allocation
14155scheme instead of calling AcpiEvaluate Object twice.
14156
14157Added support for ECDT. This allows the use of the Embedded
14158
14159Controller before the namespace has been fully initialized, which
14160is necessary for ACPI 2.0 support, and for some laptops to
14161initialize properly. (Laptops using ECDT are still rare, so only
14162limited testing was performed of the added functionality.)
14163
14164Fixed memory leaks in the EC driver.
14165
14166Eliminated a brittle code structure in acpi_bus_init().
14167
14168Eliminated the acpi_evaluate() helper function in utils.c. It is
14169no longer needed since acpi_evaluate_object can optionally
14170allocate memory for the return object.
14171
14172Implemented fix for keyboard hang when getting battery readings on
14173some systems (Stephen White)
14174
14175PCI IRQ routing update (Dominik Brodowski)
14176
14177Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
14178support
14179
14180----------------------------------------
1418111 June 2002. Summary of changes for this release.
14182
14183
141841) ACPI CA Core Subsystem Version 20020611:
14185
14186Fixed a reported problem where constants such as Zero and One
14187appearing within _PRT packages were not handled correctly within
14188the resource manager code. Originally reported against the ASL
14189compiler because the code generator now optimizes integers to
14190their minimal AML representation (i.e. AML constants if possible.)
14191The _PRT code now handles all AML constant opcodes correctly
14192(Zero, One, Ones, Revision).
14193
14194Fixed a problem with the Concatenate operator in the AML
14195interpreter where a buffer result object was incorrectly marked as
14196not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
14197
14198All package sub-objects are now fully resolved before they are
14199returned from the external ACPI interfaces. This means that name
14200strings are resolved to object handles, and constant operators
14201(Zero, One, Ones, Revision) are resolved to Integers.
14202
14203Implemented immediate resolution of the AML Constant opcodes
14204(Zero, One, Ones, Revision) to Integer objects upon detection
14205within the AML stream. This has simplified and reduced the
14206generated code size of the subsystem by eliminating about 10
14207switch statements for these constants (which previously were
14208contained in Reference objects.) The complicating issues are that
14209the Zero opcode is used as a "placeholder" for unspecified
14210optional target operands and stores to constants are defined to be
14211no-ops.
14212
14213Code and Data Size: Current core subsystem library sizes are shown
14214below. These are the code and data sizes for the acpica.lib
14215produced by the Microsoft Visual C++ 6.0 compiler, and these
14216values do not include any ACPI driver or OSPM code. The debug
14217version of the code includes the debug output trace mechanism and
14218has a larger code and data size. Note that these values will vary
14219depending on the efficiency of the compiler and the compiler
14220options used during generation.
14221
14222 Previous Release
14223 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
14224 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
14225 Current Release:
14226 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
14227 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
14228
14229
142302) Linux
14231
14232
14233Added preliminary support for obtaining _TRA data for PCI root
14234bridges (Bjorn Helgaas).
14235
14236
142373) iASL Compiler Version X2046:
14238
14239Fixed a problem where the "_DDN" reserved name was defined to be a
14240control method with one argument. There are no arguments, and
14241_DDN does not have to be a control method.
14242
14243Fixed a problem with the Linux version of the compiler where the
14244source lines printed with error messages were the wrong lines.
14245This turned out to be the "LF versus CR/LF" difference between
14246Windows and Unix. This appears to be the longstanding issue
14247concerning listing output and error messages.
14248
14249Fixed a problem with the Linux version of compiler where opcode
14250names within error messages were wrong. This was caused by a
14251slight difference in the output of the Flex tool on Linux versus
14252Windows.
14253
14254Fixed a problem with the Linux compiler where the hex output files
14255contained some garbage data caused by an internal buffer overrun.
14256
14257
14258----------------------------------------
1425917 May 2002. Summary of changes for this release.
14260
14261
142621) ACPI CA Core Subsystem Version 20020517:
14263
14264Implemented a workaround to an BIOS bug discovered on the HP
14265OmniBook where the FADT revision number and the table size are
14266inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
14267behavior is to fallback to using only the ACPI 1.0 fields of the
14268FADT if the table is too small to be a ACPI 2.0 table as claimed
14269by the revision number. Although this is a BIOS bug, this is a
14270case where the workaround is simple enough and with no side
14271effects, so it seemed prudent to add it. A warning message is
14272issued, however.
14273
14274Implemented minimum size checks for the fixed-length ACPI tables -
14275- the FADT and FACS, as well as consistency checks between the
14276revision number and the table size.
14277
14278Fixed a reported problem in the table override support where the
14279new table pointer was incorrectly treated as a physical address
14280instead of a logical address.
14281
14282Eliminated the use of the AE_AML_ERROR exception and replaced it
14283with more descriptive codes.
14284
14285Fixed a problem where an exception would occur if an ASL Field was
14286defined with no named Field Units underneath it (used by some
14287index fields).
14288
14289Code and Data Size: Current core subsystem library sizes are shown
14290below. These are the code and data sizes for the acpica.lib
14291produced by the Microsoft Visual C++ 6.0 compiler, and these
14292values do not include any ACPI driver or OSPM code. The debug
14293version of the code includes the debug output trace mechanism and
14294has a larger code and data size. Note that these values will vary
14295depending on the efficiency of the compiler and the compiler
14296options used during generation.
14297
14298 Previous Release
14299 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
14300 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
14301 Current Release:
14302 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
14303 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
14304
14305
14306
143072) Linux
14308
14309Much work done on ACPI init (MADT and PCI IRQ routing support).
14310(Paul D. and Dominik Brodowski)
14311
14312Fix PCI IRQ-related panic on boot (Sam Revitch)
14313
14314Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
14315
14316Fix "MHz" typo (Dominik Brodowski)
14317
14318Fix RTC year 2000 issue (Dominik Brodowski)
14319
14320Preclude multiple button proc entries (Eric Brunet)
14321
14322Moved arch-specific code out of include/platform/aclinux.h
14323
143243) iASL Compiler Version X2044:
14325
14326Implemented error checking for the string used in the EISAID macro
14327(Usually used in the definition of the _HID object.) The code now
14328strictly enforces the PnP format - exactly 7 characters, 3
14329uppercase letters and 4 hex digits.
14330
14331If a raw string is used in the definition of the _HID object
14332(instead of the EISAID macro), the string must contain all
14333alphanumeric characters (e.g., "*PNP0011" is not allowed because
14334of the asterisk.)
14335
14336Implemented checking for invalid use of ACPI reserved names for
14337most of the name creation operators (Name, Device, Event, Mutex,
14338OperationRegion, PowerResource, Processor, and ThermalZone.)
14339Previously, this check was only performed for control methods.
14340
14341Implemented an additional check on the Name operator to emit an
14342error if a reserved name that must be implemented in ASL as a
14343control method is used. We know that a reserved name must be a
14344method if it is defined with input arguments.
14345
14346The warning emitted when a namespace object reference is not found
14347during the cross reference phase has been changed into an error.
14348The "External" directive should be used for names defined in other
14349modules.
14350
14351
143524) Tools and Utilities
14353
14354The 16-bit tools (adump16 and aexec16) have been regenerated and
14355tested.
14356
14357Fixed a problem with the output of both acpidump and adump16 where
14358the indentation of closing parentheses and brackets was not
14359
14360aligned properly with the parent block.
14361
14362
14363----------------------------------------
1436403 May 2002. Summary of changes for this release.
14365
14366
143671) ACPI CA Core Subsystem Version 20020503:
14368
14369Added support a new OSL interface that allows the host operating
14370
14371system software to override the DSDT found in the firmware -
14372AcpiOsTableOverride. With this interface, the OSL can examine the
14373version of the firmware DSDT and replace it with a different one
14374if desired.
14375
14376Added new external interfaces for accessing ACPI registers from
14377device drivers and other system software - AcpiGetRegister and
14378AcpiSetRegister. This was simply an externalization of the
14379existing AcpiHwBitRegister interfaces.
14380
14381Fixed a regression introduced in the previous build where the
14382ASL/AML CreateField operator always returned an error,
14383"destination must be a NS Node".
14384
14385Extended the maximum time (before failure) to successfully enable
14386ACPI mode to 3 seconds.
14387
14388Code and Data Size: Current core subsystem library sizes are shown
14389below. These are the code and data sizes for the acpica.lib
14390produced by the Microsoft Visual C++ 6.0 compiler, and these
14391values do not include any ACPI driver or OSPM code. The debug
14392version of the code includes the debug output trace mechanism and
14393has a larger code and data size. Note that these values will vary
14394depending on the efficiency of the compiler and the compiler
14395options used during generation.
14396
14397 Previous Release
14398 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
14399 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
14400 Current Release:
14401 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
14402 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
14403
14404
144052) Linux
14406
14407Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
14408free. While 3 out of 4 of our in-house systems work fine, the last
14409one still hangs when testing the LAPIC timer.
14410
14411Renamed many files in 2.5 kernel release to omit "acpi_" from the
14412name.
14413
14414Added warning on boot for Presario 711FR.
14415
14416Sleep improvements (Pavel Machek)
14417
14418ACPI can now be built without CONFIG_PCI enabled.
14419
14420IA64: Fixed memory map functions (JI Lee)
14421
14422
144233) iASL Compiler Version X2043:
14424
14425Added support to allow the compiler to be integrated into the MS
14426VC++ development environment for one-button compilation of single
14427files or entire projects -- with error-to-source-line mapping.
14428
14429Implemented support for compile-time constant folding for the
14430Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
14431specification. This allows the ASL writer to use expressions
14432instead of Integer/Buffer/String constants in terms that must
14433evaluate to constants at compile time and will also simplify the
14434emitted AML in any such sub-expressions that can be folded
14435(evaluated at compile-time.) This increases the size of the
14436compiler significantly because a portion of the ACPI CA AML
14437interpreter is included within the compiler in order to pre-
14438evaluate constant expressions.
14439
14440
14441Fixed a problem with the "Unicode" ASL macro that caused the
14442compiler to fault. (This macro is used in conjunction with the
14443_STR reserved name.)
14444
14445Implemented an AML opcode optimization to use the Zero, One, and
14446Ones opcodes where possible to further reduce the size of integer
14447constants and thus reduce the overall size of the generated AML
14448code.
14449
14450Implemented error checking for new reserved terms for ACPI version
144512.0A.
14452
14453Implemented the -qr option to display the current list of ACPI
14454reserved names known to the compiler.
14455
14456Implemented the -qc option to display the current list of ASL
14457operators that are allowed within constant expressions and can
14458therefore be folded at compile time if the operands are constants.
14459
14460
144614) Documentation
14462
14463Updated the Programmer's Reference for new interfaces, data types,
14464and memory allocation model options.
14465
14466Updated the iASL Compiler User Reference to apply new format and
14467add information about new features and options.
14468
14469----------------------------------------
1447019 April 2002. Summary of changes for this release.
14471
144721) ACPI CA Core Subsystem Version 20020419:
14473
14474The source code base for the Core Subsystem has been completely
14475cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
14476versions. The Lint option files used are included in the
14477/acpi/generate/lint directory.
14478
14479Implemented enhanced status/error checking across the entire
14480Hardware manager subsystem. Any hardware errors (reported from
14481the OSL) are now bubbled up and will abort a running control
14482method.
14483
14484
14485Fixed a problem where the per-ACPI-table integer width (32 or 64)
14486was stored only with control method nodes, causing a fault when
14487non-control method code was executed during table loading. The
14488solution implemented uses a global variable to indicate table
14489width across the entire ACPI subsystem. Therefore, ACPI CA does
14490not support mixed integer widths across different ACPI tables
14491(DSDT, SSDT).
14492
14493Fixed a problem where NULL extended fields (X fields) in an ACPI
144942.0 ACPI FADT caused the table load to fail. Although the
14495existing ACPI specification is a bit fuzzy on this topic, the new
14496behavior is to fall back on a ACPI 1.0 field if the corresponding
14497ACPI 2.0 X field is zero (even though the table revision indicates
14498a full ACPI 2.0 table.) The ACPI specification will be updated to
14499clarify this issue.
14500
14501Fixed a problem with the SystemMemory operation region handler
14502where memory was always accessed byte-wise even if the AML-
14503specified access width was larger than a byte. This caused
14504problems on systems with memory-mapped I/O. Memory is now
14505accessed with the width specified. On systems that do not support
14506non-aligned transfers, a check is made to guarantee proper address
14507alignment before proceeding in order to avoid an AML-caused
14508alignment fault within the kernel.
14509
14510
14511Fixed a problem with the ExtendedIrq resource where only one byte
14512of the 4-byte Irq field was extracted.
14513
14514Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
14515function was out of date and required a rewrite.
14516
14517Code and Data Size: Current core subsystem library sizes are shown
14518below. These are the code and data sizes for the acpica.lib
14519produced by the Microsoft Visual C++ 6.0 compiler, and these
14520values do not include any ACPI driver or OSPM code. The debug
14521version of the code includes the debug output trace mechanism and
14522has a larger code and data size. Note that these values will vary
14523depending on the efficiency of the compiler and the compiler
14524options used during generation.
14525
14526 Previous Release
14527 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
14528 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
14529 Current Release:
14530 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
14531 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
14532
14533
145342) Linux
14535
14536PCI IRQ routing fixes (Dominik Brodowski)
14537
14538
145393) iASL Compiler Version X2042:
14540
14541Implemented an additional compile-time error check for a field
14542unit whose size + minimum access width would cause a run-time
14543access beyond the end-of-region. Previously, only the field size
14544itself was checked.
14545
14546The Core subsystem and iASL compiler now share a common parse
14547object in preparation for compile-time evaluation of the type
145483/4/5 ASL operators.
14549
14550
14551----------------------------------------
14552Summary of changes for this release: 03_29_02
14553
145541) ACPI CA Core Subsystem Version 20020329:
14555
14556Implemented support for late evaluation of TermArg operands to
14557Buffer and Package objects. This allows complex expressions to be
14558used in the declarations of these object types.
14559
14560Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
145611.0, if the field was larger than 32 bits, it was returned as a
14562buffer - otherwise it was returned as an integer. In ACPI 2.0,
14563the field is returned as a buffer only if the field is larger than
1456464 bits. The TableRevision is now considered when making this
14565conversion to avoid incompatibility with existing ASL code.
14566
14567Implemented logical addressing for AcpiOsGetRootPointer. This
14568allows an RSDP with either a logical or physical address. With
14569this support, the host OS can now override all ACPI tables with
14570one logical RSDP. Includes implementation of "typed" pointer
14571support to allow a common data type for both physical and logical
14572pointers internally. This required a change to the
14573AcpiOsGetRootPointer interface.
14574
14575Implemented the use of ACPI 2.0 Generic Address Structures for all
14576GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
14577mapped I/O for these ACPI features.
14578
14579Initialization now ignores not only non-required tables (All
14580tables other than the FADT, FACS, DSDT, and SSDTs), but also does
14581not validate the table headers of unrecognized tables.
14582
14583Fixed a problem where a notify handler could only be
14584installed/removed on an object of type Device. All "notify"
14585
14586objects are now supported -- Devices, Processor, Power, and
14587Thermal.
14588
14589Removed most verbosity from the ACPI_DB_INFO debug level. Only
14590critical information is returned when this debug level is enabled.
14591
14592Code and Data Size: Current core subsystem library sizes are shown
14593below. These are the code and data sizes for the acpica.lib
14594produced by the Microsoft Visual C++ 6.0 compiler, and these
14595values do not include any ACPI driver or OSPM code. The debug
14596version of the code includes the debug output trace mechanism and
14597has a larger code and data size. Note that these values will vary
14598depending on the efficiency of the compiler and the compiler
14599options used during generation.
14600
14601 Previous Release
14602 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
14603 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
14604 Current Release:
14605 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
14606 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
14607
14608
146092) Linux:
14610
14611The processor driver (acpi_processor.c) now fully supports ACPI
146122.0-based processor performance control (e.g. Intel(R)
14613SpeedStep(TM) technology) Note that older laptops that only have
14614the Intel "applet" interface are not supported through this. The
14615'limit' and 'performance' interface (/proc) are fully functional.
14616[Note that basic policy for controlling performance state
14617transitions will be included in the next version of ospmd.] The
14618idle handler was modified to more aggressively use C2, and PIIX4
14619errata handling underwent a complete overhaul (big thanks to
14620Dominik Brodowski).
14621
14622Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
14623based devices in the ACPI namespace are now dynamically bound
14624(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
14625This allows, among other things, ACPI to resolve bus numbers for
14626subordinate PCI bridges.
14627
14628Enhanced PCI IRQ routing to get the proper bus number for _PRT
14629entries defined underneath PCI bridges.
14630
14631Added IBM 600E to bad bios list due to invalid _ADR value for
14632PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
14633
14634In the process of adding full MADT support (e.g. IOAPIC) for IA32
14635(acpi.c, mpparse.c) -- stay tuned.
14636
14637Added back visual differentiation between fixed-feature and
14638control-method buttons in dmesg. Buttons are also subtyped (e.g.
14639button/power/PWRF) to simplify button identification.
14640
14641We no longer use -Wno-unused when compiling debug. Please ignore
14642any "_THIS_MODULE defined but not used" messages.
14643
14644Can now shut down the system using "magic sysrq" key.
14645
14646
146473) iASL Compiler version 2041:
14648
14649Fixed a problem where conversion errors for hex/octal/decimal
14650constants were not reported.
14651
14652Implemented a fix for the General Register template Address field.
14653This field was 8 bits when it should be 64.
14654
14655Fixed a problem where errors/warnings were no longer being emitted
14656within the listing output file.
14657
14658Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
14659exactly 4 characters, alphanumeric only.
14660
14661
14662
14663
14664----------------------------------------
14665Summary of changes for this release: 03_08_02
14666
14667
146681) ACPI CA Core Subsystem Version 20020308:
14669
14670Fixed a problem with AML Fields where the use of the "AccessAny"
14671keyword could cause an interpreter error due to attempting to read
14672or write beyond the end of the parent Operation Region.
14673
14674Fixed a problem in the SystemMemory Operation Region handler where
14675an attempt was made to map memory beyond the end of the region.
14676This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
14677errors on some Linux systems.
14678
14679Fixed a problem where the interpreter/namespace "search to root"
14680algorithm was not functioning for some object types. Relaxed the
14681internal restriction on the search to allow upsearches for all
14682external object types as well as most internal types.
14683
14684
146852) Linux:
14686
14687We now use safe_halt() macro versus individual calls to sti | hlt.
14688
14689Writing to the processor limit interface should now work. "echo 1"
14690will increase the limit, 2 will decrease, and 0 will reset to the
14691
14692default.
14693
14694
146953) ASL compiler:
14696
14697Fixed segfault on Linux version.
14698
14699
14700----------------------------------------
14701Summary of changes for this release: 02_25_02
14702
147031) ACPI CA Core Subsystem:
14704
14705
14706Fixed a problem where the GPE bit masks were not initialized
14707properly, causing erratic GPE behavior.
14708
14709Implemented limited support for multiple calling conventions. The
14710code can be generated with either the VPL (variable parameter
14711list, or "C") convention, or the FPL (fixed parameter list, or
14712"Pascal") convention. The core subsystem is about 3.4% smaller
14713when generated with FPL.
14714
14715
147162) Linux
14717
14718Re-add some /proc/acpi/event functionality that was lost during
14719the rewrite
14720
14721Resolved issue with /proc events for fixed-feature buttons showing
14722up as the system device.
14723
14724Fixed checks on C2/C3 latencies to be inclusive of maximum values.
14725
14726Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
14727
14728Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
14729
14730Fixed limit interface & usage to fix bugs with passive cooling
14731hysterisis.
14732
14733Restructured PRT support.
14734
14735
14736----------------------------------------
14737Summary of changes for this label: 02_14_02
14738
14739
147401) ACPI CA Core Subsystem:
14741
14742Implemented support in AcpiLoadTable to allow loading of FACS and
14743FADT tables.
14744
14745Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
14746been removed. All 64-bit platforms should be migrated to the ACPI
147472.0 tables. The actbl71.h header has been removed from the source
14748tree.
14749
14750All C macros defined within the subsystem have been prefixed with
14751"ACPI_" to avoid collision with other system include files.
14752
14753Removed the return value for the two AcpiOsPrint interfaces, since
14754it is never used and causes lint warnings for ignoring the return
14755value.
14756
14757Added error checking to all internal mutex acquire and release
14758calls. Although a failure from one of these interfaces is
14759probably a fatal system error, these checks will cause the
14760immediate abort of the currently executing method or interface.
14761
14762Fixed a problem where the AcpiSetCurrentResources interface could
14763fault. This was a side effect of the deployment of the new memory
14764allocation model.
14765
14766Fixed a couple of problems with the Global Lock support introduced
14767in the last major build. The "common" (1.0/2.0) internal FACS was
14768being overwritten with the FACS signature and clobbering the
14769Global Lock pointer. Also, the actual firmware FACS was being
14770unmapped after construction of the "common" FACS, preventing
14771access to the actual Global Lock field within it. The "common"
14772internal FACS is no longer installed as an actual ACPI table; it
14773is used simply as a global.
14774
14775Code and Data Size: Current core subsystem library sizes are shown
14776below. These are the code and data sizes for the acpica.lib
14777produced by the Microsoft Visual C++ 6.0 compiler, and these
14778values do not include any ACPI driver or OSPM code. The debug
14779version of the code includes the debug output trace mechanism and
14780has a larger code and data size. Note that these values will vary
14781depending on the efficiency of the compiler and the compiler
14782options used during generation.
14783
14784 Previous Release (02_07_01)
14785 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
14786 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
14787 Current Release:
14788 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
14789 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
14790
14791
147922) Linux
14793
14794Updated Linux-specific code for core macro and OSL interface
14795changes described above.
14796
14797Improved /proc/acpi/event. It now can be opened only once and has
14798proper poll functionality.
14799
14800Fixed and restructured power management (acpi_bus).
14801
14802Only create /proc "view by type" when devices of that class exist.
14803
14804Fixed "charging/discharging" bug (and others) in acpi_battery.
14805
14806Improved thermal zone code.
14807
14808
148093) ASL Compiler, version X2039:
14810
14811
14812Implemented the new compiler restriction on ASL String hex/octal
14813escapes to non-null, ASCII values. An error results if an invalid
14814value is used. (This will require an ACPI 2.0 specification
14815change.)
14816
14817AML object labels that are output to the optional C and ASM source
14818are now prefixed with both the ACPI table signature and table ID
14819to help guarantee uniqueness within a large BIOS project.
14820
14821
14822----------------------------------------
14823Summary of changes for this label: 02_01_02
14824
148251) ACPI CA Core Subsystem:
14826
14827ACPI 2.0 support is complete in the entire Core Subsystem and the
14828ASL compiler. All new ACPI 2.0 operators are implemented and all
14829other changes for ACPI 2.0 support are complete. With
14830simultaneous code and data optimizations throughout the subsystem,
14831ACPI 2.0 support has been implemented with almost no additional
14832cost in terms of code and data size.
14833
14834Implemented a new mechanism for allocation of return buffers. If
14835the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
14836be allocated on behalf of the caller. Consolidated all return
14837buffer validation and allocation to a common procedure. Return
14838buffers will be allocated via the primary OSL allocation interface
14839since it appears that a separate pool is not needed by most users.
14840If a separate pool is required for these buffers, the caller can
14841still use the original mechanism and pre-allocate the buffer(s).
14842
14843Implemented support for string operands within the DerefOf
14844operator.
14845
14846Restructured the Hardware and Event managers to be table driven,
14847simplifying the source code and reducing the amount of generated
14848code.
14849
14850Split the common read/write low-level ACPI register bitfield
14851procedure into a separate read and write, simplifying the code
14852considerably.
14853
14854Obsoleted the AcpiOsCallocate OSL interface. This interface was
14855used only a handful of times and didn't have enough critical mass
14856for a separate interface. Replaced with a common calloc procedure
14857in the core.
14858
14859Fixed a reported problem with the GPE number mapping mechanism
14860that allows GPE1 numbers to be non-contiguous with GPE0.
14861Reorganized the GPE information and shrunk a large array that was
14862originally large enough to hold info for all possible GPEs (256)
14863to simply large enough to hold all GPEs up to the largest GPE
14864number on the machine.
14865
14866Fixed a reported problem with resource structure alignment on 64-
14867bit platforms.
14868
14869Changed the AcpiEnableEvent and AcpiDisableEvent external
14870interfaces to not require any flags for the common case of
14871enabling/disabling a GPE.
14872
14873Implemented support to allow a "Notify" on a Processor object.
14874
14875Most TBDs in comments within the source code have been resolved
14876and eliminated.
14877
14878
14879Fixed a problem in the interpreter where a standalone parent
14880prefix (^) was not handled correctly in the interpreter and
14881debugger.
14882
14883Removed obsolete and unnecessary GPE save/restore code.
14884
14885Implemented Field support in the ASL Load operator. This allows a
14886table to be loaded from a named field, in addition to loading a
14887table directly from an Operation Region.
14888
14889Implemented timeout and handle support in the external Global Lock
14890interfaces.
14891
14892Fixed a problem in the AcpiDump utility where pathnames were no
14893longer being generated correctly during the dump of named objects.
14894
14895Modified the AML debugger to give a full display of if/while
14896predicates instead of just one AML opcode at a time. (The
14897predicate can have several nested ASL statements.) The old method
14898was confusing during single stepping.
14899
14900Code and Data Size: Current core subsystem library sizes are shown
14901below. These are the code and data sizes for the acpica.lib
14902produced by the Microsoft Visual C++ 6.0 compiler, and these
14903values do not include any ACPI driver or OSPM code. The debug
14904version of the code includes the debug output trace mechanism and
14905has a larger code and data size. Note that these values will vary
14906depending on the efficiency of the compiler and the compiler
14907options used during generation.
14908
14909 Previous Release (12_18_01)
14910 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
14911 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
14912 Current Release:
14913 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
14914 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
14915
149162) Linux
14917
14918 Implemented fix for PIIX reverse throttling errata (Processor
14919driver)
14920
14921Added new Limit interface (Processor and Thermal drivers)
14922
14923New thermal policy (Thermal driver)
14924
14925Many updates to /proc
14926
14927Battery "low" event support (Battery driver)
14928
14929Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
14930
14931IA32 - IA64 initialization unification, no longer experimental
14932
14933Menuconfig options redesigned
14934
149353) ASL Compiler, version X2037:
14936
14937Implemented several new output features to simplify integration of
14938AML code into firmware: 1) Output the AML in C source code with
14939labels for each named ASL object. The original ASL source code
14940is interleaved as C comments. 2) Output the AML in ASM source code
14941with labels and interleaved ASL source. 3) Output the AML in
14942raw hex table form, in either C or ASM.
14943
14944Implemented support for optional string parameters to the
14945LoadTable operator.
14946
14947Completed support for embedded escape sequences within string
14948literals. The compiler now supports all single character escapes
14949as well as the Octal and Hex escapes. Note: the insertion of a
14950null byte into a string literal (via the hex/octal escape) causes
14951the string to be immediately terminated. A warning is issued.
14952
14953Fixed a problem where incorrect AML was generated for the case
14954where an ASL namepath consists of a single parent prefix (
14955
14956) with no trailing name segments.
14957
14958The compiler has been successfully generated with a 64-bit C
14959compiler.
14960
14961
14962
14963
14964----------------------------------------
14965Summary of changes for this label: 12_18_01
14966
149671) Linux
14968
14969Enhanced blacklist with reason and severity fields. Any table's
14970signature may now be used to identify a blacklisted system.
14971
14972Call _PIC control method to inform the firmware which interrupt
14973model the OS is using. Turn on any disabled link devices.
14974
14975Cleaned up busmgr /proc error handling (Andreas Dilger)
14976
14977 2) ACPI CA Core Subsystem:
14978
14979Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
14980while loop)
14981
14982Completed implementation of the ACPI 2.0 "Continue",
14983"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
14984operators. All new ACPI 2.0 operators are now implemented in both
14985the ASL compiler and the AML interpreter. The only remaining ACPI
149862.0 task is support for the String data type in the DerefOf
14987operator. Fixed a problem with AcquireMutex where the status code
14988was lost if the caller had to actually wait for the mutex.
14989
14990Increased the maximum ASL Field size from 64K bits to 4G bits.
14991
14992Completed implementation of the external Global Lock interfaces --
14993AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
14994Handler parameters were added.
14995
14996Completed another pass at removing warnings and issues when
14997compiling with 64-bit compilers. The code now compiles cleanly
14998with the Intel 64-bit C/C++ compiler. Most notably, the pointer
14999add and subtract (diff) macros have changed considerably.
15000
15001
15002Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1500364-bit platforms, 32-bits on all others. This type is used
15004wherever memory allocation and/or the C sizeof() operator is used,
15005and affects the OSL memory allocation interfaces AcpiOsAllocate
15006and AcpiOsCallocate.
15007
15008Implemented sticky user breakpoints in the AML debugger.
15009
15010Code and Data Size: Current core subsystem library sizes are shown
15011below. These are the code and data sizes for the acpica.lib
15012produced by the Microsoft Visual C++ 6.0 compiler, and these
15013values do not include any ACPI driver or OSPM code. The debug
15014version of the code includes the debug output trace mechanism and
15015has a larger code and data size. Note that these values will vary
15016depending on the efficiency of the compiler and the compiler
15017options used during generation.
15018
15019 Previous Release (12_05_01)
15020 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
15021 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
15022 Current Release:
15023 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
15024 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
15025
15026 3) ASL Compiler, version X2034:
15027
15028Now checks for (and generates an error if detected) the use of a
15029Break or Continue statement without an enclosing While statement.
15030
15031
15032Successfully generated the compiler with the Intel 64-bit C
15033compiler.
15034
15035 ----------------------------------------
15036Summary of changes for this label: 12_05_01
15037
15038 1) ACPI CA Core Subsystem:
15039
15040The ACPI 2.0 CopyObject operator is fully implemented. This
15041operator creates a new copy of an object (and is also used to
15042bypass the "implicit conversion" mechanism of the Store operator.)
15043
15044The ACPI 2.0 semantics for the SizeOf operator are fully
15045implemented. The change is that performing a SizeOf on a
15046reference object causes an automatic dereference of the object to
15047tha actual value before the size is evaluated. This behavior was
15048undefined in ACPI 1.0.
15049
15050The ACPI 2.0 semantics for the Extended IRQ resource descriptor
15051have been implemented. The interrupt polarity and mode are now
15052independently set.
15053
15054Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
15055appearing in Package objects were not properly converted to
15056integers when the internal Package was converted to an external
15057object (via the AcpiEvaluateObject interface.)
15058
15059Fixed a problem with the namespace object deletion mechanism for
15060objects created by control methods. There were two parts to this
15061problem: 1) Objects created during the initialization phase method
15062parse were not being deleted, and 2) The object owner ID mechanism
15063to track objects was broken.
15064
15065Fixed a problem where the use of the ASL Scope operator within a
15066control method would result in an invalid opcode exception.
15067
15068Fixed a problem introduced in the previous label where the buffer
15069length required for the _PRT structure was not being returned
15070correctly.
15071
15072Code and Data Size: Current core subsystem library sizes are shown
15073below. These are the code and data sizes for the acpica.lib
15074produced by the Microsoft Visual C++ 6.0 compiler, and these
15075values do not include any ACPI driver or OSPM code. The debug
15076version of the code includes the debug output trace mechanism and
15077has a larger code and data size. Note that these values will vary
15078depending on the efficiency of the compiler and the compiler
15079options used during generation.
15080
15081 Previous Release (11_20_01)
15082 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
15083 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
15084
15085 Current Release:
15086 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
15087 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
15088
15089 2) Linux:
15090
15091Updated all files to apply cleanly against 2.4.16.
15092
15093Added basic PCI Interrupt Routing Table (PRT) support for IA32
15094(acpi_pci.c), and unified the PRT code for IA32 and IA64. This
15095version supports both static and dyanmic PRT entries, but dynamic
15096entries are treated as if they were static (not yet
15097reconfigurable). Architecture- specific code to use this data is
15098absent on IA32 but should be available shortly.
15099
15100Changed the initialization sequence to start the ACPI interpreter
15101(acpi_init) prior to initialization of the PCI driver (pci_init)
15102in init/main.c. This ordering is required to support PRT and
15103facilitate other (future) enhancement. A side effect is that the
15104ACPI bus driver and certain device drivers can no longer be loaded
15105as modules.
15106
15107Modified the 'make menuconfig' options to allow PCI Interrupt
15108Routing support to be included without the ACPI Bus and other
15109device drivers.
15110
15111 3) ASL Compiler, version X2033:
15112
15113Fixed some issues with the use of the new CopyObject and
15114DataTableRegion operators. Both are fully functional.
15115
15116 ----------------------------------------
15117Summary of changes for this label: 11_20_01
15118
15119 20 November 2001. Summary of changes for this release.
15120
15121 1) ACPI CA Core Subsystem:
15122
15123Updated Index support to match ACPI 2.0 semantics. Storing a
15124Integer, String, or Buffer to an Index of a Buffer will store only
15125the least-significant byte of the source to the Indexed buffer
15126byte. Multiple writes are not performed.
15127
15128Fixed a problem where the access type used in an AccessAs ASL
15129operator was not recorded correctly into the field object.
15130
15131Fixed a problem where ASL Event objects were created in a
15132signalled state. Events are now created in an unsignalled state.
15133
15134The internal object cache is now purged after table loading and
15135initialization to reduce the use of dynamic kernel memory -- on
15136the assumption that object use is greatest during the parse phase
15137of the entire table (versus the run-time use of individual control
15138methods.)
15139
15140ACPI 2.0 variable-length packages are now fully operational.
15141
15142Code and Data Size: Code and Data optimizations have permitted new
15143feature development with an actual reduction in the library size.
15144Current core subsystem library sizes are shown below. These are
15145the code and data sizes for the acpica.lib produced by the
15146Microsoft Visual C++ 6.0 compiler, and these values do not include
15147any ACPI driver or OSPM code. The debug version of the code
15148includes the debug output trace mechanism and has a larger code
15149and data size. Note that these values will vary depending on the
15150efficiency of the compiler and the compiler options used during
15151generation.
15152
15153 Previous Release (11_09_01):
15154 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
15155 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
15156
15157 Current Release:
15158 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
15159 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
15160
15161 2) Linux:
15162
15163Enhanced the ACPI boot-time initialization code to allow the use
15164of Local APIC tables for processor enumeration on IA-32, and to
15165pave the way for a fully MPS-free boot (on SMP systems) in the
15166near future. This functionality replaces
15167arch/i386/kernel/acpitables.c, which was introduced in an earlier
151682.4.15-preX release. To enable this feature you must add
15169"acpi_boot=on" to the kernel command line -- see the help entry
15170for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
15171the works...
15172
15173Restructured the configuration options to allow boot-time table
15174parsing support without inclusion of the ACPI Interpreter (and
15175other) code.
15176
15177NOTE: This release does not include fixes for the reported events,
15178power-down, and thermal passive cooling issues (coming soon).
15179
15180 3) ASL Compiler:
15181
15182Added additional typechecking for Fields within restricted access
15183Operation Regions. All fields within EC and CMOS regions must be
15184declared with ByteAcc. All fields withing SMBus regions must be
15185declared with the BufferAcc access type.
15186
15187Fixed a problem where the listing file output of control methods
15188no longer interleaved the actual AML code with the ASL source
15189code.
15190
15191
15192
15193
15194----------------------------------------
15195Summary of changes for this label: 11_09_01
15196
151971) ACPI CA Core Subsystem:
15198
15199Implemented ACPI 2.0-defined support for writes to fields with a
15200Buffer, String, or Integer source operand that is smaller than the
15201target field. In these cases, the source operand is zero-extended
15202to fill the target field.
15203
15204Fixed a problem where a Field starting bit offset (within the
15205parent operation region) was calculated incorrectly if the
15206
15207alignment of the field differed from the access width. This
15208affected CreateWordField, CreateDwordField, CreateQwordField, and
15209possibly other fields that use the "AccessAny" keyword.
15210
15211Fixed a problem introduced in the 11_02_01 release where indirect
15212stores through method arguments did not operate correctly.
15213
152142) Linux:
15215
15216Implemented boot-time ACPI table parsing support
15217(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
15218facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
15219legacy BIOS interfaces (e.g. MPS) for the configuration of system
15220processors, memory, and interrupts during setup_arch(). Note that
15221this patch does not include the required architecture-specific
15222changes required to apply this information -- subsequent patches
15223will be posted for both IA32 and IA64 to achieve this.
15224
15225Added low-level sleep support for IA32 platforms, courtesy of Pat
15226Mochel. This allows IA32 systems to transition to/from various
15227sleeping states (e.g. S1, S3), although the lack of a centralized
15228driver model and power-manageable drivers will prevent its
15229(successful) use on most systems.
15230
15231Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
15232submenu, unified IA32 and IA64 options, added new "Boot using ACPI
15233tables" option, etc.
15234
15235Increased the default timeout for the EC driver from 1ms to 10ms
15236(1000 cycles of 10us) to try to address AE_TIME errors during EC
15237transactions.
15238
15239 ----------------------------------------
15240Summary of changes for this label: 11_02_01
15241
152421) ACPI CA Core Subsystem:
15243
15244ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
15245(QWordAcc keyword). All ACPI 2.0 64-bit support is now
15246implemented.
15247
15248OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
15249changes to support ACPI 2.0 Qword field access. Read/Write
15250PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
15251accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
15252the value parameter for the address space handler interface is now
15253an ACPI_INTEGER. OSL implementations of these interfaces must now
15254handle the case where the Width parameter is 64.
15255
15256Index Fields: Fixed a problem where unaligned bit assembly and
15257disassembly for IndexFields was not supported correctly.
15258
15259Index and Bank Fields: Nested Index and Bank Fields are now
15260supported. During field access, a check is performed to ensure
15261that the value written to an Index or Bank register is not out of
15262the range of the register. The Index (or Bank) register is
15263written before each access to the field data. Future support will
15264include allowing individual IndexFields to be wider than the
15265DataRegister width.
15266
15267Fields: Fixed a problem where the AML interpreter was incorrectly
15268attempting to write beyond the end of a Field/OpRegion. This was
15269a boundary case that occurred when a DWORD field was written to a
15270BYTE access OpRegion, forcing multiple writes and causing the
15271interpreter to write one datum too many.
15272
15273Fields: Fixed a problem with Field/OpRegion access where the
15274starting bit address of a field was incorrectly calculated if the
15275current access type was wider than a byte (WordAcc, DwordAcc, or
15276QwordAcc).
15277
15278Fields: Fixed a problem where forward references to individual
15279FieldUnits (individual Field names within a Field definition) were
15280not resolved during the AML table load.
15281
15282Fields: Fixed a problem where forward references from a Field
15283definition to the parent Operation Region definition were not
15284resolved during the AML table load.
15285
15286Fields: Duplicate FieldUnit names within a scope are now detected
15287during AML table load.
15288
15289Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
15290returned an incorrect name for the root node.
15291
15292Code and Data Size: Code and Data optimizations have permitted new
15293feature development with an actual reduction in the library size.
15294Current core subsystem library sizes are shown below. These are
15295the code and data sizes for the acpica.lib produced by the
15296Microsoft Visual C++ 6.0 compiler, and these values do not include
15297any ACPI driver or OSPM code. The debug version of the code
15298includes the debug output trace mechanism and has a larger code
15299and data size. Note that these values will vary depending on the
15300efficiency of the compiler and the compiler options used during
15301generation.
15302
15303 Previous Release (10_18_01):
15304 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
15305 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
15306
15307 Current Release:
15308 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
15309 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
15310
15311 2) Linux:
15312
15313Improved /proc processor output (Pavel Machek) Re-added
15314MODULE_LICENSE("GPL") to all modules.
15315
15316 3) ASL Compiler version X2030:
15317
15318Duplicate FieldUnit names within a scope are now detected and
15319flagged as errors.
15320
15321 4) Documentation:
15322
15323Programmer Reference updated to reflect OSL and address space
15324handler interface changes described above.
15325
15326----------------------------------------
15327Summary of changes for this label: 10_18_01
15328
15329ACPI CA Core Subsystem:
15330
15331Fixed a problem with the internal object reference count mechanism
15332that occasionally caused premature object deletion. This resolves
15333all of the outstanding problem reports where an object is deleted
15334in the middle of an interpreter evaluation. Although this problem
15335only showed up in rather obscure cases, the solution to the
15336problem involved an adjustment of all reference counts involving
15337objects attached to namespace nodes.
15338
15339Fixed a problem with Field support in the interpreter where
15340writing to an aligned field whose length is an exact multiple (2
15341or greater) of the field access granularity would cause an attempt
15342to write beyond the end of the field.
15343
15344The top level AML opcode execution functions within the
15345interpreter have been renamed with a more meaningful and
15346consistent naming convention. The modules exmonad.c and
15347exdyadic.c were eliminated. New modules are exoparg1.c,
15348exoparg2.c, exoparg3.c, and exoparg6.c.
15349
15350Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
15351
15352Fixed a problem where the AML debugger was causing some internal
15353objects to not be deleted during subsystem termination.
15354
15355Fixed a problem with the external AcpiEvaluateObject interface
15356where the subsystem would fault if the named object to be
15357evaluated refered to a constant such as Zero, Ones, etc.
15358
15359Fixed a problem with IndexFields and BankFields where the
15360subsystem would fault if the index, data, or bank registers were
15361not defined in the same scope as the field itself.
15362
15363Added printf format string checking for compilers that support
15364this feature. Corrected more than 50 instances of issues with
15365format specifiers within invocations of ACPI_DEBUG_PRINT
15366throughout the core subsystem code.
15367
15368The ASL "Revision" operator now returns the ACPI support level
15369implemented in the core - the value "2" since the ACPI 2.0 support
15370is more than 50% implemented.
15371
15372Enhanced the output of the AML debugger "dump namespace" command
15373to output in a more human-readable form.
15374
15375Current core subsystem library code sizes are shown below. These
15376
15377are the code and data sizes for the acpica.lib produced by the
15378Microsoft Visual C++ 6.0 compiler, and these values do not include
15379any ACPI driver or OSPM code. The debug version of the code
15380includes the full debug trace mechanism -- leading to a much
15381
15382larger code and data size. Note that these values will vary
15383depending on the efficiency of the compiler and the compiler
15384options used during generation.
15385
15386 Previous Label (09_20_01):
15387 Non-Debug Version: 65K Code, 5K Data, 70K Total
15388 Debug Version: 138K Code, 58K Data, 196K Total
15389
15390 This Label:
15391
15392 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
15393 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
15394
15395Linux:
15396
15397Implemented a "Bad BIOS Blacklist" to track machines that have
15398known ASL/AML problems.
15399
15400Enhanced the /proc interface for the thermal zone driver and added
15401support for _HOT (the critical suspend trip point). The 'info'
15402file now includes threshold/policy information, and allows setting
15403of _SCP (cooling preference) and _TZP (polling frequency) values
15404to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
15405frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
15406preference to the passive/quiet mode (if supported by the ASL).
15407
15408Implemented a workaround for a gcc bug that resuted in an OOPs
15409when loading the control method battery driver.
15410
15411 ----------------------------------------
15412Summary of changes for this label: 09_20_01
15413
15414 ACPI CA Core Subsystem:
15415
15416The AcpiEnableEvent and AcpiDisableEvent interfaces have been
15417modified to allow individual GPE levels to be flagged as wake-
15418enabled (i.e., these GPEs are to remain enabled when the platform
15419sleeps.)
15420
15421The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
15422support wake-enabled GPEs. This means that upon entering the
15423sleep state, all GPEs that are not wake-enabled are disabled.
15424When leaving the sleep state, these GPEs are reenabled.
15425
15426A local double-precision divide/modulo module has been added to
15427enhance portability to OS kernels where a 64-bit math library is
15428not available. The new module is "utmath.c".
15429
15430Several optimizations have been made to reduce the use of CPU
15431stack. Originally over 2K, the maximum stack usage is now below
154322K at 1860 bytes (1.82k)
15433
15434Fixed a problem with the AcpiGetFirmwareTable interface where the
15435root table pointer was not mapped into a logical address properly.
15436
15437Fixed a problem where a NULL pointer was being dereferenced in the
15438interpreter code for the ASL Notify operator.
15439
15440Fixed a problem where the use of the ASL Revision operator
15441returned an error. This operator now returns the current version
15442of the ACPI CA core subsystem.
15443
15444Fixed a problem where objects passed as control method parameters
15445to AcpiEvaluateObject were always deleted at method termination.
15446However, these objects may end up being stored into the namespace
15447by the called method. The object reference count mechanism was
15448applied to these objects instead of a force delete.
15449
15450Fixed a problem where static strings or buffers (contained in the
15451AML code) that are declared as package elements within the ASL
15452code could cause a fault because the interpreter would attempt to
15453delete them. These objects are now marked with the "static
15454object" flag to prevent any attempt to delete them.
15455
15456Implemented an interpreter optimization to use operands directly
15457from the state object instead of extracting the operands to local
15458variables. This reduces stack use and code size, and improves
15459performance.
15460
15461The module exxface.c was eliminated as it was an unnecessary extra
15462layer of code.
15463
15464Current core subsystem library code sizes are shown below. These
15465are the code and data sizes for the acpica.lib produced by the
15466Microsoft Visual C++ 6.0 compiler, and these values do not include
15467any ACPI driver or OSPM code. The debug version of the code
15468includes the full debug trace mechanism -- leading to a much
15469larger code and data size. Note that these values will vary
15470depending on the efficiency of the compiler and the compiler
15471options used during generation.
15472
15473 Non-Debug Version: 65K Code, 5K Data, 70K Total
15474(Previously 69K) Debug Version: 138K Code, 58K Data, 196K
15475Total (Previously 195K)
15476
15477Linux:
15478
15479Support for ACPI 2.0 64-bit integers has been added. All ACPI
15480Integer objects are now 64 bits wide
15481
15482All Acpi data types and structures are now in lower case. Only
15483Acpi macros are upper case for differentiation.
15484
15485 Documentation:
15486
15487Changes to the external interfaces as described above.
15488
15489 ----------------------------------------
15490Summary of changes for this label: 08_31_01
15491
15492 ACPI CA Core Subsystem:
15493
15494A bug with interpreter implementation of the ASL Divide operator
15495was found and fixed. The implicit function return value (not the
15496explicit store operands) was returning the remainder instead of
15497the quotient. This was a longstanding bug and it fixes several
15498known outstanding issues on various platforms.
15499
15500The ACPI_DEBUG_PRINT and function trace entry/exit macros have
15501been further optimized for size. There are 700 invocations of the
15502DEBUG_PRINT macro alone, so each optimization reduces the size of
15503the debug version of the subsystem significantly.
15504
15505A stack trace mechanism has been implemented. The maximum stack
15506usage is about 2K on 32-bit platforms. The debugger command "stat
15507stack" will display the current maximum stack usage.
15508
15509All public symbols and global variables within the subsystem are
15510now prefixed with the string "Acpi". This keeps all of the
15511symbols grouped together in a kernel map, and avoids conflicts
15512with other kernel subsystems.
15513
15514Most of the internal fixed lookup tables have been moved into the
15515code segment via the const operator.
15516
15517Several enhancements have been made to the interpreter to both
15518reduce the code size and improve performance.
15519
15520Current core subsystem library code sizes are shown below. These
15521are the code and data sizes for the acpica.lib produced by the
15522Microsoft Visual C++ 6.0 compiler, and these values do not include
15523any ACPI driver or OSPM code. The debug version of the code
15524includes the full debug trace mechanism which contains over 700
15525invocations of the DEBUG_PRINT macro, 500 function entry macro
15526invocations, and over 900 function exit macro invocations --
15527leading to a much larger code and data size. Note that these
15528values will vary depending on the efficiency of the compiler and
15529the compiler options used during generation.
15530
15531 Non-Debug Version: 64K Code, 5K Data, 69K Total
15532Debug Version: 137K Code, 58K Data, 195K Total
15533
15534 Linux:
15535
15536Implemented wbinvd() macro, pending a kernel-wide definition.
15537
15538Fixed /proc/acpi/event to handle poll() and short reads.
15539
15540 ASL Compiler, version X2026:
15541
15542Fixed a problem introduced in the previous label where the AML
15543
15544code emitted for package objects produced packages with zero
15545length.
15546
15547 ----------------------------------------
15548Summary of changes for this label: 08_16_01
15549
15550ACPI CA Core Subsystem:
15551
15552The following ACPI 2.0 ASL operators have been implemented in the
15553AML interpreter (These are already supported by the Intel ASL
15554compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
15555ToBuffer. Support for 64-bit AML constants is implemented in the
15556AML parser, debugger, and disassembler.
15557
15558The internal memory tracking mechanism (leak detection code) has
15559been upgraded to reduce the memory overhead (a separate tracking
15560block is no longer allocated for each memory allocation), and now
15561supports all of the internal object caches.
15562
15563The data structures and code for the internal object caches have
15564been coelesced and optimized so that there is a single cache and
15565memory list data structure and a single group of functions that
15566implement generic cache management. This has reduced the code
15567size in both the debug and release versions of the subsystem.
15568
15569The DEBUG_PRINT macro(s) have been optimized for size and replaced
15570by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
15571different, because it generates a single call to an internal
15572function. This results in a savings of about 90 bytes per
15573invocation, resulting in an overall code and data savings of about
1557416% in the debug version of the subsystem.
15575
15576 Linux:
15577
15578Fixed C3 disk corruption problems and re-enabled C3 on supporting
15579machines.
15580
15581Integrated low-level sleep code by Patrick Mochel.
15582
15583Further tweaked source code Linuxization.
15584
15585Other minor fixes.
15586
15587 ASL Compiler:
15588
15589Support for ACPI 2.0 variable length packages is fixed/completed.
15590
15591Fixed a problem where the optional length parameter for the ACPI
155922.0 ToString operator.
15593
15594Fixed multiple extraneous error messages when a syntax error is
15595detected within the declaration line of a control method.
15596
15597 ----------------------------------------
15598Summary of changes for this label: 07_17_01
15599
15600ACPI CA Core Subsystem:
15601
15602Added a new interface named AcpiGetFirmwareTable to obtain any
15603ACPI table via the ACPI signature. The interface can be called at
15604any time during kernel initialization, even before the kernel
15605virtual memory manager is initialized and paging is enabled. This
15606allows kernel subsystems to obtain ACPI tables very early, even
15607before the ACPI CA subsystem is initialized.
15608
15609Fixed a problem where Fields defined with the AnyAcc attribute
15610could be resolved to the incorrect address under the following
15611conditions: 1) the field width is larger than 8 bits and 2) the
15612parent operation region is not defined on a DWORD boundary.
15613
15614Fixed a problem where the interpreter is not being locked during
15615namespace initialization (during execution of the _INI control
15616methods), causing an error when an attempt is made to release it
15617later.
15618
15619ACPI 2.0 support in the AML Interpreter has begun and will be
15620ongoing throughout the rest of this year. In this label, The Mod
15621operator is implemented.
15622
15623Added a new data type to contain full PCI addresses named
15624ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
15625and Function values.
15626
15627 Linux:
15628
15629Enhanced the Linux version of the source code to change most
15630capitalized ACPI type names to lowercase. For example, all
15631instances of ACPI_STATUS are changed to acpi_status. This will
15632result in a large diff, but the change is strictly cosmetic and
15633aligns the CA code closer to the Linux coding standard.
15634
15635OSL Interfaces:
15636
15637The interfaces to the PCI configuration space have been changed to
15638add the PCI Segment number and to split the single 32-bit combined
15639DeviceFunction field into two 16-bit fields. This was
15640accomplished by moving the four values that define an address in
15641PCI configuration space (segment, bus, device, and function) to
15642the new ACPI_PCI_ID structure.
15643
15644The changes to the PCI configuration space interfaces led to a
15645reexamination of the complete set of address space access
15646interfaces for PCI, I/O, and Memory. The previously existing 18
15647interfaces have proven difficult to maintain (any small change
15648must be propagated across at least 6 interfaces) and do not easily
15649allow for future expansion to 64 bits if necessary. Also, on some
15650systems, it would not be appropriate to demultiplex the access
15651width (8, 16, 32,or 64) before calling the OSL if the
15652corresponding native OS interfaces contain a similar access width
15653parameter. For these reasons, the 18 address space interfaces
15654have been replaced by these 6 new ones:
15655
15656AcpiOsReadPciConfiguration
15657AcpiOsWritePciConfiguration
15658AcpiOsReadMemory
15659AcpiOsWriteMemory
15660AcpiOsReadPort
15661AcpiOsWritePort
15662
15663Added a new interface named AcpiOsGetRootPointer to allow the OSL
15664to perform the platform and/or OS-specific actions necessary to
15665obtain the ACPI RSDP table pointer. On IA-32 platforms, this
15666interface will simply call down to the CA core to perform the low-
15667memory search for the table. On IA-64, the RSDP is obtained from
15668EFI. Migrating this interface to the OSL allows the CA core to
15669
15670remain OS and platform independent.
15671
15672Added a new interface named AcpiOsSignal to provide a generic
15673"function code and pointer" interface for various miscellaneous
15674signals and notifications that must be made to the host OS. The
15675first such signals are intended to support the ASL Fatal and
15676Breakpoint operators. In the latter case, the AcpiOsBreakpoint
15677interface has been obsoleted.
15678
15679The definition of the AcpiFormatException interface has been
15680changed to simplify its use. The caller no longer must supply a
15681buffer to the call; A pointer to a const string is now returned
15682directly. This allows the call to be easily used in printf
15683statements, etc. since the caller does not have to manage a local
15684buffer.
15685
15686
15687 ASL Compiler, Version X2025:
15688
15689The ACPI 2.0 Switch/Case/Default operators have been implemented
15690and are fully functional. They will work with all ACPI 1.0
15691interpreters, since the operators are simply translated to If/Else
15692pairs.
15693
15694The ACPI 2.0 ElseIf operator is implemented and will also work
15695with 1.0 interpreters, for the same reason.
15696
15697Implemented support for ACPI 2.0 variable-length packages. These
15698packages have a separate opcode, and their size is determined by
15699the interpreter at run-time.
15700
15701Documentation The ACPI CA Programmer Reference has been updated to
15702reflect the new interfaces and changes to existing interfaces.
15703
15704 ------------------------------------------
15705Summary of changes for this label: 06_15_01
15706
15707 ACPI CA Core Subsystem:
15708
15709Fixed a problem where a DWORD-accessed field within a Buffer
15710object would get its byte address inadvertently rounded down to
15711the nearest DWORD. Buffers are always Byte-accessible.
15712
15713 ASL Compiler, version X2024:
15714
15715Fixed a problem where the Switch() operator would either fault or
15716hang the compiler. Note however, that the AML code for this ACPI
157172.0 operator is not yet implemented.
15718
15719Compiler uses the new AcpiOsGetTimer interface to obtain compile
15720timings.
15721
15722Implementation of the CreateField operator automatically converts
15723a reference to a named field within a resource descriptor from a
15724byte offset to a bit offset if required.
15725
15726Added some missing named fields from the resource descriptor
15727support. These are the names that are automatically created by the
15728compiler to reference fields within a descriptor. They are only
15729valid at compile time and are not passed through to the AML
15730interpreter.
15731
15732Resource descriptor named fields are now typed as Integers and
15733subject to compile-time typechecking when used in expressions.
15734
15735 ------------------------------------------
15736Summary of changes for this label: 05_18_01
15737
15738 ACPI CA Core Subsystem:
15739
15740Fixed a couple of problems in the Field support code where bits
15741from adjacent fields could be returned along with the proper field
15742bits. Restructured the field support code to improve performance,
15743readability and maintainability.
15744
15745New DEBUG_PRINTP macro automatically inserts the procedure name
15746into the output, saving hundreds of copies of procedure name
15747strings within the source, shrinking the memory footprint of the
15748debug version of the core subsystem.
15749
15750 Source Code Structure:
15751
15752The source code directory tree was restructured to reflect the
15753current organization of the component architecture. Some files
15754and directories have been moved and/or renamed.
15755
15756 Linux:
15757
15758Fixed leaking kacpidpc processes.
15759
15760Fixed queueing event data even when /proc/acpi/event is not
15761opened.
15762
15763 ASL Compiler, version X2020:
15764
15765Memory allocation performance enhancement - over 24X compile time
15766improvement on large ASL files. Parse nodes and namestring
15767buffers are now allocated from a large internal compiler buffer.
15768
15769The temporary .SRC file is deleted unless the "-s" option is
15770specified
15771
15772The "-d" debug output option now sends all output to the .DBG file
15773instead of the console.
15774
15775"External" second parameter is now optional
15776
15777"ElseIf" syntax now properly allows the predicate
15778
15779Last operand to "Load" now recognized as a Target operand
15780
15781Debug object can now be used anywhere as a normal object.
15782
15783ResourceTemplate now returns an object of type BUFFER
15784
15785EISAID now returns an object of type INTEGER
15786
15787"Index" now works with a STRING operand
15788
15789"LoadTable" now accepts optional parameters
15790
15791"ToString" length parameter is now optional
15792
15793"Interrupt (ResourceType," parse error fixed.
15794
15795"Register" with a user-defined region space parse error fixed
15796
15797Escaped backslash at the end of a string ("\\") scan/parse error
15798fixed
15799
15800"Revision" is now an object of type INTEGER.
15801
15802
15803
15804------------------------------------------
15805Summary of changes for this label: 05_02_01
15806
15807Linux:
15808
15809/proc/acpi/event now blocks properly.
15810
15811Removed /proc/sys/acpi. You can still dump your DSDT from
15812/proc/acpi/dsdt.
15813
15814 ACPI CA Core Subsystem:
15815
15816Fixed a problem introduced in the previous label where some of the
15817"small" resource descriptor types were not recognized.
15818
15819Improved error messages for the case where an ASL Field is outside
15820the range of the parent operation region.
15821
15822 ASL Compiler, version X2018:
15823
15824
15825Added error detection for ASL Fields that extend beyond the length
15826of the parent operation region (only if the length of the region
15827is known at compile time.) This includes fields that have a
15828minimum access width that is smaller than the parent region, and
15829individual field units that are partially or entirely beyond the
15830extent of the parent.
15831
15832
15833
15834------------------------------------------
15835Summary of changes for this label: 04_27_01
15836
15837 ACPI CA Core Subsystem:
15838
15839Fixed a problem where the namespace mutex could be released at the
15840wrong time during execution of AcpiRemoveAddressSpaceHandler.
15841
15842Added optional thread ID output for debug traces, to simplify
15843debugging of multiple threads. Added context switch notification
15844when the debug code realizes that a different thread is now
15845executing ACPI code.
15846
15847Some additional external data types have been prefixed with the
15848string "ACPI_" for consistency. This may effect existing code.
15849The data types affected are the external callback typedefs - e.g.,
15850
15851WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
15852
15853 Linux:
15854
15855Fixed an issue with the OSL semaphore implementation where a
15856thread was waking up with an error from receiving a SIGCHLD
15857signal.
15858
15859Linux version of ACPI CA now uses the system C library for string
15860manipulation routines instead of a local implementation.
15861
15862Cleaned up comments and removed TBDs.
15863
15864 ASL Compiler, version X2017:
15865
15866Enhanced error detection and reporting for all file I/O
15867operations.
15868
15869 Documentation:
15870
15871Programmer Reference updated to version 1.06.
15872
15873
15874
15875------------------------------------------
15876Summary of changes for this label: 04_13_01
15877
15878 ACPI CA Core Subsystem:
15879
15880Restructured support for BufferFields and RegionFields.
15881BankFields support is now fully operational. All known 32-bit
15882limitations on field sizes have been removed. Both BufferFields
15883and (Operation) RegionFields are now supported by the same field
15884management code.
15885
15886Resource support now supports QWORD address and IO resources. The
1588716/32/64 bit address structures and the Extended IRQ structure
15888have been changed to properly handle Source Resource strings.
15889
15890A ThreadId of -1 is now used to indicate a "mutex not acquired"
15891condition internally and must never be returned by AcpiOsThreadId.
15892This reserved value was changed from 0 since Unix systems allow a
15893thread ID of 0.
15894
15895Linux:
15896
15897Driver code reorganized to enhance portability
15898
15899Added a kernel configuration option to control ACPI_DEBUG
15900
15901Fixed the EC driver to honor _GLK.
15902
15903ASL Compiler, version X2016:
15904
15905Fixed support for the "FixedHw" keyword. Previously, the FixedHw
15906address space was set to 0, not 0x7f as it should be.
15907
15908 ------------------------------------------
15909Summary of changes for this label: 03_13_01
15910
15911 ACPI CA Core Subsystem:
15912
15913During ACPI initialization, the _SB_._INI method is now run if
15914present.
15915
15916Notify handler fix - notifies are deferred until the parent method
15917completes execution. This fixes the "mutex already acquired"
15918issue seen occasionally.
15919
15920Part of the "implicit conversion" rules in ACPI 2.0 have been
15921found to cause compatibility problems with existing ASL/AML. The
15922convert "result-to-target-type" implementation has been removed
15923for stores to method Args and Locals. Source operand conversion
15924is still fully implemented. Possible changes to ACPI 2.0
15925specification pending.
15926
15927Fix to AcpiRsCalculatePciRoutingTableLength to return correct
15928length.
15929
15930Fix for compiler warnings for 64-bit compiles.
15931
15932 Linux:
15933
15934/proc output aligned for easier parsing.
15935
15936Release-version compile problem fixed.
15937
15938New kernel configuration options documented in Configure.help.
15939
15940IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
15941context" message.
15942
15943 OSPM:
15944
15945Power resource driver integrated with bus manager.
15946
15947Fixed kernel fault during active cooling for thermal zones.
15948
15949Source Code:
15950
15951The source code tree has been restructured.
15952
15953
15954
15955------------------------------------------
15956Summary of changes for this label: 03_02_01
15957
15958 Linux OS Services Layer (OSL):
15959
15960Major revision of all Linux-specific code.
15961
15962Modularized all ACPI-specific drivers.
15963
15964Added new thermal zone and power resource drivers.
15965
15966Revamped /proc interface (new functionality is under /proc/acpi).
15967
15968New kernel configuration options.
15969
15970 Linux known issues:
15971
15972New kernel configuration options not documented in Configure.help
15973yet.
15974
15975
15976Module dependencies not currently implemented. If used, they
15977should be loaded in this order: busmgr, power, ec, system,
15978processor, battery, ac_adapter, button, thermal.
15979
15980Modules will not load if CONFIG_MODVERSION is set.
15981
15982IBM 600E - entering S5 may reboot instead of shutting down.
15983
15984IBM 600E - Sleep button may generate "Invalid <NULL> context"
15985message.
15986
15987Some systems may fail with "execution mutex already acquired"
15988message.
15989
15990 ACPI CA Core Subsystem:
15991
15992Added a new OSL Interface, AcpiOsGetThreadId. This was required
15993for the deadlock detection code. Defined to return a non-zero, 32-
15994bit thread ID for the currently executing thread. May be a non-
15995zero constant integer on single-thread systems.
15996
15997Implemented deadlock detection for internal subsystem mutexes. We
15998may add conditional compilation for this code (debug only) later.
15999
16000ASL/AML Mutex object semantics are now fully supported. This
16001includes multiple acquires/releases by owner and support for the
16002
16003Mutex SyncLevel parameter.
16004
16005A new "Force Release" mechanism automatically frees all ASL
16006Mutexes that have been acquired but not released when a thread
16007exits the interpreter. This forces conformance to the ACPI spec
16008("All mutexes must be released when an invocation exits") and
16009prevents deadlocked ASL threads. This mechanism can be expanded
16010(later) to monitor other resource acquisitions if OEM ASL code
16011continues to misbehave (which it will).
16012
16013Several new ACPI exception codes have been added for the Mutex
16014support.
16015
16016Recursive method calls are now allowed and supported (the ACPI
16017spec does in fact allow recursive method calls.) The number of
16018recursive calls is subject to the restrictions imposed by the
16019SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
16020parameter.
16021
16022Implemented support for the SyncLevel parameter for control
16023methods (ACPI 2.0 feature)
16024
16025Fixed a deadlock problem when multiple threads attempted to use
16026the interpreter.
16027
16028Fixed a problem where the string length of a String package
16029element was not always set in a package returned from
16030AcpiEvaluateObject.
16031
16032Fixed a problem where the length of a String package element was
16033not always included in the length of the overall package returned
16034from AcpiEvaluateObject.
16035
16036Added external interfaces (Acpi*) to the ACPI debug memory
16037manager. This manager keeps a list of all outstanding
16038allocations, and can therefore detect memory leaks and attempts to
16039free memory blocks more than once. Useful for code such as the
16040power manager, etc. May not be appropriate for device drivers.
16041Performance with the debug code enabled is slow.
16042
16043The ACPI Global Lock is now an optional hardware element.
16044
16045 ASL Compiler Version X2015:
16046
16047Integrated changes to allow the compiler to be generated on
16048multiple platforms.
16049
16050Linux makefile added to generate the compiler on Linux
16051
16052 Source Code:
16053
16054All platform-specific headers have been moved to their own
16055subdirectory, Include/Platform.
16056
16057New source file added, Interpreter/ammutex.c
16058
16059New header file, Include/acstruct.h
16060
16061 Documentation:
16062
16063The programmer reference has been updated for the following new
16064interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
16065
16066 ------------------------------------------
16067Summary of changes for this label: 02_08_01
16068
16069Core ACPI CA Subsystem: Fixed a problem where an error was
16070incorrectly returned if the return resource buffer was larger than
16071the actual data (in the resource interfaces).
16072
16073References to named objects within packages are resolved to the
16074
16075full pathname string before packages are returned directly (via
16076the AcpiEvaluateObject interface) or indirectly via the resource
16077interfaces.
16078
16079Linux OS Services Layer (OSL):
16080
16081Improved /proc battery interface.
16082
16083
16084Added C-state debugging output and other miscellaneous fixes.
16085
16086ASL Compiler Version X2014:
16087
16088All defined method arguments can now be used as local variables,
16089including the ones that are not actually passed in as parameters.
16090The compiler tracks initialization of the arguments and issues an
16091exception if they are used without prior assignment (just like
16092locals).
16093
16094The -o option now specifies a filename prefix that is used for all
16095output files, including the AML output file. Otherwise, the
16096default behavior is as follows: 1) the AML goes to the file
16097specified in the DSDT. 2) all other output files use the input
16098source filename as the base.
16099
16100 ------------------------------------------
16101Summary of changes for this label: 01_25_01
16102
16103Core ACPI CA Subsystem: Restructured the implementation of object
16104store support within the interpreter. This includes support for
16105the Store operator as well as any ASL operators that include a
16106target operand.
16107
16108Partially implemented support for Implicit Result-to-Target
16109conversion. This is when a result object is converted on the fly
16110to the type of an existing target object. Completion of this
16111support is pending further analysis of the ACPI specification
16112concerning this matter.
16113
16114CPU-specific code has been removed from the subsystem (hardware
16115directory).
16116
16117New Power Management Timer functions added
16118
16119Linux OS Services Layer (OSL): Moved system state transition code
16120to the core, fixed it, and modified Linux OSL accordingly.
16121
16122Fixed C2 and C3 latency calculations.
16123
16124
16125We no longer use the compilation date for the version message on
16126initialization, but retrieve the version from AcpiGetSystemInfo().
16127
16128Incorporated for fix Sony VAIO machines.
16129
16130Documentation: The Programmer Reference has been updated and
16131reformatted.
16132
16133
16134ASL Compiler: Version X2013: Fixed a problem where the line
16135numbering and error reporting could get out of sync in the
16136presence of multiple include files.
16137
16138 ------------------------------------------
16139Summary of changes for this label: 01_15_01
16140
16141Core ACPI CA Subsystem:
16142
16143Implemented support for type conversions in the execution of the
16144ASL Concatenate operator (The second operand is converted to
16145match the type of the first operand before concatenation.)
16146
16147Support for implicit source operand conversion is partially
16148implemented. The ASL source operand types Integer, Buffer, and
16149String are freely interchangeable for most ASL operators and are
16150converted by the interpreter on the fly as required. Implicit
16151Target operand conversion (where the result is converted to the
16152target type before storing) is not yet implemented.
16153
16154Support for 32-bit and 64-bit BCD integers is implemented.
16155
16156Problem fixed where a field read on an aligned field could cause a
16157read past the end of the field.
16158
16159New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
16160does not return a value, but the caller expects one. (The ASL
16161compiler flags this as a warning.)
16162
16163ASL Compiler:
16164
16165Version X2011:
161661. Static typechecking of all operands is implemented. This
16167prevents the use of invalid objects (such as using a Package where
16168an Integer is required) at compile time instead of at interpreter
16169run-time.
161702. The ASL source line is printed with ALL errors and warnings.
161713. Bug fix for source EOF without final linefeed.
161724. Debug option is split into a parse trace and a namespace trace.
161735. Namespace output option (-n) includes initial values for
16174integers and strings.
161756. Parse-only option added for quick syntax checking.
161767. Compiler checks for duplicate ACPI name declarations
16177
16178Version X2012:
161791. Relaxed typechecking to allow interchangeability between
16180strings, integers, and buffers. These types are now converted by
16181the interpreter at runtime.
161822. Compiler reports time taken by each internal subsystem in the
16183debug output file.
16184
16185
16186 ------------------------------------------
16187Summary of changes for this label: 12_14_00
16188
16189ASL Compiler:
16190
16191This is the first official release of the compiler. Since the
16192compiler requires elements of the Core Subsystem, this label
16193synchronizes everything.
16194
16195------------------------------------------
16196Summary of changes for this label: 12_08_00
16197
16198
16199Fixed a problem where named references within the ASL definition
16200of both OperationRegions and CreateXXXFields did not work
16201properly. The symptom was an AE_AML_OPERAND_TYPE during
16202initialization of the region/field. This is similar (but not
16203related internally) to the problem that was fixed in the last
16204label.
16205
16206Implemented both 32-bit and 64-bit support for the BCD ASL
16207functions ToBCD and FromBCD.
16208
16209Updated all legal headers to include "2000" in the copyright
16210years.
16211
16212 ------------------------------------------
16213Summary of changes for this label: 12_01_00
16214
16215Fixed a problem where method invocations within the ASL definition
16216of both OperationRegions and CreateXXXFields did not work
16217properly. The symptom was an AE_AML_OPERAND_TYPE during
16218initialization of the region/field:
16219
16220 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
16221[DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
16222(0x3005)
16223
16224Fixed a problem where operators with more than one nested
16225subexpression would fail. The symptoms were varied, by mostly
16226AE_AML_OPERAND_TYPE errors. This was actually a rather serious
16227problem that has gone unnoticed until now.
16228
16229 Subtract (Add (1,2), Multiply (3,4))
16230
16231Fixed a problem where AcpiGetHandle didn't quite get fixed in the
16232previous build (The prefix part of a relative path was handled
16233incorrectly).
16234
16235Fixed a problem where Operation Region initialization failed if
16236the operation region name was a "namepath" instead of a simple
16237"nameseg". Symptom was an AE_NO_OPERAND error.
16238
16239Fixed a problem where an assignment to a local variable via the
16240indirect RefOf mechanism only worked for the first such
16241assignment. Subsequent assignments were ignored.
16242
16243 ------------------------------------------
16244Summary of changes for this label: 11_15_00
16245
16246ACPI 2.0 table support with backwards support for ACPI 1.0 and the
162470.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
16248the AML interpreter does NOT have support for the new 2.0 ASL
16249grammar terms at this time.
16250
16251All ACPI hardware access is via the GAS structures in the ACPI 2.0
16252FADT.
16253
16254All physical memory addresses across all platforms are now 64 bits
16255wide. Logical address width remains dependent on the platform
16256(i.e., "void *").
16257
16258AcpiOsMapMemory interface changed to a 64-bit physical address.
16259
16260The AML interpreter integer size is now 64 bits, as per the ACPI
162612.0 specification.
16262
16263For backwards compatibility with ACPI 1.0, ACPI tables with a
16264revision number less than 2 use 32-bit integers only.
16265
16266Fixed a problem where the evaluation of OpRegion operands did not
16267always resolve them to numbers properly.
16268
16269------------------------------------------
16270Summary of changes for this label: 10_20_00
16271
16272Fix for CBN_._STA issue. This fix will allow correct access to
16273CBN_ OpRegions when the _STA returns 0x8.
16274
16275Support to convert ACPI constants (Ones, Zeros, One) to actual
16276values before a package object is returned
16277
16278Fix for method call as predicate to if/while construct causing
16279incorrect if/while behavior
16280
16281Fix for Else block package lengths sometimes calculated wrong (if
16282block > 63 bytes)
16283
16284Fix for Processor object length field, was always zero
16285
16286Table load abort if FACP sanity check fails
16287
16288Fix for problem with Scope(name) if name already exists
16289
16290Warning emitted if a named object referenced cannot be found
16291(resolved) during method execution.
16292
16293
16294
16295
16296
16297------------------------------------------
16298Summary of changes for this label: 9_29_00
16299
16300New table initialization interfaces: AcpiInitializeSubsystem no
16301longer has any parameters AcpiFindRootPointer - Find the RSDP (if
16302necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
16303>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
16304AcpiLoadTables
16305
16306Note: These interface changes require changes to all existing OSDs
16307
16308The PCI_Config default address space handler is always installed
16309at the root namespace object.
16310
16311-------------------------------------------
16312Summary of changes for this label: 09_15_00
16313
16314The new initialization architecture is implemented. New
16315interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
16316AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
16317
16318(Namespace is automatically loaded when a table is loaded)
16319
16320The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1632152 bytes to 32 bytes. There is usually one of these for every
16322namespace object, so the memory savings is significant.
16323
16324Implemented just-in-time evaluation of the CreateField operators.
16325
16326Bug fixes for IA-64 support have been integrated.
16327
16328Additional code review comments have been implemented
16329
16330The so-called "third pass parse" has been replaced by a final walk
16331through the namespace to initialize all operation regions (address
16332spaces) and fields that have not yet been initialized during the
16333execution of the various _INI and REG methods.
16334
16335New file - namespace/nsinit.c
16336
16337-------------------------------------------
16338Summary of changes for this label: 09_01_00
16339
16340Namespace manager data structures have been reworked to change the
16341primary object from a table to a single object. This has
16342resulted in dynamic memory savings of 3X within the namespace and
163432X overall in the ACPI CA subsystem.
16344
16345Fixed problem where the call to AcpiEvFindPciRootBuses was
16346inadvertently left commented out.
16347
16348Reduced the warning count when generating the source with the GCC
16349compiler.
16350
16351Revision numbers added to each module header showing the
16352SourceSafe version of the file. Please refer to this version
16353number when giving us feedback or comments on individual modules.
16354
16355The main object types within the subsystem have been renamed to
16356clarify their purpose:
16357
16358ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
16359ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
16360ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
16361
16362NOTE: no changes to the initialization sequence are included in
16363this label.
16364
16365-------------------------------------------
16366Summary of changes for this label: 08_23_00
16367
16368Fixed problem where TerminateControlMethod was being called
16369multiple times per method
16370
16371Fixed debugger problem where single stepping caused a semaphore to
16372be oversignalled
16373
16374Improved performance through additional parse object caching -
16375added ACPI_EXTENDED_OP type
16376
16377-------------------------------------------
16378Summary of changes for this label: 08_10_00
16379
16380Parser/Interpreter integration: Eliminated the creation of
16381complete parse trees for ACPI tables and control methods.
16382Instead, parse subtrees are created and then deleted as soon as
16383they are processed (Either entered into the namespace or executed
16384by the interpreter). This reduces the use of dynamic kernel
16385memory significantly. (about 10X)
16386
16387Exception codes broken into classes and renumbered. Be sure to
16388recompile all code that includes acexcep.h. Hopefully we won't
16389have to renumber the codes again now that they are split into
16390classes (environment, programmer, AML code, ACPI table, and
16391internal).
16392
16393Fixed some additional alignment issues in the Resource Manager
16394subcomponent
16395
16396Implemented semaphore tracking in the AcpiExec utility, and fixed
16397several places where mutexes/semaphores were being unlocked
16398without a corresponding lock operation. There are no known
16399semaphore or mutex "leaks" at this time.
16400
16401Fixed the case where an ASL Return operator is used to return an
16402unnamed package.
16403
16404-------------------------------------------
16405Summary of changes for this label: 07_28_00
16406
16407Fixed a problem with the way addresses were calculated in
16408AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
16409manifested itself when a Field was created with WordAccess or
16410DwordAccess, but the field unit defined within the Field was less
16411
16412than a Word or Dword.
16413
16414Fixed a problem in AmlDumpOperands() module's loop to pull
16415operands off of the operand stack to display information. The
16416problem manifested itself as a TLB error on 64-bit systems when
16417accessing an operand stack with two or more operands.
16418
16419Fixed a problem with the PCI configuration space handlers where
16420context was getting confused between accesses. This required a
16421change to the generic address space handler and address space
16422setup definitions. Handlers now get both a global handler context
16423(this is the one passed in by the user when executing
16424AcpiInstallAddressSpaceHandler() and a specific region context
16425that is unique to each region (For example, the _ADR, _SEG and
16426_BBN values associated with a specific region). The generic
16427function definitions have changed to the following:
16428
16429typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
16430UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
16431*HandlerContext, // This used to be void *Context void
16432*RegionContext); // This is an additional parameter
16433
16434typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
16435RegionHandle, UINT32 Function, void *HandlerContext, void
16436**RegionContext); // This used to be **ReturnContext
16437
16438-------------------------------------------
16439Summary of changes for this label: 07_21_00
16440
16441Major file consolidation and rename. All files within the
16442interpreter have been renamed as well as most header files. This
16443was done to prevent collisions with existing files in the host
16444OSs -- filenames such as "config.h" and "global.h" seem to be
16445quite common. The VC project files have been updated. All
16446makefiles will require modification.
16447
16448The parser/interpreter integration continues in Phase 5 with the
16449implementation of a complete 2-pass parse (the AML is parsed
16450twice) for each table; This avoids the construction of a huge
16451parse tree and therefore reduces the amount of dynamic memory
16452required by the subsystem. Greater use of the parse object cache
16453means that performance is unaffected.
16454
16455Many comments from the two code reviews have been rolled in.
16456
16457The 64-bit alignment support is complete.
16458
16459-------------------------------------------
16460Summary of changes for this label: 06_30_00
16461
16462With a nod and a tip of the hat to the technology of yesteryear,
16463we've added support in the source code for 80 column output
16464devices. The code is now mostly constrained to 80 columns or
16465less to support environments and editors that 1) cannot display
16466or print more than 80 characters on a single line, and 2) cannot
16467disable line wrapping.
16468
16469A major restructuring of the namespace data structure has been
16470completed. The result is 1) cleaner and more
16471understandable/maintainable code, and 2) a significant reduction
16472in the dynamic memory requirement for each named ACPI object
16473(almost half).
16474
16475-------------------------------------------
16476Summary of changes for this label: 06_23_00
16477
16478Linux support has been added. In order to obtain approval to get
16479the ACPI CA subsystem into the Linux kernel, we've had to make
16480quite a few changes to the base subsystem that will affect all
16481users (all the changes are generic and OS- independent). The
16482effects of these global changes have been somewhat far reaching.
16483Files have been merged and/or renamed and interfaces have been
16484renamed. The major changes are described below.
16485
16486Osd* interfaces renamed to AcpiOs* to eliminate namespace
16487pollution/confusion within our target kernels. All OSD
16488interfaces must be modified to match the new naming convention.
16489
16490Files merged across the subsystem. A number of the smaller source
16491and header files have been merged to reduce the file count and
16492increase the density of the existing files. There are too many
16493to list here. In general, makefiles that call out individual
16494files will require rebuilding.
16495
16496Interpreter files renamed. All interpreter files now have the
16497prefix am* instead of ie* and is*.
16498
16499Header files renamed: The acapi.h file is now acpixf.h. The
16500acpiosd.h file is now acpiosxf.h. We are removing references to
16501the acronym "API" since it is somewhat windowsy. The new name is
16502"external interface" or xface or xf in the filenames.j
16503
16504
16505All manifest constants have been forced to upper case (some were
16506mixed case.) Also, the string "ACPI_" has been prepended to many
16507(not all) of the constants, typedefs, and structs.
16508
16509The globals "DebugLevel" and "DebugLayer" have been renamed
16510"AcpiDbgLevel" and "AcpiDbgLayer" respectively.
16511
16512All other globals within the subsystem are now prefixed with
16513"AcpiGbl_" Internal procedures within the subsystem are now
16514prefixed with "Acpi" (with only a few exceptions). The original
16515two-letter abbreviation for the subcomponent remains after "Acpi"
16516- for example, CmCallocate became AcpiCmCallocate.
16517
16518Added a source code translation/conversion utility. Used to
16519generate the Linux source code, it can be modified to generate
16520other types of source as well. Can also be used to cleanup
16521existing source by removing extraneous spaces and blank lines.
16522Found in tools/acpisrc/*
16523
16524OsdUnMapMemory was renamed to OsdUnmapMemory and then
16525AcpiOsUnmapMemory. (UnMap became Unmap).
16526
16527A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
16528When set to one, this indicates that the caller wants to use the
16529
16530semaphore as a mutex, not a counting semaphore. ACPI CA uses
16531both types. However, implementers of this call may want to use
16532different OS primitives depending on the type of semaphore
16533requested. For example, some operating systems provide separate
16534
16535"mutex" and "semaphore" interfaces - where the mutex interface is
16536much faster because it doesn't have all the overhead of a full
16537semaphore implementation.
16538
16539Fixed a deadlock problem where a method that accesses the PCI
16540address space can block forever if it is the first access to the
16541space.
16542
16543-------------------------------------------
16544Summary of changes for this label: 06_02_00
16545
16546Support for environments that cannot handle unaligned data
16547accesses (e.g. firmware and OS environments devoid of alignment
16548handler technology namely SAL/EFI and the IA-64 Linux kernel) has
16549been added (via configurable macros) in these three areas: -
16550Transfer of data from the raw AML byte stream is done via byte
16551moves instead of word/dword/qword moves. - External objects are
16552aligned within the user buffer, including package elements (sub-
16553objects). - Conversion of name strings to UINT32 Acpi Names is now
16554done byte-wise.
16555
16556The Store operator was modified to mimic Microsoft's
16557implementation when storing to a Buffer Field.
16558
16559Added a check of the BM_STS bit before entering C3.
16560
16561The methods subdirectory has been obsoleted and removed. A new
16562file, cmeval.c subsumes the functionality.
16563
16564A 16-bit (DOS) version of AcpiExec has been developed. The
16565makefile is under the acpiexec directory.