xref: /freebsd/sys/contrib/dev/acpica/changes.txt (revision 74036c4de983981ee2b23f91e285363293aa7c3c)
1----------------------------------------
217 May 2013. Summary of changes for version 20130517:
3
41) ACPICA kernel-resident subsystem:
5
6Fixed a regression introduced in version 20130328 for _INI methods. This
7change fixes a problem introduced in 20130328 where _INI methods are no
8longer executed properly because of a memory block that was not
9initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
10<tomasz.nowicki@linaro.org>.
11
12Fixed a possible problem with the new extended sleep registers in the ACPI
135.0 FADT. Do not use these registers (even if populated) unless the HW-
14reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
151020. Lv Zheng.
16
17Implemented return value repair code for _CST predefined objects: Sort the
18list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
19
20Implemented a debug-only option to disable loading of SSDTs from the
21RSDT/XSDT during ACPICA initialization. This can be useful for debugging
22ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
23acglobal.h - ACPICA BZ 1005. Lv Zheng.
24
25Fixed some issues in the ACPICA initialization and termination code:
26Tomasz Nowicki <tomasz.nowicki@linaro.org>
271) Clear events initialized flag upon event component termination. ACPICA
28BZ 1013.
292) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
303) Delete global lock pending lock during termination. ACPICA BZ 1012.
314) Clear debug buffer global on termination to prevent possible multiple
32delete. ACPICA BZ 1010.
33
34Standardized all switch() blocks across the entire source base. After many
35years, different formatting for switch() had crept in. This change makes
36the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
37
38Split some files to enhance ACPICA modularity and configurability:
391) Split buffer dump routines into utilities/utbuffer.c
402) Split internal error message routines into utilities/uterror.c
413) Split table print utilities into tables/tbprint.c
424) Split iASL command-line option processing into asloptions.c
43
44Makefile enhancements:
451) Support for all new files above.
462) Abort make on errors from any subcomponent. Chao Guan.
473) Add build support for Apple Mac OS X. Liang Qi.
48
49Example Code and Data Size: These are the sizes for the OS-independent
50acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
51debug version of the code includes the debug output trace mechanism and
52has a much larger code and data size.
53
54  Current Release:
55    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
56    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
57  Previous Release:
58    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
59    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
60
61
622) iASL Compiler/Disassembler and Tools:
63
64New utility: Implemented an easily portable version of the acpidump
65utility to extract ACPI tables from the system (or a file) in an ASCII hex
66dump format. The top-level code implements the various command line
67options, file I/O, and table dump routines. To port to a new host, only
68three functions need to be implemented to get tables -- since this
69functionality is OS-dependent. See the tools/acpidump/apmain.c module and
70the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
711) The Windows version obtains the ACPI tables from the Registry.
722) The Linux version is under development.
733) Other hosts - If an OS-dependent module is submitted, it will be
74distributed with ACPICA.
75
76iASL: Fixed a regression for -D preprocessor option (define symbol). A
77restructuring/change to the initialization sequence caused this option to
78no longer work properly.
79
80iASL: Implemented a mechanism to disable specific warnings and remarks.
81Adds a new command line option, "-vw <messageid> as well as "#pragma
82disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
83
84iASL: Fix for too-strict package object validation. The package object
85validation for return values from the predefined names is a bit too
86strict, it does not allow names references within the package (which will
87be resolved at runtime.) These types of references cannot be validated at
88compile time. This change ignores named references within package objects
89for names that return or define static packages.
90
91Debugger: Fixed the 80-character command line limitation for the History
92command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
93
94iASL: Added control method and package support for the -so option
95(generates AML offset table for BIOS support.)
96
97iASL: issue a remark if a non-serialized method creates named objects. If
98a thread blocks within the method for any reason, and another thread
99enters the method, the method will fail because an attempt will be made to
100create the same (named) object twice. In this case, issue a remark that
101the method should be marked serialized. NOTE: may become a warning later.
102ACPICA BZ 909.
103
104----------------------------------------
10518 April 2013. Summary of changes for version 20130418:
106
1071) ACPICA kernel-resident subsystem:
108
109Fixed a possible buffer overrun during some rare but specific field unit
110read operations. This overrun can only happen if the DSDT version is 1 --
111meaning that all AML integers are 32 bits -- and the field length is
112between 33 and 55 bits long. During the read, an internal buffer object is
113created for the field unit because the field is larger than an integer (32
114bits). However, in this case, the buffer will be incorrectly written
115beyond the end because the buffer length is less than the internal minimum
116of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
117long, but a full 8 bytes will be written.
118
119Updated the Embedded Controller "orphan" _REG method support. This refers
120to _REG methods under the EC device that have no corresponding operation
121region. This is allowed by the ACPI specification. This update removes a
122dependency on the existence an ECDT table. It will execute an orphan _REG
123method as long as the operation region handler for the EC is installed at
124the EC device node and not the namespace root. Rui Zhang (original
125update), Bob Moore (update/integrate).
126
127Implemented run-time argument typechecking for all predefined ACPI names
128(_STA, _BIF, etc.) This change performs object typechecking on all
129incoming arguments for all predefined names executed via
130AcpiEvaluateObject. This ensures that ACPI-related device drivers are
131passing correct object types as well as the correct number of arguments
132(therefore identifying any issues immediately). Also, the ASL/namespace
133definition of the predefined name is checked against the ACPI
134specification for the proper argument count. Adds one new file,
135nsarguments.c
136
137Changed an exception code for the ASL UnLoad() operator. Changed the
138exception code for the case where the input DdbHandle is invalid, from
139AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
140
141Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
142global makefile. The use of this flag causes compiler errors on earlier
143versions of GCC, so it has been removed for compatibility.
144
145Miscellaneous cleanup:
1461) Removed some unused/obsolete macros
1472) Fixed a possible memory leak in the _OSI support
1483) Removed an unused variable in the predefined name support
1494) Windows OSL: remove obsolete reference to a memory list field
150
151Example Code and Data Size: These are the sizes for the OS-independent
152acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
153debug version of the code includes the debug output trace mechanism and
154has a much larger code and data size.
155
156  Current Release:
157    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
158    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
159  Previous Release:
160    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
161    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
162
163
1642) iASL Compiler/Disassembler and Tools:
165
166AcpiExec: Added installation of a handler for the SystemCMOS address
167space. This prevents control method abort if a method accesses this space.
168
169AcpiExec: Added support for multiple EC devices, and now install EC
170operation region handler(s) at the actual EC device instead of the
171namespace root. This reflects the typical behavior of host operating
172systems.
173
174AcpiExec: Updated to ensure that all operation region handlers are
175installed before the _REG methods are executed. This prevents a _REG
176method from aborting if it accesses an address space has no handler.
177AcpiExec installs a handler for every possible address space.
178
179Debugger: Enhanced the "handlers" command to display non-root handlers.
180This change enhances the handlers command to display handlers associated
181with individual devices throughout the namespace, in addition to the
182currently supported display of handlers associated with the root namespace
183node.
184
185ASL Test Suite: Several test suite errors have been identified and
186resolved, reducing the total error count during execution. Chao Guan.
187
188----------------------------------------
18928 March 2013. Summary of changes for version 20130328:
190
1911) ACPICA kernel-resident subsystem:
192
193Fixed several possible race conditions with the internal object reference
194counting mechanism. Some of the external ACPICA interfaces update object
195reference counts without holding the interpreter or namespace lock. This
196change adds a spinlock to protect reference count updates on the internal
197ACPICA objects. Reported by and with assistance from Andriy Gapon
198(avg@FreeBSD.org).
199
200FADT support: Removed an extraneous warning for very large GPE register
201sets. This change removes a size mismatch warning if the legacy length
202field for a GPE register set is larger than the 64-bit GAS structure can
203accommodate. GPE register sets can be larger than the 255-bit width
204limitation of the GAS structure. Linn Crosetto (linn@hp.com).
205
206_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
207return from this interface. Handles a possible timeout case if
208ACPI_WAIT_FOREVER is modified by the host to be a value less than
209"forever". Jung-uk Kim.
210
211Predefined name support: Add allowed/required argument type information to
212the master predefined info table. This change adds the infrastructure to
213enable typechecking on incoming arguments for all predefined
214methods/objects. It does not actually contain the code that will fully
215utilize this information, this is still under development. Also condenses
216some duplicate code for the predefined names into a new module,
217utilities/utpredef.c
218
219Example Code and Data Size: These are the sizes for the OS-independent
220acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
221debug version of the code includes the debug output trace mechanism and
222has a much larger code and data size.
223
224  Previous Release:
225    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
226    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
227  Current Release:
228    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
229    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
230
231
2322) iASL Compiler/Disassembler and Tools:
233
234iASL: Implemented a new option to simplify the development of ACPI-related
235BIOS code. Adds support for a new "offset table" output file. The -so
236option will create a C table containing the AML table offsets of various
237named objects in the namespace so that BIOS code can modify them easily at
238boot time. This can simplify BIOS runtime code by eliminating expensive
239searches for "magic values", enhancing boot times and adding greater
240reliability. With assistance from Lee Hamel.
241
242iASL: Allow additional predefined names to return zero-length packages.
243Now, all predefined names that are defined by the ACPI specification to
244return a "variable-length package of packages" are allowed to return a
245zero length top-level package. This allows the BIOS to tell the host that
246the requested feature is not supported, and supports existing BIOS/ASL
247code and practices.
248
249iASL: Changed the "result not used" warning to an error. This is the case
250where an ASL operator is effectively a NOOP because the result of the
251operation is not stored anywhere. For example:
252    Add (4, Local0)
253There is no target (missing 3rd argument), nor is the function return
254value used. This is potentially a very serious problem -- since the code
255was probably intended to do something, but for whatever reason, the value
256was not stored. Therefore, this issue has been upgraded from a warning to
257an error.
258
259AcpiHelp: Added allowable/required argument types to the predefined names
260info display. This feature utilizes the recent update to the predefined
261names table (above).
262
263----------------------------------------
26414 February 2013. Summary of changes for version 20130214:
265
2661) ACPICA Kernel-resident Subsystem:
267
268Fixed a possible regression on some hosts: Reinstated the safe return
269macros (return_ACPI_STATUS, etc.) that ensure that the argument is
270evaluated only once. Although these macros are not needed for the ACPICA
271code itself, they are often used by ACPI-related host device drivers where
272the safe feature may be necessary.
273
274Fixed several issues related to the ACPI 5.0 reduced hardware support
275(SOC): Now ensure that if the platform declares itself as hardware-reduced
276via the FADT, the following functions become NOOPs (and always return
277AE_OK) because ACPI is always enabled by definition on these machines:
278  AcpiEnable
279  AcpiDisable
280  AcpiHwGetMode
281  AcpiHwSetMode
282
283Dynamic Object Repair: Implemented additional runtime repairs for
284predefined name return values. Both of these repairs can simplify code in
285the related device drivers that invoke these methods:
2861) For the _STR and _MLS names, automatically repair/convert an ASCII
287string to a Unicode buffer.
2882) For the _CRS, _PRS, and _DMA names, return a resource descriptor with a
289lone end tag descriptor in the following cases: A Return(0) was executed,
290a null buffer was returned, or no object at all was returned (non-slack
291mode only). Adds a new file, nsconvert.c
292ACPICA BZ 998. Bob Moore, Lv Zheng.
293
294Resource Manager: Added additional code to prevent possible infinite loops
295while traversing corrupted or ill-formed resource template buffers. Check
296for zero-length resource descriptors in all code that loops through
297resource templates (the length field is used to index through the
298template). This change also hardens the external AcpiWalkResources and
299AcpiWalkResourceBuffer interfaces.
300
301Local Cache Manager: Enhanced the main data structure to eliminate an
302unnecessary mechanism to access the next object in the list. Actually
303provides a small performance enhancement for hosts that use the local
304ACPICA cache manager. Jung-uk Kim.
305
306Example Code and Data Size: These are the sizes for the OS-independent
307acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
308debug version of the code includes the debug output trace mechanism and
309has a much larger code and data size.
310
311  Previous Release:
312    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
313    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
314  Current Release:
315    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
316    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
317
318
3192) iASL Compiler/Disassembler and Tools:
320
321iASL/Disassembler: Fixed several issues with the definition of the ACPI
3225.0 RASF table (RAS Feature Table). This change incorporates late changes
323that were made to the ACPI 5.0 specification.
324
325iASL/Disassembler: Added full support for the following new ACPI tables:
326  1) The MTMR table (MID Timer Table)
327  2) The VRTC table (Virtual Real Time Clock Table).
328Includes header file, disassembler, table compiler, and template support
329for both tables.
330
331iASL: Implemented compile-time validation of package objects returned by
332predefined names. This new feature validates static package objects
333returned by the various predefined names defined to return packages. Both
334object types and package lengths are validated, for both parent packages
335and sub-packages, if any. The code is similar in structure and behavior to
336the runtime repair mechanism within the AML interpreter and uses the
337existing predefined name information table. Adds a new file, aslprepkg.c.
338ACPICA BZ 938.
339
340iASL: Implemented auto-detection of binary ACPI tables for disassembly.
341This feature detects a binary file with a valid ACPI table header and
342invokes the disassembler automatically. Eliminates the need to
343specifically invoke the disassembler with the -d option. ACPICA BZ 862.
344
345iASL/Disassembler: Added several warnings for the case where there are
346unresolved control methods during the disassembly. This can potentially
347cause errors when the output file is compiled, because the disassembler
348assumes zero method arguments in these cases (it cannot determine the
349actual number of arguments without resolution/definition of the method).
350
351Debugger: Added support to display all resources with a single command.
352Invocation of the resources command with no arguments will now display all
353resources within the current namespace.
354
355AcpiHelp: Added descriptive text for each ACPICA exception code displayed
356via the -e option.
357
358----------------------------------------
35917 January 2013. Summary of changes for version 20130117:
360
3611) ACPICA Kernel-resident Subsystem:
362
363Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
364return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
365objects to return a package containing one integer, most BIOS code returns
366two integers and the previous code reflects that. However, we also need to
367support BIOS code that actually implements to the ACPI spec, and this
368change reflects this.
369
370Fixed two issues with the ACPI_DEBUG_PRINT macros:
3711) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
372C compilers that require this support.
3732) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
374ACPI_DEBUG is already used by many of the various hosts.
375
376Updated all ACPICA copyrights and signons to 2013. Added the 2013
377copyright to all module headers and signons, including the standard Linux
378header. This affects virtually every file in the ACPICA core subsystem,
379iASL compiler, all ACPICA utilities, and the test suites.
380
381Example Code and Data Size: These are the sizes for the OS-independent
382acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
383debug version of the code includes the debug output trace mechanism and
384has a much larger code and data size.
385
386  Previous Release:
387    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
388    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
389  Current Release:
390    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
391    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
392
393
3942) iASL Compiler/Disassembler and Tools:
395
396Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
397prevent a possible fault on some hosts. Some C libraries modify the arg
398pointer parameter to vfprintf making it difficult to call it twice in the
399AcpiOsVprintf function. Use a local buffer to workaround this issue. This
400does not affect the Windows OSL since the Win C library does not modify
401the arg pointer. Chao Guan, Bob Moore.
402
403iASL: Fixed a possible infinite loop when the maximum error count is
404reached. If an output file other than the .AML file is specified (such as
405a listing file), and the maximum number of errors is reached, do not
406attempt to flush data to the output file(s) as the compiler is aborting.
407This can cause an infinite loop as the max error count code essentially
408keeps calling itself.
409
410iASL/Disassembler: Added an option (-in) to ignore NOOP opcodes/operators.
411Implemented for both the compiler and the disassembler. Often, the NOOP
412opcode is used as padding for packages that are changed dynamically by the
413BIOS. When disassembled and recompiled, these NOOPs will cause syntax
414errors. This option causes the disassembler to ignore all NOOP opcodes
415(0xA3), and it also causes the compiler to ignore all ASL source code NOOP
416statements as well.
417
418Debugger: Enhanced the Sleep command to execute all sleep states. This
419change allows Sleep to be invoked with no arguments and causes the
420debugger to execute all of the sleep states, 0-5, automatically.
421
422----------------------------------------
42320 December 2012. Summary of changes for version 20121220:
424
4251) ACPICA Kernel-resident Subsystem:
426
427Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
428alternate entry point for AcpiWalkResources and improves the usability of
429the resource manager by accepting as input a buffer containing the output
430of either a _CRS, _PRS, or _AEI method. The key functionality is that the
431input buffer is not deleted by this interface so that it can be used by
432the host later. See the ACPICA reference for details.
433
434Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
435(DSDT version < 2). The constant will be truncated and this warning
436reflects that behavior.
437
438Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
439ExtendedInterrupt, and GpioInt descriptors. This change adds support to
440both get and set the new wake bit in these descriptors, separately from
441the existing share bit. Reported by Aaron Lu.
442
443Interpreter: Fix Store() when an implicit conversion is not possible. For
444example, in the cases such as a store of a string to an existing package
445object, implement the store as a CopyObject(). This is a small departure
446from the ACPI specification which states that the control method should be
447aborted in this case. However, the ASLTS suite depends on this behavior.
448
449Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
450macros: check if debug output is currently enabled as soon as possible to
451minimize performance impact if debug is in fact not enabled.
452
453Source code restructuring: Cleanup to improve modularity. The following
454new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
455psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
456Associated makefiles and project files have been updated.
457
458Changed an exception code for LoadTable operator. For the case where one
459of the input strings is too long, change the returned exception code from
460AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
461
462Fixed a possible memory leak in dispatcher error path. On error, delete
463the mutex object created during method mutex creation. Reported by
464tim.gardner@canonical.com.
465
466Example Code and Data Size: These are the sizes for the OS-independent
467acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
468debug version of the code includes the debug output trace mechanism and
469has a much larger code and data size.
470
471  Previous Release:
472    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
473    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
474  Current Release:
475    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
476    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
477
478
4792) iASL Compiler/Disassembler and Tools:
480
481iASL: Disallow a method call as argument to the ObjectType ASL operator.
482This change tracks an errata to the ACPI 5.0 document. The AML grammar
483will not allow the interpreter to differentiate between a method and a
484method invocation when these are used as an argument to the ObjectType
485operator. The ACPI specification change is to disallow a method invocation
486(UserTerm) for the ObjectType operator.
487
488Finish support for the TPM2 and CSRT tables in the headers, table
489compiler, and disassembler.
490
491Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
492always expires immediately if the semaphore is not available. The original
493code was using a relative-time timeout, but sem_timedwait requires the use
494of an absolute time.
495
496iASL: Added a remark if the Timer() operator is used within a 32-bit
497table. This operator returns a 64-bit time value that will be truncated
498within a 32-bit table.
499
500iASL Source code restructuring: Cleanup to improve modularity. The
501following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
502aslmethod.c, and aslfileio.c. Associated makefiles and project files have
503been updated.
504
505
506----------------------------------------
50714 November 2012. Summary of changes for version 20121114:
508
5091) ACPICA Kernel-resident Subsystem:
510
511Implemented a performance enhancement for ACPI/AML Package objects. This
512change greatly increases the performance of Package objects within the
513interpreter. It changes the processing of reference counts for packages by
514optimizing for the most common case where the package sub-objects are
515either Integers, Strings, or Buffers. Increases the overall performance of
516the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 2X.)
517Chao Guan. ACPICA BZ 943.
518
519Implemented and deployed common macros to extract flag bits from resource
520descriptors. Improves readability and maintainability of the code. Fixes a
521problem with the UART serial bus descriptor for the number of data bits
522flags (was incorrectly 2 bits, should be 3).
523
524Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
525of the macros and changed the SETx macros to the style of (destination,
526source). Also added ACPI_CASTx companion macros. Lv Zheng.
527
528Example Code and Data Size: These are the sizes for the OS-independent
529acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
530debug version of the code includes the debug output trace mechanism and
531has a much larger code and data size.
532
533  Previous Release:
534    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
535    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
536  Current Release:
537    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
538    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
539
540
5412) iASL Compiler/Disassembler and Tools:
542
543Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
544adds the ShareAndWake and ExclusiveAndWake flags which were added to the
545Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
546
547Disassembler: Fixed a problem with external declaration generation. Fixes
548a problem where an incorrect pathname could be generated for an external
549declaration if the original reference to the object includes leading
550carats (^). ACPICA BZ 984.
551
552Debugger: Completed a major update for the Disassemble<method> command.
553This command was out-of-date and did not properly disassemble control
554methods that had any reasonable complexity. This fix brings the command up
555to the same level as the rest of the disassembler. Adds one new file,
556dmdeferred.c, which is existing code that is now common with the main
557disassembler and the debugger disassemble command. ACPICA MZ 978.
558
559iASL: Moved the parser entry prototype to avoid a duplicate declaration.
560Newer versions of Bison emit this prototype, so moved the prototype out of
561the iASL header to where it is actually used in order to avoid a duplicate
562declaration.
563
564iASL/Tools: Standardized use of the stream I/O functions:
565  1) Ensure check for I/O error after every fopen/fread/fwrite
566  2) Ensure proper order of size/count arguments for fread/fwrite
567  3) Use test of (Actual != Requested) after all fwrite, and most fread
568  4) Standardize I/O error messages
569Improves reliability and maintainability of the code. Bob Moore, Lv Zheng.
570ACPICA BZ 981.
571
572Disassembler: Prevent duplicate External() statements. During generation
573of external statements, detect similar pathnames that are actually
574duplicates such as these:
575  External (\ABCD)
576  External (ABCD)
577Remove all leading '\' characters from pathnames during the external
578statement generation so that duplicates will be detected and tossed.
579ACPICA BZ 985.
580
581Tools: Replace low-level I/O with stream I/O functions. Replace
582open/read/write/close with the stream I/O equivalents
583fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
584Moore.
585
586AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
587name header so that AcpiXtract recognizes the output file/table.
588
589iASL: Remove obsolete -2 option flag. Originally intended to force the
590compiler/disassembler into an ACPI 2.0 mode, this was never implemented
591and the entire concept is now obsolete.
592
593----------------------------------------
59418 October 2012. Summary of changes for version 20121018:
595
596
5971) ACPICA Kernel-resident Subsystem:
598
599Updated support for the ACPI 5.0 MPST table. Fixes some problems
600introduced by late changes to the table as it was added to the ACPI 5.0
601specification. Includes header, disassembler, and data table compiler
602support as well as a new version of the MPST template.
603
604AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
6055.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
606methods: _HID, _CID, and _UID.
607
608Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
609ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
610name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
611names for their various drivers. Affects the AcpiGetObjectInfo external
612interface, and other internal interfaces as well.
613
614Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
615This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
616on machines that support non-aligned transfers. Optimizes for this case
617rather than using a strncpy. With assistance from Zheng Lv.
618
619Resource Manager: Small fix for buffer size calculation. Fixed a one byte
620error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
621
622Added a new debug print message for AML mutex objects that are force-
623released. At control method termination, any currently acquired mutex
624objects are force-released. Adds a new debug-only message for each one
625that is released.
626
627Audited/updated all ACPICA return macros and the function debug depth
628counter: 1) Ensure that all functions that use the various TRACE macros
629also use the appropriate ACPICA return macros. 2) Ensure that all normal
630return statements surround the return expression (value) with parens to
631ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
632Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
633
634Global source code changes/maintenance: All extra lines at the start and
635end of each source file have been removed for consistency. Also, within
636comments, all new sentences start with a single space instead of a double
637space, again for consistency across the code base.
638
639Example Code and Data Size: These are the sizes for the OS-independent
640acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
641debug version of the code includes the debug output trace mechanism and
642has a much larger code and data size.
643
644  Previous Release:
645    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
646    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
647  Current Release:
648    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
649    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
650
651
6522) iASL Compiler/Disassembler and Tools:
653
654AcpiExec: Improved the algorithm used for memory leak/corruption
655detection. Added some intelligence to the code that maintains the global
656list of allocated memory. The list is now ordered by allocated memory
657address, significantly improving performance. When running AcpiExec on
658the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
659on the platform and/or the environment. Note, this performance
660enhancement affects the AcpiExec utility only, not the kernel-resident
661ACPICA code.
662
663Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
664the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
665incorrect table offset reported for invalid opcodes. Report the original
66632-bit value for bad ACPI_NAMEs (as well as the repaired name.)
667
668Disassembler: Enhanced the -vt option to emit the binary table data in
669hex format to assist with debugging.
670
671Fixed a potential filename buffer overflow in osunixdir.c. Increased the
672size of file structure. Colin Ian King.
673
674----------------------------------------
67513 September 2012. Summary of changes for version 20120913:
676
677
6781) ACPICA Kernel-resident Subsystem:
679
680ACPI 5.0: Added two new notify types for the Hardware Error Notification
681Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
682and
683MCE(6).
684
685Table Manager: Merged/removed duplicate code in the root table resize
686functions. One function is external, the other is internal. Lv Zheng,
687ACPICA
688BZ 846.
689
690Makefiles: Completely removed the obsolete "Linux" makefiles under
691acpica/generate/linux. These makefiles are obsolete and have been replaced
692by
693the generic unix makefiles under acpica/generate/unix.
694
695Makefiles: Ensure that binary files always copied properly. Minor rule
696change
697to ensure that the final binary output files are always copied up to the
698appropriate binary directory (bin32 or bin64.)
699
700Example Code and Data Size: These are the sizes for the OS-independent
701acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
702debug
703version of the code includes the debug output trace mechanism and has a
704much
705larger code and data size.
706
707  Previous Release:
708    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
709    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
710  Current Release:
711    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
712    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
713
714
7152) iASL Compiler/Disassembler and Tools:
716
717Disassembler: Fixed a possible fault during the disassembly of resource
718descriptors when a second parse is required because of the invocation of
719external control methods within the table. With assistance from
720adq@lidskialf.net. ACPICA BZ 976.
721
722iASL: Fixed a namepath optimization problem. An error can occur if the
723parse
724node that contains the namepath to be optimized does not have a parent
725node
726that is a named object. This change fixes the problem.
727
728iASL: Fixed a regression where the AML file is not deleted on errors. The
729AML
730output file should be deleted if there are any errors during the compiler.
731The
732only exception is if the -f (force output) option is used. ACPICA BZ 974.
733
734iASL: Added a feature to automatically increase internal line buffer
735sizes.
736Via realloc(), automatically increase the internal line buffer sizes as
737necessary to support very long source code lines. The current version of
738the
739preprocessor requires a buffer long enough to contain full source code
740lines.
741This change increases the line buffer(s) if the input lines go beyond the
742current buffer size. This eliminates errors that occurred when a source
743code
744line was longer than the buffer.
745
746iASL: Fixed a problem with constant folding in method declarations. The
747SyncLevel term is a ByteConstExpr, and incorrect code would be generated
748if a
749Type3 opcode was used.
750
751Debugger: Improved command help support. For incorrect argument count,
752display
753full help for the command. For help command itself, allow an argument to
754specify a command.
755
756Test Suites: Several bug fixes for the ASLTS suite reduces the number of
757errors during execution of the suite. Guan Chao.
758
759----------------------------------------
76016 August 2012. Summary of changes for version 20120816:
761
762
7631) ACPICA Kernel-resident Subsystem:
764
765Removed all use of the deprecated _GTS and _BFS predefined methods. The
766_GTS
767(Going To Sleep) and _BFS (Back From Sleep) methods are essentially
768deprecated and will probably be removed from the ACPI specification.
769Windows
770does not invoke them, and reportedly never will. The final nail in the
771coffin
772is that the ACPI specification states that these methods must be run with
773interrupts off, which is not going to happen in a kernel interpreter.
774Note:
775Linux has removed all use of the methods also. It was discovered that
776invoking these functions caused failures on some machines, probably
777because
778they were never tested since Windows does not call them. Affects two
779external
780interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
781ACPICA BZ 969.
782
783Implemented support for complex bit-packed buffers returned from the _PLD
784(Physical Location of Device) predefined method. Adds a new external
785interface, AcpiDecodePldBuffer that parses the buffer into a more usable C
786structure. Note: C Bitfields cannot be used for this type of predefined
787structure since the memory layout of individual bitfields is not defined
788by
789the C language. In addition, there are endian concerns where a compiler
790will
791change the bitfield ordering based on the machine type. The new ACPICA
792interface eliminates these issues, and should be called after _PLD is
793executed. ACPICA BZ 954.
794
795Implemented a change to allow a scope change to root (via "Scope (\)")
796during
797execution of module-level ASL code (code that is executed at table load
798time.) Lin Ming.
799
800Added the Windows8/Server2012 string for the _OSI method. This change adds
801a
802new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
8032012.
804
805Added header support for the new ACPI tables DBG2 (Debug Port Table Type
8062)
807and CSRT (Core System Resource Table).
808
809Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
810names. This simplifies access to the buffers returned by these predefined
811names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
812
813GPE support: Removed an extraneous parameter from the various low-level
814internal GPE functions. Tang Feng.
815
816Removed the linux makefiles from the unix packages. The generate/linux
817makefiles are obsolete and have been removed from the unix tarball release
818packages. The replacement makefiles are under generate/unix, and there is
819a
820top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
821
822Updates for Unix makefiles:
8231) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
8242) Update linker flags (move to end of command line) for AcpiExec utility.
825Guan Chao.
826
827Split ACPICA initialization functions to new file, utxfinit.c. Split from
828utxface.c to improve modularity and reduce file size.
829
830Example Code and Data Size: These are the sizes for the OS-independent
831acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
832debug version of the code includes the debug output trace mechanism and
833has a
834much larger code and data size.
835
836  Previous Release:
837    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
838    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
839  Current Release:
840    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
841    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
842
843
8442) iASL Compiler/Disassembler and Tools:
845
846iASL: Fixed a problem with constant folding for fixed-length constant
847expressions. The constant-folding code was not being invoked for constant
848expressions that allow the use of type 3/4/5 opcodes to generate constants
849for expressions such as ByteConstExpr, WordConstExpr, etc. This could
850result
851in the generation of invalid AML bytecode. ACPICA BZ 970.
852
853iASL: Fixed a generation issue on newer versions of Bison. Newer versions
854apparently automatically emit some of the necessary externals. This change
855handles these versions in order to eliminate generation warnings.
856
857Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
858
859Disassembler: Add support to decode _PLD buffers. The decoded buffer
860appears
861within comments in the output file.
862
863Debugger: Fixed a regression with the "Threads" command where
864AE_BAD_PARAMETER was always returned.
865
866----------------------------------------
86711 July 2012. Summary of changes for version 20120711:
868
8691) ACPICA Kernel-resident Subsystem:
870
871Fixed a possible fault in the return package object repair code. Fixes a
872problem that can occur when a lone package object is wrapped with an outer
873package object in order to force conformance to the ACPI specification.
874Can
875affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
876_DLM,
877_CSD, _PSD, _TSD.
878
879Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
880PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
881ARB_DIS bit must be implemented in the host-dependent C3 processor power
882state
883support. Note, ARB_DIS is obsolete and only applies to older chipsets,
884both
885Intel and other vendors. (for Intel: ICH4-M and earlier)
886
887This change removes the code to disable/enable bus master arbitration
888during
889suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
890causes
891resume problems on some machines. The change has been in use for over
892seven
893years within Linux.
894
895Implemented two new external interfaces to support host-directed dynamic
896ACPI
897table load and unload. They are intended to simplify the host
898implementation
899of hot-plug support:
900  AcpiLoadTable: Load an SSDT from a buffer into the namespace.
901  AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
902table.
903See the ACPICA reference for additional details. Adds one new file,
904components/tables/tbxfload.c
905
906Implemented and deployed two new interfaces for errors and warnings that
907are
908known to be caused by BIOS/firmware issues:
909  AcpiBiosError: Prints "ACPI Firmware Error" message.
910  AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
911Deployed these new interfaces in the ACPICA Table Manager code for ACPI
912table
913and FADT errors. Additional deployment to be completed as appropriate in
914the
915future. The associated conditional macros are ACPI_BIOS_ERROR and
916ACPI_BIOS_WARNING. See the ACPICA reference for additional details. ACPICA
917BZ
918843.
919
920Implicit notify support: ensure that no memory allocation occurs within a
921critical region. This fix moves a memory allocation outside of the time
922that a
923spinlock is held. Fixes issues on systems that do not allow this behavior.
924Jung-uk Kim.
925
926Split exception code utilities and tables into a new file,
927utilities/utexcep.c
928
929Example Code and Data Size: These are the sizes for the OS-independent
930acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
931debug
932version of the code includes the debug output trace mechanism and has a
933much
934larger code and data size.
935
936  Previous Release:
937    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
938    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
939  Current Release:
940    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
941    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
942
943
9442) iASL Compiler/Disassembler and Tools:
945
946iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
947of
9480. Jung-uk Kim.
949
950Debugger: Enhanced the "tables" command to emit additional information
951about
952the current set of ACPI tables, including the owner ID and flags decode.
953
954Debugger: Reimplemented the "unload" command to use the new
955AcpiUnloadParentTable external interface. This command was disable
956previously
957due to need for an unload interface.
958
959AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
960option
961will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
962
963----------------------------------------
96420 June 2012. Summary of changes for version 20120620:
965
966
9671) ACPICA Kernel-resident Subsystem:
968
969Implemented support to expand the "implicit notify" feature to allow
970multiple
971devices to be notified by a single GPE. This feature automatically
972generates a
973runtime device notification in the absence of a BIOS-provided GPE control
974method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
975notify is
976provided by ACPICA for Windows compatibility, and is a workaround for BIOS
977AML
978code errors. See the description of the AcpiSetupGpeForWake interface in
979the
980APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
981
982Changed some comments and internal function names to simplify and ensure
983correctness of the Linux code translation. No functional changes.
984
985Example Code and Data Size: These are the sizes for the OS-independent
986acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
987debug
988version of the code includes the debug output trace mechanism and has a
989much
990larger code and data size.
991
992  Previous Release:
993    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
994    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
995  Current Release:
996    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
997    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
998
999
10002) iASL Compiler/Disassembler and Tools:
1001
1002Disassembler: Added support to emit short, commented descriptions for the
1003ACPI
1004predefined names in order to improve the readability of the disassembled
1005output. ACPICA BZ 959. Changes include:
1006  1) Emit descriptions for all standard predefined names (_INI, _STA,
1007_PRW,
1008etc.)
1009  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
1010  3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
1011etc.)
1012
1013AcpiSrc: Fixed several long-standing Linux code translation issues.
1014Argument
1015descriptions in function headers are now translated properly to lower case
1016and
1017underscores. ACPICA BZ 961. Also fixes translation problems such as these:
1018(old -> new)
1019  i_aSL -> iASL
1020  00-7_f -> 00-7F
1021  16_k -> 16K
1022  local_fADT -> local_FADT
1023  execute_oSI -> execute_OSI
1024
1025iASL: Fixed a problem where null bytes were inadvertently emitted into
1026some
1027listing files.
1028
1029iASL: Added the existing debug options to the standard help screen. There
1030are
1031no longer two different help screens. ACPICA BZ 957.
1032
1033AcpiHelp: Fixed some typos in the various predefined name descriptions.
1034Also
1035expand some of the descriptions where appropriate.
1036
1037iASL: Fixed the -ot option (display compile times/statistics). Was not
1038working
1039properly for standard output; only worked for the debug file case.
1040
1041----------------------------------------
104218 May 2012. Summary of changes for version 20120518:
1043
1044
10451) ACPICA Core Subsystem:
1046
1047Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
1048defined
1049to block until asynchronous events such as notifies and GPEs have
1050completed.
1051Within ACPICA, it is only called before a notify or GPE handler is
1052removed/uninstalled. It also may be useful for the host OS within related
1053drivers such as the Embedded Controller driver. See the ACPICA reference
1054for
1055additional information. ACPICA BZ 868.
1056
1057ACPI Tables: Added a new error message for a possible overflow failure
1058during
1059the conversion of FADT 32-bit legacy register addresses to internal common
106064-
1061bit GAS structure representation. The GAS has a one-byte "bit length"
1062field,
1063thus limiting the register length to 255 bits. ACPICA BZ 953.
1064
1065Example Code and Data Size: These are the sizes for the OS-independent
1066acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1067debug
1068version of the code includes the debug output trace mechanism and has a
1069much
1070larger code and data size.
1071
1072  Previous Release:
1073    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1074    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
1075  Current Release:
1076    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
1077    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
1078
1079
10802) iASL Compiler/Disassembler and Tools:
1081
1082iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
1083macro.
1084This keyword was added late in the ACPI 5.0 release cycle and was not
1085implemented until now.
1086
1087Disassembler: Added support for Operation Region externals. Adds missing
1088support for operation regions that are defined in another table, and
1089referenced locally via a Field or BankField ASL operator. Now generates
1090the
1091correct External statement.
1092
1093Disassembler: Several additional fixes for the External() statement
1094generation
1095related to some ASL operators. Also, order the External() statements
1096alphabetically in the disassembler output. Fixes the External() generation
1097for
1098the Create* field, Alias, and Scope operators:
1099 1) Create* buffer field operators - fix type mismatch warning on
1100disassembly
1101 2) Alias - implement missing External support
1102 3) Scope - fix to make sure all necessary externals are emitted.
1103
1104iASL: Improved pathname support. For include files, merge the prefix
1105pathname
1106with the file pathname and eliminate unnecessary components. Convert
1107backslashes in all pathnames to forward slashes, for readability. Include
1108file
1109pathname changes affect both #include and Include() type operators.
1110
1111iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
1112end
1113of a valid line by inserting a newline and then returning the EOF during
1114the
1115next call to GetNextLine. Prevents the line from being ignored due to EOF
1116condition.
1117
1118iASL: Implemented some changes to enhance the IDE support (-vi option.)
1119Error
1120and Warning messages are now correctly recognized for both the source code
1121browser and the global error and warning counts.
1122
1123----------------------------------------
112420 April 2012. Summary of changes for version 20120420:
1125
1126
11271) ACPICA Core Subsystem:
1128
1129Implemented support for multiple notify handlers. This change adds support
1130to
1131allow multiple system and device notify handlers on Device, Thermal Zone,
1132and
1133Processor objects. This can simplify the host OS notification
1134implementation.
1135Also re-worked and restructured the entire notify support code to simplify
1136handler installation, handler removal, notify event queuing, and notify
1137dispatch to handler(s). Note: there can still only be two global notify
1138handlers - one for system notifies and one for device notifies. There are
1139no
1140changes to the existing handler install/remove interfaces. Lin Ming, Bob
1141Moore, Rafael Wysocki.
1142
1143Fixed a regression in the package repair code where the object reference
1144count was calculated incorrectly. Regression was introduced in the commit
1145"Support to add Package wrappers".
1146
1147Fixed a couple possible memory leaks in the AML parser, in the error
1148recovery
1149path. Jesper Juhl, Lin Ming.
1150
1151Example Code and Data Size: These are the sizes for the OS-independent
1152acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1153debug version of the code includes the debug output trace mechanism and
1154has a
1155much larger code and data size.
1156
1157  Previous Release:
1158    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1159    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1160  Current Release:
1161    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1162    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
1163
1164
11652) iASL Compiler/Disassembler and Tools:
1166
1167iASL: Fixed a problem with the resource descriptor support where the
1168length
1169of the StartDependentFn and StartDependentFnNoPrio descriptors were not
1170included in cumulative descriptor offset, resulting in incorrect values
1171for
1172resource tags within resource descriptors appearing after a
1173StartDependent*
1174descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
1175
1176iASL and Preprocessor: Implemented full support for the #line directive to
1177correctly track original source file line numbers through the .i
1178preprocessor
1179output file - for error and warning messages.
1180
1181iASL: Expand the allowable byte constants for address space IDs.
1182Previously,
1183the allowable range was 0x80-0xFF (user-defined spaces), now the range is
11840x0A-0xFF to allow for custom and new IDs without changing the compiler.
1185
1186iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
1187
1188iASL: Add option to completely disable the preprocessor (-Pn).
1189
1190iASL: Now emit all error/warning messages to standard error (stderr) by
1191default (instead of the previous stdout).
1192
1193ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
1194Update
1195for resource descriptor offset fix above. Update/cleanup error output
1196routines. Enable and send iASL errors/warnings to an error logfile
1197(error.txt). Send all other iASL output to a logfile (compiler.txt). Fixed
1198several extraneous "unrecognized operator" messages.
1199
1200----------------------------------------
120120 March 2012. Summary of changes for version 20120320:
1202
1203
12041) ACPICA Core Subsystem:
1205
1206Enhanced the sleep/wake interfaces to optionally execute the _GTS method
1207(Going To Sleep) and the _BFS method (Back From Sleep). Windows apparently
1208does not execute these methods, and therefore these methods are often
1209untested. It has been seen on some systems where the execution of these
1210methods causes errors and also prevents the machine from entering S5. It
1211is
1212therefore suggested that host operating systems do not execute these
1213methods
1214by default. In the future, perhaps these methods can be optionally
1215executed
1216based on the age of the system and/or what is the newest version of
1217Windows
1218that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
1219and
1220AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
1221Ming.
1222
1223Fixed a problem where the length of the local/common FADT was set too
1224early.
1225The local FADT table length cannot be set to the common length until the
1226original length has been examined. There is code that checks the table
1227length
1228and sets various fields appropriately. This can affect older machines with
1229early FADT versions. For example, this can cause inadvertent writes to the
1230CST_CNT register. Julian Anastasov.
1231
1232Fixed a mapping issue related to a physical table override. Use the
1233deferred
1234mapping mechanism for tables loaded via the physical override OSL
1235interface.
1236This allows for early mapping before the virtual memory manager is
1237available.
1238Thomas Renninger, Bob Moore.
1239
1240Enhanced the automatic return-object repair code: Repair a common problem
1241with
1242predefined methods that are defined to return a variable-length Package of
1243sub-objects. If there is only one sub-object, some BIOS ASL code
1244mistakenly
1245simply returns the single object instead of a Package with one sub-object.
1246This new support will repair this error by wrapping a Package object
1247around
1248the original object, creating the correct and expected Package with one
1249sub-
1250object. Names that can be repaired in this manner include: _ALR, _CSD,
1251_HPX,
1252_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
1253939.
1254
1255Changed the exception code returned for invalid ACPI paths passed as
1256parameters to external interfaces such as AcpiEvaluateObject. Was
1257AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
1258
1259Example Code and Data Size: These are the sizes for the OS-independent
1260acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1261debug
1262version of the code includes the debug output trace mechanism and has a
1263much
1264larger code and data size.
1265
1266  Previous Release:
1267    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1268    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1269  Current Release:
1270    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1271    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1272
1273
12742) iASL Compiler/Disassembler and Tools:
1275
1276iASL: Added the infrastructure and initial implementation of a integrated
1277C-
1278like preprocessor. This will simplify BIOS development process by
1279eliminating
1280the need for a separate preprocessing step during builds. On Windows, it
1281also
1282eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
1283features including full #define() macro support are still under
1284development.
1285These preprocessor directives are supported:
1286    #define
1287    #elif
1288    #else
1289    #endif
1290    #error
1291    #if
1292    #ifdef
1293    #ifndef
1294    #include
1295    #pragma message
1296    #undef
1297    #warning
1298In addition, these new command line options are supported:
1299    -D <symbol> Define symbol for preprocessor use
1300    -li         Create preprocessed output file (*.i)
1301    -P          Preprocess only and create preprocessor output file (*.i)
1302
1303Table Compiler: Fixed a problem where the equals operator within an
1304expression
1305did not work properly.
1306
1307Updated iASL to use the current versions of Bison/Flex. Updated the
1308Windows
1309project file to invoke these tools from the standard location. ACPICA BZ
1310904.
1311Versions supported:
1312    Flex for Windows:  V2.5.4
1313    Bison for Windows: V2.4.1
1314
1315----------------------------------------
131615 February 2012. Summary of changes for version 20120215:
1317
1318
13191) ACPICA Core Subsystem:
1320
1321There have been some major changes to the sleep/wake support code, as
1322described below (a - e).
1323
1324a) The AcpiLeaveSleepState has been split into two interfaces, similar to
1325AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
1326AcpiLeaveSleepStatePrep. This allows the host to perform actions between
1327the
1328time the _BFS method is called and the _WAK method is called. NOTE: all
1329hosts
1330must update their wake/resume code or else sleep/wake will not work
1331properly.
1332Rafael Wysocki.
1333
1334b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
1335_WAK
1336method. Some machines require that the GPEs are enabled before the _WAK
1337method
1338is executed. Thomas Renninger.
1339
1340c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit.
1341Some BIOS code assumes that WAK_STS will be cleared on resume and use it
1342to
1343determine whether the system is rebooting or resuming. Matthew Garrett.
1344
1345d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
1346Sleep) to
1347match the ACPI specification requirement. Rafael Wysocki.
1348
1349e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
1350registers within the V5 FADT. This support adds two new files:
1351hardware/hwesleep.c implements the support for the new registers. Moved
1352all
1353sleep/wake external interfaces to hardware/hwxfsleep.c.
1354
1355
1356Added a new OSL interface for ACPI table overrides,
1357AcpiOsPhysicalTableOverride. This interface allows the host to override a
1358table via a physical address, instead of the logical address required by
1359AcpiOsTableOverride. This simplifies the host implementation. Initial
1360implementation by Thomas Renninger. The ACPICA implementation creates a
1361single
1362shared function for table overrides that attempts both a logical and a
1363physical override.
1364
1365Expanded the OSL memory read/write interfaces to 64-bit data
1366(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
1367transfer support for GAS register structures passed to AcpiRead and
1368AcpiWrite.
1369
1370Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
1371custom
1372build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
1373model.
1374See the ACPICA reference for details. ACPICA BZ 942. This option removes
1375about
137610% of the code and 5% of the static data, and the following hardware ACPI
1377features become unavailable:
1378    PM Event and Control registers
1379    SCI interrupt (and handler)
1380    Fixed Events
1381    General Purpose Events (GPEs)
1382    Global Lock
1383    ACPI PM timer
1384    FACS table (Waking vectors and Global Lock)
1385
1386Updated the unix tarball directory structure to match the ACPICA git
1387source
1388tree. This ensures that the generic unix makefiles work properly (in
1389generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 867.
1390
1391Updated the return value of the _REV predefined method to integer value 5
1392to
1393reflect ACPI 5.0 support.
1394
1395Moved the external ACPI PM timer interface prototypes to the public
1396acpixf.h
1397file where they belong.
1398
1399Example Code and Data Size: These are the sizes for the OS-independent
1400acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1401debug
1402version of the code includes the debug output trace mechanism and has a
1403much
1404larger code and data size.
1405
1406  Previous Release:
1407    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1408    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1409  Current Release:
1410    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1411    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1412
1413
14142) iASL Compiler/Disassembler and Tools:
1415
1416Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
1417descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
1418incorrectly displayed.
1419
1420AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
1421specification.
1422
1423----------------------------------------
142411 January 2012. Summary of changes for version 20120111:
1425
1426
14271) ACPICA Core Subsystem:
1428
1429Implemented a new mechanism to allow host device drivers to check for
1430address
1431range conflicts with ACPI Operation Regions. Both SystemMemory and
1432SystemIO
1433address spaces are supported. A new external interface,
1434AcpiCheckAddressRange,
1435allows drivers to check an address range against the ACPI namespace. See
1436the
1437ACPICA reference for additional details. Adds one new file,
1438utilities/utaddress.c. Lin Ming, Bob Moore.
1439
1440Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control
1441and
1442Status registers, update the ACPI 5.0 flags, and update internal data
1443structures to handle an FADT larger than 256 bytes. The size of the ACPI
14445.0
1445FADT is 268 bytes.
1446
1447Updated all ACPICA copyrights and signons to 2012. Added the 2012
1448copyright to
1449all module headers and signons, including the standard Linux header. This
1450affects virtually every file in the ACPICA core subsystem, iASL compiler,
1451and
1452all ACPICA utilities.
1453
1454Example Code and Data Size: These are the sizes for the OS-independent
1455acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1456debug
1457version of the code includes the debug output trace mechanism and has a
1458much
1459larger code and data size.
1460
1461  Previous Release:
1462    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1463    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1464  Current Release:
1465    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1466    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1467
1468
14692) iASL Compiler/Disassembler and Tools:
1470
1471Disassembler: fixed a problem with the automatic resource tag generation
1472support. Fixes a problem where the resource tags are inadvertently not
1473constructed if the table being disassembled contains external references
1474to
1475control methods. Moved the actual construction of the tags to after the
1476final
1477namespace is constructed (after 2nd parse is invoked due to external
1478control
1479method references.) ACPICA BZ 941.
1480
1481Table Compiler: Make all "generic" operators caseless. These are the
1482operators
1483like UINT8, String, etc. Making these caseless improves ease-of-use.
1484ACPICA BZ
1485934.
1486
1487----------------------------------------
148823 November 2011. Summary of changes for version 20111123:
1489
14900) ACPI 5.0 Support:
1491
1492This release contains full support for the ACPI 5.0 specification, as
1493summarized below.
1494
1495Reduced Hardware Support:
1496-------------------------
1497
1498This support allows for ACPI systems without the usual ACPI hardware. This
1499support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
1500will
1501not attempt to initialize or use any of the usual ACPI hardware. Note,
1502when
1503this flag is set, all of the following ACPI hardware is assumed to be not
1504present and is not initialized or accessed:
1505
1506    General Purpose Events (GPEs)
1507    Fixed Events (PM1a/PM1b and PM Control)
1508    Power Management Timer and Console Buttons (power/sleep)
1509    Real-time Clock Alarm
1510    Global Lock
1511    System Control Interrupt (SCI)
1512    The FACS is assumed to be non-existent
1513
1514ACPI Tables:
1515------------
1516
1517All new tables and updates to existing tables are fully supported in the
1518ACPICA headers (for use by device drivers), the disassembler, and the iASL
1519Data Table Compiler. ACPI 5.0 defines these new tables:
1520
1521    BGRT        /* Boot Graphics Resource Table */
1522    DRTM        /* Dynamic Root of Trust for Measurement table */
1523    FPDT        /* Firmware Performance Data Table */
1524    GTDT        /* Generic Timer Description Table */
1525    MPST        /* Memory Power State Table */
1526    PCCT        /* Platform Communications Channel Table */
1527    PMTT        /* Platform Memory Topology Table */
1528    RASF        /* RAS Feature table */
1529
1530Operation Regions/SpaceIDs:
1531---------------------------
1532
1533All new operation regions are fully supported by the iASL compiler, the
1534disassembler, and the ACPICA runtime code (for dispatch to region
1535handlers.)
1536The new operation region Space IDs are:
1537
1538    GeneralPurposeIo
1539    GenericSerialBus
1540
1541Resource Descriptors:
1542---------------------
1543
1544All new ASL resource descriptors are fully supported by the iASL compiler,
1545the
1546ASL/AML disassembler, and the ACPICA runtime Resource Manager code
1547(including
1548all new predefined resource tags). New descriptors are:
1549
1550    FixedDma
1551    GpioIo
1552    GpioInt
1553    I2cSerialBus
1554    SpiSerialBus
1555    UartSerialBus
1556
1557ASL/AML Operators, New and Modified:
1558------------------------------------
1559
1560One new operator is added, the Connection operator, which is used to
1561associate
1562a GeneralPurposeIo or GenericSerialBus resource descriptor with individual
1563field objects within an operation region. Several new protocols are
1564associated
1565with the AccessAs operator. All are fully supported by the iASL compiler,
1566disassembler, and runtime ACPICA AML interpreter:
1567
1568    Connection                      // Declare Field Connection attributes
1569    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
1570    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
1571    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
1572    RawDataBuffer                       // Data type for Vendor Data
1573fields
1574
1575Predefined ASL/AML Objects:
1576---------------------------
1577
1578All new predefined objects/control-methods are supported by the iASL
1579compiler
1580and the ACPICA runtime validation/repair (arguments and return values.)
1581New
1582predefined names include the following:
1583
1584Standard Predefined Names (Objects or Control Methods):
1585    _AEI, _CLS, _CPC, _CWS, _DEP,
1586    _DLM, _EVT, _GCP, _CRT, _GWS,
1587    _HRV, _PRE, _PSE, _SRT, _SUB.
1588
1589Resource Tags (Names used to access individual fields within resource
1590descriptors):
1591    _DBT, _DPL, _DRS, _END, _FLC,
1592    _IOR, _LIN, _MOD, _PAR, _PHA,
1593    _PIN, _PPI, _POL, _RXL, _SLV,
1594    _SPE, _STB, _TXL, _VEN.
1595
1596ACPICA External Interfaces:
1597---------------------------
1598
1599Several new interfaces have been defined for use by ACPI-related device
1600drivers and other host OS services:
1601
1602AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
1603to
1604acquire and release AML mutexes that are defined in the DSDT/SSDT tables
1605provided by the BIOS. They are intended to be used in conjunction with the
1606ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
1607mutual exclusion with the AML code/interpreter.
1608
1609AcpiGetEventResources: Returns the (formatted) resource descriptors as
1610defined
1611by the ACPI 5.0 _AEI object (ACPI Event Information).  This object
1612provides
1613resource descriptors associated with hardware-reduced platform events,
1614similar
1615to the AcpiGetCurrentResources interface.
1616
1617Operation Region Handlers: For General Purpose IO and Generic Serial Bus
1618operation regions, information about the Connection() object and any
1619optional
1620length information is passed to the region handler within the Context
1621parameter.
1622
1623AcpiBufferToResource: This interface converts a raw AML buffer containing
1624a
1625resource template or resource descriptor to the ACPI_RESOURCE internal
1626format
1627suitable for use by device drivers. Can be used by an operation region
1628handler
1629to convert the Connection() buffer object into a ACPI_RESOURCE.
1630
1631Miscellaneous/Tools/TestSuites:
1632-------------------------------
1633
1634Support for extended _HID names (Four alpha characters instead of three).
1635Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
1636Support for ACPI 5.0 features in the ASLTS test suite.
1637Fully updated documentation (ACPICA and iASL reference documents.)
1638
1639ACPI Table Definition Language:
1640-------------------------------
1641
1642Support for this language was implemented and released as a subsystem of
1643the
1644iASL compiler in 2010. (See the iASL compiler User Guide.)
1645
1646
1647Non-ACPI 5.0 changes for this release:
1648--------------------------------------
1649
16501) ACPICA Core Subsystem:
1651
1652Fix a problem with operation region declarations where a failure can occur
1653if
1654the region name and an argument that evaluates to an object (such as the
1655region address) are in different namespace scopes. Lin Ming, ACPICA BZ
1656937.
1657
1658Do not abort an ACPI table load if an invalid space ID is found within.
1659This
1660will be caught later if the offending method is executed. ACPICA BZ 925.
1661
1662Fixed an issue with the FFixedHW space ID where the ID was not always
1663recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
1664
1665Fixed a problem with the 32-bit generation of the unix-specific OSL
1666(osunixxf.c). Lin Ming, ACPICA BZ 936.
1667
1668Several changes made to enable generation with the GCC 4.6 compiler.
1669ACPICA BZ
1670935.
1671
1672New error messages: Unsupported I/O requests (not 8/16/32 bit), and
1673Index/Bank
1674field registers out-of-range.
1675
16762) iASL Compiler/Disassembler and Tools:
1677
1678iASL: Implemented the __PATH__ operator, which returns the full pathname
1679of
1680the current source file.
1681
1682AcpiHelp: Automatically display expanded keyword information for all ASL
1683operators.
1684
1685Debugger: Add "Template" command to disassemble/dump resource template
1686buffers.
1687
1688Added a new master script to generate and execute the ASLTS test suite.
1689Automatically handles 32- and 64-bit generation. See tests/aslts.sh
1690
1691iASL: Fix problem with listing generation during processing of the
1692Switch()
1693operator where AML listing was disabled until the entire Switch block was
1694completed.
1695
1696iASL: Improve support for semicolon statement terminators. Fix "invalid
1697character" message for some cases when the semicolon is used. Semicolons
1698are
1699now allowed after every <Term> grammar element. ACPICA BZ 927.
1700
1701iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
1702923.
1703
1704Disassembler: Fix problem with disassembly of the DataTableRegion operator
1705where an inadvertent "Unhandled deferred opcode" message could be
1706generated.
1707
17083) Example Code and Data Size
1709
1710These are the sizes for the OS-independent acpica.lib produced by the
1711Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
1712includes the debug output trace mechanism and has a much larger code and
1713data
1714size.
1715
1716  Previous Release:
1717    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1718    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1719  Current Release:
1720    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1721    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1722
1723----------------------------------------
172422 September 2011. Summary of changes for version 20110922:
1725
17260) ACPI 5.0 News:
1727
1728Support for ACPI 5.0 in ACPICA has been underway for several months and
1729will
1730be released at the same time that ACPI 5.0 is officially released.
1731
1732The ACPI 5.0 specification is on track for release in the next few months.
1733
17341) ACPICA Core Subsystem:
1735
1736Fixed a problem where the maximum sleep time for the Sleep() operator was
1737intended to be limited to two seconds, but was inadvertently limited to 20
1738seconds instead.
1739
1740Linux and Unix makefiles: Added header file dependencies to ensure correct
1741generation of ACPICA core code and utilities. Also simplified the
1742makefiles
1743considerably through the use of the vpath variable to specify search
1744paths.
1745ACPICA BZ 924.
1746
17472) iASL Compiler/Disassembler and Tools:
1748
1749iASL: Implemented support to check the access length for all fields
1750created to
1751access named Resource Descriptor fields. For example, if a resource field
1752is
1753defined to be two bits, a warning is issued if a CreateXxxxField() is used
1754with an incorrect bit length. This is implemented for all current resource
1755descriptor names. ACPICA BZ 930.
1756
1757Disassembler: Fixed a byte ordering problem with the output of 24-bit and
175856-
1759bit integers.
1760
1761iASL: Fixed a couple of issues associated with variable-length package
1762objects. 1) properly handle constants like One, Ones, Zero -- do not make
1763a
1764VAR_PACKAGE when these are used as a package length. 2) Allow the
1765VAR_PACKAGE
1766opcode (in addition to PACKAGE) when validating object types for
1767predefined
1768names.
1769
1770iASL: Emit statistics for all output files (instead of just the ASL input
1771and
1772AML output). Includes listings, hex files, etc.
1773
1774iASL: Added -G option to the table compiler to allow the compilation of
1775custom
1776ACPI tables. The only part of a table that is required is the standard 36-
1777byte
1778ACPI header.
1779
1780AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
1781headers),
1782which also adds correct 64-bit support. Also, now all output filenames are
1783completely lower case.
1784
1785AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
1786loading table files. A warning is issued for any such tables. The only
1787exception is an FADT. This also fixes a possible fault when attempting to
1788load
1789non-AML tables. ACPICA BZ 932.
1790
1791AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a
1792missing table terminator could cause a fault when using the -p option.
1793
1794AcpiSrc: Fixed a possible divide-by-zero fault when generating file
1795statistics.
1796
17973) Example Code and Data Size
1798
1799These are the sizes for the OS-independent acpica.lib produced by the
1800Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
1801includes the debug output trace mechanism and has a much larger code and
1802data
1803size.
1804
1805  Previous Release (VC 9.0):
1806    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1807    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1808  Current Release (VC 9.0):
1809    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1810    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1811
1812
1813----------------------------------------
181423 June 2011. Summary of changes for version 20110623:
1815
18161) ACPI CA Core Subsystem:
1817
1818Updated the predefined name repair mechanism to not attempt repair of a
1819_TSS
1820return object if a _PSS object is present. We can only sort the _TSS
1821return
1822package if there is no _PSS within the same scope. This is because if _PSS
1823is
1824present, the ACPI specification dictates that the _TSS Power Dissipation
1825field
1826is to be ignored, and therefore some BIOSs leave garbage values in the
1827_TSS
1828Power field(s). In this case, it is best to just return the _TSS package
1829as-
1830is. Reported by, and fixed with assistance from Fenghua Yu.
1831
1832Added an option to globally disable the control method return value
1833validation
1834and repair. This runtime option can be used to disable return value repair
1835if
1836this is causing a problem on a particular machine. Also added an option to
1837AcpiExec (-dr) to set this disable flag.
1838
1839All makefiles and project files: Major changes to improve generation of
1840ACPICA
1841tools. ACPICA BZ 912:
1842    Reduce default optimization levels to improve compatibility
1843    For Linux, add strict-aliasing=0 for gcc 4
1844    Cleanup and simplify use of command line defines
1845    Cleanup multithread library support
1846    Improve usage messages
1847
1848Linux-specific header: update handling of THREAD_ID and pthread. For the
184932-
1850bit case, improve casting to eliminate possible warnings, especially with
1851the
1852acpica tools.
1853
1854Example Code and Data Size: These are the sizes for the OS-independent
1855acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1856debug
1857version of the code includes the debug output trace mechanism and has a
1858much
1859larger code and data size.
1860
1861  Previous Release (VC 9.0):
1862    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
1863    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1864  Current Release (VC 9.0):
1865    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
1866    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1867
18682) iASL Compiler/Disassembler and Tools:
1869
1870With this release, a new utility named "acpihelp" has been added to the
1871ACPICA
1872package. This utility summarizes the ACPI specification chapters for the
1873ASL
1874and AML languages. It generates under Linux/Unix as well as Windows, and
1875provides the following functionality:
1876    Find/display ASL operator(s) -- with description and syntax.
1877    Find/display ASL keyword(s) -- with exact spelling and descriptions.
1878    Find/display ACPI predefined name(s) -- with description, number
1879        of arguments, and the return value data type.
1880    Find/display AML opcode name(s) -- with opcode, arguments, and
1881grammar.
1882    Decode/display AML opcode -- with opcode name, arguments, and grammar.
1883
1884Service Layers: Make multi-thread support configurable. Conditionally
1885compile
1886the multi-thread support so that threading libraries will not be linked if
1887not
1888necessary. The only tool that requires multi-thread support is AcpiExec.
1889
1890iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
1891of
1892Bison appear to want the interface to yyerror to be a const char * (or at
1893least this is a problem when generating iASL on some systems.) ACPICA BZ
1894923
1895Pierre Lejeune.
1896
1897Tools: Fix for systems where O_BINARY is not defined. Only used for
1898Windows
1899versions of the tools.
1900
1901----------------------------------------
190227 May 2011. Summary of changes for version 20110527:
1903
19041) ACPI CA Core Subsystem:
1905
1906ASL Load() operator: Reinstate most restrictions on the incoming ACPI
1907table
1908signature. Now, only allow SSDT, OEMx, and a null signature. History:
1909    1) Originally, we checked the table signature for "SSDT" or "PSDT".
1910       (PSDT is now obsolete.)
1911    2) We added support for OEMx tables, signature "OEM" plus a fourth
1912       "don't care" character.
1913    3) Valid tables were encountered with a null signature, so we just
1914       gave up on validating the signature, (05/2008).
1915    4) We encountered non-AML tables such as the MADT, which caused
1916       interpreter errors and kernel faults. So now, we once again allow
1917       only SSDT, OEMx, and now, also a null signature. (05/2011).
1918
1919Added the missing _TDL predefined name to the global name list in order to
1920enable validation. Affects both the core ACPICA code and the iASL
1921compiler.
1922
1923Example Code and Data Size: These are the sizes for the OS-independent
1924acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1925debug
1926version of the code includes the debug output trace mechanism and has a
1927much
1928larger code and data size.
1929
1930  Previous Release (VC 9.0):
1931    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
1932    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
1933  Current Release (VC 9.0):
1934    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
1935    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
1936
19372) iASL Compiler/Disassembler and Tools:
1938
1939Debugger/AcpiExec: Implemented support for "complex" method arguments on
1940the
1941debugger command line. This adds support beyond simple integers --
1942including
1943Strings, Buffers, and Packages. Includes support for nested packages.
1944Increased the default command line buffer size to accommodate these
1945arguments.
1946See the ACPICA reference for details and syntax. ACPICA BZ 917.
1947
1948Debugger/AcpiExec: Implemented support for "default" method arguments for
1949the
1950Execute/Debug command. Now, the debugger will always invoke a control
1951method
1952with the required number of arguments -- even if the command line
1953specifies
1954none or insufficient arguments. It uses default integer values for any
1955missing
1956arguments. Also fixes a bug where only six method arguments maximum were
1957supported instead of the required seven.
1958
1959Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
1960and
1961also return status in order to prevent buffer overruns. See the ACPICA
1962reference for details and syntax. ACPICA BZ 921
1963
1964iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
1965makefiles to simplify support for the two different but similar parser
1966generators, bison and yacc.
1967
1968Updated the generic unix makefile for gcc 4. The default gcc version is
1969now
1970expected to be 4 or greater, since options specific to gcc 4 are used.
1971
1972----------------------------------------
197313 April 2011. Summary of changes for version 20110413:
1974
19751) ACPI CA Core Subsystem:
1976
1977Implemented support to execute a so-called "orphan" _REG method under the
1978EC
1979device. This change will force the execution of a _REG method underneath
1980the
1981EC
1982device even if there is no corresponding operation region of type
1983EmbeddedControl. Fixes a problem seen on some machines and apparently is
1984compatible with Windows behavior. ACPICA BZ 875.
1985
1986Added more predefined methods that are eligible for automatic NULL package
1987element removal. This change adds another group of predefined names to the
1988list
1989of names that can be repaired by having NULL package elements dynamically
1990removed. This group are those methods that return a single variable-length
1991package containing simple data types such as integers, buffers, strings.
1992This
1993includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
1994_PSL,
1995_Sx,
1996and _TZD. ACPICA BZ 914.
1997
1998Split and segregated all internal global lock functions to a new file,
1999evglock.c.
2000
2001Updated internal address SpaceID for DataTable regions. Moved this
2002internal
2003space
2004id in preparation for ACPI 5.0 changes that will include some new space
2005IDs.
2006This
2007change should not affect user/host code.
2008
2009Example Code and Data Size: These are the sizes for the OS-independent
2010acpica.lib
2011produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2012version of
2013the code includes the debug output trace mechanism and has a much larger
2014code
2015and
2016data size.
2017
2018  Previous Release (VC 9.0):
2019    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
2020    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
2021  Current Release (VC 9.0):
2022    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
2023    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
2024
20252) iASL Compiler/Disassembler and Tools:
2026
2027iASL/DTC: Major update for new grammar features. Allow generic data types
2028in
2029custom ACPI tables. Field names are now optional. Any line can be split to
2030multiple lines using the continuation char (\). Large buffers now use
2031line-
2032continuation character(s) and no colon on the continuation lines. See the
2033grammar
2034update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
2035Moore.
2036
2037iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
2038statements.
2039Since the parser stuffs a "zero" as the return value for these statements
2040(due
2041to
2042the underlying AML grammar), they were seen as "return with value" by the
2043iASL
2044semantic checking. They are now seen correctly as "null" return
2045statements.
2046
2047iASL: Check if a_REG declaration has a corresponding Operation Region.
2048Adds a
2049check for each _REG to ensure that there is in fact a corresponding
2050operation
2051region declaration in the same scope. If not, the _REG method is not very
2052useful
2053since it probably won't be executed. ACPICA BZ 915.
2054
2055iASL/DTC: Finish support for expression evaluation. Added a new expression
2056parser
2057that implements c-style operator precedence and parenthesization. ACPICA
2058bugzilla
2059908.
2060
2061Disassembler/DTC: Remove support for () and <> style comments in data
2062tables.
2063Now
2064that DTC has full expression support, we don't want to have comment
2065strings
2066that
2067start with a parentheses or a less-than symbol. Now, only the standard /*
2068and
2069//
2070comments are supported, as well as the bracket [] comments.
2071
2072AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
2073"unusual"
2074headers in the acpidump file. Update the header validation to support
2075these
2076tables. Problem introduced in previous AcpiXtract version in the change to
2077support "wrong checksum" error messages emitted by acpidump utility.
2078
2079iASL: Add a * option to generate all template files (as a synonym for ALL)
2080as
2081in
2082"iasl -T *" or "iasl -T ALL".
2083
2084iASL/DTC: Do not abort compiler on fatal errors. We do not want to
2085completely
2086abort the compiler on "fatal" errors, simply should abort the current
2087compile.
2088This allows multiple compiles with a single (possibly wildcard) compiler
2089invocation.
2090
2091----------------------------------------
209216 March 2011. Summary of changes for version 20110316:
2093
20941) ACPI CA Core Subsystem:
2095
2096Fixed a problem caused by a _PRW method appearing at the namespace root
2097scope
2098during the setup of wake GPEs. A fault could occur if a _PRW directly
2099under
2100the
2101root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
2102
2103Implemented support for "spurious" Global Lock interrupts. On some
2104systems, a
2105global lock interrupt can occur without the pending flag being set. Upon a
2106GL
2107interrupt, we now ensure that a thread is actually waiting for the lock
2108before
2109signaling GL availability. Rafael Wysocki, Bob Moore.
2110
2111Example Code and Data Size: These are the sizes for the OS-independent
2112acpica.lib
2113produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2114version of
2115the code includes the debug output trace mechanism and has a much larger
2116code
2117and
2118data size.
2119
2120  Previous Release (VC 9.0):
2121    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2122    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2123  Current Release (VC 9.0):
2124    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
2125    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
2126
21272) iASL Compiler/Disassembler and Tools:
2128
2129Implemented full support for the "SLIC" ACPI table. Includes support in
2130the
2131header files, disassembler, table compiler, and template generator. Bob
2132Moore,
2133Lin Ming.
2134
2135AcpiXtract: Correctly handle embedded comments and messages from AcpiDump.
2136Apparently some or all versions of acpidump will occasionally emit a
2137comment
2138like
2139"Wrong checksum", etc., into the dump file. This was causing problems for
2140AcpiXtract. ACPICA BZ 905.
2141
2142iASL: Fix the Linux makefile by removing an inadvertent double file
2143inclusion.
2144ACPICA BZ 913.
2145
2146AcpiExec: Update installation of operation region handlers. Install one
2147handler
2148for a user-defined address space. This is used by the ASL test suite
2149(ASLTS).
2150
2151----------------------------------------
215211 February 2011. Summary of changes for version 20110211:
2153
21541) ACPI CA Core Subsystem:
2155
2156Added a mechanism to defer _REG methods for some early-installed handlers.
2157Most user handlers should be installed before call to AcpiEnableSubsystem.
2158However, Event handlers and region handlers should be installed after
2159AcpiInitializeObjects. Override handlers for the "default" regions should
2160be
2161installed early, however. This change executes all _REG methods for the
2162default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
2163chicken/egg issues between them. ACPICA BZ 848.
2164
2165Implemented an optimization for GPE detection. This optimization will
2166simply
2167ignore GPE registers that contain no enabled GPEs -- there is no need to
2168read the register since this information is available internally. This
2169becomes more important on machines with a large GPE space. ACPICA bugzilla
2170884. Lin Ming. Suggestion from Joe Liu.
2171
2172Removed all use of the highly unreliable FADT revision field. The revision
2173number in the FADT has been found to be completely unreliable and cannot
2174be
2175trusted. Only the actual table length can be used to infer the version.
2176This
2177change updates the ACPICA core and the disassembler so that both no longer
2178even look at the FADT version and instead depend solely upon the FADT
2179length.
2180
2181Fix an unresolved name issue for the no-debug and no-error-message source
2182generation cases. The _AcpiModuleName was left undefined in these cases,
2183but
2184it is actually needed as a parameter to some interfaces. Define
2185_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
2186
2187Split several large files (makefiles and project files updated)
2188  utglobal.c   -> utdecode.c
2189  dbcomds.c    -> dbmethod.c dbnames.c
2190  dsopcode.c   -> dsargs.c dscontrol.c
2191  dsload.c     -> dsload2.c
2192  aslanalyze.c -> aslbtypes.c aslwalks.c
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
2198a much larger code and data size.
2199
2200  Previous Release (VC 9.0):
2201    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2202    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2203  Current Release (VC 9.0):
2204    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2205    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2206
22072) iASL Compiler/Disassembler and Tools:
2208
2209iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
2210These are useful C-style macros with the standard definitions. ACPICA
2211bugzilla 898.
2212
2213iASL/DTC: Added support for integer expressions and labels. Support for
2214full
2215expressions for all integer fields in all ACPI tables. Support for labels
2216in
2217"generic" portions of tables such as UEFI. See the iASL reference manual.
2218
2219Debugger: Added a command to display the status of global handlers. The
2220"handlers" command will display op region, fixed event, and miscellaneous
2221global handlers. installation status -- and for op regions, whether
2222default
2223or user-installed handler will be used.
2224
2225iASL: Warn if reserved method incorrectly returns a value. Many predefined
2226names are defined such that they do not return a value. If implemented as
2227a
2228method, issue a warning if such a name explicitly returns a value. ACPICA
2229Bugzilla 855.
2230
2231iASL: Added detection of GPE method name conflicts. Detects a conflict
2232where
2233there are two GPE methods of the form _Lxy and _Exy in the same scope.
2234(For
2235example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
2236
2237iASL/DTC: Fixed a couple input scanner issues with comments and line
2238numbers. Comment remover could get confused and miss a comment ending.
2239Fixed
2240a problem with line counter maintenance.
2241
2242iASL/DTC: Reduced the severity of some errors from fatal to error. There
2243is
2244no need to abort on simple errors within a field definition.
2245
2246Debugger: Simplified the output of the help command. All help output now
2247in
2248a single screen, instead of help subcommands. ACPICA Bugzilla 897.
2249
2250----------------------------------------
225112 January 2011. Summary of changes for version 20110112:
2252
22531) ACPI CA Core Subsystem:
2254
2255Fixed a race condition between method execution and namespace walks that
2256can
2257possibly cause a fault. The problem was apparently introduced in version
225820100528 as a result of a performance optimization that reduces the number
2259of
2260namespace walks upon method exit by using the delete_namespace_subtree
2261function instead of the delete_namespace_by_owner function used
2262previously.
2263Bug is a missing namespace lock in the delete_namespace_subtree function.
2264dana.myers@oracle.com
2265
2266Fixed several issues and a possible fault with the automatic "serialized"
2267method support. History: This support changes a method to "serialized" on
2268the
2269fly if the method generates an AE_ALREADY_EXISTS error, indicating the
2270possibility that it cannot handle reentrancy. This fix repairs a couple of
2271issues seen in the field, especially on machines with many cores:
2272
2273    1) Delete method children only upon the exit of the last thread,
2274       so as to not delete objects out from under other running threads
2275      (and possibly causing a fault.)
2276    2) Set the "serialized" bit for the method only upon the exit of the
2277       Last thread, so as to not cause deadlock when running threads
2278       attempt to exit.
2279    3) Cleanup the use of the AML "MethodFlags" and internal method flags
2280       so that there is no longer any confusion between the two.
2281
2282    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
2283
2284Debugger: Now lock the namespace for duration of a namespace dump.
2285Prevents
2286issues if the namespace is changing dynamically underneath the debugger.
2287Especially affects temporary namespace nodes, since the debugger displays
2288these also.
2289
2290Updated the ordering of include files. The ACPICA headers should appear
2291before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
2292set
2293any necessary compiler-specific defines, etc. Affects the ACPI-related
2294tools
2295and utilities.
2296
2297Updated all ACPICA copyrights and signons to 2011. Added the 2011
2298copyright
2299to all module headers and signons, including the Linux header. This
2300affects
2301virtually every file in the ACPICA core subsystem, iASL compiler, and all
2302utilities.
2303
2304Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
2305project files for VC++ 6.0 are now obsolete. New project files can be
2306found
2307under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
2308details.
2309
2310Example Code and Data Size: These are the sizes for the OS-independent
2311acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2312debug version of the code includes the debug output trace mechanism and
2313has a
2314much larger code and data size.
2315
2316  Previous Release (VC 6.0):
2317    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2318    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2319  Current Release (VC 9.0):
2320    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2321    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2322
23232) iASL Compiler/Disassembler and Tools:
2324
2325iASL: Added generic data types to the Data Table compiler. Add "generic"
2326data
2327types such as UINT32, String, Unicode, etc., to simplify the generation of
2328platform-defined tables such as UEFI. Lin Ming.
2329
2330iASL: Added listing support for the Data Table Compiler. Adds listing
2331support
2332(-l) to display actual binary output for each line of input code.
2333
2334----------------------------------------
233509 December 2010. Summary of changes for version 20101209:
2336
23371) ACPI CA Core Subsystem:
2338
2339Completed the major overhaul of the GPE support code that was begun in
2340July
23412010. Major features include: removal of _PRW execution in ACPICA (host
2342executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
2343changes to existing interfaces, simplification of GPE handler operation,
2344and
2345a handful of new interfaces:
2346
2347    AcpiUpdateAllGpes
2348    AcpiFinishGpe
2349    AcpiSetupGpeForWake
2350    AcpiSetGpeWakeMask
2351    One new file, evxfgpe.c to consolidate all external GPE interfaces.
2352
2353See the ACPICA Programmer Reference for full details and programming
2354information. See the new section 4.4 "General Purpose Event (GPE) Support"
2355for a full overview, and section 8.7 "ACPI General Purpose Event
2356Management"
2357for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming,
2358Bob Moore, Rafael Wysocki.
2359
2360Implemented a new GPE feature for Windows compatibility, the "Implicit
2361Wake
2362GPE Notify". This feature will automatically issue a Notify(2) on a device
2363when a Wake GPE is received if there is no corresponding GPE method or
2364handler. ACPICA BZ 870.
2365
2366Fixed a problem with the Scope() operator during table parse and load
2367phase.
2368During load phase (table load or method execution), the scope operator
2369should
2370not enter the target into the namespace. Instead, it should open a new
2371scope
2372at the target location. Linux BZ 19462, ACPICA BZ 882.
2373
2374Example Code and Data Size: These are the sizes for the OS-independent
2375acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2376debug version of the code includes the debug output trace mechanism and
2377has a
2378much larger code and data size.
2379
2380  Previous Release:
2381    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2382    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2383  Current Release:
2384    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2385    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2386
23872) iASL Compiler/Disassembler and Tools:
2388
2389iASL: Relax the alphanumeric restriction on _CID strings. These strings
2390are
2391"bus-specific" per the ACPI specification, and therefore any characters
2392are
2393acceptable. The only checks that can be performed are for a null string
2394and
2395perhaps for a leading asterisk. ACPICA BZ 886.
2396
2397iASL: Fixed a problem where a syntax error that caused a premature EOF
2398condition on the source file emitted a very confusing error message. The
2399premature EOF is now detected correctly. ACPICA BZ 891.
2400
2401Disassembler: Decode the AccessSize within a Generic Address Structure
2402(byte
2403access, word access, etc.) Note, this field does not allow arbitrary bit
2404access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
2405
2406New: AcpiNames utility - Example namespace dump utility. Shows an example
2407of
2408ACPICA configuration for a minimal namespace dump utility. Uses table and
2409namespace managers, but no AML interpreter. Does not add any functionality
2410over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
2411partition and configure ACPICA. ACPICA BZ 883.
2412
2413AML Debugger: Increased the debugger buffer size for method return
2414objects.
2415Was 4K, increased to 16K. Also enhanced error messages for debugger method
2416execution, including the buffer overflow case.
2417
2418----------------------------------------
241913 October 2010. Summary of changes for version 20101013:
2420
24211) ACPI CA Core Subsystem:
2422
2423Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
2424now
2425clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
2426HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
2427
2428Changed the type of the predefined namespace object _TZ from ThermalZone
2429to
2430Device. This was found to be confusing to the host software that processes
2431the various thermal zones, since _TZ is not really a ThermalZone. However,
2432a
2433Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
2434Zhang.
2435
2436Added Windows Vista SP2 to the list of supported _OSI strings. The actual
2437string is "Windows 2006 SP2".
2438
2439Eliminated duplicate code in AcpiUtExecute* functions. Now that the
2440nsrepair
2441code automatically repairs _HID-related strings, this type of code is no
2442longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
2443
2444Example Code and Data Size: These are the sizes for the OS-independent
2445acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2446debug version of the code includes the debug output trace mechanism and
2447has a
2448much larger code and data size.
2449
2450  Previous Release:
2451    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2452    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2453  Current Release:
2454    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2455    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2456
24572) iASL Compiler/Disassembler and Tools:
2458
2459iASL: Implemented additional compile-time validation for _HID strings. The
2460non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length
2461of
2462the string must be exactly seven or eight characters. For both _HID and
2463_CID
2464strings, all characters must be alphanumeric. ACPICA BZ 874.
2465
2466iASL: Allow certain "null" resource descriptors. Some BIOS code creates
2467descriptors that are mostly or all zeros, with the expectation that they
2468will
2469be filled in at runtime. iASL now allows this as long as there is a
2470"resource
2471tag" (name) associated with the descriptor, which gives the ASL a handle
2472needed to modify the descriptor. ACPICA BZ 873.
2473
2474Added single-thread support to the generic Unix application OSL. Primarily
2475for iASL support, this change removes the use of semaphores in the single-
2476threaded ACPICA tools/applications - increasing performance. The
2477_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
2478option. ACPICA BZ 879.
2479
2480AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
2481support
2482for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
2483
2484iASL: Moved all compiler messages to a new file, aslmessages.h.
2485
2486----------------------------------------
248715 September 2010. Summary of changes for version 20100915:
2488
24891) ACPI CA Core Subsystem:
2490
2491Removed the AcpiOsDerivePciId OSL interface. The various host
2492implementations
2493of this function were not OS-dependent and are now obsolete and can be
2494removed from all host OSLs. This function has been replaced by
2495AcpiHwDerivePciId, which is now part of the ACPICA core code.
2496AcpiHwDerivePciId has been implemented without recursion. Adds one new
2497module, hwpci.c. ACPICA BZ 857.
2498
2499Implemented a dynamic repair for _HID and _CID strings. The following
2500problems are now repaired at runtime: 1) Remove a leading asterisk in the
2501string, and 2) the entire string is uppercased. Both repairs are in
2502accordance with the ACPI specification and will simplify host driver code.
2503ACPICA BZ 871.
2504
2505The ACPI_THREAD_ID type is no longer configurable, internally it is now
2506always UINT64. This simplifies the ACPICA code, especially any printf
2507output.
2508UINT64 is the only common data type for all thread_id types across all
2509operating systems. It is now up to the host OSL to cast the native
2510thread_id
2511type to UINT64 before returning the value to ACPICA (via
2512AcpiOsGetThreadId).
2513Lin Ming, Bob Moore.
2514
2515Added the ACPI_INLINE type to enhance the ACPICA configuration. The
2516"inline"
2517keyword is not standard across compilers, and this type allows inline to
2518be
2519configured on a per-compiler basis. Lin Ming.
2520
2521Made the system global AcpiGbl_SystemAwakeAndRunning publically available.
2522Added an extern for this boolean in acpixf.h. Some hosts utilize this
2523value
2524during suspend/restore operations. ACPICA BZ 869.
2525
2526All code that implements error/warning messages with the "ACPI:" prefix
2527has
2528been moved to a new module, utxferror.c.
2529
2530The UINT64_OVERLAY was moved to utmath.c, which is the only module where
2531it
2532is used. ACPICA BZ 829. Lin Ming, Bob Moore.
2533
2534Example Code and Data Size: These are the sizes for the OS-independent
2535acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2536debug version of the code includes the debug output trace mechanism and
2537has a
2538much larger code and data size.
2539
2540  Previous Release:
2541    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2542    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2543  Current Release:
2544    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2545    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2546
25472) iASL Compiler/Disassembler and Tools:
2548
2549iASL/Disassembler: Write ACPI errors to stderr instead of the output file.
2550This keeps the output files free of random error messages that may
2551originate
2552from within the namespace/interpreter code. Used this opportunity to merge
2553all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
2554866. Lin Ming, Bob Moore.
2555
2556Tools: update some printfs for ansi warnings on size_t. Handle width
2557change
2558of size_t on 32-bit versus 64-bit generations. Lin Ming.
2559
2560----------------------------------------
256106 August 2010. Summary of changes for version 20100806:
2562
25631) ACPI CA Core Subsystem:
2564
2565Designed and implemented a new host interface to the _OSI support code.
2566This
2567will allow the host to dynamically add or remove multiple _OSI strings, as
2568well as install an optional handler that is called for each _OSI
2569invocation.
2570Also added a new AML debugger command, 'osi' to display and modify the
2571global
2572_OSI string table, and test support in the AcpiExec utility. See the
2573ACPICA
2574reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
2575New Functions:
2576    AcpiInstallInterface - Add an _OSI string.
2577    AcpiRemoveInterface - Delete an _OSI string.
2578    AcpiInstallInterfaceHandler - Install optional _OSI handler.
2579Obsolete Functions:
2580    AcpiOsValidateInterface - no longer used.
2581New Files:
2582    source/components/utilities/utosi.c
2583
2584Re-introduced the support to enable multi-byte transfers for Embedded
2585Controller (EC) operation regions. A reported problem was found to be a
2586bug
2587in the host OS, not in the multi-byte support. Previously, the maximum
2588data
2589size passed to the EC operation region handler was a single byte. There
2590are
2591often EC Fields larger than one byte that need to be transferred, and it
2592is
2593useful for the EC driver to lock these as a single transaction. This
2594change
2595enables single transfers larger than 8 bits. This effectively changes the
2596access to the EC space from ByteAcc to AnyAcc, and will probably require
2597changes to the host OS Embedded Controller driver to enable 16/32/64/256-
2598bit
2599transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
2600
2601Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
2602prototype in acpiosxf.h had the output value pointer as a (void *).
2603It should be a (UINT64 *). This may affect some host OSL code.
2604
2605Fixed a couple problems with the recently modified Linux makefiles for
2606iASL
2607and AcpiExec. These new makefiles place the generated object files in the
2608local directory so that there can be no collisions between the files that
2609are
2610shared between them that are compiled with different options.
2611
2612Example Code and Data Size: These are the sizes for the OS-independent
2613acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2614debug version of the code includes the debug output trace mechanism and
2615has a
2616much larger code and data size.
2617
2618  Previous Release:
2619    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2620    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2621  Current Release:
2622    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2623    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2624
26252) iASL Compiler/Disassembler and Tools:
2626
2627iASL/Disassembler: Added a new option (-da, "disassemble all") to load the
2628namespace from and disassemble an entire group of AML files. Useful for
2629loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
2630and
2631disassembling with one simple command. ACPICA BZ 865. Lin Ming.
2632
2633iASL: Allow multiple invocations of -e option. This change allows multiple
2634uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
2635834.
2636Lin Ming.
2637
2638----------------------------------------
263902 July 2010. Summary of changes for version 20100702:
2640
26411) ACPI CA Core Subsystem:
2642
2643Implemented several updates to the recently added GPE reference count
2644support. The model for "wake" GPEs is changing to give the host OS
2645complete
2646control of these GPEs. Eventually, the ACPICA core will not execute any
2647_PRW
2648methods, since the host already must execute them. Also, additional
2649changes
2650were made to help ensure that the reference counts are kept in proper
2651synchronization with reality. Rafael J. Wysocki.
2652
26531) Ensure that GPEs are not enabled twice during initialization.
26542) Ensure that GPE enable masks stay in sync with the reference count.
26553) Do not inadvertently enable GPEs when writing GPE registers.
26564) Remove the internal wake reference counter and add new AcpiGpeWakeup
2657interface. This interface will set or clear individual GPEs for wakeup.
26585) Remove GpeType argument from AcpiEnable and AcpiDisable. These
2659interfaces
2660are now used for "runtime" GPEs only.
2661
2662Changed the behavior of the GPE install/remove handler interfaces. The GPE
2663is
2664no longer disabled during this process, as it was found to cause problems
2665on
2666some machines. Rafael J. Wysocki.
2667
2668Reverted a change introduced in version 20100528 to enable Embedded
2669Controller multi-byte transfers. This change was found to cause problems
2670with
2671Index Fields and possibly Bank Fields. It will be reintroduced when these
2672problems have been resolved.
2673
2674Fixed a problem with references to Alias objects within Package Objects. A
2675reference to an Alias within the definition of a Package was not always
2676resolved properly. Aliases to objects like Processors, Thermal zones, etc.
2677were resolved to the actual object instead of a reference to the object as
2678it
2679should be. Package objects are only allowed to contain integer, string,
2680buffer, package, and reference objects. Redhat bugzilla 608648.
2681
2682Example Code and Data Size: These are the sizes for the OS-independent
2683acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2684debug version of the code includes the debug output trace mechanism and
2685has a
2686much larger code and data size.
2687
2688  Previous Release:
2689    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2690    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
2691  Current Release:
2692    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2693    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2694
26952) iASL Compiler/Disassembler and Tools:
2696
2697iASL: Implemented a new compiler subsystem to allow definition and
2698compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
2699These
2700are called "ACPI Data Tables", and the new compiler is the "Data Table
2701Compiler". This compiler is intended to simplify the existing error-prone
2702process of creating these tables for the BIOS, as well as allowing the
2703disassembly, modification, recompilation, and override of existing ACPI
2704data
2705tables. See the iASL User Guide for detailed information.
2706
2707iASL: Implemented a new Template Generator option in support of the new
2708Data
2709Table Compiler. This option will create examples of all known ACPI tables
2710that can be used as the basis for table development. See the iASL
2711documentation and the -T option.
2712
2713Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
2714Descriptor Table).
2715
2716Updated the Linux makefiles for iASL and AcpiExec to place the generated
2717object files in the local directory so that there can be no collisions
2718between the shared files between them that are generated with different
2719options.
2720
2721Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use
2722the #define __APPLE__ to enable this support.
2723
2724----------------------------------------
272528 May 2010. Summary of changes for version 20100528:
2726
2727Note: The ACPI 4.0a specification was released on April 5, 2010 and is
2728available at www.acpi.info. This is primarily an errata release.
2729
27301) ACPI CA Core Subsystem:
2731
2732Undefined ACPI tables: We are looking for the definitions for the
2733following
2734ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
2735
2736Implemented support to enable multi-byte transfers for Embedded Controller
2737(EC) operation regions. Previously, the maximum data size passed to the EC
2738operation region handler was a single byte. There are often EC Fields
2739larger
2740than one byte that need to be transferred, and it is useful for the EC
2741driver
2742to lock these as a single transaction. This change enables single
2743transfers
2744larger than 8 bits. This effectively changes the access to the EC space
2745from
2746ByteAcc to AnyAcc, and will probably require changes to the host OS
2747Embedded
2748Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
2749bit
2750transfers. Alexey Starikovskiy, Lin Ming
2751
2752Implemented a performance enhancement for namespace search and access.
2753This
2754change enhances the performance of namespace searches and walks by adding
2755a
2756backpointer to the parent in each namespace node. On large namespaces,
2757this
2758change can improve overall ACPI performance by up to 9X. Adding a pointer
2759to
2760each namespace node increases the overall size of the internal namespace
2761by
2762about 5%, since each namespace entry usually consists of both a namespace
2763node and an ACPI operand object. However, this is the first growth of the
2764namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
2765
2766Implemented a performance optimization that reduces the number of
2767namespace
2768walks. On control method exit, only walk the namespace if the method is
2769known
2770to have created namespace objects outside of its local scope. Previously,
2771the
2772entire namespace was traversed on each control method exit. This change
2773can
2774improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
2775Moore.
2776
2777Added support to truncate I/O addresses to 16 bits for Windows
2778compatibility.
2779Some ASL code has been seen in the field that inadvertently has bits set
2780above bit 15. This feature is optional and is enabled if the BIOS requests
2781any Windows OSI strings. It can also be enabled by the host OS. Matthew
2782Garrett, Bob Moore.
2783
2784Added support to limit the maximum time for the ASL Sleep() operator. To
2785prevent accidental deep sleeps, limit the maximum time that Sleep() will
2786actually sleep. Configurable, the default maximum is two seconds. ACPICA
2787bugzilla 854.
2788
2789Added run-time validation support for the _WDG and_WED Microsoft
2790predefined
2791methods. These objects are defined by "Windows Instrumentation", and are
2792not
2793part of the ACPI spec. ACPICA BZ 860.
2794
2795Expanded all statistic counters used during namespace and device
2796initialization from 16 to 32 bits in order to support very large
2797namespaces.
2798
2799Replaced all instances of %d in printf format specifiers with %u since
2800nearly
2801all integers in ACPICA are unsigned.
2802
2803Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
2804returned
2805as AE_NO_HANDLER.
2806
2807Example Code and Data Size: These are the sizes for the OS-independent
2808acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2809debug version of the code includes the debug output trace mechanism and
2810has a
2811much larger code and data size.
2812
2813  Previous Release:
2814    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
2815    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
2816  Current Release:
2817    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2818    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
2819
28202) iASL Compiler/Disassembler and Tools:
2821
2822iASL: Added compiler support for the _WDG and_WED Microsoft predefined
2823methods. These objects are defined by "Windows Instrumentation", and are
2824not
2825part of the ACPI spec. ACPICA BZ 860.
2826
2827AcpiExec: added option to disable the memory tracking mechanism. The -dt
2828option will disable the tracking mechanism, which improves performance
2829considerably.
2830
2831AcpiExec: Restructured the command line options into -d (disable) and -e
2832(enable) options.
2833
2834----------------------------------------
283528 April 2010. Summary of changes for version 20100428:
2836
28371) ACPI CA Core Subsystem:
2838
2839Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
2840including FADT-based and GPE Block Devices, execute any _PRW methods in
2841the
2842new table, and process any _Lxx/_Exx GPE methods in the new table. Any
2843runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
2844immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
2845Devices. Provides compatibility with other ACPI implementations. Two new
2846files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
2847Moore.
2848
2849Fixed a regression introduced in version 20100331 within the table manager
2850where initial table loading could fail. This was introduced in the fix for
2851AcpiReallocateRootTable. Also, renamed some of fields in the table manager
2852data structures to clarify their meaning and use.
2853
2854Fixed a possible allocation overrun during internal object copy in
2855AcpiUtCopySimpleObject. The original code did not correctly handle the
2856case
2857where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
2858847.
2859
2860Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
2861possible access beyond end-of-allocation. Also, now fully validate
2862descriptor
2863(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
2864
2865Example Code and Data Size: These are the sizes for the OS-independent
2866acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2867debug version of the code includes the debug output trace mechanism and
2868has a
2869much larger code and data size.
2870
2871  Previous Release:
2872    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
2873    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
2874  Current Release:
2875    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
2876    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
2877
28782) iASL Compiler/Disassembler and Tools:
2879
2880iASL: Implemented Min/Max/Len/Gran validation for address resource
2881descriptors. This change implements validation for the address fields that
2882are common to all address-type resource descriptors. These checks are
2883implemented: Checks for valid Min/Max, length within the Min/Max window,
2884valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per
2885table 6-40 in the ACPI 4.0a specification. Also split the large
2886aslrestype1.c
2887and aslrestype2.c files into five new files. ACPICA BZ 840.
2888
2889iASL: Added support for the _Wxx predefined names. This support was
2890missing
2891and these names were not recognized by the compiler as valid predefined
2892names. ACPICA BZ 851.
2893
2894iASL: Added an error for all predefined names that are defined to return
2895no
2896value and thus must be implemented as Control Methods. These include all
2897of
2898the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
2899names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
2900
2901iASL: Implemented the -ts option to emit hex AML data in ASL format, as an
2902ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
2903be
2904dynamically loaded via the Load() operator. Also cleaned up output for the
2905-
2906ta and -tc options. ACPICA BZ 853.
2907
2908Tests: Added a new file with examples of extended iASL error checking.
2909Demonstrates the advanced error checking ability of the iASL compiler.
2910Available at tests/misc/badcode.asl.
2911
2912----------------------------------------
291331 March 2010. Summary of changes for version 20100331:
2914
29151) ACPI CA Core Subsystem:
2916
2917Completed a major update for the GPE support in order to improve support
2918for
2919shared GPEs and to simplify both host OS and ACPICA code. Added a
2920reference
2921count mechanism to support shared GPEs that require multiple device
2922drivers.
2923Several external interfaces have changed. One external interface has been
2924removed. One new external interface was added. Most of the GPE external
2925interfaces now use the GPE spinlock instead of the events mutex (and the
2926Flags parameter for many GPE interfaces has been removed.) See the updated
2927ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
2928Rafael
2929Wysocki. ACPICA BZ 831.
2930
2931Changed:
2932    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
2933Removed:
2934    AcpiSetGpeType
2935New:
2936    AcpiSetGpe
2937
2938Implemented write support for DataTable operation regions. These regions
2939are
2940defined via the DataTableRegion() operator. Previously, only read support
2941was
2942implemented. The ACPI specification allows DataTableRegions to be
2943read/write,
2944however.
2945
2946Implemented a new subsystem option to force a copy of the DSDT to local
2947memory. Optionally copy the entire DSDT to local memory (instead of simply
2948mapping it.) There are some (albeit very rare) BIOSs that corrupt or
2949replace
2950the original DSDT, creating the need for this option. Default is FALSE, do
2951not copy the DSDT.
2952
2953Implemented detection of a corrupted or replaced DSDT. This change adds
2954support to detect a DSDT that has been corrupted and/or replaced from
2955outside
2956the OS (by firmware). This is typically catastrophic for the system, but
2957has
2958been seen on some machines. Once this problem has been detected, the DSDT
2959copy option can be enabled via system configuration. Lin Ming, Bob Moore.
2960
2961Fixed two problems with AcpiReallocateRootTable during the root table
2962copy.
2963When copying the root table to the new allocation, the length used was
2964incorrect. The new size was used instead of the current table size,
2965meaning
2966too much data was copied. Also, the count of available slots for ACPI
2967tables
2968was not set correctly. Alexey Starikovskiy, Bob Moore.
2969
2970Example Code and Data Size: These are the sizes for the OS-independent
2971acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2972debug version of the code includes the debug output trace mechanism and
2973has a
2974much larger code and data size.
2975
2976  Previous Release:
2977    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
2978    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
2979  Current Release:
2980    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
2981    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
2982
29832) iASL Compiler/Disassembler and Tools:
2984
2985iASL: Implement limited typechecking for values returned from predefined
2986control methods. The type of any returned static (unnamed) object is now
2987validated. For example, Return(1). ACPICA BZ 786.
2988
2989iASL: Fixed a predefined name object verification regression. Fixes a
2990problem
2991introduced in version 20100304. An error is incorrectly generated if a
2992predefined name is declared as a static named object with a value defined
2993using the keywords "Zero", "One", or "Ones". Lin Ming.
2994
2995iASL: Added Windows 7 support for the -g option (get local ACPI tables) by
2996reducing the requested registry access rights. ACPICA BZ 842.
2997
2998Disassembler: fixed a possible fault when generating External()
2999statements.
3000Introduced in commit ae7d6fd: Properly handle externals with parent-prefix
3001(carat). Fixes a string length allocation calculation. Lin Ming.
3002
3003----------------------------------------
300404 March 2010. Summary of changes for version 20100304:
3005
30061) ACPI CA Core Subsystem:
3007
3008Fixed a possible problem with the AML Mutex handling function
3009AcpiExReleaseMutex where the function could fault under the very rare
3010condition when the interpreter has blocked, the interpreter lock is
3011released,
3012the interpreter is then reentered via the same thread, and attempts to
3013acquire an AML mutex that was previously acquired. FreeBSD report 140979.
3014Lin
3015Ming.
3016
3017Implemented additional configuration support for the AML "Debug Object".
3018Output from the debug object can now be enabled via a global variable,
3019AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
3020debugging.
3021This debug output is now available in the release version of ACPICA
3022instead
3023of just the debug version. Also, the entire debug output module can now be
3024configured out of the ACPICA build if desired. One new file added,
3025executer/exdebug.c. Lin Ming, Bob Moore.
3026
3027Added header support for the ACPI MCHI table (Management Controller Host
3028Interface Table). This table was added in ACPI 4.0, but the defining
3029document
3030has only recently become available.
3031
3032Standardized output of integer values for ACPICA warnings/errors. Always
3033use
30340x prefix for hex output, always use %u for unsigned integer decimal
3035output.
3036Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400
3037invocations.) These invocations were converted from the original
3038ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
3039
3040Example Code and Data Size: These are the sizes for the OS-independent
3041acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3042debug version of the code includes the debug output trace mechanism and
3043has a
3044much larger code and data size.
3045
3046  Previous Release:
3047    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
3048    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
3049  Current Release:
3050    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
3051    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
3052
30532) iASL Compiler/Disassembler and Tools:
3054
3055iASL: Implemented typechecking support for static (non-control method)
3056predefined named objects that are declared with the Name() operator. For
3057example, the type of this object is now validated to be of type Integer:
3058Name(_BBN, 1). This change migrates the compiler to using the core
3059predefined
3060name table instead of maintaining a local version. Added a new file,
3061aslpredef.c. ACPICA BZ 832.
3062
3063Disassembler: Added support for the ACPI 4.0 MCHI table.
3064
3065----------------------------------------
306621 January 2010. Summary of changes for version 20100121:
3067
30681) ACPI CA Core Subsystem:
3069
3070Added the 2010 copyright to all module headers and signons. This affects
3071virtually every file in the ACPICA core subsystem, the iASL compiler, the
3072tools/utilities, and the test suites.
3073
3074Implemented a change to the AcpiGetDevices interface to eliminate
3075unnecessary
3076invocations of the _STA method. In the case where a specific _HID is
3077requested, do not run _STA until a _HID match is found. This eliminates
3078potentially dozens of _STA calls during a search for a particular
3079device/HID,
3080which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
3081
3082Implemented an additional repair for predefined method return values.
3083Attempt
3084to repair unexpected NULL elements within returned Package objects. Create
3085an
3086Integer of value zero, a NULL String, or a zero-length Buffer as
3087appropriate.
3088ACPICA BZ 818. Lin Ming, Bob Moore.
3089
3090Removed the obsolete ACPI_INTEGER data type. This type was introduced as
3091the
3092code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
3093(with
309464-bit AML integers). It is now obsolete and this change removes it from
3095the
3096ACPICA code base, replaced by UINT64. The original typedef has been
3097retained
3098for now for compatibility with existing device driver code. ACPICA BZ 824.
3099
3100Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in
3101the parse tree object.
3102
3103Added additional warning options for the gcc-4 generation. Updated the
3104source
3105accordingly. This includes some code restructuring to eliminate
3106unreachable
3107code, elimination of some gotos, elimination of unused return values, some
3108additional casting, and removal of redundant declarations.
3109
3110Example Code and Data Size: These are the sizes for the OS-independent
3111acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3112debug version of the code includes the debug output trace mechanism and
3113has a
3114much larger code and data size.
3115
3116  Previous Release:
3117    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
3118    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
3119  Current Release:
3120    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
3121    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
3122
31232) iASL Compiler/Disassembler and Tools:
3124
3125No functional changes for this release.
3126
3127----------------------------------------
312814 December 2009. Summary of changes for version 20091214:
3129
31301) ACPI CA Core Subsystem:
3131
3132Enhanced automatic data type conversions for predefined name repairs. This
3133change expands the automatic repairs/conversions for predefined name
3134return
3135values to make Integers, Strings, and Buffers fully interchangeable. Also,
3136a
3137Buffer can be converted to a Package of Integers if necessary. The
3138nsrepair.c
3139module was completely restructured. Lin Ming, Bob Moore.
3140
3141Implemented automatic removal of null package elements during predefined
3142name
3143repairs. This change will automatically remove embedded and trailing NULL
3144package elements from returned package objects that are defined to contain
3145a
3146variable number of sub-packages. The driver is then presented with a
3147package
3148with no null elements to deal with. ACPICA BZ 819.
3149
3150Implemented a repair for the predefined _FDE and _GTM names. The expected
3151return value for both names is a Buffer of 5 DWORDs. This repair fixes two
3152possible problems (both seen in the field), where a package of integers is
3153returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
3154Kim.
3155
3156Implemented additional module-level code support. This change will
3157properly
3158execute module-level code that is not at the root of the namespace (under
3159a
3160Device object, etc.). Now executes the code within the current scope
3161instead
3162of the root. ACPICA BZ 762. Lin Ming.
3163
3164Fixed possible mutex acquisition errors when running _REG methods. Fixes a
3165problem where mutex errors can occur when running a _REG method that is in
3166the same scope as a method-defined operation region or an operation region
3167under a module-level IF block. This type of code is rare, so the problem
3168has
3169not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
3170
3171Fixed a possible memory leak during module-level code execution. An object
3172could be leaked for each block of executed module-level code if the
3173interpreter slack mode is enabled This change deletes any implicitly
3174returned
3175object from the module-level code block. Lin Ming.
3176
3177Removed messages for successful predefined repair(s). The repair mechanism
3178was considered too wordy. Now, messages are only unconditionally emitted
3179if
3180the return object cannot be repaired. Existing messages for successful
3181repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
3182827.
3183
3184Example Code and Data Size: These are the sizes for the OS-independent
3185acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3186debug version of the code includes the debug output trace mechanism and
3187has a
3188much larger code and data size.
3189
3190  Previous Release:
3191    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3192    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3193  Current Release:
3194    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
3195    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
3196
31972) iASL Compiler/Disassembler and Tools:
3198
3199iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
3200files
3201were no longer automatically removed at the termination of the compile.
3202
3203acpiexec: Implemented the -f option to specify default region fill value.
3204This option specifies the value used to initialize buffers that simulate
3205operation regions. Default value is zero. Useful for debugging problems
3206that
3207depend on a specific initial value for a region or field.
3208
3209----------------------------------------
321012 November 2009. Summary of changes for version 20091112:
3211
32121) ACPI CA Core Subsystem:
3213
3214Implemented a post-order callback to AcpiWalkNamespace. The existing
3215interface only has a pre-order callback. This change adds an additional
3216parameter for a post-order callback which will be more useful for bus
3217scans.
3218ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
3219
3220Modified the behavior of the operation region memory mapping cache for
3221SystemMemory. Ensure that the memory mappings created for operation
3222regions
3223do not cross 4K page boundaries. Crossing a page boundary while mapping
3224regions can cause kernel warnings on some hosts if the pages have
3225different
3226attributes. Such regions are probably BIOS bugs, and this is the
3227workaround.
3228Linux BZ 14445. Lin Ming.
3229
3230Implemented an automatic repair for predefined methods that must return
3231sorted lists. This change will repair (by sorting) packages returned by
3232_ALR,
3233_PSS, and _TSS. Drivers can now assume that the packages are correctly
3234sorted
3235and do not contain NULL package elements. Adds one new file,
3236namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
3237
3238Fixed a possible fault during predefined name validation if a return
3239Package
3240object contains NULL elements. Also adds a warning if a NULL element is
3241followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
3242may
3243include repair or removal of all such NULL elements where possible.
3244
3245Implemented additional module-level executable AML code support. This
3246change
3247will execute module-level code that is not at the root of the namespace
3248(under a Device object, etc.) at table load time. Module-level executable
3249AML
3250code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
3251
3252Implemented a new internal function to create Integer objects. This
3253function
3254simplifies miscellaneous object creation code. ACPICA BZ 823.
3255
3256Reduced the severity of predefined repair messages, Warning to Info. Since
3257the object was successfully repaired, a warning is too severe. Reduced to
3258an
3259info message for now. These messages may eventually be changed to debug-
3260only.
3261ACPICA BZ 812.
3262
3263Example Code and Data Size: These are the sizes for the OS-independent
3264acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3265debug version of the code includes the debug output trace mechanism and
3266has a
3267much larger code and data size.
3268
3269  Previous Release:
3270    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3271    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3272  Current Release:
3273    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3274    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3275
32762) iASL Compiler/Disassembler and Tools:
3277
3278iASL: Implemented Switch() with While(1) so that Break works correctly.
3279This
3280change correctly implements the Switch operator with a surrounding
3281While(1)
3282so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
3283
3284iASL: Added a message if a package initializer list is shorter than
3285package
3286length. Adds a new remark for a Package() declaration if an initializer
3287list
3288exists, but is shorter than the declared length of the package. Although
3289technically legal, this is probably a coding error and it is seen in the
3290field. ACPICA BZ 815. Lin Ming, Bob Moore.
3291
3292iASL: Fixed a problem where the compiler could fault after the maximum
3293number
3294of errors was reached (200).
3295
3296acpixtract: Fixed a possible warning for pointer cast if the compiler
3297warning
3298level set very high.
3299
3300----------------------------------------
330113 October 2009. Summary of changes for version 20091013:
3302
33031) ACPI CA Core Subsystem:
3304
3305Fixed a problem where an Operation Region _REG method could be executed
3306more
3307than once. If a custom address space handler is installed by the host
3308before
3309the "initialize operation regions" phase of the ACPICA initialization, any
3310_REG methods for that address space could be executed twice. This change
3311fixes the problem. ACPICA BZ 427. Lin Ming.
3312
3313Fixed a possible memory leak for the Scope() ASL operator. When the exact
3314invocation of "Scope(\)" is executed (change scope to root), one internal
3315operand object was leaked. Lin Ming.
3316
3317Implemented a run-time repair for the _MAT predefined method. If the _MAT
3318return value is defined as a Field object in the AML, and the field
3319size is less than or equal to the default width of an integer (32 or
332064),_MAT
3321can incorrectly return an Integer instead of a Buffer. ACPICA now
3322automatically repairs this problem. ACPICA BZ 810.
3323
3324Implemented a run-time repair for the _BIF and _BIX predefined methods.
3325The
3326"OEM Information" field is often incorrectly returned as an Integer with
3327value zero if the field is not supported by the platform. This is due to
3328an
3329ambiguity in the ACPI specification. The field should always be a string.
3330ACPICA now automatically repairs this problem by returning a NULL string
3331within the returned Package. ACPICA BZ 807.
3332
3333Example Code and Data Size: These are the sizes for the OS-independent
3334acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3335debug version of the code includes the debug output trace mechanism and
3336has a
3337much larger code and data size.
3338
3339  Previous Release:
3340    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3341    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3342  Current Release:
3343    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3344    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3345
33462) iASL Compiler/Disassembler and Tools:
3347
3348Disassembler: Fixed a problem where references to external symbols that
3349contained one or more parent-prefixes (carats) were not handled correctly,
3350possibly causing a fault. ACPICA BZ 806. Lin Ming.
3351
3352Disassembler: Restructured the code so that all functions that handle
3353external symbols are in a single module. One new file is added,
3354common/dmextern.c.
3355
3356AML Debugger: Added a max count argument for the Batch command (which
3357executes multiple predefined methods within the namespace.)
3358
3359iASL: Updated the compiler documentation (User Reference.) Available at
3360http://www.acpica.org/documentation/. ACPICA BZ 750.
3361
3362AcpiXtract: Updated for Lint and other formatting changes. Close all open
3363files.
3364
3365----------------------------------------
336603 September 2009. Summary of changes for version 20090903:
3367
33681) ACPI CA Core Subsystem:
3369
3370For Windows Vista compatibility, added the automatic execution of an _INI
3371method located at the namespace root (\_INI). This method is executed at
3372table load time. This support is in addition to the automatic execution of
3373\_SB._INI. Lin Ming.
3374
3375Fixed a possible memory leak in the interpreter for AML package objects if
3376the package initializer list is longer than the defined size of the
3377package.
3378This apparently can only happen if the BIOS changes the package size on
3379the
3380fly (seen in a _PSS object), as ASL compilers do not allow this. The
3381interpreter will truncate the package to the defined size (and issue an
3382error
3383message), but previously could leave the extra objects undeleted if they
3384were
3385pre-created during the argument processing (such is the case if the
3386package
3387consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
3388
3389Fixed a problem seen when a Buffer or String is stored to itself via ASL.
3390This has been reported in the field. Previously, ACPICA would zero out the
3391buffer/string. Now, the operation is treated as a noop. Provides Windows
3392compatibility. ACPICA BZ 803. Lin Ming.
3393
3394Removed an extraneous error message for ASL constructs of the form
3395Store(LocalX,LocalX) when LocalX is uninitialized. These curious
3396statements
3397are seen in many BIOSs and are once again treated as NOOPs and no error is
3398emitted when they are encountered. ACPICA BZ 785.
3399
3400Fixed an extraneous warning message if a _DSM reserved method returns a
3401Package object. _DSM can return any type of object, so validation on the
3402return type cannot be performed. ACPICA BZ 802.
3403
3404Example Code and Data Size: These are the sizes for the OS-independent
3405acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3406debug version of the code includes the debug output trace mechanism and
3407has a
3408much larger code and data size.
3409
3410  Previous Release:
3411    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3412    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3413  Current Release:
3414    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3415    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3416
34172) iASL Compiler/Disassembler and Tools:
3418
3419iASL: Fixed a problem with the use of the Alias operator and Resource
3420Templates. The correct alias is now constructed and no error is emitted.
3421ACPICA BZ 738.
3422
3423iASL: Implemented the -I option to specify additional search directories
3424for
3425include files. Allows multiple additional search paths for include files.
3426Directories are searched in the order specified on the command line (after
3427the local directory is searched.) ACPICA BZ 800.
3428
3429iASL: Fixed a problem where the full pathname for include files was not
3430emitted for warnings/errors. This caused the IDE support to not work
3431properly. ACPICA BZ 765.
3432
3433iASL: Implemented the -@ option to specify a Windows-style response file
3434containing additional command line options. ACPICA BZ 801.
3435
3436AcpiExec: Added support to load multiple AML files simultaneously (such as
3437a
3438DSDT and multiple SSDTs). Also added support for wildcards within the AML
3439pathname. These features allow all machine tables to be easily loaded and
3440debugged together. ACPICA BZ 804.
3441
3442Disassembler: Added missing support for disassembly of HEST table Error
3443Bank
3444subtables.
3445
3446----------------------------------------
344730 July 2009. Summary of changes for version 20090730:
3448
3449The ACPI 4.0 implementation for ACPICA is complete with this release.
3450
34511) ACPI CA Core Subsystem:
3452
3453ACPI 4.0: Added header file support for all new and changed ACPI tables.
3454Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new
3455for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
3456BERT,
3457EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
3458There
3459have been some ACPI 4.0 changes to other existing tables. Split the large
3460actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
3461
3462ACPI 4.0: Implemented predefined name validation for all new names. There
3463are
346431 new names in ACPI 4.0. The predefined validation module was split into
3465two
3466files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
3467
3468Implemented support for so-called "module-level executable code". This is
3469executable AML code that exists outside of any control method and is
3470intended
3471to be executed at table load time. Although illegal since ACPI 2.0, this
3472type
3473of code still exists and is apparently still being created. Blocks of this
3474code are now detected and executed as intended. Currently, the code blocks
3475must exist under either an If, Else, or While construct; these are the
3476typical cases seen in the field. ACPICA BZ 762. Lin Ming.
3477
3478Implemented an automatic dynamic repair for predefined names that return
3479nested Package objects. This applies to predefined names that are defined
3480to
3481return a variable-length Package of sub-packages. If the number of sub-
3482packages is one, BIOS code is occasionally seen that creates a simple
3483single
3484package with no sub-packages. This code attempts to fix the problem by
3485wrapping a new package object around the existing package. These methods
3486can
3487be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ
3488790.
3489
3490Fixed a regression introduced in 20090625 for the AcpiGetDevices
3491interface.
3492The _HID/_CID matching was broken and no longer matched IDs correctly.
3493ACPICA
3494BZ 793.
3495
3496Fixed a problem with AcpiReset where the reset would silently fail if the
3497register was one of the protected I/O ports. AcpiReset now bypasses the
3498port
3499validation mechanism. This may eventually be driven into the
3500AcpiRead/Write
3501interfaces.
3502
3503Fixed a regression related to the recent update of the AcpiRead/Write
3504interfaces. A sleep/suspend could fail if the optional PM2 Control
3505register
3506does not exist during an attempt to write the Bus Master Arbitration bit.
3507(However, some hosts already delete the code that writes this bit, and the
3508code may in fact be obsolete at this date.) ACPICA BZ 799.
3509
3510Fixed a problem where AcpiTerminate could fault if inadvertently called
3511twice
3512in succession. ACPICA BZ 795.
3513
3514Example Code and Data Size: These are the sizes for the OS-independent
3515acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3516debug version of the code includes the debug output trace mechanism and
3517has a
3518much larger code and data size.
3519
3520  Previous Release:
3521    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3522    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3523  Current Release:
3524    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3525    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3526
35272) iASL Compiler/Disassembler and Tools:
3528
3529ACPI 4.0: Implemented disassembler support for all new ACPI tables and
3530changes to existing tables. ACPICA BZ 775.
3531
3532----------------------------------------
353325 June 2009. Summary of changes for version 20090625:
3534
3535The ACPI 4.0 Specification was released on June 16 and is available at
3536www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
3537continue for the next few releases.
3538
35391) ACPI CA Core Subsystem:
3540
3541ACPI 4.0: Implemented interpreter support for the IPMI operation region
3542address space. Includes support for bi-directional data buffers and an
3543IPMI
3544address space handler (to be installed by an IPMI device driver.) ACPICA
3545BZ
3546773. Lin Ming.
3547
3548ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes
3549support in both the header files and the disassembler.
3550
3551Completed a major update for the AcpiGetObjectInfo external interface.
3552Changes include:
3553 - Support for variable, unlimited length HID, UID, and CID strings.
3554 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
3555etc.)
3556 - Call the _SxW power methods on behalf of a device object.
3557 - Determine if a device is a PCI root bridge.
3558 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
3559These changes will require an update to all callers of this interface. See
3560the updated ACPICA Programmer Reference for details. One new source file
3561has
3562been added - utilities/utids.c. ACPICA BZ 368, 780.
3563
3564Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
3565transfers. The Value parameter has been extended from 32 bits to 64 bits
3566in
3567order to support new ACPI 4.0 tables. These changes will require an update
3568to
3569all callers of these interfaces. See the ACPICA Programmer Reference for
3570details. ACPICA BZ 768.
3571
3572Fixed several problems with AcpiAttachData. The handler was not invoked
3573when
3574the host node was deleted. The data sub-object was not automatically
3575deleted
3576when the host node was deleted. The interface to the handler had an unused
3577parameter, this was removed. ACPICA BZ 778.
3578
3579Enhanced the function that dumps ACPI table headers. All non-printable
3580characters in the string fields are now replaced with '?' (Signature,
3581OemId,
3582OemTableId, and CompilerId.) ACPI tables with non-printable characters in
3583these fields are occasionally seen in the field. ACPICA BZ 788.
3584
3585Fixed a problem with predefined method repair code where the code that
3586attempts to repair/convert an object of incorrect type is only executed on
3587the first time the predefined method is called. The mechanism that
3588disables
3589warnings on subsequent calls was interfering with the repair mechanism.
3590ACPICA BZ 781.
3591
3592Fixed a possible memory leak in the predefined validation/repair code when
3593a
3594buffer is automatically converted to an expected string object.
3595
3596Removed obsolete 16-bit files from the distribution and from the current
3597git
3598tree head. ACPICA BZ 776.
3599
3600Example Code and Data Size: These are the sizes for the OS-independent
3601acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3602debug version of the code includes the debug output trace mechanism and
3603has a
3604much larger code and data size.
3605
3606  Previous Release:
3607    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
3608    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
3609  Current Release:
3610    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3611    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3612
36132) iASL Compiler/Disassembler and Tools:
3614
3615ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
3616operation region keyword. ACPICA BZ 771, 772. Lin Ming.
3617
3618ACPI 4.0: iASL - implemented compile-time validation support for all new
3619predefined names and control methods (31 total). ACPICA BZ 769.
3620
3621----------------------------------------
362221 May 2009. Summary of changes for version 20090521:
3623
36241) ACPI CA Core Subsystem:
3625
3626Disabled the preservation of the SCI enable bit in the PM1 control
3627register.
3628The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to
3629be
3630a "preserved" bit - "OSPM always preserves this bit position", section
36314.7.3.2.1. However, some machines fail if this bit is in fact preserved
3632because the bit needs to be explicitly set by the OS as a workaround. No
3633machines fail if the bit is not preserved. Therefore, ACPICA no longer
3634attempts to preserve this bit.
3635
3636Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
3637incorrectly formed _PRT package could cause a fault. Added validation to
3638ensure that each package element is actually a sub-package.
3639
3640Implemented a new interface to install or override a single control
3641method,
3642AcpiInstallMethod. This interface is useful when debugging in order to
3643repair
3644an existing method or to install a missing method without having to
3645override
3646the entire ACPI table. See the ACPICA Programmer Reference for use and
3647examples. Lin Ming, Bob Moore.
3648
3649Fixed several reference count issues with the DdbHandle object that is
3650created from a Load or LoadTable operator. Prevent premature deletion of
3651the
3652object. Also, mark the object as invalid once the table has been unloaded.
3653This is needed because the handle itself may not be deleted after the
3654table
3655unload, depending on whether it has been stored in a named object by the
3656caller. Lin Ming.
3657
3658Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
3659mutexes of the same sync level are acquired but then not released in
3660strict
3661opposite order, the internally maintained Current Sync Level becomes
3662confused
3663and can cause subsequent execution errors. ACPICA BZ 471.
3664
3665Changed the allowable release order for ASL mutex objects. The ACPI 4.0
3666specification has been changed to make the SyncLevel for mutex objects
3667more
3668useful. When releasing a mutex, the SyncLevel of the mutex must now be the
3669same as the current sync level. This makes more sense than the previous
3670rule
3671(SyncLevel less than or equal). This change updates the code to match the
3672specification.
3673
3674Fixed a problem with the local version of the AcpiOsPurgeCache function.
3675The
3676(local) cache must be locked during all cache object deletions. Andrew
3677Baumann.
3678
3679Updated the Load operator to use operation region interfaces. This
3680replaces
3681direct memory mapping with region access calls. Now, all region accesses
3682go
3683through the installed region handler as they should.
3684
3685Simplified and optimized the NsGetNextNode function. Reduced parameter
3686count
3687and reduced code for this frequently used function.
3688
3689Example Code and Data Size: These are the sizes for the OS-independent
3690acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3691debug version of the code includes the debug output trace mechanism and
3692has a
3693much larger code and data size.
3694
3695  Previous Release:
3696    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
3697    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
3698  Current Release:
3699    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
3700    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
3701
37022) iASL Compiler/Disassembler and Tools:
3703
3704Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
3705problems
3706with sub-table disassembly and handling invalid sub-tables. Attempt
3707recovery
3708after an invalid sub-table ID.
3709
3710----------------------------------------
371122 April 2009. Summary of changes for version 20090422:
3712
37131) ACPI CA Core Subsystem:
3714
3715Fixed a compatibility issue with the recently released I/O port protection
3716mechanism. For windows compatibility, 1) On a port protection violation,
3717simply ignore the request and do not return an exception (allow the
3718control
3719method to continue execution.) 2) If only part of the request overlaps a
3720protected port, read/write the individual ports that are not protected.
3721Linux
3722BZ 13036. Lin Ming
3723
3724Enhanced the execution of the ASL/AML BreakPoint operator so that it
3725actually
3726breaks into the AML debugger if the debugger is present. This matches the
3727ACPI-defined behavior.
3728
3729Fixed several possible warnings related to the use of the configurable
3730ACPI_THREAD_ID. This type can now be configured as either an integer or a
3731pointer with no warnings. Also fixes several warnings in printf-like
3732statements for the 64-bit build when the type is configured as a pointer.
3733ACPICA BZ 766, 767.
3734
3735Fixed a number of possible warnings when compiling with gcc 4+ (depending
3736on
3737warning options.) Examples include printf formats, aliasing, unused
3738globals,
3739missing prototypes, missing switch default statements, use of non-ANSI
3740library functions, use of non-ANSI constructs. See generate/unix/Makefile
3741for
3742a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
3743
3744Example Code and Data Size: These are the sizes for the OS-independent
3745acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3746debug version of the code includes the debug output trace mechanism and
3747has a
3748much larger code and data size.
3749
3750  Previous Release:
3751    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
3752    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
3753  Current Release:
3754    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
3755    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
3756
37572) iASL Compiler/Disassembler and Tools:
3758
3759iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings
3760on
3761the 64-bit build.
3762
3763iASL: Fixed a problem where the Unix/Linux versions of the compiler could
3764not
3765correctly digest Windows/DOS formatted files (with CR/LF).
3766
3767iASL: Added a new option for "quiet mode" (-va) that produces only the
3768compilation summary, not individual errors and warnings. Useful for large
3769batch compilations.
3770
3771AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex
3772timeout that can be used to detect hang conditions during execution of AML
3773code (includes both internal semaphores and AML-defined mutexes and
3774events.)
3775
3776Added new makefiles for the generation of acpica in a generic unix-like
3777environment. These makefiles are intended to generate the acpica tools and
3778utilities from the original acpica git source tree structure.
3779
3780Test Suites: Updated and cleaned up the documentation files. Updated the
3781copyrights to 2009, affecting all source files. Use the new version of
3782iASL
3783with quiet mode. Increased the number of available semaphores in the
3784Windows
3785OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
3786added
3787an alternate implementation of the semaphore timeout to allow aslts to
3788execute fully on Cygwin.
3789
3790----------------------------------------
379120 March 2009. Summary of changes for version 20090320:
3792
37931) ACPI CA Core Subsystem:
3794
3795Fixed a possible race condition between AcpiWalkNamespace and dynamic
3796table
3797unloads. Added a reader/writer locking mechanism to allow multiple
3798concurrent
3799namespace walks (readers), but block a dynamic table unload until it can
3800gain
3801exclusive write access to the namespace. This fixes a problem where a
3802table
3803unload could (possibly catastrophically) delete the portion of the
3804namespace
3805that is currently being examined by a walk. Adds a new file, utlock.c,
3806that
3807implements the reader/writer lock mechanism. ACPICA BZ 749.
3808
3809Fixed a regression introduced in version 20090220 where a change to the
3810FADT
3811handling could cause the ACPICA subsystem to access non-existent I/O
3812ports.
3813
3814Modified the handling of FADT register and table (FACS/DSDT) addresses.
3815The
3816FADT can contain both 32-bit and 64-bit versions of these addresses.
3817Previously, the 64-bit versions were favored, meaning that if both 32 and
381864
3819versions were valid, but not equal, the 64-bit version was used. This was
3820found to cause some machines to fail. Now, in this case, the 32-bit
3821version
3822is used instead. This now matches the Windows behavior.
3823
3824Implemented a new mechanism to protect certain I/O ports. Provides
3825Microsoft
3826compatibility and protects the standard PC I/O ports from access via AML
3827code. Adds a new file, hwvalid.c
3828
3829Fixed a possible extraneous warning message from the FADT support. The
3830message warns of a 32/64 length mismatch between the legacy and GAS
3831definitions for a register.
3832
3833Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
3834is
3835made obsolete by the port protection mechanism above. It was previously
3836used
3837to validate the entire address range of an operation region, which could
3838be
3839incorrect if the range included illegal ports, but fields within the
3840operation region did not actually access those ports. Validation is now
3841performed on a per-field basis instead of the entire region.
3842
3843Modified the handling of the PM1 Status Register ignored bit (bit 11.)
3844Ignored bits must be "preserved" according to the ACPI spec. Usually, this
3845means a read/modify/write when writing to the register. However, for
3846status
3847registers, writing a one means clear the event. Writing a zero means
3848preserve
3849the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec,
3850and the ACPICA code now simply always writes a zero to the ignored bit.
3851
3852Modified the handling of ignored bits for the PM1 A/B Control Registers.
3853As
3854per the ACPI specification, for the control registers, preserve
3855(read/modify/write) all bits that are defined as either reserved or
3856ignored.
3857
3858Updated the handling of write-only bits in the PM1 A/B Control Registers.
3859When reading the register, zero the write-only bits as per the ACPI spec.
3860ACPICA BZ 443. Lin Ming.
3861
3862Removed "Linux" from the list of supported _OSI strings. Linux no longer
3863wants to reply true to this request. The Windows strings are the only
3864paths
3865through the AML that are tested and known to work properly.
3866
3867  Previous Release:
3868    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
3869    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
3870  Current Release:
3871    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
3872    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
3873
38742) iASL Compiler/Disassembler and Tools:
3875
3876Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
3877and
3878aetables.c
3879
3880----------------------------------------
388120 February 2009. Summary of changes for version 20090220:
3882
38831) ACPI CA Core Subsystem:
3884
3885Optimized the ACPI register locking. Removed locking for reads from the
3886ACPI
3887bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is
3888not required when reading the single-bit registers. The
3889AcpiGetRegisterUnlocked function is no longer needed and has been removed.
3890This will improve performance for reads on these registers. ACPICA BZ 760.
3891
3892Fixed the parameter validation for AcpiRead/Write. Now return
3893AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS
3894if
3895the register has an address of zero. Previously, these cases simply
3896returned
3897AE_OK. For optional registers such as PM1B status/enable/control, the
3898caller
3899should check for a valid register address before calling. ACPICA BZ 748.
3900
3901Renamed the external ACPI bit register access functions. Renamed
3902AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
3903functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister.
3904Also, restructured the code for these functions by simplifying the code
3905path
3906and condensing duplicate code to reduce code size.
3907
3908Added new functions to transparently handle the possibly split PM1 A/B
3909registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions
3910now handle the split registers for PM1 Status, Enable, and Control. ACPICA
3911BZ
3912746.
3913
3914Added a function to handle the PM1 control registers,
3915AcpiHwWritePm1Control.
3916This function writes both of the PM1 control registers (A/B). These
3917registers
3918are different than the PM1 A/B status and enable registers in that
3919different
3920values can be written to the A/B registers. Most notably, the SLP_TYP bits
3921can be different, as per the values returned from the _Sx predefined
3922methods.
3923
3924Removed an extra register write within AcpiHwClearAcpiStatus. This
3925function
3926was writing an optional PM1B status register twice. The existing call to
3927the
3928low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
3929A/B
3930register. ACPICA BZ 751.
3931
3932Split out the PM1 Status registers from the FADT. Added new globals for
3933these
3934registers (A/B), similar to the way the PM1 Enable registers are handled.
3935Instead of overloading the FADT Event Register blocks. This makes the code
3936clearer and less prone to error.
3937
3938Fixed the warning message for when the platform contains too many ACPI
3939tables
3940for the default size of the global root table data structure. The
3941calculation
3942for the truncation value was incorrect.
3943
3944Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
3945obsolete macro, since it is now a simple reference to ->common.type. There
3946were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
3947
3948Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
3949TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
3950simply SLEEP_TYPE. ACPICA BZ 754.
3951
3952Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
3953function is only needed on 64-bit host operating systems and is thus not
3954included for 32-bit hosts.
3955
3956Debug output: print the input and result for invocations of the _OSI
3957reserved
3958control method via the ACPI_LV_INFO debug level. Also, reduced some of the
3959verbosity of this debug level. Len Brown.
3960
3961Example Code and Data Size: These are the sizes for the OS-independent
3962acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3963debug version of the code includes the debug output trace mechanism and
3964has a
3965much larger code and data size.
3966
3967  Previous Release:
3968    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
3969    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
3970  Current Release:
3971    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
3972    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
3973
39742) iASL Compiler/Disassembler and Tools:
3975
3976Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
3977various legal performance profiles.
3978
3979----------------------------------------
398023 January 2009. Summary of changes for version 20090123:
3981
39821) ACPI CA Core Subsystem:
3983
3984Added the 2009 copyright to all module headers and signons. This affects
3985virtually every file in the ACPICA core subsystem, the iASL compiler, and
3986the tools/utilities.
3987
3988Implemented a change to allow the host to override any ACPI table,
3989including
3990dynamically loaded tables. Previously, only the DSDT could be replaced by
3991the
3992host. With this change, the AcpiOsTableOverride interface is called for
3993each
3994table found in the RSDT/XSDT during ACPICA initialization, and also
3995whenever
3996a table is dynamically loaded via the AML Load operator.
3997
3998Updated FADT flag definitions, especially the Boot Architecture flags.
3999
4000Debugger: For the Find command, automatically pad the input ACPI name with
4001underscores if the name is shorter than 4 characters. This enables a match
4002with the actual namespace entry which is itself padded with underscores.
4003
4004Example Code and Data Size: These are the sizes for the OS-independent
4005acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4006debug version of the code includes the debug output trace mechanism and
4007has a
4008much larger code and data size.
4009
4010  Previous Release:
4011    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
4012    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
4013  Current Release:
4014    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
4015    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
4016
40172) iASL Compiler/Disassembler and Tools:
4018
4019Fix build error under Bison-2.4.
4020
4021Dissasembler: Enhanced FADT support. Added decoding of the Boot
4022Architecture
4023flags. Now decode all flags, regardless of the FADT version. Flag output
4024includes the FADT version which first defined each flag.
4025
4026The iASL -g option now dumps the RSDT to a file (in addition to the FADT
4027and
4028DSDT). Windows only.
4029
4030----------------------------------------
403104 December 2008. Summary of changes for version 20081204:
4032
40331) ACPI CA Core Subsystem:
4034
4035The ACPICA Programmer Reference has been completely updated and revamped
4036for
4037this release. This includes updates to the external interfaces, OSL
4038interfaces, the overview sections, and the debugger reference.
4039
4040Several new ACPICA interfaces have been implemented and documented in the
4041programmer reference:
4042AcpiReset - Writes the reset value to the FADT-defined reset register.
4043AcpiDisableAllGpes - Disable all available GPEs.
4044AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
4045AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
4046AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
4047AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
4048AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
4049
4050Most of the public ACPI hardware-related interfaces have been moved to a
4051new
4052file, components/hardware/hwxface.c
4053
4054Enhanced the FADT parsing and low-level ACPI register access: The ACPI
4055register lengths within the FADT are now used, and the low level ACPI
4056register access no longer hardcodes the ACPI register lengths. Given that
4057there may be some risk in actually trusting the FADT register lengths, a
4058run-
4059time option was added to fall back to the default hardcoded lengths if the
4060FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
4061option is set to true for now, and a warning is issued if a suspicious
4062FADT
4063register length is overridden with the default value.
4064
4065Fixed a reference count issue in NsRepairObject. This problem was
4066introduced
4067in version 20081031 as part of a fix to repair Buffer objects within
4068Packages. Lin Ming.
4069
4070Added semaphore support to the Linux/Unix application OS-services layer
4071(OSL). ACPICA BZ 448. Lin Ming.
4072
4073Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
4074will
4075be implemented in the OSL, or will binary semaphores be used instead.
4076
4077Example Code and Data Size: These are the sizes for the OS-independent
4078acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4079debug version of the code includes the debug output trace mechanism and
4080has a
4081much larger code and data size.
4082
4083  Previous Release:
4084    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
4085    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
4086  Current Release:
4087    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
4088    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
4089
40902) iASL Compiler/Disassembler and Tools:
4091
4092iASL: Completed the '-e' option to include additional ACPI tables in order
4093to
4094aid with disassembly and External statement generation. ACPICA BZ 742. Lin
4095Ming.
4096
4097iASL: Removed the "named object in while loop" error. The compiler cannot
4098determine how many times a loop will execute. ACPICA BZ 730.
4099
4100Disassembler: Implemented support for FADT revision 2 (MS extension).
4101ACPICA
4102BZ 743.
4103
4104Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
4105
4106----------------------------------------
410731 October 2008. Summary of changes for version 20081031:
4108
41091) ACPI CA Core Subsystem:
4110
4111Restructured the ACPICA header files into public/private. acpi.h now
4112includes
4113only the "public" acpica headers. All other acpica headers are "private"
4114and
4115should not be included by acpica users. One new file, accommon.h is used
4116to
4117include the commonly used private headers for acpica code generation.
4118Future
4119plans include moving all private headers to a new subdirectory.
4120
4121Implemented an automatic Buffer->String return value conversion for
4122predefined ACPI methods. For these methods (such as _BIF), added automatic
4123conversion for return objects that are required to be a String, but a
4124Buffer
4125was found instead. This can happen when reading string battery data from
4126an
4127operation region, because it used to be difficult to convert the data from
4128buffer to string from within the ASL. Ensures that the host OS is provided
4129with a valid null-terminated string. Linux BZ 11822.
4130
4131Updated the FACS waking vector interfaces. Split
4132AcpiSetFirmwareWakingVector
4133into two: one for the 32-bit vector, another for the 64-bit vector. This
4134is
4135required because the host OS must setup the wake much differently for each
4136vector (real vs. protected mode, etc.) and the interface itself should not
4137be
4138deciding which vector to use. Also, eliminated the GetFirmwareWakingVector
4139interface, as it served no purpose (only the firmware reads the vector, OS
4140only writes the vector.) ACPICA BZ 731.
4141
4142Implemented a mechanism to escape infinite AML While() loops. Added a loop
4143counter to force exit from AML While loops if the count becomes too large.
4144This can occur in poorly written AML when the hardware does not respond
4145within a while loop and the loop does not implement a timeout. The maximum
4146loop count is configurable. A new exception code is returned when a loop
4147is
4148broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
4149
4150Optimized the execution of AML While loops. Previously, a control state
4151object was allocated and freed for each execution of the loop. The
4152optimization is to simply reuse the control state for each iteration. This
4153speeds up the raw loop execution time by about 5%.
4154
4155Enhanced the implicit return mechanism. For Windows compatibility, return
4156an
4157implicit integer of value zero for methods that contain no executable
4158code.
4159Such methods are seen in the field as stubs (presumably), and can cause
4160drivers to fail if they expect a return value. Lin Ming.
4161
4162Allow multiple backslashes as root prefixes in namepaths. In a fully
4163qualified namepath, allow multiple backslash prefixes. This can happen
4164(and
4165is seen in the field) because of the use of a double-backslash in strings
4166(since backslash is the escape character) causing confusion. ACPICA BZ 739
4167Lin Ming.
4168
4169Emit a warning if two different FACS or DSDT tables are discovered in the
4170FADT. Checks if there are two valid but different addresses for the FACS
4171and
4172DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
4173
4174Consolidated the method argument count validation code. Merged the code
4175that
4176validates control method argument counts into the predefined validation
4177module. Eliminates possible multiple warnings for incorrect argument
4178counts.
4179
4180Implemented ACPICA example code. Includes code for ACPICA initialization,
4181handler installation, and calling a control method. Available at
4182source/tools/examples.
4183
4184Added a global pointer for FACS table to simplify internal FACS access.
4185Use
4186the global pointer instead of using AcpiGetTableByIndex for each FACS
4187access.
4188This simplifies the code for the Global Lock and the Firmware Waking
4189Vector(s).
4190
4191Example Code and Data Size: These are the sizes for the OS-independent
4192acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4193debug version of the code includes the debug output trace mechanism and
4194has a
4195much larger code and data size.
4196
4197  Previous Release:
4198    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4199    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4200  Current Release:
4201    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
4202    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
4203
42042) iASL Compiler/Disassembler and Tools:
4205
4206iASL: Improved disassembly of external method calls. Added the -e option
4207to
4208allow the inclusion of additional ACPI tables to help with the disassembly
4209of
4210method invocations and the generation of external declarations during the
4211disassembly. Certain external method invocations cannot be disassembled
4212properly without the actual declaration of the method. Use the -e option
4213to
4214include the table where the external method(s) are actually declared. Most
4215useful for disassembling SSDTs that make method calls back to the master
4216DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl
4217-d
4218-e dsdt.aml ssdt1.aml
4219
4220iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
4221problem where the use of an alias within a namepath would result in a not
4222found error or cause the compiler to fault. Also now allows forward
4223references from the Alias operator itself. ACPICA BZ 738.
4224
4225----------------------------------------
422626 September 2008. Summary of changes for version 20080926:
4227
42281) ACPI CA Core Subsystem:
4229
4230Designed and implemented a mechanism to validate predefined ACPI methods
4231and
4232objects. This code validates the predefined ACPI objects (objects whose
4233names
4234start with underscore) that appear in the namespace, at the time they are
4235evaluated. The argument count and the type of the returned object are
4236validated against the ACPI specification. The purpose of this validation
4237is
4238to detect problems with the BIOS-implemented predefined ACPI objects
4239before
4240the results are returned to the ACPI-related drivers. Future enhancements
4241may
4242include actual repair of incorrect return objects where possible. Two new
4243files are nspredef.c and acpredef.h.
4244
4245Fixed a fault in the AML parser if a memory allocation fails during the Op
4246completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
4247
4248Fixed an issue with implicit return compatibility. This change improves
4249the
4250implicit return mechanism to be more compatible with the MS interpreter.
4251Lin
4252Ming, ACPICA BZ 349.
4253
4254Implemented support for zero-length buffer-to-string conversions. Allow
4255zero
4256length strings during interpreter buffer-to-string conversions. For
4257example,
4258during the ToDecimalString and ToHexString operators, as well as implicit
4259conversions. Fiodor Suietov, ACPICA BZ 585.
4260
4261Fixed two possible memory leaks in the error exit paths of
4262AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are
4263similar in that they use a stack of state objects in order to eliminate
4264recursion. The stack must be fully unwound and deallocated if an error
4265occurs. Lin Ming. ACPICA BZ 383.
4266
4267Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
4268global
4269ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
4270Moore ACPICA BZ 442.
4271
4272Removed the obsolete version number in module headers. Removed the
4273"$Revision" number that appeared in each module header. This version
4274number
4275was useful under SourceSafe and CVS, but has no meaning under git. It is
4276not
4277only incorrect, it could also be misleading.
4278
4279Example Code and Data Size: These are the sizes for the OS-independent
4280acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4281debug version of the code includes the debug output trace mechanism and
4282has a
4283much larger code and data size.
4284
4285  Previous Release:
4286    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4287    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4288  Current Release:
4289    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4290    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4291
4292----------------------------------------
429329 August 2008. Summary of changes for version 20080829:
4294
42951) ACPI CA Core Subsystem:
4296
4297Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
4298Reference. Changes include the elimination of cheating on the Object field
4299for the DdbHandle subtype, addition of a reference class field to
4300differentiate the various reference types (instead of an AML opcode), and
4301the
4302cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
4303
4304Reduce an error to a warning for an incorrect method argument count.
4305Previously aborted with an error if too few arguments were passed to a
4306control method via the external ACPICA interface. Now issue a warning
4307instead
4308and continue. Handles the case where the method inadvertently declares too
4309many arguments, but does not actually use the extra ones. Applies mainly
4310to
4311the predefined methods. Lin Ming. Linux BZ 11032.
4312
4313Disallow the evaluation of named object types with no intrinsic value.
4314Return
4315AE_TYPE for objects that have no value and therefore evaluation is
4316undefined:
4317Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
4318of
4319these types were allowed, but an exception would be generated at some
4320point
4321during the evaluation. Now, the error is generated up front.
4322
4323Fixed a possible memory leak in the AcpiNsGetExternalPathname function
4324(nsnames.c). Fixes a leak in the error exit path.
4325
4326Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
4327debug
4328levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
4329ACPI_EXCEPTION
4330interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
4331ACPI_LV_EVENTS.
4332
4333Removed obsolete and/or unused exception codes from the acexcep.h header.
4334There is the possibility that certain device drivers may be affected if
4335they
4336use any of these exceptions.
4337
4338The ACPICA documentation has been added to the public git source tree,
4339under
4340acpica/documents. Included are the ACPICA programmer reference, the iASL
4341compiler reference, and the changes.txt release logfile.
4342
4343Example Code and Data Size: These are the sizes for the OS-independent
4344acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4345debug version of the code includes the debug output trace mechanism and
4346has a
4347much larger code and data size.
4348
4349  Previous Release:
4350    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4351    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4352  Current Release:
4353    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4354    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4355
43562) iASL Compiler/Disassembler and Tools:
4357
4358Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
4359defines _SCP with 3 arguments. Previous versions defined it with only 1
4360argument. iASL now allows both definitions.
4361
4362iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
4363length subtables when disassembling ACPI tables. Also fixed a couple of
4364errors where a full 16-bit table type field was not extracted from the
4365input
4366properly.
4367
4368acpisrc: Improve comment counting mechanism for generating source code
4369statistics. Count first and last lines of multi-line comments as
4370whitespace,
4371not comment lines. Handle Linux legal header in addition to standard
4372acpica
4373header.
4374
4375----------------------------------------
4376
437729 July 2008. Summary of changes for version 20080729:
4378
43791) ACPI CA Core Subsystem:
4380
4381Fix a possible deadlock in the GPE dispatch. Remove call to
4382AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
4383attempt
4384to acquire the GPE lock but can deadlock since the GPE lock is already
4385held
4386at dispatch time. This code was introduced in version 20060831 as a
4387response
4388to Linux BZ 6881 and has since been removed from Linux.
4389
4390Add a function to dereference returned reference objects. Examines the
4391return
4392object from a call to AcpiEvaluateObject. Any Index or RefOf references
4393are
4394automatically dereferenced in an attempt to return something useful (these
4395reference types cannot be converted into an external ACPI_OBJECT.)
4396Provides
4397MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
4398
4399x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
4400subtables for the MADT and one new subtable for the SRAT. Includes
4401disassembler and AcpiSrc support. Data from the Intel 64 Architecture
4402x2APIC
4403Specification, June 2008.
4404
4405Additional error checking for pathname utilities. Add error check after
4406all
4407calls to AcpiNsGetPathnameLength. Add status return from
4408AcpiNsBuildExternalPath and check after all calls. Add parameter
4409validation
4410to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
4411
4412Return status from the global init function AcpiUtGlobalInitialize. This
4413is
4414used by both the kernel subsystem and the utilities such as iASL compiler.
4415The function could possibly fail when the caches are initialized. Yang Yi.
4416
4417Add a function to decode reference object types to strings. Created for
4418improved error messages.
4419
4420Improve object conversion error messages. Better error messages during
4421object
4422conversion from internal to the external ACPI_OBJECT. Used for external
4423calls
4424to AcpiEvaluateObject.
4425
4426Example Code and Data Size: These are the sizes for the OS-independent
4427acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4428debug version of the code includes the debug output trace mechanism and
4429has a
4430much larger code and data size.
4431
4432  Previous Release:
4433    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4434    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4435  Current Release:
4436    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4437    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4438
44392) iASL Compiler/Disassembler and Tools:
4440
4441Debugger: fix a possible hang when evaluating non-methods. Fixes a problem
4442introduced in version 20080701. If the object being evaluated (via execute
4443command) is not a method, the debugger can hang while trying to obtain
4444non-
4445existent parameters.
4446
4447iASL: relax error for using reserved "_T_x" identifiers. These names can
4448appear in a disassembled ASL file if they were emitted by the original
4449compiler. Instead of issuing an error or warning and forcing the user to
4450manually change these names, issue a remark instead.
4451
4452iASL: error if named object created in while loop. Emit an error if any
4453named
4454object is created within a While loop. If allowed, this code will generate
4455a
4456run-time error on the second iteration of the loop when an attempt is made
4457to
4458create the same named object twice. ACPICA bugzilla 730.
4459
4460iASL: Support absolute pathnames for include files. Add support for
4461absolute
4462pathnames within the Include operator. previously, only relative pathnames
4463were supported.
4464
4465iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
4466Descriptor.
4467The ACPI spec requires one interrupt minimum. BZ 423
4468
4469iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
4470Handles the case for the Interrupt Resource Descriptor where
4471the ResourceSource argument is omitted but ResourceSourceIndex
4472is present. Now leave room for the Index. BZ 426
4473
4474iASL: Prevent error message if CondRefOf target does not exist. Fixes
4475cases
4476where an error message is emitted if the target does not exist. BZ 516
4477
4478iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
4479(get ACPI tables on Windows). This was apparently broken in version
448020070919.
4481
4482AcpiXtract: Handle EOF while extracting data. Correctly handle the case
4483where
4484the EOF happens immediately after the last table in the input file. Print
4485completion message. Previously, no message was displayed in this case.
4486
4487----------------------------------------
448801 July 2008. Summary of changes for version 20080701:
4489
44900) Git source tree / acpica.org
4491
4492Fixed a problem where a git-clone from http would not transfer the entire
4493source tree.
4494
44951) ACPI CA Core Subsystem:
4496
4497Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
4498enable bit. Now performs a read-change-write of the enable register
4499instead
4500of simply writing out the cached enable mask. This will prevent
4501inadvertent
4502enabling of GPEs if a rogue GPE is received during initialization (before
4503GPE
4504handlers are installed.)
4505
4506Implemented a copy for dynamically loaded tables. Previously, dynamically
4507loaded tables were simply mapped - but on some machines this memory is
4508corrupted after suspend. Now copy the table to a local buffer. For the
4509OpRegion case, added checksum verify. Use the table length from the table
4510header, not the region length. For the Buffer case, use the table length
4511also. Dennis Noordsij, Bob Moore. BZ 10734
4512
4513Fixed a problem where the same ACPI table could not be dynamically loaded
4514and
4515unloaded more than once. Without this change, a table cannot be loaded
4516again
4517once it has been loaded/unloaded one time. The current mechanism does not
4518unregister a table upon an unload. During a load, if the same table is
4519found,
4520this no longer returns an exception. BZ 722
4521
4522Fixed a problem where the wrong descriptor length was calculated for the
4523EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag
4524are calculated as 12 bytes long, but the actual length in the internal
4525descriptor is 16 because of the round-up to 8 on the 64-bit build.
4526Reported
4527by Linn Crosetto. BZ 728
4528
4529Fixed a possible memory leak in the Unload operator. The DdbHandle
4530returned
4531by Load() did not have its reference count decremented during unload,
4532leading
4533to a memory leak. Lin Ming. BZ 727
4534
4535Fixed a possible memory leak when deleting thermal/processor objects. Any
4536associated notify handlers (and objects) were not being deleted. Fiodor
4537Suietov. BZ 506
4538
4539Fixed the ordering of the ASCII names in the global mutex table to match
4540the
4541actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
4542only.
4543Vegard Nossum. BZ 726
4544
4545Enhanced the AcpiGetObjectInfo interface to return the number of required
4546arguments if the object is a control method. Added this call to the
4547debugger
4548so the proper number of default arguments are passed to a method. This
4549prevents a warning when executing methods from AcpiExec.
4550
4551Added a check for an invalid handle in AcpiGetObjectInfo. Return
4552AE_BAD_PARAMETER if input handle is invalid. BZ 474
4553
4554Fixed an extraneous warning from exconfig.c on the 64-bit build.
4555
4556Example Code and Data Size: These are the sizes for the OS-independent
4557acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4558debug version of the code includes the debug output trace mechanism and
4559has a
4560much larger code and data size.
4561
4562  Previous Release:
4563    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
4564    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
4565  Current Release:
4566    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4567    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4568
45692) iASL Compiler/Disassembler and Tools:
4570
4571iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
4572resource descriptor names.
4573
4574iASL: Detect invalid ASCII characters in input (windows version). Removed
4575the
4576"-CF" flag from the flex compile, enables correct detection of non-ASCII
4577characters in the input. BZ 441
4578
4579iASL: Eliminate warning when result of LoadTable is not used. Eliminate
4580the
4581"result of operation not used" warning when the DDB handle returned from
4582LoadTable is not used. The warning is not needed. BZ 590
4583
4584AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method
4585to
4586pass address of table to the AML. Added option to disable OpRegion
4587simulation
4588to allow creation of an OpRegion with a real address that was passed to
4589_CFG.
4590All of this allows testing of the Load and Unload operators from AcpiExec.
4591
4592Debugger: update tables command for unloaded tables. Handle unloaded
4593tables
4594and use the standard table header output routine.
4595
4596----------------------------------------
459709 June 2008. Summary of changes for version 20080609:
4598
45991) ACPI CA Core Subsystem:
4600
4601Implemented a workaround for reversed _PRT entries. A significant number
4602of
4603BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
4604change dynamically detects and repairs this problem. Provides
4605compatibility
4606with MS ACPI. BZ 6859
4607
4608Simplified the internal ACPI hardware interfaces to eliminate the locking
4609flag parameter from Register Read/Write. Added a new external interface,
4610AcpiGetRegisterUnlocked.
4611
4612Fixed a problem where the invocation of a GPE control method could hang.
4613This
4614was a regression introduced in 20080514. The new method argument count
4615validation mechanism can enter an infinite loop when a GPE method is
4616dispatched. Problem fixed by removing the obsolete code that passed GPE
4617block
4618information to the notify handler via the control method parameter
4619pointer.
4620
4621Fixed a problem where the _SST execution status was incorrectly returned
4622to
4623the caller of AcpiEnterSleepStatePrep. This was a regression introduced in
462420080514. _SST is optional and a NOT_FOUND exception should never be
4625returned. BZ 716
4626
4627Fixed a problem where a deleted object could be accessed from within the
4628AML
4629parser. This was a regression introduced in version 20080123 as a fix for
4630the
4631Unload operator. Lin Ming. BZ 10669
4632
4633Cleaned up the debug operand dump mechanism. Eliminated unnecessary
4634operands
4635and eliminated the use of a negative index in a loop. Operands are now
4636displayed in the correct order, not backwards. This also fixes a
4637regression
4638introduced in 20080514 on 64-bit systems where the elimination of
4639ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
4640715
4641
4642Fixed a possible memory leak in EvPciConfigRegionSetup where the error
4643exit
4644path did not delete a locally allocated structure.
4645
4646Updated definitions for the DMAR and SRAT tables to synchronize with the
4647current specifications. Includes disassembler support.
4648
4649Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
4650loop termination value was used. Loop terminated on iteration early,
4651missing
4652one mutex. Linn Crosetto
4653
4654Example Code and Data Size: These are the sizes for the OS-independent
4655acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4656debug version of the code includes the debug output trace mechanism and
4657has a
4658much larger code and data size.
4659
4660  Previous Release:
4661    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
4662    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
4663  Current Release:
4664    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
4665    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
4666
46672) iASL Compiler/Disassembler and Tools:
4668
4669Disassembler: Implemented support for EisaId() within _CID objects. Now
4670disassemble integer _CID objects back to EisaId invocations, including
4671multiple integers within _CID packages. Includes single-step support for
4672debugger also.
4673
4674Disassembler: Added support for DMAR and SRAT table definition changes.
4675
4676----------------------------------------
467714 May 2008. Summary of changes for version 20080514:
4678
46791) ACPI CA Core Subsystem:
4680
4681Fixed a problem where GPEs were enabled too early during the ACPICA
4682initialization. This could lead to "handler not installed" errors on some
4683machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
4684This
4685ensures that all operation regions and devices throughout the namespace
4686have
4687been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
4688
4689Implemented a change to the enter sleep code. Moved execution of the _GTS
4690method to just before setting sleep enable bit. The execution was moved
4691from
4692AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
4693immediately before the SLP_EN bit is set, as per the ACPI specification.
4694Luming Yu, BZ 1653.
4695
4696Implemented a fix to disable unknown GPEs (2nd version). Now always
4697disable
4698the GPE, even if ACPICA thinks that that it is already disabled. It is
4699possible that the AML or some other code has enabled the GPE unbeknownst
4700to
4701the ACPICA code.
4702
4703Fixed a problem with the Field operator where zero-length fields would
4704return
4705an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
4706ASL
4707field declarations in Field(), BankField(), and IndexField(). BZ 10606.
4708
4709Implemented a fix for the Load operator, now load the table at the
4710namespace
4711root. This reverts a change introduced in version 20071019. The table is
4712now
4713loaded at the namespace root even though this goes against the ACPI
4714specification. This provides compatibility with other ACPI
4715implementations.
4716The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
4717Ming.
4718
4719Fixed a problem where ACPICA would not Load() tables with unusual
4720signatures.
4721Now ignore ACPI table signature for Load() operator. Only "SSDT" is
4722acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
4723Therefore, signature validation is worthless. Apparently MS ACPI accepts
4724such
4725signatures, ACPICA must be compatible. BZ 10454.
4726
4727Fixed a possible negative array index in AcpiUtValidateException. Added
4728NULL
4729fields to the exception string arrays to eliminate a -1 subtraction on the
4730SubStatus field.
4731
4732Updated the debug tracking macros to reduce overall code and data size.
4733Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
4734instead of pointers to static strings. Jan Beulich and Bob Moore.
4735
4736Implemented argument count checking in control method invocation via
4737AcpiEvaluateObject. Now emit an error if too few arguments, warning if too
4738many. This applies only to extern programmatic control method execution,
4739not
4740method-to-method calls within the AML. Lin Ming.
4741
4742Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
4743no
4744longer needed, especially with the removal of 16-bit support. It was
4745replaced
4746mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit
4747on
474832/64-bit platforms is required.
4749
4750Added the C const qualifier for appropriate string constants -- mostly
4751MODULE_NAME and printf format strings. Jan Beulich.
4752
4753Example Code and Data Size: These are the sizes for the OS-independent
4754acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4755debug version of the code includes the debug output trace mechanism and
4756has a
4757much larger code and data size.
4758
4759  Previous Release:
4760    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
4761    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
4762  Current Release:
4763    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
4764    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
4765
47662) iASL Compiler/Disassembler and Tools:
4767
4768Implemented ACPI table revision ID validation in the disassembler. Zero is
4769always invalid. For DSDTs, the ID controls the interpreter integer width.
47701
4771means 32-bit and this is unusual. 2 or greater is 64-bit.
4772
4773----------------------------------------
477421 March 2008. Summary of changes for version 20080321:
4775
47761) ACPI CA Core Subsystem:
4777
4778Implemented an additional change to the GPE support in order to suppress
4779spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently
4780disable incoming GPEs that are neither enabled nor disabled -- meaning
4781that
4782the GPE is unknown to the system. This should prevent future interrupt
4783floods
4784from that GPE. BZ 6217 (Zhang Rui)
4785
4786Fixed a problem where NULL package elements were not returned to the
4787AcpiEvaluateObject interface correctly. The element was simply ignored
4788instead of returning a NULL ACPI_OBJECT package element, potentially
4789causing
4790a buffer overflow and/or confusing the caller who expected a fixed number
4791of
4792elements. BZ 10132 (Lin Ming, Bob Moore)
4793
4794Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
4795Dword,
4796Qword), Field, BankField, and IndexField operators when invoked from
4797inside
4798an executing control method. In this case, these operators created
4799namespace
4800nodes that were incorrectly left marked as permanent nodes instead of
4801temporary nodes. This could cause a problem if there is race condition
4802between an exiting control method and a running namespace walk. (Reported
4803by
4804Linn Crosetto)
4805
4806Fixed a problem where the CreateField and CreateXXXField operators would
4807incorrectly allow duplicate names (the name of the field) with no
4808exception
4809generated.
4810
4811Implemented several changes for Notify handling. Added support for new
4812Notify
4813values (ACPI 2.0+) and improved the Notify debug output. Notify on
4814PowerResource objects is no longer allowed, as per the ACPI specification.
4815(Bob Moore, Zhang Rui)
4816
4817All Reference Objects returned via the AcpiEvaluateObject interface are
4818now
4819marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
4820for
4821NULL objects - either NULL package elements or unresolved named
4822references.
4823
4824Fixed a problem where an extraneous debug message was produced for package
4825objects (when debugging enabled). The message "Package List length larger
4826than NumElements count" is now produced in the correct case, and is now an
4827error message rather than a debug message. Added a debug message for the
4828opposite case, where NumElements is larger than the Package List (the
4829package
4830will be padded out with NULL elements as per the ACPI spec.)
4831
4832Implemented several improvements for the output of the ASL "Debug" object
4833to
4834clarify and keep all data for a given object on one output line.
4835
4836Fixed two size calculation issues with the variable-length Start Dependent
4837resource descriptor.
4838
4839Example Code and Data Size: These are the sizes for the OS-independent
4840acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4841debug version of the code includes the debug output trace mechanism and
4842has
4843a much larger code and data size.
4844
4845  Previous Release:
4846    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
4847    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
4848  Current Release:
4849    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
4850    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
4851
48522) iASL Compiler/Disassembler and Tools:
4853
4854Fixed a problem with the use of the Switch operator where execution of the
4855containing method by multiple concurrent threads could cause an
4856AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
4857actual Switch opcode, it must be simulated with local named temporary
4858variables and if/else pairs. The solution chosen was to mark any method
4859that
4860uses Switch as Serialized, thus preventing multiple thread entries. BZ
4861469.
4862
4863----------------------------------------
486413 February 2008. Summary of changes for version 20080213:
4865
48661) ACPI CA Core Subsystem:
4867
4868Implemented another MS compatibility design change for GPE/Notify
4869handling.
4870GPEs are now cleared/enabled asynchronously to allow all pending notifies
4871to
4872complete first. It is expected that the OSL will queue the enable request
4873behind all pending notify requests (may require changes to the local host
4874OSL
4875in AcpiOsExecute). Alexey Starikovskiy.
4876
4877Fixed a problem where buffer and package objects passed as arguments to a
4878control method via the external AcpiEvaluateObject interface could cause
4879an
4880AE_AML_INTERNAL exception depending on the order and type of operators
4881executed by the target control method.
4882
4883Fixed a problem where resource descriptor size optimization could cause a
4884problem when a _CRS resource template is passed to a _SRS method. The _SRS
4885resource template must use the same descriptors (with the same size) as
4886returned from _CRS. This change affects the following resource
4887descriptors:
4888IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
48899487)
4890
4891Fixed a problem where a CopyObject to RegionField, BankField, and
4892IndexField
4893objects did not perform an implicit conversion as it should. These types
4894must
4895retain their initial type permanently as per the ACPI specification.
4896However,
4897a CopyObject to all other object types should not perform an implicit
4898conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
4899
4900Fixed a problem with the AcpiGetDevices interface where the mechanism to
4901match device CIDs did not examine the entire list of available CIDs, but
4902instead aborted on the first non-matching CID. Andrew Patterson.
4903
4904Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
4905was
4906inadvertently changed to return a 16-bit value instead of a 32-bit value,
4907truncating the upper dword of a 64-bit value. This macro is only used to
4908display debug output, so no incorrect calculations were made. Also,
4909reimplemented the macro so that a 64-bit shift is not performed by
4910inefficient compilers.
4911
4912Added missing va_end statements that should correspond with each va_start
4913statement.
4914
4915Example Code and Data Size: These are the sizes for the OS-independent
4916acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4917debug version of the code includes the debug output trace mechanism and
4918has
4919a much larger code and data size.
4920
4921  Previous Release:
4922    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
4923    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
4924  Current Release:
4925    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
4926    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
4927
49282) iASL Compiler/Disassembler and Tools:
4929
4930Implemented full disassembler support for the following new ACPI tables:
4931BERT, EINJ, and ERST. Implemented partial disassembler support for the
4932complicated HEST table. These tables support the Windows Hardware Error
4933Architecture (WHEA).
4934
4935----------------------------------------
493623 January 2008. Summary of changes for version 20080123:
4937
49381) ACPI CA Core Subsystem:
4939
4940Added the 2008 copyright to all module headers and signons. This affects
4941virtually every file in the ACPICA core subsystem, the iASL compiler, and
4942the tools/utilities.
4943
4944Fixed a problem with the SizeOf operator when used with Package and Buffer
4945objects. These objects have deferred execution for some arguments, and the
4946execution is now completed before the SizeOf is executed. This problem
4947caused
4948unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
4949BZ
49509558
4951
4952Implemented an enhancement to the interpreter "slack mode". In the absence
4953of
4954an explicit return or an implicitly returned object from the last executed
4955opcode, a control method will now implicitly return an integer of value 0
4956for
4957Microsoft compatibility. (Lin Ming) BZ 392
4958
4959Fixed a problem with the Load operator where an exception was not returned
4960in
4961the case where the table is already loaded. (Lin Ming) BZ 463
4962
4963Implemented support for the use of DDBHandles as an Indexed Reference, as
4964per
4965the ACPI spec. (Lin Ming) BZ 486
4966
4967Implemented support for UserTerm (Method invocation) for the Unload
4968operator
4969as per the ACPI spec. (Lin Ming) BZ 580
4970
4971Fixed a problem with the LoadTable operator where the OemId and OemTableId
4972input strings could cause unexpected failures if they were shorter than
4973the
4974maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
4975
4976Implemented support for UserTerm (Method invocation) for the Unload
4977operator
4978as per the ACPI spec. (Lin Ming) BZ 580
4979
4980Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
4981HEST,
4982IBFT, UEFI, WDAT. Disassembler support is forthcoming.
4983
4984Example Code and Data Size: These are the sizes for the OS-independent
4985acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4986debug version of the code includes the debug output trace mechanism and
4987has
4988a much larger code and data size.
4989
4990  Previous Release:
4991    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
4992    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
4993  Current Release:
4994    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
4995    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
4996
49972) iASL Compiler/Disassembler and Tools:
4998
4999Implemented support in the disassembler for checksum validation on
5000incoming
5001binary DSDTs and SSDTs. If incorrect, a message is displayed within the
5002table
5003header dump at the start of the disassembly.
5004
5005Implemented additional debugging information in the namespace listing file
5006created during compilation. In addition to the namespace hierarchy, the
5007full
5008pathname to each namespace object is displayed.
5009
5010Fixed a problem with the disassembler where invalid ACPI tables could
5011cause
5012faults or infinite loops.
5013
5014Fixed an unexpected parse error when using the optional "parameter types"
5015list in a control method declaration. (Lin Ming) BZ 397
5016
5017Fixed a problem where two External declarations with the same name did not
5018cause an error (Lin Ming) BZ 509
5019
5020Implemented support for full TermArgs (adding Argx, Localx and method
5021invocation) for the ParameterData parameter to the LoadTable operator.
5022(Lin
5023Ming) BZ 583,587
5024
5025----------------------------------------
502619 December 2007. Summary of changes for version 20071219:
5027
50281) ACPI CA Core Subsystem:
5029
5030Implemented full support for deferred execution for the TermArg string
5031arguments for DataTableRegion. This enables forward references and full
5032operand resolution for the three string arguments. Similar to
5033OperationRegion
5034deferred argument execution.) Lin Ming. BZ 430
5035
5036Implemented full argument resolution support for the BankValue argument to
5037BankField. Previously, only constants were supported, now any TermArg may
5038be
5039used. Lin Ming BZ 387, 393
5040
5041Fixed a problem with AcpiGetDevices where the search of a branch of the
5042device tree could be terminated prematurely. In accordance with the ACPI
5043specification, the search down the current branch is terminated if a
5044device
5045is both not present and not functional (instead of just not present.)
5046Yakui
5047Zhao.
5048
5049Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
5050if
5051the underlying AML code changed the GPE enable registers. Now, any unknown
5052incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
5053disabled
5054instead of simply ignored. Rui Zhang.
5055
5056Fixed a problem with Index Fields where the Index register was incorrectly
5057limited to a maximum of 32 bits. Now any size may be used.
5058
5059Fixed a couple memory leaks associated with "implicit return" objects when
5060the AML Interpreter slack mode is enabled. Lin Ming BZ 349
5061
5062Example Code and Data Size: These are the sizes for the OS-independent
5063acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5064debug version of the code includes the debug output trace mechanism and
5065has
5066a much larger code and data size.
5067
5068  Previous Release:
5069    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
5070    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
5071  Current Release:
5072    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
5073    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
5074
5075----------------------------------------
507614 November 2007. Summary of changes for version 20071114:
5077
50781) ACPI CA Core Subsystem:
5079
5080Implemented event counters for each of the Fixed Events, the ACPI SCI
5081(interrupt) itself, and control methods executed. Named
5082AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
5083These
5084should be useful for debugging and statistics.
5085
5086Implemented a new external interface, AcpiGetStatistics, to retrieve the
5087contents of the various event counters. Returns the current values for
5088AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
5089AcpiMethodCount. The interface can be expanded in the future if new
5090counters
5091are added. Device drivers should use this interface rather than access the
5092counters directly.
5093
5094Fixed a problem with the FromBCD and ToBCD operators. With some compilers,
5095the ShortDivide function worked incorrectly, causing problems with the BCD
5096functions with large input values. A truncation from 64-bit to 32-bit
5097inadvertently occurred. Internal BZ 435. Lin Ming
5098
5099Fixed a problem with Index references passed as method arguments.
5100References
5101passed as arguments to control methods were dereferenced immediately
5102(before
5103control was passed to the called method). The references are now correctly
5104passed directly to the called method. BZ 5389. Lin Ming
5105
5106Fixed a problem with CopyObject used in conjunction with the Index
5107operator.
5108The reference was incorrectly dereferenced before the copy. The reference
5109is
5110now correctly copied. BZ 5391. Lin Ming
5111
5112Fixed a problem with Control Method references within Package objects.
5113These
5114references are now correctly generated. This completes the package
5115construction overhaul that began in version 20071019.
5116
5117Example Code and Data Size: These are the sizes for the OS-independent
5118acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5119debug version of the code includes the debug output trace mechanism and
5120has
5121a much larger code and data size.
5122
5123  Previous Release:
5124    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
5125    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
5126  Current Release:
5127    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
5128    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
5129
5130
51312) iASL Compiler/Disassembler and Tools:
5132
5133The AcpiExec utility now installs handlers for all of the predefined
5134Operation Region types. New types supported are: PCI_Config, CMOS, and
5135PCIBARTarget.
5136
5137Fixed a problem with the 64-bit version of AcpiExec where the extended
5138(64-
5139bit) address fields for the DSDT and FACS within the FADT were not being
5140used, causing truncation of the upper 32-bits of these addresses. Lin Ming
5141and Bob Moore
5142
5143----------------------------------------
514419 October 2007. Summary of changes for version 20071019:
5145
51461) ACPI CA Core Subsystem:
5147
5148Fixed a problem with the Alias operator when the target of the alias is a
5149named ASL operator that opens a new scope -- Scope, Device, PowerResource,
5150Processor, and ThermalZone. In these cases, any children of the original
5151operator could not be accessed via the alias, potentially causing
5152unexpected
5153AE_NOT_FOUND exceptions. (BZ 9067)
5154
5155Fixed a problem with the Package operator where all named references were
5156created as object references and left otherwise unresolved. According to
5157the
5158ACPI specification, a Package can only contain Data Objects or references
5159to
5160control methods. The implication is that named references to Data Objects
5161(Integer, Buffer, String, Package, BufferField, Field) should be resolved
5162immediately upon package creation. This is the approach taken with this
5163change. References to all other named objects (Methods, Devices, Scopes,
5164etc.) are all now properly created as reference objects. (BZ 5328)
5165
5166Reverted a change to Notify handling that was introduced in version
516720070508. This version changed the Notify handling from asynchronous to
5168fully synchronous (Device driver Notify handling with respect to the
5169Notify
5170ASL operator). It was found that this change caused more problems than it
5171solved and was removed by most users.
5172
5173Fixed a problem with the Increment and Decrement operators where the type
5174of
5175the target object could be unexpectedly and incorrectly changed. (BZ 353)
5176Lin Ming.
5177
5178Fixed a problem with the Load and LoadTable operators where the table
5179location within the namespace was ignored. Instead, the table was always
5180loaded into the root or current scope. Lin Ming.
5181
5182Fixed a problem with the Load operator when loading a table from a buffer
5183object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
5184
5185Fixed a problem with the Debug object where a store of a DdbHandle
5186reference
5187object to the Debug object could cause a fault.
5188
5189Added a table checksum verification for the Load operator, in the case
5190where
5191the load is from a buffer. (BZ 578).
5192
5193Implemented additional parameter validation for the LoadTable operator.
5194The
5195length of the input strings SignatureString, OemIdString, and OemTableId
5196are
5197now checked for maximum lengths. (BZ 582) Lin Ming.
5198
5199Example Code and Data Size: These are the sizes for the OS-independent
5200acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5201debug version of the code includes the debug output trace mechanism and
5202has
5203a much larger code and data size.
5204
5205  Previous Release:
5206    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5207    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5208  Current Release:
5209    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
5210    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
5211
5212
52132) iASL Compiler/Disassembler:
5214
5215Fixed a problem where if a single file was specified and the file did not
5216exist, no error message was emitted. (Introduced with wildcard support in
5217version 20070917.)
5218
5219----------------------------------------
522019 September 2007. Summary of changes for version 20070919:
5221
52221) ACPI CA Core Subsystem:
5223
5224Designed and implemented new external interfaces to install and remove
5225handlers for ACPI table-related events. Current events that are defined
5226are
5227LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
5228they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
5229AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
5230
5231Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
5232(acpi_serialized option on Linux) could cause some systems to hang during
5233initialization. (Bob Moore) BZ 8171
5234
5235Fixed a problem where objects of certain types (Device, ThermalZone,
5236Processor, PowerResource) can be not found if they are declared and
5237referenced from within the same control method (Lin Ming) BZ 341
5238
5239Example Code and Data Size: These are the sizes for the OS-independent
5240acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5241debug version of the code includes the debug output trace mechanism and
5242has
5243a much larger code and data size.
5244
5245  Previous Release:
5246    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5247    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5248  Current Release:
5249    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5250    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5251
5252
52532) iASL Compiler/Disassembler:
5254
5255Implemented support to allow multiple files to be compiled/disassembled in
5256a
5257single invocation. This includes command line wildcard support for both
5258the
5259Windows and Unix versions of the compiler. This feature simplifies the
5260disassembly and compilation of multiple ACPI tables in a single directory.
5261
5262----------------------------------------
526308 May 2007. Summary of changes for version 20070508:
5264
52651) ACPI CA Core Subsystem:
5266
5267Implemented a Microsoft compatibility design change for the handling of
5268the
5269Notify AML operator. Previously, notify handlers were dispatched and
5270executed completely asynchronously in a deferred thread. The new design
5271still executes the notify handlers in a different thread, but the original
5272thread that executed the Notify() now waits at a synchronization point for
5273the notify handler to complete. Some machines depend on a synchronous
5274Notify
5275operator in order to operate correctly.
5276
5277Implemented support to allow Package objects to be passed as method
5278arguments to the external AcpiEvaluateObject interface. Previously, this
5279would return the AE_NOT_IMPLEMENTED exception. This feature had not been
5280implemented since there were no reserved control methods that required it
5281until recently.
5282
5283Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
5284that
5285contained invalid non-zero values in reserved fields could cause later
5286failures because these fields have meaning in later revisions of the FADT.
5287For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
5288fields
5289are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
5290
5291Fixed a problem where the Global Lock handle was not properly updated if a
5292thread that acquired the Global Lock via executing AML code then attempted
5293to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
5294Joe
5295Liu.
5296
5297Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
5298could be corrupted if the interrupt being removed was at the head of the
5299list. Reported by Linn Crosetto.
5300
5301Example Code and Data Size: These are the sizes for the OS-independent
5302acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5303debug version of the code includes the debug output trace mechanism and
5304has
5305a much larger code and data size.
5306
5307  Previous Release:
5308    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5309    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5310  Current Release:
5311    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5312    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5313
5314----------------------------------------
531520 March 2007. Summary of changes for version 20070320:
5316
53171) ACPI CA Core Subsystem:
5318
5319Implemented a change to the order of interpretation and evaluation of AML
5320operand objects within the AML interpreter. The interpreter now evaluates
5321operands in the order that they appear in the AML stream (and the
5322corresponding ASL code), instead of in the reverse order (after the entire
5323operand list has been parsed). The previous behavior caused several subtle
5324incompatibilities with the Microsoft AML interpreter as well as being
5325somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
5326
5327Implemented a change to the ACPI Global Lock support. All interfaces to
5328the
5329global lock now allow the same thread to acquire the lock multiple times.
5330This affects the AcpiAcquireGlobalLock external interface to the global
5331lock
5332as well as the internal use of the global lock to support AML fields -- a
5333control method that is holding the global lock can now simultaneously
5334access
5335AML fields that require global lock protection. Previously, in both cases,
5336this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
5337to
5338AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
5339Controller. There is no change to the behavior of the AML Acquire
5340operator,
5341as this can already be used to acquire a mutex multiple times by the same
5342thread. BZ 8066. With assistance from Alexey Starikovskiy.
5343
5344Fixed a problem where invalid objects could be referenced in the AML
5345Interpreter after error conditions. During operand evaluation, ensure that
5346the internal "Return Object" field is cleared on error and only valid
5347pointers are stored there. Caused occasional access to deleted objects
5348that
5349resulted in "large reference count" warning messages. Valery Podrezov.
5350
5351Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
5352on
5353deeply nested control method invocations. BZ 7873, local BZ 487. Valery
5354Podrezov.
5355
5356Fixed an internal problem with the handling of result objects on the
5357interpreter result stack. BZ 7872. Valery Podrezov.
5358
5359Removed obsolete code that handled the case where AML_NAME_OP is the
5360target
5361of a reference (Reference.Opcode). This code was no longer necessary. BZ
53627874. Valery Podrezov.
5363
5364Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was
5365a
5366remnant from the previously discontinued 16-bit support.
5367
5368Example Code and Data Size: These are the sizes for the OS-independent
5369acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5370debug version of the code includes the debug output trace mechanism and
5371has
5372a much larger code and data size.
5373
5374  Previous Release:
5375    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5376    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5377  Current Release:
5378    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5379    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5380
5381----------------------------------------
538226 January 2007. Summary of changes for version 20070126:
5383
53841) ACPI CA Core Subsystem:
5385
5386Added the 2007 copyright to all module headers and signons. This affects
5387virtually every file in the ACPICA core subsystem, the iASL compiler, and
5388the utilities.
5389
5390Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
5391during a table load. A bad pointer was passed in the case where the DSDT
5392is
5393overridden, causing a fault in this case.
5394
5395Example Code and Data Size: These are the sizes for the OS-independent
5396acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5397debug version of the code includes the debug output trace mechanism and
5398has
5399a much larger code and data size.
5400
5401  Previous Release:
5402    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5403    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5404  Current Release:
5405    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5406    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5407
5408----------------------------------------
540915 December 2006. Summary of changes for version 20061215:
5410
54111) ACPI CA Core Subsystem:
5412
5413Support for 16-bit ACPICA has been completely removed since it is no
5414longer
5415necessary and it clutters the code. All 16-bit macros, types, and
5416conditional compiles have been removed, cleaning up and simplifying the
5417code
5418across the entire subsystem. DOS support is no longer needed since the
5419bootable Linux firmware kit is now available.
5420
5421The handler for the Global Lock is now removed during AcpiTerminate to
5422enable a clean subsystem restart, via the implementation of the
5423AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
5424HP)
5425
5426Implemented enhancements to the multithreading support within the debugger
5427to enable improved multithreading debugging and evaluation of the
5428subsystem.
5429(Valery Podrezov)
5430
5431Debugger: Enhanced the Statistics/Memory command to emit the total
5432(maximum)
5433memory used during the execution, as well as the maximum memory consumed
5434by
5435each of the various object types. (Valery Podrezov)
5436
5437Example Code and Data Size: These are the sizes for the OS-independent
5438acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5439debug version of the code includes the debug output trace mechanism and
5440has
5441a much larger code and data size.
5442
5443  Previous Release:
5444    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5445    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5446  Current Release:
5447    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5448    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5449
5450
54512) iASL Compiler/Disassembler and Tools:
5452
5453AcpiExec: Implemented a new option (-m) to display full memory use
5454statistics upon subsystem/program termination. (Valery Podrezov)
5455
5456----------------------------------------
545709 November 2006. Summary of changes for version 20061109:
5458
54591) ACPI CA Core Subsystem:
5460
5461Optimized the Load ASL operator in the case where the source operand is an
5462operation region. Simply map the operation region memory, instead of
5463performing a bytewise read. (Region must be of type SystemMemory, see
5464below.)
5465
5466Fixed the Load ASL operator for the case where the source operand is a
5467region field. A buffer object is also allowed as the source operand. BZ
5468480
5469
5470Fixed a problem where the Load ASL operator allowed the source operand to
5471be
5472an operation region of any type. It is now restricted to regions of type
5473SystemMemory, as per the ACPI specification. BZ 481
5474
5475Additional cleanup and optimizations for the new Table Manager code.
5476
5477AcpiEnable will now fail if all of the required ACPI tables are not loaded
5478(FADT, FACS, DSDT). BZ 477
5479
5480Added #pragma pack(8/4) to acobject.h to ensure that the structures in
5481this
5482header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
5483manually optimized to be aligned and will not work if it is byte-packed.
5484
5485Example Code and Data Size: These are the sizes for the OS-independent
5486acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5487debug version of the code includes the debug output trace mechanism and
5488has
5489a much larger code and data size.
5490
5491  Previous Release:
5492    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5493    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5494  Current Release:
5495    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5496    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5497
5498
54992) iASL Compiler/Disassembler and Tools:
5500
5501Fixed a problem where the presence of the _OSI predefined control method
5502within complex expressions could cause an internal compiler error.
5503
5504AcpiExec: Implemented full region support for multiple address spaces.
5505SpaceId is now part of the REGION object. BZ 429
5506
5507----------------------------------------
550811 October 2006. Summary of changes for version 20061011:
5509
55101) ACPI CA Core Subsystem:
5511
5512Completed an AML interpreter performance enhancement for control method
5513execution. Previously a 2-pass parse/execution, control methods are now
5514completely parsed and executed in a single pass. This improves overall
5515interpreter performance by ~25%, reduces code size, and reduces CPU stack
5516use. (Valery Podrezov + interpreter changes in version 20051202 that
5517eliminated namespace loading during the pass one parse.)
5518
5519Implemented _CID support for PCI Root Bridge detection. If the _HID does
5520not
5521match the predefined PCI Root Bridge IDs, the _CID list (if present) is
5522now
5523obtained and also checked for an ID match.
5524
5525Implemented additional support for the PCI _ADR execution: upsearch until
5526a
5527device scope is found before executing _ADR. This allows PCI_Config
5528operation regions to be declared locally within control methods underneath
5529PCI device objects.
5530
5531Fixed a problem with a possible race condition between threads executing
5532AcpiWalkNamespace and the AML interpreter. This condition was removed by
5533modifying AcpiWalkNamespace to (by default) ignore all temporary namespace
5534entries created during any concurrent control method execution. An
5535additional namespace race condition is known to exist between
5536AcpiWalkNamespace and the Load/Unload ASL operators and is still under
5537investigation.
5538
5539Restructured the AML ParseLoop function, breaking it into several
5540subfunctions in order to reduce CPU stack use and improve maintainability.
5541(Mikhail Kouzmich)
5542
5543AcpiGetHandle: Fix for parameter validation to detect invalid combinations
5544of prefix handle and pathname. BZ 478
5545
5546Example Code and Data Size: These are the sizes for the OS-independent
5547acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5548debug version of the code includes the debug output trace mechanism and
5549has
5550a much larger code and data size.
5551
5552  Previous Release:
5553    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5554    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
5555  Current Release:
5556    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5557    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5558
55592) iASL Compiler/Disassembler and Tools:
5560
5561Ported the -g option (get local ACPI tables) to the new ACPICA Table
5562Manager
5563to restore original behavior.
5564
5565----------------------------------------
556627 September 2006. Summary of changes for version 20060927:
5567
55681) ACPI CA Core Subsystem:
5569
5570Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
5571These functions now use a spinlock for mutual exclusion and the interrupt
5572level indication flag is not needed.
5573
5574Fixed a problem with the Global Lock where the lock could appear to be
5575obtained before it is actually obtained. The global lock semaphore was
5576inadvertently created with one unit instead of zero units. (BZ 464) Fiodor
5577Suietov.
5578
5579Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
5580during
5581a read from a buffer or region field. (BZ 458) Fiodor Suietov.
5582
5583Example Code and Data Size: These are the sizes for the OS-independent
5584acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5585debug version of the code includes the debug output trace mechanism and
5586has
5587a much larger code and data size.
5588
5589  Previous Release:
5590    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5591    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
5592  Current Release:
5593    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5594    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
5595
5596
55972) iASL Compiler/Disassembler and Tools:
5598
5599Fixed a compilation problem with the pre-defined Resource Descriptor field
5600names where an "object does not exist" error could be incorrectly
5601generated
5602if the parent ResourceTemplate pathname places the template within a
5603different namespace scope than the current scope. (BZ 7212)
5604
5605Fixed a problem where the compiler could hang after syntax errors detected
5606in an ElseIf construct. (BZ 453)
5607
5608Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
5609operator. An incorrect output filename was produced when this parameter
5610was
5611a null string (""). Now, the original input filename is used as the AML
5612output filename, with an ".aml" extension.
5613
5614Implemented a generic batch command mode for the AcpiExec utility (execute
5615any AML debugger command) (Valery Podrezov).
5616
5617----------------------------------------
561812 September 2006. Summary of changes for version 20060912:
5619
56201) ACPI CA Core Subsystem:
5621
5622Enhanced the implementation of the "serialized mode" of the interpreter
5623(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
5624specified, instead of creating a serialization semaphore per control
5625method,
5626the interpreter lock is simply no longer released before a blocking
5627operation during control method execution. This effectively makes the AML
5628Interpreter single-threaded. The overhead of a semaphore per-method is
5629eliminated.
5630
5631Fixed a regression where an error was no longer emitted if a control
5632method
5633attempts to create 2 objects of the same name. This once again returns
5634AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
5635that
5636will dynamically serialize the control method to possible prevent future
5637errors. (BZ 440)
5638
5639Integrated a fix for a problem with PCI Express HID detection in the PCI
5640Config Space setup procedure. (BZ 7145)
5641
5642Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
5643AcpiHwInitialize function - the FADT registers are now validated when the
5644table is loaded.
5645
5646Added two new warnings during FADT verification - 1) if the FADT is larger
5647than the largest known FADT version, and 2) if there is a mismatch between
5648a
564932-bit block address and the 64-bit X counterpart (when both are non-
5650zero.)
5651
5652Example Code and Data Size: These are the sizes for the OS-independent
5653acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5654debug version of the code includes the debug output trace mechanism and
5655has
5656a much larger code and data size.
5657
5658  Previous Release:
5659    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
5660    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
5661  Current Release:
5662    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
5663    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
5664
5665
56662) iASL Compiler/Disassembler and Tools:
5667
5668Fixed a problem with the implementation of the Switch() operator where the
5669temporary variable was declared too close to the actual Switch, instead of
5670at method level. This could cause a problem if the Switch() operator is
5671within a while loop, causing an error on the second iteration. (BZ 460)
5672
5673Disassembler - fix for error emitted for unknown type for target of scope
5674operator. Now, ignore it and continue.
5675
5676Disassembly of an FADT now verifies the input FADT and reports any errors
5677found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
5678
5679Disassembly of raw data buffers with byte initialization data now prefixes
5680each output line with the current buffer offset.
5681
5682Disassembly of ASF! table now includes all variable-length data fields at
5683the end of some of the subtables.
5684
5685The disassembler now emits a comment if a buffer appears to be a
5686ResourceTemplate, but cannot be disassembled as such because the EndTag
5687does
5688not appear at the very end of the buffer.
5689
5690AcpiExec - Added the "-t" command line option to enable the serialized
5691mode
5692of the AML interpreter.
5693
5694----------------------------------------
569531 August 2006. Summary of changes for version 20060831:
5696
56971) ACPI CA Core Subsystem:
5698
5699Miscellaneous fixes for the Table Manager:
5700- Correctly initialize internal common FADT for all 64-bit "X" fields
5701- Fixed a couple table mapping issues during table load
5702- Fixed a couple alignment issues for IA64
5703- Initialize input array to zero in AcpiInitializeTables
5704- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
5705AcpiGetTableByIndex
5706
5707Change for GPE support: when a "wake" GPE is received, all wake GPEs are
5708now
5709immediately disabled to prevent the waking GPE from firing again and to
5710prevent other wake GPEs from interrupting the wake process.
5711
5712Added the AcpiGpeCount global that tracks the number of processed GPEs, to
5713be used for debugging systems with a large number of ACPI interrupts.
5714
5715Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
5716both the ACPICA headers and the disassembler.
5717
5718Example Code and Data Size: These are the sizes for the OS-independent
5719acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5720debug version of the code includes the debug output trace mechanism and
5721has
5722a much larger code and data size.
5723
5724  Previous Release:
5725    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
5726    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
5727  Current Release:
5728    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
5729    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
5730
5731
57322) iASL Compiler/Disassembler and Tools:
5733
5734Disassembler support for the DMAR ACPI table.
5735
5736----------------------------------------
573723 August 2006. Summary of changes for version 20060823:
5738
57391) ACPI CA Core Subsystem:
5740
5741The Table Manager component has been completely redesigned and
5742reimplemented. The new design is much simpler, and reduces the overall
5743code
5744and data size of the kernel-resident ACPICA by approximately 5%. Also, it
5745is
5746now possible to obtain the ACPI tables very early during kernel
5747initialization, even before dynamic memory management is initialized.
5748(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
5749
5750Obsolete ACPICA interfaces:
5751
5752- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
5753init
5754time).
5755- AcpiLoadTable: Not needed.
5756- AcpiUnloadTable: Not needed.
5757
5758New ACPICA interfaces:
5759
5760- AcpiInitializeTables: Must be called before the table manager can be
5761used.
5762- AcpiReallocateRootTable: Used to transfer the root table to dynamically
5763allocated memory after it becomes available.
5764- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables
5765in the RSDT/XSDT.
5766
5767Other ACPICA changes:
5768
5769- AcpiGetTableHeader returns the actual mapped table header, not a copy.
5770Use
5771AcpiOsUnmapMemory to free this mapping.
5772- AcpiGetTable returns the actual mapped table. The mapping is managed
5773internally and must not be deleted by the caller. Use of this interface
5774causes no additional dynamic memory allocation.
5775- AcpiFindRootPointer: Support for physical addressing has been
5776eliminated,
5777it appeared to be unused.
5778- The interface to AcpiOsMapMemory has changed to be consistent with the
5779other allocation interfaces.
5780- The interface to AcpiOsGetRootPointer has changed to eliminate
5781unnecessary
5782parameters.
5783- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
5784bit platforms. Was previously 64 bits on all platforms.
5785- The interface to the ACPI Global Lock acquire/release macros have
5786changed
5787slightly since ACPICA no longer keeps a local copy of the FACS with a
5788constructed pointer to the actual global lock.
5789
5790Porting to the new table manager:
5791
5792- AcpiInitializeTables: Must be called once, and can be called anytime
5793during the OS initialization process. It allows the host to specify an
5794area
5795of memory to be used to store the internal version of the RSDT/XSDT (root
5796table). This allows the host to access ACPI tables before memory
5797management
5798is initialized and running.
5799- AcpiReallocateRootTable: Can be called after memory management is
5800running
5801to copy the root table to a dynamically allocated array, freeing up the
5802scratch memory specified in the call to AcpiInitializeTables.
5803- AcpiSubsystemInitialize: This existing interface is independent of the
5804Table Manager, and does not have to be called before the Table Manager can
5805be used, it only must be called before the rest of ACPICA can be used.
5806- ACPI Tables: Some changes have been made to the names and structure of
5807the
5808actbl.h and actbl1.h header files and may require changes to existing
5809code.
5810For example, bitfields have been completely removed because of their lack
5811of
5812portability across C compilers.
5813- Update interfaces to the Global Lock acquire/release macros if local
5814versions are used. (see acwin.h)
5815
5816Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
5817
5818New files: tbfind.c
5819
5820Example Code and Data Size: These are the sizes for the OS-independent
5821acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5822debug version of the code includes the debug output trace mechanism and
5823has
5824a much larger code and data size.
5825
5826  Previous Release:
5827    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
5828    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
5829  Current Release:
5830    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
5831    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
5832
5833
58342) iASL Compiler/Disassembler and Tools:
5835
5836No changes for this release.
5837
5838----------------------------------------
583921 July 2006. Summary of changes for version 20060721:
5840
58411) ACPI CA Core Subsystem:
5842
5843The full source code for the ASL test suite used to validate the iASL
5844compiler and the ACPICA core subsystem is being released with the ACPICA
5845source for the first time. The source is contained in a separate package
5846and
5847consists of over 1100 files that exercise all ASL/AML operators. The
5848package
5849should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor
5850Suietov)
5851
5852Completed a new design and implementation for support of the ACPI Global
5853Lock. On the OS side, the global lock is now treated as a standard AML
5854mutex. Previously, multiple OS threads could "acquire" the global lock
5855simultaneously. However, this could cause the BIOS to be starved out of
5856the
5857lock - especially in cases such as the Embedded Controller driver where
5858there is a tight coupling between the OS and the BIOS.
5859
5860Implemented an optimization for the ACPI Global Lock interrupt mechanism.
5861The Global Lock interrupt handler no longer queues the execution of a
5862separate thread to signal the global lock semaphore. Instead, the
5863semaphore
5864is signaled directly from the interrupt handler.
5865
5866Implemented support within the AML interpreter for package objects that
5867contain a larger AML length (package list length) than the package element
5868count. In this case, the length of the package is truncated to match the
5869package element count. Some BIOS code apparently modifies the package
5870length
5871on the fly, and this change supports this behavior. Provides compatibility
5872with the MS AML interpreter. (With assistance from Fiodor Suietov)
5873
5874Implemented a temporary fix for the BankValue parameter of a Bank Field to
5875support all constant values, now including the Zero and One opcodes.
5876Evaluation of this parameter must eventually be converted to a full
5877TermArg
5878evaluation. A not-implemented error is now returned (temporarily) for non-
5879constant values for this parameter.
5880
5881Fixed problem reports (Fiodor Suietov) integrated:
5882- Fix for premature object deletion after CopyObject on Operation Region
5883(BZ
5884350)
5885
5886Example Code and Data Size: These are the sizes for the OS-independent
5887acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5888debug version of the code includes the debug output trace mechanism and
5889has
5890a much larger code and data size.
5891
5892  Previous Release:
5893    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
5894    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
5895  Current Release:
5896    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
5897    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
5898
5899
59002) iASL Compiler/Disassembler and Tools:
5901
5902No changes for this release.
5903
5904----------------------------------------
590507 July 2006. Summary of changes for version 20060707:
5906
59071) ACPI CA Core Subsystem:
5908
5909Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
5910that do not allow the initialization of address pointers within packed
5911structures - even though the hardware itself may support misaligned
5912transfers. Some of the debug data structures are packed by default to
5913minimize size.
5914
5915Added an error message for the case where AcpiOsGetThreadId() returns
5916zero.
5917A non-zero value is required by the core ACPICA code to ensure the proper
5918operation of AML mutexes and recursive control methods.
5919
5920The DSDT is now the only ACPI table that determines whether the AML
5921interpreter is in 32-bit or 64-bit mode. Not really a functional change,
5922but
5923the hooks for per-table 32/64 switching have been removed from the code. A
5924clarification to the ACPI specification is forthcoming in ACPI 3.0B.
5925
5926Fixed a possible leak of an OwnerID in the error path of
5927AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
5928deletion to a single place in AcpiTbUninstallTable to correct possible
5929leaks
5930when using the AcpiTbDeleteTablesByType interface (with assistance from
5931Lance Ortiz.)
5932
5933Fixed a problem with Serialized control methods where the semaphore
5934associated with the method could be over-signaled after multiple method
5935invocations.
5936
5937Fixed two issues with the locking of the internal namespace data
5938structure.
5939Both the Unload() operator and AcpiUnloadTable interface now lock the
5940namespace during the namespace deletion associated with the table unload
5941(with assistance from Linn Crosetto.)
5942
5943Fixed problem reports (Valery Podrezov) integrated:
5944- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
5945
5946Fixed problem reports (Fiodor Suietov) integrated:
5947- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
5948- On Address Space handler deletion, needless deactivation call (BZ 374)
5949- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
5950- Possible memory leak, Notify sub-objects of Processor, Power,
5951ThermalZone
5952(BZ 376)
5953- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
5954- Minimum Length of RSDT should be validated (BZ 379)
5955- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
5956Handler (BZ (380)
5957- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
5958loaded
5959(BZ 381)
5960
5961Example Code and Data Size: These are the sizes for the OS-independent
5962acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5963debug version of the code includes the debug output trace mechanism and
5964has
5965a much larger code and data size.
5966
5967  Previous Release:
5968    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
5969    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
5970  Current Release:
5971    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
5972    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
5973
5974
59752) iASL Compiler/Disassembler and Tools:
5976
5977Fixed problem reports:
5978Compiler segfault when ASL contains a long (>1024) String declaration (BZ
5979436)
5980
5981----------------------------------------
598223 June 2006. Summary of changes for version 20060623:
5983
59841) ACPI CA Core Subsystem:
5985
5986Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
5987allows the type to be customized to the host OS for improved efficiency
5988(since a spinlock is usually a very small object.)
5989
5990Implemented support for "ignored" bits in the ACPI registers. According to
5991the ACPI specification, these bits should be preserved when writing the
5992registers via a read/modify/write cycle. There are 3 bits preserved in
5993this
5994manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
5995
5996Implemented the initial deployment of new OSL mutex interfaces. Since some
5997host operating systems have separate mutex and semaphore objects, this
5998feature was requested. The base code now uses mutexes (and the new mutex
5999interfaces) wherever a binary semaphore was used previously. However, for
6000the current release, the mutex interfaces are defined as macros to map
6001them
6002to the existing semaphore interfaces. Therefore, no OSL changes are
6003required
6004at this time. (See acpiosxf.h)
6005
6006Fixed several problems with the support for the control method SyncLevel
6007parameter. The SyncLevel now works according to the ACPI specification and
6008in concert with the Mutex SyncLevel parameter, since the current SyncLevel
6009is a property of the executing thread. Mutual exclusion for control
6010methods
6011is now implemented with a mutex instead of a semaphore.
6012
6013Fixed three instances of the use of the C shift operator in the bitfield
6014support code (exfldio.c) to avoid the use of a shift value larger than the
6015target data width. The behavior of C compilers is undefined in this case
6016and
6017can cause unpredictable results, and therefore the case must be detected
6018and
6019avoided. (Fiodor Suietov)
6020
6021Added an info message whenever an SSDT or OEM table is loaded dynamically
6022via the Load() or LoadTable() ASL operators. This should improve debugging
6023capability since it will show exactly what tables have been loaded (beyond
6024the tables present in the RSDT/XSDT.)
6025
6026Example Code and Data Size: These are the sizes for the OS-independent
6027acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6028debug version of the code includes the debug output trace mechanism and
6029has
6030a much larger code and data size.
6031
6032  Previous Release:
6033    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
6034    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
6035  Current Release:
6036    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
6037    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
6038
6039
60402) iASL Compiler/Disassembler and Tools:
6041
6042No changes for this release.
6043
6044----------------------------------------
604508 June 2006. Summary of changes for version 20060608:
6046
60471) ACPI CA Core Subsystem:
6048
6049Converted the locking mutex used for the ACPI hardware to a spinlock. This
6050change should eliminate all problems caused by attempting to acquire a
6051semaphore at interrupt level, and it means that all ACPICA external
6052interfaces that directly access the ACPI hardware can be safely called
6053from
6054interrupt level. OSL code that implements the semaphore interfaces should
6055be
6056able to eliminate any workarounds for being called at interrupt level.
6057
6058Fixed a regression introduced in 20060526 where the ACPI device
6059initialization could be prematurely aborted with an AE_NOT_FOUND if a
6060device
6061did not have an optional _INI method.
6062
6063Fixed an IndexField issue where a write to the Data Register should be
6064limited in size to the AccessSize (width) of the IndexField itself. (BZ
6065433,
6066Fiodor Suietov)
6067
6068Fixed problem reports (Valery Podrezov) integrated:
6069- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
6070
6071Fixed problem reports (Fiodor Suietov) integrated:
6072- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
6073
6074Removed four global mutexes that were obsolete and were no longer being
6075used.
6076
6077Example Code and Data Size: These are the sizes for the OS-independent
6078acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6079debug version of the code includes the debug output trace mechanism and
6080has
6081a much larger code and data size.
6082
6083  Previous Release:
6084    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
6085    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
6086  Current Release:
6087    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
6088    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
6089
6090
60912) iASL Compiler/Disassembler and Tools:
6092
6093Fixed a fault when using -g option (get tables from registry) on Windows
6094machines.
6095
6096Fixed problem reports integrated:
6097- Generate error if CreateField NumBits parameter is zero. (BZ 405)
6098- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
6099Suietov)
6100- Global table revision override (-r) is ignored (BZ 413)
6101
6102----------------------------------------
610326 May 2006. Summary of changes for version 20060526:
6104
61051) ACPI CA Core Subsystem:
6106
6107Restructured, flattened, and simplified the internal interfaces for
6108namespace object evaluation - resulting in smaller code, less CPU stack
6109use,
6110and fewer interfaces. (With assistance from Mikhail Kouzmich)
6111
6112Fixed a problem with the CopyObject operator where the first parameter was
6113not typed correctly for the parser, interpreter, compiler, and
6114disassembler.
6115Caused various errors and unexpected behavior.
6116
6117Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
6118produced incorrect results with some C compilers. Since the behavior of C
6119compilers when the shift value is larger than the datatype width is
6120apparently not well defined, the interpreter now detects this condition
6121and
6122simply returns zero as expected in all such cases. (BZ 395)
6123
6124Fixed problem reports (Valery Podrezov) integrated:
6125- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
6126- Allow interpreter to handle nested method declarations (BZ 5361)
6127
6128Fixed problem reports (Fiodor Suietov) integrated:
6129- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
6130- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
6131356)
6132- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
6133- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
6134- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
6135- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
6136- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
6137- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
6138- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
6139365)
6140- Status of the Global Initialization Handler call not used (BZ 366)
6141- Incorrect object parameter to Global Initialization Handler (BZ 367)
6142
6143Example Code and Data Size: These are the sizes for the OS-independent
6144acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6145debug version of the code includes the debug output trace mechanism and
6146has
6147a much larger code and data size.
6148
6149  Previous Release:
6150    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
6151    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
6152  Current Release:
6153    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
6154    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
6155
6156
61572) iASL Compiler/Disassembler and Tools:
6158
6159Modified the parser to allow the names IO, DMA, and IRQ to be used as
6160namespace identifiers with no collision with existing resource descriptor
6161macro names. This provides compatibility with other ASL compilers and is
6162most useful for disassembly/recompilation of existing tables without parse
6163errors. (With assistance from Thomas Renninger)
6164
6165Disassembler: fixed an incorrect disassembly problem with the
6166DataTableRegion and CopyObject operators. Fixed a possible fault during
6167disassembly of some Alias operators.
6168
6169----------------------------------------
617012 May 2006. Summary of changes for version 20060512:
6171
61721) ACPI CA Core Subsystem:
6173
6174Replaced the AcpiOsQueueForExecution interface with a new interface named
6175AcpiOsExecute. The major difference is that the new interface does not
6176have
6177a Priority parameter, this appeared to be useless and has been replaced by
6178a
6179Type parameter. The Type tells the host what type of execution is being
6180requested, such as global lock handler, notify handler, GPE handler, etc.
6181This allows the host to queue and execute the request as appropriate for
6182the
6183request type, possibly using different work queues and different
6184priorities
6185for the various request types. This enables fixes for multithreading
6186deadlock problems such as BZ #5534, and will require changes to all
6187existing
6188OS interface layers. (Alexey Starikovskiy and Bob Moore)
6189
6190Fixed a possible memory leak associated with the support for the so-called
6191"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
6192Suietov)
6193
6194Fixed a problem with the Load() operator where a table load from an
6195operation region could overwrite an internal table buffer by up to 7 bytes
6196and cause alignment faults on IPF systems. (With assistance from Luming
6197Yu)
6198
6199Example Code and Data Size: These are the sizes for the OS-independent
6200acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6201debug version of the code includes the debug output trace mechanism and
6202has
6203a much larger code and data size.
6204
6205  Previous Release:
6206    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6207    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6208  Current Release:
6209    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
6210    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
6211
6212
6213
62142) iASL Compiler/Disassembler and Tools:
6215
6216Disassembler: Implemented support to cross reference the internal
6217namespace
6218and automatically generate ASL External() statements for symbols not
6219defined
6220within the current table being disassembled. This will simplify the
6221disassembly and recompilation of interdependent tables such as SSDTs since
6222these statements will no longer have to be added manually.
6223
6224Disassembler: Implemented experimental support to automatically detect
6225invocations of external control methods and generate appropriate
6226External()
6227statements. This is problematic because the AML cannot be correctly parsed
6228until the number of arguments for each control method is known. Currently,
6229standalone method invocations and invocations as the source operand of a
6230Store() statement are supported.
6231
6232Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
6233LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
6234LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
6235more readable and likely closer to the original ASL source.
6236
6237----------------------------------------
623821 April 2006. Summary of changes for version 20060421:
6239
62401) ACPI CA Core Subsystem:
6241
6242Removed a device initialization optimization introduced in 20051216 where
6243the _STA method was not run unless an _INI was also present for the same
6244device. This optimization could cause problems because it could allow _INI
6245methods to be run within a not-present device subtree. (If a not-present
6246device had no _INI, _STA would not be run, the not-present status would
6247not
6248be discovered, and the children of the device would be incorrectly
6249traversed.)
6250
6251Implemented a new _STA optimization where namespace subtrees that do not
6252contain _INI are identified and ignored during device initialization.
6253Selectively running _STA can significantly improve boot time on large
6254machines (with assistance from Len Brown.)
6255
6256Implemented support for the device initialization case where the returned
6257_STA flags indicate a device not-present but functioning. In this case,
6258_INI
6259is not run, but the device children are examined for presence, as per the
6260ACPI specification.
6261
6262Implemented an additional change to the IndexField support in order to
6263conform to MS behavior. The value written to the Index Register is not
6264simply a byte offset, it is a byte offset in units of the access width of
6265the parent Index Field. (Fiodor Suietov)
6266
6267Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
6268interface is called during the creation of all AML operation regions, and
6269allows the host OS to exert control over what addresses it will allow the
6270AML code to access. Operation Regions whose addresses are disallowed will
6271cause a runtime exception when they are actually accessed (will not affect
6272or abort table loading.) See oswinxf or osunixxf for an example
6273implementation.
6274
6275Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
6276interface allows the host OS to match the various "optional"
6277interface/behavior strings for the _OSI predefined control method as
6278appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
6279for an example implementation.
6280
6281Restructured and corrected various problems in the exception handling code
6282paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
6283(with assistance from Takayoshi Kochi.)
6284
6285Modified the Linux source converter to ignore quoted string literals while
6286converting identifiers from mixed to lower case. This will correct
6287problems
6288with the disassembler and other areas where such strings must not be
6289modified.
6290
6291The ACPI_FUNCTION_* macros no longer require quotes around the function
6292name. This allows the Linux source converter to convert the names, now
6293that
6294the converter ignores quoted strings.
6295
6296Example Code and Data Size: These are the sizes for the OS-independent
6297acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6298debug version of the code includes the debug output trace mechanism and
6299has
6300a much larger code and data size.
6301
6302  Previous Release:
6303
6304    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6305    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6306  Current Release:
6307    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6308    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6309
6310
63112) iASL Compiler/Disassembler and Tools:
6312
6313Implemented 3 new warnings for iASL, and implemented multiple warning
6314levels
6315(w2 flag).
6316
63171) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
6318not
6319WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
6320check for the possible timeout, a warning is issued.
6321
63222) Useless operators: If an ASL operator does not specify an optional
6323target
6324operand and it also does not use the function return value from the
6325operator, a warning is issued since the operator effectively does nothing.
6326
63273) Unreferenced objects: If a namespace object is created, but never
6328referenced, a warning is issued. This is a warning level 2 since there are
6329cases where this is ok, such as when a secondary table is loaded that uses
6330the unreferenced objects. Even so, care is taken to only flag objects that
6331don't look like they will ever be used. For example, the reserved methods
6332(starting with an underscore) are usually not referenced because it is
6333expected that the OS will invoke them.
6334
6335----------------------------------------
633631 March 2006. Summary of changes for version 20060331:
6337
63381) ACPI CA Core Subsystem:
6339
6340Implemented header file support for the following additional ACPI tables:
6341ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
6342support,
6343all current and known ACPI tables are now defined in the ACPICA headers
6344and
6345are available for use by device drivers and other software.
6346
6347Implemented support to allow tables that contain ACPI names with invalid
6348characters to be loaded. Previously, this would cause the table load to
6349fail, but since there are several known cases of such tables on existing
6350machines, this change was made to enable ACPI support for them. Also, this
6351matches the behavior of the Microsoft ACPI implementation.
6352
6353Fixed a couple regressions introduced during the memory optimization in
6354the
635520060317 release. The namespace node definition required additional
6356reorganization and an internal datatype that had been changed to 8-bit was
6357restored to 32-bit. (Valery Podrezov)
6358
6359Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
6360could be passed through to AcpiOsReleaseObject which is unexpected. Such
6361null pointers are now trapped and ignored, matching the behavior of the
6362previous implementation before the deployment of AcpiOsReleaseObject.
6363(Valery Podrezov, Fiodor Suietov)
6364
6365Fixed a memory mapping leak during the deletion of a SystemMemory
6366operation
6367region where a cached memory mapping was not deleted. This became a
6368noticeable problem for operation regions that are defined within
6369frequently
6370used control methods. (Dana Meyers)
6371
6372Reorganized the ACPI table header files into two main files: one for the
6373ACPI tables consumed by the ACPICA core, and another for the miscellaneous
6374ACPI tables that are consumed by the drivers and other software. The
6375various
6376FADT definitions were merged into one common section and three different
6377tables (ACPI 1.0, 1.0+, and 2.0)
6378
6379Example Code and Data Size: These are the sizes for the OS-independent
6380acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6381debug version of the code includes the debug output trace mechanism and
6382has
6383a much larger code and data size.
6384
6385  Previous Release:
6386    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6387    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6388  Current Release:
6389    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6390    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6391
6392
63932) iASL Compiler/Disassembler and Tools:
6394
6395Disassembler: Implemented support to decode and format all non-AML ACPI
6396tables (tables other than DSDTs and SSDTs.) This includes the new tables
6397added to the ACPICA headers, therefore all current and known ACPI tables
6398are
6399supported.
6400
6401Disassembler: The change to allow ACPI names with invalid characters also
6402enables the disassembly of such tables. Invalid characters within names
6403are
6404changed to '*' to make the name printable; the iASL compiler will still
6405generate an error for such names, however, since this is an invalid ACPI
6406character.
6407
6408Implemented an option for AcpiXtract (-a) to extract all tables found in
6409the
6410input file. The default invocation extracts only the DSDTs and SSDTs.
6411
6412Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
6413makefile for the AcpiXtract utility.
6414
6415----------------------------------------
641617 March 2006. Summary of changes for version 20060317:
6417
64181) ACPI CA Core Subsystem:
6419
6420Implemented the use of a cache object for all internal namespace nodes.
6421Since there are about 1000 static nodes in a typical system, this will
6422decrease memory use for cache implementations that minimize per-allocation
6423overhead (such as a slab allocator.)
6424
6425Removed the reference count mechanism for internal namespace nodes, since
6426it
6427was deemed unnecessary. This reduces the size of each namespace node by
6428about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case,
6429and 32 bytes for the 64-bit case.
6430
6431Optimized several internal data structures to reduce object size on 64-bit
6432platforms by packing data within the 64-bit alignment. This includes the
6433frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
6434instances corresponding to the namespace objects.
6435
6436Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1"
6437and "Windows 2006".
6438
6439Split the allocation tracking mechanism out to a separate file, from
6440utalloc.c to uttrack.c. This mechanism appears to be only useful for
6441application-level code. Kernels may wish to not include uttrack.c in
6442distributions.
6443
6444Removed all remnants of the obsolete ACPI_REPORT_* macros and the
6445associated
6446code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
6447macros.)
6448
6449Code and Data Size: These are the sizes for the acpica.lib produced by the
6450Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
6451ACPI
6452driver or OSPM code. The debug version of the code includes the debug
6453output
6454trace mechanism and has a much larger code and data size. Note that these
6455values will vary depending on the efficiency of the compiler and the
6456compiler options used during generation.
6457
6458  Previous Release:
6459    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6460    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
6461  Current Release:
6462    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6463    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6464
6465
64662) iASL Compiler/Disassembler and Tools:
6467
6468Implemented an ANSI C version of the acpixtract utility. This version will
6469automatically extract the DSDT and all SSDTs from the input acpidump text
6470file and dump the binary output to separate files. It can also display a
6471summary of the input file including the headers for each table found and
6472will extract any single ACPI table, with any signature. (See
6473source/tools/acpixtract)
6474
6475----------------------------------------
647610 March 2006. Summary of changes for version 20060310:
6477
64781) ACPI CA Core Subsystem:
6479
6480Tagged all external interfaces to the subsystem with the new
6481ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist
6482kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
6483macro. The default definition is NULL.
6484
6485Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId.
6486This allows the host to define this as necessary to simplify kernel
6487integration. The default definition is ACPI_NATIVE_UINT.
6488
6489Fixed two interpreter problems related to error processing, the deletion
6490of
6491objects, and placing invalid pointers onto the internal operator result
6492stack. BZ 6028, 6151 (Valery Podrezov)
6493
6494Increased the reference count threshold where a warning is emitted for
6495large
6496reference counts in order to eliminate unnecessary warnings on systems
6497with
6498large namespaces (especially 64-bit.) Increased the value from 0x400 to
64990x800.
6500
6501Due to universal disagreement as to the meaning of the 'c' in the calloc()
6502function, the ACPI_MEM_CALLOCATE macro has been renamed to
6503ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
6504ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
6505ACPI_FREE.
6506
6507Code and Data Size: These are the sizes for the acpica.lib produced by the
6508Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
6509ACPI
6510driver or OSPM code. The debug version of the code includes the debug
6511output
6512trace mechanism and has a much larger code and data size. Note that these
6513values will vary depending on the efficiency of the compiler and the
6514compiler options used during generation.
6515
6516  Previous Release:
6517    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
6518    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
6519  Current Release:
6520    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6521    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
6522
6523
65242) iASL Compiler/Disassembler:
6525
6526Disassembler: implemented support for symbolic resource descriptor
6527references. If a CreateXxxxField operator references a fixed offset within
6528a
6529resource descriptor, a name is assigned to the descriptor and the offset
6530is
6531translated to the appropriate resource tag and pathname. The addition of
6532this support brings the disassembled code very close to the original ASL
6533source code and helps eliminate run-time errors when the disassembled code
6534is modified (and recompiled) in such a way as to invalidate the original
6535fixed offsets.
6536
6537Implemented support for a Descriptor Name as the last parameter to the ASL
6538Register() macro. This parameter was inadvertently left out of the ACPI
6539specification, and will be added for ACPI 3.0b.
6540
6541Fixed a problem where the use of the "_OSI" string (versus the full path
6542"\_OSI") caused an internal compiler error. ("No back ptr to op")
6543
6544Fixed a problem with the error message that occurs when an invalid string
6545is
6546used for a _HID object (such as one with an embedded asterisk:
6547"*PNP010A".)
6548The correct message is now displayed.
6549
6550----------------------------------------
655117 February 2006. Summary of changes for version 20060217:
6552
65531) ACPI CA Core Subsystem:
6554
6555Implemented a change to the IndexField support to match the behavior of
6556the
6557Microsoft AML interpreter. The value written to the Index register is now
6558a
6559byte offset, no longer an index based upon the width of the Data register.
6560This should fix IndexField problems seen on some machines where the Data
6561register is not exactly one byte wide. The ACPI specification will be
6562clarified on this point.
6563
6564Fixed a problem where several resource descriptor types could overrun the
6565internal descriptor buffer due to size miscalculation: VendorShort,
6566VendorLong, and Interrupt. This was noticed on IA64 machines, but could
6567affect all platforms.
6568
6569Fixed a problem where individual resource descriptors were misaligned
6570within
6571the internal buffer, causing alignment faults on IA64 platforms.
6572
6573Code and Data Size: These are the sizes for the acpica.lib produced by the
6574Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
6575ACPI
6576driver or OSPM code. The debug version of the code includes the debug
6577output
6578trace mechanism and has a much larger code and data size. Note that these
6579values will vary depending on the efficiency of the compiler and the
6580compiler options used during generation.
6581
6582  Previous Release:
6583    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6584    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
6585  Current Release:
6586    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
6587    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
6588
6589
65902) iASL Compiler/Disassembler:
6591
6592Implemented support for new reserved names: _WDG and _WED are Microsoft
6593extensions for Windows Instrumentation Management, _TDL is a new ACPI-
6594defined method (Throttling Depth Limit.)
6595
6596Fixed a problem where a zero-length VendorShort or VendorLong resource
6597descriptor was incorrectly emitted as a descriptor of length one.
6598
6599----------------------------------------
660010 February 2006. Summary of changes for version 20060210:
6601
66021) ACPI CA Core Subsystem:
6603
6604Removed a couple of extraneous ACPI_ERROR messages that appeared during
6605normal execution. These became apparent after the conversion from
6606ACPI_DEBUG_PRINT.
6607
6608Fixed a problem where the CreateField operator could hang if the BitIndex
6609or
6610NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
6611
6612Fixed a problem where a DeRefOf operation on a buffer object incorrectly
6613failed with an exception. This also fixes a couple of related RefOf and
6614DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
6615
6616Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
6617of
6618AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
6619BZ
66205480)
6621
6622Implemented a memory cleanup at the end of the execution of each iteration
6623of an AML While() loop, preventing the accumulation of outstanding
6624objects.
6625(Valery Podrezov, BZ 5427)
6626
6627Eliminated a chunk of duplicate code in the object resolution code.
6628(Valery
6629Podrezov, BZ 5336)
6630
6631Fixed several warnings during the 64-bit code generation.
6632
6633The AcpiSrc source code conversion tool now inserts one line of whitespace
6634after an if() statement that is followed immediately by a comment,
6635improving
6636readability of the Linux code.
6637
6638Code and Data Size: The current and previous library sizes for the core
6639subsystem are shown below. These are the code and data sizes for the
6640acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6641values do not include any ACPI driver or OSPM code. The debug version of
6642the
6643code includes the debug output trace mechanism and has a much larger code
6644and data size. Note that these values will vary depending on the
6645efficiency
6646of the compiler and the compiler options used during generation.
6647
6648  Previous Release:
6649    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
6650    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
6651  Current Release:
6652    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
6653    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
6654
6655
66562) iASL Compiler/Disassembler:
6657
6658Fixed a problem with the disassembly of a BankField operator with a
6659complex
6660expression for the BankValue parameter.
6661
6662----------------------------------------
666327 January 2006. Summary of changes for version 20060127:
6664
66651) ACPI CA Core Subsystem:
6666
6667Implemented support in the Resource Manager to allow unresolved namestring
6668references within resource package objects for the _PRT method. This
6669support
6670is in addition to the previously implemented unresolved reference support
6671within the AML parser. If the interpreter slack mode is enabled, these
6672unresolved references will be passed through to the caller as a NULL
6673package
6674entry.
6675
6676Implemented and deployed new macros and functions for error and warning
6677messages across the subsystem. These macros are simpler and generate less
6678code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
6679ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
6680macros remain defined to allow ACPI drivers time to migrate to the new
6681macros.
6682
6683Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the
6684Acquire/Release Lock OSL interfaces.
6685
6686Fixed a problem where Alias ASL operators are sometimes not correctly
6687resolved, in both the interpreter and the iASL compiler.
6688
6689Fixed several problems with the implementation of the
6690ConcatenateResTemplate
6691ASL operator. As per the ACPI specification, zero length buffers are now
6692treated as a single EndTag. One-length buffers always cause a fatal
6693exception. Non-zero length buffers that do not end with a full 2-byte
6694EndTag
6695cause a fatal exception.
6696
6697Fixed a possible structure overwrite in the AcpiGetObjectInfo external
6698interface. (With assistance from Thomas Renninger)
6699
6700Code and Data Size: The current and previous library sizes for the core
6701subsystem are shown below. These are the code and data sizes for the
6702acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6703values do not include any ACPI driver or OSPM code. The debug version of
6704the
6705code includes the debug output trace mechanism and has a much larger code
6706and data size. Note that these values will vary depending on the
6707efficiency
6708of the compiler and the compiler options used during generation.
6709
6710  Previous Release:
6711    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
6712    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
6713  Current Release:
6714    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
6715    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
6716
6717
67182) iASL Compiler/Disassembler:
6719
6720Fixed an internal error that was generated for any forward references to
6721ASL
6722Alias objects.
6723
6724----------------------------------------
672513 January 2006. Summary of changes for version 20060113:
6726
67271) ACPI CA Core Subsystem:
6728
6729Added 2006 copyright to all module headers and signons. This affects
6730virtually every file in the ACPICA core subsystem, iASL compiler, and the
6731utilities.
6732
6733Enhanced the ACPICA error reporting in order to simplify user migration to
6734the non-debug version of ACPICA. Replaced all instances of the
6735ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug
6736levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
6737respectively. This preserves all error and warning messages in the non-
6738debug
6739version of the ACPICA code (this has been referred to as the "debug lite"
6740option.) Over 200 cases were converted to create a total of over 380
6741error/warning messages across the ACPICA code. This increases the code and
6742data size of the default non-debug version of the code somewhat (about
674313K),
6744but all error/warning reporting may be disabled if desired (and code
6745eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
6746configuration option. The size of the debug version of ACPICA remains
6747about
6748the same.
6749
6750Fixed a memory leak within the AML Debugger "Set" command. One object was
6751not properly deleted for every successful invocation of the command.
6752
6753Code and Data Size: The current and previous library sizes for the core
6754subsystem are shown below. These are the code and data sizes for the
6755acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6756values do not include any ACPI driver or OSPM code. The debug version of
6757the
6758code includes the debug output trace mechanism and has a much larger code
6759and data size. Note that these values will vary depending on the
6760efficiency
6761of the compiler and the compiler options used during generation.
6762
6763  Previous Release:
6764    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
6765    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
6766  Current Release:
6767    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
6768    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
6769
6770
67712) iASL Compiler/Disassembler:
6772
6773The compiler now officially supports the ACPI 3.0a specification that was
6774released on December 30, 2005. (Specification is available at
6775www.acpi.info)
6776
6777----------------------------------------
677816 December 2005. Summary of changes for version 20051216:
6779
67801) ACPI CA Core Subsystem:
6781
6782Implemented optional support to allow unresolved names within ASL Package
6783objects. A null object is inserted in the package when a named reference
6784cannot be located in the current namespace. Enabled via the interpreter
6785slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines
6786that contain such code.
6787
6788Implemented an optimization to the initialization sequence that can
6789improve
6790boot time. During ACPI device initialization, the _STA method is now run
6791if
6792and only if the _INI method exists. The _STA method is used to determine
6793if
6794the device is present; An _INI can only be run if _STA returns present,
6795but
6796it is a waste of time to run the _STA method if the _INI does not exist.
6797(Prototype and assistance from Dong Wei)
6798
6799Implemented use of the C99 uintptr_t for the pointer casting macros if it
6800is
6801available in the current compiler. Otherwise, the default (void *) cast is
6802used as before.
6803
6804Fixed some possible memory leaks found within the execution path of the
6805Break, Continue, If, and CreateField operators. (Valery Podrezov)
6806
6807Fixed a problem introduced in the 20051202 release where an exception is
6808generated during method execution if a control method attempts to declare
6809another method.
6810
6811Moved resource descriptor string constants that are used by both the AML
6812disassembler and AML debugger to the common utilities directory so that
6813these components are independent.
6814
6815Implemented support in the AcpiExec utility (-e switch) to globally ignore
6816exceptions during control method execution (method is not aborted.)
6817
6818Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
6819generation.
6820
6821Code and Data Size: The current and previous library sizes for the core
6822subsystem are shown below. These are the code and data sizes for the
6823acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6824values do not include any ACPI driver or OSPM code. The debug version of
6825the
6826code includes the debug output trace mechanism and has a much larger code
6827and data size. Note that these values will vary depending on the
6828efficiency
6829of the compiler and the compiler options used during generation.
6830
6831  Previous Release:
6832    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6833    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
6834  Current Release:
6835    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
6836    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
6837
6838
68392) iASL Compiler/Disassembler:
6840
6841Fixed a problem where a CPU stack overflow fault could occur if a
6842recursive
6843method call was made from within a Return statement.
6844
6845----------------------------------------
684602 December 2005. Summary of changes for version 20051202:
6847
68481) ACPI CA Core Subsystem:
6849
6850Modified the parsing of control methods to no longer create namespace
6851objects during the first pass of the parse. Objects are now created only
6852during the execute phase, at the moment the namespace creation operator is
6853encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This
6854should eliminate ALREADY_EXISTS exceptions seen on some machines where
6855reentrant control methods are protected by an AML mutex. The mutex will
6856now
6857correctly block multiple threads from attempting to create the same object
6858more than once.
6859
6860Increased the number of available Owner Ids for namespace object tracking
6861from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
6862on
6863some machines with a large number of ACPI tables (either static or
6864dynamic).
6865
6866Fixed a problem with the AcpiExec utility where a fault could occur when
6867the
6868-b switch (batch mode) is used.
6869
6870Enhanced the namespace dump routine to output the owner ID for each
6871namespace object.
6872
6873Code and Data Size: The current and previous library sizes for the core
6874subsystem are shown below. These are the code and data sizes for the
6875acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6876values do not include any ACPI driver or OSPM code. The debug version of
6877the
6878code includes the debug output trace mechanism and has a much larger code
6879and data size. Note that these values will vary depending on the
6880efficiency
6881of the compiler and the compiler options used during generation.
6882
6883  Previous Release:
6884    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6885    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6886  Current Release:
6887    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6888    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
6889
6890
68912) iASL Compiler/Disassembler:
6892
6893Fixed a parse error during compilation of certain Switch/Case constructs.
6894To
6895simplify the parse, the grammar now allows for multiple Default statements
6896and this error is now detected and flagged during the analysis phase.
6897
6898Disassembler: The disassembly now includes the contents of the original
6899table header within a comment at the start of the file. This includes the
6900name and version of the original ASL compiler.
6901
6902----------------------------------------
690317 November 2005. Summary of changes for version 20051117:
6904
69051) ACPI CA Core Subsystem:
6906
6907Fixed a problem in the AML parser where the method thread count could be
6908decremented below zero if any errors occurred during the method parse
6909phase.
6910This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
6911machines.
6912This also fixed a related regression with the mechanism that detects and
6913corrects methods that cannot properly handle reentrancy (related to the
6914deployment of the new OwnerId mechanism.)
6915
6916Eliminated the pre-parsing of control methods (to detect errors) during
6917table load. Related to the problem above, this was causing unwind issues
6918if
6919any errors occurred during the parse, and it seemed to be overkill. A
6920table
6921load should not be aborted if there are problems with any single control
6922method, thus rendering this feature rather pointless.
6923
6924Fixed a problem with the new table-driven resource manager where an
6925internal
6926buffer overflow could occur for small resource templates.
6927
6928Implemented a new external interface, AcpiGetVendorResource. This
6929interface
6930will find and return a vendor-defined resource descriptor within a _CRS or
6931_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
6932Helgaas.
6933
6934Removed the length limit (200) on string objects as per the upcoming ACPI
69353.0A specification. This affects the following areas of the interpreter:
69361)
6937any implicit conversion of a Buffer to a String, 2) a String object result
6938of the ASL Concatentate operator, 3) the String object result of the ASL
6939ToString operator.
6940
6941Fixed a problem in the Windows OS interface layer (OSL) where a
6942WAIT_FOREVER
6943on a semaphore object would incorrectly timeout. This allows the
6944multithreading features of the AcpiExec utility to work properly under
6945Windows.
6946
6947Updated the Linux makefiles for the iASL compiler and AcpiExec to include
6948the recently added file named "utresrc.c".
6949
6950Code and Data Size: The current and previous library sizes for the core
6951subsystem are shown below. These are the code and data sizes for the
6952acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6953values do not include any ACPI driver or OSPM code. The debug version of
6954the
6955code includes the debug output trace mechanism and has a much larger code
6956and data size. Note that these values will vary depending on the
6957efficiency
6958of the compiler and the compiler options used during generation.
6959
6960  Previous Release:
6961    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
6962    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6963  Current Release:
6964    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
6965    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
6966
6967
69682) iASL Compiler/Disassembler:
6969
6970Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
6971specification. For the iASL compiler, this means that string literals
6972within
6973the source ASL can be of any length.
6974
6975Enhanced the listing output to dump the AML code for resource descriptors
6976immediately after the ASL code for each descriptor, instead of in a block
6977at
6978the end of the entire resource template.
6979
6980Enhanced the compiler debug output to dump the entire original parse tree
6981constructed during the parse phase, before any transforms are applied to
6982the
6983tree. The transformed tree is dumped also.
6984
6985----------------------------------------
698602 November 2005. Summary of changes for version 20051102:
6987
69881) ACPI CA Core Subsystem:
6989
6990Modified the subsystem initialization sequence to improve GPE support. The
6991GPE initialization has been split into two parts in order to defer
6992execution
6993of the _PRW methods (Power Resources for Wake) until after the hardware is
6994fully initialized and the SCI handler is installed. This allows the _PRW
6995methods to access fields protected by the Global Lock. This will fix
6996systems
6997where a NO_GLOBAL_LOCK exception has been seen during initialization.
6998
6999Converted the ACPI internal object disassemble and display code within the
7000AML debugger to fully table-driven operation, reducing code size and
7001increasing maintainability.
7002
7003Fixed a regression with the ConcatenateResTemplate() ASL operator
7004introduced
7005in the 20051021 release.
7006
7007Implemented support for "local" internal ACPI object types within the
7008debugger "Object" command and the AcpiWalkNamespace external interfaces.
7009These local types include RegionFields, BankFields, IndexFields, Alias,
7010and
7011reference objects.
7012
7013Moved common AML resource handling code into a new file, "utresrc.c". This
7014code is shared by both the Resource Manager and the AML Debugger.
7015
7016Code and Data Size: The current and previous library sizes for the core
7017subsystem are shown below. These are the code and data sizes for the
7018acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
7019values do not include any ACPI driver or OSPM code. The debug version of
7020the
7021code includes the debug output trace mechanism and has a much larger code
7022and data size. Note that these values will vary depending on the
7023efficiency
7024of the compiler and the compiler options used during generation.
7025
7026  Previous Release:
7027    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
7028    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
7029  Current Release:
7030    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
7031    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7032
7033
70342) iASL Compiler/Disassembler:
7035
7036Fixed a problem with very large initializer lists (more than 4000
7037elements)
7038for both Buffer and Package objects where the parse stack could overflow.
7039
7040Enhanced the pre-compile source code scan for non-ASCII characters to
7041ignore
7042characters within comment fields. The scan is now always performed and is
7043no
7044longer optional, detecting invalid characters within a source file
7045immediately rather than during the parse phase or later.
7046
7047Enhanced the ASL grammar definition to force early reductions on all list-
7048style grammar elements so that the overall parse stack usage is greatly
7049reduced. This should improve performance and reduce the possibility of
7050parse
7051stack overflow.
7052
7053Eliminated all reduce/reduce conflicts in the iASL parser generation.
7054Also,
7055with the addition of a %expected statement, the compiler generates from
7056source with no warnings.
7057
7058Fixed a possible segment fault in the disassembler if the input filename
7059does not contain a "dot" extension (Thomas Renninger).
7060
7061----------------------------------------
706221 October 2005. Summary of changes for version 20051021:
7063
70641) ACPI CA Core Subsystem:
7065
7066Implemented support for the EM64T and other x86-64 processors. This
7067essentially entails recognizing that these processors support non-aligned
7068memory transfers. Previously, all 64-bit processors were assumed to lack
7069hardware support for non-aligned transfers.
7070
7071Completed conversion of the Resource Manager to nearly full table-driven
7072operation. Specifically, the resource conversion code (convert AML to
7073internal format and the reverse) and the debug code to dump internal
7074resource descriptors are fully table-driven, reducing code and data size
7075and
7076improving maintainability.
7077
7078The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word
7079on 64-bit processors instead of a fixed 32-bit word. (With assistance from
7080Alexey Starikovskiy)
7081
7082Implemented support within the resource conversion code for the Type-
7083Specific byte within the various ACPI 3.0 *WordSpace macros.
7084
7085Fixed some issues within the resource conversion code for the type-
7086specific
7087flags for both Memory and I/O address resource descriptors. For Memory,
7088implemented support for the MTP and TTP flags. For I/O, split the TRS and
7089TTP flags into two separate fields.
7090
7091Code and Data Size: The current and previous library sizes for the core
7092subsystem are shown below. These are the code and data sizes for the
7093acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
7094values do not include any ACPI driver or OSPM code. The debug version of
7095the
7096code includes the debug output trace mechanism and has a much larger code
7097and data size. Note that these values will vary depending on the
7098efficiency
7099of the compiler and the compiler options used during generation.
7100
7101  Previous Release:
7102    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
7103    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
7104  Current Release:
7105    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
7106    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
7107
7108
7109
71102) iASL Compiler/Disassembler:
7111
7112Relaxed a compiler restriction that disallowed a ResourceIndex byte if the
7113corresponding ResourceSource string was not also present in a resource
7114descriptor declaration. This restriction caused problems with existing
7115AML/ASL code that includes the Index byte without the string. When such
7116AML
7117was disassembled, it could not be compiled without modification. Further,
7118the modified code created a resource template with a different size than
7119the
7120original, breaking code that used fixed offsets into the resource template
7121buffer.
7122
7123Removed a recent feature of the disassembler to ignore a lone
7124ResourceIndex
7125byte. This byte is now emitted if present so that the exact AML can be
7126reproduced when the disassembled code is recompiled.
7127
7128Improved comments and text alignment for the resource descriptor code
7129emitted by the disassembler.
7130
7131Implemented disassembler support for the ACPI 3.0 AccessSize field within
7132a
7133Register() resource descriptor.
7134
7135----------------------------------------
713630 September 2005. Summary of changes for version 20050930:
7137
71381) ACPI CA Core Subsystem:
7139
7140Completed a major overhaul of the Resource Manager code - specifically,
7141optimizations in the area of the AML/internal resource conversion code.
7142The
7143code has been optimized to simplify and eliminate duplicated code, CPU
7144stack
7145use has been decreased by optimizing function parameters and local
7146variables, and naming conventions across the manager have been
7147standardized
7148for clarity and ease of maintenance (this includes function, parameter,
7149variable, and struct/typedef names.) The update may force changes in some
7150driver code, depending on how resources are handled by the host OS.
7151
7152All Resource Manager dispatch and information tables have been moved to a
7153single location for clarity and ease of maintenance. One new file was
7154created, named "rsinfo.c".
7155
7156The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
7157guarantee that the argument is not evaluated twice, making them less prone
7158to macro side-effects. However, since there exists the possibility of
7159additional stack use if a particular compiler cannot optimize them (such
7160as
7161in the debug generation case), the original macros are optionally
7162available.
7163Note that some invocations of the return_VALUE macro may now cause size
7164mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
7165to
7166eliminate these. (From Randy Dunlap)
7167
7168Implemented a new mechanism to enable debug tracing for individual control
7169methods. A new external interface, AcpiDebugTrace, is provided to enable
7170this mechanism. The intent is to allow the host OS to easily enable and
7171disable tracing for problematic control methods. This interface can be
7172easily exposed to a user or debugger interface if desired. See the file
7173psxface.c for details.
7174
7175AcpiUtCallocate will now return a valid pointer if a length of zero is
7176specified - a length of one is used and a warning is issued. This matches
7177the behavior of AcpiUtAllocate.
7178
7179Code and Data Size: The current and previous library sizes for the core
7180subsystem are shown below. These are the code and data sizes for the
7181acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
7182values do not include any ACPI driver or OSPM code. The debug version of
7183the
7184code includes the debug output trace mechanism and has a much larger code
7185and data size. Note that these values will vary depending on the
7186efficiency
7187of the compiler and the compiler options used during generation.
7188
7189  Previous Release:
7190    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7191    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7192  Current Release:
7193    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
7194    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
7195
7196
71972) iASL Compiler/Disassembler:
7198
7199A remark is issued if the effective compile-time length of a package or
7200buffer is zero. Previously, this was a warning.
7201
7202----------------------------------------
720316 September 2005. Summary of changes for version 20050916:
7204
72051) ACPI CA Core Subsystem:
7206
7207Fixed a problem within the Resource Manager where support for the Generic
7208Register descriptor was not fully implemented. This descriptor is now
7209fully
7210recognized, parsed, disassembled, and displayed.
7211
7212Completely restructured the Resource Manager code to utilize table-driven
7213dispatch and lookup, eliminating many of the large switch() statements.
7214This
7215reduces overall subsystem code size and code complexity. Affects the
7216resource parsing and construction, disassembly, and debug dump output.
7217
7218Cleaned up and restructured the debug dump output for all resource
7219descriptors. Improved readability of the output and reduced code size.
7220
7221Fixed a problem where changes to internal data structures caused the
7222optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
7223
7224Code and Data Size: The current and previous library sizes for the core
7225subsystem are shown below. These are the code and data sizes for the
7226acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
7227values do not include any ACPI driver or OSPM code. The debug version of
7228the
7229code includes the debug output trace mechanism and has a much larger code
7230and data size. Note that these values will vary depending on the
7231efficiency
7232of the compiler and the compiler options used during generation.
7233
7234  Previous Release:
7235    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7236    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7237  Current Release:
7238    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7239    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7240
7241
72422) iASL Compiler/Disassembler:
7243
7244Updated the disassembler to automatically insert an EndDependentFn() macro
7245into the ASL stream if this macro is missing in the original AML code,
7246simplifying compilation of the resulting ASL module.
7247
7248Fixed a problem in the disassembler where a disassembled ResourceSource
7249string (within a large resource descriptor) was not surrounded by quotes
7250and
7251not followed by a comma, causing errors when the resulting ASL module was
7252compiled. Also, escape sequences within a ResourceSource string are now
7253handled correctly (especially "\\")
7254
7255----------------------------------------
725602 September 2005. Summary of changes for version 20050902:
7257
72581) ACPI CA Core Subsystem:
7259
7260Fixed a problem with the internal Owner ID allocation and deallocation
7261mechanisms for control method execution and recursive method invocation.
7262This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
7263messages seen on some systems. Recursive method invocation depth is
7264currently limited to 255. (Alexey Starikovskiy)
7265
7266Completely eliminated all vestiges of support for the "module-level
7267executable code" until this support is fully implemented and debugged.
7268This
7269should eliminate the NO_RETURN_VALUE exceptions seen during table load on
7270some systems that invoke this support.
7271
7272Fixed a problem within the resource manager code where the transaction
7273flags
7274for a 64-bit address descriptor were handled incorrectly in the type-
7275specific flag byte.
7276
7277Consolidated duplicate code within the address descriptor resource manager
7278code, reducing overall subsystem code size.
7279
7280Fixed a fault when using the AML debugger "disassemble" command to
7281disassemble individual control methods.
7282
7283Removed references to the "release_current" directory within the Unix
7284release package.
7285
7286Code and Data Size: The current and previous core subsystem library sizes
7287are shown below. These are the code and data sizes for the acpica.lib
7288produced by the Microsoft Visual C++ 6.0 compiler. These values do not
7289include any ACPI driver or OSPM code. The debug version of the code
7290includes
7291the debug output trace mechanism and has a much larger code and data size.
7292Note that these values will vary depending on the efficiency of the
7293compiler
7294and the compiler options used during generation.
7295
7296  Previous Release:
7297    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7298    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7299  Current Release:
7300    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7301    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7302
7303
73042) iASL Compiler/Disassembler:
7305
7306Implemented an error check for illegal duplicate values in the interrupt
7307and
7308dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
7309Interrupt().
7310
7311Implemented error checking for the Irq() and IrqNoFlags() macros to detect
7312too many values in the interrupt list (16 max) and invalid values in the
7313list (range 0 - 15)
7314
7315The maximum length string literal within an ASL file is now restricted to
7316200 characters as per the ACPI specification.
7317
7318Fixed a fault when using the -ln option (generate namespace listing).
7319
7320Implemented an error check to determine if a DescriptorName within a
7321resource descriptor has already been used within the current scope.
7322
7323----------------------------------------
732415 August 2005.  Summary of changes for version 20050815:
7325
73261) ACPI CA Core Subsystem:
7327
7328Implemented a full bytewise compare to determine if a table load request
7329is
7330attempting to load a duplicate table. The compare is performed if the
7331table
7332signatures and table lengths match. This will allow different tables with
7333the same OEM Table ID and revision to be loaded - probably against the
7334ACPI
7335specification, but discovered in the field nonetheless.
7336
7337Added the changes.txt logfile to each of the zipped release packages.
7338
7339Code and Data Size: Current and previous core subsystem library sizes are
7340shown below. These are the code and data sizes for the acpica.lib produced
7341by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7342any ACPI driver or OSPM code. The debug version of the code includes the
7343debug output trace mechanism and has a much larger code and data size.
7344Note
7345that these values will vary depending on the efficiency of the compiler
7346and
7347the compiler options used during generation.
7348
7349  Previous Release:
7350    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7351    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
7352  Current Release:
7353    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7354    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7355
7356
73572) iASL Compiler/Disassembler:
7358
7359Fixed a problem where incorrect AML code could be generated for Package
7360objects if optimization is disabled (via the -oa switch).
7361
7362Fixed a problem with where incorrect AML code is generated for variable-
7363length packages when the package length is not specified and the number of
7364initializer values is greater than 255.
7365
7366
7367----------------------------------------
736829 July 2005.  Summary of changes for version 20050729:
7369
73701) ACPI CA Core Subsystem:
7371
7372Implemented support to ignore an attempt to install/load a particular ACPI
7373table more than once. Apparently there exists BIOS code that repeatedly
7374attempts to load the same SSDT upon certain events. With assistance from
7375Venkatesh Pallipadi.
7376
7377Restructured the main interface to the AML parser in order to correctly
7378handle all exceptional conditions. This will prevent leakage of the
7379OwnerId
7380resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
7381some
7382machines. With assistance from Alexey Starikovskiy.
7383
7384Support for "module level code" has been disabled in this version due to a
7385number of issues that have appeared on various machines. The support can
7386be
7387enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
7388compilation. When the issues are fully resolved, the code will be enabled
7389by
7390default again.
7391
7392Modified the internal functions for debug print support to define the
7393FunctionName parameter as a (const char *) for compatibility with compiler
7394built-in macros such as __FUNCTION__, etc.
7395
7396Linted the entire ACPICA source tree for both 32-bit and 64-bit.
7397
7398Implemented support to display an object count summary for the AML
7399Debugger
7400commands Object and Methods.
7401
7402Code and Data Size: Current and previous core subsystem library sizes are
7403shown below. These are the code and data sizes for the acpica.lib produced
7404by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7405any ACPI driver or OSPM code. The debug version of the code includes the
7406debug output trace mechanism and has a much larger code and data size.
7407Note
7408that these values will vary depending on the efficiency of the compiler
7409and
7410the compiler options used during generation.
7411
7412  Previous Release:
7413    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
7414    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
7415  Current Release:
7416    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7417    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
7418
7419
74202) iASL Compiler/Disassembler:
7421
7422Fixed a regression that appeared in the 20050708 version of the compiler
7423where an error message was inadvertently emitted for invocations of the
7424_OSI
7425reserved control method.
7426
7427----------------------------------------
742808 July 2005.  Summary of changes for version 20050708:
7429
74301) ACPI CA Core Subsystem:
7431
7432The use of the CPU stack in the debug version of the subsystem has been
7433considerably reduced. Previously, a debug structure was declared in every
7434function that used the debug macros. This structure has been removed in
7435favor of declaring the individual elements as parameters to the debug
7436functions. This reduces the cumulative stack use during nested execution
7437of
7438ACPI function calls at the cost of a small increase in the code size of
7439the
7440debug version of the subsystem. With assistance from Alexey Starikovskiy
7441and
7442Len Brown.
7443
7444Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
7445headers to define a macro that will return the current function name at
7446runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
7447by
7448the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
7449compiler-dependent header, the function name is saved on the CPU stack
7450(one
7451pointer per function.) This mechanism is used because apparently there
7452exists no standard ANSI-C defined macro that that returns the function
7453name.
7454
7455Redesigned and reimplemented the "Owner ID" mechanism used to track
7456namespace objects created/deleted by ACPI tables and control method
7457execution. A bitmap is now used to allocate and free the IDs, thus solving
7458the wraparound problem present in the previous implementation. The size of
7459the namespace node descriptor was reduced by 2 bytes as a result (Alexey
7460Starikovskiy).
7461
7462Removed the UINT32_BIT and UINT16_BIT types that were used for the
7463bitfield
7464flag definitions within the headers for the predefined ACPI tables. These
7465have been replaced by UINT8_BIT in order to increase the code portability
7466of
7467the subsystem. If the use of UINT8 remains a problem, we may be forced to
7468eliminate bitfields entirely because of a lack of portability.
7469
7470Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
7471This
7472is a frequently used function and this improvement increases the
7473performance
7474of the entire subsystem (Alexey Starikovskiy).
7475
7476Fixed several possible memory leaks and the inverse - premature object
7477deletion (Alexey Starikovskiy).
7478
7479Code and Data Size: Current and previous core subsystem library sizes are
7480shown below. These are the code and data sizes for the acpica.lib produced
7481by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7482any ACPI driver or OSPM code. The debug version of the code includes the
7483debug output trace mechanism and has a much larger code and data size.
7484Note
7485that these values will vary depending on the efficiency of the compiler
7486and
7487the compiler options used during generation.
7488
7489  Previous Release:
7490    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
7491    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
7492  Current Release:
7493    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
7494    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
7495
7496----------------------------------------
749724 June 2005.  Summary of changes for version 20050624:
7498
74991) ACPI CA Core Subsystem:
7500
7501Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
7502the host-defined cache object. This allows the OSL implementation to
7503define
7504and type this object in any manner desired, simplifying the OSL
7505implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
7506Linux, and should be defined in the OS-specific header file for other
7507operating systems as required.
7508
7509Changed the interface to AcpiOsAcquireObject to directly return the
7510requested object as the function return (instead of ACPI_STATUS.) This
7511change was made for performance reasons, since this is the purpose of the
7512interface in the first place. AcpiOsAcquireObject is now similar to the
7513AcpiOsAllocate interface.
7514
7515Implemented a new AML debugger command named Businfo. This command
7516displays
7517information about all devices that have an associate _PRT object. The
7518_ADR,
7519_HID, _UID, and _CID are displayed for these devices.
7520
7521Modified the initialization sequence in AcpiInitializeSubsystem to call
7522the
7523OSL interface AcpiOslInitialize first, before any local initialization.
7524This
7525change was required because the global initialization now calls OSL
7526interfaces.
7527
7528Enhanced the Dump command to display the entire contents of Package
7529objects
7530(including all sub-objects and their values.)
7531
7532Restructured the code base to split some files because of size and/or
7533because the code logically belonged in a separate file. New files are
7534listed
7535below. All makefiles and project files included in the ACPI CA release
7536have
7537been updated.
7538    utilities/utcache.c           /* Local cache interfaces */
7539    utilities/utmutex.c           /* Local mutex support */
7540    utilities/utstate.c           /* State object support */
7541    interpreter/parser/psloop.c   /* Main AML parse loop */
7542
7543Code and Data Size: Current and previous core subsystem library sizes are
7544shown below. These are the code and data sizes for the acpica.lib produced
7545by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7546any ACPI driver or OSPM code. The debug version of the code includes the
7547debug output trace mechanism and has a much larger code and data size.
7548Note
7549that these values will vary depending on the efficiency of the compiler
7550and
7551the compiler options used during generation.
7552
7553  Previous Release:
7554    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
7555    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
7556  Current Release:
7557    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
7558    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
7559
7560
75612) iASL Compiler/Disassembler:
7562
7563Fixed a regression introduced in version 20050513 where the use of a
7564Package
7565object within a Case() statement caused a compile time exception. The
7566original behavior has been restored (a Match() operator is emitted.)
7567
7568----------------------------------------
756917 June 2005.  Summary of changes for version 20050617:
7570
75711) ACPI CA Core Subsystem:
7572
7573Moved the object cache operations into the OS interface layer (OSL) to
7574allow
7575the host OS to handle these operations if desired (for example, the Linux
7576OSL will invoke the slab allocator). This support is optional; the compile
7577time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache
7578code in the ACPI CA core. The new OSL interfaces are shown below. See
7579utalloc.c for an example implementation, and acpiosxf.h for the exact
7580interface definitions. With assistance from Alexey Starikovskiy.
7581    AcpiOsCreateCache
7582    AcpiOsDeleteCache
7583    AcpiOsPurgeCache
7584    AcpiOsAcquireObject
7585    AcpiOsReleaseObject
7586
7587Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
7588return
7589and restore a flags parameter. This fits better with many OS lock models.
7590Note: the current execution state (interrupt handler or not) is no longer
7591passed to these interfaces. If necessary, the OSL must determine this
7592state
7593by itself, a simple and fast operation. With assistance from Alexey
7594Starikovskiy.
7595
7596Fixed a problem in the ACPI table handling where a valid XSDT was assumed
7597present if the revision of the RSDP was 2 or greater. According to the
7598ACPI
7599specification, the XSDT is optional in all cases, and the table manager
7600therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
7601Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain
7602only the RSDT.
7603
7604Fixed an interpreter problem with the Mid() operator in the case of an
7605input
7606string where the resulting output string is of zero length. It now
7607correctly
7608returns a valid, null terminated string object instead of a string object
7609with a null pointer.
7610
7611Fixed a problem with the control method argument handling to allow a store
7612to an Arg object that already contains an object of type Device. The
7613Device
7614object is now correctly overwritten. Previously, an error was returned.
7615
7616
7617Enhanced the debugger Find command to emit object values in addition to
7618the
7619found object pathnames. The output format is the same as the dump
7620namespace
7621command.
7622
7623Enhanced the debugger Set command. It now has the ability to set the value
7624of any Named integer object in the namespace (Previously, only method
7625locals
7626and args could be set.)
7627
7628Code and Data Size: Current and previous core subsystem library sizes are
7629shown below. These are the code and data sizes for the acpica.lib produced
7630by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7631any ACPI driver or OSPM code. The debug version of the code includes the
7632debug output trace mechanism and has a much larger code and data size.
7633Note
7634that these values will vary depending on the efficiency of the compiler
7635and
7636the compiler options used during generation.
7637
7638  Previous Release:
7639    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
7640    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
7641  Current Release:
7642    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
7643    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
7644
7645
76462) iASL Compiler/Disassembler:
7647
7648Fixed a regression in the disassembler where if/else/while constructs were
7649output incorrectly. This problem was introduced in the previous release
7650(20050526). This problem also affected the single-step disassembly in the
7651debugger.
7652
7653Fixed a problem where compiling the reserved _OSI method would randomly
7654(but
7655rarely) produce compile errors.
7656
7657Enhanced the disassembler to emit compilable code in the face of incorrect
7658AML resource descriptors. If the optional ResourceSourceIndex is present,
7659but the ResourceSource is not, do not emit the ResourceSourceIndex in the
7660disassembly. Otherwise, the resulting code cannot be compiled without
7661errors.
7662
7663----------------------------------------
766426 May 2005.  Summary of changes for version 20050526:
7665
76661) ACPI CA Core Subsystem:
7667
7668Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
7669the module level (not within a control method.) These opcodes are executed
7670exactly once at the time the table is loaded. This type of code was legal
7671up
7672until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
7673in
7674order to provide backwards compatibility with earlier BIOS
7675implementations.
7676This eliminates the "Encountered executable code at module level" warning
7677that was previously generated upon detection of such code.
7678
7679Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
7680inadvertently be generated during the lookup of namespace objects in the
7681second pass parse of ACPI tables and control methods. It appears that this
7682problem could occur during the resolution of forward references to
7683namespace
7684objects.
7685
7686Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
7687corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
7688allows the deadlock detection debug code to be compiled out in the normal
7689case, improving mutex performance (and overall subsystem performance)
7690considerably.
7691
7692Implemented a handful of miscellaneous fixes for possible memory leaks on
7693error conditions and error handling control paths. These fixes were
7694suggested by FreeBSD and the Coverity Prevent source code analysis tool.
7695
7696Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c)
7697to prevent a fault in this error case.
7698
7699Code and Data Size: Current and previous core subsystem library sizes are
7700shown below. These are the code and data sizes for the acpica.lib produced
7701by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7702any ACPI driver or OSPM code. The debug version of the code includes the
7703debug output trace mechanism and has a much larger code and data size.
7704Note
7705that these values will vary depending on the efficiency of the compiler
7706and
7707the compiler options used during generation.
7708
7709  Previous Release:
7710    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7711    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7712  Current Release:
7713    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
7714    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
7715
7716
77172) iASL Compiler/Disassembler:
7718
7719Implemented support to allow Type 1 and Type 2 ASL operators to appear at
7720the module level (not within a control method.) These operators will be
7721executed once at the time the table is loaded. This type of code was legal
7722up until the release of ACPI 2.0B (2002) and is now supported by the iASL
7723compiler in order to provide backwards compatibility with earlier BIOS ASL
7724code.
7725
7726The ACPI integer width (specified via the table revision ID or the -r
7727override, 32 or 64 bits) is now used internally during compile-time
7728constant
7729folding to ensure that constants are truncated to 32 bits if necessary.
7730Previously, the revision ID value was only emitted in the AML table
7731header.
7732
7733An error message is now generated for the Mutex and Method operators if
7734the
7735SyncLevel parameter is outside the legal range of 0 through 15.
7736
7737Fixed a problem with the Method operator ParameterTypes list handling
7738(ACPI
77393.0). Previously, more than 2 types or 2 arguments generated a syntax
7740error.
7741The actual underlying implementation of method argument typechecking is
7742still under development, however.
7743
7744----------------------------------------
774513 May 2005.  Summary of changes for version 20050513:
7746
77471) ACPI CA Core Subsystem:
7748
7749Implemented support for PCI Express root bridges -- added support for
7750device
7751PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
7752
7753The interpreter now automatically truncates incoming 64-bit constants to
775432
7755bits if currently executing out of a 32-bit ACPI table (Revision < 2).
7756This
7757also affects the iASL compiler constant folding. (Note: as per below, the
7758iASL compiler no longer allows 64-bit constants within 32-bit tables.)
7759
7760Fixed a problem where string and buffer objects with "static" pointers
7761(pointers to initialization data within an ACPI table) were not handled
7762consistently. The internal object copy operation now always copies the
7763data
7764to a newly allocated buffer, regardless of whether the source object is
7765static or not.
7766
7767Fixed a problem with the FromBCD operator where an implicit result
7768conversion was improperly performed while storing the result to the target
7769operand. Since this is an "explicit conversion" operator, the implicit
7770conversion should never be performed on the output.
7771
7772Fixed a problem with the CopyObject operator where a copy to an existing
7773named object did not always completely overwrite the existing object
7774stored
7775at name. Specifically, a buffer-to-buffer copy did not delete the existing
7776buffer.
7777
7778Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and
7779structs for consistency.
7780
7781Code and Data Size: Current and previous core subsystem library sizes are
7782shown below. These are the code and data sizes for the acpica.lib produced
7783by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7784any ACPI driver or OSPM code. The debug version of the code includes the
7785debug output trace mechanism and has a much larger code and data size.
7786Note
7787that these values will vary depending on the efficiency of the compiler
7788and
7789the compiler options used during generation.
7790
7791  Previous Release:
7792    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7793    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7794  Current Release: (Same sizes)
7795    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7796    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7797
7798
77992) iASL Compiler/Disassembler:
7800
7801The compiler now emits a warning if an attempt is made to generate a 64-
7802bit
7803integer constant from within a 32-bit ACPI table (Revision < 2). The
7804integer
7805is truncated to 32 bits.
7806
7807Fixed a problem with large package objects: if the static length of the
7808package is greater than 255, the "variable length package" opcode is
7809emitted. Previously, this caused an error. This requires an update to the
7810ACPI spec, since it currently (incorrectly) states that packages larger
7811than
7812255 elements are not allowed.
7813
7814The disassembler now correctly handles variable length packages and
7815packages
7816larger than 255 elements.
7817
7818----------------------------------------
781908 April 2005.  Summary of changes for version 20050408:
7820
78211) ACPI CA Core Subsystem:
7822
7823Fixed three cases in the interpreter where an "index" argument to an ASL
7824function was still (internally) 32 bits instead of the required 64 bits.
7825This was the Index argument to the Index, Mid, and Match operators.
7826
7827The "strupr" function is now permanently local (AcpiUtStrupr), since this
7828is
7829not a POSIX-defined function and not present in most kernel-level C
7830libraries. All references to the C library strupr function have been
7831removed
7832from the headers.
7833
7834Completed the deployment of static functions/prototypes. All prototypes
7835with
7836the static attribute have been moved from the headers to the owning C
7837file.
7838
7839Implemented an extract option (-e) for the AcpiBin utility (AML binary
7840utility). This option allows the utility to extract individual ACPI tables
7841from the output of AcpiDmp. It provides the same functionality of the
7842acpixtract.pl perl script without the worry of setting the correct perl
7843options. AcpiBin runs on Windows and has not yet been generated/validated
7844in
7845the Linux/Unix environment (but should be soon).
7846
7847Updated and fixed the table dump option for AcpiBin (-d). This option
7848converts a single ACPI table to a hex/ascii file, similar to the output of
7849AcpiDmp.
7850
7851Code and Data Size: Current and previous core subsystem library sizes are
7852shown below. These are the code and data sizes for the acpica.lib produced
7853by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7854any ACPI driver or OSPM code. The debug version of the code includes the
7855debug output trace mechanism and has a much larger code and data size.
7856Note
7857that these values will vary depending on the efficiency of the compiler
7858and
7859the compiler options used during generation.
7860
7861  Previous Release:
7862    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
7863    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
7864  Current Release:
7865    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
7866    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
7867
7868
78692) iASL Compiler/Disassembler:
7870
7871Disassembler fix: Added a check to ensure that the table length found in
7872the
7873ACPI table header within the input file is not longer than the actual
7874input
7875file size. This indicates some kind of file or table corruption.
7876
7877----------------------------------------
787829 March 2005.  Summary of changes for version 20050329:
7879
78801) ACPI CA Core Subsystem:
7881
7882An error is now generated if an attempt is made to create a Buffer Field
7883of
7884length zero (A CreateField with a length operand of zero.)
7885
7886The interpreter now issues a warning whenever executable code at the
7887module
7888level is detected during ACPI table load. This will give some idea of the
7889prevalence of this type of code.
7890
7891Implemented support for references to named objects (other than control
7892methods) within package objects.
7893
7894Enhanced package object output for the debug object. Package objects are
7895now
7896completely dumped, showing all elements.
7897
7898Enhanced miscellaneous object output for the debug object. Any object can
7899now be written to the debug object (for example, a device object can be
7900written, and the type of the object will be displayed.)
7901
7902The "static" qualifier has been added to all local functions across both
7903the
7904core subsystem and the iASL compiler.
7905
7906The number of "long" lines (> 80 chars) within the source has been
7907significantly reduced, by about 1/3.
7908
7909Cleaned up all header files to ensure that all CA/iASL functions are
7910prototyped (even static functions) and the formatting is consistent.
7911
7912Two new header files have been added, acopcode.h and acnames.h.
7913
7914Removed several obsolete functions that were no longer used.
7915
7916Code and Data Size: Current and previous core subsystem library sizes are
7917shown below. These are the code and data sizes for the acpica.lib produced
7918by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7919any ACPI driver or OSPM code. The debug version of the code includes the
7920debug output trace mechanism and has a much larger code and data size.
7921Note
7922that these values will vary depending on the efficiency of the compiler
7923and
7924the compiler options used during generation.
7925
7926  Previous Release:
7927    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
7928    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
7929  Current Release:
7930    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
7931    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
7932
7933
7934
79352) iASL Compiler/Disassembler:
7936
7937Fixed a problem with the resource descriptor generation/support. For the
7938ResourceSourceIndex and the ResourceSource fields, both must be present,
7939or
7940both must be not present - can't have one without the other.
7941
7942The compiler now returns non-zero from the main procedure if any errors
7943have
7944occurred during the compilation.
7945
7946
7947----------------------------------------
794809 March 2005.  Summary of changes for version 20050309:
7949
79501) ACPI CA Core Subsystem:
7951
7952The string-to-buffer implicit conversion code has been modified again
7953after
7954a change to the ACPI specification.  In order to match the behavior of the
7955other major ACPI implementation, the target buffer is no longer truncated
7956if
7957the source string is smaller than an existing target buffer. This change
7958requires an update to the ACPI spec, and should eliminate the recent
7959AE_AML_BUFFER_LIMIT issues.
7960
7961The "implicit return" support was rewritten to a new algorithm that solves
7962the general case. Rather than attempt to determine when a method is about
7963to
7964exit, the result of every ASL operator is saved momentarily until the very
7965next ASL operator is executed. Therefore, no matter how the method exits,
7966there will always be a saved implicit return value. This feature is only
7967enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate
7968AE_AML_NO_RETURN_VALUE errors when enabled.
7969
7970Implemented implicit conversion support for the predicate (operand) of the
7971If, Else, and While operators. String and Buffer arguments are
7972automatically
7973converted to Integers.
7974
7975Changed the string-to-integer conversion behavior to match the new ACPI
7976errata: "If no integer object exists, a new integer is created. The ASCII
7977string is interpreted as a hexadecimal constant. Each string character is
7978interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
7979with the first character as the most significant digit, and ending with
7980the
7981first non-hexadecimal character or end-of-string." This means that the
7982first
7983non-hex character terminates the conversion and this is the code that was
7984changed.
7985
7986Fixed a problem where the ObjectType operator would fail (fault) when used
7987on an Index of a Package which pointed to a null package element. The
7988operator now properly returns zero (Uninitialized) in this case.
7989
7990Fixed a problem where the While operator used excessive memory by not
7991properly popping the result stack during execution. There was no memory
7992leak
7993after execution, however. (Code provided by Valery Podrezov.)
7994
7995Fixed a problem where references to control methods within Package objects
7996caused the method to be invoked, instead of producing a reference object
7997pointing to the method.
7998
7999Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to
8000improve performance and reduce code size. (Code provided by Alexey
8001Starikovskiy.)
8002
8003Code and Data Size: Current and previous core subsystem library sizes are
8004shown below. These are the code and data sizes for the acpica.lib produced
8005by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8006any ACPI driver or OSPM code. The debug version of the code includes the
8007debug output trace mechanism and has a much larger code and data size.
8008Note
8009that these values will vary depending on the efficiency of the compiler
8010and
8011the compiler options used during generation.
8012
8013  Previous Release:
8014    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8015    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
8016  Current Release:
8017    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8018    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
8019
8020
80212) iASL Compiler/Disassembler:
8022
8023Fixed a problem with the Return operator with no arguments. Since the AML
8024grammar for the byte encoding requires an operand for the Return opcode,
8025the
8026compiler now emits a Return(Zero) for this case.  An ACPI specification
8027update has been written for this case.
8028
8029For tables other than the DSDT, namepath optimization is automatically
8030disabled. This is because SSDTs can be loaded anywhere in the namespace,
8031the
8032compiler has no knowledge of where, and thus cannot optimize namepaths.
8033
8034Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
8035inadvertently omitted from the ACPI specification, and will require an
8036update to the spec.
8037
8038The source file scan for ASCII characters is now optional (-a). This
8039change
8040was made because some vendors place non-ascii characters within comments.
8041However, the scan is simply a brute-force byte compare to ensure all
8042characters in the file are in the range 0x00 to 0x7F.
8043
8044Fixed a problem with the CondRefOf operator where the compiler was
8045inappropriately checking for the existence of the target. Since the point
8046of
8047the operator is to check for the existence of the target at run-time, the
8048compiler no longer checks for the target existence.
8049
8050Fixed a problem where errors generated from the internal AML interpreter
8051during constant folding were not handled properly, causing a fault.
8052
8053Fixed a problem with overly aggressive range checking for the Stall
8054operator. The valid range (max 255) is now only checked if the operand is
8055of
8056type Integer. All other operand types cannot be statically checked.
8057
8058Fixed a problem where control method references within the RefOf, DeRefOf,
8059and ObjectType operators were not treated properly. They are now treated
8060as
8061actual references, not method invocations.
8062
8063Fixed and enhanced the "list namespace" option (-ln). This option was
8064broken
8065a number of releases ago.
8066
8067Improved error handling for the Field, IndexField, and BankField
8068operators.
8069The compiler now cleanly reports and recovers from errors in the field
8070component (FieldUnit) list.
8071
8072Fixed a disassembler problem where the optional ResourceDescriptor fields
8073TRS and TTP were not always handled correctly.
8074
8075Disassembler - Comments in output now use "//" instead of "/*"
8076
8077----------------------------------------
807828 February 2005.  Summary of changes for version 20050228:
8079
80801) ACPI CA Core Subsystem:
8081
8082Fixed a problem where the result of an Index() operator (an object
8083reference) must increment the reference count on the target object for the
8084life of the object reference.
8085
8086Implemented AML Interpreter and Debugger support for the new ACPI 3.0
8087Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
8088WordSpace
8089resource descriptors.
8090
8091Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
8092Space Descriptor" string, indicating interpreter support for the
8093descriptors
8094above.
8095
8096Implemented header support for the new ACPI 3.0 FADT flag bits.
8097
8098Implemented header support for the new ACPI 3.0 PCI Express bits for the
8099PM1
8100status/enable registers.
8101
8102Updated header support for the MADT processor local Apic struct and MADT
8103platform interrupt source struct for new ACPI 3.0 fields.
8104
8105Implemented header support for the SRAT and SLIT ACPI tables.
8106
8107Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
8108flag
8109at runtime.
8110
8111Code and Data Size: Current and previous core subsystem library sizes are
8112shown below. These are the code and data sizes for the acpica.lib produced
8113by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8114any ACPI driver or OSPM code. The debug version of the code includes the
8115debug output trace mechanism and has a much larger code and data size.
8116Note
8117that these values will vary depending on the efficiency of the compiler
8118and
8119the compiler options used during generation.
8120
8121  Previous Release:
8122    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
8123    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
8124  Current Release:
8125    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8126    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
8127
8128
81292) iASL Compiler/Disassembler:
8130
8131Fixed a problem with the internal 64-bit String-to-integer conversion with
8132strings less than two characters long.
8133
8134Fixed a problem with constant folding where the result of the Index()
8135operator can not be considered a constant. This means that Index() cannot
8136be
8137a type3 opcode and this will require an update to the ACPI specification.
8138
8139Disassembler: Implemented support for the TTP, MTP, and TRS resource
8140descriptor fields. These fields were inadvertently ignored and not output
8141in
8142the disassembly of the resource descriptor.
8143
8144
8145 ----------------------------------------
814611 February 2005.  Summary of changes for version 20050211:
8147
81481) ACPI CA Core Subsystem:
8149
8150Implemented ACPI 3.0 support for implicit conversion within the Match()
8151operator. MatchObjects can now be of type integer, buffer, or string
8152instead
8153of just type integer.  Package elements are implicitly converted to the
8154type
8155of the MatchObject. This change aligns the behavior of Match() with the
8156behavior of the other logical operators (LLess(), etc.) It also requires
8157an
8158errata change to the ACPI specification as this support was intended for
8159ACPI 3.0, but was inadvertently omitted.
8160
8161Fixed a problem with the internal implicit "to buffer" conversion. Strings
8162that are converted to buffers will cause buffer truncation if the string
8163is
8164smaller than the target buffer. Integers that are converted to buffers
8165will
8166not cause buffer truncation, only zero extension (both as per the ACPI
8167spec.) The problem was introduced when code was added to truncate the
8168buffer, but this should not be performed in all cases, only the string
8169case.
8170
8171Fixed a problem with the Buffer and Package operators where the
8172interpreter
8173would get confused if two such operators were used as operands to an ASL
8174operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
8175stack was not being popped after the execution of these operators,
8176resulting
8177in an AE_NO_RETURN_VALUE exception.
8178
8179Fixed a problem with constructs of the form Store(Index(...),...). The
8180reference object returned from Index was inadvertently resolved to an
8181actual
8182value. This problem was introduced in version 20050114 when the behavior
8183of
8184Store() was modified to restrict the object types that can be used as the
8185source operand (to match the ACPI specification.)
8186
8187Reduced excessive stack use within the AcpiGetObjectInfo procedure.
8188
8189Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
8190
8191Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
8192
8193Code and Data Size: Current and previous core subsystem library sizes are
8194shown below. These are the code and data sizes for the acpica.lib produced
8195by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8196any ACPI driver or OSPM code. The debug version of the code includes the
8197debug output trace mechanism and has a much larger code and data size.
8198Note
8199that these values will vary depending on the efficiency of the compiler
8200and
8201the compiler options used during generation.
8202
8203  Previous Release:
8204    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
8205    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
8206  Current Release:
8207    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
8208    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
8209
8210
82112) iASL Compiler/Disassembler:
8212
8213Fixed a code generation problem in the constant folding optimization code
8214where incorrect code was generated if a constant was reduced to a buffer
8215object (i.e., a reduced type 5 opcode.)
8216
8217Fixed a typechecking problem for the ToBuffer operator. Caused by an
8218incorrect return type in the internal opcode information table.
8219
8220----------------------------------------
822125 January 2005.  Summary of changes for version 20050125:
8222
82231) ACPI CA Core Subsystem:
8224
8225Fixed a recently introduced problem with the Global Lock where the
8226underlying semaphore was not created.  This problem was introduced in
8227version 20050114, and caused an AE_AML_NO_OPERAND exception during an
8228Acquire() operation on _GL.
8229
8230The local object cache is now optional, and is disabled by default. Both
8231AcpiExec and the iASL compiler enable the cache because they run in user
8232mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE
8233to enable the local cache.
8234
8235Fixed an issue in the internal function AcpiUtEvaluateObject concerning
8236the
8237optional "implicit return" support where an error was returned if no
8238return
8239object was expected, but one was implicitly returned. AE_OK is now
8240returned
8241in this case and the implicitly returned object is deleted.
8242AcpiUtEvaluateObject is only occasionally used, and only to execute
8243reserved
8244methods such as _STA and _INI where the return type is known up front.
8245
8246Fixed a few issues with the internal convert-to-integer code. It now
8247returns
8248an error if an attempt is made to convert a null string, a string of only
8249blanks/tabs, or a zero-length buffer. This affects both implicit
8250conversion
8251and explicit conversion via the ToInteger() operator.
8252
8253The internal debug code in AcpiUtAcquireMutex has been commented out. It
8254is
8255not needed for normal operation and should increase the performance of the
8256entire subsystem. The code remains in case it is needed for debug purposes
8257again.
8258
8259The AcpiExec source and makefile are included in the Unix/Linux package
8260for
8261the first time.
8262
8263Code and Data Size: Current and previous core subsystem library sizes are
8264shown below. These are the code and data sizes for the acpica.lib produced
8265by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8266any ACPI driver or OSPM code. The debug version of the code includes the
8267debug output trace mechanism and has a much larger code and data size.
8268Note
8269that these values will vary depending on the efficiency of the compiler
8270and
8271the compiler options used during generation.
8272
8273  Previous Release:
8274    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
8275    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
8276  Current Release:
8277    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
8278    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
8279
82802) iASL Compiler/Disassembler:
8281
8282Switch/Case support: A warning is now issued if the type of the Switch
8283value
8284cannot be determined at compile time. For example, Switch(Arg0) will
8285generate the warning, and the type is assumed to be an integer. As per the
8286ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
8287the
8288warning.
8289
8290Switch/Case support: Implemented support for buffer and string objects as
8291the switch value.  This is an ACPI 3.0 feature, now that LEqual supports
8292buffers and strings.
8293
8294Switch/Case support: The emitted code for the LEqual() comparisons now
8295uses
8296the switch value as the first operand, not the second. The case value is
8297now
8298the second operand, and this allows the case value to be implicitly
8299converted to the type of the switch value, not the other way around.
8300
8301Switch/Case support: Temporary variables are now emitted immediately
8302within
8303the control method, not at the global level. This means that there are now
830436 temps available per-method, not 36 temps per-module as was the case
8305with
8306the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
8307
8308----------------------------------------
830914 January 2005.  Summary of changes for version 20050114:
8310
8311Added 2005 copyright to all module headers.  This affects every module in
8312the core subsystem, iASL compiler, and the utilities.
8313
83141) ACPI CA Core Subsystem:
8315
8316Fixed an issue with the String-to-Buffer conversion code where the string
8317null terminator was not included in the buffer after conversion, but there
8318is existing ASL that assumes the string null terminator is included. This
8319is
8320the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
8321introduced in the previous version when the code was updated to correctly
8322set the converted buffer size as per the ACPI specification. The ACPI spec
8323is ambiguous and will be updated to specify that the null terminator must
8324be
8325included in the converted buffer. This also affects the ToBuffer() ASL
8326operator.
8327
8328Fixed a problem with the Mid() ASL/AML operator where it did not work
8329correctly on Buffer objects. Newly created sub-buffers were not being
8330marked
8331as initialized.
8332
8333
8334Fixed a problem in AcpiTbFindTable where incorrect string compares were
8335performed on the OemId and OemTableId table header fields.  These fields
8336are
8337not null terminated, so strncmp is now used instead of strcmp.
8338
8339Implemented a restriction on the Store() ASL/AML operator to align the
8340behavior with the ACPI specification.  Previously, any object could be
8341used
8342as the source operand.  Now, the only objects that may be used are
8343Integers,
8344Buffers, Strings, Packages, Object References, and DDB Handles.  If
8345necessary, the original behavior can be restored by enabling the
8346EnableInterpreterSlack flag.
8347
8348Enhanced the optional "implicit return" support to allow an implicit
8349return
8350value from methods that are invoked externally via the AcpiEvaluateObject
8351interface.  This enables implicit returns from the _STA and _INI methods,
8352for example.
8353
8354Changed the Revision() ASL/AML operator to return the current version of
8355the
8356AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
8357returned
8358the supported ACPI version (This is the function of the _REV method).
8359
8360Updated the _REV predefined method to return the currently supported
8361version
8362of ACPI, now 3.
8363
8364Implemented batch mode option for the AcpiExec utility (-b).
8365
8366Code and Data Size: Current and previous core subsystem library sizes are
8367shown below. These are the code and data sizes for the acpica.lib produced
8368by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8369any ACPI driver or OSPM code. The debug version of the code includes the
8370debug output trace mechanism and has a much larger code and data size.
8371Note
8372that these values will vary depending on the efficiency of the compiler
8373and
8374the compiler options used during generation.
8375
8376  Previous Release:
8377    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8378    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
8379  Current Release:
8380    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
8381    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
8382
8383----------------------------------------
838410 December 2004.  Summary of changes for version 20041210:
8385
8386ACPI 3.0 support is nearing completion in both the iASL compiler and the
8387ACPI CA core subsystem.
8388
83891) ACPI CA Core Subsystem:
8390
8391Fixed a problem in the ToDecimalString operator where the resulting string
8392length was incorrectly calculated. The length is now calculated exactly,
8393eliminating incorrect AE_STRING_LIMIT exceptions.
8394
8395Fixed a problem in the ToHexString operator to allow a maximum 200
8396character
8397string to be produced.
8398
8399Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy
8400routine where the length of the resulting buffer was not truncated to the
8401new size (if the target buffer already existed).
8402
8403Code and Data Size: Current and previous core subsystem library sizes are
8404shown below. These are the code and data sizes for the acpica.lib produced
8405by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8406any ACPI driver or OSPM code. The debug version of the code includes the
8407debug output trace mechanism and has a much larger code and data size.
8408Note
8409that these values will vary depending on the efficiency of the compiler
8410and
8411the compiler options used during generation.
8412
8413  Previous Release:
8414    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8415    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
8416  Current Release:
8417    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8418    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
8419
8420
84212) iASL Compiler/Disassembler:
8422
8423Implemented the new ACPI 3.0 resource template macros - DWordSpace,
8424ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
8425Includes support in the disassembler.
8426
8427Implemented support for the new (ACPI 3.0) parameter to the Register
8428macro,
8429AccessSize.
8430
8431Fixed a problem where the _HE resource name for the Interrupt macro was
8432referencing bit 0 instead of bit 1.
8433
8434Implemented check for maximum 255 interrupts in the Interrupt macro.
8435
8436Fixed a problem with the predefined resource descriptor names where
8437incorrect AML code was generated if the offset within the resource buffer
8438was 0 or 1.  The optimizer shortened the AML code to a single byte opcode
8439but did not update the surrounding package lengths.
8440
8441Changes to the Dma macro:  All channels within the channel list must be in
8442the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is
8443optional (default is BusMaster).
8444
8445Implemented check for maximum 7 data bytes for the VendorShort macro.
8446
8447The ReadWrite parameter is now optional for the Memory32 and similar
8448macros.
8449
8450----------------------------------------
845103 December 2004.  Summary of changes for version 20041203:
8452
84531) ACPI CA Core Subsystem:
8454
8455The low-level field insertion/extraction code (exfldio) has been
8456completely
8457rewritten to eliminate unnecessary complexity, bugs, and boundary
8458conditions.
8459
8460Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
8461ToDecimalString
8462operators where the input operand could be inadvertently deleted if no
8463conversion was necessary (e.g., if the input to ToInteger was an Integer
8464object.)
8465
8466Fixed a problem with the ToDecimalString and ToHexString where an
8467incorrect
8468exception code was returned if the resulting string would be > 200 chars.
8469AE_STRING_LIMIT is now returned.
8470
8471Fixed a problem with the Concatenate operator where AE_OK was always
8472returned, even if the operation failed.
8473
8474Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
8475semaphores to be allocated.
8476
8477Code and Data Size: Current and previous core subsystem library sizes are
8478shown below. These are the code and data sizes for the acpica.lib produced
8479by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8480any ACPI driver or OSPM code. The debug version of the code includes the
8481debug output trace mechanism and has a much larger code and data size.
8482Note
8483that these values will vary depending on the efficiency of the compiler
8484and
8485the compiler options used during generation.
8486
8487  Previous Release:
8488    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8489    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8490  Current Release:
8491    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
8492    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
8493
8494
84952) iASL Compiler/Disassembler:
8496
8497Fixed typechecking for the ObjectType and SizeOf operators.  Problem was
8498recently introduced in 20041119.
8499
8500Fixed a problem with the ToUUID macro where the upper nybble of each
8501buffer
8502byte was inadvertently set to zero.
8503
8504----------------------------------------
850519 November 2004.  Summary of changes for version 20041119:
8506
85071) ACPI CA Core Subsystem:
8508
8509Fixed a problem in the internal ConvertToInteger routine where new
8510integers
8511were not truncated to 32 bits for 32-bit ACPI tables. This routine
8512converts
8513buffers and strings to integers.
8514
8515Implemented support to store a value to an Index() on a String object.
8516This
8517is an ACPI 2.0 feature that had not yet been implemented.
8518
8519Implemented new behavior for storing objects to individual package
8520elements
8521(via the Index() operator). The previous behavior was to invoke the
8522implicit
8523conversion rules if an object was already present at the index.  The new
8524behavior is to simply delete any existing object and directly store the
8525new
8526object. Although the ACPI specification seems unclear on this subject,
8527other
8528ACPI implementations behave in this manner.  (This is the root of the
8529AE_BAD_HEX_CONSTANT issue.)
8530
8531Modified the RSDP memory scan mechanism to support the extended checksum
8532for
8533ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
8534RSDP signature is found with a valid checksum.
8535
8536Code and Data Size: Current and previous core subsystem library sizes are
8537shown below. These are the code and data sizes for the acpica.lib produced
8538by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8539any ACPI driver or OSPM code. The debug version of the code includes the
8540debug output trace mechanism and has a much larger code and data size.
8541Note
8542that these values will vary depending on the efficiency of the compiler
8543and
8544the compiler options used during generation.
8545
8546  Previous Release:
8547    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8548    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8549  Current Release:
8550    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8551    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8552
8553
85542) iASL Compiler/Disassembler:
8555
8556Fixed a missing semicolon in the aslcompiler.y file.
8557
8558----------------------------------------
855905 November 2004.  Summary of changes for version 20041105:
8560
85611) ACPI CA Core Subsystem:
8562
8563Implemented support for FADT revision 2.  This was an interim table
8564(between
8565ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
8566
8567Implemented optional support to allow uninitialized LocalX and ArgX
8568variables in a control method.  The variables are initialized to an
8569Integer
8570object with a value of zero.  This support is enabled by setting the
8571AcpiGbl_EnableInterpreterSlack flag to TRUE.
8572
8573Implemented support for Integer objects for the SizeOf operator.  Either 4
8574or 8 is returned, depending on the current integer size (32-bit or 64-bit,
8575depending on the parent table revision).
8576
8577Fixed a problem in the implementation of the SizeOf and ObjectType
8578operators
8579where the operand was resolved to a value too early, causing incorrect
8580return values for some objects.
8581
8582Fixed some possible memory leaks during exceptional conditions.
8583
8584Code and Data Size: Current and previous core subsystem library sizes are
8585shown below. These are the code and data sizes for the acpica.lib produced
8586by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8587any ACPI driver or OSPM code. The debug version of the code includes the
8588debug output trace mechanism and has a much larger code and data size.
8589Note
8590that these values will vary depending on the efficiency of the compiler
8591and
8592the compiler options used during generation.
8593
8594  Previous Release:
8595    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8596    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
8597  Current Release:
8598    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
8599    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
8600
8601
86022) iASL Compiler/Disassembler:
8603
8604Implemented support for all ACPI 3.0 reserved names and methods.
8605
8606Implemented all ACPI 3.0 grammar elements in the front-end, including
8607support for semicolons.
8608
8609Implemented the ACPI 3.0 Function() and ToUUID() macros
8610
8611Fixed a problem in the disassembler where a Scope() operator would not be
8612emitted properly if the target of the scope was in another table.
8613
8614----------------------------------------
861515 October 2004.  Summary of changes for version 20041015:
8616
8617Note:  ACPI CA is currently undergoing an in-depth and complete formal
8618evaluation to test/verify the following areas. Other suggestions are
8619welcome. This will result in an increase in the frequency of releases and
8620the number of bug fixes in the next few months.
8621  - Functional tests for all ASL/AML operators
8622  - All implicit/explicit type conversions
8623  - Bit fields and operation regions
8624  - 64-bit math support and 32-bit-only "truncated" math support
8625  - Exceptional conditions, both compiler and interpreter
8626  - Dynamic object deletion and memory leaks
8627  - ACPI 3.0 support when implemented
8628  - External interfaces to the ACPI subsystem
8629
8630
86311) ACPI CA Core Subsystem:
8632
8633Fixed two alignment issues on 64-bit platforms - within debug statements
8634in
8635AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
8636Address
8637field within the non-aligned ACPI generic address structure.
8638
8639Fixed a problem in the Increment and Decrement operators where incorrect
8640operand resolution could result in the inadvertent modification of the
8641original integer when the integer is passed into another method as an
8642argument and the arg is then incremented/decremented.
8643
8644Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
8645bit
8646BCD number were truncated during conversion.
8647
8648Fixed a problem in the ToDecimal operator where the length of the
8649resulting
8650string could be set incorrectly too long if the input operand was a Buffer
8651object.
8652
8653Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
8654(0)
8655within a buffer would prematurely terminate a compare between buffer
8656objects.
8657
8658Added a check for string overflow (>200 characters as per the ACPI
8659specification) during the Concatenate operator with two string operands.
8660
8661Code and Data Size: Current and previous core subsystem library sizes are
8662shown below. These are the code and data sizes for the acpica.lib produced
8663by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8664any ACPI driver or OSPM code. The debug version of the code includes the
8665debug output trace mechanism and has a much larger code and data size.
8666Note
8667that these values will vary depending on the efficiency of the compiler
8668and
8669the compiler options used during generation.
8670
8671  Previous Release:
8672    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8673    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
8674  Current Release:
8675    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8676    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
8677
8678
8679
86802) iASL Compiler/Disassembler:
8681
8682Allow the use of the ObjectType operator on uninitialized Locals and Args
8683(returns 0 as per the ACPI specification).
8684
8685Fixed a problem where the compiler would fault if there was a syntax error
8686in the FieldName of all of the various CreateXXXField operators.
8687
8688Disallow the use of lower case letters within the EISAID macro, as per the
8689ACPI specification.  All EISAID strings must be of the form "UUUNNNN"
8690Where
8691U is an uppercase letter and N is a hex digit.
8692
8693
8694----------------------------------------
869506 October 2004.  Summary of changes for version 20041006:
8696
86971) ACPI CA Core Subsystem:
8698
8699Implemented support for the ACPI 3.0 Timer operator. This ASL function
8700implements a 64-bit timer with 100 nanosecond granularity.
8701
8702Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
8703implement the ACPI 3.0 Timer operator.  This allows the host OS to
8704implement
8705the timer with the best clock available. Also, it keeps the core subsystem
8706out of the clock handling business, since the host OS (usually) performs
8707this function.
8708
8709Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
8710functions use a 64-bit address which is part of the packed ACPI Generic
8711Address Structure. Since the structure is non-aligned, the alignment
8712macros
8713are now used to extract the address to a local variable before use.
8714
8715Fixed a problem where the ToInteger operator assumed all input strings
8716were
8717hexadecimal. The operator now handles both decimal strings and hex strings
8718(prefixed with "0x").
8719
8720Fixed a problem where the string length in the string object created as a
8721result of the internal ConvertToString procedure could be incorrect. This
8722potentially affected all implicit conversions and also the ToDecimalString
8723and ToHexString operators.
8724
8725Fixed two problems in the ToString operator. If the length parameter was
8726zero, an incorrect string object was created and the value of the input
8727length parameter was inadvertently changed from zero to Ones.
8728
8729Fixed a problem where the optional ResourceSource string in the
8730ExtendedIRQ
8731resource macro was ignored.
8732
8733Simplified the interfaces to the internal division functions, reducing
8734code
8735size and complexity.
8736
8737Code and Data Size: Current and previous core subsystem library sizes are
8738shown below. These are the code and data sizes for the acpica.lib produced
8739by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8740any ACPI driver or OSPM code. The debug version of the code includes the
8741debug output trace mechanism and has a much larger code and data size.
8742Note
8743that these values will vary depending on the efficiency of the compiler
8744and
8745the compiler options used during generation.
8746
8747  Previous Release:
8748    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
8749    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
8750  Current Release:
8751    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
8752    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
8753
8754
87552) iASL Compiler/Disassembler:
8756
8757Implemented support for the ACPI 3.0 Timer operator.
8758
8759Fixed a problem where the Default() operator was inadvertently ignored in
8760a
8761Switch/Case block.  This was a problem in the translation of the Switch
8762statement to If...Else pairs.
8763
8764Added support to allow a standalone Return operator, with no parentheses
8765(or
8766operands).
8767
8768Fixed a problem with code generation for the ElseIf operator where the
8769translated Else...If parse tree was improperly constructed leading to the
8770loss of some code.
8771
8772----------------------------------------
877322 September 2004.  Summary of changes for version 20040922:
8774
87751) ACPI CA Core Subsystem:
8776
8777Fixed a problem with the implementation of the LNot() operator where
8778"Ones"
8779was not returned for the TRUE case. Changed the code to return Ones
8780instead
8781of (!Arg) which was usually 1. This change affects iASL constant folding
8782for
8783this operator also.
8784
8785Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not
8786initialized properly -- Now zero the entire buffer in this case where the
8787buffer already exists.
8788
8789Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
8790Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
8791related code considerably. This will require changes/updates to all OS
8792interface layers (OSLs.)
8793
8794Implemented a new external interface, AcpiInstallExceptionHandler, to
8795allow
8796a system exception handler to be installed. This handler is invoked upon
8797any
8798run-time exception that occurs during control method execution.
8799
8800Added support for the DSDT in AcpiTbFindTable. This allows the
8801DataTableRegion() operator to access the local copy of the DSDT.
8802
8803Code and Data Size: Current and previous core subsystem library sizes are
8804shown below. These are the code and data sizes for the acpica.lib produced
8805by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8806any ACPI driver or OSPM code. The debug version of the code includes the
8807debug output trace mechanism and has a much larger code and data size.
8808Note
8809that these values will vary depending on the efficiency of the compiler
8810and
8811the compiler options used during generation.
8812
8813  Previous Release:
8814    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
8815    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
8816  Current Release:
8817    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
8818    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
8819
8820
88212) iASL Compiler/Disassembler:
8822
8823Fixed a problem with constant folding and the LNot operator. LNot was
8824returning 1 in the TRUE case, not Ones as per the ACPI specification. This
8825could result in the generation of an incorrect folded/reduced constant.
8826
8827End-Of-File is now allowed within a "//"-style comment.  A parse error no
8828longer occurs if such a comment is at the very end of the input ASL source
8829file.
8830
8831Implemented the "-r" option to override the Revision in the table header.
8832The initial use of this option will be to simplify the evaluation of the
8833AML
8834interpreter by allowing a single ASL source module to be compiled for
8835either
883632-bit or 64-bit integers.
8837
8838
8839----------------------------------------
884027 August 2004.  Summary of changes for version 20040827:
8841
88421) ACPI CA Core Subsystem:
8843
8844- Implemented support for implicit object conversion in the non-numeric
8845logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and
8846LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used;
8847the second operand is implicitly converted on the fly to match the type of
8848the first operand.  For example:
8849
8850    LEqual (Source1, Source2)
8851
8852Source1 and Source2 must each evaluate to an integer, a string, or a
8853buffer.
8854The data type of Source1 dictates the required type of Source2. Source2 is
8855implicitly converted if necessary to match the type of Source1.
8856
8857- Updated and corrected the behavior of the string conversion support.
8858The
8859rules concerning conversion of buffers to strings (according to the ACPI
8860specification) are as follows:
8861
8862ToDecimalString - explicit byte-wise conversion of buffer to string of
8863decimal values (0-255) separated by commas. ToHexString - explicit byte-
8864wise
8865conversion of buffer to string of hex values (0-FF) separated by commas.
8866ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
8867byte
8868copy with no transform except NULL terminated. Any other implicit buffer-
8869to-
8870string conversion - byte-wise conversion of buffer to string of hex values
8871(0-FF) separated by spaces.
8872
8873- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
8874
8875- Fixed a problem in AcpiNsGetPathnameLength where the returned length was
8876one byte too short in the case of a node in the root scope.  This could
8877cause a fault during debug output.
8878
8879- Code and Data Size: Current and previous core subsystem library sizes
8880are
8881shown below.  These are the code and data sizes for the acpica.lib
8882produced
8883by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8884any ACPI driver or OSPM code.  The debug version of the code includes the
8885debug output trace mechanism and has a much larger code and data size.
8886Note
8887that these values will vary depending on the efficiency of the compiler
8888and
8889the compiler options used during generation.
8890
8891  Previous Release:
8892    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
8893    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
8894  Current Release:
8895    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
8896    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
8897
8898
88992) iASL Compiler/Disassembler:
8900
8901- Fixed a Linux generation error.
8902
8903
8904----------------------------------------
890516 August 2004.  Summary of changes for version 20040816:
8906
89071) ACPI CA Core Subsystem:
8908
8909Designed and implemented support within the AML interpreter for the so-
8910called "implicit return".  This support returns the result of the last ASL
8911operation within a control method, in the absence of an explicit Return()
8912operator.  A few machines depend on this behavior, even though it is not
8913explicitly supported by the ASL language.  It is optional support that can
8914be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
8915
8916Removed support for the PCI_Config address space from the internal low
8917level
8918hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This
8919support was not used internally, and would not work correctly anyway
8920because
8921the PCI bus number and segment number were not supported.  There are
8922separate interfaces for PCI configuration space access because of the
8923unique
8924interface.
8925
8926Code and Data Size: Current and previous core subsystem library sizes are
8927shown below.  These are the code and data sizes for the acpica.lib
8928produced
8929by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8930any ACPI driver or OSPM code.  The debug version of the code includes the
8931debug output trace mechanism and has a much larger code and data size.
8932Note
8933that these values will vary depending on the efficiency of the compiler
8934and
8935the compiler options used during generation.
8936
8937  Previous Release:
8938    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
8939    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
8940  Current Release:
8941    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
8942    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
8943
8944
89452) iASL Compiler/Disassembler:
8946
8947Fixed a problem where constants in ASL expressions at the root level (not
8948within a control method) could be inadvertently truncated during code
8949generation.  This problem was introduced in the 20040715 release.
8950
8951
8952----------------------------------------
895315 July 2004.  Summary of changes for version 20040715:
8954
89551) ACPI CA Core Subsystem:
8956
8957Restructured the internal HW GPE interfaces to pass/track the current
8958state
8959of interrupts (enabled/disabled) in order to avoid possible deadlock and
8960increase flexibility of the interfaces.
8961
8962Implemented a "lexicographical compare" for String and Buffer objects
8963within
8964the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual --
8965as per further clarification to the ACPI specification.  Behavior is
8966similar
8967to C library "strcmp".
8968
8969Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
8970external function.  In the 32-bit non-debug case, the stack use has been
8971reduced from 168 bytes to 32 bytes.
8972
8973Deployed a new run-time configuration flag,
8974AcpiGbl_EnableInterpreterSlack,
8975whose purpose is to allow the AML interpreter to forgive certain bad AML
8976constructs.  Default setting is FALSE.
8977
8978Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
8979IO
8980support code.  If enabled, it allows field access to go beyond the end of
8981a
8982region definition if the field is within the region length rounded up to
8983the
8984next access width boundary (a common coding error.)
8985
8986Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
8987ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also,
8988these
8989symbols are lowercased by the latest version of the AcpiSrc tool.
8990
8991The prototypes for the PCI interfaces in acpiosxf.h have been updated to
8992rename "Register" to simply "Reg" to prevent certain compilers from
8993complaining.
8994
8995Code and Data Size: Current and previous core subsystem library sizes are
8996shown below.  These are the code and data sizes for the acpica.lib
8997produced
8998by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8999any ACPI driver or OSPM code.  The debug version of the code includes the
9000debug output trace mechanism and has a much larger code and data size.
9001Note
9002that these values will vary depending on the efficiency of the compiler
9003and
9004the compiler options used during generation.
9005
9006  Previous Release:
9007    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9008    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
9009  Current Release:
9010    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9011    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
9012
9013
90142) iASL Compiler/Disassembler:
9015
9016Implemented full support for Package objects within the Case() operator.
9017Note: The Break() operator is currently not supported within Case blocks
9018(TermLists) as there is some question about backward compatibility with
9019ACPI
90201.0 interpreters.
9021
9022
9023Fixed a problem where complex terms were not supported properly within the
9024Switch() operator.
9025
9026Eliminated extraneous warning for compiler-emitted reserved names of the
9027form "_T_x".  (Used in Switch/Case operators.)
9028
9029Eliminated optimization messages for "_T_x" objects and small constants
9030within the DefinitionBlock operator.
9031
9032
9033----------------------------------------
903415 June 2004.  Summary of changes for version 20040615:
9035
90361) ACPI CA Core Subsystem:
9037
9038Implemented support for Buffer and String objects (as per ACPI 2.0) for
9039the
9040following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
9041LLessEqual.
9042
9043All directory names in the entire source package are lower case, as they
9044were in earlier releases.
9045
9046Implemented "Disassemble" command in the AML debugger that will
9047disassemble
9048a single control method.
9049
9050Code and Data Size: Current and previous core subsystem library sizes are
9051shown below.  These are the code and data sizes for the acpica.lib
9052produced
9053by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9054any ACPI driver or OSPM code.  The debug version of the code includes the
9055debug output trace mechanism and has a much larger code and data size.
9056Note
9057that these values will vary depending on the efficiency of the compiler
9058and
9059the compiler options used during generation.
9060
9061  Previous Release:
9062    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
9063    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
9064
9065  Current Release:
9066    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9067    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
9068
9069
90702) iASL Compiler/Disassembler:
9071
9072Implemented support for Buffer and String objects (as per ACPI 2.0) for
9073the
9074following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
9075LLessEqual.
9076
9077All directory names in the entire source package are lower case, as they
9078were in earlier releases.
9079
9080Fixed a fault when using the -g or -d<nofilename> options if the FADT was
9081not found.
9082
9083Fixed an issue with the Windows version of the compiler where later
9084versions
9085of Windows place the FADT in the registry under the name "FADT" and not
9086"FACP" as earlier versions did.  This applies when using the -g or -
9087d<nofilename> options.  The compiler now looks for both strings as
9088necessary.
9089
9090Fixed a problem with compiler namepath optimization where a namepath
9091within
9092the Scope() operator could not be optimized if the namepath was a subpath
9093of
9094the current scope path.
9095
9096----------------------------------------
909727 May 2004.  Summary of changes for version 20040527:
9098
90991) ACPI CA Core Subsystem:
9100
9101Completed a new design and implementation for EBDA (Extended BIOS Data
9102Area)
9103support in the RSDP scan code.  The original code improperly scanned for
9104the
9105EBDA by simply scanning from memory location 0 to 0x400.  The correct
9106method
9107is to first obtain the EBDA pointer from within the BIOS data area, then
9108scan 1K of memory starting at the EBDA pointer.  There appear to be few if
9109any machines that place the RSDP in the EBDA, however.
9110
9111Integrated a fix for a possible fault during evaluation of BufferField
9112arguments.  Obsolete code that was causing the problem was removed.
9113
9114Found and fixed a problem in the Field Support Code where data could be
9115corrupted on a bit field read that starts on an aligned boundary but does
9116not end on an aligned boundary.  Merged the read/write "datum length"
9117calculation code into a common procedure.
9118
9119Rolled in a couple of changes to the FreeBSD-specific header.
9120
9121
9122Code and Data Size: Current and previous core subsystem library sizes are
9123shown below.  These are the code and data sizes for the acpica.lib
9124produced
9125by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9126any ACPI driver or OSPM code.  The debug version of the code includes the
9127debug output trace mechanism and has a much larger code and data size.
9128Note
9129that these values will vary depending on the efficiency of the compiler
9130and
9131the compiler options used during generation.
9132
9133  Previous Release:
9134    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9135    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
9136  Current Release:
9137    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
9138    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
9139
9140
91412) iASL Compiler/Disassembler:
9142
9143Fixed a generation warning produced by some overly-verbose compilers for a
914464-bit constant.
9145
9146----------------------------------------
914714 May 2004.  Summary of changes for version 20040514:
9148
91491) ACPI CA Core Subsystem:
9150
9151Fixed a problem where hardware GPE enable bits sometimes not set properly
9152during and after GPE method execution.  Result of 04/27 changes.
9153
9154Removed extra "clear all GPEs" when sleeping/waking.
9155
9156Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
9157AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
9158to
9159the new AcpiEv* calls as appropriate.
9160
9161ACPI_OS_NAME was removed from the OS-specific headers.  The default name
9162is
9163now "Microsoft Windows NT" for maximum compatibility.  However this can be
9164changed by modifying the acconfig.h file.
9165
9166Allow a single invocation of AcpiInstallNotifyHandler for a handler that
9167traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag.
9168
9169Run _INI methods on ThermalZone objects.  This is against the ACPI
9170specification, but there is apparently ASL code in the field that has
9171these
9172_INI methods, and apparently "other" AML interpreters execute them.
9173
9174Performed a full 16/32/64 bit lint that resulted in some small changes.
9175
9176Added a sleep simulation command to the AML debugger to test sleep code.
9177
9178Code and Data Size: Current and previous core subsystem library sizes are
9179shown below.  These are the code and data sizes for the acpica.lib
9180produced
9181by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9182any ACPI driver or OSPM code.  The debug version of the code includes the
9183debug output trace mechanism and has a much larger code and data size.
9184Note
9185that these values will vary depending on the efficiency of the compiler
9186and
9187the compiler options used during generation.
9188
9189  Previous Release:
9190    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9191    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
9192  Current Release:
9193    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9194    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
9195
9196----------------------------------------
919727 April 2004.  Summary of changes for version 20040427:
9198
91991) ACPI CA Core Subsystem:
9200
9201Completed a major overhaul of the GPE handling within ACPI CA.  There are
9202now three types of GPEs:  wake-only, runtime-only, and combination
9203wake/run.
9204The only GPEs allowed to be combination wake/run are for button-style
9205devices such as a control-method power button, control-method sleep
9206button,
9207or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are
9208not
9209referenced by any _PRW methods are marked for "runtime" and hardware
9210enabled.  Any GPE that is referenced by a _PRW method is marked for "wake"
9211(and disabled at runtime).  However, at sleep time, only those GPEs that
9212have been specifically enabled for wake via the AcpiEnableGpe interface
9213will
9214actually be hardware enabled.
9215
9216A new external interface has been added, AcpiSetGpeType(), that is meant
9217to
9218be used by device drivers to force a GPE to a particular type.  It will be
9219especially useful for the drivers for the button devices mentioned above.
9220
9221Completed restructuring of the ACPI CA initialization sequence so that
9222default operation region handlers are installed before GPEs are
9223initialized
9224and the _PRW methods are executed.  This will prevent errors when the _PRW
9225methods attempt to access system memory or I/O space.
9226
9227GPE enable/disable no longer reads the GPE enable register.  We now keep
9228the
9229enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We
9230thus no longer depend on the hardware to maintain these bits.
9231
9232Always clear the wake status and fixed/GPE status bits before sleep, even
9233for state S5.
9234
9235Improved the AML debugger output for displaying the GPE blocks and their
9236current status.
9237
9238Added new strings for the _OSI method, of the form "Windows 2001 SPx"
9239where
9240x = 0,1,2,3,4.
9241
9242Fixed a problem where the physical address was incorrectly calculated when
9243the Load() operator was used to directly load from an Operation Region
9244(vs.
9245loading from a Field object.)  Also added check for minimum table length
9246for
9247this case.
9248
9249Fix for multiple mutex acquisition.  Restore original thread SyncLevel on
9250mutex release.
9251
9252Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
9253consistency with the other fields returned.
9254
9255Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such
9256structure for each GPE in the system, so the size of this structure is
9257important.
9258
9259CPU stack requirement reduction:  Cleaned up the method execution and
9260object
9261evaluation paths so that now a parameter structure is passed, instead of
9262copying the various method parameters over and over again.
9263
9264In evregion.c:  Correctly exit and reenter the interpreter region if and
9265only if dispatching an operation region request to a user-installed
9266handler.
9267Do not exit/reenter when dispatching to a default handler (e.g., default
9268system memory or I/O handlers)
9269
9270
9271Notes for updating drivers for the new GPE support.  The following changes
9272must be made to ACPI-related device drivers that are attached to one or
9273more
9274GPEs: (This information will be added to the ACPI CA Programmer
9275Reference.)
9276
92771) AcpiInstallGpeHandler no longer automatically enables the GPE, you must
9278explicitly call AcpiEnableGpe.
92792) There is a new interface called AcpiSetGpeType. This should be called
9280before enabling the GPE.  Also, this interface will automatically disable
9281the GPE if it is currently enabled.
92823) AcpiEnableGpe no longer supports a GPE type flag.
9283
9284Specific drivers that must be changed:
92851) EC driver:
9286    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
9287AeGpeHandler, NULL);
9288    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
9289    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
9290
92912) Button Drivers (Power, Lid, Sleep):
9292Run _PRW method under parent device
9293If _PRW exists: /* This is a control-method button */
9294    Extract GPE number and possibly GpeDevice
9295    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
9296    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
9297
9298For all other devices that have _PRWs, we automatically set the GPE type
9299to
9300ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This
9301must be done on a selective basis, usually requiring some kind of user app
9302to allow the user to pick the wake devices.
9303
9304
9305Code and Data Size: Current and previous core subsystem library sizes are
9306shown below.  These are the code and data sizes for the acpica.lib
9307produced
9308by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9309any ACPI driver or OSPM code.  The debug version of the code includes the
9310debug output trace mechanism and has a much larger code and data size.
9311Note
9312that these values will vary depending on the efficiency of the compiler
9313and
9314the compiler options used during generation.
9315
9316  Previous Release:
9317    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
9318    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
9319  Current Release:
9320
9321    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9322    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
9323
9324
9325
9326----------------------------------------
932702 April 2004.  Summary of changes for version 20040402:
9328
93291) ACPI CA Core Subsystem:
9330
9331Fixed an interpreter problem where an indirect store through an ArgX
9332parameter was incorrectly applying the "implicit conversion rules" during
9333the store.  From the ACPI specification: "If the target is a method local
9334or
9335argument (LocalX or ArgX), no conversion is performed and the result is
9336stored directly to the target".  The new behavior is to disable implicit
9337conversion during ALL stores to an ArgX.
9338
9339Changed the behavior of the _PRW method scan to ignore any and all errors
9340returned by a given _PRW.  This prevents the scan from aborting from the
9341failure of any single _PRW.
9342
9343Moved the runtime configuration parameters from the global init procedure
9344to
9345static variables in acglobal.h.  This will allow the host to override the
9346default values easily.
9347
9348Code and Data Size: Current and previous core subsystem library sizes are
9349shown below.  These are the code and data sizes for the acpica.lib
9350produced
9351by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9352any ACPI driver or OSPM code.  The debug version of the code includes the
9353debug output trace mechanism and has a much larger code and data size.
9354Note
9355that these values will vary depending on the efficiency of the compiler
9356and
9357the compiler options used during generation.
9358
9359  Previous Release:
9360    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
9361    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
9362  Current Release:
9363    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
9364    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
9365
9366
93672) iASL Compiler/Disassembler:
9368
9369iASL now fully disassembles SSDTs.  However, External() statements are not
9370generated automatically for unresolved symbols at this time.  This is a
9371planned feature for future implementation.
9372
9373Fixed a scoping problem in the disassembler that occurs when the type of
9374the
9375target of a Scope() operator is overridden.  This problem caused an
9376incorrectly nested internal namespace to be constructed.
9377
9378Any warnings or errors that are emitted during disassembly are now
9379commented
9380out automatically so that the resulting file can be recompiled without any
9381hand editing.
9382
9383----------------------------------------
938426 March 2004.  Summary of changes for version 20040326:
9385
93861) ACPI CA Core Subsystem:
9387
9388Implemented support for "wake" GPEs via interaction between GPEs and the
9389_PRW methods.  Every GPE that is pointed to by one or more _PRWs is
9390identified as a WAKE GPE and by default will no longer be enabled at
9391runtime.  Previously, we were blindly enabling all GPEs with a
9392corresponding
9393_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
9394We
9395believe this has been the cause of thousands of "spurious" GPEs on some
9396systems.
9397
9398This new GPE behavior is can be reverted to the original behavior (enable
9399ALL GPEs at runtime) via a runtime flag.
9400
9401Fixed a problem where aliased control methods could not access objects
9402properly.  The proper scope within the namespace was not initialized
9403(transferred to the target of the aliased method) before executing the
9404target method.
9405
9406Fixed a potential race condition on internal object deletion on the return
9407object in AcpiEvaluateObject.
9408
9409Integrated a fix for resource descriptors where both _MEM and _MTP were
9410being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too
9411wide, 0x0F instead of 0x03.)
9412
9413Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing
9414a
9415fault in some cases.
9416
9417Updated Notify() values for debug statements in evmisc.c
9418
9419Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
9420
9421Code and Data Size: Current and previous core subsystem library sizes are
9422shown below.  These are the code and data sizes for the acpica.lib
9423produced
9424by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9425any ACPI driver or OSPM code.  The debug version of the code includes the
9426debug output trace mechanism and has a much larger code and data size.
9427Note
9428that these values will vary depending on the efficiency of the compiler
9429and
9430the compiler options used during generation.
9431
9432  Previous Release:
9433
9434    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
9435    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
9436  Current Release:
9437    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
9438    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
9439
9440----------------------------------------
944111 March 2004.  Summary of changes for version 20040311:
9442
94431) ACPI CA Core Subsystem:
9444
9445Fixed a problem where errors occurring during the parse phase of control
9446method execution did not abort cleanly.  For example, objects created and
9447installed in the namespace were not deleted.  This caused all subsequent
9448invocations of the method to return the AE_ALREADY_EXISTS exception.
9449
9450Implemented a mechanism to force a control method to "Serialized"
9451execution
9452if the method attempts to create namespace objects. (The root of the
9453AE_ALREADY_EXISTS problem.)
9454
9455Implemented support for the predefined _OSI "internal" control method.
9456Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and
9457"Windows 2001.1", and can be easily upgraded for new strings as necessary.
9458This feature will allow "other" operating systems to execute the fully
9459tested, "Windows" code path through the ASL code
9460
9461Global Lock Support:  Now allows multiple acquires and releases with any
9462internal thread.  Removed concept of "owning thread" for this special
9463mutex.
9464
9465Fixed two functions that were inappropriately declaring large objects on
9466the
9467CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage
9468during
9469method execution considerably.
9470
9471Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
9472S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
9473
9474Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
9475defined on the machine.
9476
9477Implemented two runtime options:  One to force all control method
9478execution
9479to "Serialized" to mimic Windows behavior, another to disable _OSI support
9480if it causes problems on a given machine.
9481
9482Code and Data Size: Current and previous core subsystem library sizes are
9483shown below.  These are the code and data sizes for the acpica.lib
9484produced
9485by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9486any ACPI driver or OSPM code.  The debug version of the code includes the
9487debug output trace mechanism and has a much larger code and data size.
9488Note
9489that these values will vary depending on the efficiency of the compiler
9490and
9491the compiler options used during generation.
9492
9493  Previous Release:
9494    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
9495    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
9496  Current Release:
9497    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
9498    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
9499
95002) iASL Compiler/Disassembler:
9501
9502Fixed an array size problem for FreeBSD that would cause the compiler to
9503fault.
9504
9505----------------------------------------
950620 February 2004.  Summary of changes for version 20040220:
9507
9508
95091) ACPI CA Core Subsystem:
9510
9511Implemented execution of _SxD methods for Device objects in the
9512GetObjectInfo interface.
9513
9514Fixed calls to _SST method to pass the correct arguments.
9515
9516Added a call to _SST on wake to restore to "working" state.
9517
9518Check for End-Of-Buffer failure case in the WalkResources interface.
9519
9520Integrated fix for 64-bit alignment issue in acglobal.h by moving two
9521structures to the beginning of the file.
9522
9523After wake, clear GPE status register(s) before enabling GPEs.
9524
9525After wake, clear/enable power button.  (Perhaps we should clear/enable
9526all
9527fixed events upon wake.)
9528
9529Fixed a couple of possible memory leaks in the Namespace manager.
9530
9531Integrated latest acnetbsd.h file.
9532
9533----------------------------------------
953411 February 2004.  Summary of changes for version 20040211:
9535
9536
95371) ACPI CA Core Subsystem:
9538
9539Completed investigation and implementation of the call-by-reference
9540mechanism for control method arguments.
9541
9542Fixed a problem where a store of an object into an indexed package could
9543fail if the store occurs within a different method than the method that
9544created the package.
9545
9546Fixed a problem where the ToDecimal operator could return incorrect
9547results.
9548
9549Fixed a problem where the CopyObject operator could fail on some of the
9550more
9551obscure objects (e.g., Reference objects.)
9552
9553Improved the output of the Debug object to display buffer, package, and
9554index objects.
9555
9556Fixed a problem where constructs of the form "RefOf (ArgX)" did not return
9557the expected result.
9558
9559Added permanent ACPI_REPORT_ERROR macros for all instances of the
9560ACPI_AML_INTERNAL exception.
9561
9562Integrated latest version of acfreebsd.h
9563
9564----------------------------------------
956516 January 2004.  Summary of changes for version 20040116:
9566
9567The purpose of this release is primarily to update the copyright years in
9568each module, thus causing a huge number of diffs.  There are a few small
9569functional changes, however.
9570
95711) ACPI CA Core Subsystem:
9572
9573Improved error messages when there is a problem finding one or more of the
9574required base ACPI tables
9575
9576Reintroduced the definition of APIC_HEADER in actbl.h
9577
9578Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
9579
9580Removed extraneous reference to NewObj in dsmthdat.c
9581
95822) iASL compiler
9583
9584Fixed a problem introduced in December that disabled the correct
9585disassembly
9586of Resource Templates
9587
9588
9589----------------------------------------
959003 December 2003.  Summary of changes for version 20031203:
9591
95921) ACPI CA Core Subsystem:
9593
9594Changed the initialization of Operation Regions during subsystem
9595init to perform two entire walks of the ACPI namespace; The first
9596to initialize the regions themselves, the second to execute the
9597_REG methods.  This fixed some interdependencies across _REG
9598methods found on some machines.
9599
9600Fixed a problem where a Store(Local0, Local1) could simply update
9601the object reference count, and not create a new copy of the
9602object if the Local1 is uninitialized.
9603
9604Implemented support for the _SST reserved method during sleep
9605transitions.
9606
9607Implemented support to clear the SLP_TYP and SLP_EN bits when
9608waking up, this is apparently required by some machines.
9609
9610When sleeping, clear the wake status only if SleepState is not S5.
9611
9612Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
9613pointer arithmetic advanced a string pointer too far.
9614
9615Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
9616could be returned if the requested table has not been loaded.
9617
9618Within the support for IRQ resources, restructured the handling of
9619the active and edge/level bits.
9620
9621Fixed a few problems in AcpiPsxExecute() where memory could be
9622leaked under certain error conditions.
9623
9624Improved error messages for the cases where the ACPI mode could
9625not be entered.
9626
9627Code and Data Size: Current and previous core subsystem library
9628sizes are shown below.  These are the code and data sizes for the
9629acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9630these values do not include any ACPI driver or OSPM code.  The
9631debug version of the code includes the debug output trace
9632mechanism and has a much larger code and data size.  Note that
9633these values will vary depending on the efficiency of the compiler
9634and the compiler options used during generation.
9635
9636  Previous Release (20031029):
9637    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
9638    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
9639  Current Release:
9640    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
9641    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
9642
96432) iASL Compiler/Disassembler:
9644
9645Implemented a fix for the iASL disassembler where a bad index was
9646generated.  This was most noticeable on 64-bit platforms
9647
9648
9649----------------------------------------
965029 October 2003.  Summary of changes for version 20031029:
9651
96521) ACPI CA Core Subsystem:
9653
9654
9655Fixed a problem where a level-triggered GPE with an associated
9656_Lxx control method was incorrectly cleared twice.
9657
9658Fixed a problem with the Field support code where an access can
9659occur beyond the end-of-region if the field is non-aligned but
9660extends to the very end of the parent region (resulted in an
9661AE_AML_REGION_LIMIT exception.)
9662
9663Fixed a problem with ACPI Fixed Events where an RT Clock handler
9664would not get invoked on an RTC event.  The RTC event bitmasks for
9665the PM1 registers were not being initialized properly.
9666
9667Implemented support for executing _STA and _INI methods for
9668Processor objects.  Although this is currently not part of the
9669ACPI specification, there is existing ASL code that depends on the
9670init-time execution of these methods.
9671
9672Implemented and deployed a GetDescriptorName function to decode
9673the various types of internal descriptors.  Guards against null
9674descriptors during debug output also.
9675
9676Implemented and deployed a GetNodeName function to extract the 4-
9677character namespace node name.  This function simplifies the debug
9678and error output, as well as guarding against null pointers during
9679output.
9680
9681Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
9682simplify the debug and error output of 64-bit integers.  This
9683macro replaces the HIDWORD and LODWORD macros for dumping these
9684integers.
9685
9686Updated the implementation of the Stall() operator to only call
9687AcpiOsStall(), and also return an error if the operand is larger
9688than 255.  This preserves the required behavior of not
9689relinquishing the processor, as would happen if AcpiOsSleep() was
9690called for "long stalls".
9691
9692Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
9693initialized are now treated as NOOPs.
9694
9695Cleaned up a handful of warnings during 64-bit generation.
9696
9697Fixed a reported error where and incorrect GPE number was passed
9698to the GPE dispatch handler.  This value is only used for error
9699output, however.  Used this opportunity to clean up and streamline
9700the GPE dispatch code.
9701
9702Code and Data Size: Current and previous core subsystem library
9703sizes are shown below.  These are the code and data sizes for the
9704acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9705these values do not include any ACPI driver or OSPM code.  The
9706
9707debug version of the code includes the debug output trace
9708mechanism and has a much larger code and data size.  Note that
9709these values will vary depending on the efficiency of the compiler
9710and the compiler options used during generation.
9711
9712  Previous Release (20031002):
9713    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
9714    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
9715  Current Release:
9716    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
9717    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
9718
9719
97202) iASL Compiler/Disassembler:
9721
9722Updated the iASL compiler to return an error if the operand to the
9723Stall() operator is larger than 255.
9724
9725
9726----------------------------------------
972702 October 2003.  Summary of changes for version 20031002:
9728
9729
97301) ACPI CA Core Subsystem:
9731
9732Fixed a problem with Index Fields where the index was not
9733incremented for fields that require multiple writes to the
9734index/data registers (Fields that are wider than the data
9735register.)
9736
9737Fixed a problem with all Field objects where a write could go
9738beyond the end-of-field if the field was larger than the access
9739granularity and therefore required multiple writes to complete the
9740request.  An extra write beyond the end of the field could happen
9741inadvertently.
9742
9743Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
9744would incorrectly be returned if the width of the Data Register
9745was larger than the specified field access width.
9746
9747Completed fixes for LoadTable() and Unload() and verified their
9748operation.  Implemented full support for the "DdbHandle" object
9749throughout the ACPI CA subsystem.
9750
9751Implemented full support for the MADT and ECDT tables in the ACPI
9752CA header files.  Even though these tables are not directly
9753consumed by ACPI CA, the header definitions are useful for ACPI
9754device drivers.
9755
9756Integrated resource descriptor fixes posted to the Linux ACPI
9757list.  This included checks for minimum descriptor length, and
9758support for trailing NULL strings within descriptors that have
9759optional string elements.
9760
9761Code and Data Size: Current and previous core subsystem library
9762sizes are shown below.  These are the code and data sizes for the
9763acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9764these values do not include any ACPI driver or OSPM code.  The
9765debug version of the code includes the debug output trace
9766mechanism and has a much larger code and data size.  Note that
9767these values will vary depending on the efficiency of the compiler
9768and the compiler options used during generation.
9769
9770  Previous Release (20030918):
9771    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
9772    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
9773  Current Release:
9774    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
9775    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
9776
9777
97782) iASL Compiler:
9779
9780Implemented detection of non-ASCII characters within the input
9781source ASL file.  This catches attempts to compile binary (AML)
9782files early in the compile, with an informative error message.
9783
9784Fixed a problem where the disassembler would fault if the output
9785filename could not be generated or if the output file could not be
9786opened.
9787
9788----------------------------------------
978918 September 2003.  Summary of changes for version 20030918:
9790
9791
97921) ACPI CA Core Subsystem:
9793
9794Found and fixed a longstanding problem with the late execution of
9795the various deferred AML opcodes (such as Operation Regions,
9796Buffer Fields, Buffers, and Packages).  If the name string
9797specified for the name of the new object placed the object in a
9798scope other than the current scope, the initialization/execution
9799of the opcode failed.  The solution to this problem was to
9800implement a mechanism where the late execution of such opcodes
9801does not attempt to lookup/create the name a second time in an
9802incorrect scope.  This fixes the "region size computed
9803incorrectly" problem.
9804
9805Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
9806Global Lock AE_BAD_PARAMETER error.
9807
9808Fixed several 64-bit issues with prototypes, casting and data
9809types.
9810
9811Removed duplicate prototype from acdisasm.h
9812
9813Fixed an issue involving EC Operation Region Detach (Shaohua Li)
9814
9815Code and Data Size: Current and previous core subsystem library
9816sizes are shown below.  These are the code and data sizes for the
9817acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9818these values do not include any ACPI driver or OSPM code.  The
9819debug version of the code includes the debug output trace
9820mechanism and has a much larger code and data size.  Note that
9821these values will vary depending on the efficiency of the compiler
9822and the compiler options used during generation.
9823
9824  Previous Release:
9825
9826    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
9827    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
9828  Current Release:
9829    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
9830    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
9831
9832
98332) Linux:
9834
9835Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
9836correct sleep time in seconds.
9837
9838----------------------------------------
983914 July 2003.  Summary of changes for version 20030619:
9840
98411) ACPI CA Core Subsystem:
9842
9843Parse SSDTs in order discovered, as opposed to reverse order
9844(Hrvoje Habjanic)
9845
9846Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
9847Klausner,
9848   Nate Lawson)
9849
9850
98512) Linux:
9852
9853Dynamically allocate SDT list (suggested by Andi Kleen)
9854
9855proc function return value cleanups (Andi Kleen)
9856
9857Correctly handle NMI watchdog during long stalls (Andrew Morton)
9858
9859Make it so acpismp=force works (reported by Andrew Morton)
9860
9861
9862----------------------------------------
986319 June 2003.  Summary of changes for version 20030619:
9864
98651) ACPI CA Core Subsystem:
9866
9867Fix To/FromBCD, eliminating the need for an arch-specific #define.
9868
9869Do not acquire a semaphore in the S5 shutdown path.
9870
9871Fix ex_digits_needed for 0. (Takayoshi Kochi)
9872
9873Fix sleep/stall code reversal. (Andi Kleen)
9874
9875Revert a change having to do with control method calling
9876semantics.
9877
98782) Linux:
9879
9880acpiphp update (Takayoshi Kochi)
9881
9882Export acpi_disabled for sonypi (Stelian Pop)
9883
9884Mention acpismp=force in config help
9885
9886Re-add acpitable.c and acpismp=force. This improves backwards
9887
9888compatibility and also cleans up the code to a significant degree.
9889
9890Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
9891
9892----------------------------------------
989322 May 2003.  Summary of changes for version 20030522:
9894
98951) ACPI CA Core Subsystem:
9896
9897Found and fixed a reported problem where an AE_NOT_FOUND error
9898occurred occasionally during _BST evaluation.  This turned out to
9899be an Owner ID allocation issue where a called method did not get
9900a new ID assigned to it.  Eventually, (after 64k calls), the Owner
9901ID UINT16 would wraparound so that the ID would be the same as the
9902caller's and the called method would delete the caller's
9903namespace.
9904
9905Implemented extended error reporting for control methods that are
9906aborted due to a run-time exception.  Output includes the exact
9907AML instruction that caused the method abort, a dump of the method
9908locals and arguments at the time of the abort, and a trace of all
9909nested control method calls.
9910
9911Modified the interpreter to allow the creation of buffers of zero
9912length from the AML code. Implemented new code to ensure that no
9913attempt is made to actually allocate a memory buffer (of length
9914zero) - instead, a simple buffer object with a NULL buffer pointer
9915and length zero is created.  A warning is no longer issued when
9916the AML attempts to create a zero-length buffer.
9917
9918Implemented a workaround for the "leading asterisk issue" in
9919_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
9920asterisk is automatically removed if present in any HID, UID, or
9921CID strings.  The iASL compiler will still flag this asterisk as
9922an error, however.
9923
9924Implemented full support for _CID methods that return a package of
9925multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
9926now additionally returns a device _CID list if present.  This
9927required a change to the external interface in order to pass an
9928ACPI_BUFFER object as a parameter since the _CID list is of
9929variable length.
9930
9931Fixed a problem with the new AE_SAME_HANDLER exception where
9932handler initialization code did not know about this exception.
9933
9934Code and Data Size: Current and previous core subsystem library
9935sizes are shown below.  These are the code and data sizes for the
9936acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9937these values do not include any ACPI driver or OSPM code.  The
9938debug version of the code includes the debug output trace
9939mechanism and has a much larger code and data size.  Note that
9940these values will vary depending on the efficiency of the compiler
9941and the compiler options used during generation.
9942
9943  Previous Release (20030509):
9944    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
9945    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
9946  Current Release:
9947    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
9948    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
9949
9950
99512) Linux:
9952
9953Fixed a bug in which we would reinitialize the ACPI interrupt
9954after it was already working, thus disabling all ACPI and the IRQs
9955for any other device sharing the interrupt. (Thanks to Stian
9956Jordet)
9957
9958Toshiba driver update (John Belmonte)
9959
9960Return only 0 or 1 for our interrupt handler status (Andrew
9961Morton)
9962
9963
99643) iASL Compiler:
9965
9966Fixed a reported problem where multiple (nested) ElseIf()
9967statements were not handled correctly by the compiler, resulting
9968in incorrect warnings and incorrect AML code.  This was a problem
9969in both the ASL parser and the code generator.
9970
9971
99724) Documentation:
9973
9974Added changes to existing interfaces, new exception codes, and new
9975text concerning reference count object management versus garbage
9976collection.
9977
9978----------------------------------------
997909 May 2003.  Summary of changes for version 20030509.
9980
9981
99821) ACPI CA Core Subsystem:
9983
9984Changed the subsystem initialization sequence to hold off
9985installation of address space handlers until the hardware has been
9986initialized and the system has entered ACPI mode.  This is because
9987the installation of space handlers can cause _REG methods to be
9988run.  Previously, the _REG methods could potentially be run before
9989ACPI mode was enabled.
9990
9991Fixed some memory leak issues related to address space handler and
9992notify handler installation.  There were some problems with the
9993reference count mechanism caused by the fact that the handler
9994objects are shared across several namespace objects.
9995
9996Fixed a reported problem where reference counts within the
9997namespace were not properly updated when named objects created by
9998method execution were deleted.
9999
10000Fixed a reported problem where multiple SSDTs caused a deletion
10001issue during subsystem termination.  Restructured the table data
10002structures to simplify the linked lists and the related code.
10003
10004Fixed a problem where the table ID associated with secondary
10005tables (SSDTs) was not being propagated into the namespace objects
10006created by those tables.  This would only present a problem for
10007tables that are unloaded at run-time, however.
10008
10009Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
10010type as the length parameter (instead of UINT32).
10011
10012Solved a long-standing problem where an ALREADY_EXISTS error
10013appears on various systems.  This problem could happen when there
10014are multiple PCI_Config operation regions under a single PCI root
10015bus.  This doesn't happen very frequently, but there are some
10016systems that do this in the ASL.
10017
10018Fixed a reported problem where the internal DeleteNode function
10019was incorrectly handling the case where a namespace node was the
10020first in the parent's child list, and had additional peers (not
10021the only child, but first in the list of children.)
10022
10023Code and Data Size: Current core subsystem library sizes are shown
10024below.  These are the code and data sizes for the acpica.lib
10025produced by the Microsoft Visual C++ 6.0 compiler, and these
10026values do not include any ACPI driver or OSPM code.  The debug
10027version of the code includes the debug output trace mechanism and
10028has a much larger code and data size.  Note that these values will
10029vary depending on the efficiency of the compiler and the compiler
10030options used during generation.
10031
10032  Previous Release
10033    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
10034    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
10035  Current Release:
10036    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
10037    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
10038
10039
100402) Linux:
10041
10042Allow ":" in OS override string (Ducrot Bruno)
10043
10044Kobject fix (Greg KH)
10045
10046
100473 iASL Compiler/Disassembler:
10048
10049Fixed a problem in the generation of the C source code files (AML
10050is emitted in C source statements for BIOS inclusion) where the
10051Ascii dump that appears within a C comment at the end of each line
10052could cause a compile time error if the AML sequence happens to
10053have an open comment or close comment sequence embedded.
10054
10055
10056----------------------------------------
1005724 April 2003.  Summary of changes for version 20030424.
10058
10059
100601) ACPI CA Core Subsystem:
10061
10062Support for big-endian systems has been implemented.  Most of the
10063support has been invisibly added behind big-endian versions of the
10064ACPI_MOVE_* macros.
10065
10066Fixed a problem in AcpiHwDisableGpeBlock() and
10067AcpiHwClearGpeBlock() where an incorrect offset was passed to the
10068low level hardware write routine.  The offset parameter was
10069actually eliminated from the low level read/write routines because
10070they had become obsolete.
10071
10072Fixed a problem where a handler object was deleted twice during
10073the removal of a fixed event handler.
10074
10075
100762) Linux:
10077
10078A fix for SMP systems with link devices was contributed by
10079
10080Compaq's Dan Zink.
10081
10082(2.5) Return whether we handled the interrupt in our IRQ handler.
10083(Linux ISRs no longer return void, so we can propagate the handler
10084return value from the ACPI CA core back to the OS.)
10085
10086
10087
100883) Documentation:
10089
10090The ACPI CA Programmer Reference has been updated to reflect new
10091interfaces and changes to existing interfaces.
10092
10093----------------------------------------
1009428 March 2003.  Summary of changes for version 20030328.
10095
100961) ACPI CA Core Subsystem:
10097
10098The GPE Block Device support has been completed.  New interfaces
10099are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
10100interfaces (enable, disable, clear, getstatus) have been split
10101into separate interfaces for Fixed Events and General Purpose
10102Events (GPEs) in order to support GPE Block Devices properly.
10103
10104Fixed a problem where the error message "Failed to acquire
10105semaphore" would appear during operations on the embedded
10106controller (EC).
10107
10108Code and Data Size: Current core subsystem library sizes are shown
10109below.  These are the code and data sizes for the acpica.lib
10110produced by the Microsoft Visual C++ 6.0 compiler, and these
10111values do not include any ACPI driver or OSPM code.  The debug
10112version of the code includes the debug output trace mechanism and
10113has a much larger code and data size.  Note that these values will
10114vary depending on the efficiency of the compiler and the compiler
10115options used during generation.
10116
10117  Previous Release
10118    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
10119    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
10120  Current Release:
10121    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
10122    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
10123
10124
10125----------------------------------------
1012628 February 2003.  Summary of changes for version 20030228.
10127
10128
101291) ACPI CA Core Subsystem:
10130
10131The GPE handling and dispatch code has been completely overhauled
10132in preparation for support of GPE Block Devices (ID ACPI0006).
10133This affects internal data structures and code only; there should
10134be no differences visible externally.  One new file has been
10135added, evgpeblk.c
10136
10137The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
10138fields that are used to determine the GPE block lengths.  The
10139REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
10140structures are ignored.  This is per the ACPI specification but it
10141isn't very clear.  The full 256 Block 0/1 GPEs are now supported
10142(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
10143
10144In the SCI interrupt handler, removed the read of the PM1_CONTROL
10145register to look at the SCI_EN bit.  On some machines, this read
10146causes an SMI event and greatly slows down SCI events.  (This may
10147in fact be the cause of slow battery status response on some
10148systems.)
10149
10150Fixed a problem where a store of a NULL string to a package object
10151could cause the premature deletion of the object.  This was seen
10152during execution of the battery _BIF method on some systems,
10153resulting in no battery data being returned.
10154
10155Added AcpiWalkResources interface to simplify parsing of resource
10156lists.
10157
10158Code and Data Size: Current core subsystem library sizes are shown
10159below.  These are the code and data sizes for the acpica.lib
10160produced by the Microsoft Visual C++ 6.0 compiler, and these
10161values do not include any ACPI driver or OSPM code.  The debug
10162version of the code includes the debug output trace mechanism and
10163has a much larger code and data size.  Note that these values will
10164vary depending on the efficiency of the compiler and the compiler
10165options used during generation.
10166
10167  Previous Release
10168    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10169    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10170  Current Release:
10171    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
10172    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
10173
10174
101752) Linux
10176
10177S3 fixes (Ole Rohne)
10178
10179Update ACPI PHP driver with to use new acpi_walk_resource API
10180(Bjorn Helgaas)
10181
10182Add S4BIOS support (Pavel Machek)
10183
10184Map in entire table before performing checksum (John Stultz)
10185
10186Expand the mem= cmdline to allow the specification of reserved and
10187ACPI DATA blocks (Pavel Machek)
10188
10189Never use ACPI on VISWS
10190
10191Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
10192
10193Revert a change that allowed P_BLK lengths to be 4 or 5. This is
10194causing us to think that some systems support C2 when they really
10195don't.
10196
10197Do not count processor objects for non-present CPUs (Thanks to
10198Dominik Brodowski)
10199
10200
102013) iASL Compiler:
10202
10203Fixed a problem where ASL include files could not be found and
10204opened.
10205
10206Added support for the _PDC reserved name.
10207
10208
10209----------------------------------------
1021022 January 2003.  Summary of changes for version 20030122.
10211
10212
102131) ACPI CA Core Subsystem:
10214
10215Added a check for constructs of the form:  Store (Local0, Local0)
10216where Local0 is not initialized.  Apparently, some BIOS
10217programmers believe that this is a NOOP.  Since this store doesn't
10218do anything anyway, the new prototype behavior will ignore this
10219error.  This is a case where we can relax the strict checking in
10220the interpreter in the name of compatibility.
10221
10222
102232) Linux
10224
10225The AcpiSrc Source Conversion Utility has been released with the
10226Linux package for the first time.  This is the utility that is
10227used to convert the ACPI CA base source code to the Linux version.
10228
10229(Both) Handle P_BLK lengths shorter than 6 more gracefully
10230
10231(Both) Move more headers to include/acpi, and delete an unused
10232header.
10233
10234(Both) Move drivers/acpi/include directory to include/acpi
10235
10236(Both) Boot functions don't use cmdline, so don't pass it around
10237
10238(Both) Remove include of unused header (Adrian Bunk)
10239
10240(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
10241the
10242former now also includes the latter, acpiphp.h only needs the one,
10243now.
10244
10245(2.5) Make it possible to select method of bios restoring after S3
10246resume. [=> no more ugly ifdefs] (Pavel Machek)
10247
10248(2.5) Make proc write interfaces work (Pavel Machek)
10249
10250(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
10251
10252(2.5) Break out ACPI Perf code into its own module, under cpufreq
10253(Dominik Brodowski)
10254
10255(2.4) S4BIOS support (Ducrot Bruno)
10256
10257(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
10258Visinoni)
10259
10260
102613) iASL Compiler:
10262
10263Added support to disassemble SSDT and PSDTs.
10264
10265Implemented support to obtain SSDTs from the Windows registry if
10266available.
10267
10268
10269----------------------------------------
1027009 January 2003.  Summary of changes for version 20030109.
10271
102721) ACPI CA Core Subsystem:
10273
10274Changed the behavior of the internal Buffer-to-String conversion
10275function.  The current ACPI specification states that the contents
10276of the buffer are "converted to a string of two-character
10277hexadecimal numbers, each separated by a space".  Unfortunately,
10278this definition is not backwards compatible with existing ACPI 1.0
10279implementations (although the behavior was not defined in the ACPI
102801.0 specification).  The new behavior simply copies data from the
10281buffer to the string until a null character is found or the end of
10282the buffer is reached.  The new String object is always null
10283terminated.  This problem was seen during the generation of _BIF
10284battery data where incorrect strings were returned for battery
10285type, etc.  This will also require an errata to the ACPI
10286specification.
10287
10288Renamed all instances of NATIVE_UINT and NATIVE_INT to
10289ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
10290
10291Copyright in all module headers (both Linux and non-Linux) has be
10292updated to 2003.
10293
10294Code and Data Size: Current core subsystem library sizes are shown
10295below.  These are the code and data sizes for the acpica.lib
10296produced by the Microsoft Visual C++ 6.0 compiler, and these
10297values do not include any ACPI driver or OSPM code.  The debug
10298version of the code includes the debug output trace mechanism and
10299has a much larger code and data size.  Note that these values will
10300vary depending on the efficiency of the compiler and the compiler
10301options used during generation.
10302
10303  Previous Release
10304    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10305    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10306  Current Release:
10307    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10308    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10309
10310
103112) Linux
10312
10313Fixed an oops on module insertion/removal (Matthew Tippett)
10314
10315(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
10316
10317(2.5) Replace pr_debug (Randy Dunlap)
10318
10319(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
10320
10321(Both) Eliminate spawning of thread from timer callback, in favor
10322of schedule_work()
10323
10324(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
10325
10326(Both) Added define for Fixed Function HW region (Matthew Wilcox)
10327
10328(Both) Add missing statics to button.c (Pavel Machek)
10329
10330Several changes have been made to the source code translation
10331utility that generates the Linux Code in order to make the code
10332more "Linux-like":
10333
10334All typedefs on structs and unions have been removed in keeping
10335with the Linux coding style.
10336
10337Removed the non-Linux SourceSafe module revision number from each
10338module header.
10339
10340Completed major overhaul of symbols to be lowercased for linux.
10341Doubled the number of symbols that are lowercased.
10342
10343Fixed a problem where identifiers within procedure headers and
10344within quotes were not fully lower cased (they were left with a
10345starting capital.)
10346
10347Some C macros whose only purpose is to allow the generation of 16-
10348bit code are now completely removed in the Linux code, increasing
10349readability and maintainability.
10350
10351----------------------------------------
10352
1035312 December 2002.  Summary of changes for version 20021212.
10354
10355
103561) ACPI CA Core Subsystem:
10357
10358Fixed a problem where the creation of a zero-length AML Buffer
10359would cause a fault.
10360
10361Fixed a problem where a Buffer object that pointed to a static AML
10362buffer (in an ACPI table) could inadvertently be deleted, causing
10363memory corruption.
10364
10365Fixed a problem where a user buffer (passed in to the external
10366ACPI CA interfaces) could be overwritten if the buffer was too
10367small to complete the operation, causing memory corruption.
10368
10369Fixed a problem in the Buffer-to-String conversion code where a
10370string of length one was always returned, regardless of the size
10371of the input Buffer object.
10372
10373Removed the NATIVE_CHAR data type across the entire source due to
10374lack of need and lack of consistent use.
10375
10376Code and Data Size: Current core subsystem library sizes are shown
10377below.  These are the code and data sizes for the acpica.lib
10378produced by the Microsoft Visual C++ 6.0 compiler, and these
10379values do not include any ACPI driver or OSPM code.  The debug
10380version of the code includes the debug output trace mechanism and
10381has a much larger code and data size.  Note that these values will
10382vary depending on the efficiency of the compiler and the compiler
10383options used during generation.
10384
10385  Previous Release
10386    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
10387    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
10388  Current Release:
10389    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10390    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10391
10392
10393----------------------------------------
1039405 December 2002.  Summary of changes for version 20021205.
10395
103961) ACPI CA Core Subsystem:
10397
10398Fixed a problem where a store to a String or Buffer object could
10399cause corruption of the DSDT if the object type being stored was
10400the same as the target object type and the length of the object
10401being stored was equal to or smaller than the original (existing)
10402target object.  This was seen to cause corruption of battery _BIF
10403buffers if the _BIF method modified the buffer on the fly.
10404
10405Fixed a problem where an internal error was generated if a control
10406method invocation was used in an OperationRegion, Buffer, or
10407Package declaration.  This was caused by the deferred parsing of
10408the control method and thus the deferred creation of the internal
10409method object.  The solution to this problem was to create the
10410internal method object at the moment the method is encountered in
10411the first pass - so that subsequent references to the method will
10412able to obtain the required parameter count and thus properly
10413parse the method invocation.  This problem presented itself as an
10414AE_AML_INTERNAL during the pass 1 parse phase during table load.
10415
10416Fixed a problem where the internal String object copy routine did
10417not always allocate sufficient memory for the target String object
10418and caused memory corruption.  This problem was seen to cause
10419"Allocation already present in list!" errors as memory allocation
10420became corrupted.
10421
10422Implemented a new function for the evaluation of namespace objects
10423that allows the specification of the allowable return object
10424types.  This simplifies a lot of code that checks for a return
10425object of one or more specific objects returned from the
10426evaluation (such as _STA, etc.)  This may become and external
10427function if it would be useful to ACPI-related drivers.
10428
10429Completed another round of prefixing #defines with "ACPI_" for
10430clarity.
10431
10432Completed additional code restructuring to allow more modular
10433linking for iASL compiler and AcpiExec.  Several files were split
10434creating new files.  New files:  nsparse.c dsinit.c evgpe.c
10435
10436Implemented an abort mechanism to terminate an executing control
10437method via the AML debugger.  This feature is useful for debugging
10438control methods that depend (wait) for specific hardware
10439responses.
10440
10441Code and Data Size: Current core subsystem library sizes are shown
10442below.  These are the code and data sizes for the acpica.lib
10443produced by the Microsoft Visual C++ 6.0 compiler, and these
10444values do not include any ACPI driver or OSPM code.  The debug
10445version of the code includes the debug output trace mechanism and
10446has a much larger code and data size.  Note that these values will
10447vary depending on the efficiency of the compiler and the compiler
10448options used during generation.
10449
10450  Previous Release
10451    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10452    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
10453  Current Release:
10454    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
10455    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
10456
10457
104582) iASL Compiler/Disassembler
10459
10460Fixed a compiler code generation problem for "Interrupt" Resource
10461Descriptors.  If specified in the ASL, the optional "Resource
10462Source Index" and "Resource Source" fields were not inserted into
10463the correct location within the AML resource descriptor, creating
10464an invalid descriptor.
10465
10466Fixed a disassembler problem for "Interrupt" resource descriptors.
10467The optional "Resource Source Index" and "Resource Source" fields
10468were ignored.
10469
10470
10471----------------------------------------
1047222 November 2002.  Summary of changes for version 20021122.
10473
10474
104751) ACPI CA Core Subsystem:
10476
10477Fixed a reported problem where an object stored to a Method Local
10478or Arg was not copied to a new object during the store - the
10479object pointer was simply copied to the Local/Arg.  This caused
10480all subsequent operations on the Local/Arg to also affect the
10481original source of the store operation.
10482
10483Fixed a problem where a store operation to a Method Local or Arg
10484was not completed properly if the Local/Arg contained a reference
10485(from RefOf) to a named field.  The general-purpose store-to-
10486namespace-node code is now used so that this case is handled
10487automatically.
10488
10489Fixed a problem where the internal object copy routine would cause
10490a protection fault if the object being copied was a Package and
10491contained either 1) a NULL package element or 2) a nested sub-
10492package.
10493
10494Fixed a problem with the GPE initialization that resulted from an
10495ambiguity in the ACPI specification.  One section of the
10496specification states that both the address and length of the GPE
10497block must be zero if the block is not supported.  Another section
10498implies that only the address need be zero if the block is not
10499supported.  The code has been changed so that both the address and
10500the length must be non-zero to indicate a valid GPE block (i.e.,
10501if either the address or the length is zero, the GPE block is
10502invalid.)
10503
10504Code and Data Size: Current core subsystem library sizes are shown
10505below.  These are the code and data sizes for the acpica.lib
10506produced by the Microsoft Visual C++ 6.0 compiler, and these
10507values do not include any ACPI driver or OSPM code.  The debug
10508version of the code includes the debug output trace mechanism and
10509has a much larger code and data size.  Note that these values will
10510vary depending on the efficiency of the compiler and the compiler
10511options used during generation.
10512
10513  Previous Release
10514    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
10515    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
10516  Current Release:
10517    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10518    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
10519
10520
105212) Linux
10522
10523Cleaned up EC driver. Exported an external EC read/write
10524interface. By going through this, other drivers (most notably
10525sonypi) will be able to serialize access to the EC.
10526
10527
105283) iASL Compiler/Disassembler
10529
10530Implemented support to optionally generate include files for both
10531ASM and C (the -i switch).  This simplifies BIOS development by
10532automatically creating include files that contain external
10533declarations for the symbols that are created within the
10534
10535(optionally generated) ASM and C AML source files.
10536
10537
10538----------------------------------------
1053915 November 2002.  Summary of changes for version 20021115.
10540
105411) ACPI CA Core Subsystem:
10542
10543Fixed a memory leak problem where an error during resolution of
10544
10545method arguments during a method invocation from another method
10546failed to cleanup properly by deleting all successfully resolved
10547argument objects.
10548
10549Fixed a problem where the target of the Index() operator was not
10550correctly constructed if the source object was a package.  This
10551problem has not been detected because the use of a target operand
10552with Index() is very rare.
10553
10554Fixed a problem with the Index() operator where an attempt was
10555made to delete the operand objects twice.
10556
10557Fixed a problem where an attempt was made to delete an operand
10558twice during execution of the CondRefOf() operator if the target
10559did not exist.
10560
10561Implemented the first of perhaps several internal create object
10562functions that create and initialize a specific object type.  This
10563consolidates duplicated code wherever the object is created, thus
10564shrinking the size of the subsystem.
10565
10566Implemented improved debug/error messages for errors that occur
10567during nested method invocations.  All executing method pathnames
10568are displayed (with the error) as the call stack is unwound - thus
10569simplifying debug.
10570
10571Fixed a problem introduced in the 10/02 release that caused
10572premature deletion of a buffer object if a buffer was used as an
10573ASL operand where an integer operand is required (Thus causing an
10574implicit object conversion from Buffer to Integer.)  The change in
10575the 10/02 release was attempting to fix a memory leak (albeit
10576incorrectly.)
10577
10578Code and Data Size: Current core subsystem library sizes are shown
10579below.  These are the code and data sizes for the acpica.lib
10580produced by the Microsoft Visual C++ 6.0 compiler, and these
10581values do not include any ACPI driver or OSPM code.  The debug
10582version of the code includes the debug output trace mechanism and
10583has a much larger code and data size.  Note that these values will
10584vary depending on the efficiency of the compiler and the compiler
10585options used during generation.
10586
10587  Previous Release
10588    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
10589    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
10590  Current Release:
10591    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
10592    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
10593
10594
105952) Linux
10596
10597Changed the implementation of the ACPI semaphores to use down()
10598instead of down_interruptable().  It is important that the
10599execution of ACPI control methods not be interrupted by signals.
10600Methods must run to completion, or the system may be left in an
10601unknown/unstable state.
10602
10603Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
10604(Shawn Starr)
10605
10606
106073) iASL Compiler/Disassembler
10608
10609
10610Changed the default location of output files.  All output files
10611are now placed in the current directory by default instead of in
10612the directory of the source file.  This change may affect some
10613existing makefiles, but it brings the behavior of the compiler in
10614line with other similar tools.  The location of the output files
10615can be overridden with the -p command line switch.
10616
10617
10618----------------------------------------
1061911 November 2002.  Summary of changes for version 20021111.
10620
10621
106220) ACPI Specification 2.0B is released and is now available at:
10623http://www.acpi.info/index.html
10624
10625
106261) ACPI CA Core Subsystem:
10627
10628Implemented support for the ACPI 2.0 SMBus Operation Regions.
10629This includes the early detection and handoff of the request to
10630the SMBus region handler (avoiding all of the complex field
10631support code), and support for the bidirectional return packet
10632from an SMBus write operation.  This paves the way for the
10633development of SMBus drivers in each host operating system.
10634
10635Fixed a problem where the semaphore WAIT_FOREVER constant was
10636defined as 32 bits, but must be 16 bits according to the ACPI
10637specification.  This had the side effect of causing ASL
10638Mutex/Event timeouts even though the ASL code requested a wait
10639forever.  Changed all internal references to the ACPI timeout
10640parameter to 16 bits to prevent future problems.  Changed the name
10641of WAIT_FOREVER to ACPI_WAIT_FOREVER.
10642
10643Code and Data Size: Current core subsystem library sizes are shown
10644below.  These are the code and data sizes for the acpica.lib
10645produced by the Microsoft Visual C++ 6.0 compiler, and these
10646values do not include any ACPI driver or OSPM code.  The debug
10647version of the code includes the debug output trace mechanism and
10648has a much larger code and data size.  Note that these values will
10649vary depending on the efficiency of the compiler and the compiler
10650options used during generation.
10651
10652  Previous Release
10653    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10654    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
10655  Current Release:
10656    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
10657    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
10658
10659
106602) Linux
10661
10662Module loading/unloading fixes (John Cagle)
10663
10664
106653) iASL Compiler/Disassembler
10666
10667Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
10668
10669Implemented support for the disassembly of all SMBus protocol
10670keywords (SMBQuick, SMBWord, etc.)
10671
10672----------------------------------------
1067301 November 2002.  Summary of changes for version 20021101.
10674
10675
106761) ACPI CA Core Subsystem:
10677
10678Fixed a problem where platforms that have a GPE1 block but no GPE0
10679block were not handled correctly.  This resulted in a "GPE
10680overlap" error message.  GPE0 is no longer required.
10681
10682Removed code added in the previous release that inserted nodes
10683into the namespace in alphabetical order.  This caused some side-
10684effects on various machines.  The root cause of the problem is
10685still under investigation since in theory, the internal ordering
10686of the namespace nodes should not matter.
10687
10688
10689Enhanced error reporting for the case where a named object is not
10690found during control method execution.  The full ACPI namepath
10691(name reference) of the object that was not found is displayed in
10692this case.
10693
10694Note: as a result of the overhaul of the namespace object types in
10695the previous release, the namespace nodes for the predefined
10696scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
10697instead of ACPI_TYPE_ANY.  This simplifies the namespace
10698management code but may affect code that walks the namespace tree
10699looking for specific object types.
10700
10701Code and Data Size: Current core subsystem library sizes are shown
10702below.  These are the code and data sizes for the acpica.lib
10703produced by the Microsoft Visual C++ 6.0 compiler, and these
10704values do not include any ACPI driver or OSPM code.  The debug
10705version of the code includes the debug output trace mechanism and
10706has a much larger code and data size.  Note that these values will
10707vary depending on the efficiency of the compiler and the compiler
10708options used during generation.
10709
10710  Previous Release
10711    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
10712    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
10713  Current Release:
10714    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
10715    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
10716
10717
107182) Linux
10719
10720Fixed a problem introduced in the previous release where the
10721Processor and Thermal objects were not recognized and installed in
10722/proc.  This was related to the scope type change described above.
10723
10724
107253) iASL Compiler/Disassembler
10726
10727Implemented the -g option to get all of the required ACPI tables
10728from the registry and save them to files (Windows version of the
10729compiler only.)  The required tables are the FADT, FACS, and DSDT.
10730
10731Added ACPI table checksum validation during table disassembly in
10732order to catch corrupted tables.
10733
10734
10735----------------------------------------
1073622 October 2002.  Summary of changes for version 20021022.
10737
107381) ACPI CA Core Subsystem:
10739
10740Implemented a restriction on the Scope operator that the target
10741must already exist in the namespace at the time the operator is
10742encountered (during table load or method execution).  In other
10743words, forward references are not allowed and Scope() cannot
10744create a new object. This changes the previous behavior where the
10745interpreter would create the name if not found.  This new behavior
10746correctly enables the search-to-root algorithm during namespace
10747lookup of the target name.  Because of this upsearch, this fixes
10748the known Compaq _SB_.OKEC problem and makes both the AML
10749interpreter and iASL compiler compatible with other ACPI
10750implementations.
10751
10752Completed a major overhaul of the internal ACPI object types for
10753the ACPI Namespace and the associated operand objects.  Many of
10754these types had become obsolete with the introduction of the two-
10755pass namespace load.  This cleanup simplifies the code and makes
10756the entire namespace load mechanism much clearer and easier to
10757understand.
10758
10759Improved debug output for tracking scope opening/closing to help
10760diagnose scoping issues.  The old scope name as well as the new
10761scope name are displayed.  Also improved error messages for
10762problems with ASL Mutex objects and error messages for GPE
10763problems.
10764
10765Cleaned up the namespace dump code, removed obsolete code.
10766
10767All string output (for all namespace/object dumps) now uses the
10768common ACPI string output procedure which handles escapes properly
10769and does not emit non-printable characters.
10770
10771Fixed some issues with constants in the 64-bit version of the
10772local C library (utclib.c)
10773
10774
107752) Linux
10776
10777EC Driver:  No longer attempts to acquire the Global Lock at
10778interrupt level.
10779
10780
107813) iASL Compiler/Disassembler
10782
10783Implemented ACPI 2.0B grammar change that disallows all Type 1 and
107842 opcodes outside of a control method.  This means that the
10785"executable" operators (versus the "namespace" operators) cannot
10786be used at the table level; they can only be used within a control
10787method.
10788
10789Implemented the restriction on the Scope() operator where the
10790target must already exist in the namespace at the time the
10791operator is encountered (during ASL compilation). In other words,
10792forward references are not allowed and Scope() cannot create a new
10793object.  This makes the iASL compiler compatible with other ACPI
10794implementations and makes the Scope() implementation adhere to the
10795ACPI specification.
10796
10797Fixed a problem where namepath optimization for the Alias operator
10798was optimizing the wrong path (of the two namepaths.)  This caused
10799a "Missing alias link" error message.
10800
10801Fixed a problem where an "unknown reserved name" warning could be
10802incorrectly generated for names like "_SB" when the trailing
10803underscore is not used in the original ASL.
10804
10805Fixed a problem where the reserved name check did not handle
10806NamePaths with multiple NameSegs correctly.  The first nameseg of
10807the NamePath was examined instead of the last NameSeg.
10808
10809
10810----------------------------------------
10811
1081202 October 2002.  Summary of changes for this release.
10813
10814
108151) ACPI CA Core Subsystem version 20021002:
10816
10817Fixed a problem where a store/copy of a string to an existing
10818string did not always set the string length properly in the String
10819object.
10820
10821Fixed a reported problem with the ToString operator where the
10822behavior was identical to the ToHexString operator instead of just
10823simply converting a raw buffer to a string data type.
10824
10825Fixed a problem where CopyObject and the other "explicit"
10826conversion operators were not updating the internal namespace node
10827type as part of the store operation.
10828
10829Fixed a memory leak during implicit source operand conversion
10830where the original object was not deleted if it was converted to a
10831new object of a different type.
10832
10833Enhanced error messages for all problems associated with namespace
10834lookups.  Common procedure generates and prints the lookup name as
10835well as the formatted status.
10836
10837Completed implementation of a new design for the Alias support
10838within the namespace.  The existing design did not handle the case
10839where a new object was assigned to one of the two names due to the
10840use of an explicit conversion operator, resulting in the two names
10841pointing to two different objects.  The new design simply points
10842the Alias name to the original name node - not to the object.
10843This results in a level of indirection that must be handled in the
10844name resolution mechanism.
10845
10846Code and Data Size: Current core subsystem library sizes are shown
10847below.  These are the code and data sizes for the acpica.lib
10848produced by the Microsoft Visual C++ 6.0 compiler, and these
10849values do not include any ACPI driver or OSPM code.  The debug
10850version of the code includes the debug output trace mechanism and
10851has a larger code and data size.  Note that these values will vary
10852depending on the efficiency of the compiler and the compiler
10853options used during generation.
10854
10855  Previous Release
10856    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
10857    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
10858  Current Release:
10859    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
10860    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
10861
10862
108632) Linux
10864
10865Initialize thermal driver's timer before it is used. (Knut
10866Neumann)
10867
10868Allow handling negative celsius values. (Kochi Takayoshi)
10869
10870Fix thermal management and make trip points. R/W (Pavel Machek)
10871
10872Fix /proc/acpi/sleep. (P. Christeas)
10873
10874IA64 fixes. (David Mosberger)
10875
10876Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
10877
10878Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
10879Brodowski)
10880
10881
108823) iASL Compiler/Disassembler
10883
10884Clarified some warning/error messages.
10885
10886
10887----------------------------------------
1088818 September 2002.  Summary of changes for this release.
10889
10890
108911) ACPI CA Core Subsystem version 20020918:
10892
10893Fixed a reported problem with reference chaining (via the Index()
10894and RefOf() operators) in the ObjectType() and SizeOf() operators.
10895The definition of these operators includes the dereferencing of
10896all chained references to return information on the base object.
10897
10898Fixed a problem with stores to indexed package elements - the
10899existing code would not complete the store if an "implicit
10900conversion" was not performed.  In other words, if the existing
10901object (package element) was to be replaced completely, the code
10902didn't handle this case.
10903
10904Relaxed typechecking on the ASL "Scope" operator to allow the
10905target name to refer to an object of type Integer, String, or
10906Buffer, in addition to the scoping object types (Device,
10907predefined Scopes, Processor, PowerResource, and ThermalZone.)
10908This allows existing AML code that has workarounds for a bug in
10909Windows to function properly.  A warning is issued, however.  This
10910affects both the AML interpreter and the iASL compiler. Below is
10911an example of this type of ASL code:
10912
10913      Name(DEB,0x00)
10914      Scope(DEB)
10915      {
10916
10917Fixed some reported problems with 64-bit integer support in the
10918local implementation of C library functions (clib.c)
10919
10920
109212) Linux
10922
10923Use ACPI fix map region instead of IOAPIC region, since it is
10924undefined in non-SMP.
10925
10926Ensure that the SCI has the proper polarity and trigger, even on
10927systems that do not have an interrupt override entry in the MADT.
10928
109292.5 big driver reorganization (Pat Mochel)
10930
10931Use early table mapping code from acpitable.c (Andi Kleen)
10932
10933New blacklist entries (Andi Kleen)
10934
10935Blacklist improvements. Split blacklist code out into a separate
10936file. Move checking the blacklist to very early. Previously, we
10937would use ACPI tables, and then halfway through init, check the
10938blacklist -- too late. Now, it's early enough to completely fall-
10939back to non-ACPI.
10940
10941
109423) iASL Compiler/Disassembler version 20020918:
10943
10944Fixed a problem where the typechecking code didn't know that an
10945alias could point to a method.  In other words, aliases were not
10946being dereferenced during typechecking.
10947
10948
10949----------------------------------------
1095029 August 2002.  Summary of changes for this release.
10951
109521) ACPI CA Core Subsystem Version 20020829:
10953
10954If the target of a Scope() operator already exists, it must be an
10955object type that actually opens a scope -- such as a Device,
10956Method, Scope, etc.  This is a fatal runtime error.  Similar error
10957check has been added to the iASL compiler also.
10958
10959Tightened up the namespace load to disallow multiple names in the
10960same scope.  This previously was allowed if both objects were of
10961the same type.  (i.e., a lookup was the same as entering a new
10962name).
10963
10964
109652) Linux
10966
10967Ensure that the ACPI interrupt has the proper trigger and
10968polarity.
10969
10970local_irq_disable is extraneous. (Matthew Wilcox)
10971
10972Make "acpi=off" actually do what it says, and not use the ACPI
10973interpreter *or* the tables.
10974
10975Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
10976Takayoshi)
10977
10978
109793) iASL Compiler/Disassembler  Version 20020829:
10980
10981Implemented namepath optimization for name declarations.  For
10982example, a declaration like "Method (\_SB_.ABCD)" would get
10983optimized to "Method (ABCD)" if the declaration is within the
10984\_SB_ scope.  This optimization is in addition to the named
10985reference path optimization first released in the previous
10986version. This would seem to complete all possible optimizations
10987for namepaths within the ASL/AML.
10988
10989If the target of a Scope() operator already exists, it must be an
10990object type that actually opens a scope -- such as a Device,
10991Method, Scope, etc.
10992
10993Implemented a check and warning for unreachable code in the same
10994block below a Return() statement.
10995
10996Fixed a problem where the listing file was not generated if the
10997compiler aborted if the maximum error count was exceeded (200).
10998
10999Fixed a problem where the typechecking of method return values was
11000broken.  This includes the check for a return value when the
11001method is invoked as a TermArg (a return value is expected.)
11002
11003Fixed a reported problem where EOF conditions during a quoted
11004string or comment caused a fault.
11005
11006
11007----------------------------------------
1100815 August 2002.  Summary of changes for this release.
11009
110101) ACPI CA Core Subsystem Version 20020815:
11011
11012Fixed a reported problem where a Store to a method argument that
11013contains a reference did not perform the indirect store correctly.
11014This problem was created during the conversion to the new
11015reference object model - the indirect store to a method argument
11016code was not updated to reflect the new model.
11017
11018Reworked the ACPI mode change code to better conform to ACPI 2.0,
11019handle corner cases, and improve code legibility (Kochi Takayoshi)
11020
11021Fixed a problem with the pathname parsing for the carat (^)
11022prefix.  The heavy use of the carat operator by the new namepath
11023optimization in the iASL compiler uncovered a problem with the AML
11024interpreter handling of this prefix.  In the case where one or
11025more carats precede a single nameseg, the nameseg was treated as
11026standalone and the search rule (to root) was inadvertently
11027applied.  This could cause both the iASL compiler and the
11028interpreter to find the wrong object or to miss the error that
11029should occur if the object does not exist at that exact pathname.
11030
11031Found and fixed the problem where the HP Pavilion DSDT would not
11032load.  This was a relatively minor tweak to the table loading code
11033(a problem caused by the unexpected encounter with a method
11034invocation not within a control method), but it does not solve the
11035overall issue of the execution of AML code at the table level.
11036This investigation is still ongoing.
11037
11038Code and Data Size: Current core subsystem library sizes are shown
11039below.  These are the code and data sizes for the acpica.lib
11040produced by the Microsoft Visual C++ 6.0 compiler, and these
11041values do not include any ACPI driver or OSPM code.  The debug
11042version of the code includes the debug output trace mechanism and
11043has a larger code and data size.  Note that these values will vary
11044depending on the efficiency of the compiler and the compiler
11045options used during generation.
11046
11047  Previous Release
11048    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
11049    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
11050  Current Release:
11051    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
11052    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
11053
11054
110552) Linux
11056
11057Remove redundant slab.h include (Brad Hards)
11058
11059Fix several bugs in thermal.c (Herbert Nachtnebel)
11060
11061Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
11062
11063Change acpi_system_suspend to use updated irq functions (Pavel
11064Machek)
11065
11066Export acpi_get_firmware_table (Matthew Wilcox)
11067
11068Use proper root proc entry for ACPI (Kochi Takayoshi)
11069
11070Fix early-boot table parsing (Bjorn Helgaas)
11071
11072
110733) iASL Compiler/Disassembler
11074
11075Reworked the compiler options to make them more consistent and to
11076use two-letter options where appropriate.  We were running out of
11077sensible letters.   This may break some makefiles, so check the
11078current options list by invoking the compiler with no parameters.
11079
11080Completed the design and implementation of the ASL namepath
11081optimization option for the compiler.  This option optimizes all
11082references to named objects to the shortest possible path.  The
11083first attempt tries to utilize a single nameseg (4 characters) and
11084the "search-to-root" algorithm used by the interpreter.  If that
11085cannot be used (because either the name is not in the search path
11086or there is a conflict with another object with the same name),
11087the pathname is optimized using the carat prefix (usually a
11088shorter string than specifying the entire path from the root.)
11089
11090Implemented support to obtain the DSDT from the Windows registry
11091(when the disassembly option is specified with no input file).
11092Added this code as the implementation for AcpiOsTableOverride in
11093the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
11094utility) to scan memory for the DSDT to the AcpiOsTableOverride
11095function in the DOS OSL to make the disassembler truly OS
11096independent.
11097
11098Implemented a new option to disassemble and compile in one step.
11099When used without an input filename, this option will grab the
11100DSDT from the local machine, disassemble it, and compile it in one
11101step.
11102
11103Added a warning message for invalid escapes (a backslash followed
11104by any character other than the allowable escapes).  This catches
11105the quoted string error "\_SB_" (which should be "\\_SB_" ).
11106
11107Also, there are numerous instances in the ACPI specification where
11108this error occurs.
11109
11110Added a compiler option to disable all optimizations.  This is
11111basically the "compatibility mode" because by using this option,
11112the AML code will come out exactly the same as other ASL
11113compilers.
11114
11115Added error messages for incorrectly ordered dependent resource
11116functions.  This includes: missing EndDependentFn macro at end of
11117dependent resource list, nested dependent function macros (both
11118start and end), and missing StartDependentFn macro.  These are
11119common errors that should be caught at compile time.
11120
11121Implemented _OSI support for the disassembler and compiler.  _OSI
11122must be included in the namespace for proper disassembly (because
11123the disassembler must know the number of arguments.)
11124
11125Added an "optimization" message type that is optional (off by
11126default).  This message is used for all optimizations - including
11127constant folding, integer optimization, and namepath optimization.
11128
11129----------------------------------------
1113025 July 2002.  Summary of changes for this release.
11131
11132
111331) ACPI CA Core Subsystem Version 20020725:
11134
11135The AML Disassembler has been enhanced to produce compilable ASL
11136code and has been integrated into the iASL compiler (see below) as
11137well as the single-step disassembly for the AML debugger and the
11138disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
11139resource templates and macros are fully supported.  The
11140disassembler has been tested on over 30 different AML files,
11141producing identical AML when the resulting disassembled ASL file
11142is recompiled with the same ASL compiler.
11143
11144Modified the Resource Manager to allow zero interrupts and zero
11145dma channels during the GetCurrentResources call.  This was
11146causing problems on some platforms.
11147
11148Added the AcpiOsRedirectOutput interface to the OSL to simplify
11149output redirection for the AcpiOsPrintf and AcpiOsVprintf
11150interfaces.
11151
11152Code and Data Size: Current core subsystem library sizes are shown
11153below.  These are the code and data sizes for the acpica.lib
11154produced by the Microsoft Visual C++ 6.0 compiler, and these
11155values do not include any ACPI driver or OSPM code.  The debug
11156version of the code includes the debug output trace mechanism and
11157has a larger code and data size.  Note that these values will vary
11158depending on the efficiency of the compiler and the compiler
11159options used during generation.
11160
11161  Previous Release
11162    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
11163    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
11164  Current Release:
11165    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
11166    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
11167
11168
111692) Linux
11170
11171Fixed a panic in the EC driver (Dominik Brodowski)
11172
11173Implemented checksum of the R/XSDT itself during Linux table scan
11174(Richard Schaal)
11175
11176
111773) iASL compiler
11178
11179The AML disassembler is integrated into the compiler.  The "-d"
11180option invokes the disassembler  to completely disassemble an
11181input AML file, producing as output a text ASL file with the
11182extension ".dsl" (to avoid name collisions with existing .asl
11183source files.)  A future enhancement will allow the disassembler
11184to obtain the BIOS DSDT from the registry under Windows.
11185
11186Fixed a problem with the VendorShort and VendorLong resource
11187descriptors where an invalid AML sequence was created.
11188
11189Implemented a fix for BufferData term in the ASL parser.  It was
11190inadvertently defined twice, allowing invalid syntax to pass and
11191causing reduction conflicts.
11192
11193Fixed a problem where the Ones opcode could get converted to a
11194value of zero if "Ones" was used where a byte, word or dword value
11195was expected.  The 64-bit value is now truncated to the correct
11196size with the correct value.
11197
11198
11199
11200----------------------------------------
1120102 July 2002.  Summary of changes for this release.
11202
11203
112041) ACPI CA Core Subsystem Version 20020702:
11205
11206The Table Manager code has been restructured to add several new
11207features.  Tables that are not required by the core subsystem
11208(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
11209validated in any way and are returned from AcpiGetFirmwareTable if
11210requested.  The AcpiOsTableOverride interface is now called for
11211each table that is loaded by the subsystem in order to allow the
11212host to override any table it chooses.  Previously, only the DSDT
11213could be overridden.  Added one new files, tbrsdt.c and
11214tbgetall.c.
11215
11216Fixed a problem with the conversion of internal package objects to
11217external objects (when a package is returned from a control
11218method.)  The return buffer length was set to zero instead of the
11219proper length of the package object.
11220
11221Fixed a reported problem with the use of the RefOf and DeRefOf
11222operators when passing reference arguments to control methods.  A
11223new type of Reference object is used internally for references
11224produced by the RefOf operator.
11225
11226Added additional error messages in the Resource Manager to explain
11227AE_BAD_DATA errors when they occur during resource parsing.
11228
11229Split the AcpiEnableSubsystem into two primitives to enable a
11230finer granularity initialization sequence.  These two calls should
11231be called in this order: AcpiEnableSubsystem (flags),
11232AcpiInitializeObjects (flags).  The flags parameter remains the
11233same.
11234
11235
112362) Linux
11237
11238Updated the ACPI utilities module to understand the new style of
11239fully resolved package objects that are now returned from the core
11240subsystem.  This eliminates errors of the form:
11241
11242    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
11243    acpi_utils-0430 [145] acpi_evaluate_reference:
11244        Invalid element in package (not a device reference)
11245
11246The method evaluation utility uses the new buffer allocation
11247scheme instead of calling AcpiEvaluate Object twice.
11248
11249Added support for ECDT. This allows the use of the Embedded
11250
11251Controller before the namespace has been fully initialized, which
11252is necessary for ACPI 2.0 support, and for some laptops to
11253initialize properly. (Laptops using ECDT are still rare, so only
11254limited testing was performed of the added functionality.)
11255
11256Fixed memory leaks in the EC driver.
11257
11258Eliminated a brittle code structure in acpi_bus_init().
11259
11260Eliminated the acpi_evaluate() helper function in utils.c. It is
11261no longer needed since acpi_evaluate_object can optionally
11262allocate memory for the return object.
11263
11264Implemented fix for keyboard hang when getting battery readings on
11265some systems (Stephen White)
11266
11267PCI IRQ routing update (Dominik Brodowski)
11268
11269Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
11270support
11271
11272----------------------------------------
1127311 June 2002.  Summary of changes for this release.
11274
11275
112761) ACPI CA Core Subsystem Version 20020611:
11277
11278Fixed a reported problem where constants such as Zero and One
11279appearing within _PRT packages were not handled correctly within
11280the resource manager code.  Originally reported against the ASL
11281compiler because the code generator now optimizes integers to
11282their minimal AML representation (i.e. AML constants if possible.)
11283The _PRT code now handles all AML constant opcodes correctly
11284(Zero, One, Ones, Revision).
11285
11286Fixed a problem with the Concatenate operator in the AML
11287interpreter where a buffer result object was incorrectly marked as
11288not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
11289
11290All package sub-objects are now fully resolved before they are
11291returned from the external ACPI interfaces.  This means that name
11292strings are resolved to object handles, and constant operators
11293(Zero, One, Ones, Revision) are resolved to Integers.
11294
11295Implemented immediate resolution of the AML Constant opcodes
11296(Zero, One, Ones, Revision) to Integer objects upon detection
11297within the AML stream. This has simplified and reduced the
11298generated code size of the subsystem by eliminating about 10
11299switch statements for these constants (which previously were
11300contained in Reference objects.)  The complicating issues are that
11301the Zero opcode is used as a "placeholder" for unspecified
11302optional target operands and stores to constants are defined to be
11303no-ops.
11304
11305Code and Data Size: Current core subsystem library sizes are shown
11306below. These are the code and data sizes for the acpica.lib
11307produced by the Microsoft Visual C++ 6.0 compiler, and these
11308values do not include any ACPI driver or OSPM code.  The debug
11309version of the code includes the debug output trace mechanism and
11310has a larger code and data size.  Note that these values will vary
11311depending on the efficiency of the compiler and the compiler
11312options used during generation.
11313
11314  Previous Release
11315    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
11316    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
11317  Current Release:
11318    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
11319    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
11320
11321
113222) Linux
11323
11324
11325Added preliminary support for obtaining _TRA data for PCI root
11326bridges (Bjorn Helgaas).
11327
11328
113293) iASL Compiler Version X2046:
11330
11331Fixed a problem where the "_DDN" reserved name was defined to be a
11332control method with one argument.  There are no arguments, and
11333_DDN does not have to be a control method.
11334
11335Fixed a problem with the Linux version of the compiler where the
11336source lines printed with error messages were the wrong lines.
11337This turned out to be the "LF versus CR/LF" difference between
11338Windows and Unix.  This appears to be the longstanding issue
11339concerning listing output and error messages.
11340
11341Fixed a problem with the Linux version of compiler where opcode
11342names within error messages were wrong.  This was caused by a
11343slight difference in the output of the Flex tool on Linux versus
11344Windows.
11345
11346Fixed a problem with the Linux compiler where the hex output files
11347contained some garbage data caused by an internal buffer overrun.
11348
11349
11350----------------------------------------
1135117 May 2002.  Summary of changes for this release.
11352
11353
113541) ACPI CA Core Subsystem Version 20020517:
11355
11356Implemented a workaround to an BIOS bug discovered on the HP
11357OmniBook where the FADT revision number and the table size are
11358inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
11359behavior is to fallback to using only the ACPI 1.0 fields of the
11360FADT if the table is too small to be a ACPI 2.0 table as claimed
11361by the revision number.  Although this is a BIOS bug, this is a
11362case where the workaround is simple enough and with no side
11363effects, so it seemed prudent to add it.  A warning message is
11364issued, however.
11365
11366Implemented minimum size checks for the fixed-length ACPI tables -
11367- the FADT and FACS, as well as consistency checks between the
11368revision number and the table size.
11369
11370Fixed a reported problem in the table override support where the
11371new table pointer was incorrectly treated as a physical address
11372instead of a logical address.
11373
11374Eliminated the use of the AE_AML_ERROR exception and replaced it
11375with more descriptive codes.
11376
11377Fixed a problem where an exception would occur if an ASL Field was
11378defined with no named Field Units underneath it (used by some
11379index fields).
11380
11381Code and Data Size: Current core subsystem library sizes are shown
11382below.  These are the code and data sizes for the acpica.lib
11383produced by the Microsoft Visual C++ 6.0 compiler, and these
11384values do not include any ACPI driver or OSPM code.  The debug
11385version of the code includes the debug output trace mechanism and
11386has a larger code and data size.  Note that these values will vary
11387depending on the efficiency of the compiler and the compiler
11388options used during generation.
11389
11390  Previous Release
11391    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
11392    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
11393  Current Release:
11394    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
11395    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
11396
11397
11398
113992) Linux
11400
11401Much work done on ACPI init (MADT and PCI IRQ routing support).
11402(Paul D. and Dominik Brodowski)
11403
11404Fix PCI IRQ-related panic on boot (Sam Revitch)
11405
11406Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
11407
11408Fix "MHz" typo (Dominik Brodowski)
11409
11410Fix RTC year 2000 issue (Dominik Brodowski)
11411
11412Preclude multiple button proc entries (Eric Brunet)
11413
11414Moved arch-specific code out of include/platform/aclinux.h
11415
114163) iASL Compiler Version X2044:
11417
11418Implemented error checking for the string used in the EISAID macro
11419(Usually used in the definition of the _HID object.)  The code now
11420strictly enforces the PnP format - exactly 7 characters, 3
11421uppercase letters and 4 hex digits.
11422
11423If a raw string is used in the definition of the _HID object
11424(instead of the EISAID macro), the string must contain all
11425alphanumeric characters (e.g., "*PNP0011" is not allowed because
11426of the asterisk.)
11427
11428Implemented checking for invalid use of ACPI reserved names for
11429most of the name creation operators (Name, Device, Event, Mutex,
11430OperationRegion, PowerResource, Processor, and ThermalZone.)
11431Previously, this check was only performed for control methods.
11432
11433Implemented an additional check on the Name operator to emit an
11434error if a reserved name that must be implemented in ASL as a
11435control method is used.  We know that a reserved name must be a
11436method if it is defined with input arguments.
11437
11438The warning emitted when a namespace object reference is not found
11439during the cross reference phase has been changed into an error.
11440The "External" directive should be used for names defined in other
11441modules.
11442
11443
114444) Tools and Utilities
11445
11446The 16-bit tools (adump16 and aexec16) have been regenerated and
11447tested.
11448
11449Fixed a problem with the output of both acpidump and adump16 where
11450the indentation of closing parentheses and brackets was not
11451
11452aligned properly with the parent block.
11453
11454
11455----------------------------------------
1145603 May 2002.  Summary of changes for this release.
11457
11458
114591) ACPI CA Core Subsystem Version 20020503:
11460
11461Added support a new OSL interface that allows the host operating
11462
11463system software to override the DSDT found in the firmware -
11464AcpiOsTableOverride.  With this interface, the OSL can examine the
11465version of the firmware DSDT and replace it with a different one
11466if desired.
11467
11468Added new external interfaces for accessing ACPI registers from
11469device drivers and other system software - AcpiGetRegister and
11470AcpiSetRegister.  This was simply an externalization of the
11471existing AcpiHwBitRegister interfaces.
11472
11473Fixed a regression introduced in the previous build where the
11474ASL/AML CreateField operator always returned an error,
11475"destination must be a NS Node".
11476
11477Extended the maximum time (before failure) to successfully enable
11478ACPI mode to 3 seconds.
11479
11480Code and Data Size: Current core subsystem library sizes are shown
11481below.  These are the code and data sizes for the acpica.lib
11482produced by the Microsoft Visual C++ 6.0 compiler, and these
11483values do not include any ACPI driver or OSPM code.  The debug
11484version of the code includes the debug output trace mechanism and
11485has a larger code and data size.  Note that these values will vary
11486depending on the efficiency of the compiler and the compiler
11487options used during generation.
11488
11489  Previous Release
11490    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
11491    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
11492  Current Release:
11493    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
11494    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
11495
11496
114972) Linux
11498
11499Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
11500free. While 3 out of 4 of our in-house systems work fine, the last
11501one still hangs when testing the LAPIC timer.
11502
11503Renamed many files in 2.5 kernel release to omit "acpi_" from the
11504name.
11505
11506Added warning on boot for Presario 711FR.
11507
11508Sleep improvements (Pavel Machek)
11509
11510ACPI can now be built without CONFIG_PCI enabled.
11511
11512IA64: Fixed memory map functions (JI Lee)
11513
11514
115153) iASL Compiler Version X2043:
11516
11517Added support to allow the compiler to be integrated into the MS
11518VC++ development environment for one-button compilation of single
11519files or entire projects -- with error-to-source-line mapping.
11520
11521Implemented support for compile-time constant folding for the
11522Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
11523specification.  This allows the ASL writer to use expressions
11524instead of Integer/Buffer/String constants in terms that must
11525evaluate to constants at compile time and will also simplify the
11526emitted AML in any such sub-expressions that can be folded
11527(evaluated at compile-time.)  This increases the size of the
11528compiler significantly because a portion of the ACPI CA AML
11529interpreter is included within the compiler in order to pre-
11530evaluate constant expressions.
11531
11532
11533Fixed a problem with the "Unicode" ASL macro that caused the
11534compiler to fault.  (This macro is used in conjunction with the
11535_STR reserved name.)
11536
11537Implemented an AML opcode optimization to use the Zero, One, and
11538Ones opcodes where possible to further reduce the size of integer
11539constants and thus reduce the overall size of the generated AML
11540code.
11541
11542Implemented error checking for new reserved terms for ACPI version
115432.0A.
11544
11545Implemented the -qr option to display the current list of ACPI
11546reserved names known to the compiler.
11547
11548Implemented the -qc option to display the current list of ASL
11549operators that are allowed within constant expressions and can
11550therefore be folded at compile time if the operands are constants.
11551
11552
115534) Documentation
11554
11555Updated the Programmer's Reference for new interfaces, data types,
11556and memory allocation model options.
11557
11558Updated the iASL Compiler User Reference to apply new format and
11559add information about new features and options.
11560
11561----------------------------------------
1156219 April 2002.  Summary of changes for this release.
11563
115641) ACPI CA Core Subsystem Version 20020419:
11565
11566The source code base for the Core Subsystem has been completely
11567cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
11568versions.  The Lint option files used are included in the
11569/acpi/generate/lint directory.
11570
11571Implemented enhanced status/error checking across the entire
11572Hardware manager subsystem.  Any hardware errors (reported from
11573the OSL) are now bubbled up and will abort a running control
11574method.
11575
11576
11577Fixed a problem where the per-ACPI-table integer width (32 or 64)
11578was stored only with control method nodes, causing a fault when
11579non-control method code was executed during table loading.  The
11580solution implemented uses a global variable to indicate table
11581width across the entire ACPI subsystem.  Therefore, ACPI CA does
11582not support mixed integer widths across different ACPI tables
11583(DSDT, SSDT).
11584
11585Fixed a problem where NULL extended fields (X fields) in an ACPI
115862.0 ACPI FADT caused the table load to fail.  Although the
11587existing ACPI specification is a bit fuzzy on this topic, the new
11588behavior is to fall back on a ACPI 1.0 field if the corresponding
11589ACPI 2.0 X field is zero (even though the table revision indicates
11590a full ACPI 2.0 table.)  The ACPI specification will be updated to
11591clarify this issue.
11592
11593Fixed a problem with the SystemMemory operation region handler
11594where memory was always accessed byte-wise even if the AML-
11595specified access width was larger than a byte.  This caused
11596problems on systems with memory-mapped I/O.  Memory is now
11597accessed with the width specified.  On systems that do not support
11598non-aligned transfers, a check is made to guarantee proper address
11599alignment before proceeding in order to avoid an AML-caused
11600alignment fault within the kernel.
11601
11602
11603Fixed a problem with the ExtendedIrq resource where only one byte
11604of the 4-byte Irq field was extracted.
11605
11606Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
11607function was out of date and required a rewrite.
11608
11609Code and Data Size: Current core subsystem library sizes are shown
11610below.  These are the code and data sizes for the acpica.lib
11611produced by the Microsoft Visual C++ 6.0 compiler, and these
11612values do not include any ACPI driver or OSPM code.  The debug
11613version of the code includes the debug output trace mechanism and
11614has a larger code and data size.  Note that these values will vary
11615depending on the efficiency of the compiler and the compiler
11616options used during generation.
11617
11618  Previous Release
11619    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
11620    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
11621  Current Release:
11622    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
11623    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
11624
11625
116262) Linux
11627
11628PCI IRQ routing fixes (Dominik Brodowski)
11629
11630
116313) iASL Compiler Version X2042:
11632
11633Implemented an additional compile-time error check for a field
11634unit whose size + minimum access width would cause a run-time
11635access beyond the end-of-region.  Previously, only the field size
11636itself was checked.
11637
11638The Core subsystem and iASL compiler now share a common parse
11639object in preparation for compile-time evaluation of the type
116403/4/5 ASL operators.
11641
11642
11643----------------------------------------
11644Summary of changes for this release: 03_29_02
11645
116461) ACPI CA Core Subsystem Version 20020329:
11647
11648Implemented support for late evaluation of TermArg operands to
11649Buffer and Package objects.  This allows complex expressions to be
11650used in the declarations of these object types.
11651
11652Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
116531.0, if the field was larger than 32 bits, it was returned as a
11654buffer - otherwise it was returned as an integer.  In ACPI 2.0,
11655the field is returned as a buffer only if the field is larger than
1165664 bits.  The TableRevision is now considered when making this
11657conversion to avoid incompatibility with existing ASL code.
11658
11659Implemented logical addressing for AcpiOsGetRootPointer.  This
11660allows an RSDP with either a logical or physical address.  With
11661this support, the host OS can now override all ACPI tables with
11662one logical RSDP.  Includes implementation of  "typed" pointer
11663support to allow a common data type for both physical and logical
11664pointers internally.  This required a change to the
11665AcpiOsGetRootPointer interface.
11666
11667Implemented the use of ACPI 2.0 Generic Address Structures for all
11668GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
11669mapped I/O for these ACPI features.
11670
11671Initialization now ignores not only non-required tables (All
11672tables other than the FADT, FACS, DSDT, and SSDTs), but also does
11673not validate the table headers of unrecognized tables.
11674
11675Fixed a problem where a notify handler could only be
11676installed/removed on an object of type Device.  All "notify"
11677
11678objects are now supported -- Devices, Processor, Power, and
11679Thermal.
11680
11681Removed most verbosity from the ACPI_DB_INFO debug level.  Only
11682critical information is returned when this debug level is enabled.
11683
11684Code and Data Size: Current core subsystem library sizes are shown
11685below.  These are the code and data sizes for the acpica.lib
11686produced by the Microsoft Visual C++ 6.0 compiler, and these
11687values do not include any ACPI driver or OSPM code.  The debug
11688version of the code includes the debug output trace mechanism and
11689has a larger code and data size.  Note that these values will vary
11690depending on the efficiency of the compiler and the compiler
11691options used during generation.
11692
11693  Previous Release
11694    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
11695    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
11696  Current Release:
11697    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
11698    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
11699
11700
117012) Linux:
11702
11703The processor driver (acpi_processor.c) now fully supports ACPI
117042.0-based processor performance control (e.g. Intel(R)
11705SpeedStep(TM) technology) Note that older laptops that only have
11706the Intel "applet" interface are not supported through this.  The
11707'limit' and 'performance' interface (/proc) are fully functional.
11708[Note that basic policy for controlling performance state
11709transitions will be included in the next version of ospmd.]  The
11710idle handler was modified to more aggressively use C2, and PIIX4
11711errata handling underwent a complete overhaul (big thanks to
11712Dominik Brodowski).
11713
11714Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
11715based devices in the ACPI namespace are now dynamically bound
11716(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
11717This allows, among other things, ACPI to resolve bus numbers for
11718subordinate PCI bridges.
11719
11720Enhanced PCI IRQ routing to get the proper bus number for _PRT
11721entries defined underneath PCI bridges.
11722
11723Added IBM 600E to bad bios list due to invalid _ADR value for
11724PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
11725
11726In the process of adding full MADT support (e.g. IOAPIC) for IA32
11727(acpi.c, mpparse.c) -- stay tuned.
11728
11729Added back visual differentiation between fixed-feature and
11730control-method buttons in dmesg.  Buttons are also subtyped (e.g.
11731button/power/PWRF) to simplify button identification.
11732
11733We no longer use -Wno-unused when compiling debug. Please ignore
11734any "_THIS_MODULE defined but not used" messages.
11735
11736Can now shut down the system using "magic sysrq" key.
11737
11738
117393) iASL Compiler version 2041:
11740
11741Fixed a problem where conversion errors for hex/octal/decimal
11742constants were not reported.
11743
11744Implemented a fix for the General Register template Address field.
11745This field was 8 bits when it should be 64.
11746
11747Fixed a problem where errors/warnings were no longer being emitted
11748within the listing output file.
11749
11750Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
11751exactly 4 characters, alphanumeric only.
11752
11753
11754
11755
11756----------------------------------------
11757Summary of changes for this release: 03_08_02
11758
11759
117601) ACPI CA Core Subsystem Version 20020308:
11761
11762Fixed a problem with AML Fields where the use of the "AccessAny"
11763keyword could cause an interpreter error due to attempting to read
11764or write beyond the end of the parent Operation Region.
11765
11766Fixed a problem in the SystemMemory Operation Region handler where
11767an attempt was made to map memory beyond the end of the region.
11768This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
11769errors on some Linux systems.
11770
11771Fixed a problem where the interpreter/namespace "search to root"
11772algorithm was not functioning for some object types.  Relaxed the
11773internal restriction on the search to allow upsearches for all
11774external object types as well as most internal types.
11775
11776
117772) Linux:
11778
11779We now use safe_halt() macro versus individual calls to sti | hlt.
11780
11781Writing to the processor limit interface should now work. "echo 1"
11782will increase the limit, 2 will decrease, and 0 will reset to the
11783
11784default.
11785
11786
117873) ASL compiler:
11788
11789Fixed segfault on Linux version.
11790
11791
11792----------------------------------------
11793Summary of changes for this release: 02_25_02
11794
117951) ACPI CA Core Subsystem:
11796
11797
11798Fixed a problem where the GPE bit masks were not initialized
11799properly, causing erratic GPE behavior.
11800
11801Implemented limited support for multiple calling conventions.  The
11802code can be generated with either the VPL (variable parameter
11803list, or "C") convention, or the FPL (fixed parameter list, or
11804"Pascal") convention.  The core subsystem is about 3.4% smaller
11805when generated with FPL.
11806
11807
118082) Linux
11809
11810Re-add some /proc/acpi/event functionality that was lost during
11811the rewrite
11812
11813Resolved issue with /proc events for fixed-feature buttons showing
11814up as the system device.
11815
11816Fixed checks on C2/C3 latencies to be inclusive of maximum values.
11817
11818Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
11819
11820Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
11821
11822Fixed limit interface & usage to fix bugs with passive cooling
11823hysterisis.
11824
11825Restructured PRT support.
11826
11827
11828----------------------------------------
11829Summary of changes for this label: 02_14_02
11830
11831
118321) ACPI CA Core Subsystem:
11833
11834Implemented support in AcpiLoadTable to allow loading of FACS and
11835FADT tables.
11836
11837Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
11838been removed.  All 64-bit platforms should be migrated to the ACPI
118392.0 tables.  The actbl71.h header has been removed from the source
11840tree.
11841
11842All C macros defined within the subsystem have been prefixed with
11843"ACPI_" to avoid collision with other system include files.
11844
11845Removed the return value for the two AcpiOsPrint interfaces, since
11846it is never used and causes lint warnings for ignoring the return
11847value.
11848
11849Added error checking to all internal mutex acquire and release
11850calls.  Although a failure from one of these interfaces is
11851probably a fatal system error, these checks will cause the
11852immediate abort of the currently executing method or interface.
11853
11854Fixed a problem where the AcpiSetCurrentResources interface could
11855fault.  This was a side effect of the deployment of the new memory
11856allocation model.
11857
11858Fixed a couple of problems with the Global Lock support introduced
11859in the last major build.  The "common" (1.0/2.0) internal FACS was
11860being overwritten with the FACS signature and clobbering the
11861Global Lock pointer.  Also, the actual firmware FACS was being
11862unmapped after construction of the "common" FACS, preventing
11863access to the actual Global Lock field within it.  The "common"
11864internal FACS is no longer installed as an actual ACPI table; it
11865is used simply as a global.
11866
11867Code and Data Size: Current core subsystem library sizes are shown
11868below.  These are the code and data sizes for the acpica.lib
11869produced by the Microsoft Visual C++ 6.0 compiler, and these
11870values do not include any ACPI driver or OSPM code.  The debug
11871version of the code includes the debug output trace mechanism and
11872has a larger code and data size.  Note that these values will vary
11873depending on the efficiency of the compiler and the compiler
11874options used during generation.
11875
11876  Previous Release (02_07_01)
11877    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
11878    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
11879  Current Release:
11880    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
11881    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
11882
11883
118842) Linux
11885
11886Updated Linux-specific code for core macro and OSL interface
11887changes described above.
11888
11889Improved /proc/acpi/event. It now can be opened only once and has
11890proper poll functionality.
11891
11892Fixed and restructured power management (acpi_bus).
11893
11894Only create /proc "view by type" when devices of that class exist.
11895
11896Fixed "charging/discharging" bug (and others) in acpi_battery.
11897
11898Improved thermal zone code.
11899
11900
119013) ASL Compiler, version X2039:
11902
11903
11904Implemented the new compiler restriction on ASL String hex/octal
11905escapes to non-null, ASCII values.  An error results if an invalid
11906value is used.  (This will require an ACPI 2.0 specification
11907change.)
11908
11909AML object labels that are output to the optional C and ASM source
11910are now prefixed with both the ACPI table signature and table ID
11911to help guarantee uniqueness within a large BIOS project.
11912
11913
11914----------------------------------------
11915Summary of changes for this label: 02_01_02
11916
119171) ACPI CA Core Subsystem:
11918
11919ACPI 2.0 support is complete in the entire Core Subsystem and the
11920ASL compiler. All new ACPI 2.0 operators are implemented and all
11921other changes for ACPI 2.0 support are complete.  With
11922simultaneous code and data optimizations throughout the subsystem,
11923ACPI 2.0 support has been implemented with almost no additional
11924cost in terms of code and data size.
11925
11926Implemented a new mechanism for allocation of return buffers.  If
11927the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
11928be allocated on behalf of the caller.  Consolidated all return
11929buffer validation and allocation to a common procedure.  Return
11930buffers will be allocated via the primary OSL allocation interface
11931since it appears that a separate pool is not needed by most users.
11932If a separate pool is required for these buffers, the caller can
11933still use the original mechanism and pre-allocate the buffer(s).
11934
11935Implemented support for string operands within the DerefOf
11936operator.
11937
11938Restructured the Hardware and Event managers to be table driven,
11939simplifying the source code and reducing the amount of generated
11940code.
11941
11942Split the common read/write low-level ACPI register bitfield
11943procedure into a separate read and write, simplifying the code
11944considerably.
11945
11946Obsoleted the AcpiOsCallocate OSL interface.  This interface was
11947used only a handful of times and didn't have enough critical mass
11948for a separate interface.  Replaced with a common calloc procedure
11949in the core.
11950
11951Fixed a reported problem with the GPE number mapping mechanism
11952that allows GPE1 numbers to be non-contiguous with GPE0.
11953Reorganized the GPE information and shrunk a large array that was
11954originally large enough to hold info for all possible GPEs (256)
11955to simply large enough to hold all GPEs up to the largest GPE
11956number on the machine.
11957
11958Fixed a reported problem with resource structure alignment on 64-
11959bit platforms.
11960
11961Changed the AcpiEnableEvent and AcpiDisableEvent external
11962interfaces to not require any flags for the common case of
11963enabling/disabling a GPE.
11964
11965Implemented support to allow a "Notify" on a Processor object.
11966
11967Most TBDs in comments within the source code have been resolved
11968and eliminated.
11969
11970
11971Fixed a problem in the interpreter where a standalone parent
11972prefix (^) was not handled correctly in the interpreter and
11973debugger.
11974
11975Removed obsolete and unnecessary GPE save/restore code.
11976
11977Implemented Field support in the ASL Load operator.  This allows a
11978table to be loaded from a named field, in addition to loading a
11979table directly from an Operation Region.
11980
11981Implemented timeout and handle support in the external Global Lock
11982interfaces.
11983
11984Fixed a problem in the AcpiDump utility where pathnames were no
11985longer being generated correctly during the dump of named objects.
11986
11987Modified the AML debugger to give a full display of if/while
11988predicates instead of just one AML opcode at a time.  (The
11989predicate can have several nested ASL statements.)  The old method
11990was confusing during single stepping.
11991
11992Code and Data Size: Current core subsystem library sizes are shown
11993below. These are the code and data sizes for the acpica.lib
11994produced by the Microsoft Visual C++ 6.0 compiler, and these
11995values do not include any ACPI driver or OSPM code.  The debug
11996version of the code includes the debug output trace mechanism and
11997has a larger code and data size.  Note that these values will vary
11998depending on the efficiency of the compiler and the compiler
11999options used during generation.
12000
12001  Previous Release (12_18_01)
12002     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
12003     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
12004   Current Release:
12005     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
12006     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
12007
120082) Linux
12009
12010 Implemented fix for PIIX reverse throttling errata (Processor
12011driver)
12012
12013Added new Limit interface (Processor and Thermal drivers)
12014
12015New thermal policy (Thermal driver)
12016
12017Many updates to /proc
12018
12019Battery "low" event support (Battery driver)
12020
12021Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
12022
12023IA32 - IA64 initialization unification, no longer experimental
12024
12025Menuconfig options redesigned
12026
120273) ASL Compiler, version X2037:
12028
12029Implemented several new output features to simplify integration of
12030AML code into  firmware: 1) Output the AML in C source code with
12031labels for each named ASL object.  The    original ASL source code
12032is interleaved as C comments. 2) Output the AML in ASM source code
12033with labels and interleaved ASL    source. 3) Output the AML in
12034raw hex table form, in either C or ASM.
12035
12036Implemented support for optional string parameters to the
12037LoadTable operator.
12038
12039Completed support for embedded escape sequences within string
12040literals.  The compiler now supports all single character escapes
12041as well as the Octal and Hex escapes.  Note: the insertion of a
12042null byte into a string literal (via the hex/octal escape) causes
12043the string to be immediately terminated.  A warning is issued.
12044
12045Fixed a problem where incorrect AML was generated for the case
12046where an ASL namepath consists of a single parent prefix (
12047
12048) with no trailing name segments.
12049
12050The compiler has been successfully generated with a 64-bit C
12051compiler.
12052
12053
12054
12055
12056----------------------------------------
12057Summary of changes for this label: 12_18_01
12058
120591) Linux
12060
12061Enhanced blacklist with reason and severity fields. Any table's
12062signature may now be used to identify a blacklisted system.
12063
12064Call _PIC control method to inform the firmware which interrupt
12065model the OS is using. Turn on any disabled link devices.
12066
12067Cleaned up busmgr /proc error handling (Andreas Dilger)
12068
12069 2) ACPI CA Core Subsystem:
12070
12071Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
12072while loop)
12073
12074Completed implementation of the ACPI 2.0 "Continue",
12075"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
12076operators.  All new ACPI 2.0 operators are now implemented in both
12077the ASL compiler and the AML interpreter.  The only remaining ACPI
120782.0 task is support for the String data type in the DerefOf
12079operator.  Fixed a problem with AcquireMutex where the status code
12080was lost if the caller had to actually wait for the mutex.
12081
12082Increased the maximum ASL Field size from 64K bits to 4G bits.
12083
12084Completed implementation of the external Global Lock interfaces --
12085AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
12086Handler parameters were added.
12087
12088Completed another pass at removing warnings and issues when
12089compiling with 64-bit compilers.  The code now compiles cleanly
12090with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
12091add and subtract (diff) macros have changed considerably.
12092
12093
12094Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1209564-bit platforms, 32-bits on all others.  This type is used
12096wherever memory allocation and/or the C sizeof() operator is used,
12097and affects the OSL memory allocation interfaces AcpiOsAllocate
12098and AcpiOsCallocate.
12099
12100Implemented sticky user breakpoints in the AML debugger.
12101
12102Code and Data Size: Current core subsystem library sizes are shown
12103below. These are the code and data sizes for the acpica.lib
12104produced by the Microsoft Visual C++ 6.0 compiler, and these
12105values do not include any ACPI driver or OSPM code.  The debug
12106version of the code includes the debug output trace mechanism and
12107has a larger code and data size. Note that these values will vary
12108depending on the efficiency of the compiler and the compiler
12109options used during generation.
12110
12111  Previous Release (12_05_01)
12112     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
12113     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
12114   Current Release:
12115     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
12116     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
12117
12118 3) ASL Compiler, version X2034:
12119
12120Now checks for (and generates an error if detected) the use of a
12121Break or Continue statement without an enclosing While statement.
12122
12123
12124Successfully generated the compiler with the Intel 64-bit C
12125compiler.
12126
12127 ----------------------------------------
12128Summary of changes for this label: 12_05_01
12129
12130 1) ACPI CA Core Subsystem:
12131
12132The ACPI 2.0 CopyObject operator is fully implemented.  This
12133operator creates a new copy of an object (and is also used to
12134bypass the "implicit conversion" mechanism of the Store operator.)
12135
12136The ACPI 2.0 semantics for the SizeOf operator are fully
12137implemented.  The change is that performing a SizeOf on a
12138reference object causes an automatic dereference of the object to
12139tha actual value before the size is evaluated. This behavior was
12140undefined in ACPI 1.0.
12141
12142The ACPI 2.0 semantics for the Extended IRQ resource descriptor
12143have been implemented.  The interrupt polarity and mode are now
12144independently set.
12145
12146Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
12147appearing in Package objects were not properly converted to
12148integers when the internal Package was converted to an external
12149object (via the AcpiEvaluateObject interface.)
12150
12151Fixed a problem with the namespace object deletion mechanism for
12152objects created by control methods.  There were two parts to this
12153problem: 1) Objects created during the initialization phase method
12154parse were not being deleted, and 2) The object owner ID mechanism
12155to track objects was broken.
12156
12157Fixed a problem where the use of the ASL Scope operator within a
12158control method would result in an invalid opcode exception.
12159
12160Fixed a problem introduced in the previous label where the buffer
12161length required for the _PRT structure was not being returned
12162correctly.
12163
12164Code and Data Size: Current core subsystem library sizes are shown
12165below. These are the code and data sizes for the acpica.lib
12166produced by the Microsoft Visual C++ 6.0 compiler, and these
12167values do not include any ACPI driver or OSPM code.  The debug
12168version of the code includes the debug output trace mechanism and
12169has a larger code and data size.  Note that these values will vary
12170depending on the efficiency of the compiler and the compiler
12171options used during generation.
12172
12173  Previous Release (11_20_01)
12174     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
12175     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
12176
12177  Current Release:
12178     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
12179     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
12180
12181 2) Linux:
12182
12183Updated all files to apply cleanly against 2.4.16.
12184
12185Added basic PCI Interrupt Routing Table (PRT) support for IA32
12186(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
12187version supports both static and dyanmic PRT entries, but dynamic
12188entries are treated as if they were static (not yet
12189reconfigurable).  Architecture- specific code to use this data is
12190absent on IA32 but should be available shortly.
12191
12192Changed the initialization sequence to start the ACPI interpreter
12193(acpi_init) prior to initialization of the PCI driver (pci_init)
12194in init/main.c.  This ordering is required to support PRT and
12195facilitate other (future) enhancement.  A side effect is that the
12196ACPI bus driver and certain device drivers can no longer be loaded
12197as modules.
12198
12199Modified the 'make menuconfig' options to allow PCI Interrupt
12200Routing support to be included without the ACPI Bus and other
12201device drivers.
12202
12203 3) ASL Compiler, version X2033:
12204
12205Fixed some issues with the use of the new CopyObject and
12206DataTableRegion operators.  Both are fully functional.
12207
12208 ----------------------------------------
12209Summary of changes for this label: 11_20_01
12210
12211 20 November 2001.  Summary of changes for this release.
12212
12213 1) ACPI CA Core Subsystem:
12214
12215Updated Index support to match ACPI 2.0 semantics.  Storing a
12216Integer, String, or Buffer to an Index of a Buffer will store only
12217the least-significant byte of the source to the Indexed buffer
12218byte.  Multiple writes are not performed.
12219
12220Fixed a problem where the access type used in an AccessAs ASL
12221operator was not recorded correctly into the field object.
12222
12223Fixed a problem where ASL Event objects were created in a
12224signalled state. Events are now created in an unsignalled state.
12225
12226The internal object cache is now purged after table loading and
12227initialization to reduce the use of dynamic kernel memory -- on
12228the assumption that object use is greatest during the parse phase
12229of the entire table (versus the run-time use of individual control
12230methods.)
12231
12232ACPI 2.0 variable-length packages are now fully operational.
12233
12234Code and Data Size: Code and Data optimizations have permitted new
12235feature development with an actual reduction in the library size.
12236Current core subsystem library sizes are shown below.  These are
12237the code and data sizes for the acpica.lib produced by the
12238Microsoft Visual C++ 6.0 compiler, and these values do not include
12239any ACPI driver or OSPM code.  The debug version of the code
12240includes the debug output trace mechanism and has a larger code
12241and data size.  Note that these values will vary depending on the
12242efficiency of the compiler and the compiler options used during
12243generation.
12244
12245  Previous Release (11_09_01):
12246     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
12247     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
12248
12249  Current Release:
12250     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
12251     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
12252
12253 2) Linux:
12254
12255Enhanced the ACPI boot-time initialization code to allow the use
12256of Local APIC tables for processor enumeration on IA-32, and to
12257pave the way for a fully MPS-free boot (on SMP systems) in the
12258near future.  This functionality replaces
12259arch/i386/kernel/acpitables.c, which was introduced in an earlier
122602.4.15-preX release.  To enable this feature you must add
12261"acpi_boot=on" to the kernel command line -- see the help entry
12262for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
12263the works...
12264
12265Restructured the configuration options to allow boot-time table
12266parsing support without inclusion of the ACPI Interpreter (and
12267other) code.
12268
12269NOTE: This release does not include fixes for the reported events,
12270power-down, and thermal passive cooling issues (coming soon).
12271
12272 3) ASL Compiler:
12273
12274Added additional typechecking for Fields within restricted access
12275Operation Regions.  All fields within EC and CMOS regions must be
12276declared with ByteAcc. All fields withing SMBus regions must be
12277declared with the BufferAcc access type.
12278
12279Fixed a problem where the listing file output of control methods
12280no longer interleaved the actual AML code with the ASL source
12281code.
12282
12283
12284
12285
12286----------------------------------------
12287Summary of changes for this label: 11_09_01
12288
122891) ACPI CA Core Subsystem:
12290
12291Implemented ACPI 2.0-defined support for writes to fields with a
12292Buffer, String, or Integer source operand that is smaller than the
12293target field. In these cases, the source operand is zero-extended
12294to fill the target field.
12295
12296Fixed a problem where a Field starting bit offset (within the
12297parent operation region) was calculated incorrectly if the
12298
12299alignment of the field differed from the access width.  This
12300affected CreateWordField, CreateDwordField, CreateQwordField, and
12301possibly other fields that use the "AccessAny" keyword.
12302
12303Fixed a problem introduced in the 11_02_01 release where indirect
12304stores through method arguments did not operate correctly.
12305
123062) Linux:
12307
12308Implemented boot-time ACPI table parsing support
12309(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
12310facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
12311legacy BIOS interfaces (e.g. MPS) for the configuration of system
12312processors, memory, and interrupts during setup_arch().  Note that
12313this patch does not include the required architecture-specific
12314changes required to apply this information -- subsequent patches
12315will be posted for both IA32 and IA64 to achieve this.
12316
12317Added low-level sleep support for IA32 platforms, courtesy of Pat
12318Mochel. This allows IA32 systems to transition to/from various
12319sleeping states (e.g. S1, S3), although the lack of a centralized
12320driver model and power-manageable drivers will prevent its
12321(successful) use on most systems.
12322
12323Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
12324submenu, unified IA32 and IA64 options, added new "Boot using ACPI
12325tables" option, etc.
12326
12327Increased the default timeout for the EC driver from 1ms to 10ms
12328(1000 cycles of 10us) to try to address AE_TIME errors during EC
12329transactions.
12330
12331 ----------------------------------------
12332Summary of changes for this label: 11_02_01
12333
123341) ACPI CA Core Subsystem:
12335
12336ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
12337(QWordAcc keyword). All ACPI 2.0 64-bit support is now
12338implemented.
12339
12340OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
12341changes to support ACPI 2.0 Qword field access.  Read/Write
12342PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
12343accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
12344the value parameter for the address space handler interface is now
12345an ACPI_INTEGER.  OSL implementations of these interfaces must now
12346handle the case where the Width parameter is 64.
12347
12348Index Fields: Fixed a problem where unaligned bit assembly and
12349disassembly for IndexFields was not supported correctly.
12350
12351Index and Bank Fields:  Nested Index and Bank Fields are now
12352supported. During field access, a check is performed to ensure
12353that the value written to an Index or Bank register is not out of
12354the range of the register.  The Index (or Bank) register is
12355written before each access to the field data. Future support will
12356include allowing individual IndexFields to be wider than the
12357DataRegister width.
12358
12359Fields: Fixed a problem where the AML interpreter was incorrectly
12360attempting to write beyond the end of a Field/OpRegion.  This was
12361a boundary case that occurred when a DWORD field was written to a
12362BYTE access OpRegion, forcing multiple writes and causing the
12363interpreter to write one datum too many.
12364
12365Fields: Fixed a problem with Field/OpRegion access where the
12366starting bit address of a field was incorrectly calculated if the
12367current access type was wider than a byte (WordAcc, DwordAcc, or
12368QwordAcc).
12369
12370Fields: Fixed a problem where forward references to individual
12371FieldUnits (individual Field names within a Field definition) were
12372not resolved during the AML table load.
12373
12374Fields: Fixed a problem where forward references from a Field
12375definition to the parent Operation Region definition were not
12376resolved during the AML table load.
12377
12378Fields: Duplicate FieldUnit names within a scope are now detected
12379during AML table load.
12380
12381Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
12382returned an incorrect name for the root node.
12383
12384Code and Data Size: Code and Data optimizations have permitted new
12385feature development with an actual reduction in the library size.
12386Current core subsystem library sizes are shown below.  These are
12387the code and data sizes for the acpica.lib produced by the
12388Microsoft Visual C++ 6.0 compiler, and these values do not include
12389any ACPI driver or OSPM code.  The debug version of the code
12390includes the debug output trace mechanism and has a larger code
12391and data size.  Note that these values will vary depending on the
12392efficiency of the compiler and the compiler options used during
12393generation.
12394
12395  Previous Release (10_18_01):
12396     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
12397     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
12398
12399  Current Release:
12400     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
12401     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
12402
12403 2) Linux:
12404
12405Improved /proc processor output (Pavel Machek) Re-added
12406MODULE_LICENSE("GPL") to all modules.
12407
12408 3) ASL Compiler version X2030:
12409
12410Duplicate FieldUnit names within a scope are now detected and
12411flagged as errors.
12412
12413 4) Documentation:
12414
12415Programmer Reference updated to reflect OSL and address space
12416handler interface changes described above.
12417
12418----------------------------------------
12419Summary of changes for this label: 10_18_01
12420
12421ACPI CA Core Subsystem:
12422
12423Fixed a problem with the internal object reference count mechanism
12424that occasionally caused premature object deletion. This resolves
12425all of the outstanding problem reports where an object is deleted
12426in the middle of an interpreter evaluation.  Although this problem
12427only showed up in rather obscure cases, the solution to the
12428problem involved an adjustment of all reference counts involving
12429objects attached to namespace nodes.
12430
12431Fixed a problem with Field support in the interpreter where
12432writing to an aligned field whose length is an exact multiple (2
12433or greater) of the field access granularity would cause an attempt
12434to write beyond the end of the field.
12435
12436The top level AML opcode execution functions within the
12437interpreter have been renamed with a more meaningful and
12438consistent naming convention.  The modules exmonad.c and
12439exdyadic.c were eliminated.  New modules are exoparg1.c,
12440exoparg2.c, exoparg3.c, and exoparg6.c.
12441
12442Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
12443
12444Fixed a problem where the AML debugger was causing some internal
12445objects to not be deleted during subsystem termination.
12446
12447Fixed a problem with the external AcpiEvaluateObject interface
12448where the subsystem would fault if the named object to be
12449evaluated refered to a constant such as Zero, Ones, etc.
12450
12451Fixed a problem with IndexFields and BankFields where the
12452subsystem would fault if the index, data, or bank registers were
12453not defined in the same scope as the field itself.
12454
12455Added printf format string checking for compilers that support
12456this feature.  Corrected more than 50 instances of issues with
12457format specifiers within invocations of ACPI_DEBUG_PRINT
12458throughout the core subsystem code.
12459
12460The ASL "Revision" operator now returns the ACPI support level
12461implemented in the core - the value "2" since the ACPI 2.0 support
12462is more than 50% implemented.
12463
12464Enhanced the output of the AML debugger "dump namespace" command
12465to output in a more human-readable form.
12466
12467Current core subsystem library code sizes are shown below.  These
12468
12469are the code and data sizes for the acpica.lib produced by the
12470Microsoft Visual C++ 6.0 compiler, and these values do not include
12471any ACPI driver or OSPM code.  The debug version of the code
12472includes the full debug trace mechanism -- leading to a much
12473
12474larger code and data size.  Note that these values will vary
12475depending on the efficiency of the compiler and the compiler
12476options used during generation.
12477
12478     Previous Label (09_20_01):
12479     Non-Debug Version:    65K Code,     5K Data,     70K Total
12480     Debug Version:       138K Code,    58K Data,    196K Total
12481
12482     This Label:
12483
12484     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
12485     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
12486
12487Linux:
12488
12489Implemented a "Bad BIOS Blacklist" to track machines that have
12490known ASL/AML problems.
12491
12492Enhanced the /proc interface for the thermal zone driver and added
12493support for _HOT (the critical suspend trip point).  The 'info'
12494file now includes threshold/policy information, and allows setting
12495of _SCP (cooling preference) and _TZP (polling frequency) values
12496to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
12497frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
12498preference to the passive/quiet mode (if supported by the ASL).
12499
12500Implemented a workaround for a gcc bug that resuted in an OOPs
12501when loading the control method battery driver.
12502
12503 ----------------------------------------
12504Summary of changes for this label: 09_20_01
12505
12506 ACPI CA Core Subsystem:
12507
12508The AcpiEnableEvent and AcpiDisableEvent interfaces have been
12509modified to allow individual GPE levels to be flagged as wake-
12510enabled (i.e., these GPEs are to remain enabled when the platform
12511sleeps.)
12512
12513The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
12514support wake-enabled GPEs.  This means that upon entering the
12515sleep state, all GPEs that are not wake-enabled are disabled.
12516When leaving the sleep state, these GPEs are reenabled.
12517
12518A local double-precision divide/modulo module has been added to
12519enhance portability to OS kernels where a 64-bit math library is
12520not available.  The new module is "utmath.c".
12521
12522Several optimizations have been made to reduce the use of CPU
12523stack.  Originally over 2K, the maximum stack usage is now below
125242K at 1860  bytes (1.82k)
12525
12526Fixed a problem with the AcpiGetFirmwareTable interface where the
12527root table pointer was not mapped into a logical address properly.
12528
12529Fixed a problem where a NULL pointer was being dereferenced in the
12530interpreter code for the ASL Notify operator.
12531
12532Fixed a problem where the use of the ASL Revision operator
12533returned an error. This operator now returns the current version
12534of the ACPI CA core subsystem.
12535
12536Fixed a problem where objects passed as control method parameters
12537to AcpiEvaluateObject were always deleted at method termination.
12538However, these objects may end up being stored into the namespace
12539by the called method.  The object reference count mechanism was
12540applied to these objects instead of a force delete.
12541
12542Fixed a problem where static strings or buffers (contained in the
12543AML code) that are declared as package elements within the ASL
12544code could cause a fault because the interpreter would attempt to
12545delete them.  These objects are now marked with the "static
12546object" flag to prevent any attempt to delete them.
12547
12548Implemented an interpreter optimization to use operands directly
12549from the state object instead of extracting the operands to local
12550variables.  This reduces stack use and code size, and improves
12551performance.
12552
12553The module exxface.c was eliminated as it was an unnecessary extra
12554layer of code.
12555
12556Current core subsystem library code sizes are shown below.  These
12557are the code and data sizes for the acpica.lib produced by the
12558Microsoft Visual C++ 6.0 compiler, and these values do not include
12559any ACPI driver or OSPM code.  The debug version of the code
12560includes the full debug trace mechanism -- leading to a much
12561larger code and data size.  Note that these values will vary
12562depending on the efficiency of the compiler and the compiler
12563options used during generation.
12564
12565  Non-Debug Version:  65K Code,   5K Data,   70K Total
12566(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
12567Total  (Previously 195K)
12568
12569Linux:
12570
12571Support for ACPI 2.0 64-bit integers has been added.   All ACPI
12572Integer objects are now 64 bits wide
12573
12574All Acpi data types and structures are now in lower case.  Only
12575Acpi macros are upper case for differentiation.
12576
12577 Documentation:
12578
12579Changes to the external interfaces as described above.
12580
12581 ----------------------------------------
12582Summary of changes for this label: 08_31_01
12583
12584 ACPI CA Core Subsystem:
12585
12586A bug with interpreter implementation of the ASL Divide operator
12587was found and fixed.  The implicit function return value (not the
12588explicit store operands) was returning the remainder instead of
12589the quotient.  This was a longstanding bug and it fixes several
12590known outstanding issues on various platforms.
12591
12592The ACPI_DEBUG_PRINT and function trace entry/exit macros have
12593been further optimized for size.  There are 700 invocations of the
12594DEBUG_PRINT macro alone, so each optimization reduces the size of
12595the debug version of the subsystem significantly.
12596
12597A stack trace mechanism has been implemented.  The maximum stack
12598usage is about 2K on 32-bit platforms.  The debugger command "stat
12599stack" will display the current maximum stack usage.
12600
12601All public symbols and global variables within the subsystem are
12602now prefixed with the string "Acpi".  This keeps all of the
12603symbols grouped together in a kernel map, and avoids conflicts
12604with other kernel subsystems.
12605
12606Most of the internal fixed lookup tables have been moved into the
12607code segment via the const operator.
12608
12609Several enhancements have been made to the interpreter to both
12610reduce the code size and improve performance.
12611
12612Current core subsystem library code sizes are shown below.  These
12613are the code and data sizes for the acpica.lib produced by the
12614Microsoft Visual C++ 6.0 compiler, and these values do not include
12615any ACPI driver or OSPM code.  The debug version of the code
12616includes the full debug trace mechanism which contains over 700
12617invocations of the DEBUG_PRINT macro, 500 function entry macro
12618invocations, and over 900 function exit macro invocations --
12619leading to a much larger code and data size.  Note that these
12620values will vary depending on the efficiency of the compiler and
12621the compiler options used during generation.
12622
12623        Non-Debug Version:  64K Code,   5K Data,   69K Total
12624Debug Version:     137K Code,  58K Data,  195K Total
12625
12626 Linux:
12627
12628Implemented wbinvd() macro, pending a kernel-wide definition.
12629
12630Fixed /proc/acpi/event to handle poll() and short reads.
12631
12632 ASL Compiler, version X2026:
12633
12634Fixed a problem introduced in the previous label where the AML
12635
12636code emitted for package objects produced packages with zero
12637length.
12638
12639 ----------------------------------------
12640Summary of changes for this label: 08_16_01
12641
12642ACPI CA Core Subsystem:
12643
12644The following ACPI 2.0 ASL operators have been implemented in the
12645AML interpreter (These are already supported by the Intel ASL
12646compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
12647ToBuffer.  Support for 64-bit AML constants is implemented in the
12648AML parser, debugger, and disassembler.
12649
12650The internal memory tracking mechanism (leak detection code) has
12651been upgraded to reduce the memory overhead (a separate tracking
12652block is no longer allocated for each memory allocation), and now
12653supports all of the internal object caches.
12654
12655The data structures and code for the internal object caches have
12656been coelesced and optimized so that there is a single cache and
12657memory list data structure and a single group of functions that
12658implement generic cache management.  This has reduced the code
12659size in both the debug and release versions of the subsystem.
12660
12661The DEBUG_PRINT macro(s) have been optimized for size and replaced
12662by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
12663different, because it generates a single call to an internal
12664function.  This results in a savings of about 90 bytes per
12665invocation, resulting in an overall code and data savings of about
1266616% in the debug version of the subsystem.
12667
12668 Linux:
12669
12670Fixed C3 disk corruption problems and re-enabled C3 on supporting
12671machines.
12672
12673Integrated low-level sleep code by Patrick Mochel.
12674
12675Further tweaked source code Linuxization.
12676
12677Other minor fixes.
12678
12679 ASL Compiler:
12680
12681Support for ACPI 2.0 variable length packages is fixed/completed.
12682
12683Fixed a problem where the optional length parameter for the ACPI
126842.0 ToString operator.
12685
12686Fixed multiple extraneous error messages when a syntax error is
12687detected within the declaration line of a control method.
12688
12689 ----------------------------------------
12690Summary of changes for this label: 07_17_01
12691
12692ACPI CA Core Subsystem:
12693
12694Added a new interface named AcpiGetFirmwareTable to obtain any
12695ACPI table via the ACPI signature.  The interface can be called at
12696any time during kernel initialization, even before the kernel
12697virtual memory manager is initialized and paging is enabled.  This
12698allows kernel subsystems to obtain ACPI tables very early, even
12699before the ACPI CA subsystem is initialized.
12700
12701Fixed a problem where Fields defined with the AnyAcc attribute
12702could be resolved to the incorrect address under the following
12703conditions: 1) the field width is larger than 8 bits and 2) the
12704parent operation region is not defined on a DWORD boundary.
12705
12706Fixed a problem where the interpreter is not being locked during
12707namespace initialization (during execution of the _INI control
12708methods), causing an error when an attempt is made to release it
12709later.
12710
12711ACPI 2.0 support in the AML Interpreter has begun and will be
12712ongoing throughout the rest of this year.  In this label, The Mod
12713operator is implemented.
12714
12715Added a new data type to contain full PCI addresses named
12716ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
12717and Function values.
12718
12719 Linux:
12720
12721Enhanced the Linux version of the source code to change most
12722capitalized ACPI type names to lowercase. For example, all
12723instances of ACPI_STATUS are changed to acpi_status.  This will
12724result in a large diff, but the change is strictly cosmetic and
12725aligns the CA code closer to the Linux coding standard.
12726
12727OSL Interfaces:
12728
12729The interfaces to the PCI configuration space have been changed to
12730add the PCI Segment number and to split the single 32-bit combined
12731DeviceFunction field into two 16-bit fields.  This was
12732accomplished by moving the four values that define an address in
12733PCI configuration space (segment, bus, device, and function) to
12734the new ACPI_PCI_ID structure.
12735
12736The changes to the PCI configuration space interfaces led to a
12737reexamination of the complete set of address space access
12738interfaces for PCI, I/O, and Memory.  The previously existing 18
12739interfaces have proven difficult to maintain (any small change
12740must be propagated across at least 6 interfaces) and do not easily
12741allow for future expansion to 64 bits if necessary.  Also, on some
12742systems, it would not be appropriate to demultiplex the access
12743width (8, 16, 32,or 64) before calling the OSL if the
12744corresponding native OS interfaces contain a similar access width
12745parameter.  For these reasons, the 18 address space interfaces
12746have been replaced by these 6 new ones:
12747
12748AcpiOsReadPciConfiguration
12749AcpiOsWritePciConfiguration
12750AcpiOsReadMemory
12751AcpiOsWriteMemory
12752AcpiOsReadPort
12753AcpiOsWritePort
12754
12755Added a new interface named AcpiOsGetRootPointer to allow the OSL
12756to perform the platform and/or OS-specific actions necessary to
12757obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
12758interface will simply call down to the CA core to perform the low-
12759memory search for the table.  On IA-64, the RSDP is obtained from
12760EFI.  Migrating this interface to the OSL allows the CA core to
12761
12762remain OS and platform independent.
12763
12764Added a new interface named AcpiOsSignal to provide a generic
12765"function code and pointer" interface for various miscellaneous
12766signals and notifications that must be made to the host OS.   The
12767first such signals are intended to support the ASL Fatal and
12768Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
12769interface has been obsoleted.
12770
12771The definition of the AcpiFormatException interface has been
12772changed to simplify its use.  The caller no longer must supply a
12773buffer to the call; A pointer to a const string is now returned
12774directly.  This allows the call to be easily used in printf
12775statements, etc. since the caller does not have to manage a local
12776buffer.
12777
12778
12779 ASL Compiler, Version X2025:
12780
12781The ACPI 2.0 Switch/Case/Default operators have been implemented
12782and are fully functional.  They will work with all ACPI 1.0
12783interpreters, since the operators are simply translated to If/Else
12784pairs.
12785
12786The ACPI 2.0 ElseIf operator is implemented and will also work
12787with 1.0 interpreters, for the same reason.
12788
12789Implemented support for ACPI 2.0 variable-length packages.  These
12790packages have a separate opcode, and their size is determined by
12791the interpreter at run-time.
12792
12793Documentation The ACPI CA Programmer Reference has been updated to
12794reflect the new interfaces and changes to existing interfaces.
12795
12796 ------------------------------------------
12797Summary of changes for this label: 06_15_01
12798
12799 ACPI CA Core Subsystem:
12800
12801Fixed a problem where a DWORD-accessed field within a Buffer
12802object would get its byte address inadvertently rounded down to
12803the nearest DWORD.  Buffers are always Byte-accessible.
12804
12805 ASL Compiler, version X2024:
12806
12807Fixed a problem where the Switch() operator would either fault or
12808hang the compiler.  Note however, that the AML code for this ACPI
128092.0 operator is not yet implemented.
12810
12811Compiler uses the new AcpiOsGetTimer interface to obtain compile
12812timings.
12813
12814Implementation of the CreateField operator automatically converts
12815a reference to a named field within a resource descriptor from a
12816byte offset to a bit offset if required.
12817
12818Added some missing named fields from the resource descriptor
12819support. These are the names that are automatically created by the
12820compiler to reference fields within a descriptor.  They are only
12821valid at compile time and are not passed through to the AML
12822interpreter.
12823
12824Resource descriptor named fields are now typed as Integers and
12825subject to compile-time typechecking when used in expressions.
12826
12827 ------------------------------------------
12828Summary of changes for this label: 05_18_01
12829
12830 ACPI CA Core Subsystem:
12831
12832Fixed a couple of problems in the Field support code where bits
12833from adjacent fields could be returned along with the proper field
12834bits. Restructured the field support code to improve performance,
12835readability and maintainability.
12836
12837New DEBUG_PRINTP macro automatically inserts the procedure name
12838into the output, saving hundreds of copies of procedure name
12839strings within the source, shrinking the memory footprint of the
12840debug version of the core subsystem.
12841
12842 Source Code Structure:
12843
12844The source code directory tree was restructured to reflect the
12845current organization of the component architecture.  Some files
12846and directories have been moved and/or renamed.
12847
12848 Linux:
12849
12850Fixed leaking kacpidpc processes.
12851
12852Fixed queueing event data even when /proc/acpi/event is not
12853opened.
12854
12855 ASL Compiler, version X2020:
12856
12857Memory allocation performance enhancement - over 24X compile time
12858improvement on large ASL files.  Parse nodes and namestring
12859buffers are now allocated from a large internal compiler buffer.
12860
12861The temporary .SRC file is deleted unless the "-s" option is
12862specified
12863
12864The "-d" debug output option now sends all output to the .DBG file
12865instead of the console.
12866
12867"External" second parameter is now optional
12868
12869"ElseIf" syntax now properly allows the predicate
12870
12871Last operand to "Load" now recognized as a Target operand
12872
12873Debug object can now be used anywhere as a normal object.
12874
12875ResourceTemplate now returns an object of type BUFFER
12876
12877EISAID now returns an object of type INTEGER
12878
12879"Index" now works with a STRING operand
12880
12881"LoadTable" now accepts optional parameters
12882
12883"ToString" length parameter is now optional
12884
12885"Interrupt (ResourceType," parse error fixed.
12886
12887"Register" with a user-defined region space parse error fixed
12888
12889Escaped backslash at the end of a string ("\\") scan/parse error
12890fixed
12891
12892"Revision" is now an object of type INTEGER.
12893
12894
12895
12896------------------------------------------
12897Summary of changes for this label: 05_02_01
12898
12899Linux:
12900
12901/proc/acpi/event now blocks properly.
12902
12903Removed /proc/sys/acpi. You can still dump your DSDT from
12904/proc/acpi/dsdt.
12905
12906 ACPI CA Core Subsystem:
12907
12908Fixed a problem introduced in the previous label where some of the
12909"small" resource descriptor types were not recognized.
12910
12911Improved error messages for the case where an ASL Field is outside
12912the range of the parent operation region.
12913
12914 ASL Compiler, version X2018:
12915
12916
12917Added error detection for ASL Fields that extend beyond the length
12918of the parent operation region (only if the length of the region
12919is known at compile time.)  This includes fields that have a
12920minimum access width that is smaller than the parent region, and
12921individual field units that are partially or entirely beyond the
12922extent of the parent.
12923
12924
12925
12926------------------------------------------
12927Summary of changes for this label: 04_27_01
12928
12929 ACPI CA Core Subsystem:
12930
12931Fixed a problem where the namespace mutex could be released at the
12932wrong time during execution of AcpiRemoveAddressSpaceHandler.
12933
12934Added optional thread ID output for debug traces, to simplify
12935debugging of multiple threads.  Added context switch notification
12936when the debug code realizes that a different thread is now
12937executing ACPI code.
12938
12939Some additional external data types have been prefixed with the
12940string "ACPI_" for consistency.  This may effect existing code.
12941The data types affected are the external callback typedefs - e.g.,
12942
12943WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
12944
12945 Linux:
12946
12947Fixed an issue with the OSL semaphore implementation where a
12948thread was waking up with an error from receiving a SIGCHLD
12949signal.
12950
12951Linux version of ACPI CA now uses the system C library for string
12952manipulation routines instead of a local implementation.
12953
12954Cleaned up comments and removed TBDs.
12955
12956 ASL Compiler, version X2017:
12957
12958Enhanced error detection and reporting for all file I/O
12959operations.
12960
12961 Documentation:
12962
12963Programmer Reference updated to version 1.06.
12964
12965
12966
12967------------------------------------------
12968Summary of changes for this label: 04_13_01
12969
12970 ACPI CA Core Subsystem:
12971
12972Restructured support for BufferFields and RegionFields.
12973BankFields support is now fully operational.  All known 32-bit
12974limitations on field sizes have been removed.  Both BufferFields
12975and (Operation) RegionFields are now supported by the same field
12976management code.
12977
12978Resource support now supports QWORD address and IO resources. The
1297916/32/64 bit address structures and the Extended IRQ structure
12980have been changed to properly handle Source Resource strings.
12981
12982A ThreadId of -1 is now used to indicate a "mutex not acquired"
12983condition internally and must never be returned by AcpiOsThreadId.
12984This reserved value was changed from 0 since Unix systems allow a
12985thread ID of 0.
12986
12987Linux:
12988
12989Driver code reorganized to enhance portability
12990
12991Added a kernel configuration option to control ACPI_DEBUG
12992
12993Fixed the EC driver to honor _GLK.
12994
12995ASL Compiler, version X2016:
12996
12997Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
12998address space was set to 0, not 0x7f as it should be.
12999
13000 ------------------------------------------
13001Summary of changes for this label: 03_13_01
13002
13003 ACPI CA Core Subsystem:
13004
13005During ACPI initialization, the _SB_._INI method is now run if
13006present.
13007
13008Notify handler fix - notifies are deferred until the parent method
13009completes execution.  This fixes the "mutex already acquired"
13010issue seen occasionally.
13011
13012Part of the "implicit conversion" rules in ACPI 2.0 have been
13013found to cause compatibility problems with existing ASL/AML.  The
13014convert "result-to-target-type" implementation has been removed
13015for stores to method Args and Locals.  Source operand conversion
13016is still fully implemented.  Possible changes to ACPI 2.0
13017specification pending.
13018
13019Fix to AcpiRsCalculatePciRoutingTableLength to return correct
13020length.
13021
13022Fix for compiler warnings for 64-bit compiles.
13023
13024 Linux:
13025
13026/proc output aligned for easier parsing.
13027
13028Release-version compile problem fixed.
13029
13030New kernel configuration options documented in Configure.help.
13031
13032IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
13033context" message.
13034
13035 OSPM:
13036
13037Power resource driver integrated with bus manager.
13038
13039Fixed kernel fault during active cooling for thermal zones.
13040
13041Source Code:
13042
13043The source code tree has been restructured.
13044
13045
13046
13047------------------------------------------
13048Summary of changes for this label: 03_02_01
13049
13050 Linux OS Services Layer (OSL):
13051
13052Major revision of all Linux-specific code.
13053
13054Modularized all ACPI-specific drivers.
13055
13056Added new thermal zone and power resource drivers.
13057
13058Revamped /proc interface (new functionality is under /proc/acpi).
13059
13060New kernel configuration options.
13061
13062 Linux known issues:
13063
13064New kernel configuration options not documented in Configure.help
13065yet.
13066
13067
13068Module dependencies not currently implemented. If used, they
13069should be loaded in this order: busmgr, power, ec, system,
13070processor, battery, ac_adapter, button, thermal.
13071
13072Modules will not load if CONFIG_MODVERSION is set.
13073
13074IBM 600E - entering S5 may reboot instead of shutting down.
13075
13076IBM 600E - Sleep button may generate "Invalid <NULL> context"
13077message.
13078
13079Some systems may fail with "execution mutex already acquired"
13080message.
13081
13082 ACPI CA Core Subsystem:
13083
13084Added a new OSL Interface, AcpiOsGetThreadId.  This was required
13085for the  deadlock detection code. Defined to return a non-zero, 32-
13086bit thread ID for the currently executing thread.  May be a non-
13087zero constant integer on single-thread systems.
13088
13089Implemented deadlock detection for internal subsystem mutexes.  We
13090may add conditional compilation for this code (debug only) later.
13091
13092ASL/AML Mutex object semantics are now fully supported.  This
13093includes multiple acquires/releases by owner and support for the
13094
13095Mutex SyncLevel parameter.
13096
13097A new "Force Release" mechanism automatically frees all ASL
13098Mutexes that have been acquired but not released when a thread
13099exits the interpreter.  This forces conformance to the ACPI spec
13100("All mutexes must be released when an invocation exits") and
13101prevents deadlocked ASL threads.  This mechanism can be expanded
13102(later) to monitor other resource acquisitions if OEM ASL code
13103continues to misbehave (which it will).
13104
13105Several new ACPI exception codes have been added for the Mutex
13106support.
13107
13108Recursive method calls are now allowed and supported (the ACPI
13109spec does in fact allow recursive method calls.)  The number of
13110recursive calls is subject to the restrictions imposed by the
13111SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
13112parameter.
13113
13114Implemented support for the SyncLevel parameter for control
13115methods (ACPI 2.0 feature)
13116
13117Fixed a deadlock problem when multiple threads attempted to use
13118the interpreter.
13119
13120Fixed a problem where the string length of a String package
13121element was not always set in a package returned from
13122AcpiEvaluateObject.
13123
13124Fixed a problem where the length of a String package element was
13125not always included in the length of the overall package returned
13126from AcpiEvaluateObject.
13127
13128Added external interfaces (Acpi*) to the ACPI debug memory
13129manager.  This manager keeps a list of all outstanding
13130allocations, and can therefore detect memory leaks and attempts to
13131free memory blocks more than once. Useful for code such as the
13132power manager, etc.  May not be appropriate for device drivers.
13133Performance with the debug code enabled is slow.
13134
13135The ACPI Global Lock is now an optional hardware element.
13136
13137 ASL Compiler Version X2015:
13138
13139Integrated changes to allow the compiler to be generated on
13140multiple platforms.
13141
13142Linux makefile added to generate the compiler on Linux
13143
13144 Source Code:
13145
13146All platform-specific headers have been moved to their own
13147subdirectory, Include/Platform.
13148
13149New source file added, Interpreter/ammutex.c
13150
13151New header file, Include/acstruct.h
13152
13153 Documentation:
13154
13155The programmer reference has been updated for the following new
13156interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
13157
13158 ------------------------------------------
13159Summary of changes for this label: 02_08_01
13160
13161Core ACPI CA Subsystem: Fixed a problem where an error was
13162incorrectly returned if the return resource buffer was larger than
13163the actual data (in the resource interfaces).
13164
13165References to named objects within packages are resolved to the
13166
13167full pathname string before packages are returned directly (via
13168the AcpiEvaluateObject interface) or indirectly via the resource
13169interfaces.
13170
13171Linux OS Services Layer (OSL):
13172
13173Improved /proc battery interface.
13174
13175
13176Added C-state debugging output and other miscellaneous fixes.
13177
13178ASL Compiler Version X2014:
13179
13180All defined method arguments can now be used as local variables,
13181including the ones that are not actually passed in as parameters.
13182The compiler tracks initialization of the arguments and issues an
13183exception if they are used without prior assignment (just like
13184locals).
13185
13186The -o option now specifies a filename prefix that is used for all
13187output files, including the AML output file.  Otherwise, the
13188default behavior is as follows:  1) the AML goes to the file
13189specified in the DSDT.  2) all other output files use the input
13190source filename as the base.
13191
13192 ------------------------------------------
13193Summary of changes for this label: 01_25_01
13194
13195Core ACPI CA Subsystem: Restructured the implementation of object
13196store support within the  interpreter.  This includes support for
13197the Store operator as well  as any ASL operators that include a
13198target operand.
13199
13200Partially implemented support for Implicit Result-to-Target
13201conversion. This is when a result object is converted on the fly
13202to the type of  an existing target object.  Completion of this
13203support is pending  further analysis of the ACPI specification
13204concerning this matter.
13205
13206CPU-specific code has been removed from the subsystem (hardware
13207directory).
13208
13209New Power Management Timer functions added
13210
13211Linux OS Services Layer (OSL): Moved system state transition code
13212to the core, fixed it, and modified  Linux OSL accordingly.
13213
13214Fixed C2 and C3 latency calculations.
13215
13216
13217We no longer use the compilation date for the version message on
13218initialization, but retrieve the version from AcpiGetSystemInfo().
13219
13220Incorporated for fix Sony VAIO machines.
13221
13222Documentation:  The Programmer Reference has been updated and
13223reformatted.
13224
13225
13226ASL Compiler:  Version X2013: Fixed a problem where the line
13227numbering and error reporting could get out  of sync in the
13228presence of multiple include files.
13229
13230 ------------------------------------------
13231Summary of changes for this label: 01_15_01
13232
13233Core ACPI CA Subsystem:
13234
13235Implemented support for type conversions in the execution of the
13236ASL  Concatenate operator (The second operand is converted to
13237match the type  of the first operand before concatenation.)
13238
13239Support for implicit source operand conversion is partially
13240implemented.   The ASL source operand types Integer, Buffer, and
13241String are freely  interchangeable for most ASL operators and are
13242converted by the interpreter  on the fly as required.  Implicit
13243Target operand conversion (where the  result is converted to the
13244target type before storing) is not yet implemented.
13245
13246Support for 32-bit and 64-bit BCD integers is implemented.
13247
13248Problem fixed where a field read on an aligned field could cause a
13249read  past the end of the field.
13250
13251New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
13252does not return a value, but the caller expects one.  (The ASL
13253compiler flags this as a warning.)
13254
13255ASL Compiler:
13256
13257Version X2011:
132581. Static typechecking of all operands is implemented. This
13259prevents the use of invalid objects (such as using a Package where
13260an Integer is required) at compile time instead of at interpreter
13261run-time.
132622. The ASL source line is printed with ALL errors and warnings.
132633. Bug fix for source EOF without final linefeed.
132644. Debug option is split into a parse trace and a namespace trace.
132655. Namespace output option (-n) includes initial values for
13266integers and strings.
132676. Parse-only option added for quick syntax checking.
132687. Compiler checks for duplicate ACPI name declarations
13269
13270Version X2012:
132711. Relaxed typechecking to allow interchangeability between
13272strings, integers, and buffers.  These types are now converted by
13273the interpreter at runtime.
132742. Compiler reports time taken by each internal subsystem in the
13275debug         output file.
13276
13277
13278 ------------------------------------------
13279Summary of changes for this label: 12_14_00
13280
13281ASL Compiler:
13282
13283This is the first official release of the compiler. Since the
13284compiler requires elements of the Core Subsystem, this label
13285synchronizes everything.
13286
13287------------------------------------------
13288Summary of changes for this label: 12_08_00
13289
13290
13291Fixed a problem where named references within the ASL definition
13292of both OperationRegions and CreateXXXFields did not work
13293properly.  The symptom was an AE_AML_OPERAND_TYPE during
13294initialization of the region/field. This is similar (but not
13295related internally) to the problem that was fixed in the last
13296label.
13297
13298Implemented both 32-bit and 64-bit support for the BCD ASL
13299functions ToBCD and FromBCD.
13300
13301Updated all legal headers to include "2000" in the copyright
13302years.
13303
13304 ------------------------------------------
13305Summary of changes for this label: 12_01_00
13306
13307Fixed a problem where method invocations within the ASL definition
13308of both OperationRegions and CreateXXXFields did not work
13309properly.  The symptom was an AE_AML_OPERAND_TYPE during
13310initialization of the region/field:
13311
13312  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
13313[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
13314(0x3005)
13315
13316Fixed a problem where operators with more than one nested
13317subexpression would fail.  The symptoms were varied, by mostly
13318AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
13319problem that has gone unnoticed until now.
13320
13321  Subtract (Add (1,2), Multiply (3,4))
13322
13323Fixed a problem where AcpiGetHandle didn't quite get fixed in the
13324previous build (The prefix part of a relative path was handled
13325incorrectly).
13326
13327Fixed a problem where Operation Region initialization failed if
13328the operation region name was a "namepath" instead of a simple
13329"nameseg". Symptom was an AE_NO_OPERAND error.
13330
13331Fixed a problem where an assignment to a local variable via the
13332indirect RefOf mechanism only worked for the first such
13333assignment.  Subsequent assignments were ignored.
13334
13335 ------------------------------------------
13336Summary of changes for this label: 11_15_00
13337
13338ACPI 2.0 table support with backwards support for ACPI 1.0 and the
133390.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
13340the AML  interpreter does NOT have support for the new 2.0 ASL
13341grammar terms at this time.
13342
13343All ACPI hardware access is via the GAS structures in the ACPI 2.0
13344FADT.
13345
13346All physical memory addresses across all platforms are now 64 bits
13347wide. Logical address width remains dependent on the platform
13348(i.e., "void *").
13349
13350AcpiOsMapMemory interface changed to a 64-bit physical address.
13351
13352The AML interpreter integer size is now 64 bits, as per the ACPI
133532.0 specification.
13354
13355For backwards compatibility with ACPI 1.0, ACPI tables with a
13356revision number less than 2 use 32-bit integers only.
13357
13358Fixed a problem where the evaluation of OpRegion operands did not
13359always resolve them to numbers properly.
13360
13361------------------------------------------
13362Summary of changes for this label: 10_20_00
13363
13364Fix for CBN_._STA issue.  This fix will allow correct access to
13365CBN_ OpRegions when the _STA returns 0x8.
13366
13367Support to convert ACPI constants (Ones, Zeros, One) to actual
13368values before a package object is returned
13369
13370Fix for method call as predicate to if/while construct causing
13371incorrect if/while behavior
13372
13373Fix for Else block package lengths sometimes calculated wrong (if
13374block > 63 bytes)
13375
13376Fix for Processor object length field, was always zero
13377
13378Table load abort if FACP sanity check fails
13379
13380Fix for problem with Scope(name) if name already exists
13381
13382Warning emitted if a named object referenced cannot be found
13383(resolved) during method execution.
13384
13385
13386
13387
13388
13389------------------------------------------
13390Summary of changes for this label: 9_29_00
13391
13392New table initialization interfaces: AcpiInitializeSubsystem no
13393longer has any parameters AcpiFindRootPointer - Find the RSDP (if
13394necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
13395>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
13396AcpiLoadTables
13397
13398Note: These interface changes require changes to all existing OSDs
13399
13400The PCI_Config default address space handler is always installed
13401at the root namespace object.
13402
13403-------------------------------------------
13404Summary of changes for this label: 09_15_00
13405
13406The new initialization architecture is implemented.  New
13407interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
13408AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
13409
13410(Namespace is automatically loaded when a table is loaded)
13411
13412The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1341352 bytes to 32 bytes.  There is usually one of these for every
13414namespace object, so the memory savings is significant.
13415
13416Implemented just-in-time evaluation of the CreateField operators.
13417
13418Bug fixes for IA-64 support have been integrated.
13419
13420Additional code review comments have been implemented
13421
13422The so-called "third pass parse" has been replaced by a final walk
13423through the namespace to initialize all operation regions (address
13424spaces) and fields that have not yet been initialized during the
13425execution of the various _INI and REG methods.
13426
13427New file - namespace/nsinit.c
13428
13429-------------------------------------------
13430Summary of changes for this label: 09_01_00
13431
13432Namespace manager data structures have been reworked to change the
13433primary  object from a table to a single object.  This has
13434resulted in dynamic memory  savings of 3X within the namespace and
134352X overall in the ACPI CA subsystem.
13436
13437Fixed problem where the call to AcpiEvFindPciRootBuses was
13438inadvertently left  commented out.
13439
13440Reduced the warning count when generating the source with the GCC
13441compiler.
13442
13443Revision numbers added to each module header showing the
13444SourceSafe version of the file.  Please refer to this version
13445number when giving us feedback or comments on individual modules.
13446
13447The main object types within the subsystem have been renamed to
13448clarify their  purpose:
13449
13450ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
13451ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
13452ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
13453
13454NOTE: no changes to the initialization sequence are included in
13455this label.
13456
13457-------------------------------------------
13458Summary of changes for this label: 08_23_00
13459
13460Fixed problem where TerminateControlMethod was being called
13461multiple times per  method
13462
13463Fixed debugger problem where single stepping caused a semaphore to
13464be  oversignalled
13465
13466Improved performance through additional parse object caching -
13467added  ACPI_EXTENDED_OP type
13468
13469-------------------------------------------
13470Summary of changes for this label: 08_10_00
13471
13472Parser/Interpreter integration:  Eliminated the creation of
13473complete parse trees  for ACPI tables and control methods.
13474Instead, parse subtrees are created and  then deleted as soon as
13475they are processed (Either entered into the namespace or  executed
13476by the interpreter).  This reduces the use of dynamic kernel
13477memory  significantly. (about 10X)
13478
13479Exception codes broken into classes and renumbered.  Be sure to
13480recompile all  code that includes acexcep.h.  Hopefully we won't
13481have to renumber the codes  again now that they are split into
13482classes (environment, programmer, AML code,  ACPI table, and
13483internal).
13484
13485Fixed some additional alignment issues in the Resource Manager
13486subcomponent
13487
13488Implemented semaphore tracking in the AcpiExec utility, and fixed
13489several places  where mutexes/semaphores were being unlocked
13490without a corresponding lock  operation.  There are no known
13491semaphore or mutex "leaks" at this time.
13492
13493Fixed the case where an ASL Return operator is used to return an
13494unnamed  package.
13495
13496-------------------------------------------
13497Summary of changes for this label: 07_28_00
13498
13499Fixed a problem with the way addresses were calculated in
13500AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
13501manifested itself when a Field was  created with WordAccess or
13502DwordAccess, but the field unit defined within the  Field was less
13503
13504than a Word or Dword.
13505
13506Fixed a problem in AmlDumpOperands() module's loop to pull
13507operands off of the  operand stack to display information. The
13508problem manifested itself as a TLB  error on 64-bit systems when
13509accessing an operand stack with two or more  operands.
13510
13511Fixed a problem with the PCI configuration space handlers where
13512context was  getting confused between accesses. This required a
13513change to the generic address  space handler and address space
13514setup definitions. Handlers now get both a  global handler context
13515(this is the one passed in by the user when executing
13516AcpiInstallAddressSpaceHandler() and a specific region context
13517that is unique to  each region (For example, the _ADR, _SEG and
13518_BBN values associated with a  specific region). The generic
13519function definitions have changed to the  following:
13520
13521typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
13522UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
13523*HandlerContext, // This used to be void *Context void
13524*RegionContext); // This is an additional parameter
13525
13526typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
13527RegionHandle, UINT32 Function, void *HandlerContext,  void
13528**RegionContext); // This used to be **ReturnContext
13529
13530-------------------------------------------
13531Summary of changes for this label: 07_21_00
13532
13533Major file consolidation and rename.  All files within the
13534interpreter have been  renamed as well as most header files.  This
13535was done to prevent collisions with  existing files in the host
13536OSs -- filenames such as "config.h" and "global.h"  seem to be
13537quite common.  The VC project files have been updated.  All
13538makefiles  will require modification.
13539
13540The parser/interpreter integration continues in Phase 5 with the
13541implementation  of a complete 2-pass parse (the AML is parsed
13542twice) for each table;  This  avoids the construction of a huge
13543parse tree and therefore reduces the amount of  dynamic memory
13544required by the subsystem.  Greater use of the parse object cache
13545means that performance is unaffected.
13546
13547Many comments from the two code reviews have been rolled in.
13548
13549The 64-bit alignment support is complete.
13550
13551-------------------------------------------
13552Summary of changes for this label: 06_30_00
13553
13554With a nod and a tip of the hat to the technology of yesteryear,
13555we've added  support in the source code for 80 column output
13556devices.  The code is now mostly  constrained to 80 columns or
13557less to support environments and editors that 1)  cannot display
13558or print more than 80 characters on a single line, and 2) cannot
13559disable line wrapping.
13560
13561A major restructuring of the namespace data structure has been
13562completed.  The  result is 1) cleaner and more
13563understandable/maintainable code, and 2) a  significant reduction
13564in the dynamic memory requirement for each named ACPI  object
13565(almost half).
13566
13567-------------------------------------------
13568Summary of changes for this label: 06_23_00
13569
13570Linux support has been added.  In order to obtain approval to get
13571the ACPI CA  subsystem into the Linux kernel, we've had to make
13572quite a few changes to the  base subsystem that will affect all
13573users (all the changes are generic and OS- independent).  The
13574effects of these global changes have been somewhat far  reaching.
13575Files have been merged and/or renamed and interfaces have been
13576renamed.   The major changes are described below.
13577
13578Osd* interfaces renamed to AcpiOs* to eliminate namespace
13579pollution/confusion  within our target kernels.  All OSD
13580interfaces must be modified to match the new  naming convention.
13581
13582Files merged across the subsystem.  A number of the smaller source
13583and header  files have been merged to reduce the file count and
13584increase the density of the  existing files.  There are too many
13585to list here.  In general, makefiles that  call out individual
13586files will require rebuilding.
13587
13588Interpreter files renamed.  All interpreter files now have the
13589prefix am*  instead of ie* and is*.
13590
13591Header files renamed:  The acapi.h file is now acpixf.h.  The
13592acpiosd.h file is  now acpiosxf.h.  We are removing references to
13593the acronym "API" since it is  somewhat windowsy. The new name is
13594"external interface" or xface or xf in the  filenames.j
13595
13596
13597All manifest constants have been forced to upper case (some were
13598mixed case.)   Also, the string "ACPI_" has been prepended to many
13599(not all) of the constants,  typedefs, and structs.
13600
13601The globals "DebugLevel" and "DebugLayer" have been renamed
13602"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
13603
13604All other globals within the subsystem are now prefixed with
13605"AcpiGbl_" Internal procedures within the subsystem are now
13606prefixed with "Acpi" (with only  a few exceptions).  The original
13607two-letter abbreviation for the subcomponent  remains after "Acpi"
13608- for example, CmCallocate became AcpiCmCallocate.
13609
13610Added a source code translation/conversion utility.  Used to
13611generate the Linux  source code, it can be modified to generate
13612other types of source as well. Can  also be used to cleanup
13613existing source by removing extraneous spaces and blank  lines.
13614Found in tools/acpisrc/*
13615
13616OsdUnMapMemory was renamed to OsdUnmapMemory and then
13617AcpiOsUnmapMemory.  (UnMap  became Unmap).
13618
13619A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
13620When set to  one, this indicates that the caller wants to use the
13621
13622semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
13623both types.  However, implementers of this  call may want to use
13624different OS primitives depending on the type of semaphore
13625requested.  For example, some operating systems provide separate
13626
13627"mutex" and  "semaphore" interfaces - where the mutex interface is
13628much faster because it  doesn't have all the overhead of a full
13629semaphore implementation.
13630
13631Fixed a deadlock problem where a method that accesses the PCI
13632address space can  block forever if it is the first access to the
13633space.
13634
13635-------------------------------------------
13636Summary of changes for this label: 06_02_00
13637
13638Support for environments that cannot handle unaligned data
13639accesses (e.g.  firmware and OS environments devoid of alignment
13640handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
13641been added (via configurable macros) in  these three areas: -
13642Transfer of data from the raw AML byte stream is done via byte
13643moves instead of    word/dword/qword moves. - External objects are
13644aligned within the user buffer, including package   elements (sub-
13645objects). - Conversion of name strings to UINT32 Acpi Names is now
13646done byte-wise.
13647
13648The Store operator was modified to mimic Microsoft's
13649implementation when storing  to a Buffer Field.
13650
13651Added a check of the BM_STS bit before entering C3.
13652
13653The methods subdirectory has been obsoleted and removed.  A new
13654file, cmeval.c  subsumes the functionality.
13655
13656A 16-bit (DOS) version of AcpiExec has been developed.  The
13657makefile is under  the acpiexec directory.
13658