xref: /freebsd/sys/contrib/dev/acpica/changes.txt (revision bb15ca603fa442c72dde3f3cb8b46db6970e3950)
1----------------------------------------
223 November 2011. Summary of changes for version 20111123:
3
4This release is available at www.acpica.org/downloads
5The ACPI 5.0 specification is available at www.acpi.info
6
70) ACPI 5.0 Support:
8
9This release contains full support for the ACPI 5.0 specification, as
10summarized below.
11
12Reduced Hardware Support:
13-------------------------
14
15This support allows for ACPI systems without the usual ACPI hardware. This
16support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA will
17not attempt to initialize or use any of the usual ACPI hardware. Note, when
18this flag is set, all of the following ACPI hardware is assumed to be not
19present and is not initialized or accessed:
20
21    General Purpose Events (GPEs)
22    Fixed Events (PM1a/PM1b and PM Control)
23    Power Management Timer and Console Buttons (power/sleep)
24    Real-time Clock Alarm
25    Global Lock
26    System Control Interrupt (SCI)
27    The FACS is assumed to be non-existent
28
29ACPI Tables:
30------------
31
32All new tables and updates to existing tables are fully supported in the
33ACPICA headers (for use by device drivers), the disassembler, and the iASL
34Data Table Compiler. ACPI 5.0 defines these new tables:
35
36    BGRT        /* Boot Graphics Resource Table */
37    DRTM        /* Dynamic Root of Trust for Measurement table */
38    FPDT        /* Firmware Performance Data Table */
39    GTDT        /* Generic Timer Description Table */
40    MPST        /* Memory Power State Table */
41    PCCT        /* Platform Communications Channel Table */
42    PMTT        /* Platform Memory Topology Table */
43    RASF        /* RAS Feature table */
44
45Operation Regions/SpaceIDs:
46---------------------------
47
48All new operation regions are fully supported by the iASL compiler, the
49disassembler, and the ACPICA runtime code (for dispatch to region handlers.)
50The new operation region Space IDs are:
51
52    GeneralPurposeIo
53    GenericSerialBus
54
55Resource Descriptors:
56---------------------
57
58All new ASL resource descriptors are fully supported by the iASL compiler, the
59ASL/AML disassembler, and the ACPICA runtime Resource Manager code (including
60all new predefined resource tags). New descriptors are:
61
62    FixedDma
63    GpioIo
64    GpioInt
65    I2cSerialBus
66    SpiSerialBus
67    UartSerialBus
68
69ASL/AML Operators, New and Modified:
70------------------------------------
71
72One new operator is added, the Connection operator, which is used to associate
73a GeneralPurposeIo or GenericSerialBus resource descriptor with individual
74field objects within an operation region. Several new protocols are associated
75with the AccessAs operator. All are fully supported by the iASL compiler,
76disassembler, and runtime ACPICA AML interpreter:
77
78    Connection                      // Declare Field Connection attributes
79    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
80    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes Protocol
81    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
82    RawDataBuffer                       // Data type for Vendor Data fields
83
84Predefined ASL/AML Objects:
85---------------------------
86
87All new predefined objects/control-methods are supported by the iASL compiler
88and the ACPICA runtime validation/repair (arguments and return values.) New
89predefined names include the following:
90
91Standard Predefined Names (Objects or Control Methods):
92    _AEI, _CLS, _CPC, _CWS, _DEP,
93    _DLM, _EVT, _GCP, _CRT, _GWS,
94    _HRV, _PRE, _PSE, _SRT, _SUB.
95
96Resource Tags (Names used to access individual fields within resource
97descriptors):
98    _DBT, _DPL, _DRS, _END, _FLC,
99    _IOR, _LIN, _MOD, _PAR, _PHA,
100    _PIN, _PPI, _POL, _RXL, _SLV,
101    _SPE, _STB, _TXL, _VEN.
102
103ACPICA External Interfaces:
104---------------------------
105
106Several new interfaces have been defined for use by ACPI-related device
107drivers and other host OS services:
108
109AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS to
110acquire and release AML mutexes that are defined in the DSDT/SSDT tables
111provided by the BIOS. They are intended to be used in conjunction with the
112ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
113mutual exclusion with the AML code/interpreter.
114
115AcpiGetEventResources: Returns the (formatted) resource descriptors as defined
116by the ACPI 5.0 _AEI object (ACPI Event Information).  This object provides
117resource descriptors associated with hardware-reduced platform events, similar
118to the AcpiGetCurrentResources interface.
119
120Operation Region Handlers: For General Purpose IO and Generic Serial Bus
121operation regions, information about the Connection() object and any optional
122length information is passed to the region handler within the Context
123parameter.
124
125AcpiBufferToResource: This interface converts a raw AML buffer containing a
126resource template or resource descriptor to the ACPI_RESOURCE internal format
127suitable for use by device drivers. Can be used by an operation region handler
128to convert the Connection() buffer object into a ACPI_RESOURCE.
129
130Miscellaneous/Tools/TestSuites:
131-------------------------------
132
133Support for extended _HID names (Four alpha characters instead of three).
134Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
135Support for ACPI 5.0 features in the ASLTS test suite.
136Fully updated documentation (ACPICA and iASL reference documents.)
137
138ACPI Table Definition Language:
139-------------------------------
140
141Support for this language was implemented and released as a subsystem of the
142iASL compiler in 2010. (See the iASL compiler User Guide.)
143
144
145Non-ACPI 5.0 changes for this release:
146--------------------------------------
147
1481) ACPICA Core Subsystem:
149
150Fix a problem with operation region declarations where a failure can occur if
151the region name and an argument that evaluates to an object (such as the
152region address) are in different namespace scopes. Lin Ming, ACPICA BZ 937.
153
154Do not abort an ACPI table load if an invalid space ID is found within. This
155will be caught later if the offending method is executed. ACPICA BZ 925.
156
157Fixed an issue with the FFixedHW space ID where the ID was not always
158recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
159
160Fixed a problem with the 32-bit generation of the unix-specific OSL
161(osunixxf.c). Lin Ming, ACPICA BZ 936.
162
163Several changes made to enable generation with the GCC 4.6 compiler. ACPICA BZ
164935.
165
166New error messages: Unsupported I/O requests (not 8/16/32 bit), and Index/Bank
167field registers out-of-range.
168
1692) iASL Compiler/Disassembler and Tools:
170
171iASL: Implemented the __PATH__ operator, which returns the full pathname of
172the current source file.
173
174AcpiHelp: Automatically display expanded keyword information for all ASL
175operators.
176
177Debugger: Add "Template" command to disassemble/dump resource template
178buffers.
179
180Added a new master script to generate and execute the ASLTS test suite.
181Automatically handles 32- and 64-bit generation. See tests/aslts.sh
182
183iASL: Fix problem with listing generation during processing of the Switch()
184operator where AML listing was disabled until the entire Switch block was
185completed.
186
187iASL: Improve support for semicolon statement terminators. Fix "invalid
188character" message for some cases when the semicolon is used. Semicolons are
189now allowed after every <Term> grammar element. ACPICA BZ 927.
190
191iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 923.
192
193Disassembler: Fix problem with disassembly of the DataTableRegion operator
194where an inadvertent "Unhandled deferred opcode" message could be generated.
195
1963) Example Code and Data Size
197
198These are the sizes for the OS-independent acpica.lib produced by the
199Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
200includes the debug output trace mechanism and has a much larger code and data
201size.
202
203  Previous Release:
204    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
205    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
206  Current Release:
207    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
208    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
209
210----------------------------------------
21122 September 2011. Summary of changes for version 20110922:
212
2130) ACPI 5.0 News:
214
215Support for ACPI 5.0 in ACPICA has been underway for several months and will
216be released at the same time that ACPI 5.0 is officially released.
217
218The ACPI 5.0 specification is on track for release in the next few months.
219
2201) ACPICA Core Subsystem:
221
222Fixed a problem where the maximum sleep time for the Sleep() operator was
223intended to be limited to two seconds, but was inadvertently limited to 20
224seconds instead.
225
226Linux and Unix makefiles: Added header file dependencies to ensure correct
227generation of ACPICA core code and utilities. Also simplified the makefiles
228considerably through the use of the vpath variable to specify search paths.
229ACPICA BZ 924.
230
2312) iASL Compiler/Disassembler and Tools:
232
233iASL: Implemented support to check the access length for all fields created to
234access named Resource Descriptor fields. For example, if a resource field is
235defined to be two bits, a warning is issued if a CreateXxxxField() is used
236with an incorrect bit length. This is implemented for all current resource
237descriptor names. ACPICA BZ 930.
238
239Disassembler: Fixed a byte ordering problem with the output of 24-bit and 56-
240bit integers.
241
242iASL: Fixed a couple of issues associated with variable-length package
243objects. 1) properly handle constants like One, Ones, Zero -- do not make a
244VAR_PACKAGE when these are used as a package length. 2) Allow the VAR_PACKAGE
245opcode (in addition to PACKAGE) when validating object types for predefined
246names.
247
248iASL: Emit statistics for all output files (instead of just the ASL input and
249AML output). Includes listings, hex files, etc.
250
251iASL: Added -G option to the table compiler to allow the compilation of custom
252ACPI tables. The only part of a table that is required is the standard 36-byte
253ACPI header.
254
255AcpiXtract: Ported to the standard ACPICA environment (with ACPICA headers),
256which also adds correct 64-bit support. Also, now all output filenames are
257completely lower case.
258
259AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
260loading table files. A warning is issued for any such tables. The only
261exception is an FADT. This also fixes a possible fault when attempting to load
262non-AML tables. ACPICA BZ 932.
263
264AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a
265missing table terminator could cause a fault when using the -p option.
266
267AcpiSrc: Fixed a possible divide-by-zero fault when generating file
268statistics.
269
2703) Example Code and Data Size
271
272These are the sizes for the OS-independent acpica.lib produced by the
273Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
274includes the debug output trace mechanism and has a much larger code and data
275size.
276
277  Previous Release (VC 9.0):
278    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
279    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
280  Current Release (VC 9.0):
281    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
282    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
283
284
285----------------------------------------
28623 June 2011. Summary of changes for version 20110623:
287
2881) ACPI CA Core Subsystem:
289
290Updated the predefined name repair mechanism to not attempt repair of a _TSS
291return object if a _PSS object is present. We can only sort the _TSS return
292package if there is no _PSS within the same scope. This is because if _PSS is
293present, the ACPI specification dictates that the _TSS Power Dissipation field
294is to be ignored, and therefore some BIOSs leave garbage values in the _TSS
295Power field(s). In this case, it is best to just return the _TSS package as-
296is. Reported by, and fixed with assistance from Fenghua Yu.
297
298Added an option to globally disable the control method return value validation
299and repair. This runtime option can be used to disable return value repair if
300this is causing a problem on a particular machine. Also added an option to
301AcpiExec (-dr) to set this disable flag.
302
303All makefiles and project files: Major changes to improve generation of ACPICA
304tools. ACPICA BZ 912:
305    Reduce default optimization levels to improve compatibility
306    For Linux, add strict-aliasing=0 for gcc 4
307    Cleanup and simplify use of command line defines
308    Cleanup multithread library support
309    Improve usage messages
310
311Linux-specific header: update handling of THREAD_ID and pthread. For the 32-
312bit case, improve casting to eliminate possible warnings, especially with the
313acpica tools.
314
315Example Code and Data Size: These are the sizes for the OS-independent
316acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
317version of the code includes the debug output trace mechanism and has a much
318larger code and data size.
319
320  Previous Release (VC 9.0):
321    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
322    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
323  Current Release (VC 9.0):
324    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
325    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
326
3272) iASL Compiler/Disassembler and Tools:
328
329With this release, a new utility named "acpihelp" has been added to the ACPICA
330package. This utility summarizes the ACPI specification chapters for the ASL
331and AML languages. It generates under Linux/Unix as well as Windows, and
332provides the following functionality:
333    Find/display ASL operator(s) -- with description and syntax.
334    Find/display ASL keyword(s) -- with exact spelling and descriptions.
335    Find/display ACPI predefined name(s) -- with description, number
336        of arguments, and the return value data type.
337    Find/display AML opcode name(s) -- with opcode, arguments, and grammar.
338    Decode/display AML opcode -- with opcode name, arguments, and grammar.
339
340Service Layers: Make multi-thread support configurable. Conditionally compile
341the multi-thread support so that threading libraries will not be linked if not
342necessary. The only tool that requires multi-thread support is AcpiExec.
343
344iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions of
345Bison appear to want the interface to yyerror to be a const char * (or at
346least this is a problem when generating iASL on some systems.) ACPICA BZ 923
347Pierre Lejeune.
348
349Tools: Fix for systems where O_BINARY is not defined. Only used for Windows
350versions of the tools.
351
352----------------------------------------
35327 May 2011. Summary of changes for version 20110527:
354
3551) ACPI CA Core Subsystem:
356
357ASL Load() operator: Reinstate most restrictions on the incoming ACPI table
358signature. Now, only allow SSDT, OEMx, and a null signature. History:
359    1) Originally, we checked the table signature for "SSDT" or "PSDT".
360       (PSDT is now obsolete.)
361    2) We added support for OEMx tables, signature "OEM" plus a fourth
362       "don't care" character.
363    3) Valid tables were encountered with a null signature, so we just
364       gave up on validating the signature, (05/2008).
365    4) We encountered non-AML tables such as the MADT, which caused
366       interpreter errors and kernel faults. So now, we once again allow
367       only SSDT, OEMx, and now, also a null signature. (05/2011).
368
369Added the missing _TDL predefined name to the global name list in order to
370enable validation. Affects both the core ACPICA code and the iASL compiler.
371
372Example Code and Data Size: These are the sizes for the OS-independent
373acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
374version of the code includes the debug output trace mechanism and has a much
375larger code and data size.
376
377  Previous Release (VC 9.0):
378    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
379    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
380  Current Release (VC 9.0):
381    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
382    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
383
3842) iASL Compiler/Disassembler and Tools:
385
386Debugger/AcpiExec: Implemented support for "complex" method arguments on the
387debugger command line. This adds support beyond simple integers -- including
388Strings, Buffers, and Packages. Includes support for nested packages.
389Increased the default command line buffer size to accommodate these arguments.
390See the ACPICA reference for details and syntax. ACPICA BZ 917.
391
392Debugger/AcpiExec: Implemented support for "default" method arguments for the
393Execute/Debug command. Now, the debugger will always invoke a control method
394with the required number of arguments -- even if the command line specifies
395none or insufficient arguments. It uses default integer values for any missing
396arguments. Also fixes a bug where only six method arguments maximum were
397supported instead of the required seven.
398
399Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and
400also return status in order to prevent buffer overruns. See the ACPICA
401reference for details and syntax. ACPICA BZ 921
402
403iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
404makefiles to simplify support for the two different but similar parser
405generators, bison and yacc.
406
407Updated the generic unix makefile for gcc 4. The default gcc version is now
408expected to be 4 or greater, since options specific to gcc 4 are used.
409
410----------------------------------------
41113 April 2011. Summary of changes for version 20110413:
412
4131) ACPI CA Core Subsystem:
414
415Implemented support to execute a so-called "orphan" _REG method under the EC
416device. This change will force the execution of a _REG method underneath the
417EC
418device even if there is no corresponding operation region of type
419EmbeddedControl. Fixes a problem seen on some machines and apparently is
420compatible with Windows behavior. ACPICA BZ 875.
421
422Added more predefined methods that are eligible for automatic NULL package
423element removal. This change adds another group of predefined names to the
424list
425of names that can be repaired by having NULL package elements dynamically
426removed. This group are those methods that return a single variable-length
427package containing simple data types such as integers, buffers, strings. This
428includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL,
429_Sx,
430and _TZD. ACPICA BZ 914.
431
432Split and segregated all internal global lock functions to a new file,
433evglock.c.
434
435Updated internal address SpaceID for DataTable regions. Moved this internal
436space
437id in preparation for ACPI 5.0 changes that will include some new space IDs.
438This
439change should not affect user/host code.
440
441Example Code and Data Size: These are the sizes for the OS-independent
442acpica.lib
443produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of
444the code includes the debug output trace mechanism and has a much larger code
445and
446data size.
447
448  Previous Release (VC 9.0):
449    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
450    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
451  Current Release (VC 9.0):
452    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
453    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
454
4552) iASL Compiler/Disassembler and Tools:
456
457iASL/DTC: Major update for new grammar features. Allow generic data types in
458custom ACPI tables. Field names are now optional. Any line can be split to
459multiple lines using the continuation char (\). Large buffers now use line-
460continuation character(s) and no colon on the continuation lines. See the
461grammar
462update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
463
464iASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements.
465Since the parser stuffs a "zero" as the return value for these statements (due
466to
467the underlying AML grammar), they were seen as "return with value" by the iASL
468semantic checking. They are now seen correctly as "null" return statements.
469
470iASL: Check if a_REG declaration has a corresponding Operation Region. Adds a
471check for each _REG to ensure that there is in fact a corresponding operation
472region declaration in the same scope. If not, the _REG method is not very
473useful
474since it probably won't be executed. ACPICA BZ 915.
475
476iASL/DTC: Finish support for expression evaluation. Added a new expression
477parser
478that implements c-style operator precedence and parenthesization. ACPICA
479bugzilla
480908.
481
482Disassembler/DTC: Remove support for () and <> style comments in data tables.
483Now
484that DTC has full expression support, we don't want to have comment strings
485that
486start with a parentheses or a less-than symbol. Now, only the standard /* and
487//
488comments are supported, as well as the bracket [] comments.
489
490AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
491"unusual"
492headers in the acpidump file. Update the header validation to support these
493tables. Problem introduced in previous AcpiXtract version in the change to
494support "wrong checksum" error messages emitted by acpidump utility.
495
496iASL: Add a * option to generate all template files (as a synonym for ALL) as
497in
498"iasl -T *" or "iasl -T ALL".
499
500iASL/DTC: Do not abort compiler on fatal errors. We do not want to completely
501abort the compiler on "fatal" errors, simply should abort the current compile.
502This allows multiple compiles with a single (possibly wildcard) compiler
503invocation.
504
505----------------------------------------
50616 March 2011. Summary of changes for version 20110316:
507
5081) ACPI CA Core Subsystem:
509
510Fixed a problem caused by a _PRW method appearing at the namespace root scope
511during the setup of wake GPEs. A fault could occur if a _PRW directly under
512the
513root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
514
515Implemented support for "spurious" Global Lock interrupts. On some systems, a
516global lock interrupt can occur without the pending flag being set. Upon a GL
517interrupt, we now ensure that a thread is actually waiting for the lock before
518signaling GL availability. Rafael Wysocki, Bob Moore.
519
520Example Code and Data Size: These are the sizes for the OS-independent
521acpica.lib
522produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of
523the code includes the debug output trace mechanism and has a much larger code
524and
525data size.
526
527  Previous Release (VC 9.0):
528    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
529    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
530  Current Release (VC 9.0):
531    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
532    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
533
5342) iASL Compiler/Disassembler and Tools:
535
536Implemented full support for the "SLIC" ACPI table. Includes support in the
537header files, disassembler, table compiler, and template generator. Bob Moore,
538Lin Ming.
539
540AcpiXtract: Correctly handle embedded comments and messages from AcpiDump.
541Apparently some or all versions of acpidump will occasionally emit a comment
542like
543"Wrong checksum", etc., into the dump file. This was causing problems for
544AcpiXtract. ACPICA BZ 905.
545
546iASL: Fix the Linux makefile by removing an inadvertent double file inclusion.
547ACPICA BZ 913.
548
549AcpiExec: Update installation of operation region handlers. Install one
550handler
551for a user-defined address space. This is used by the ASL test suite (ASLTS).
552
553----------------------------------------
55411 February 2011. Summary of changes for version 20110211:
555
5561) ACPI CA Core Subsystem:
557
558Added a mechanism to defer _REG methods for some early-installed handlers.
559Most user handlers should be installed before call to AcpiEnableSubsystem.
560However, Event handlers and region handlers should be installed after
561AcpiInitializeObjects. Override handlers for the "default" regions should be
562installed early, however. This change executes all _REG methods for the
563default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
564chicken/egg issues between them. ACPICA BZ 848.
565
566Implemented an optimization for GPE detection. This optimization will simply
567ignore GPE registers that contain no enabled GPEs -- there is no need to
568read the register since this information is available internally. This
569becomes more important on machines with a large GPE space. ACPICA bugzilla
570884. Lin Ming. Suggestion from Joe Liu.
571
572Removed all use of the highly unreliable FADT revision field. The revision
573number in the FADT has been found to be completely unreliable and cannot be
574trusted. Only the actual table length can be used to infer the version. This
575change updates the ACPICA core and the disassembler so that both no longer
576even look at the FADT version and instead depend solely upon the FADT
577length.
578
579Fix an unresolved name issue for the no-debug and no-error-message source
580generation cases. The _AcpiModuleName was left undefined in these cases, but
581it is actually needed as a parameter to some interfaces. Define
582_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
583
584Split several large files (makefiles and project files updated)
585  utglobal.c   -> utdecode.c
586  dbcomds.c    -> dbmethod.c dbnames.c
587  dsopcode.c   -> dsargs.c dscontrol.c
588  dsload.c     -> dsload2.c
589  aslanalyze.c -> aslbtypes.c aslwalks.c
590
591Example Code and Data Size: These are the sizes for the OS-independent
592acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
593debug version of the code includes the debug output trace mechanism and has
594a much larger code and data size.
595
596  Previous Release (VC 9.0):
597    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
598    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
599  Current Release (VC 9.0):
600    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
601    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
602
6032) iASL Compiler/Disassembler and Tools:
604
605iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
606These are useful C-style macros with the standard definitions. ACPICA
607bugzilla 898.
608
609iASL/DTC: Added support for integer expressions and labels. Support for full
610expressions for all integer fields in all ACPI tables. Support for labels in
611"generic" portions of tables such as UEFI. See the iASL reference manual.
612
613Debugger: Added a command to display the status of global handlers. The
614"handlers" command will display op region, fixed event, and miscellaneous
615global handlers. installation status -- and for op regions, whether default
616or user-installed handler will be used.
617
618iASL: Warn if reserved method incorrectly returns a value. Many predefined
619names are defined such that they do not return a value. If implemented as a
620method, issue a warning if such a name explicitly returns a value. ACPICA
621Bugzilla 855.
622
623iASL: Added detection of GPE method name conflicts. Detects a conflict where
624there are two GPE methods of the form _Lxy and _Exy in the same scope. (For
625example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
626
627iASL/DTC: Fixed a couple input scanner issues with comments and line
628numbers. Comment remover could get confused and miss a comment ending. Fixed
629a problem with line counter maintenance.
630
631iASL/DTC: Reduced the severity of some errors from fatal to error. There is
632no need to abort on simple errors within a field definition.
633
634Debugger: Simplified the output of the help command. All help output now in
635a single screen, instead of help subcommands. ACPICA Bugzilla 897.
636
637----------------------------------------
63812 January 2011. Summary of changes for version 20110112:
639
6401) ACPI CA Core Subsystem:
641
642Fixed a race condition between method execution and namespace walks that can
643possibly cause a fault. The problem was apparently introduced in version
64420100528 as a result of a performance optimization that reduces the number of
645namespace walks upon method exit by using the delete_namespace_subtree
646function instead of the delete_namespace_by_owner function used previously.
647Bug is a missing namespace lock in the delete_namespace_subtree function.
648dana.myers@oracle.com
649
650Fixed several issues and a possible fault with the automatic "serialized"
651method support. History: This support changes a method to "serialized" on the
652fly if the method generates an AE_ALREADY_EXISTS error, indicating the
653possibility that it cannot handle reentrancy. This fix repairs a couple of
654issues seen in the field, especially on machines with many cores:
655
656    1) Delete method children only upon the exit of the last thread,
657       so as to not delete objects out from under other running threads
658      (and possibly causing a fault.)
659    2) Set the "serialized" bit for the method only upon the exit of the
660       Last thread, so as to not cause deadlock when running threads
661       attempt to exit.
662    3) Cleanup the use of the AML "MethodFlags" and internal method flags
663       so that there is no longer any confusion between the two.
664
665    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
666
667Debugger: Now lock the namespace for duration of a namespace dump. Prevents
668issues if the namespace is changing dynamically underneath the debugger.
669Especially affects temporary namespace nodes, since the debugger displays
670these also.
671
672Updated the ordering of include files. The ACPICA headers should appear
673before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set
674any necessary compiler-specific defines, etc. Affects the ACPI-related tools
675and utilities.
676
677Updated all ACPICA copyrights and signons to 2011. Added the 2011 copyright
678to all module headers and signons, including the Linux header. This affects
679virtually every file in the ACPICA core subsystem, iASL compiler, and all
680utilities.
681
682Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
683project files for VC++ 6.0 are now obsolete. New project files can be found
684under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
685details.
686
687Example Code and Data Size: These are the sizes for the OS-independent
688acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
689debug version of the code includes the debug output trace mechanism and has a
690much larger code and data size.
691
692  Previous Release (VC 6.0):
693    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
694    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
695  Current Release (VC 9.0):
696    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
697    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
698
6992) iASL Compiler/Disassembler and Tools:
700
701iASL: Added generic data types to the Data Table compiler. Add "generic" data
702types such as UINT32, String, Unicode, etc., to simplify the generation of
703platform-defined tables such as UEFI. Lin Ming.
704
705iASL: Added listing support for the Data Table Compiler. Adds listing support
706(-l) to display actual binary output for each line of input code.
707
708----------------------------------------
70909 December 2010. Summary of changes for version 20101209:
710
7111) ACPI CA Core Subsystem:
712
713Completed the major overhaul of the GPE support code that was begun in July
7142010. Major features include: removal of _PRW execution in ACPICA (host
715executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
716changes to existing interfaces, simplification of GPE handler operation, and
717a handful of new interfaces:
718
719    AcpiUpdateAllGpes
720    AcpiFinishGpe
721    AcpiSetupGpeForWake
722    AcpiSetGpeWakeMask
723    One new file, evxfgpe.c to consolidate all external GPE interfaces.
724
725See the ACPICA Programmer Reference for full details and programming
726information. See the new section 4.4 "General Purpose Event (GPE) Support"
727for a full overview, and section 8.7 "ACPI General Purpose Event Management"
728for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming,
729Bob Moore, Rafael Wysocki.
730
731Implemented a new GPE feature for Windows compatibility, the "Implicit Wake
732GPE Notify". This feature will automatically issue a Notify(2) on a device
733when a Wake GPE is received if there is no corresponding GPE method or
734handler. ACPICA BZ 870.
735
736Fixed a problem with the Scope() operator during table parse and load phase.
737During load phase (table load or method execution), the scope operator should
738not enter the target into the namespace. Instead, it should open a new scope
739at the target location. Linux BZ 19462, ACPICA BZ 882.
740
741Example Code and Data Size: These are the sizes for the OS-independent
742acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
743debug version of the code includes the debug output trace mechanism and has a
744much larger code and data size.
745
746  Previous Release:
747    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
748    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
749  Current Release:
750    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
751    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
752
7532) iASL Compiler/Disassembler and Tools:
754
755iASL: Relax the alphanumeric restriction on _CID strings. These strings are
756"bus-specific" per the ACPI specification, and therefore any characters are
757acceptable. The only checks that can be performed are for a null string and
758perhaps for a leading asterisk. ACPICA BZ 886.
759
760iASL: Fixed a problem where a syntax error that caused a premature EOF
761condition on the source file emitted a very confusing error message. The
762premature EOF is now detected correctly. ACPICA BZ 891.
763
764Disassembler: Decode the AccessSize within a Generic Address Structure (byte
765access, word access, etc.) Note, this field does not allow arbitrary bit
766access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
767
768New: AcpiNames utility - Example namespace dump utility. Shows an example of
769ACPICA configuration for a minimal namespace dump utility. Uses table and
770namespace managers, but no AML interpreter. Does not add any functionality
771over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
772partition and configure ACPICA. ACPICA BZ 883.
773
774AML Debugger: Increased the debugger buffer size for method return objects.
775Was 4K, increased to 16K. Also enhanced error messages for debugger method
776execution, including the buffer overflow case.
777
778----------------------------------------
77913 October 2010. Summary of changes for version 20101013:
780
7811) ACPI CA Core Subsystem:
782
783Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, now
784clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
785HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
786
787Changed the type of the predefined namespace object _TZ from ThermalZone to
788Device. This was found to be confusing to the host software that processes
789the various thermal zones, since _TZ is not really a ThermalZone. However, a
790Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
791Zhang.
792
793Added Windows Vista SP2 to the list of supported _OSI strings. The actual
794string is "Windows 2006 SP2".
795
796Eliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair
797code automatically repairs _HID-related strings, this type of code is no
798longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
799
800Example Code and Data Size: These are the sizes for the OS-independent
801acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
802debug version of the code includes the debug output trace mechanism and has a
803much larger code and data size.
804
805  Previous Release:
806    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
807    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
808  Current Release:
809    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
810    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
811
8122) iASL Compiler/Disassembler and Tools:
813
814iASL: Implemented additional compile-time validation for _HID strings. The
815non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of
816the string must be exactly seven or eight characters. For both _HID and _CID
817strings, all characters must be alphanumeric. ACPICA BZ 874.
818
819iASL: Allow certain "null" resource descriptors. Some BIOS code creates
820descriptors that are mostly or all zeros, with the expectation that they will
821be filled in at runtime. iASL now allows this as long as there is a "resource
822tag" (name) associated with the descriptor, which gives the ASL a handle
823needed to modify the descriptor. ACPICA BZ 873.
824
825Added single-thread support to the generic Unix application OSL. Primarily
826for iASL support, this change removes the use of semaphores in the single-
827threaded ACPICA tools/applications - increasing performance. The
828_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
829option. ACPICA BZ 879.
830
831AcpiExec: several fixes for the 64-bit version. Adds XSDT support and support
832for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
833
834iASL: Moved all compiler messages to a new file, aslmessages.h.
835
836----------------------------------------
83715 September 2010. Summary of changes for version 20100915:
838
8391) ACPI CA Core Subsystem:
840
841Removed the AcpiOsDerivePciId OSL interface. The various host implementations
842of this function were not OS-dependent and are now obsolete and can be
843removed from all host OSLs. This function has been replaced by
844AcpiHwDerivePciId, which is now part of the ACPICA core code.
845AcpiHwDerivePciId has been implemented without recursion. Adds one new
846module, hwpci.c. ACPICA BZ 857.
847
848Implemented a dynamic repair for _HID and _CID strings. The following
849problems are now repaired at runtime: 1) Remove a leading asterisk in the
850string, and 2) the entire string is uppercased. Both repairs are in
851accordance with the ACPI specification and will simplify host driver code.
852ACPICA BZ 871.
853
854The ACPI_THREAD_ID type is no longer configurable, internally it is now
855always UINT64. This simplifies the ACPICA code, especially any printf output.
856UINT64 is the only common data type for all thread_id types across all
857operating systems. It is now up to the host OSL to cast the native thread_id
858type to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId).
859Lin Ming, Bob Moore.
860
861Added the ACPI_INLINE type to enhance the ACPICA configuration. The "inline"
862keyword is not standard across compilers, and this type allows inline to be
863configured on a per-compiler basis. Lin Ming.
864
865Made the system global AcpiGbl_SystemAwakeAndRunning publically available.
866Added an extern for this boolean in acpixf.h. Some hosts utilize this value
867during suspend/restore operations. ACPICA BZ 869.
868
869All code that implements error/warning messages with the "ACPI:" prefix has
870been moved to a new module, utxferror.c.
871
872The UINT64_OVERLAY was moved to utmath.c, which is the only module where it
873is used. ACPICA BZ 829. Lin Ming, Bob Moore.
874
875Example Code and Data Size: These are the sizes for the OS-independent
876acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
877debug version of the code includes the debug output trace mechanism and has a
878much larger code and data size.
879
880  Previous Release:
881    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
882    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
883  Current Release:
884    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
885    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
886
8872) iASL Compiler/Disassembler and Tools:
888
889iASL/Disassembler: Write ACPI errors to stderr instead of the output file.
890This keeps the output files free of random error messages that may originate
891from within the namespace/interpreter code. Used this opportunity to merge
892all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
893866. Lin Ming, Bob Moore.
894
895Tools: update some printfs for ansi warnings on size_t. Handle width change
896of size_t on 32-bit versus 64-bit generations. Lin Ming.
897
898----------------------------------------
89906 August 2010. Summary of changes for version 20100806:
900
9011) ACPI CA Core Subsystem:
902
903Designed and implemented a new host interface to the _OSI support code. This
904will allow the host to dynamically add or remove multiple _OSI strings, as
905well as install an optional handler that is called for each _OSI invocation.
906Also added a new AML debugger command, 'osi' to display and modify the global
907_OSI string table, and test support in the AcpiExec utility. See the ACPICA
908reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
909New Functions:
910    AcpiInstallInterface - Add an _OSI string.
911    AcpiRemoveInterface - Delete an _OSI string.
912    AcpiInstallInterfaceHandler - Install optional _OSI handler.
913Obsolete Functions:
914    AcpiOsValidateInterface - no longer used.
915New Files:
916    source/components/utilities/utosi.c
917
918Re-introduced the support to enable multi-byte transfers for Embedded
919Controller (EC) operation regions. A reported problem was found to be a bug
920in the host OS, not in the multi-byte support. Previously, the maximum data
921size passed to the EC operation region handler was a single byte. There are
922often EC Fields larger than one byte that need to be transferred, and it is
923useful for the EC driver to lock these as a single transaction. This change
924enables single transfers larger than 8 bits. This effectively changes the
925access to the EC space from ByteAcc to AnyAcc, and will probably require
926changes to the host OS Embedded Controller driver to enable 16/32/64/256-bit
927transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
928
929Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
930prototype in acpiosxf.h had the output value pointer as a (void *).
931It should be a (UINT64 *). This may affect some host OSL code.
932
933Fixed a couple problems with the recently modified Linux makefiles for iASL
934and AcpiExec. These new makefiles place the generated object files in the
935local directory so that there can be no collisions between the files that are
936shared between them that are compiled with different options.
937
938Example Code and Data Size: These are the sizes for the OS-independent
939acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
940debug version of the code includes the debug output trace mechanism and has a
941much larger code and data size.
942
943  Previous Release:
944    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
945    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
946  Current Release:
947    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
948    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
949
9502) iASL Compiler/Disassembler and Tools:
951
952iASL/Disassembler: Added a new option (-da, "disassemble all") to load the
953namespace from and disassemble an entire group of AML files. Useful for
954loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and
955disassembling with one simple command. ACPICA BZ 865. Lin Ming.
956
957iASL: Allow multiple invocations of -e option. This change allows multiple
958uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834.
959Lin Ming.
960
961----------------------------------------
96202 July 2010. Summary of changes for version 20100702:
963
9641) ACPI CA Core Subsystem:
965
966Implemented several updates to the recently added GPE reference count
967support. The model for "wake" GPEs is changing to give the host OS complete
968control of these GPEs. Eventually, the ACPICA core will not execute any _PRW
969methods, since the host already must execute them. Also, additional changes
970were made to help ensure that the reference counts are kept in proper
971synchronization with reality. Rafael J. Wysocki.
972
9731) Ensure that GPEs are not enabled twice during initialization.
9742) Ensure that GPE enable masks stay in sync with the reference count.
9753) Do not inadvertently enable GPEs when writing GPE registers.
9764) Remove the internal wake reference counter and add new AcpiGpeWakeup
977interface. This interface will set or clear individual GPEs for wakeup.
9785) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces
979are now used for "runtime" GPEs only.
980
981Changed the behavior of the GPE install/remove handler interfaces. The GPE is
982no longer disabled during this process, as it was found to cause problems on
983some machines. Rafael J. Wysocki.
984
985Reverted a change introduced in version 20100528 to enable Embedded
986Controller multi-byte transfers. This change was found to cause problems with
987Index Fields and possibly Bank Fields. It will be reintroduced when these
988problems have been resolved.
989
990Fixed a problem with references to Alias objects within Package Objects. A
991reference to an Alias within the definition of a Package was not always
992resolved properly. Aliases to objects like Processors, Thermal zones, etc.
993were resolved to the actual object instead of a reference to the object as it
994should be. Package objects are only allowed to contain integer, string,
995buffer, package, and reference objects. Redhat bugzilla 608648.
996
997Example Code and Data Size: These are the sizes for the OS-independent
998acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
999debug version of the code includes the debug output trace mechanism and has a
1000much larger code and data size.
1001
1002  Previous Release:
1003    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1004    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1005  Current Release:
1006    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1007    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
1008
10092) iASL Compiler/Disassembler and Tools:
1010
1011iASL: Implemented a new compiler subsystem to allow definition and
1012compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These
1013are called "ACPI Data Tables", and the new compiler is the "Data Table
1014Compiler". This compiler is intended to simplify the existing error-prone
1015process of creating these tables for the BIOS, as well as allowing the
1016disassembly, modification, recompilation, and override of existing ACPI data
1017tables. See the iASL User Guide for detailed information.
1018
1019iASL: Implemented a new Template Generator option in support of the new Data
1020Table Compiler. This option will create examples of all known ACPI tables
1021that can be used as the basis for table development. See the iASL
1022documentation and the -T option.
1023
1024Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
1025Descriptor Table).
1026
1027Updated the Linux makefiles for iASL and AcpiExec to place the generated
1028object files in the local directory so that there can be no collisions
1029between the shared files between them that are generated with different
1030options.
1031
1032Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use
1033the #define __APPLE__ to enable this support.
1034
1035----------------------------------------
103628 May 2010. Summary of changes for version 20100528:
1037
1038Note: The ACPI 4.0a specification was released on April 5, 2010 and is
1039available at www.acpi.info. This is primarily an errata release.
1040
10411) ACPI CA Core Subsystem:
1042
1043Undefined ACPI tables: We are looking for the definitions for the following
1044ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
1045
1046Implemented support to enable multi-byte transfers for Embedded Controller
1047(EC) operation regions. Previously, the maximum data size passed to the EC
1048operation region handler was a single byte. There are often EC Fields larger
1049than one byte that need to be transferred, and it is useful for the EC driver
1050to lock these as a single transaction. This change enables single transfers
1051larger than 8 bits. This effectively changes the access to the EC space from
1052ByteAcc to AnyAcc, and will probably require changes to the host OS Embedded
1053Controller driver to enable 16/32/64/256-bit transfers in addition to 8-bit
1054transfers. Alexey Starikovskiy, Lin Ming
1055
1056Implemented a performance enhancement for namespace search and access. This
1057change enhances the performance of namespace searches and walks by adding a
1058backpointer to the parent in each namespace node. On large namespaces, this
1059change can improve overall ACPI performance by up to 9X. Adding a pointer to
1060each namespace node increases the overall size of the internal namespace by
1061about 5%, since each namespace entry usually consists of both a namespace
1062node and an ACPI operand object. However, this is the first growth of the
1063namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
1064
1065Implemented a performance optimization that reduces the number of namespace
1066walks. On control method exit, only walk the namespace if the method is known
1067to have created namespace objects outside of its local scope. Previously, the
1068entire namespace was traversed on each control method exit. This change can
1069improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
1070
1071Added support to truncate I/O addresses to 16 bits for Windows compatibility.
1072Some ASL code has been seen in the field that inadvertently has bits set
1073above bit 15. This feature is optional and is enabled if the BIOS requests
1074any Windows OSI strings. It can also be enabled by the host OS. Matthew
1075Garrett, Bob Moore.
1076
1077Added support to limit the maximum time for the ASL Sleep() operator. To
1078prevent accidental deep sleeps, limit the maximum time that Sleep() will
1079actually sleep. Configurable, the default maximum is two seconds. ACPICA
1080bugzilla 854.
1081
1082Added run-time validation support for the _WDG and_WED Microsoft predefined
1083methods. These objects are defined by "Windows Instrumentation", and are not
1084part of the ACPI spec. ACPICA BZ 860.
1085
1086Expanded all statistic counters used during namespace and device
1087initialization from 16 to 32 bits in order to support very large namespaces.
1088
1089Replaced all instances of %d in printf format specifiers with %u since nearly
1090all integers in ACPICA are unsigned.
1091
1092Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned
1093as AE_NO_HANDLER.
1094
1095Example Code and Data Size: These are the sizes for the OS-independent
1096acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1097debug version of the code includes the debug output trace mechanism and has a
1098much larger code and data size.
1099
1100  Previous Release:
1101    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1102    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1103  Current Release:
1104    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
1105    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
1106
11072) iASL Compiler/Disassembler and Tools:
1108
1109iASL: Added compiler support for the _WDG and_WED Microsoft predefined
1110methods. These objects are defined by "Windows Instrumentation", and are not
1111part of the ACPI spec. ACPICA BZ 860.
1112
1113AcpiExec: added option to disable the memory tracking mechanism. The -dt
1114option will disable the tracking mechanism, which improves performance
1115considerably.
1116
1117AcpiExec: Restructured the command line options into -d (disable) and -e
1118(enable) options.
1119
1120----------------------------------------
112128 April 2010. Summary of changes for version 20100428:
1122
11231) ACPI CA Core Subsystem:
1124
1125Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
1126including FADT-based and GPE Block Devices, execute any _PRW methods in the
1127new table, and process any _Lxx/_Exx GPE methods in the new table. Any
1128runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
1129immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
1130Devices. Provides compatibility with other ACPI implementations. Two new
1131files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
1132
1133Fixed a regression introduced in version 20100331 within the table manager
1134where initial table loading could fail. This was introduced in the fix for
1135AcpiReallocateRootTable. Also, renamed some of fields in the table manager
1136data structures to clarify their meaning and use.
1137
1138Fixed a possible allocation overrun during internal object copy in
1139AcpiUtCopySimpleObject. The original code did not correctly handle the case
1140where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
1141
1142Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
1143possible access beyond end-of-allocation. Also, now fully validate descriptor
1144(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
1145
1146Example Code and Data Size: These are the sizes for the OS-independent
1147acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1148debug version of the code includes the debug output trace mechanism and has a
1149much larger code and data size.
1150
1151  Previous Release:
1152    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1153    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1154  Current Release:
1155    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
1156    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
1157
11582) iASL Compiler/Disassembler and Tools:
1159
1160iASL: Implemented Min/Max/Len/Gran validation for address resource
1161descriptors. This change implements validation for the address fields that
1162are common to all address-type resource descriptors. These checks are
1163implemented: Checks for valid Min/Max, length within the Min/Max window,
1164valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per
1165table 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c
1166and aslrestype2.c files into five new files. ACPICA BZ 840.
1167
1168iASL: Added support for the _Wxx predefined names. This support was missing
1169and these names were not recognized by the compiler as valid predefined
1170names. ACPICA BZ 851.
1171
1172iASL: Added an error for all predefined names that are defined to return no
1173value and thus must be implemented as Control Methods. These include all of
1174the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
1175names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
1176
1177iASL: Implemented the -ts option to emit hex AML data in ASL format, as an
1178ASL Buffer. Allows ACPI tables to be easily included within ASL files, to be
1179dynamically loaded via the Load() operator. Also cleaned up output for the -
1180ta and -tc options. ACPICA BZ 853.
1181
1182Tests: Added a new file with examples of extended iASL error checking.
1183Demonstrates the advanced error checking ability of the iASL compiler.
1184Available at tests/misc/badcode.asl.
1185
1186----------------------------------------
118731 March 2010. Summary of changes for version 20100331:
1188
11891) ACPI CA Core Subsystem:
1190
1191Completed a major update for the GPE support in order to improve support for
1192shared GPEs and to simplify both host OS and ACPICA code. Added a reference
1193count mechanism to support shared GPEs that require multiple device drivers.
1194Several external interfaces have changed. One external interface has been
1195removed. One new external interface was added. Most of the GPE external
1196interfaces now use the GPE spinlock instead of the events mutex (and the
1197Flags parameter for many GPE interfaces has been removed.) See the updated
1198ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael
1199Wysocki. ACPICA BZ 831.
1200
1201Changed:
1202    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
1203Removed:
1204    AcpiSetGpeType
1205New:
1206    AcpiSetGpe
1207
1208Implemented write support for DataTable operation regions. These regions are
1209defined via the DataTableRegion() operator. Previously, only read support was
1210implemented. The ACPI specification allows DataTableRegions to be read/write,
1211however.
1212
1213Implemented a new subsystem option to force a copy of the DSDT to local
1214memory. Optionally copy the entire DSDT to local memory (instead of simply
1215mapping it.) There are some (albeit very rare) BIOSs that corrupt or replace
1216the original DSDT, creating the need for this option. Default is FALSE, do
1217not copy the DSDT.
1218
1219Implemented detection of a corrupted or replaced DSDT. This change adds
1220support to detect a DSDT that has been corrupted and/or replaced from outside
1221the OS (by firmware). This is typically catastrophic for the system, but has
1222been seen on some machines. Once this problem has been detected, the DSDT
1223copy option can be enabled via system configuration. Lin Ming, Bob Moore.
1224
1225Fixed two problems with AcpiReallocateRootTable during the root table copy.
1226When copying the root table to the new allocation, the length used was
1227incorrect. The new size was used instead of the current table size, meaning
1228too much data was copied. Also, the count of available slots for ACPI tables
1229was not set correctly. Alexey Starikovskiy, Bob Moore.
1230
1231Example Code and Data Size: These are the sizes for the OS-independent
1232acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1233debug version of the code includes the debug output trace mechanism and has a
1234much larger code and data size.
1235
1236  Previous Release:
1237    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1238    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1239  Current Release:
1240    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
1241    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
1242
12432) iASL Compiler/Disassembler and Tools:
1244
1245iASL: Implement limited typechecking for values returned from predefined
1246control methods. The type of any returned static (unnamed) object is now
1247validated. For example, Return(1). ACPICA BZ 786.
1248
1249iASL: Fixed a predefined name object verification regression. Fixes a problem
1250introduced in version 20100304. An error is incorrectly generated if a
1251predefined name is declared as a static named object with a value defined
1252using the keywords "Zero", "One", or "Ones". Lin Ming.
1253
1254iASL: Added Windows 7 support for the -g option (get local ACPI tables) by
1255reducing the requested registry access rights. ACPICA BZ 842.
1256
1257Disassembler: fixed a possible fault when generating External() statements.
1258Introduced in commit ae7d6fd: Properly handle externals with parent-prefix
1259(carat). Fixes a string length allocation calculation. Lin Ming.
1260
1261----------------------------------------
126204 March 2010. Summary of changes for version 20100304:
1263
12641) ACPI CA Core Subsystem:
1265
1266Fixed a possible problem with the AML Mutex handling function
1267AcpiExReleaseMutex where the function could fault under the very rare
1268condition when the interpreter has blocked, the interpreter lock is released,
1269the interpreter is then reentered via the same thread, and attempts to
1270acquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin
1271Ming.
1272
1273Implemented additional configuration support for the AML "Debug Object".
1274Output from the debug object can now be enabled via a global variable,
1275AcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging.
1276This debug output is now available in the release version of ACPICA instead
1277of just the debug version. Also, the entire debug output module can now be
1278configured out of the ACPICA build if desired. One new file added,
1279executer/exdebug.c. Lin Ming, Bob Moore.
1280
1281Added header support for the ACPI MCHI table (Management Controller Host
1282Interface Table). This table was added in ACPI 4.0, but the defining document
1283has only recently become available.
1284
1285Standardized output of integer values for ACPICA warnings/errors. Always use
12860x prefix for hex output, always use %u for unsigned integer decimal output.
1287Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400
1288invocations.) These invocations were converted from the original
1289ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
1290
1291Example Code and Data Size: These are the sizes for the OS-independent
1292acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1293debug version of the code includes the debug output trace mechanism and has a
1294much larger code and data size.
1295
1296  Previous Release:
1297    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1298    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1299  Current Release:
1300    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
1301    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
1302
13032) iASL Compiler/Disassembler and Tools:
1304
1305iASL: Implemented typechecking support for static (non-control method)
1306predefined named objects that are declared with the Name() operator. For
1307example, the type of this object is now validated to be of type Integer:
1308Name(_BBN, 1). This change migrates the compiler to using the core predefined
1309name table instead of maintaining a local version. Added a new file,
1310aslpredef.c. ACPICA BZ 832.
1311
1312Disassembler: Added support for the ACPI 4.0 MCHI table.
1313
1314----------------------------------------
131521 January 2010. Summary of changes for version 20100121:
1316
13171) ACPI CA Core Subsystem:
1318
1319Added the 2010 copyright to all module headers and signons. This affects
1320virtually every file in the ACPICA core subsystem, the iASL compiler, the
1321tools/utilities, and the test suites.
1322
1323Implemented a change to the AcpiGetDevices interface to eliminate unnecessary
1324invocations of the _STA method. In the case where a specific _HID is
1325requested, do not run _STA until a _HID match is found. This eliminates
1326potentially dozens of _STA calls during a search for a particular device/HID,
1327which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
1328
1329Implemented an additional repair for predefined method return values. Attempt
1330to repair unexpected NULL elements within returned Package objects. Create an
1331Integer of value zero, a NULL String, or a zero-length Buffer as appropriate.
1332ACPICA BZ 818. Lin Ming, Bob Moore.
1333
1334Removed the obsolete ACPI_INTEGER data type. This type was introduced as the
1335code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with
133664-bit AML integers). It is now obsolete and this change removes it from the
1337ACPICA code base, replaced by UINT64. The original typedef has been retained
1338for now for compatibility with existing device driver code. ACPICA BZ 824.
1339
1340Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in
1341the parse tree object.
1342
1343Added additional warning options for the gcc-4 generation. Updated the source
1344accordingly. This includes some code restructuring to eliminate unreachable
1345code, elimination of some gotos, elimination of unused return values, some
1346additional casting, and removal of redundant declarations.
1347
1348Example Code and Data Size: These are the sizes for the OS-independent
1349acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1350debug version of the code includes the debug output trace mechanism and has a
1351much larger code and data size.
1352
1353  Previous Release:
1354    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1355    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1356  Current Release:
1357    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1358    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1359
13602) iASL Compiler/Disassembler and Tools:
1361
1362No functional changes for this release.
1363
1364----------------------------------------
136514 December 2009. Summary of changes for version 20091214:
1366
13671) ACPI CA Core Subsystem:
1368
1369Enhanced automatic data type conversions for predefined name repairs. This
1370change expands the automatic repairs/conversions for predefined name return
1371values to make Integers, Strings, and Buffers fully interchangeable. Also, a
1372Buffer can be converted to a Package of Integers if necessary. The nsrepair.c
1373module was completely restructured. Lin Ming, Bob Moore.
1374
1375Implemented automatic removal of null package elements during predefined name
1376repairs. This change will automatically remove embedded and trailing NULL
1377package elements from returned package objects that are defined to contain a
1378variable number of sub-packages. The driver is then presented with a package
1379with no null elements to deal with. ACPICA BZ 819.
1380
1381Implemented a repair for the predefined _FDE and _GTM names. The expected
1382return value for both names is a Buffer of 5 DWORDs. This repair fixes two
1383possible problems (both seen in the field), where a package of integers is
1384returned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
1385
1386Implemented additional module-level code support. This change will properly
1387execute module-level code that is not at the root of the namespace (under a
1388Device object, etc.). Now executes the code within the current scope instead
1389of the root. ACPICA BZ 762. Lin Ming.
1390
1391Fixed possible mutex acquisition errors when running _REG methods. Fixes a
1392problem where mutex errors can occur when running a _REG method that is in
1393the same scope as a method-defined operation region or an operation region
1394under a module-level IF block. This type of code is rare, so the problem has
1395not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1396
1397Fixed a possible memory leak during module-level code execution. An object
1398could be leaked for each block of executed module-level code if the
1399interpreter slack mode is enabled This change deletes any implicitly returned
1400object from the module-level code block. Lin Ming.
1401
1402Removed messages for successful predefined repair(s). The repair mechanism
1403was considered too wordy. Now, messages are only unconditionally emitted if
1404the return object cannot be repaired. Existing messages for successful
1405repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
1406
1407Example Code and Data Size: These are the sizes for the OS-independent
1408acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1409debug version of the code includes the debug output trace mechanism and has a
1410much larger code and data size.
1411
1412  Previous Release:
1413    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1414    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1415  Current Release:
1416    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1417    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1418
14192) iASL Compiler/Disassembler and Tools:
1420
1421iASL: Fixed a regression introduced in 20091112 where intermediate .SRC files
1422were no longer automatically removed at the termination of the compile.
1423
1424acpiexec: Implemented the -f option to specify default region fill value.
1425This option specifies the value used to initialize buffers that simulate
1426operation regions. Default value is zero. Useful for debugging problems that
1427depend on a specific initial value for a region or field.
1428
1429----------------------------------------
143012 November 2009. Summary of changes for version 20091112:
1431
14321) ACPI CA Core Subsystem:
1433
1434Implemented a post-order callback to AcpiWalkNamespace. The existing
1435interface only has a pre-order callback. This change adds an additional
1436parameter for a post-order callback which will be more useful for bus scans.
1437ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
1438
1439Modified the behavior of the operation region memory mapping cache for
1440SystemMemory. Ensure that the memory mappings created for operation regions
1441do not cross 4K page boundaries. Crossing a page boundary while mapping
1442regions can cause kernel warnings on some hosts if the pages have different
1443attributes. Such regions are probably BIOS bugs, and this is the workaround.
1444Linux BZ 14445. Lin Ming.
1445
1446Implemented an automatic repair for predefined methods that must return
1447sorted lists. This change will repair (by sorting) packages returned by _ALR,
1448_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted
1449and do not contain NULL package elements. Adds one new file,
1450namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1451
1452Fixed a possible fault during predefined name validation if a return Package
1453object contains NULL elements. Also adds a warning if a NULL element is
1454followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may
1455include repair or removal of all such NULL elements where possible.
1456
1457Implemented additional module-level executable AML code support. This change
1458will execute module-level code that is not at the root of the namespace
1459(under a Device object, etc.) at table load time. Module-level executable AML
1460code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1461
1462Implemented a new internal function to create Integer objects. This function
1463simplifies miscellaneous object creation code. ACPICA BZ 823.
1464
1465Reduced the severity of predefined repair messages, Warning to Info. Since
1466the object was successfully repaired, a warning is too severe. Reduced to an
1467info message for now. These messages may eventually be changed to debug-only.
1468ACPICA BZ 812.
1469
1470Example Code and Data Size: These are the sizes for the OS-independent
1471acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1472debug version of the code includes the debug output trace mechanism and has a
1473much larger code and data size.
1474
1475  Previous Release:
1476    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1477    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1478  Current Release:
1479    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1480    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1481
14822) iASL Compiler/Disassembler and Tools:
1483
1484iASL: Implemented Switch() with While(1) so that Break works correctly. This
1485change correctly implements the Switch operator with a surrounding While(1)
1486so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1487
1488iASL: Added a message if a package initializer list is shorter than package
1489length. Adds a new remark for a Package() declaration if an initializer list
1490exists, but is shorter than the declared length of the package. Although
1491technically legal, this is probably a coding error and it is seen in the
1492field. ACPICA BZ 815. Lin Ming, Bob Moore.
1493
1494iASL: Fixed a problem where the compiler could fault after the maximum number
1495of errors was reached (200).
1496
1497acpixtract: Fixed a possible warning for pointer cast if the compiler warning
1498level set very high.
1499
1500----------------------------------------
150113 October 2009. Summary of changes for version 20091013:
1502
15031) ACPI CA Core Subsystem:
1504
1505Fixed a problem where an Operation Region _REG method could be executed more
1506than once. If a custom address space handler is installed by the host before
1507the "initialize operation regions" phase of the ACPICA initialization, any
1508_REG methods for that address space could be executed twice. This change
1509fixes the problem. ACPICA BZ 427. Lin Ming.
1510
1511Fixed a possible memory leak for the Scope() ASL operator. When the exact
1512invocation of "Scope(\)" is executed (change scope to root), one internal
1513operand object was leaked. Lin Ming.
1514
1515Implemented a run-time repair for the _MAT predefined method. If the _MAT
1516return value is defined as a Field object in the AML, and the field
1517size is less than or equal to the default width of an integer (32 or 64),_MAT
1518can incorrectly return an Integer instead of a Buffer. ACPICA now
1519automatically repairs this problem. ACPICA BZ 810.
1520
1521Implemented a run-time repair for the _BIF and _BIX predefined methods. The
1522"OEM Information" field is often incorrectly returned as an Integer with
1523value zero if the field is not supported by the platform. This is due to an
1524ambiguity in the ACPI specification. The field should always be a string.
1525ACPICA now automatically repairs this problem by returning a NULL string
1526within the returned Package. ACPICA BZ 807.
1527
1528Example Code and Data Size: These are the sizes for the OS-independent
1529acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1530debug version of the code includes the debug output trace mechanism and has a
1531much larger code and data size.
1532
1533  Previous Release:
1534    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1535    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1536  Current Release:
1537    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1538    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1539
15402) iASL Compiler/Disassembler and Tools:
1541
1542Disassembler: Fixed a problem where references to external symbols that
1543contained one or more parent-prefixes (carats) were not handled correctly,
1544possibly causing a fault. ACPICA BZ 806. Lin Ming.
1545
1546Disassembler: Restructured the code so that all functions that handle
1547external symbols are in a single module. One new file is added,
1548common/dmextern.c.
1549
1550AML Debugger: Added a max count argument for the Batch command (which
1551executes multiple predefined methods within the namespace.)
1552
1553iASL: Updated the compiler documentation (User Reference.) Available at
1554http://www.acpica.org/documentation/. ACPICA BZ 750.
1555
1556AcpiXtract: Updated for Lint and other formatting changes. Close all open
1557files.
1558
1559----------------------------------------
156003 September 2009. Summary of changes for version 20090903:
1561
15621) ACPI CA Core Subsystem:
1563
1564For Windows Vista compatibility, added the automatic execution of an _INI
1565method located at the namespace root (\_INI). This method is executed at
1566table load time. This support is in addition to the automatic execution of
1567\_SB._INI. Lin Ming.
1568
1569Fixed a possible memory leak in the interpreter for AML package objects if
1570the package initializer list is longer than the defined size of the package.
1571This apparently can only happen if the BIOS changes the package size on the
1572fly (seen in a _PSS object), as ASL compilers do not allow this. The
1573interpreter will truncate the package to the defined size (and issue an error
1574message), but previously could leave the extra objects undeleted if they were
1575pre-created during the argument processing (such is the case if the package
1576consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1577
1578Fixed a problem seen when a Buffer or String is stored to itself via ASL.
1579This has been reported in the field. Previously, ACPICA would zero out the
1580buffer/string. Now, the operation is treated as a noop. Provides Windows
1581compatibility. ACPICA BZ 803. Lin Ming.
1582
1583Removed an extraneous error message for ASL constructs of the form
1584Store(LocalX,LocalX) when LocalX is uninitialized. These curious statements
1585are seen in many BIOSs and are once again treated as NOOPs and no error is
1586emitted when they are encountered. ACPICA BZ 785.
1587
1588Fixed an extraneous warning message if a _DSM reserved method returns a
1589Package object. _DSM can return any type of object, so validation on the
1590return type cannot be performed. ACPICA BZ 802.
1591
1592Example Code and Data Size: These are the sizes for the OS-independent
1593acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1594debug version of the code includes the debug output trace mechanism and has a
1595much larger code and data size.
1596
1597  Previous Release:
1598    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1599    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1600  Current Release:
1601    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1602    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1603
16042) iASL Compiler/Disassembler and Tools:
1605
1606iASL: Fixed a problem with the use of the Alias operator and Resource
1607Templates. The correct alias is now constructed and no error is emitted.
1608ACPICA BZ 738.
1609
1610iASL: Implemented the -I option to specify additional search directories for
1611include files. Allows multiple additional search paths for include files.
1612Directories are searched in the order specified on the command line (after
1613the local directory is searched.) ACPICA BZ 800.
1614
1615iASL: Fixed a problem where the full pathname for include files was not
1616emitted for warnings/errors. This caused the IDE support to not work
1617properly. ACPICA BZ 765.
1618
1619iASL: Implemented the -@ option to specify a Windows-style response file
1620containing additional command line options. ACPICA BZ 801.
1621
1622AcpiExec: Added support to load multiple AML files simultaneously (such as a
1623DSDT and multiple SSDTs). Also added support for wildcards within the AML
1624pathname. These features allow all machine tables to be easily loaded and
1625debugged together. ACPICA BZ 804.
1626
1627Disassembler: Added missing support for disassembly of HEST table Error Bank
1628subtables.
1629
1630----------------------------------------
163130 July 2009. Summary of changes for version 20090730:
1632
1633The ACPI 4.0 implementation for ACPICA is complete with this release.
1634
16351) ACPI CA Core Subsystem:
1636
1637ACPI 4.0: Added header file support for all new and changed ACPI tables.
1638Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new
1639for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT,
1640EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There
1641have been some ACPI 4.0 changes to other existing tables. Split the large
1642actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
1643
1644ACPI 4.0: Implemented predefined name validation for all new names. There are
164531 new names in ACPI 4.0. The predefined validation module was split into two
1646files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
1647
1648Implemented support for so-called "module-level executable code". This is
1649executable AML code that exists outside of any control method and is intended
1650to be executed at table load time. Although illegal since ACPI 2.0, this type
1651of code still exists and is apparently still being created. Blocks of this
1652code are now detected and executed as intended. Currently, the code blocks
1653must exist under either an If, Else, or While construct; these are the
1654typical cases seen in the field. ACPICA BZ 762. Lin Ming.
1655
1656Implemented an automatic dynamic repair for predefined names that return
1657nested Package objects. This applies to predefined names that are defined to
1658return a variable-length Package of sub-packages. If the number of sub-
1659packages is one, BIOS code is occasionally seen that creates a simple single
1660package with no sub-packages. This code attempts to fix the problem by
1661wrapping a new package object around the existing package. These methods can
1662be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ
1663790.
1664
1665Fixed a regression introduced in 20090625 for the AcpiGetDevices interface.
1666The _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA
1667BZ 793.
1668
1669Fixed a problem with AcpiReset where the reset would silently fail if the
1670register was one of the protected I/O ports. AcpiReset now bypasses the port
1671validation mechanism. This may eventually be driven into the AcpiRead/Write
1672interfaces.
1673
1674Fixed a regression related to the recent update of the AcpiRead/Write
1675interfaces. A sleep/suspend could fail if the optional PM2 Control register
1676does not exist during an attempt to write the Bus Master Arbitration bit.
1677(However, some hosts already delete the code that writes this bit, and the
1678code may in fact be obsolete at this date.) ACPICA BZ 799.
1679
1680Fixed a problem where AcpiTerminate could fault if inadvertently called twice
1681in succession. ACPICA BZ 795.
1682
1683Example Code and Data Size: These are the sizes for the OS-independent
1684acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1685debug version of the code includes the debug output trace mechanism and has a
1686much larger code and data size.
1687
1688  Previous Release:
1689    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1690    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1691  Current Release:
1692    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1693    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1694
16952) iASL Compiler/Disassembler and Tools:
1696
1697ACPI 4.0: Implemented disassembler support for all new ACPI tables and
1698changes to existing tables. ACPICA BZ 775.
1699
1700----------------------------------------
170125 June 2009. Summary of changes for version 20090625:
1702
1703The ACPI 4.0 Specification was released on June 16 and is available at
1704www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
1705continue for the next few releases.
1706
17071) ACPI CA Core Subsystem:
1708
1709ACPI 4.0: Implemented interpreter support for the IPMI operation region
1710address space. Includes support for bi-directional data buffers and an IPMI
1711address space handler (to be installed by an IPMI device driver.) ACPICA BZ
1712773. Lin Ming.
1713
1714ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes
1715support in both the header files and the disassembler.
1716
1717Completed a major update for the AcpiGetObjectInfo external interface.
1718Changes include:
1719 - Support for variable, unlimited length HID, UID, and CID strings.
1720 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
1721 - Call the _SxW power methods on behalf of a device object.
1722 - Determine if a device is a PCI root bridge.
1723 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
1724These changes will require an update to all callers of this interface. See
1725the updated ACPICA Programmer Reference for details. One new source file has
1726been added - utilities/utids.c. ACPICA BZ 368, 780.
1727
1728Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
1729transfers. The Value parameter has been extended from 32 bits to 64 bits in
1730order to support new ACPI 4.0 tables. These changes will require an update to
1731all callers of these interfaces. See the ACPICA Programmer Reference for
1732details. ACPICA BZ 768.
1733
1734Fixed several problems with AcpiAttachData. The handler was not invoked when
1735the host node was deleted. The data sub-object was not automatically deleted
1736when the host node was deleted. The interface to the handler had an unused
1737parameter, this was removed. ACPICA BZ 778.
1738
1739Enhanced the function that dumps ACPI table headers. All non-printable
1740characters in the string fields are now replaced with '?' (Signature, OemId,
1741OemTableId, and CompilerId.) ACPI tables with non-printable characters in
1742these fields are occasionally seen in the field. ACPICA BZ 788.
1743
1744Fixed a problem with predefined method repair code where the code that
1745attempts to repair/convert an object of incorrect type is only executed on
1746the first time the predefined method is called. The mechanism that disables
1747warnings on subsequent calls was interfering with the repair mechanism.
1748ACPICA BZ 781.
1749
1750Fixed a possible memory leak in the predefined validation/repair code when a
1751buffer is automatically converted to an expected string object.
1752
1753Removed obsolete 16-bit files from the distribution and from the current git
1754tree head. ACPICA BZ 776.
1755
1756Example Code and Data Size: These are the sizes for the OS-independent
1757acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1758debug version of the code includes the debug output trace mechanism and has a
1759much larger code and data size.
1760
1761  Previous Release:
1762    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1763    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1764  Current Release:
1765    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1766    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1767
17682) iASL Compiler/Disassembler and Tools:
1769
1770ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
1771operation region keyword. ACPICA BZ 771, 772. Lin Ming.
1772
1773ACPI 4.0: iASL - implemented compile-time validation support for all new
1774predefined names and control methods (31 total). ACPICA BZ 769.
1775
1776----------------------------------------
177721 May 2009. Summary of changes for version 20090521:
1778
17791) ACPI CA Core Subsystem:
1780
1781Disabled the preservation of the SCI enable bit in the PM1 control register.
1782The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be
1783a "preserved" bit - "OSPM always preserves this bit position", section
17844.7.3.2.1. However, some machines fail if this bit is in fact preserved
1785because the bit needs to be explicitly set by the OS as a workaround. No
1786machines fail if the bit is not preserved. Therefore, ACPICA no longer
1787attempts to preserve this bit.
1788
1789Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
1790incorrectly formed _PRT package could cause a fault. Added validation to
1791ensure that each package element is actually a sub-package.
1792
1793Implemented a new interface to install or override a single control method,
1794AcpiInstallMethod. This interface is useful when debugging in order to repair
1795an existing method or to install a missing method without having to override
1796the entire ACPI table. See the ACPICA Programmer Reference for use and
1797examples. Lin Ming, Bob Moore.
1798
1799Fixed several reference count issues with the DdbHandle object that is
1800created from a Load or LoadTable operator. Prevent premature deletion of the
1801object. Also, mark the object as invalid once the table has been unloaded.
1802This is needed because the handle itself may not be deleted after the table
1803unload, depending on whether it has been stored in a named object by the
1804caller. Lin Ming.
1805
1806Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
1807mutexes of the same sync level are acquired but then not released in strict
1808opposite order, the internally maintained Current Sync Level becomes confused
1809and can cause subsequent execution errors. ACPICA BZ 471.
1810
1811Changed the allowable release order for ASL mutex objects. The ACPI 4.0
1812specification has been changed to make the SyncLevel for mutex objects more
1813useful. When releasing a mutex, the SyncLevel of the mutex must now be the
1814same as the current sync level. This makes more sense than the previous rule
1815(SyncLevel less than or equal). This change updates the code to match the
1816specification.
1817
1818Fixed a problem with the local version of the AcpiOsPurgeCache function. The
1819(local) cache must be locked during all cache object deletions. Andrew
1820Baumann.
1821
1822Updated the Load operator to use operation region interfaces. This replaces
1823direct memory mapping with region access calls. Now, all region accesses go
1824through the installed region handler as they should.
1825
1826Simplified and optimized the NsGetNextNode function. Reduced parameter count
1827and reduced code for this frequently used function.
1828
1829Example Code and Data Size: These are the sizes for the OS-independent
1830acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1831debug version of the code includes the debug output trace mechanism and has a
1832much larger code and data size.
1833
1834  Previous Release:
1835    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1836    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1837  Current Release:
1838    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1839    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1840
18412) iASL Compiler/Disassembler and Tools:
1842
1843Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems
1844with sub-table disassembly and handling invalid sub-tables. Attempt recovery
1845after an invalid sub-table ID.
1846
1847----------------------------------------
184822 April 2009. Summary of changes for version 20090422:
1849
18501) ACPI CA Core Subsystem:
1851
1852Fixed a compatibility issue with the recently released I/O port protection
1853mechanism. For windows compatibility, 1) On a port protection violation,
1854simply ignore the request and do not return an exception (allow the control
1855method to continue execution.) 2) If only part of the request overlaps a
1856protected port, read/write the individual ports that are not protected. Linux
1857BZ 13036. Lin Ming
1858
1859Enhanced the execution of the ASL/AML BreakPoint operator so that it actually
1860breaks into the AML debugger if the debugger is present. This matches the
1861ACPI-defined behavior.
1862
1863Fixed several possible warnings related to the use of the configurable
1864ACPI_THREAD_ID. This type can now be configured as either an integer or a
1865pointer with no warnings. Also fixes several warnings in printf-like
1866statements for the 64-bit build when the type is configured as a pointer.
1867ACPICA BZ 766, 767.
1868
1869Fixed a number of possible warnings when compiling with gcc 4+ (depending on
1870warning options.) Examples include printf formats, aliasing, unused globals,
1871missing prototypes, missing switch default statements, use of non-ANSI
1872library functions, use of non-ANSI constructs. See generate/unix/Makefile for
1873a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
1874
1875Example Code and Data Size: These are the sizes for the OS-independent
1876acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
1877debug version of the code includes the debug output trace mechanism and has a
1878much larger code and data size.
1879
1880  Previous Release:
1881    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1882    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1883  Current Release:
1884    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1885    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1886
18872) iASL Compiler/Disassembler and Tools:
1888
1889iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on
1890the 64-bit build.
1891
1892iASL: Fixed a problem where the Unix/Linux versions of the compiler could not
1893correctly digest Windows/DOS formatted files (with CR/LF).
1894
1895iASL: Added a new option for "quiet mode" (-va) that produces only the
1896compilation summary, not individual errors and warnings. Useful for large
1897batch compilations.
1898
1899AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex
1900timeout that can be used to detect hang conditions during execution of AML
1901code (includes both internal semaphores and AML-defined mutexes and events.)
1902
1903Added new makefiles for the generation of acpica in a generic unix-like
1904environment. These makefiles are intended to generate the acpica tools and
1905utilities from the original acpica git source tree structure.
1906
1907Test Suites: Updated and cleaned up the documentation files. Updated the
1908copyrights to 2009, affecting all source files. Use the new version of iASL
1909with quiet mode. Increased the number of available semaphores in the Windows
1910OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added
1911an alternate implementation of the semaphore timeout to allow aslts to
1912execute fully on Cygwin.
1913
1914----------------------------------------
191520 March 2009. Summary of changes for version 20090320:
1916
19171) ACPI CA Core Subsystem:
1918
1919Fixed a possible race condition between AcpiWalkNamespace and dynamic table
1920unloads. Added a reader/writer locking mechanism to allow multiple concurrent
1921namespace walks (readers), but block a dynamic table unload until it can gain
1922exclusive write access to the namespace. This fixes a problem where a table
1923unload could (possibly catastrophically) delete the portion of the namespace
1924that is currently being examined by a walk. Adds a new file, utlock.c, that
1925implements the reader/writer lock mechanism. ACPICA BZ 749.
1926
1927Fixed a regression introduced in version 20090220 where a change to the FADT
1928handling could cause the ACPICA subsystem to access non-existent I/O ports.
1929
1930Modified the handling of FADT register and table (FACS/DSDT) addresses. The
1931FADT can contain both 32-bit and 64-bit versions of these addresses.
1932Previously, the 64-bit versions were favored, meaning that if both 32 and 64
1933versions were valid, but not equal, the 64-bit version was used. This was
1934found to cause some machines to fail. Now, in this case, the 32-bit version
1935is used instead. This now matches the Windows behavior.
1936
1937Implemented a new mechanism to protect certain I/O ports. Provides Microsoft
1938compatibility and protects the standard PC I/O ports from access via AML
1939code. Adds a new file, hwvalid.c
1940
1941Fixed a possible extraneous warning message from the FADT support. The
1942message warns of a 32/64 length mismatch between the legacy and GAS
1943definitions for a register.
1944
1945Removed the obsolete AcpiOsValidateAddress OSL interface. This interface is
1946made obsolete by the port protection mechanism above. It was previously used
1947to validate the entire address range of an operation region, which could be
1948incorrect if the range included illegal ports, but fields within the
1949operation region did not actually access those ports. Validation is now
1950performed on a per-field basis instead of the entire region.
1951
1952Modified the handling of the PM1 Status Register ignored bit (bit 11.)
1953Ignored bits must be "preserved" according to the ACPI spec. Usually, this
1954means a read/modify/write when writing to the register. However, for status
1955registers, writing a one means clear the event. Writing a zero means preserve
1956the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec,
1957and the ACPICA code now simply always writes a zero to the ignored bit.
1958
1959Modified the handling of ignored bits for the PM1 A/B Control Registers. As
1960per the ACPI specification, for the control registers, preserve
1961(read/modify/write) all bits that are defined as either reserved or ignored.
1962
1963Updated the handling of write-only bits in the PM1 A/B Control Registers.
1964When reading the register, zero the write-only bits as per the ACPI spec.
1965ACPICA BZ 443. Lin Ming.
1966
1967Removed "Linux" from the list of supported _OSI strings. Linux no longer
1968wants to reply true to this request. The Windows strings are the only paths
1969through the AML that are tested and known to work properly.
1970
1971  Previous Release:
1972    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1973    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1974  Current Release:
1975    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1976    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1977
19782) iASL Compiler/Disassembler and Tools:
1979
1980Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and
1981aetables.c
1982
1983----------------------------------------
198420 February 2009. Summary of changes for version 20090220:
1985
19861) ACPI CA Core Subsystem:
1987
1988Optimized the ACPI register locking. Removed locking for reads from the ACPI
1989bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is
1990not required when reading the single-bit registers. The
1991AcpiGetRegisterUnlocked function is no longer needed and has been removed.
1992This will improve performance for reads on these registers. ACPICA BZ 760.
1993
1994Fixed the parameter validation for AcpiRead/Write. Now return
1995AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if
1996the register has an address of zero. Previously, these cases simply returned
1997AE_OK. For optional registers such as PM1B status/enable/control, the caller
1998should check for a valid register address before calling. ACPICA BZ 748.
1999
2000Renamed the external ACPI bit register access functions. Renamed
2001AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
2002functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister.
2003Also, restructured the code for these functions by simplifying the code path
2004and condensing duplicate code to reduce code size.
2005
2006Added new functions to transparently handle the possibly split PM1 A/B
2007registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions
2008now handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ
2009746.
2010
2011Added a function to handle the PM1 control registers, AcpiHwWritePm1Control.
2012This function writes both of the PM1 control registers (A/B). These registers
2013are different than the PM1 A/B status and enable registers in that different
2014values can be written to the A/B registers. Most notably, the SLP_TYP bits
2015can be different, as per the values returned from the _Sx predefined methods.
2016
2017Removed an extra register write within AcpiHwClearAcpiStatus. This function
2018was writing an optional PM1B status register twice. The existing call to the
2019low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B
2020register. ACPICA BZ 751.
2021
2022Split out the PM1 Status registers from the FADT. Added new globals for these
2023registers (A/B), similar to the way the PM1 Enable registers are handled.
2024Instead of overloading the FADT Event Register blocks. This makes the code
2025clearer and less prone to error.
2026
2027Fixed the warning message for when the platform contains too many ACPI tables
2028for the default size of the global root table data structure. The calculation
2029for the truncation value was incorrect.
2030
2031Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
2032obsolete macro, since it is now a simple reference to ->common.type. There
2033were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
2034
2035Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
2036TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
2037simply SLEEP_TYPE. ACPICA BZ 754.
2038
2039Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
2040function is only needed on 64-bit host operating systems and is thus not
2041included for 32-bit hosts.
2042
2043Debug output: print the input and result for invocations of the _OSI reserved
2044control method via the ACPI_LV_INFO debug level. Also, reduced some of the
2045verbosity of this debug level. Len Brown.
2046
2047Example Code and Data Size: These are the sizes for the OS-independent
2048acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2049debug version of the code includes the debug output trace mechanism and has a
2050much larger code and data size.
2051
2052  Previous Release:
2053    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2054    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2055  Current Release:
2056    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
2057    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
2058
20592) iASL Compiler/Disassembler and Tools:
2060
2061Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
2062various legal performance profiles.
2063
2064----------------------------------------
206523 January 2009. Summary of changes for version 20090123:
2066
20671) ACPI CA Core Subsystem:
2068
2069Added the 2009 copyright to all module headers and signons. This affects
2070virtually every file in the ACPICA core subsystem, the iASL compiler, and
2071the tools/utilities.
2072
2073Implemented a change to allow the host to override any ACPI table, including
2074dynamically loaded tables. Previously, only the DSDT could be replaced by the
2075host. With this change, the AcpiOsTableOverride interface is called for each
2076table found in the RSDT/XSDT during ACPICA initialization, and also whenever
2077a table is dynamically loaded via the AML Load operator.
2078
2079Updated FADT flag definitions, especially the Boot Architecture flags.
2080
2081Debugger: For the Find command, automatically pad the input ACPI name with
2082underscores if the name is shorter than 4 characters. This enables a match
2083with the actual namespace entry which is itself padded with underscores.
2084
2085Example Code and Data Size: These are the sizes for the OS-independent
2086acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2087debug version of the code includes the debug output trace mechanism and has a
2088much larger code and data size.
2089
2090  Previous Release:
2091    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2092    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2093  Current Release:
2094    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
2095    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
2096
20972) iASL Compiler/Disassembler and Tools:
2098
2099Fix build error under Bison-2.4.
2100
2101Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture
2102flags. Now decode all flags, regardless of the FADT version. Flag output
2103includes the FADT version which first defined each flag.
2104
2105The iASL -g option now dumps the RSDT to a file (in addition to the FADT and
2106DSDT). Windows only.
2107
2108----------------------------------------
210904 December 2008. Summary of changes for version 20081204:
2110
21111) ACPI CA Core Subsystem:
2112
2113The ACPICA Programmer Reference has been completely updated and revamped for
2114this release. This includes updates to the external interfaces, OSL
2115interfaces, the overview sections, and the debugger reference.
2116
2117Several new ACPICA interfaces have been implemented and documented in the
2118programmer reference:
2119AcpiReset - Writes the reset value to the FADT-defined reset register.
2120AcpiDisableAllGpes - Disable all available GPEs.
2121AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
2122AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
2123AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
2124AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
2125AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
2126
2127Most of the public ACPI hardware-related interfaces have been moved to a new
2128file, components/hardware/hwxface.c
2129
2130Enhanced the FADT parsing and low-level ACPI register access: The ACPI
2131register lengths within the FADT are now used, and the low level ACPI
2132register access no longer hardcodes the ACPI register lengths. Given that
2133there may be some risk in actually trusting the FADT register lengths, a run-
2134time option was added to fall back to the default hardcoded lengths if the
2135FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
2136option is set to true for now, and a warning is issued if a suspicious FADT
2137register length is overridden with the default value.
2138
2139Fixed a reference count issue in NsRepairObject. This problem was introduced
2140in version 20081031 as part of a fix to repair Buffer objects within
2141Packages. Lin Ming.
2142
2143Added semaphore support to the Linux/Unix application OS-services layer
2144(OSL). ACPICA BZ 448. Lin Ming.
2145
2146Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes will
2147be implemented in the OSL, or will binary semaphores be used instead.
2148
2149Example Code and Data Size: These are the sizes for the OS-independent
2150acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2151debug version of the code includes the debug output trace mechanism and has a
2152much larger code and data size.
2153
2154  Previous Release:
2155    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2156    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2157  Current Release:
2158    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
2159    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
2160
21612) iASL Compiler/Disassembler and Tools:
2162
2163iASL: Completed the '-e' option to include additional ACPI tables in order to
2164aid with disassembly and External statement generation. ACPICA BZ 742. Lin
2165Ming.
2166
2167iASL: Removed the "named object in while loop" error. The compiler cannot
2168determine how many times a loop will execute. ACPICA BZ 730.
2169
2170Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA
2171BZ 743.
2172
2173Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
2174
2175----------------------------------------
217631 October 2008. Summary of changes for version 20081031:
2177
21781) ACPI CA Core Subsystem:
2179
2180Restructured the ACPICA header files into public/private. acpi.h now includes
2181only the "public" acpica headers. All other acpica headers are "private" and
2182should not be included by acpica users. One new file, accommon.h is used to
2183include the commonly used private headers for acpica code generation. Future
2184plans include moving all private headers to a new subdirectory.
2185
2186Implemented an automatic Buffer->String return value conversion for
2187predefined ACPI methods. For these methods (such as _BIF), added automatic
2188conversion for return objects that are required to be a String, but a Buffer
2189was found instead. This can happen when reading string battery data from an
2190operation region, because it used to be difficult to convert the data from
2191buffer to string from within the ASL. Ensures that the host OS is provided
2192with a valid null-terminated string. Linux BZ 11822.
2193
2194Updated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector
2195into two: one for the 32-bit vector, another for the 64-bit vector. This is
2196required because the host OS must setup the wake much differently for each
2197vector (real vs. protected mode, etc.) and the interface itself should not be
2198deciding which vector to use. Also, eliminated the GetFirmwareWakingVector
2199interface, as it served no purpose (only the firmware reads the vector, OS
2200only writes the vector.) ACPICA BZ 731.
2201
2202Implemented a mechanism to escape infinite AML While() loops. Added a loop
2203counter to force exit from AML While loops if the count becomes too large.
2204This can occur in poorly written AML when the hardware does not respond
2205within a while loop and the loop does not implement a timeout. The maximum
2206loop count is configurable. A new exception code is returned when a loop is
2207broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
2208
2209Optimized the execution of AML While loops. Previously, a control state
2210object was allocated and freed for each execution of the loop. The
2211optimization is to simply reuse the control state for each iteration. This
2212speeds up the raw loop execution time by about 5%.
2213
2214Enhanced the implicit return mechanism. For Windows compatibility, return an
2215implicit integer of value zero for methods that contain no executable code.
2216Such methods are seen in the field as stubs (presumably), and can cause
2217drivers to fail if they expect a return value. Lin Ming.
2218
2219Allow multiple backslashes as root prefixes in namepaths. In a fully
2220qualified namepath, allow multiple backslash prefixes. This can happen (and
2221is seen in the field) because of the use of a double-backslash in strings
2222(since backslash is the escape character) causing confusion. ACPICA BZ 739
2223Lin Ming.
2224
2225Emit a warning if two different FACS or DSDT tables are discovered in the
2226FADT. Checks if there are two valid but different addresses for the FACS and
2227DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
2228
2229Consolidated the method argument count validation code. Merged the code that
2230validates control method argument counts into the predefined validation
2231module. Eliminates possible multiple warnings for incorrect argument counts.
2232
2233Implemented ACPICA example code. Includes code for ACPICA initialization,
2234handler installation, and calling a control method. Available at
2235source/tools/examples.
2236
2237Added a global pointer for FACS table to simplify internal FACS access. Use
2238the global pointer instead of using AcpiGetTableByIndex for each FACS access.
2239This simplifies the code for the Global Lock and the Firmware Waking
2240Vector(s).
2241
2242Example Code and Data Size: These are the sizes for the OS-independent
2243acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2244debug version of the code includes the debug output trace mechanism and has a
2245much larger code and data size.
2246
2247  Previous Release:
2248    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2249    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2250  Current Release:
2251    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
2252    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
2253
22542) iASL Compiler/Disassembler and Tools:
2255
2256iASL: Improved disassembly of external method calls. Added the -e option to
2257allow the inclusion of additional ACPI tables to help with the disassembly of
2258method invocations and the generation of external declarations during the
2259disassembly. Certain external method invocations cannot be disassembled
2260properly without the actual declaration of the method. Use the -e option to
2261include the table where the external method(s) are actually declared. Most
2262useful for disassembling SSDTs that make method calls back to the master
2263DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d
2264-e dsdt.aml ssdt1.aml
2265
2266iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
2267problem where the use of an alias within a namepath would result in a not
2268found error or cause the compiler to fault. Also now allows forward
2269references from the Alias operator itself. ACPICA BZ 738.
2270
2271----------------------------------------
227226 September 2008. Summary of changes for version 20080926:
2273
22741) ACPI CA Core Subsystem:
2275
2276Designed and implemented a mechanism to validate predefined ACPI methods and
2277objects. This code validates the predefined ACPI objects (objects whose names
2278start with underscore) that appear in the namespace, at the time they are
2279evaluated. The argument count and the type of the returned object are
2280validated against the ACPI specification. The purpose of this validation is
2281to detect problems with the BIOS-implemented predefined ACPI objects before
2282the results are returned to the ACPI-related drivers. Future enhancements may
2283include actual repair of incorrect return objects where possible. Two new
2284files are nspredef.c and acpredef.h.
2285
2286Fixed a fault in the AML parser if a memory allocation fails during the Op
2287completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
2288
2289Fixed an issue with implicit return compatibility. This change improves the
2290implicit return mechanism to be more compatible with the MS interpreter. Lin
2291Ming, ACPICA BZ 349.
2292
2293Implemented support for zero-length buffer-to-string conversions. Allow zero
2294length strings during interpreter buffer-to-string conversions. For example,
2295during the ToDecimalString and ToHexString operators, as well as implicit
2296conversions. Fiodor Suietov, ACPICA BZ 585.
2297
2298Fixed two possible memory leaks in the error exit paths of
2299AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are
2300similar in that they use a stack of state objects in order to eliminate
2301recursion. The stack must be fully unwound and deallocated if an error
2302occurs. Lin Ming. ACPICA BZ 383.
2303
2304Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global
2305ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
2306Moore ACPICA BZ 442.
2307
2308Removed the obsolete version number in module headers. Removed the
2309"$Revision" number that appeared in each module header. This version number
2310was useful under SourceSafe and CVS, but has no meaning under git. It is not
2311only incorrect, it could also be misleading.
2312
2313Example Code and Data Size: These are the sizes for the OS-independent
2314acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2315debug version of the code includes the debug output trace mechanism and has a
2316much larger code and data size.
2317
2318  Previous Release:
2319    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2320    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2321  Current Release:
2322    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
2323    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
2324
2325----------------------------------------
232629 August 2008. Summary of changes for version 20080829:
2327
23281) ACPI CA Core Subsystem:
2329
2330Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
2331Reference. Changes include the elimination of cheating on the Object field
2332for the DdbHandle subtype, addition of a reference class field to
2333differentiate the various reference types (instead of an AML opcode), and the
2334cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
2335
2336Reduce an error to a warning for an incorrect method argument count.
2337Previously aborted with an error if too few arguments were passed to a
2338control method via the external ACPICA interface. Now issue a warning instead
2339and continue. Handles the case where the method inadvertently declares too
2340many arguments, but does not actually use the extra ones. Applies mainly to
2341the predefined methods. Lin Ming. Linux BZ 11032.
2342
2343Disallow the evaluation of named object types with no intrinsic value. Return
2344AE_TYPE for objects that have no value and therefore evaluation is undefined:
2345Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of
2346these types were allowed, but an exception would be generated at some point
2347during the evaluation. Now, the error is generated up front.
2348
2349Fixed a possible memory leak in the AcpiNsGetExternalPathname function
2350(nsnames.c). Fixes a leak in the error exit path.
2351
2352Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug
2353levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION
2354interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
2355ACPI_LV_EVENTS.
2356
2357Removed obsolete and/or unused exception codes from the acexcep.h header.
2358There is the possibility that certain device drivers may be affected if they
2359use any of these exceptions.
2360
2361The ACPICA documentation has been added to the public git source tree, under
2362acpica/documents. Included are the ACPICA programmer reference, the iASL
2363compiler reference, and the changes.txt release logfile.
2364
2365Example Code and Data Size: These are the sizes for the OS-independent
2366acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2367debug version of the code includes the debug output trace mechanism and has a
2368much larger code and data size.
2369
2370  Previous Release:
2371    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2372    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2373  Current Release:
2374    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2375    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2376
23772) iASL Compiler/Disassembler and Tools:
2378
2379Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
2380defines _SCP with 3 arguments. Previous versions defined it with only 1
2381argument. iASL now allows both definitions.
2382
2383iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2384length subtables when disassembling ACPI tables. Also fixed a couple of
2385errors where a full 16-bit table type field was not extracted from the input
2386properly.
2387
2388acpisrc: Improve comment counting mechanism for generating source code
2389statistics. Count first and last lines of multi-line comments as whitespace,
2390not comment lines. Handle Linux legal header in addition to standard acpica
2391header.
2392
2393----------------------------------------
2394
239529 July 2008. Summary of changes for version 20080729:
2396
23971) ACPI CA Core Subsystem:
2398
2399Fix a possible deadlock in the GPE dispatch. Remove call to
2400AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt
2401to acquire the GPE lock but can deadlock since the GPE lock is already held
2402at dispatch time. This code was introduced in version 20060831 as a response
2403to Linux BZ 6881 and has since been removed from Linux.
2404
2405Add a function to dereference returned reference objects. Examines the return
2406object from a call to AcpiEvaluateObject. Any Index or RefOf references are
2407automatically dereferenced in an attempt to return something useful (these
2408reference types cannot be converted into an external ACPI_OBJECT.) Provides
2409MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2410
2411x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
2412subtables for the MADT and one new subtable for the SRAT. Includes
2413disassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC
2414Specification, June 2008.
2415
2416Additional error checking for pathname utilities. Add error check after all
2417calls to AcpiNsGetPathnameLength. Add status return from
2418AcpiNsBuildExternalPath and check after all calls. Add parameter validation
2419to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2420
2421Return status from the global init function AcpiUtGlobalInitialize. This is
2422used by both the kernel subsystem and the utilities such as iASL compiler.
2423The function could possibly fail when the caches are initialized. Yang Yi.
2424
2425Add a function to decode reference object types to strings. Created for
2426improved error messages.
2427
2428Improve object conversion error messages. Better error messages during object
2429conversion from internal to the external ACPI_OBJECT. Used for external calls
2430to AcpiEvaluateObject.
2431
2432Example Code and Data Size: These are the sizes for the OS-independent
2433acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2434debug version of the code includes the debug output trace mechanism and has a
2435much larger code and data size.
2436
2437  Previous Release:
2438    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2439    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2440  Current Release:
2441    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2442    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2443
24442) iASL Compiler/Disassembler and Tools:
2445
2446Debugger: fix a possible hang when evaluating non-methods. Fixes a problem
2447introduced in version 20080701. If the object being evaluated (via execute
2448command) is not a method, the debugger can hang while trying to obtain non-
2449existent parameters.
2450
2451iASL: relax error for using reserved "_T_x" identifiers. These names can
2452appear in a disassembled ASL file if they were emitted by the original
2453compiler. Instead of issuing an error or warning and forcing the user to
2454manually change these names, issue a remark instead.
2455
2456iASL: error if named object created in while loop. Emit an error if any named
2457object is created within a While loop. If allowed, this code will generate a
2458run-time error on the second iteration of the loop when an attempt is made to
2459create the same named object twice. ACPICA bugzilla 730.
2460
2461iASL: Support absolute pathnames for include files. Add support for absolute
2462pathnames within the Include operator. previously, only relative pathnames
2463were supported.
2464
2465iASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor.
2466The ACPI spec requires one interrupt minimum. BZ 423
2467
2468iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
2469Handles the case for the Interrupt Resource Descriptor where
2470the ResourceSource argument is omitted but ResourceSourceIndex
2471is present. Now leave room for the Index. BZ 426
2472
2473iASL: Prevent error message if CondRefOf target does not exist. Fixes cases
2474where an error message is emitted if the target does not exist. BZ 516
2475
2476iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
2477(get ACPI tables on Windows). This was apparently broken in version 20070919.
2478
2479AcpiXtract: Handle EOF while extracting data. Correctly handle the case where
2480the EOF happens immediately after the last table in the input file. Print
2481completion message. Previously, no message was displayed in this case.
2482
2483----------------------------------------
248401 July 2008. Summary of changes for version 20080701:
2485
24860) Git source tree / acpica.org
2487
2488Fixed a problem where a git-clone from http would not transfer the entire
2489source tree.
2490
24911) ACPI CA Core Subsystem:
2492
2493Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
2494enable bit. Now performs a read-change-write of the enable register instead
2495of simply writing out the cached enable mask. This will prevent inadvertent
2496enabling of GPEs if a rogue GPE is received during initialization (before GPE
2497handlers are installed.)
2498
2499Implemented a copy for dynamically loaded tables. Previously, dynamically
2500loaded tables were simply mapped - but on some machines this memory is
2501corrupted after suspend. Now copy the table to a local buffer. For the
2502OpRegion case, added checksum verify. Use the table length from the table
2503header, not the region length. For the Buffer case, use the table length
2504also. Dennis Noordsij, Bob Moore. BZ 10734
2505
2506Fixed a problem where the same ACPI table could not be dynamically loaded and
2507unloaded more than once. Without this change, a table cannot be loaded again
2508once it has been loaded/unloaded one time. The current mechanism does not
2509unregister a table upon an unload. During a load, if the same table is found,
2510this no longer returns an exception. BZ 722
2511
2512Fixed a problem where the wrong descriptor length was calculated for the
2513EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag
2514are calculated as 12 bytes long, but the actual length in the internal
2515descriptor is 16 because of the round-up to 8 on the 64-bit build. Reported
2516by Linn Crosetto. BZ 728
2517
2518Fixed a possible memory leak in the Unload operator. The DdbHandle returned
2519by Load() did not have its reference count decremented during unload, leading
2520to a memory leak. Lin Ming. BZ 727
2521
2522Fixed a possible memory leak when deleting thermal/processor objects. Any
2523associated notify handlers (and objects) were not being deleted. Fiodor
2524Suietov. BZ 506
2525
2526Fixed the ordering of the ASCII names in the global mutex table to match the
2527actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only.
2528Vegard Nossum. BZ 726
2529
2530Enhanced the AcpiGetObjectInfo interface to return the number of required
2531arguments if the object is a control method. Added this call to the debugger
2532so the proper number of default arguments are passed to a method. This
2533prevents a warning when executing methods from AcpiExec.
2534
2535Added a check for an invalid handle in AcpiGetObjectInfo. Return
2536AE_BAD_PARAMETER if input handle is invalid. BZ 474
2537
2538Fixed an extraneous warning from exconfig.c on the 64-bit build.
2539
2540Example Code and Data Size: These are the sizes for the OS-independent
2541acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2542debug version of the code includes the debug output trace mechanism and has a
2543much larger code and data size.
2544
2545  Previous Release:
2546    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2547    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2548  Current Release:
2549    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2550    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2551
25522) iASL Compiler/Disassembler and Tools:
2553
2554iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
2555resource descriptor names.
2556
2557iASL: Detect invalid ASCII characters in input (windows version). Removed the
2558"-CF" flag from the flex compile, enables correct detection of non-ASCII
2559characters in the input. BZ 441
2560
2561iASL: Eliminate warning when result of LoadTable is not used. Eliminate the
2562"result of operation not used" warning when the DDB handle returned from
2563LoadTable is not used. The warning is not needed. BZ 590
2564
2565AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to
2566pass address of table to the AML. Added option to disable OpRegion simulation
2567to allow creation of an OpRegion with a real address that was passed to _CFG.
2568All of this allows testing of the Load and Unload operators from AcpiExec.
2569
2570Debugger: update tables command for unloaded tables. Handle unloaded tables
2571and use the standard table header output routine.
2572
2573----------------------------------------
257409 June 2008. Summary of changes for version 20080609:
2575
25761) ACPI CA Core Subsystem:
2577
2578Implemented a workaround for reversed _PRT entries. A significant number of
2579BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
2580change dynamically detects and repairs this problem. Provides compatibility
2581with MS ACPI. BZ 6859
2582
2583Simplified the internal ACPI hardware interfaces to eliminate the locking
2584flag parameter from Register Read/Write. Added a new external interface,
2585AcpiGetRegisterUnlocked.
2586
2587Fixed a problem where the invocation of a GPE control method could hang. This
2588was a regression introduced in 20080514. The new method argument count
2589validation mechanism can enter an infinite loop when a GPE method is
2590dispatched. Problem fixed by removing the obsolete code that passed GPE block
2591information to the notify handler via the control method parameter pointer.
2592
2593Fixed a problem where the _SST execution status was incorrectly returned to
2594the caller of AcpiEnterSleepStatePrep. This was a regression introduced in
259520080514. _SST is optional and a NOT_FOUND exception should never be
2596returned. BZ 716
2597
2598Fixed a problem where a deleted object could be accessed from within the AML
2599parser. This was a regression introduced in version 20080123 as a fix for the
2600Unload operator. Lin Ming. BZ 10669
2601
2602Cleaned up the debug operand dump mechanism. Eliminated unnecessary operands
2603and eliminated the use of a negative index in a loop. Operands are now
2604displayed in the correct order, not backwards. This also fixes a regression
2605introduced in 20080514 on 64-bit systems where the elimination of
2606ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
2607
2608Fixed a possible memory leak in EvPciConfigRegionSetup where the error exit
2609path did not delete a locally allocated structure.
2610
2611Updated definitions for the DMAR and SRAT tables to synchronize with the
2612current specifications. Includes disassembler support.
2613
2614Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
2615loop termination value was used. Loop terminated on iteration early, missing
2616one mutex. Linn Crosetto
2617
2618Example Code and Data Size: These are the sizes for the OS-independent
2619acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2620debug version of the code includes the debug output trace mechanism and has a
2621much larger code and data size.
2622
2623  Previous Release:
2624    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2625    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2626  Current Release:
2627    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2628    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2629
26302) iASL Compiler/Disassembler and Tools:
2631
2632Disassembler: Implemented support for EisaId() within _CID objects. Now
2633disassemble integer _CID objects back to EisaId invocations, including
2634multiple integers within _CID packages. Includes single-step support for
2635debugger also.
2636
2637Disassembler: Added support for DMAR and SRAT table definition changes.
2638
2639----------------------------------------
264014 May 2008. Summary of changes for version 20080514:
2641
26421) ACPI CA Core Subsystem:
2643
2644Fixed a problem where GPEs were enabled too early during the ACPICA
2645initialization. This could lead to "handler not installed" errors on some
2646machines. Moved GPE enable until after _REG/_STA/_INI methods are run. This
2647ensures that all operation regions and devices throughout the namespace have
2648been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
2649
2650Implemented a change to the enter sleep code. Moved execution of the _GTS
2651method to just before setting sleep enable bit. The execution was moved from
2652AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
2653immediately before the SLP_EN bit is set, as per the ACPI specification.
2654Luming Yu, BZ 1653.
2655
2656Implemented a fix to disable unknown GPEs (2nd version). Now always disable
2657the GPE, even if ACPICA thinks that that it is already disabled. It is
2658possible that the AML or some other code has enabled the GPE unbeknownst to
2659the ACPICA code.
2660
2661Fixed a problem with the Field operator where zero-length fields would return
2662an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL
2663field declarations in Field(), BankField(), and IndexField(). BZ 10606.
2664
2665Implemented a fix for the Load operator, now load the table at the namespace
2666root. This reverts a change introduced in version 20071019. The table is now
2667loaded at the namespace root even though this goes against the ACPI
2668specification. This provides compatibility with other ACPI implementations.
2669The ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
2670
2671Fixed a problem where ACPICA would not Load() tables with unusual signatures.
2672Now ignore ACPI table signature for Load() operator. Only "SSDT" is
2673acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
2674Therefore, signature validation is worthless. Apparently MS ACPI accepts such
2675signatures, ACPICA must be compatible. BZ 10454.
2676
2677Fixed a possible negative array index in AcpiUtValidateException. Added NULL
2678fields to the exception string arrays to eliminate a -1 subtraction on the
2679SubStatus field.
2680
2681Updated the debug tracking macros to reduce overall code and data size.
2682Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
2683instead of pointers to static strings. Jan Beulich and Bob Moore.
2684
2685Implemented argument count checking in control method invocation via
2686AcpiEvaluateObject. Now emit an error if too few arguments, warning if too
2687many. This applies only to extern programmatic control method execution, not
2688method-to-method calls within the AML. Lin Ming.
2689
2690Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no
2691longer needed, especially with the removal of 16-bit support. It was replaced
2692mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on
269332/64-bit platforms is required.
2694
2695Added the C const qualifier for appropriate string constants -- mostly
2696MODULE_NAME and printf format strings. Jan Beulich.
2697
2698Example Code and Data Size: These are the sizes for the OS-independent
2699acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2700debug version of the code includes the debug output trace mechanism and has a
2701much larger code and data size.
2702
2703  Previous Release:
2704    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2705    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2706  Current Release:
2707    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2708    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2709
27102) iASL Compiler/Disassembler and Tools:
2711
2712Implemented ACPI table revision ID validation in the disassembler. Zero is
2713always invalid. For DSDTs, the ID controls the interpreter integer width. 1
2714means 32-bit and this is unusual. 2 or greater is 64-bit.
2715
2716----------------------------------------
271721 March 2008. Summary of changes for version 20080321:
2718
27191) ACPI CA Core Subsystem:
2720
2721Implemented an additional change to the GPE support in order to suppress
2722spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently
2723disable incoming GPEs that are neither enabled nor disabled -- meaning that
2724the GPE is unknown to the system. This should prevent future interrupt floods
2725from that GPE. BZ 6217 (Zhang Rui)
2726
2727Fixed a problem where NULL package elements were not returned to the
2728AcpiEvaluateObject interface correctly. The element was simply ignored
2729instead of returning a NULL ACPI_OBJECT package element, potentially causing
2730a buffer overflow and/or confusing the caller who expected a fixed number of
2731elements. BZ 10132 (Lin Ming, Bob Moore)
2732
2733Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword,
2734Qword), Field, BankField, and IndexField operators when invoked from inside
2735an executing control method. In this case, these operators created namespace
2736nodes that were incorrectly left marked as permanent nodes instead of
2737temporary nodes. This could cause a problem if there is race condition
2738between an exiting control method and a running namespace walk. (Reported by
2739Linn Crosetto)
2740
2741Fixed a problem where the CreateField and CreateXXXField operators would
2742incorrectly allow duplicate names (the name of the field) with no exception
2743generated.
2744
2745Implemented several changes for Notify handling. Added support for new Notify
2746values (ACPI 2.0+) and improved the Notify debug output. Notify on
2747PowerResource objects is no longer allowed, as per the ACPI specification.
2748(Bob Moore, Zhang Rui)
2749
2750All Reference Objects returned via the AcpiEvaluateObject interface are now
2751marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for
2752NULL objects - either NULL package elements or unresolved named references.
2753
2754Fixed a problem where an extraneous debug message was produced for package
2755objects (when debugging enabled). The message "Package List length larger
2756than NumElements count" is now produced in the correct case, and is now an
2757error message rather than a debug message. Added a debug message for the
2758opposite case, where NumElements is larger than the Package List (the package
2759will be padded out with NULL elements as per the ACPI spec.)
2760
2761Implemented several improvements for the output of the ASL "Debug" object to
2762clarify and keep all data for a given object on one output line.
2763
2764Fixed two size calculation issues with the variable-length Start Dependent
2765resource descriptor.
2766
2767Example Code and Data Size: These are the sizes for the OS-independent
2768acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2769debug version of the code includes the debug output trace mechanism and has
2770a much larger code and data size.
2771
2772  Previous Release:
2773    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2774    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2775  Current Release:
2776    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2777    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2778
27792) iASL Compiler/Disassembler and Tools:
2780
2781Fixed a problem with the use of the Switch operator where execution of the
2782containing method by multiple concurrent threads could cause an
2783AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
2784actual Switch opcode, it must be simulated with local named temporary
2785variables and if/else pairs. The solution chosen was to mark any method that
2786uses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
2787
2788----------------------------------------
278913 February 2008. Summary of changes for version 20080213:
2790
27911) ACPI CA Core Subsystem:
2792
2793Implemented another MS compatibility design change for GPE/Notify handling.
2794GPEs are now cleared/enabled asynchronously to allow all pending notifies to
2795complete first. It is expected that the OSL will queue the enable request
2796behind all pending notify requests (may require changes to the local host OSL
2797in AcpiOsExecute). Alexey Starikovskiy.
2798
2799Fixed a problem where buffer and package objects passed as arguments to a
2800control method via the external AcpiEvaluateObject interface could cause an
2801AE_AML_INTERNAL exception depending on the order and type of operators
2802executed by the target control method.
2803
2804Fixed a problem where resource descriptor size optimization could cause a
2805problem when a _CRS resource template is passed to a _SRS method. The _SRS
2806resource template must use the same descriptors (with the same size) as
2807returned from _CRS. This change affects the following resource descriptors:
2808IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
2809
2810Fixed a problem where a CopyObject to RegionField, BankField, and IndexField
2811objects did not perform an implicit conversion as it should. These types must
2812retain their initial type permanently as per the ACPI specification. However,
2813a CopyObject to all other object types should not perform an implicit
2814conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2815
2816Fixed a problem with the AcpiGetDevices interface where the mechanism to
2817match device CIDs did not examine the entire list of available CIDs, but
2818instead aborted on the first non-matching CID. Andrew Patterson.
2819
2820Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was
2821inadvertently changed to return a 16-bit value instead of a 32-bit value,
2822truncating the upper dword of a 64-bit value. This macro is only used to
2823display debug output, so no incorrect calculations were made. Also,
2824reimplemented the macro so that a 64-bit shift is not performed by
2825inefficient compilers.
2826
2827Added missing va_end statements that should correspond with each va_start
2828statement.
2829
2830Example Code and Data Size: These are the sizes for the OS-independent
2831acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2832debug version of the code includes the debug output trace mechanism and has
2833a much larger code and data size.
2834
2835  Previous Release:
2836    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2837    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2838  Current Release:
2839    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2840    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2841
28422) iASL Compiler/Disassembler and Tools:
2843
2844Implemented full disassembler support for the following new ACPI tables:
2845BERT, EINJ, and ERST. Implemented partial disassembler support for the
2846complicated HEST table. These tables support the Windows Hardware Error
2847Architecture (WHEA).
2848
2849----------------------------------------
285023 January 2008. Summary of changes for version 20080123:
2851
28521) ACPI CA Core Subsystem:
2853
2854Added the 2008 copyright to all module headers and signons. This affects
2855virtually every file in the ACPICA core subsystem, the iASL compiler, and
2856the tools/utilities.
2857
2858Fixed a problem with the SizeOf operator when used with Package and Buffer
2859objects. These objects have deferred execution for some arguments, and the
2860execution is now completed before the SizeOf is executed. This problem caused
2861unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ
28629558
2863
2864Implemented an enhancement to the interpreter "slack mode". In the absence of
2865an explicit return or an implicitly returned object from the last executed
2866opcode, a control method will now implicitly return an integer of value 0 for
2867Microsoft compatibility. (Lin Ming) BZ 392
2868
2869Fixed a problem with the Load operator where an exception was not returned in
2870the case where the table is already loaded. (Lin Ming) BZ 463
2871
2872Implemented support for the use of DDBHandles as an Indexed Reference, as per
2873the ACPI spec. (Lin Ming) BZ 486
2874
2875Implemented support for UserTerm (Method invocation) for the Unload operator
2876as per the ACPI spec. (Lin Ming) BZ 580
2877
2878Fixed a problem with the LoadTable operator where the OemId and OemTableId
2879input strings could cause unexpected failures if they were shorter than the
2880maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
2881
2882Implemented support for UserTerm (Method invocation) for the Unload operator
2883as per the ACPI spec. (Lin Ming) BZ 580
2884
2885Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST,
2886IBFT, UEFI, WDAT. Disassembler support is forthcoming.
2887
2888Example Code and Data Size: These are the sizes for the OS-independent
2889acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2890debug version of the code includes the debug output trace mechanism and has
2891a much larger code and data size.
2892
2893  Previous Release:
2894    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2895    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2896  Current Release:
2897    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2898    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2899
29002) iASL Compiler/Disassembler and Tools:
2901
2902Implemented support in the disassembler for checksum validation on incoming
2903binary DSDTs and SSDTs. If incorrect, a message is displayed within the table
2904header dump at the start of the disassembly.
2905
2906Implemented additional debugging information in the namespace listing file
2907created during compilation. In addition to the namespace hierarchy, the full
2908pathname to each namespace object is displayed.
2909
2910Fixed a problem with the disassembler where invalid ACPI tables could cause
2911faults or infinite loops.
2912
2913Fixed an unexpected parse error when using the optional "parameter types"
2914list in a control method declaration. (Lin Ming) BZ 397
2915
2916Fixed a problem where two External declarations with the same name did not
2917cause an error (Lin Ming) BZ 509
2918
2919Implemented support for full TermArgs (adding Argx, Localx and method
2920invocation) for the ParameterData parameter to the LoadTable operator. (Lin
2921Ming) BZ 583,587
2922
2923----------------------------------------
292419 December 2007. Summary of changes for version 20071219:
2925
29261) ACPI CA Core Subsystem:
2927
2928Implemented full support for deferred execution for the TermArg string
2929arguments for DataTableRegion. This enables forward references and full
2930operand resolution for the three string arguments. Similar to OperationRegion
2931deferred argument execution.) Lin Ming. BZ 430
2932
2933Implemented full argument resolution support for the BankValue argument to
2934BankField. Previously, only constants were supported, now any TermArg may be
2935used. Lin Ming BZ 387, 393
2936
2937Fixed a problem with AcpiGetDevices where the search of a branch of the
2938device tree could be terminated prematurely. In accordance with the ACPI
2939specification, the search down the current branch is terminated if a device
2940is both not present and not functional (instead of just not present.) Yakui
2941Zhao.
2942
2943Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly if
2944the underlying AML code changed the GPE enable registers. Now, any unknown
2945incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled
2946instead of simply ignored. Rui Zhang.
2947
2948Fixed a problem with Index Fields where the Index register was incorrectly
2949limited to a maximum of 32 bits. Now any size may be used.
2950
2951Fixed a couple memory leaks associated with "implicit return" objects when
2952the AML Interpreter slack mode is enabled. Lin Ming BZ 349
2953
2954Example Code and Data Size: These are the sizes for the OS-independent
2955acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2956debug version of the code includes the debug output trace mechanism and has
2957a much larger code and data size.
2958
2959  Previous Release:
2960    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2961    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2962  Current Release:
2963    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2964    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2965
2966----------------------------------------
296714 November 2007. Summary of changes for version 20071114:
2968
29691) ACPI CA Core Subsystem:
2970
2971Implemented event counters for each of the Fixed Events, the ACPI SCI
2972(interrupt) itself, and control methods executed. Named
2973AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These
2974should be useful for debugging and statistics.
2975
2976Implemented a new external interface, AcpiGetStatistics, to retrieve the
2977contents of the various event counters. Returns the current values for
2978AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
2979AcpiMethodCount. The interface can be expanded in the future if new counters
2980are added. Device drivers should use this interface rather than access the
2981counters directly.
2982
2983Fixed a problem with the FromBCD and ToBCD operators. With some compilers,
2984the ShortDivide function worked incorrectly, causing problems with the BCD
2985functions with large input values. A truncation from 64-bit to 32-bit
2986inadvertently occurred. Internal BZ 435. Lin Ming
2987
2988Fixed a problem with Index references passed as method arguments. References
2989passed as arguments to control methods were dereferenced immediately (before
2990control was passed to the called method). The references are now correctly
2991passed directly to the called method. BZ 5389. Lin Ming
2992
2993Fixed a problem with CopyObject used in conjunction with the Index operator.
2994The reference was incorrectly dereferenced before the copy. The reference is
2995now correctly copied. BZ 5391. Lin Ming
2996
2997Fixed a problem with Control Method references within Package objects. These
2998references are now correctly generated. This completes the package
2999construction overhaul that began in version 20071019.
3000
3001Example Code and Data Size: These are the sizes for the OS-independent
3002acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3003debug version of the code includes the debug output trace mechanism and has
3004a much larger code and data size.
3005
3006  Previous Release:
3007    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3008    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3009  Current Release:
3010    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
3011    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
3012
3013
30142) iASL Compiler/Disassembler and Tools:
3015
3016The AcpiExec utility now installs handlers for all of the predefined
3017Operation Region types. New types supported are: PCI_Config, CMOS, and
3018PCIBARTarget.
3019
3020Fixed a problem with the 64-bit version of AcpiExec where the extended (64-
3021bit) address fields for the DSDT and FACS within the FADT were not being
3022used, causing truncation of the upper 32-bits of these addresses. Lin Ming
3023and Bob Moore
3024
3025----------------------------------------
302619 October 2007. Summary of changes for version 20071019:
3027
30281) ACPI CA Core Subsystem:
3029
3030Fixed a problem with the Alias operator when the target of the alias is a
3031named ASL operator that opens a new scope -- Scope, Device, PowerResource,
3032Processor, and ThermalZone. In these cases, any children of the original
3033operator could not be accessed via the alias, potentially causing unexpected
3034AE_NOT_FOUND exceptions. (BZ 9067)
3035
3036Fixed a problem with the Package operator where all named references were
3037created as object references and left otherwise unresolved. According to the
3038ACPI specification, a Package can only contain Data Objects or references to
3039control methods. The implication is that named references to Data Objects
3040(Integer, Buffer, String, Package, BufferField, Field) should be resolved
3041immediately upon package creation. This is the approach taken with this
3042change. References to all other named objects (Methods, Devices, Scopes,
3043etc.) are all now properly created as reference objects. (BZ 5328)
3044
3045Reverted a change to Notify handling that was introduced in version
304620070508. This version changed the Notify handling from asynchronous to
3047fully synchronous (Device driver Notify handling with respect to the Notify
3048ASL operator). It was found that this change caused more problems than it
3049solved and was removed by most users.
3050
3051Fixed a problem with the Increment and Decrement operators where the type of
3052the target object could be unexpectedly and incorrectly changed. (BZ 353)
3053Lin Ming.
3054
3055Fixed a problem with the Load and LoadTable operators where the table
3056location within the namespace was ignored. Instead, the table was always
3057loaded into the root or current scope. Lin Ming.
3058
3059Fixed a problem with the Load operator when loading a table from a buffer
3060object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
3061
3062Fixed a problem with the Debug object where a store of a DdbHandle reference
3063object to the Debug object could cause a fault.
3064
3065Added a table checksum verification for the Load operator, in the case where
3066the load is from a buffer. (BZ 578).
3067
3068Implemented additional parameter validation for the LoadTable operator. The
3069length of the input strings SignatureString, OemIdString, and OemTableId are
3070now checked for maximum lengths. (BZ 582) Lin Ming.
3071
3072Example Code and Data Size: These are the sizes for the OS-independent
3073acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3074debug version of the code includes the debug output trace mechanism and has
3075a much larger code and data size.
3076
3077  Previous Release:
3078    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3079    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3080  Current Release:
3081    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
3082    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
3083
3084
30852) iASL Compiler/Disassembler:
3086
3087Fixed a problem where if a single file was specified and the file did not
3088exist, no error message was emitted. (Introduced with wildcard support in
3089version 20070917.)
3090
3091----------------------------------------
309219 September 2007. Summary of changes for version 20070919:
3093
30941) ACPI CA Core Subsystem:
3095
3096Designed and implemented new external interfaces to install and remove
3097handlers for ACPI table-related events. Current events that are defined are
3098LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
3099they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
3100AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
3101
3102Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
3103(acpi_serialized option on Linux) could cause some systems to hang during
3104initialization. (Bob Moore) BZ 8171
3105
3106Fixed a problem where objects of certain types (Device, ThermalZone,
3107Processor, PowerResource) can be not found if they are declared and
3108referenced from within the same control method (Lin Ming) BZ 341
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 has
3113a much larger code and data size.
3114
3115  Previous Release:
3116    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3117    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3118  Current Release:
3119    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
3120    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
3121
3122
31232) iASL Compiler/Disassembler:
3124
3125Implemented support to allow multiple files to be compiled/disassembled in a
3126single invocation. This includes command line wildcard support for both the
3127Windows and Unix versions of the compiler. This feature simplifies the
3128disassembly and compilation of multiple ACPI tables in a single directory.
3129
3130----------------------------------------
313108 May 2007. Summary of changes for version 20070508:
3132
31331) ACPI CA Core Subsystem:
3134
3135Implemented a Microsoft compatibility design change for the handling of the
3136Notify AML operator. Previously, notify handlers were dispatched and
3137executed completely asynchronously in a deferred thread. The new design
3138still executes the notify handlers in a different thread, but the original
3139thread that executed the Notify() now waits at a synchronization point for
3140the notify handler to complete. Some machines depend on a synchronous Notify
3141operator in order to operate correctly.
3142
3143Implemented support to allow Package objects to be passed as method
3144arguments to the external AcpiEvaluateObject interface. Previously, this
3145would return the AE_NOT_IMPLEMENTED exception. This feature had not been
3146implemented since there were no reserved control methods that required it
3147until recently.
3148
3149Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that
3150contained invalid non-zero values in reserved fields could cause later
3151failures because these fields have meaning in later revisions of the FADT.
3152For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields
3153are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
3154
3155Fixed a problem where the Global Lock handle was not properly updated if a
3156thread that acquired the Global Lock via executing AML code then attempted
3157to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe
3158Liu.
3159
3160Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
3161could be corrupted if the interrupt being removed was at the head of the
3162list. Reported by Linn Crosetto.
3163
3164Example Code and Data Size: These are the sizes for the OS-independent
3165acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3166debug version of the code includes the debug output trace mechanism and has
3167a much larger code and data size.
3168
3169  Previous Release:
3170    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3171    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3172  Current Release:
3173    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
3174    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
3175
3176----------------------------------------
317720 March 2007. Summary of changes for version 20070320:
3178
31791) ACPI CA Core Subsystem:
3180
3181Implemented a change to the order of interpretation and evaluation of AML
3182operand objects within the AML interpreter. The interpreter now evaluates
3183operands in the order that they appear in the AML stream (and the
3184corresponding ASL code), instead of in the reverse order (after the entire
3185operand list has been parsed). The previous behavior caused several subtle
3186incompatibilities with the Microsoft AML interpreter as well as being
3187somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
3188
3189Implemented a change to the ACPI Global Lock support. All interfaces to the
3190global lock now allow the same thread to acquire the lock multiple times.
3191This affects the AcpiAcquireGlobalLock external interface to the global lock
3192as well as the internal use of the global lock to support AML fields -- a
3193control method that is holding the global lock can now simultaneously access
3194AML fields that require global lock protection. Previously, in both cases,
3195this would have resulted in an AE_ALREADY_ACQUIRED exception. The change to
3196AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
3197Controller. There is no change to the behavior of the AML Acquire operator,
3198as this can already be used to acquire a mutex multiple times by the same
3199thread. BZ 8066. With assistance from Alexey Starikovskiy.
3200
3201Fixed a problem where invalid objects could be referenced in the AML
3202Interpreter after error conditions. During operand evaluation, ensure that
3203the internal "Return Object" field is cleared on error and only valid
3204pointers are stored there. Caused occasional access to deleted objects that
3205resulted in "large reference count" warning messages. Valery Podrezov.
3206
3207Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur on
3208deeply nested control method invocations. BZ 7873, local BZ 487. Valery
3209Podrezov.
3210
3211Fixed an internal problem with the handling of result objects on the
3212interpreter result stack. BZ 7872. Valery Podrezov.
3213
3214Removed obsolete code that handled the case where AML_NAME_OP is the target
3215of a reference (Reference.Opcode). This code was no longer necessary. BZ
32167874. Valery Podrezov.
3217
3218Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a
3219remnant from the previously discontinued 16-bit support.
3220
3221Example Code and Data Size: These are the sizes for the OS-independent
3222acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3223debug version of the code includes the debug output trace mechanism and has
3224a much larger code and data size.
3225
3226  Previous Release:
3227    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3228    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3229  Current Release:
3230    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3231    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
3232
3233----------------------------------------
323426 January 2007. Summary of changes for version 20070126:
3235
32361) ACPI CA Core Subsystem:
3237
3238Added the 2007 copyright to all module headers and signons. This affects
3239virtually every file in the ACPICA core subsystem, the iASL compiler, and
3240the utilities.
3241
3242Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
3243during a table load. A bad pointer was passed in the case where the DSDT is
3244overridden, causing a fault in this case.
3245
3246Example Code and Data Size: These are the sizes for the OS-independent
3247acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3248debug version of the code includes the debug output trace mechanism and has
3249a much larger code and data size.
3250
3251  Previous Release:
3252    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3253    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3254  Current Release:
3255    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3256    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3257
3258----------------------------------------
325915 December 2006. Summary of changes for version 20061215:
3260
32611) ACPI CA Core Subsystem:
3262
3263Support for 16-bit ACPICA has been completely removed since it is no longer
3264necessary and it clutters the code. All 16-bit macros, types, and
3265conditional compiles have been removed, cleaning up and simplifying the code
3266across the entire subsystem. DOS support is no longer needed since the
3267bootable Linux firmware kit is now available.
3268
3269The handler for the Global Lock is now removed during AcpiTerminate to
3270enable a clean subsystem restart, via the implementation of the
3271AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
3272HP)
3273
3274Implemented enhancements to the multithreading support within the debugger
3275to enable improved multithreading debugging and evaluation of the subsystem.
3276(Valery Podrezov)
3277
3278Debugger: Enhanced the Statistics/Memory command to emit the total (maximum)
3279memory used during the execution, as well as the maximum memory consumed by
3280each of the various object types. (Valery Podrezov)
3281
3282Example Code and Data Size: These are the sizes for the OS-independent
3283acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3284debug version of the code includes the debug output trace mechanism and has
3285a much larger code and data size.
3286
3287  Previous Release:
3288    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3289    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3290  Current Release:
3291    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
3292    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
3293
3294
32952) iASL Compiler/Disassembler and Tools:
3296
3297AcpiExec: Implemented a new option (-m) to display full memory use
3298statistics upon subsystem/program termination. (Valery Podrezov)
3299
3300----------------------------------------
330109 November 2006. Summary of changes for version 20061109:
3302
33031) ACPI CA Core Subsystem:
3304
3305Optimized the Load ASL operator in the case where the source operand is an
3306operation region. Simply map the operation region memory, instead of
3307performing a bytewise read. (Region must be of type SystemMemory, see
3308below.)
3309
3310Fixed the Load ASL operator for the case where the source operand is a
3311region field. A buffer object is also allowed as the source operand. BZ 480
3312
3313Fixed a problem where the Load ASL operator allowed the source operand to be
3314an operation region of any type. It is now restricted to regions of type
3315SystemMemory, as per the ACPI specification. BZ 481
3316
3317Additional cleanup and optimizations for the new Table Manager code.
3318
3319AcpiEnable will now fail if all of the required ACPI tables are not loaded
3320(FADT, FACS, DSDT). BZ 477
3321
3322Added #pragma pack(8/4) to acobject.h to ensure that the structures in this
3323header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
3324manually optimized to be aligned and will not work if it is byte-packed.
3325
3326Example Code and Data Size: These are the sizes for the OS-independent
3327acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3328debug version of the code includes the debug output trace mechanism and has
3329a much larger code and data size.
3330
3331  Previous Release:
3332    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3333    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3334  Current Release:
3335    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
3336    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
3337
3338
33392) iASL Compiler/Disassembler and Tools:
3340
3341Fixed a problem where the presence of the _OSI predefined control method
3342within complex expressions could cause an internal compiler error.
3343
3344AcpiExec: Implemented full region support for multiple address spaces.
3345SpaceId is now part of the REGION object. BZ 429
3346
3347----------------------------------------
334811 October 2006. Summary of changes for version 20061011:
3349
33501) ACPI CA Core Subsystem:
3351
3352Completed an AML interpreter performance enhancement for control method
3353execution. Previously a 2-pass parse/execution, control methods are now
3354completely parsed and executed in a single pass. This improves overall
3355interpreter performance by ~25%, reduces code size, and reduces CPU stack
3356use. (Valery Podrezov + interpreter changes in version 20051202 that
3357eliminated namespace loading during the pass one parse.)
3358
3359Implemented _CID support for PCI Root Bridge detection. If the _HID does not
3360match the predefined PCI Root Bridge IDs, the _CID list (if present) is now
3361obtained and also checked for an ID match.
3362
3363Implemented additional support for the PCI _ADR execution: upsearch until a
3364device scope is found before executing _ADR. This allows PCI_Config
3365operation regions to be declared locally within control methods underneath
3366PCI device objects.
3367
3368Fixed a problem with a possible race condition between threads executing
3369AcpiWalkNamespace and the AML interpreter. This condition was removed by
3370modifying AcpiWalkNamespace to (by default) ignore all temporary namespace
3371entries created during any concurrent control method execution. An
3372additional namespace race condition is known to exist between
3373AcpiWalkNamespace and the Load/Unload ASL operators and is still under
3374investigation.
3375
3376Restructured the AML ParseLoop function, breaking it into several
3377subfunctions in order to reduce CPU stack use and improve maintainability.
3378(Mikhail Kouzmich)
3379
3380AcpiGetHandle: Fix for parameter validation to detect invalid combinations
3381of prefix handle and pathname. BZ 478
3382
3383Example Code and Data Size: These are the sizes for the OS-independent
3384acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3385debug version of the code includes the debug output trace mechanism and has
3386a much larger code and data size.
3387
3388  Previous Release:
3389    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3390    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3391  Current Release:
3392    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3393    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3394
33952) iASL Compiler/Disassembler and Tools:
3396
3397Ported the -g option (get local ACPI tables) to the new ACPICA Table Manager
3398to restore original behavior.
3399
3400----------------------------------------
340127 September 2006. Summary of changes for version 20060927:
3402
34031) ACPI CA Core Subsystem:
3404
3405Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
3406These functions now use a spinlock for mutual exclusion and the interrupt
3407level indication flag is not needed.
3408
3409Fixed a problem with the Global Lock where the lock could appear to be
3410obtained before it is actually obtained. The global lock semaphore was
3411inadvertently created with one unit instead of zero units. (BZ 464) Fiodor
3412Suietov.
3413
3414Fixed a possible memory leak and fault in AcpiExResolveObjectToValue during
3415a read from a buffer or region field. (BZ 458) Fiodor Suietov.
3416
3417Example Code and Data Size: These are the sizes for the OS-independent
3418acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3419debug version of the code includes the debug output trace mechanism and has
3420a much larger code and data size.
3421
3422  Previous Release:
3423    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3424    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3425  Current Release:
3426    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3427    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3428
3429
34302) iASL Compiler/Disassembler and Tools:
3431
3432Fixed a compilation problem with the pre-defined Resource Descriptor field
3433names where an "object does not exist" error could be incorrectly generated
3434if the parent ResourceTemplate pathname places the template within a
3435different namespace scope than the current scope. (BZ 7212)
3436
3437Fixed a problem where the compiler could hang after syntax errors detected
3438in an ElseIf construct. (BZ 453)
3439
3440Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
3441operator. An incorrect output filename was produced when this parameter was
3442a null string (""). Now, the original input filename is used as the AML
3443output filename, with an ".aml" extension.
3444
3445Implemented a generic batch command mode for the AcpiExec utility (execute
3446any AML debugger command) (Valery Podrezov).
3447
3448----------------------------------------
344912 September 2006. Summary of changes for version 20060912:
3450
34511) ACPI CA Core Subsystem:
3452
3453Enhanced the implementation of the "serialized mode" of the interpreter
3454(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
3455specified, instead of creating a serialization semaphore per control method,
3456the interpreter lock is simply no longer released before a blocking
3457operation during control method execution. This effectively makes the AML
3458Interpreter single-threaded. The overhead of a semaphore per-method is
3459eliminated.
3460
3461Fixed a regression where an error was no longer emitted if a control method
3462attempts to create 2 objects of the same name. This once again returns
3463AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that
3464will dynamically serialize the control method to possible prevent future
3465errors. (BZ 440)
3466
3467Integrated a fix for a problem with PCI Express HID detection in the PCI
3468Config Space setup procedure. (BZ 7145)
3469
3470Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
3471AcpiHwInitialize function - the FADT registers are now validated when the
3472table is loaded.
3473
3474Added two new warnings during FADT verification - 1) if the FADT is larger
3475than the largest known FADT version, and 2) if there is a mismatch between a
347632-bit block address and the 64-bit X counterpart (when both are non-zero.)
3477
3478Example Code and Data Size: These are the sizes for the OS-independent
3479acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3480debug version of the code includes the debug output trace mechanism and has
3481a much larger code and data size.
3482
3483  Previous Release:
3484    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3485    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3486  Current Release:
3487    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3488    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3489
3490
34912) iASL Compiler/Disassembler and Tools:
3492
3493Fixed a problem with the implementation of the Switch() operator where the
3494temporary variable was declared too close to the actual Switch, instead of
3495at method level. This could cause a problem if the Switch() operator is
3496within a while loop, causing an error on the second iteration. (BZ 460)
3497
3498Disassembler - fix for error emitted for unknown type for target of scope
3499operator. Now, ignore it and continue.
3500
3501Disassembly of an FADT now verifies the input FADT and reports any errors
3502found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3503
3504Disassembly of raw data buffers with byte initialization data now prefixes
3505each output line with the current buffer offset.
3506
3507Disassembly of ASF! table now includes all variable-length data fields at
3508the end of some of the subtables.
3509
3510The disassembler now emits a comment if a buffer appears to be a
3511ResourceTemplate, but cannot be disassembled as such because the EndTag does
3512not appear at the very end of the buffer.
3513
3514AcpiExec - Added the "-t" command line option to enable the serialized mode
3515of the AML interpreter.
3516
3517----------------------------------------
351831 August 2006. Summary of changes for version 20060831:
3519
35201) ACPI CA Core Subsystem:
3521
3522Miscellaneous fixes for the Table Manager:
3523- Correctly initialize internal common FADT for all 64-bit "X" fields
3524- Fixed a couple table mapping issues during table load
3525- Fixed a couple alignment issues for IA64
3526- Initialize input array to zero in AcpiInitializeTables
3527- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
3528AcpiGetTableByIndex
3529
3530Change for GPE support: when a "wake" GPE is received, all wake GPEs are now
3531immediately disabled to prevent the waking GPE from firing again and to
3532prevent other wake GPEs from interrupting the wake process.
3533
3534Added the AcpiGpeCount global that tracks the number of processed GPEs, to
3535be used for debugging systems with a large number of ACPI interrupts.
3536
3537Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
3538both the ACPICA headers and the disassembler.
3539
3540Example Code and Data Size: These are the sizes for the OS-independent
3541acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3542debug version of the code includes the debug output trace mechanism and has
3543a much larger code and data size.
3544
3545  Previous Release:
3546    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3547    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3548  Current Release:
3549    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3550    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3551
3552
35532) iASL Compiler/Disassembler and Tools:
3554
3555Disassembler support for the DMAR ACPI table.
3556
3557----------------------------------------
355823 August 2006. Summary of changes for version 20060823:
3559
35601) ACPI CA Core Subsystem:
3561
3562The Table Manager component has been completely redesigned and
3563reimplemented. The new design is much simpler, and reduces the overall code
3564and data size of the kernel-resident ACPICA by approximately 5%. Also, it is
3565now possible to obtain the ACPI tables very early during kernel
3566initialization, even before dynamic memory management is initialized.
3567(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3568
3569Obsolete ACPICA interfaces:
3570
3571- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init
3572time).
3573- AcpiLoadTable: Not needed.
3574- AcpiUnloadTable: Not needed.
3575
3576New ACPICA interfaces:
3577
3578- AcpiInitializeTables: Must be called before the table manager can be used.
3579- AcpiReallocateRootTable: Used to transfer the root table to dynamically
3580allocated memory after it becomes available.
3581- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables
3582in the RSDT/XSDT.
3583
3584Other ACPICA changes:
3585
3586- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use
3587AcpiOsUnmapMemory to free this mapping.
3588- AcpiGetTable returns the actual mapped table. The mapping is managed
3589internally and must not be deleted by the caller. Use of this interface
3590causes no additional dynamic memory allocation.
3591- AcpiFindRootPointer: Support for physical addressing has been eliminated,
3592it appeared to be unused.
3593- The interface to AcpiOsMapMemory has changed to be consistent with the
3594other allocation interfaces.
3595- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary
3596parameters.
3597- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
3598bit platforms. Was previously 64 bits on all platforms.
3599- The interface to the ACPI Global Lock acquire/release macros have changed
3600slightly since ACPICA no longer keeps a local copy of the FACS with a
3601constructed pointer to the actual global lock.
3602
3603Porting to the new table manager:
3604
3605- AcpiInitializeTables: Must be called once, and can be called anytime
3606during the OS initialization process. It allows the host to specify an area
3607of memory to be used to store the internal version of the RSDT/XSDT (root
3608table). This allows the host to access ACPI tables before memory management
3609is initialized and running.
3610- AcpiReallocateRootTable: Can be called after memory management is running
3611to copy the root table to a dynamically allocated array, freeing up the
3612scratch memory specified in the call to AcpiInitializeTables.
3613- AcpiSubsystemInitialize: This existing interface is independent of the
3614Table Manager, and does not have to be called before the Table Manager can
3615be used, it only must be called before the rest of ACPICA can be used.
3616- ACPI Tables: Some changes have been made to the names and structure of the
3617actbl.h and actbl1.h header files and may require changes to existing code.
3618For example, bitfields have been completely removed because of their lack of
3619portability across C compilers.
3620- Update interfaces to the Global Lock acquire/release macros if local
3621versions are used. (see acwin.h)
3622
3623Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
3624
3625New files: tbfind.c
3626
3627Example Code and Data Size: These are the sizes for the OS-independent
3628acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3629debug version of the code includes the debug output trace mechanism and has
3630a much larger code and data size.
3631
3632  Previous Release:
3633    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3634    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3635  Current Release:
3636    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3637    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3638
3639
36402) iASL Compiler/Disassembler and Tools:
3641
3642No changes for this release.
3643
3644----------------------------------------
364521 July 2006. Summary of changes for version 20060721:
3646
36471) ACPI CA Core Subsystem:
3648
3649The full source code for the ASL test suite used to validate the iASL
3650compiler and the ACPICA core subsystem is being released with the ACPICA
3651source for the first time. The source is contained in a separate package and
3652consists of over 1100 files that exercise all ASL/AML operators. The package
3653should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor
3654Suietov)
3655
3656Completed a new design and implementation for support of the ACPI Global
3657Lock. On the OS side, the global lock is now treated as a standard AML
3658mutex. Previously, multiple OS threads could "acquire" the global lock
3659simultaneously. However, this could cause the BIOS to be starved out of the
3660lock - especially in cases such as the Embedded Controller driver where
3661there is a tight coupling between the OS and the BIOS.
3662
3663Implemented an optimization for the ACPI Global Lock interrupt mechanism.
3664The Global Lock interrupt handler no longer queues the execution of a
3665separate thread to signal the global lock semaphore. Instead, the semaphore
3666is signaled directly from the interrupt handler.
3667
3668Implemented support within the AML interpreter for package objects that
3669contain a larger AML length (package list length) than the package element
3670count. In this case, the length of the package is truncated to match the
3671package element count. Some BIOS code apparently modifies the package length
3672on the fly, and this change supports this behavior. Provides compatibility
3673with the MS AML interpreter. (With assistance from Fiodor Suietov)
3674
3675Implemented a temporary fix for the BankValue parameter of a Bank Field to
3676support all constant values, now including the Zero and One opcodes.
3677Evaluation of this parameter must eventually be converted to a full TermArg
3678evaluation. A not-implemented error is now returned (temporarily) for non-
3679constant values for this parameter.
3680
3681Fixed problem reports (Fiodor Suietov) integrated:
3682- Fix for premature object deletion after CopyObject on Operation Region (BZ
3683350)
3684
3685Example Code and Data Size: These are the sizes for the OS-independent
3686acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3687debug version of the code includes the debug output trace mechanism and has
3688a much larger code and data size.
3689
3690  Previous Release:
3691    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
3692    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
3693  Current Release:
3694    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3695    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3696
3697
36982) iASL Compiler/Disassembler and Tools:
3699
3700No changes for this release.
3701
3702----------------------------------------
370307 July 2006. Summary of changes for version 20060707:
3704
37051) ACPI CA Core Subsystem:
3706
3707Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
3708that do not allow the initialization of address pointers within packed
3709structures - even though the hardware itself may support misaligned
3710transfers. Some of the debug data structures are packed by default to
3711minimize size.
3712
3713Added an error message for the case where AcpiOsGetThreadId() returns zero.
3714A non-zero value is required by the core ACPICA code to ensure the proper
3715operation of AML mutexes and recursive control methods.
3716
3717The DSDT is now the only ACPI table that determines whether the AML
3718interpreter is in 32-bit or 64-bit mode. Not really a functional change, but
3719the hooks for per-table 32/64 switching have been removed from the code. A
3720clarification to the ACPI specification is forthcoming in ACPI 3.0B.
3721
3722Fixed a possible leak of an OwnerID in the error path of
3723AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
3724deletion to a single place in AcpiTbUninstallTable to correct possible leaks
3725when using the AcpiTbDeleteTablesByType interface (with assistance from
3726Lance Ortiz.)
3727
3728Fixed a problem with Serialized control methods where the semaphore
3729associated with the method could be over-signaled after multiple method
3730invocations.
3731
3732Fixed two issues with the locking of the internal namespace data structure.
3733Both the Unload() operator and AcpiUnloadTable interface now lock the
3734namespace during the namespace deletion associated with the table unload
3735(with assistance from Linn Crosetto.)
3736
3737Fixed problem reports (Valery Podrezov) integrated:
3738- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
3739
3740Fixed problem reports (Fiodor Suietov) integrated:
3741- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
3742- On Address Space handler deletion, needless deactivation call (BZ 374)
3743- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
3744- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone
3745(BZ 376)
3746- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
3747- Minimum Length of RSDT should be validated (BZ 379)
3748- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
3749Handler (BZ (380)
3750- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded
3751(BZ 381)
3752
3753Example Code and Data Size: These are the sizes for the OS-independent
3754acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3755debug version of the code includes the debug output trace mechanism and has
3756a much larger code and data size.
3757
3758  Previous Release:
3759    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3760    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3761  Current Release:
3762    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3763    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3764
3765
37662) iASL Compiler/Disassembler and Tools:
3767
3768Fixed problem reports:
3769Compiler segfault when ASL contains a long (>1024) String declaration (BZ
3770436)
3771
3772----------------------------------------
377323 June 2006. Summary of changes for version 20060623:
3774
37751) ACPI CA Core Subsystem:
3776
3777Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
3778allows the type to be customized to the host OS for improved efficiency
3779(since a spinlock is usually a very small object.)
3780
3781Implemented support for "ignored" bits in the ACPI registers. According to
3782the ACPI specification, these bits should be preserved when writing the
3783registers via a read/modify/write cycle. There are 3 bits preserved in this
3784manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
3785
3786Implemented the initial deployment of new OSL mutex interfaces. Since some
3787host operating systems have separate mutex and semaphore objects, this
3788feature was requested. The base code now uses mutexes (and the new mutex
3789interfaces) wherever a binary semaphore was used previously. However, for
3790the current release, the mutex interfaces are defined as macros to map them
3791to the existing semaphore interfaces. Therefore, no OSL changes are required
3792at this time. (See acpiosxf.h)
3793
3794Fixed several problems with the support for the control method SyncLevel
3795parameter. The SyncLevel now works according to the ACPI specification and
3796in concert with the Mutex SyncLevel parameter, since the current SyncLevel
3797is a property of the executing thread. Mutual exclusion for control methods
3798is now implemented with a mutex instead of a semaphore.
3799
3800Fixed three instances of the use of the C shift operator in the bitfield
3801support code (exfldio.c) to avoid the use of a shift value larger than the
3802target data width. The behavior of C compilers is undefined in this case and
3803can cause unpredictable results, and therefore the case must be detected and
3804avoided. (Fiodor Suietov)
3805
3806Added an info message whenever an SSDT or OEM table is loaded dynamically
3807via the Load() or LoadTable() ASL operators. This should improve debugging
3808capability since it will show exactly what tables have been loaded (beyond
3809the tables present in the RSDT/XSDT.)
3810
3811Example Code and Data Size: These are the sizes for the OS-independent
3812acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3813debug version of the code includes the debug output trace mechanism and has
3814a much larger code and data size.
3815
3816  Previous Release:
3817    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3818    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3819  Current Release:
3820    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3821    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3822
3823
38242) iASL Compiler/Disassembler and Tools:
3825
3826No changes for this release.
3827
3828----------------------------------------
382908 June 2006. Summary of changes for version 20060608:
3830
38311) ACPI CA Core Subsystem:
3832
3833Converted the locking mutex used for the ACPI hardware to a spinlock. This
3834change should eliminate all problems caused by attempting to acquire a
3835semaphore at interrupt level, and it means that all ACPICA external
3836interfaces that directly access the ACPI hardware can be safely called from
3837interrupt level. OSL code that implements the semaphore interfaces should be
3838able to eliminate any workarounds for being called at interrupt level.
3839
3840Fixed a regression introduced in 20060526 where the ACPI device
3841initialization could be prematurely aborted with an AE_NOT_FOUND if a device
3842did not have an optional _INI method.
3843
3844Fixed an IndexField issue where a write to the Data Register should be
3845limited in size to the AccessSize (width) of the IndexField itself. (BZ 433,
3846Fiodor Suietov)
3847
3848Fixed problem reports (Valery Podrezov) integrated:
3849- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
3850
3851Fixed problem reports (Fiodor Suietov) integrated:
3852- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
3853
3854Removed four global mutexes that were obsolete and were no longer being
3855used.
3856
3857Example Code and Data Size: These are the sizes for the OS-independent
3858acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3859debug version of the code includes the debug output trace mechanism and has
3860a much larger code and data size.
3861
3862  Previous Release:
3863    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3864    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3865  Current Release:
3866    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3867    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3868
3869
38702) iASL Compiler/Disassembler and Tools:
3871
3872Fixed a fault when using -g option (get tables from registry) on Windows
3873machines.
3874
3875Fixed problem reports integrated:
3876- Generate error if CreateField NumBits parameter is zero. (BZ 405)
3877- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
3878Suietov)
3879- Global table revision override (-r) is ignored (BZ 413)
3880
3881----------------------------------------
388226 May 2006. Summary of changes for version 20060526:
3883
38841) ACPI CA Core Subsystem:
3885
3886Restructured, flattened, and simplified the internal interfaces for
3887namespace object evaluation - resulting in smaller code, less CPU stack use,
3888and fewer interfaces. (With assistance from Mikhail Kouzmich)
3889
3890Fixed a problem with the CopyObject operator where the first parameter was
3891not typed correctly for the parser, interpreter, compiler, and disassembler.
3892Caused various errors and unexpected behavior.
3893
3894Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
3895produced incorrect results with some C compilers. Since the behavior of C
3896compilers when the shift value is larger than the datatype width is
3897apparently not well defined, the interpreter now detects this condition and
3898simply returns zero as expected in all such cases. (BZ 395)
3899
3900Fixed problem reports (Valery Podrezov) integrated:
3901- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
3902- Allow interpreter to handle nested method declarations (BZ 5361)
3903
3904Fixed problem reports (Fiodor Suietov) integrated:
3905- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
3906- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
3907- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
3908- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
3909- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
3910- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
3911- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
3912- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
3913- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
3914- Status of the Global Initialization Handler call not used (BZ 366)
3915- Incorrect object parameter to Global Initialization Handler (BZ 367)
3916
3917Example Code and Data Size: These are the sizes for the OS-independent
3918acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3919debug version of the code includes the debug output trace mechanism and has
3920a much larger code and data size.
3921
3922  Previous Release:
3923    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3924    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3925  Current Release:
3926    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3927    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3928
3929
39302) iASL Compiler/Disassembler and Tools:
3931
3932Modified the parser to allow the names IO, DMA, and IRQ to be used as
3933namespace identifiers with no collision with existing resource descriptor
3934macro names. This provides compatibility with other ASL compilers and is
3935most useful for disassembly/recompilation of existing tables without parse
3936errors. (With assistance from Thomas Renninger)
3937
3938Disassembler: fixed an incorrect disassembly problem with the
3939DataTableRegion and CopyObject operators. Fixed a possible fault during
3940disassembly of some Alias operators.
3941
3942----------------------------------------
394312 May 2006. Summary of changes for version 20060512:
3944
39451) ACPI CA Core Subsystem:
3946
3947Replaced the AcpiOsQueueForExecution interface with a new interface named
3948AcpiOsExecute. The major difference is that the new interface does not have
3949a Priority parameter, this appeared to be useless and has been replaced by a
3950Type parameter. The Type tells the host what type of execution is being
3951requested, such as global lock handler, notify handler, GPE handler, etc.
3952This allows the host to queue and execute the request as appropriate for the
3953request type, possibly using different work queues and different priorities
3954for the various request types. This enables fixes for multithreading
3955deadlock problems such as BZ #5534, and will require changes to all existing
3956OS interface layers. (Alexey Starikovskiy and Bob Moore)
3957
3958Fixed a possible memory leak associated with the support for the so-called
3959"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
3960Suietov)
3961
3962Fixed a problem with the Load() operator where a table load from an
3963operation region could overwrite an internal table buffer by up to 7 bytes
3964and cause alignment faults on IPF systems. (With assistance from Luming Yu)
3965
3966Example Code and Data Size: These are the sizes for the OS-independent
3967acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3968debug version of the code includes the debug output trace mechanism and has
3969a much larger code and data size.
3970
3971  Previous Release:
3972    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3973    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3974  Current Release:
3975    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3976    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3977
3978
3979
39802) iASL Compiler/Disassembler and Tools:
3981
3982Disassembler: Implemented support to cross reference the internal namespace
3983and automatically generate ASL External() statements for symbols not defined
3984within the current table being disassembled. This will simplify the
3985disassembly and recompilation of interdependent tables such as SSDTs since
3986these statements will no longer have to be added manually.
3987
3988Disassembler: Implemented experimental support to automatically detect
3989invocations of external control methods and generate appropriate External()
3990statements. This is problematic because the AML cannot be correctly parsed
3991until the number of arguments for each control method is known. Currently,
3992standalone method invocations and invocations as the source operand of a
3993Store() statement are supported.
3994
3995Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
3996LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
3997LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
3998more readable and likely closer to the original ASL source.
3999
4000----------------------------------------
400121 April 2006. Summary of changes for version 20060421:
4002
40031) ACPI CA Core Subsystem:
4004
4005Removed a device initialization optimization introduced in 20051216 where
4006the _STA method was not run unless an _INI was also present for the same
4007device. This optimization could cause problems because it could allow _INI
4008methods to be run within a not-present device subtree. (If a not-present
4009device had no _INI, _STA would not be run, the not-present status would not
4010be discovered, and the children of the device would be incorrectly
4011traversed.)
4012
4013Implemented a new _STA optimization where namespace subtrees that do not
4014contain _INI are identified and ignored during device initialization.
4015Selectively running _STA can significantly improve boot time on large
4016machines (with assistance from Len Brown.)
4017
4018Implemented support for the device initialization case where the returned
4019_STA flags indicate a device not-present but functioning. In this case, _INI
4020is not run, but the device children are examined for presence, as per the
4021ACPI specification.
4022
4023Implemented an additional change to the IndexField support in order to
4024conform to MS behavior. The value written to the Index Register is not
4025simply a byte offset, it is a byte offset in units of the access width of
4026the parent Index Field. (Fiodor Suietov)
4027
4028Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
4029interface is called during the creation of all AML operation regions, and
4030allows the host OS to exert control over what addresses it will allow the
4031AML code to access. Operation Regions whose addresses are disallowed will
4032cause a runtime exception when they are actually accessed (will not affect
4033or abort table loading.) See oswinxf or osunixxf for an example
4034implementation.
4035
4036Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
4037interface allows the host OS to match the various "optional"
4038interface/behavior strings for the _OSI predefined control method as
4039appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
4040for an example implementation.
4041
4042Restructured and corrected various problems in the exception handling code
4043paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
4044(with assistance from Takayoshi Kochi.)
4045
4046Modified the Linux source converter to ignore quoted string literals while
4047converting identifiers from mixed to lower case. This will correct problems
4048with the disassembler and other areas where such strings must not be
4049modified.
4050
4051The ACPI_FUNCTION_* macros no longer require quotes around the function
4052name. This allows the Linux source converter to convert the names, now that
4053the converter ignores quoted strings.
4054
4055Example Code and Data Size: These are the sizes for the OS-independent
4056acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4057debug version of the code includes the debug output trace mechanism and has
4058a much larger code and data size.
4059
4060  Previous Release:
4061
4062    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4063    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4064  Current Release:
4065    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
4066    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
4067
4068
40692) iASL Compiler/Disassembler and Tools:
4070
4071Implemented 3 new warnings for iASL, and implemented multiple warning levels
4072(w2 flag).
4073
40741) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not
4075WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
4076check for the possible timeout, a warning is issued.
4077
40782) Useless operators: If an ASL operator does not specify an optional target
4079operand and it also does not use the function return value from the
4080operator, a warning is issued since the operator effectively does nothing.
4081
40823) Unreferenced objects: If a namespace object is created, but never
4083referenced, a warning is issued. This is a warning level 2 since there are
4084cases where this is ok, such as when a secondary table is loaded that uses
4085the unreferenced objects. Even so, care is taken to only flag objects that
4086don't look like they will ever be used. For example, the reserved methods
4087(starting with an underscore) are usually not referenced because it is
4088expected that the OS will invoke them.
4089
4090----------------------------------------
409131 March 2006. Summary of changes for version 20060331:
4092
40931) ACPI CA Core Subsystem:
4094
4095Implemented header file support for the following additional ACPI tables:
4096ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support,
4097all current and known ACPI tables are now defined in the ACPICA headers and
4098are available for use by device drivers and other software.
4099
4100Implemented support to allow tables that contain ACPI names with invalid
4101characters to be loaded. Previously, this would cause the table load to
4102fail, but since there are several known cases of such tables on existing
4103machines, this change was made to enable ACPI support for them. Also, this
4104matches the behavior of the Microsoft ACPI implementation.
4105
4106Fixed a couple regressions introduced during the memory optimization in the
410720060317 release. The namespace node definition required additional
4108reorganization and an internal datatype that had been changed to 8-bit was
4109restored to 32-bit. (Valery Podrezov)
4110
4111Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
4112could be passed through to AcpiOsReleaseObject which is unexpected. Such
4113null pointers are now trapped and ignored, matching the behavior of the
4114previous implementation before the deployment of AcpiOsReleaseObject.
4115(Valery Podrezov, Fiodor Suietov)
4116
4117Fixed a memory mapping leak during the deletion of a SystemMemory operation
4118region where a cached memory mapping was not deleted. This became a
4119noticeable problem for operation regions that are defined within frequently
4120used control methods. (Dana Meyers)
4121
4122Reorganized the ACPI table header files into two main files: one for the
4123ACPI tables consumed by the ACPICA core, and another for the miscellaneous
4124ACPI tables that are consumed by the drivers and other software. The various
4125FADT definitions were merged into one common section and three different
4126tables (ACPI 1.0, 1.0+, and 2.0)
4127
4128Example Code and Data Size: These are the sizes for the OS-independent
4129acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4130debug version of the code includes the debug output trace mechanism and has
4131a much larger code and data size.
4132
4133  Previous Release:
4134    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4135    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4136  Current Release:
4137    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
4138    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
4139
4140
41412) iASL Compiler/Disassembler and Tools:
4142
4143Disassembler: Implemented support to decode and format all non-AML ACPI
4144tables (tables other than DSDTs and SSDTs.) This includes the new tables
4145added to the ACPICA headers, therefore all current and known ACPI tables are
4146supported.
4147
4148Disassembler: The change to allow ACPI names with invalid characters also
4149enables the disassembly of such tables. Invalid characters within names are
4150changed to '*' to make the name printable; the iASL compiler will still
4151generate an error for such names, however, since this is an invalid ACPI
4152character.
4153
4154Implemented an option for AcpiXtract (-a) to extract all tables found in the
4155input file. The default invocation extracts only the DSDTs and SSDTs.
4156
4157Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
4158makefile for the AcpiXtract utility.
4159
4160----------------------------------------
416117 March 2006. Summary of changes for version 20060317:
4162
41631) ACPI CA Core Subsystem:
4164
4165Implemented the use of a cache object for all internal namespace nodes.
4166Since there are about 1000 static nodes in a typical system, this will
4167decrease memory use for cache implementations that minimize per-allocation
4168overhead (such as a slab allocator.)
4169
4170Removed the reference count mechanism for internal namespace nodes, since it
4171was deemed unnecessary. This reduces the size of each namespace node by
4172about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case,
4173and 32 bytes for the 64-bit case.
4174
4175Optimized several internal data structures to reduce object size on 64-bit
4176platforms by packing data within the 64-bit alignment. This includes the
4177frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
4178instances corresponding to the namespace objects.
4179
4180Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1"
4181and "Windows 2006".
4182
4183Split the allocation tracking mechanism out to a separate file, from
4184utalloc.c to uttrack.c. This mechanism appears to be only useful for
4185application-level code. Kernels may wish to not include uttrack.c in
4186distributions.
4187
4188Removed all remnants of the obsolete ACPI_REPORT_* macros and the associated
4189code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
4190macros.)
4191
4192Code and Data Size: These are the sizes for the acpica.lib produced by the
4193Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI
4194driver or OSPM code. The debug version of the code includes the debug output
4195trace mechanism and has a much larger code and data size. Note that these
4196values will vary depending on the efficiency of the compiler and the
4197compiler options used during generation.
4198
4199  Previous Release:
4200    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4201    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4202  Current Release:
4203    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
4204    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
4205
4206
42072) iASL Compiler/Disassembler and Tools:
4208
4209Implemented an ANSI C version of the acpixtract utility. This version will
4210automatically extract the DSDT and all SSDTs from the input acpidump text
4211file and dump the binary output to separate files. It can also display a
4212summary of the input file including the headers for each table found and
4213will extract any single ACPI table, with any signature. (See
4214source/tools/acpixtract)
4215
4216----------------------------------------
421710 March 2006. Summary of changes for version 20060310:
4218
42191) ACPI CA Core Subsystem:
4220
4221Tagged all external interfaces to the subsystem with the new
4222ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist
4223kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
4224macro. The default definition is NULL.
4225
4226Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId.
4227This allows the host to define this as necessary to simplify kernel
4228integration. The default definition is ACPI_NATIVE_UINT.
4229
4230Fixed two interpreter problems related to error processing, the deletion of
4231objects, and placing invalid pointers onto the internal operator result
4232stack. BZ 6028, 6151 (Valery Podrezov)
4233
4234Increased the reference count threshold where a warning is emitted for large
4235reference counts in order to eliminate unnecessary warnings on systems with
4236large namespaces (especially 64-bit.) Increased the value from 0x400 to
42370x800.
4238
4239Due to universal disagreement as to the meaning of the 'c' in the calloc()
4240function, the ACPI_MEM_CALLOCATE macro has been renamed to
4241ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
4242ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
4243ACPI_FREE.
4244
4245Code and Data Size: These are the sizes for the acpica.lib produced by the
4246Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI
4247driver or OSPM code. The debug version of the code includes the debug output
4248trace mechanism and has a much larger code and data size. Note that these
4249values will vary depending on the efficiency of the compiler and the
4250compiler options used during generation.
4251
4252  Previous Release:
4253    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4254    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4255  Current Release:
4256    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4257    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
4258
4259
42602) iASL Compiler/Disassembler:
4261
4262Disassembler: implemented support for symbolic resource descriptor
4263references. If a CreateXxxxField operator references a fixed offset within a
4264resource descriptor, a name is assigned to the descriptor and the offset is
4265translated to the appropriate resource tag and pathname. The addition of
4266this support brings the disassembled code very close to the original ASL
4267source code and helps eliminate run-time errors when the disassembled code
4268is modified (and recompiled) in such a way as to invalidate the original
4269fixed offsets.
4270
4271Implemented support for a Descriptor Name as the last parameter to the ASL
4272Register() macro. This parameter was inadvertently left out of the ACPI
4273specification, and will be added for ACPI 3.0b.
4274
4275Fixed a problem where the use of the "_OSI" string (versus the full path
4276"\_OSI") caused an internal compiler error. ("No back ptr to op")
4277
4278Fixed a problem with the error message that occurs when an invalid string is
4279used for a _HID object (such as one with an embedded asterisk: "*PNP010A".)
4280The correct message is now displayed.
4281
4282----------------------------------------
428317 February 2006. Summary of changes for version 20060217:
4284
42851) ACPI CA Core Subsystem:
4286
4287Implemented a change to the IndexField support to match the behavior of the
4288Microsoft AML interpreter. The value written to the Index register is now a
4289byte offset, no longer an index based upon the width of the Data register.
4290This should fix IndexField problems seen on some machines where the Data
4291register is not exactly one byte wide. The ACPI specification will be
4292clarified on this point.
4293
4294Fixed a problem where several resource descriptor types could overrun the
4295internal descriptor buffer due to size miscalculation: VendorShort,
4296VendorLong, and Interrupt. This was noticed on IA64 machines, but could
4297affect all platforms.
4298
4299Fixed a problem where individual resource descriptors were misaligned within
4300the internal buffer, causing alignment faults on IA64 platforms.
4301
4302Code and Data Size: These are the sizes for the acpica.lib produced by the
4303Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI
4304driver or OSPM code. The debug version of the code includes the debug output
4305trace mechanism and has a much larger code and data size. Note that these
4306values will vary depending on the efficiency of the compiler and the
4307compiler options used during generation.
4308
4309  Previous Release:
4310    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4311    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4312  Current Release:
4313    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
4314    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
4315
4316
43172) iASL Compiler/Disassembler:
4318
4319Implemented support for new reserved names: _WDG and _WED are Microsoft
4320extensions for Windows Instrumentation Management, _TDL is a new ACPI-
4321defined method (Throttling Depth Limit.)
4322
4323Fixed a problem where a zero-length VendorShort or VendorLong resource
4324descriptor was incorrectly emitted as a descriptor of length one.
4325
4326----------------------------------------
432710 February 2006. Summary of changes for version 20060210:
4328
43291) ACPI CA Core Subsystem:
4330
4331Removed a couple of extraneous ACPI_ERROR messages that appeared during
4332normal execution. These became apparent after the conversion from
4333ACPI_DEBUG_PRINT.
4334
4335Fixed a problem where the CreateField operator could hang if the BitIndex or
4336NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
4337
4338Fixed a problem where a DeRefOf operation on a buffer object incorrectly
4339failed with an exception. This also fixes a couple of related RefOf and
4340DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
4341
4342Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of
4343AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ
43445480)
4345
4346Implemented a memory cleanup at the end of the execution of each iteration
4347of an AML While() loop, preventing the accumulation of outstanding objects.
4348(Valery Podrezov, BZ 5427)
4349
4350Eliminated a chunk of duplicate code in the object resolution code. (Valery
4351Podrezov, BZ 5336)
4352
4353Fixed several warnings during the 64-bit code generation.
4354
4355The AcpiSrc source code conversion tool now inserts one line of whitespace
4356after an if() statement that is followed immediately by a comment, improving
4357readability of the Linux code.
4358
4359Code and Data Size: The current and previous library sizes for the core
4360subsystem are shown below. These are the code and data sizes for the
4361acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4362values do not include any ACPI driver or OSPM code. The debug version of the
4363code includes the debug output trace mechanism and has a much larger code
4364and data size. Note that these values will vary depending on the efficiency
4365of the compiler and the compiler options used during generation.
4366
4367  Previous Release:
4368    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4369    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4370  Current Release:
4371    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4372    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4373
4374
43752) iASL Compiler/Disassembler:
4376
4377Fixed a problem with the disassembly of a BankField operator with a complex
4378expression for the BankValue parameter.
4379
4380----------------------------------------
438127 January 2006. Summary of changes for version 20060127:
4382
43831) ACPI CA Core Subsystem:
4384
4385Implemented support in the Resource Manager to allow unresolved namestring
4386references within resource package objects for the _PRT method. This support
4387is in addition to the previously implemented unresolved reference support
4388within the AML parser. If the interpreter slack mode is enabled, these
4389unresolved references will be passed through to the caller as a NULL package
4390entry.
4391
4392Implemented and deployed new macros and functions for error and warning
4393messages across the subsystem. These macros are simpler and generate less
4394code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
4395ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
4396macros remain defined to allow ACPI drivers time to migrate to the new
4397macros.
4398
4399Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the
4400Acquire/Release Lock OSL interfaces.
4401
4402Fixed a problem where Alias ASL operators are sometimes not correctly
4403resolved, in both the interpreter and the iASL compiler.
4404
4405Fixed several problems with the implementation of the ConcatenateResTemplate
4406ASL operator. As per the ACPI specification, zero length buffers are now
4407treated as a single EndTag. One-length buffers always cause a fatal
4408exception. Non-zero length buffers that do not end with a full 2-byte EndTag
4409cause a fatal exception.
4410
4411Fixed a possible structure overwrite in the AcpiGetObjectInfo external
4412interface. (With assistance from Thomas Renninger)
4413
4414Code and Data Size: The current and previous library sizes for the core
4415subsystem are shown below. These are the code and data sizes for the
4416acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4417values do not include any ACPI driver or OSPM code. The debug version of the
4418code includes the debug output trace mechanism and has a much larger code
4419and data size. Note that these values will vary depending on the efficiency
4420of the compiler and the compiler options used during generation.
4421
4422  Previous Release:
4423    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4424    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4425  Current Release:
4426    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4427    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4428
4429
44302) iASL Compiler/Disassembler:
4431
4432Fixed an internal error that was generated for any forward references to ASL
4433Alias objects.
4434
4435----------------------------------------
443613 January 2006. Summary of changes for version 20060113:
4437
44381) ACPI CA Core Subsystem:
4439
4440Added 2006 copyright to all module headers and signons. This affects
4441virtually every file in the ACPICA core subsystem, iASL compiler, and the
4442utilities.
4443
4444Enhanced the ACPICA error reporting in order to simplify user migration to
4445the non-debug version of ACPICA. Replaced all instances of the
4446ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug
4447levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
4448respectively. This preserves all error and warning messages in the non-debug
4449version of the ACPICA code (this has been referred to as the "debug lite"
4450option.) Over 200 cases were converted to create a total of over 380
4451error/warning messages across the ACPICA code. This increases the code and
4452data size of the default non-debug version of the code somewhat (about 13K),
4453but all error/warning reporting may be disabled if desired (and code
4454eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
4455configuration option. The size of the debug version of ACPICA remains about
4456the same.
4457
4458Fixed a memory leak within the AML Debugger "Set" command. One object was
4459not properly deleted for every successful invocation of the command.
4460
4461Code and Data Size: The current and previous library sizes for the core
4462subsystem are shown below. These are the code and data sizes for the
4463acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4464values do not include any ACPI driver or OSPM code. The debug version of the
4465code includes the debug output trace mechanism and has a much larger code
4466and data size. Note that these values will vary depending on the efficiency
4467of the compiler and the compiler options used during generation.
4468
4469  Previous Release:
4470    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4471    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4472  Current Release:
4473    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4474    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4475
4476
44772) iASL Compiler/Disassembler:
4478
4479The compiler now officially supports the ACPI 3.0a specification that was
4480released on December 30, 2005. (Specification is available at www.acpi.info)
4481
4482----------------------------------------
448316 December 2005. Summary of changes for version 20051216:
4484
44851) ACPI CA Core Subsystem:
4486
4487Implemented optional support to allow unresolved names within ASL Package
4488objects. A null object is inserted in the package when a named reference
4489cannot be located in the current namespace. Enabled via the interpreter
4490slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines
4491that contain such code.
4492
4493Implemented an optimization to the initialization sequence that can improve
4494boot time. During ACPI device initialization, the _STA method is now run if
4495and only if the _INI method exists. The _STA method is used to determine if
4496the device is present; An _INI can only be run if _STA returns present, but
4497it is a waste of time to run the _STA method if the _INI does not exist.
4498(Prototype and assistance from Dong Wei)
4499
4500Implemented use of the C99 uintptr_t for the pointer casting macros if it is
4501available in the current compiler. Otherwise, the default (void *) cast is
4502used as before.
4503
4504Fixed some possible memory leaks found within the execution path of the
4505Break, Continue, If, and CreateField operators. (Valery Podrezov)
4506
4507Fixed a problem introduced in the 20051202 release where an exception is
4508generated during method execution if a control method attempts to declare
4509another method.
4510
4511Moved resource descriptor string constants that are used by both the AML
4512disassembler and AML debugger to the common utilities directory so that
4513these components are independent.
4514
4515Implemented support in the AcpiExec utility (-e switch) to globally ignore
4516exceptions during control method execution (method is not aborted.)
4517
4518Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
4519generation.
4520
4521Code and Data Size: The current and previous library sizes for the core
4522subsystem are shown below. These are the code and data sizes for the
4523acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4524values do not include any ACPI driver or OSPM code. The debug version of the
4525code includes the debug output trace mechanism and has a much larger code
4526and data size. Note that these values will vary depending on the efficiency
4527of the compiler and the compiler options used during generation.
4528
4529  Previous Release:
4530    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4531    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4532  Current Release:
4533    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4534    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4535
4536
45372) iASL Compiler/Disassembler:
4538
4539Fixed a problem where a CPU stack overflow fault could occur if a recursive
4540method call was made from within a Return statement.
4541
4542----------------------------------------
454302 December 2005. Summary of changes for version 20051202:
4544
45451) ACPI CA Core Subsystem:
4546
4547Modified the parsing of control methods to no longer create namespace
4548objects during the first pass of the parse. Objects are now created only
4549during the execute phase, at the moment the namespace creation operator is
4550encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This
4551should eliminate ALREADY_EXISTS exceptions seen on some machines where
4552reentrant control methods are protected by an AML mutex. The mutex will now
4553correctly block multiple threads from attempting to create the same object
4554more than once.
4555
4556Increased the number of available Owner Ids for namespace object tracking
4557from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on
4558some machines with a large number of ACPI tables (either static or dynamic).
4559
4560Fixed a problem with the AcpiExec utility where a fault could occur when the
4561-b switch (batch mode) is used.
4562
4563Enhanced the namespace dump routine to output the owner ID for each
4564namespace object.
4565
4566Code and Data Size: The current and previous library sizes for the core
4567subsystem are shown below. These are the code and data sizes for the
4568acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4569values do not include any ACPI driver or OSPM code. The debug version of the
4570code includes the debug output trace mechanism and has a much larger code
4571and data size. Note that these values will vary depending on the efficiency
4572of the compiler and the compiler options used during generation.
4573
4574  Previous Release:
4575    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4576    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4577  Current Release:
4578    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4579    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4580
4581
45822) iASL Compiler/Disassembler:
4583
4584Fixed a parse error during compilation of certain Switch/Case constructs. To
4585simplify the parse, the grammar now allows for multiple Default statements
4586and this error is now detected and flagged during the analysis phase.
4587
4588Disassembler: The disassembly now includes the contents of the original
4589table header within a comment at the start of the file. This includes the
4590name and version of the original ASL compiler.
4591
4592----------------------------------------
459317 November 2005. Summary of changes for version 20051117:
4594
45951) ACPI CA Core Subsystem:
4596
4597Fixed a problem in the AML parser where the method thread count could be
4598decremented below zero if any errors occurred during the method parse phase.
4599This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines.
4600This also fixed a related regression with the mechanism that detects and
4601corrects methods that cannot properly handle reentrancy (related to the
4602deployment of the new OwnerId mechanism.)
4603
4604Eliminated the pre-parsing of control methods (to detect errors) during
4605table load. Related to the problem above, this was causing unwind issues if
4606any errors occurred during the parse, and it seemed to be overkill. A table
4607load should not be aborted if there are problems with any single control
4608method, thus rendering this feature rather pointless.
4609
4610Fixed a problem with the new table-driven resource manager where an internal
4611buffer overflow could occur for small resource templates.
4612
4613Implemented a new external interface, AcpiGetVendorResource. This interface
4614will find and return a vendor-defined resource descriptor within a _CRS or
4615_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
4616
4617Removed the length limit (200) on string objects as per the upcoming ACPI
46183.0A specification. This affects the following areas of the interpreter: 1)
4619any implicit conversion of a Buffer to a String, 2) a String object result
4620of the ASL Concatentate operator, 3) the String object result of the ASL
4621ToString operator.
4622
4623Fixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER
4624on a semaphore object would incorrectly timeout. This allows the
4625multithreading features of the AcpiExec utility to work properly under
4626Windows.
4627
4628Updated the Linux makefiles for the iASL compiler and AcpiExec to include
4629the recently added file named "utresrc.c".
4630
4631Code and Data Size: The current and previous library sizes for the core
4632subsystem are shown below. These are the code and data sizes for the
4633acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4634values do not include any ACPI driver or OSPM code. The debug version of the
4635code includes the debug output trace mechanism and has a much larger code
4636and data size. Note that these values will vary depending on the efficiency
4637of the compiler and the compiler options used during generation.
4638
4639  Previous Release:
4640    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4641    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4642  Current Release:
4643    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4644    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4645
4646
46472) iASL Compiler/Disassembler:
4648
4649Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
4650specification. For the iASL compiler, this means that string literals within
4651the source ASL can be of any length.
4652
4653Enhanced the listing output to dump the AML code for resource descriptors
4654immediately after the ASL code for each descriptor, instead of in a block at
4655the end of the entire resource template.
4656
4657Enhanced the compiler debug output to dump the entire original parse tree
4658constructed during the parse phase, before any transforms are applied to the
4659tree. The transformed tree is dumped also.
4660
4661----------------------------------------
466202 November 2005. Summary of changes for version 20051102:
4663
46641) ACPI CA Core Subsystem:
4665
4666Modified the subsystem initialization sequence to improve GPE support. The
4667GPE initialization has been split into two parts in order to defer execution
4668of the _PRW methods (Power Resources for Wake) until after the hardware is
4669fully initialized and the SCI handler is installed. This allows the _PRW
4670methods to access fields protected by the Global Lock. This will fix systems
4671where a NO_GLOBAL_LOCK exception has been seen during initialization.
4672
4673Converted the ACPI internal object disassemble and display code within the
4674AML debugger to fully table-driven operation, reducing code size and
4675increasing maintainability.
4676
4677Fixed a regression with the ConcatenateResTemplate() ASL operator introduced
4678in the 20051021 release.
4679
4680Implemented support for "local" internal ACPI object types within the
4681debugger "Object" command and the AcpiWalkNamespace external interfaces.
4682These local types include RegionFields, BankFields, IndexFields, Alias, and
4683reference objects.
4684
4685Moved common AML resource handling code into a new file, "utresrc.c". This
4686code is shared by both the Resource Manager and the AML Debugger.
4687
4688Code and Data Size: The current and previous library sizes for the core
4689subsystem are shown below. These are the code and data sizes for the
4690acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4691values do not include any ACPI driver or OSPM code. The debug version of the
4692code includes the debug output trace mechanism and has a much larger code
4693and data size. Note that these values will vary depending on the efficiency
4694of the compiler and the compiler options used during generation.
4695
4696  Previous Release:
4697    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4698    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4699  Current Release:
4700    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4701    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4702
4703
47042) iASL Compiler/Disassembler:
4705
4706Fixed a problem with very large initializer lists (more than 4000 elements)
4707for both Buffer and Package objects where the parse stack could overflow.
4708
4709Enhanced the pre-compile source code scan for non-ASCII characters to ignore
4710characters within comment fields. The scan is now always performed and is no
4711longer optional, detecting invalid characters within a source file
4712immediately rather than during the parse phase or later.
4713
4714Enhanced the ASL grammar definition to force early reductions on all list-
4715style grammar elements so that the overall parse stack usage is greatly
4716reduced. This should improve performance and reduce the possibility of parse
4717stack overflow.
4718
4719Eliminated all reduce/reduce conflicts in the iASL parser generation. Also,
4720with the addition of a %expected statement, the compiler generates from
4721source with no warnings.
4722
4723Fixed a possible segment fault in the disassembler if the input filename
4724does not contain a "dot" extension (Thomas Renninger).
4725
4726----------------------------------------
472721 October 2005. Summary of changes for version 20051021:
4728
47291) ACPI CA Core Subsystem:
4730
4731Implemented support for the EM64T and other x86-64 processors. This
4732essentially entails recognizing that these processors support non-aligned
4733memory transfers. Previously, all 64-bit processors were assumed to lack
4734hardware support for non-aligned transfers.
4735
4736Completed conversion of the Resource Manager to nearly full table-driven
4737operation. Specifically, the resource conversion code (convert AML to
4738internal format and the reverse) and the debug code to dump internal
4739resource descriptors are fully table-driven, reducing code and data size and
4740improving maintainability.
4741
4742The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word
4743on 64-bit processors instead of a fixed 32-bit word. (With assistance from
4744Alexey Starikovskiy)
4745
4746Implemented support within the resource conversion code for the Type-
4747Specific byte within the various ACPI 3.0 *WordSpace macros.
4748
4749Fixed some issues within the resource conversion code for the type-specific
4750flags for both Memory and I/O address resource descriptors. For Memory,
4751implemented support for the MTP and TTP flags. For I/O, split the TRS and
4752TTP flags into two separate fields.
4753
4754Code and Data Size: The current and previous library sizes for the core
4755subsystem are shown below. These are the code and data sizes for the
4756acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4757values do not include any ACPI driver or OSPM code. The debug version of the
4758code includes the debug output trace mechanism and has a much larger code
4759and data size. Note that these values will vary depending on the efficiency
4760of the compiler and the compiler options used during generation.
4761
4762  Previous Release:
4763    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4764    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4765  Current Release:
4766    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4767    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4768
4769
4770
47712) iASL Compiler/Disassembler:
4772
4773Relaxed a compiler restriction that disallowed a ResourceIndex byte if the
4774corresponding ResourceSource string was not also present in a resource
4775descriptor declaration. This restriction caused problems with existing
4776AML/ASL code that includes the Index byte without the string. When such AML
4777was disassembled, it could not be compiled without modification. Further,
4778the modified code created a resource template with a different size than the
4779original, breaking code that used fixed offsets into the resource template
4780buffer.
4781
4782Removed a recent feature of the disassembler to ignore a lone ResourceIndex
4783byte. This byte is now emitted if present so that the exact AML can be
4784reproduced when the disassembled code is recompiled.
4785
4786Improved comments and text alignment for the resource descriptor code
4787emitted by the disassembler.
4788
4789Implemented disassembler support for the ACPI 3.0 AccessSize field within a
4790Register() resource descriptor.
4791
4792----------------------------------------
479330 September 2005. Summary of changes for version 20050930:
4794
47951) ACPI CA Core Subsystem:
4796
4797Completed a major overhaul of the Resource Manager code - specifically,
4798optimizations in the area of the AML/internal resource conversion code. The
4799code has been optimized to simplify and eliminate duplicated code, CPU stack
4800use has been decreased by optimizing function parameters and local
4801variables, and naming conventions across the manager have been standardized
4802for clarity and ease of maintenance (this includes function, parameter,
4803variable, and struct/typedef names.) The update may force changes in some
4804driver code, depending on how resources are handled by the host OS.
4805
4806All Resource Manager dispatch and information tables have been moved to a
4807single location for clarity and ease of maintenance. One new file was
4808created, named "rsinfo.c".
4809
4810The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
4811guarantee that the argument is not evaluated twice, making them less prone
4812to macro side-effects. However, since there exists the possibility of
4813additional stack use if a particular compiler cannot optimize them (such as
4814in the debug generation case), the original macros are optionally available.
4815Note that some invocations of the return_VALUE macro may now cause size
4816mismatch warnings; the return_UINT8 and return_UINT32 macros are provided to
4817eliminate these. (From Randy Dunlap)
4818
4819Implemented a new mechanism to enable debug tracing for individual control
4820methods. A new external interface, AcpiDebugTrace, is provided to enable
4821this mechanism. The intent is to allow the host OS to easily enable and
4822disable tracing for problematic control methods. This interface can be
4823easily exposed to a user or debugger interface if desired. See the file
4824psxface.c for details.
4825
4826AcpiUtCallocate will now return a valid pointer if a length of zero is
4827specified - a length of one is used and a warning is issued. This matches
4828the behavior of AcpiUtAllocate.
4829
4830Code and Data Size: The current and previous library sizes for the core
4831subsystem are shown below. These are the code and data sizes for the
4832acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4833values do not include any ACPI driver or OSPM code. The debug version of the
4834code includes the debug output trace mechanism and has a much larger code
4835and data size. Note that these values will vary depending on the efficiency
4836of the compiler and the compiler options used during generation.
4837
4838  Previous Release:
4839    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4840    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4841  Current Release:
4842    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4843    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4844
4845
48462) iASL Compiler/Disassembler:
4847
4848A remark is issued if the effective compile-time length of a package or
4849buffer is zero. Previously, this was a warning.
4850
4851----------------------------------------
485216 September 2005. Summary of changes for version 20050916:
4853
48541) ACPI CA Core Subsystem:
4855
4856Fixed a problem within the Resource Manager where support for the Generic
4857Register descriptor was not fully implemented. This descriptor is now fully
4858recognized, parsed, disassembled, and displayed.
4859
4860Completely restructured the Resource Manager code to utilize table-driven
4861dispatch and lookup, eliminating many of the large switch() statements. This
4862reduces overall subsystem code size and code complexity. Affects the
4863resource parsing and construction, disassembly, and debug dump output.
4864
4865Cleaned up and restructured the debug dump output for all resource
4866descriptors. Improved readability of the output and reduced code size.
4867
4868Fixed a problem where changes to internal data structures caused the
4869optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
4870
4871Code and Data Size: The current and previous library sizes for the core
4872subsystem are shown below. These are the code and data sizes for the
4873acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
4874values do not include any ACPI driver or OSPM code. The debug version of the
4875code includes the debug output trace mechanism and has a much larger code
4876and data size. Note that these values will vary depending on the efficiency
4877of the compiler and the compiler options used during generation.
4878
4879  Previous Release:
4880    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4881    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4882  Current Release:
4883    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4884    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4885
4886
48872) iASL Compiler/Disassembler:
4888
4889Updated the disassembler to automatically insert an EndDependentFn() macro
4890into the ASL stream if this macro is missing in the original AML code,
4891simplifying compilation of the resulting ASL module.
4892
4893Fixed a problem in the disassembler where a disassembled ResourceSource
4894string (within a large resource descriptor) was not surrounded by quotes and
4895not followed by a comma, causing errors when the resulting ASL module was
4896compiled. Also, escape sequences within a ResourceSource string are now
4897handled correctly (especially "\\")
4898
4899----------------------------------------
490002 September 2005. Summary of changes for version 20050902:
4901
49021) ACPI CA Core Subsystem:
4903
4904Fixed a problem with the internal Owner ID allocation and deallocation
4905mechanisms for control method execution and recursive method invocation.
4906This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
4907messages seen on some systems. Recursive method invocation depth is
4908currently limited to 255. (Alexey Starikovskiy)
4909
4910Completely eliminated all vestiges of support for the "module-level
4911executable code" until this support is fully implemented and debugged. This
4912should eliminate the NO_RETURN_VALUE exceptions seen during table load on
4913some systems that invoke this support.
4914
4915Fixed a problem within the resource manager code where the transaction flags
4916for a 64-bit address descriptor were handled incorrectly in the type-
4917specific flag byte.
4918
4919Consolidated duplicate code within the address descriptor resource manager
4920code, reducing overall subsystem code size.
4921
4922Fixed a fault when using the AML debugger "disassemble" command to
4923disassemble individual control methods.
4924
4925Removed references to the "release_current" directory within the Unix
4926release package.
4927
4928Code and Data Size: The current and previous core subsystem library sizes
4929are shown below. These are the code and data sizes for the acpica.lib
4930produced by the Microsoft Visual C++ 6.0 compiler. These values do not
4931include any ACPI driver or OSPM code. The debug version of the code includes
4932the debug output trace mechanism and has a much larger code and data size.
4933Note that these values will vary depending on the efficiency of the compiler
4934and the compiler options used during generation.
4935
4936  Previous Release:
4937    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4938    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4939  Current Release:
4940    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4941    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4942
4943
49442) iASL Compiler/Disassembler:
4945
4946Implemented an error check for illegal duplicate values in the interrupt and
4947dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
4948Interrupt().
4949
4950Implemented error checking for the Irq() and IrqNoFlags() macros to detect
4951too many values in the interrupt list (16 max) and invalid values in the
4952list (range 0 - 15)
4953
4954The maximum length string literal within an ASL file is now restricted to
4955200 characters as per the ACPI specification.
4956
4957Fixed a fault when using the -ln option (generate namespace listing).
4958
4959Implemented an error check to determine if a DescriptorName within a
4960resource descriptor has already been used within the current scope.
4961
4962----------------------------------------
496315 August 2005.  Summary of changes for version 20050815:
4964
49651) ACPI CA Core Subsystem:
4966
4967Implemented a full bytewise compare to determine if a table load request is
4968attempting to load a duplicate table. The compare is performed if the table
4969signatures and table lengths match. This will allow different tables with
4970the same OEM Table ID and revision to be loaded - probably against the ACPI
4971specification, but discovered in the field nonetheless.
4972
4973Added the changes.txt logfile to each of the zipped release packages.
4974
4975Code and Data Size: Current and previous core subsystem library sizes are
4976shown below. These are the code and data sizes for the acpica.lib produced
4977by the Microsoft Visual C++ 6.0 compiler, and these values do not include
4978any ACPI driver or OSPM code. The debug version of the code includes the
4979debug output trace mechanism and has a much larger code and data size. Note
4980that these values will vary depending on the efficiency of the compiler and
4981the compiler options used during generation.
4982
4983  Previous Release:
4984    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4985    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4986  Current Release:
4987    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4988    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4989
4990
49912) iASL Compiler/Disassembler:
4992
4993Fixed a problem where incorrect AML code could be generated for Package
4994objects if optimization is disabled (via the -oa switch).
4995
4996Fixed a problem with where incorrect AML code is generated for variable-
4997length packages when the package length is not specified and the number of
4998initializer values is greater than 255.
4999
5000
5001----------------------------------------
500229 July 2005.  Summary of changes for version 20050729:
5003
50041) ACPI CA Core Subsystem:
5005
5006Implemented support to ignore an attempt to install/load a particular ACPI
5007table more than once. Apparently there exists BIOS code that repeatedly
5008attempts to load the same SSDT upon certain events. With assistance from
5009Venkatesh Pallipadi.
5010
5011Restructured the main interface to the AML parser in order to correctly
5012handle all exceptional conditions. This will prevent leakage of the OwnerId
5013resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some
5014machines. With assistance from Alexey Starikovskiy.
5015
5016Support for "module level code" has been disabled in this version due to a
5017number of issues that have appeared on various machines. The support can be
5018enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
5019compilation. When the issues are fully resolved, the code will be enabled by
5020default again.
5021
5022Modified the internal functions for debug print support to define the
5023FunctionName parameter as a (const char *) for compatibility with compiler
5024built-in macros such as __FUNCTION__, etc.
5025
5026Linted the entire ACPICA source tree for both 32-bit and 64-bit.
5027
5028Implemented support to display an object count summary for the AML Debugger
5029commands Object and Methods.
5030
5031Code and Data Size: Current and previous core subsystem library sizes are
5032shown below. These are the code and data sizes for the acpica.lib produced
5033by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5034any ACPI driver or OSPM code. The debug version of the code includes the
5035debug output trace mechanism and has a much larger code and data size. Note
5036that these values will vary depending on the efficiency of the compiler and
5037the compiler options used during generation.
5038
5039  Previous Release:
5040    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5041    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5042  Current Release:
5043    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
5044    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
5045
5046
50472) iASL Compiler/Disassembler:
5048
5049Fixed a regression that appeared in the 20050708 version of the compiler
5050where an error message was inadvertently emitted for invocations of the _OSI
5051reserved control method.
5052
5053----------------------------------------
505408 July 2005.  Summary of changes for version 20050708:
5055
50561) ACPI CA Core Subsystem:
5057
5058The use of the CPU stack in the debug version of the subsystem has been
5059considerably reduced. Previously, a debug structure was declared in every
5060function that used the debug macros. This structure has been removed in
5061favor of declaring the individual elements as parameters to the debug
5062functions. This reduces the cumulative stack use during nested execution of
5063ACPI function calls at the cost of a small increase in the code size of the
5064debug version of the subsystem. With assistance from Alexey Starikovskiy and
5065Len Brown.
5066
5067Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
5068headers to define a macro that will return the current function name at
5069runtime (such as __FUNCTION__ or _func_, etc.) The function name is used by
5070the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
5071compiler-dependent header, the function name is saved on the CPU stack (one
5072pointer per function.) This mechanism is used because apparently there
5073exists no standard ANSI-C defined macro that that returns the function name.
5074
5075Redesigned and reimplemented the "Owner ID" mechanism used to track
5076namespace objects created/deleted by ACPI tables and control method
5077execution. A bitmap is now used to allocate and free the IDs, thus solving
5078the wraparound problem present in the previous implementation. The size of
5079the namespace node descriptor was reduced by 2 bytes as a result (Alexey
5080Starikovskiy).
5081
5082Removed the UINT32_BIT and UINT16_BIT types that were used for the bitfield
5083flag definitions within the headers for the predefined ACPI tables. These
5084have been replaced by UINT8_BIT in order to increase the code portability of
5085the subsystem. If the use of UINT8 remains a problem, we may be forced to
5086eliminate bitfields entirely because of a lack of portability.
5087
5088Enhanced the performance of the AcpiUtUpdateObjectReference procedure. This
5089is a frequently used function and this improvement increases the performance
5090of the entire subsystem (Alexey Starikovskiy).
5091
5092Fixed several possible memory leaks and the inverse - premature object
5093deletion (Alexey Starikovskiy).
5094
5095Code and Data Size: Current and previous core subsystem library sizes are
5096shown below. These are the code and data sizes for the acpica.lib produced
5097by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5098any ACPI driver or OSPM code. The debug version of the code includes the
5099debug output trace mechanism and has a much larger code and data size. Note
5100that these values will vary depending on the efficiency of the compiler and
5101the compiler options used during generation.
5102
5103  Previous Release:
5104    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5105    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5106  Current Release:
5107    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
5108    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
5109
5110----------------------------------------
511124 June 2005.  Summary of changes for version 20050624:
5112
51131) ACPI CA Core Subsystem:
5114
5115Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
5116the host-defined cache object. This allows the OSL implementation to define
5117and type this object in any manner desired, simplifying the OSL
5118implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
5119Linux, and should be defined in the OS-specific header file for other
5120operating systems as required.
5121
5122Changed the interface to AcpiOsAcquireObject to directly return the
5123requested object as the function return (instead of ACPI_STATUS.) This
5124change was made for performance reasons, since this is the purpose of the
5125interface in the first place. AcpiOsAcquireObject is now similar to the
5126AcpiOsAllocate interface.
5127
5128Implemented a new AML debugger command named Businfo. This command displays
5129information about all devices that have an associate _PRT object. The _ADR,
5130_HID, _UID, and _CID are displayed for these devices.
5131
5132Modified the initialization sequence in AcpiInitializeSubsystem to call the
5133OSL interface AcpiOslInitialize first, before any local initialization. This
5134change was required because the global initialization now calls OSL
5135interfaces.
5136
5137Enhanced the Dump command to display the entire contents of Package objects
5138(including all sub-objects and their values.)
5139
5140Restructured the code base to split some files because of size and/or
5141because the code logically belonged in a separate file. New files are listed
5142below. All makefiles and project files included in the ACPI CA release have
5143been updated.
5144    utilities/utcache.c           /* Local cache interfaces */
5145    utilities/utmutex.c           /* Local mutex support */
5146    utilities/utstate.c           /* State object support */
5147    interpreter/parser/psloop.c   /* Main AML parse loop */
5148
5149Code and Data Size: Current and previous core subsystem library sizes are
5150shown below. These are the code and data sizes for the acpica.lib produced
5151by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5152any ACPI driver or OSPM code. The debug version of the code includes the
5153debug output trace mechanism and has a much larger code and data size. Note
5154that these values will vary depending on the efficiency of the compiler and
5155the compiler options used during generation.
5156
5157  Previous Release:
5158    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5159    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5160  Current Release:
5161    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
5162    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
5163
5164
51652) iASL Compiler/Disassembler:
5166
5167Fixed a regression introduced in version 20050513 where the use of a Package
5168object within a Case() statement caused a compile time exception. The
5169original behavior has been restored (a Match() operator is emitted.)
5170
5171----------------------------------------
517217 June 2005.  Summary of changes for version 20050617:
5173
51741) ACPI CA Core Subsystem:
5175
5176Moved the object cache operations into the OS interface layer (OSL) to allow
5177the host OS to handle these operations if desired (for example, the Linux
5178OSL will invoke the slab allocator). This support is optional; the compile
5179time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache
5180code in the ACPI CA core. The new OSL interfaces are shown below. See
5181utalloc.c for an example implementation, and acpiosxf.h for the exact
5182interface definitions. With assistance from Alexey Starikovskiy.
5183    AcpiOsCreateCache
5184    AcpiOsDeleteCache
5185    AcpiOsPurgeCache
5186    AcpiOsAcquireObject
5187    AcpiOsReleaseObject
5188
5189Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return
5190and restore a flags parameter. This fits better with many OS lock models.
5191Note: the current execution state (interrupt handler or not) is no longer
5192passed to these interfaces. If necessary, the OSL must determine this state
5193by itself, a simple and fast operation. With assistance from Alexey
5194Starikovskiy.
5195
5196Fixed a problem in the ACPI table handling where a valid XSDT was assumed
5197present if the revision of the RSDP was 2 or greater. According to the ACPI
5198specification, the XSDT is optional in all cases, and the table manager
5199therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
5200Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain
5201only the RSDT.
5202
5203Fixed an interpreter problem with the Mid() operator in the case of an input
5204string where the resulting output string is of zero length. It now correctly
5205returns a valid, null terminated string object instead of a string object
5206with a null pointer.
5207
5208Fixed a problem with the control method argument handling to allow a store
5209to an Arg object that already contains an object of type Device. The Device
5210object is now correctly overwritten. Previously, an error was returned.
5211
5212
5213Enhanced the debugger Find command to emit object values in addition to the
5214found object pathnames. The output format is the same as the dump namespace
5215command.
5216
5217Enhanced the debugger Set command. It now has the ability to set the value
5218of any Named integer object in the namespace (Previously, only method locals
5219and args could be set.)
5220
5221Code and Data Size: Current and previous core subsystem library sizes are
5222shown below. These are the code and data sizes for the acpica.lib produced
5223by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5224any ACPI driver or OSPM code. The debug version of the code includes the
5225debug output trace mechanism and has a much larger code and data size. Note
5226that these values will vary depending on the efficiency of the compiler and
5227the compiler options used during generation.
5228
5229  Previous Release:
5230    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5231    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5232  Current Release:
5233    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
5234    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
5235
5236
52372) iASL Compiler/Disassembler:
5238
5239Fixed a regression in the disassembler where if/else/while constructs were
5240output incorrectly. This problem was introduced in the previous release
5241(20050526). This problem also affected the single-step disassembly in the
5242debugger.
5243
5244Fixed a problem where compiling the reserved _OSI method would randomly (but
5245rarely) produce compile errors.
5246
5247Enhanced the disassembler to emit compilable code in the face of incorrect
5248AML resource descriptors. If the optional ResourceSourceIndex is present,
5249but the ResourceSource is not, do not emit the ResourceSourceIndex in the
5250disassembly. Otherwise, the resulting code cannot be compiled without
5251errors.
5252
5253----------------------------------------
525426 May 2005.  Summary of changes for version 20050526:
5255
52561) ACPI CA Core Subsystem:
5257
5258Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
5259the module level (not within a control method.) These opcodes are executed
5260exactly once at the time the table is loaded. This type of code was legal up
5261until the release of ACPI 2.0B (2002) and is now supported within ACPI CA in
5262order to provide backwards compatibility with earlier BIOS implementations.
5263This eliminates the "Encountered executable code at module level" warning
5264that was previously generated upon detection of such code.
5265
5266Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
5267inadvertently be generated during the lookup of namespace objects in the
5268second pass parse of ACPI tables and control methods. It appears that this
5269problem could occur during the resolution of forward references to namespace
5270objects.
5271
5272Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
5273corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
5274allows the deadlock detection debug code to be compiled out in the normal
5275case, improving mutex performance (and overall subsystem performance)
5276considerably.
5277
5278Implemented a handful of miscellaneous fixes for possible memory leaks on
5279error conditions and error handling control paths. These fixes were
5280suggested by FreeBSD and the Coverity Prevent source code analysis tool.
5281
5282Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c)
5283to prevent a fault in this error case.
5284
5285Code and Data Size: Current and previous core subsystem library sizes are
5286shown below. These are the code and data sizes for the acpica.lib produced
5287by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5288any ACPI driver or OSPM code. The debug version of the code includes the
5289debug output trace mechanism and has a much larger code and data size. Note
5290that these values will vary depending on the efficiency of the compiler and
5291the compiler options used during generation.
5292
5293  Previous Release:
5294    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5295    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5296  Current Release:
5297    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
5298    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
5299
5300
53012) iASL Compiler/Disassembler:
5302
5303Implemented support to allow Type 1 and Type 2 ASL operators to appear at
5304the module level (not within a control method.) These operators will be
5305executed once at the time the table is loaded. This type of code was legal
5306up until the release of ACPI 2.0B (2002) and is now supported by the iASL
5307compiler in order to provide backwards compatibility with earlier BIOS ASL
5308code.
5309
5310The ACPI integer width (specified via the table revision ID or the -r
5311override, 32 or 64 bits) is now used internally during compile-time constant
5312folding to ensure that constants are truncated to 32 bits if necessary.
5313Previously, the revision ID value was only emitted in the AML table header.
5314
5315An error message is now generated for the Mutex and Method operators if the
5316SyncLevel parameter is outside the legal range of 0 through 15.
5317
5318Fixed a problem with the Method operator ParameterTypes list handling (ACPI
53193.0). Previously, more than 2 types or 2 arguments generated a syntax error.
5320The actual underlying implementation of method argument typechecking is
5321still under development, however.
5322
5323----------------------------------------
532413 May 2005.  Summary of changes for version 20050513:
5325
53261) ACPI CA Core Subsystem:
5327
5328Implemented support for PCI Express root bridges -- added support for device
5329PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
5330
5331The interpreter now automatically truncates incoming 64-bit constants to 32
5332bits if currently executing out of a 32-bit ACPI table (Revision < 2). This
5333also affects the iASL compiler constant folding. (Note: as per below, the
5334iASL compiler no longer allows 64-bit constants within 32-bit tables.)
5335
5336Fixed a problem where string and buffer objects with "static" pointers
5337(pointers to initialization data within an ACPI table) were not handled
5338consistently. The internal object copy operation now always copies the data
5339to a newly allocated buffer, regardless of whether the source object is
5340static or not.
5341
5342Fixed a problem with the FromBCD operator where an implicit result
5343conversion was improperly performed while storing the result to the target
5344operand. Since this is an "explicit conversion" operator, the implicit
5345conversion should never be performed on the output.
5346
5347Fixed a problem with the CopyObject operator where a copy to an existing
5348named object did not always completely overwrite the existing object stored
5349at name. Specifically, a buffer-to-buffer copy did not delete the existing
5350buffer.
5351
5352Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and
5353structs for consistency.
5354
5355Code and Data Size: Current and previous core subsystem library sizes are
5356shown below. These are the code and data sizes for the acpica.lib produced
5357by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5358any ACPI driver or OSPM code. The debug version of the code includes the
5359debug output trace mechanism and has a much larger code and data size. Note
5360that these values will vary depending on the efficiency of the compiler and
5361the compiler options used during generation.
5362
5363  Previous Release:
5364    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5365    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5366  Current Release: (Same sizes)
5367    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5368    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5369
5370
53712) iASL Compiler/Disassembler:
5372
5373The compiler now emits a warning if an attempt is made to generate a 64-bit
5374integer constant from within a 32-bit ACPI table (Revision < 2). The integer
5375is truncated to 32 bits.
5376
5377Fixed a problem with large package objects: if the static length of the
5378package is greater than 255, the "variable length package" opcode is
5379emitted. Previously, this caused an error. This requires an update to the
5380ACPI spec, since it currently (incorrectly) states that packages larger than
5381255 elements are not allowed.
5382
5383The disassembler now correctly handles variable length packages and packages
5384larger than 255 elements.
5385
5386----------------------------------------
538708 April 2005.  Summary of changes for version 20050408:
5388
53891) ACPI CA Core Subsystem:
5390
5391Fixed three cases in the interpreter where an "index" argument to an ASL
5392function was still (internally) 32 bits instead of the required 64 bits.
5393This was the Index argument to the Index, Mid, and Match operators.
5394
5395The "strupr" function is now permanently local (AcpiUtStrupr), since this is
5396not a POSIX-defined function and not present in most kernel-level C
5397libraries. All references to the C library strupr function have been removed
5398from the headers.
5399
5400Completed the deployment of static functions/prototypes. All prototypes with
5401the static attribute have been moved from the headers to the owning C file.
5402
5403Implemented an extract option (-e) for the AcpiBin utility (AML binary
5404utility). This option allows the utility to extract individual ACPI tables
5405from the output of AcpiDmp. It provides the same functionality of the
5406acpixtract.pl perl script without the worry of setting the correct perl
5407options. AcpiBin runs on Windows and has not yet been generated/validated in
5408the Linux/Unix environment (but should be soon).
5409
5410Updated and fixed the table dump option for AcpiBin (-d). This option
5411converts a single ACPI table to a hex/ascii file, similar to the output of
5412AcpiDmp.
5413
5414Code and Data Size: Current and previous core subsystem library sizes are
5415shown below. These are the code and data sizes for the acpica.lib produced
5416by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5417any ACPI driver or OSPM code. The debug version of the code includes the
5418debug output trace mechanism and has a much larger code and data size. Note
5419that these values will vary depending on the efficiency of the compiler and
5420the compiler options used during generation.
5421
5422  Previous Release:
5423    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5424    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5425  Current Release:
5426    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5427    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5428
5429
54302) iASL Compiler/Disassembler:
5431
5432Disassembler fix: Added a check to ensure that the table length found in the
5433ACPI table header within the input file is not longer than the actual input
5434file size. This indicates some kind of file or table corruption.
5435
5436----------------------------------------
543729 March 2005.  Summary of changes for version 20050329:
5438
54391) ACPI CA Core Subsystem:
5440
5441An error is now generated if an attempt is made to create a Buffer Field of
5442length zero (A CreateField with a length operand of zero.)
5443
5444The interpreter now issues a warning whenever executable code at the module
5445level is detected during ACPI table load. This will give some idea of the
5446prevalence of this type of code.
5447
5448Implemented support for references to named objects (other than control
5449methods) within package objects.
5450
5451Enhanced package object output for the debug object. Package objects are now
5452completely dumped, showing all elements.
5453
5454Enhanced miscellaneous object output for the debug object. Any object can
5455now be written to the debug object (for example, a device object can be
5456written, and the type of the object will be displayed.)
5457
5458The "static" qualifier has been added to all local functions across both the
5459core subsystem and the iASL compiler.
5460
5461The number of "long" lines (> 80 chars) within the source has been
5462significantly reduced, by about 1/3.
5463
5464Cleaned up all header files to ensure that all CA/iASL functions are
5465prototyped (even static functions) and the formatting is consistent.
5466
5467Two new header files have been added, acopcode.h and acnames.h.
5468
5469Removed several obsolete functions that were no longer used.
5470
5471Code and Data Size: Current and previous core subsystem library sizes are
5472shown below. These are the code and data sizes for the acpica.lib produced
5473by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5474any ACPI driver or OSPM code. The debug version of the code includes the
5475debug output trace mechanism and has a much larger code and data size. Note
5476that these values will vary depending on the efficiency of the compiler and
5477the compiler options used during generation.
5478
5479  Previous Release:
5480    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5481    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5482  Current Release:
5483    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5484    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5485
5486
5487
54882) iASL Compiler/Disassembler:
5489
5490Fixed a problem with the resource descriptor generation/support. For the
5491ResourceSourceIndex and the ResourceSource fields, both must be present, or
5492both must be not present - can't have one without the other.
5493
5494The compiler now returns non-zero from the main procedure if any errors have
5495occurred during the compilation.
5496
5497
5498----------------------------------------
549909 March 2005.  Summary of changes for version 20050309:
5500
55011) ACPI CA Core Subsystem:
5502
5503The string-to-buffer implicit conversion code has been modified again after
5504a change to the ACPI specification.  In order to match the behavior of the
5505other major ACPI implementation, the target buffer is no longer truncated if
5506the source string is smaller than an existing target buffer. This change
5507requires an update to the ACPI spec, and should eliminate the recent
5508AE_AML_BUFFER_LIMIT issues.
5509
5510The "implicit return" support was rewritten to a new algorithm that solves
5511the general case. Rather than attempt to determine when a method is about to
5512exit, the result of every ASL operator is saved momentarily until the very
5513next ASL operator is executed. Therefore, no matter how the method exits,
5514there will always be a saved implicit return value. This feature is only
5515enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate
5516AE_AML_NO_RETURN_VALUE errors when enabled.
5517
5518Implemented implicit conversion support for the predicate (operand) of the
5519If, Else, and While operators. String and Buffer arguments are automatically
5520converted to Integers.
5521
5522Changed the string-to-integer conversion behavior to match the new ACPI
5523errata: "If no integer object exists, a new integer is created. The ASCII
5524string is interpreted as a hexadecimal constant. Each string character is
5525interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
5526with the first character as the most significant digit, and ending with the
5527first non-hexadecimal character or end-of-string." This means that the first
5528non-hex character terminates the conversion and this is the code that was
5529changed.
5530
5531Fixed a problem where the ObjectType operator would fail (fault) when used
5532on an Index of a Package which pointed to a null package element. The
5533operator now properly returns zero (Uninitialized) in this case.
5534
5535Fixed a problem where the While operator used excessive memory by not
5536properly popping the result stack during execution. There was no memory leak
5537after execution, however. (Code provided by Valery Podrezov.)
5538
5539Fixed a problem where references to control methods within Package objects
5540caused the method to be invoked, instead of producing a reference object
5541pointing to the method.
5542
5543Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to
5544improve performance and reduce code size. (Code provided by Alexey
5545Starikovskiy.)
5546
5547Code and Data Size: Current and previous core subsystem library sizes are
5548shown below. These are the code and data sizes for the acpica.lib produced
5549by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5550any ACPI driver or OSPM code. The debug version of the code includes the
5551debug output trace mechanism and has a much larger code and data size. Note
5552that these values will vary depending on the efficiency of the compiler and
5553the compiler options used during generation.
5554
5555  Previous Release:
5556    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5557    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5558  Current Release:
5559    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5560    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5561
5562
55632) iASL Compiler/Disassembler:
5564
5565Fixed a problem with the Return operator with no arguments. Since the AML
5566grammar for the byte encoding requires an operand for the Return opcode, the
5567compiler now emits a Return(Zero) for this case.  An ACPI specification
5568update has been written for this case.
5569
5570For tables other than the DSDT, namepath optimization is automatically
5571disabled. This is because SSDTs can be loaded anywhere in the namespace, the
5572compiler has no knowledge of where, and thus cannot optimize namepaths.
5573
5574Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
5575inadvertently omitted from the ACPI specification, and will require an
5576update to the spec.
5577
5578The source file scan for ASCII characters is now optional (-a). This change
5579was made because some vendors place non-ascii characters within comments.
5580However, the scan is simply a brute-force byte compare to ensure all
5581characters in the file are in the range 0x00 to 0x7F.
5582
5583Fixed a problem with the CondRefOf operator where the compiler was
5584inappropriately checking for the existence of the target. Since the point of
5585the operator is to check for the existence of the target at run-time, the
5586compiler no longer checks for the target existence.
5587
5588Fixed a problem where errors generated from the internal AML interpreter
5589during constant folding were not handled properly, causing a fault.
5590
5591Fixed a problem with overly aggressive range checking for the Stall
5592operator. The valid range (max 255) is now only checked if the operand is of
5593type Integer. All other operand types cannot be statically checked.
5594
5595Fixed a problem where control method references within the RefOf, DeRefOf,
5596and ObjectType operators were not treated properly. They are now treated as
5597actual references, not method invocations.
5598
5599Fixed and enhanced the "list namespace" option (-ln). This option was broken
5600a number of releases ago.
5601
5602Improved error handling for the Field, IndexField, and BankField operators.
5603The compiler now cleanly reports and recovers from errors in the field
5604component (FieldUnit) list.
5605
5606Fixed a disassembler problem where the optional ResourceDescriptor fields
5607TRS and TTP were not always handled correctly.
5608
5609Disassembler - Comments in output now use "//" instead of "/*"
5610
5611----------------------------------------
561228 February 2005.  Summary of changes for version 20050228:
5613
56141) ACPI CA Core Subsystem:
5615
5616Fixed a problem where the result of an Index() operator (an object
5617reference) must increment the reference count on the target object for the
5618life of the object reference.
5619
5620Implemented AML Interpreter and Debugger support for the new ACPI 3.0
5621Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace
5622resource descriptors.
5623
5624Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
5625Space Descriptor" string, indicating interpreter support for the descriptors
5626above.
5627
5628Implemented header support for the new ACPI 3.0 FADT flag bits.
5629
5630Implemented header support for the new ACPI 3.0 PCI Express bits for the PM1
5631status/enable registers.
5632
5633Updated header support for the MADT processor local Apic struct and MADT
5634platform interrupt source struct for new ACPI 3.0 fields.
5635
5636Implemented header support for the SRAT and SLIT ACPI tables.
5637
5638Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag
5639at runtime.
5640
5641Code and Data Size: Current and previous core subsystem library sizes are
5642shown below. These are the code and data sizes for the acpica.lib produced
5643by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5644any ACPI driver or OSPM code. The debug version of the code includes the
5645debug output trace mechanism and has a much larger code and data size. Note
5646that these values will vary depending on the efficiency of the compiler and
5647the compiler options used during generation.
5648
5649  Previous Release:
5650    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5651    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5652  Current Release:
5653    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5654    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5655
5656
56572) iASL Compiler/Disassembler:
5658
5659Fixed a problem with the internal 64-bit String-to-integer conversion with
5660strings less than two characters long.
5661
5662Fixed a problem with constant folding where the result of the Index()
5663operator can not be considered a constant. This means that Index() cannot be
5664a type3 opcode and this will require an update to the ACPI specification.
5665
5666Disassembler: Implemented support for the TTP, MTP, and TRS resource
5667descriptor fields. These fields were inadvertently ignored and not output in
5668the disassembly of the resource descriptor.
5669
5670
5671 ----------------------------------------
567211 February 2005.  Summary of changes for version 20050211:
5673
56741) ACPI CA Core Subsystem:
5675
5676Implemented ACPI 3.0 support for implicit conversion within the Match()
5677operator. MatchObjects can now be of type integer, buffer, or string instead
5678of just type integer.  Package elements are implicitly converted to the type
5679of the MatchObject. This change aligns the behavior of Match() with the
5680behavior of the other logical operators (LLess(), etc.) It also requires an
5681errata change to the ACPI specification as this support was intended for
5682ACPI 3.0, but was inadvertently omitted.
5683
5684Fixed a problem with the internal implicit "to buffer" conversion. Strings
5685that are converted to buffers will cause buffer truncation if the string is
5686smaller than the target buffer. Integers that are converted to buffers will
5687not cause buffer truncation, only zero extension (both as per the ACPI
5688spec.) The problem was introduced when code was added to truncate the
5689buffer, but this should not be performed in all cases, only the string case.
5690
5691Fixed a problem with the Buffer and Package operators where the interpreter
5692would get confused if two such operators were used as operands to an ASL
5693operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
5694stack was not being popped after the execution of these operators, resulting
5695in an AE_NO_RETURN_VALUE exception.
5696
5697Fixed a problem with constructs of the form Store(Index(...),...). The
5698reference object returned from Index was inadvertently resolved to an actual
5699value. This problem was introduced in version 20050114 when the behavior of
5700Store() was modified to restrict the object types that can be used as the
5701source operand (to match the ACPI specification.)
5702
5703Reduced excessive stack use within the AcpiGetObjectInfo procedure.
5704
5705Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
5706
5707Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
5708
5709Code and Data Size: Current and previous core subsystem library sizes are
5710shown below. These are the code and data sizes for the acpica.lib produced
5711by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5712any ACPI driver or OSPM code. The debug version of the code includes the
5713debug output trace mechanism and has a much larger code and data size. Note
5714that these values will vary depending on the efficiency of the compiler and
5715the compiler options used during generation.
5716
5717  Previous Release:
5718    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
5719    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
5720  Current Release:
5721    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5722    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5723
5724
57252) iASL Compiler/Disassembler:
5726
5727Fixed a code generation problem in the constant folding optimization code
5728where incorrect code was generated if a constant was reduced to a buffer
5729object (i.e., a reduced type 5 opcode.)
5730
5731Fixed a typechecking problem for the ToBuffer operator. Caused by an
5732incorrect return type in the internal opcode information table.
5733
5734----------------------------------------
573525 January 2005.  Summary of changes for version 20050125:
5736
57371) ACPI CA Core Subsystem:
5738
5739Fixed a recently introduced problem with the Global Lock where the
5740underlying semaphore was not created.  This problem was introduced in
5741version 20050114, and caused an AE_AML_NO_OPERAND exception during an
5742Acquire() operation on _GL.
5743
5744The local object cache is now optional, and is disabled by default. Both
5745AcpiExec and the iASL compiler enable the cache because they run in user
5746mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE
5747to enable the local cache.
5748
5749Fixed an issue in the internal function AcpiUtEvaluateObject concerning the
5750optional "implicit return" support where an error was returned if no return
5751object was expected, but one was implicitly returned. AE_OK is now returned
5752in this case and the implicitly returned object is deleted.
5753AcpiUtEvaluateObject is only occasionally used, and only to execute reserved
5754methods such as _STA and _INI where the return type is known up front.
5755
5756Fixed a few issues with the internal convert-to-integer code. It now returns
5757an error if an attempt is made to convert a null string, a string of only
5758blanks/tabs, or a zero-length buffer. This affects both implicit conversion
5759and explicit conversion via the ToInteger() operator.
5760
5761The internal debug code in AcpiUtAcquireMutex has been commented out. It is
5762not needed for normal operation and should increase the performance of the
5763entire subsystem. The code remains in case it is needed for debug purposes
5764again.
5765
5766The AcpiExec source and makefile are included in the Unix/Linux package for
5767the first time.
5768
5769Code and Data Size: Current and previous core subsystem library sizes are
5770shown below. These are the code and data sizes for the acpica.lib produced
5771by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5772any ACPI driver or OSPM code. The debug version of the code includes the
5773debug output trace mechanism and has a much larger code and data size. Note
5774that these values will vary depending on the efficiency of the compiler and
5775the compiler options used during generation.
5776
5777  Previous Release:
5778    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5779    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5780  Current Release:
5781    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
5782    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
5783
57842) iASL Compiler/Disassembler:
5785
5786Switch/Case support: A warning is now issued if the type of the Switch value
5787cannot be determined at compile time. For example, Switch(Arg0) will
5788generate the warning, and the type is assumed to be an integer. As per the
5789ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the
5790warning.
5791
5792Switch/Case support: Implemented support for buffer and string objects as
5793the switch value.  This is an ACPI 3.0 feature, now that LEqual supports
5794buffers and strings.
5795
5796Switch/Case support: The emitted code for the LEqual() comparisons now uses
5797the switch value as the first operand, not the second. The case value is now
5798the second operand, and this allows the case value to be implicitly
5799converted to the type of the switch value, not the other way around.
5800
5801Switch/Case support: Temporary variables are now emitted immediately within
5802the control method, not at the global level. This means that there are now
580336 temps available per-method, not 36 temps per-module as was the case with
5804the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
5805
5806----------------------------------------
580714 January 2005.  Summary of changes for version 20050114:
5808
5809Added 2005 copyright to all module headers.  This affects every module in
5810the core subsystem, iASL compiler, and the utilities.
5811
58121) ACPI CA Core Subsystem:
5813
5814Fixed an issue with the String-to-Buffer conversion code where the string
5815null terminator was not included in the buffer after conversion, but there
5816is existing ASL that assumes the string null terminator is included. This is
5817the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
5818introduced in the previous version when the code was updated to correctly
5819set the converted buffer size as per the ACPI specification. The ACPI spec
5820is ambiguous and will be updated to specify that the null terminator must be
5821included in the converted buffer. This also affects the ToBuffer() ASL
5822operator.
5823
5824Fixed a problem with the Mid() ASL/AML operator where it did not work
5825correctly on Buffer objects. Newly created sub-buffers were not being marked
5826as initialized.
5827
5828
5829Fixed a problem in AcpiTbFindTable where incorrect string compares were
5830performed on the OemId and OemTableId table header fields.  These fields are
5831not null terminated, so strncmp is now used instead of strcmp.
5832
5833Implemented a restriction on the Store() ASL/AML operator to align the
5834behavior with the ACPI specification.  Previously, any object could be used
5835as the source operand.  Now, the only objects that may be used are Integers,
5836Buffers, Strings, Packages, Object References, and DDB Handles.  If
5837necessary, the original behavior can be restored by enabling the
5838EnableInterpreterSlack flag.
5839
5840Enhanced the optional "implicit return" support to allow an implicit return
5841value from methods that are invoked externally via the AcpiEvaluateObject
5842interface.  This enables implicit returns from the _STA and _INI methods,
5843for example.
5844
5845Changed the Revision() ASL/AML operator to return the current version of the
5846AML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned
5847the supported ACPI version (This is the function of the _REV method).
5848
5849Updated the _REV predefined method to return the currently supported version
5850of ACPI, now 3.
5851
5852Implemented batch mode option for the AcpiExec utility (-b).
5853
5854Code and Data Size: Current and previous core subsystem library sizes are
5855shown below. These are the code and data sizes for the acpica.lib produced
5856by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5857any ACPI driver or OSPM code. The debug version of the code includes the
5858debug output trace mechanism and has a much larger code and data size. Note
5859that these values will vary depending on the efficiency of the compiler and
5860the compiler options used during generation.
5861
5862  Previous Release:
5863    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5864    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5865  Current Release:
5866    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5867    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5868
5869----------------------------------------
587010 December 2004.  Summary of changes for version 20041210:
5871
5872ACPI 3.0 support is nearing completion in both the iASL compiler and the
5873ACPI CA core subsystem.
5874
58751) ACPI CA Core Subsystem:
5876
5877Fixed a problem in the ToDecimalString operator where the resulting string
5878length was incorrectly calculated. The length is now calculated exactly,
5879eliminating incorrect AE_STRING_LIMIT exceptions.
5880
5881Fixed a problem in the ToHexString operator to allow a maximum 200 character
5882string to be produced.
5883
5884Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy
5885routine where the length of the resulting buffer was not truncated to the
5886new size (if the target buffer already existed).
5887
5888Code and Data Size: Current and previous core subsystem library sizes are
5889shown below. These are the code and data sizes for the acpica.lib produced
5890by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5891any ACPI driver or OSPM code. The debug version of the code includes the
5892debug output trace mechanism and has a much larger code and data size. Note
5893that these values will vary depending on the efficiency of the compiler and
5894the compiler options used during generation.
5895
5896  Previous Release:
5897    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5898    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5899  Current Release:
5900    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5901    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5902
5903
59042) iASL Compiler/Disassembler:
5905
5906Implemented the new ACPI 3.0 resource template macros - DWordSpace,
5907ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
5908Includes support in the disassembler.
5909
5910Implemented support for the new (ACPI 3.0) parameter to the Register macro,
5911AccessSize.
5912
5913Fixed a problem where the _HE resource name for the Interrupt macro was
5914referencing bit 0 instead of bit 1.
5915
5916Implemented check for maximum 255 interrupts in the Interrupt macro.
5917
5918Fixed a problem with the predefined resource descriptor names where
5919incorrect AML code was generated if the offset within the resource buffer
5920was 0 or 1.  The optimizer shortened the AML code to a single byte opcode
5921but did not update the surrounding package lengths.
5922
5923Changes to the Dma macro:  All channels within the channel list must be in
5924the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is
5925optional (default is BusMaster).
5926
5927Implemented check for maximum 7 data bytes for the VendorShort macro.
5928
5929The ReadWrite parameter is now optional for the Memory32 and similar macros.
5930
5931----------------------------------------
593203 December 2004.  Summary of changes for version 20041203:
5933
59341) ACPI CA Core Subsystem:
5935
5936The low-level field insertion/extraction code (exfldio) has been completely
5937rewritten to eliminate unnecessary complexity, bugs, and boundary
5938conditions.
5939
5940Fixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString
5941operators where the input operand could be inadvertently deleted if no
5942conversion was necessary (e.g., if the input to ToInteger was an Integer
5943object.)
5944
5945Fixed a problem with the ToDecimalString and ToHexString where an incorrect
5946exception code was returned if the resulting string would be > 200 chars.
5947AE_STRING_LIMIT is now returned.
5948
5949Fixed a problem with the Concatenate operator where AE_OK was always
5950returned, even if the operation failed.
5951
5952Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
5953semaphores to be allocated.
5954
5955Code and Data Size: Current and previous core subsystem library sizes are
5956shown below. These are the code and data sizes for the acpica.lib produced
5957by the Microsoft Visual C++ 6.0 compiler, and these values do not include
5958any ACPI driver or OSPM code. The debug version of the code includes the
5959debug output trace mechanism and has a much larger code and data size. Note
5960that these values will vary depending on the efficiency of the compiler and
5961the compiler options used during generation.
5962
5963  Previous Release:
5964    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5965    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5966  Current Release:
5967    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5968    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5969
5970
59712) iASL Compiler/Disassembler:
5972
5973Fixed typechecking for the ObjectType and SizeOf operators.  Problem was
5974recently introduced in 20041119.
5975
5976Fixed a problem with the ToUUID macro where the upper nybble of each buffer
5977byte was inadvertently set to zero.
5978
5979----------------------------------------
598019 November 2004.  Summary of changes for version 20041119:
5981
59821) ACPI CA Core Subsystem:
5983
5984Fixed a problem in the internal ConvertToInteger routine where new integers
5985were not truncated to 32 bits for 32-bit ACPI tables. This routine converts
5986buffers and strings to integers.
5987
5988Implemented support to store a value to an Index() on a String object. This
5989is an ACPI 2.0 feature that had not yet been implemented.
5990
5991Implemented new behavior for storing objects to individual package elements
5992(via the Index() operator). The previous behavior was to invoke the implicit
5993conversion rules if an object was already present at the index.  The new
5994behavior is to simply delete any existing object and directly store the new
5995object. Although the ACPI specification seems unclear on this subject, other
5996ACPI implementations behave in this manner.  (This is the root of the
5997AE_BAD_HEX_CONSTANT issue.)
5998
5999Modified the RSDP memory scan mechanism to support the extended checksum for
6000ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
6001RSDP signature is found with a valid checksum.
6002
6003Code and Data Size: Current and previous core subsystem library sizes are
6004shown below. These are the code and data sizes for the acpica.lib produced
6005by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6006any ACPI driver or OSPM code. The debug version of the code includes the
6007debug output trace mechanism and has a much larger code and data size. Note
6008that these values will vary depending on the efficiency of the compiler and
6009the compiler options used during generation.
6010
6011  Previous Release:
6012    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6013    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6014  Current Release:
6015    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6016    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6017
6018
60192) iASL Compiler/Disassembler:
6020
6021Fixed a missing semicolon in the aslcompiler.y file.
6022
6023----------------------------------------
602405 November 2004.  Summary of changes for version 20041105:
6025
60261) ACPI CA Core Subsystem:
6027
6028Implemented support for FADT revision 2.  This was an interim table (between
6029ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
6030
6031Implemented optional support to allow uninitialized LocalX and ArgX
6032variables in a control method.  The variables are initialized to an Integer
6033object with a value of zero.  This support is enabled by setting the
6034AcpiGbl_EnableInterpreterSlack flag to TRUE.
6035
6036Implemented support for Integer objects for the SizeOf operator.  Either 4
6037or 8 is returned, depending on the current integer size (32-bit or 64-bit,
6038depending on the parent table revision).
6039
6040Fixed a problem in the implementation of the SizeOf and ObjectType operators
6041where the operand was resolved to a value too early, causing incorrect
6042return values for some objects.
6043
6044Fixed some possible memory leaks during exceptional conditions.
6045
6046Code and Data Size: Current and previous core subsystem library sizes are
6047shown below. These are the code and data sizes for the acpica.lib produced
6048by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6049any ACPI driver or OSPM code. The debug version of the code includes the
6050debug output trace mechanism and has a much larger code and data size. Note
6051that these values will vary depending on the efficiency of the compiler and
6052the compiler options used during generation.
6053
6054  Previous Release:
6055    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6056    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6057  Current Release:
6058    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
6059    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
6060
6061
60622) iASL Compiler/Disassembler:
6063
6064Implemented support for all ACPI 3.0 reserved names and methods.
6065
6066Implemented all ACPI 3.0 grammar elements in the front-end, including
6067support for semicolons.
6068
6069Implemented the ACPI 3.0 Function() and ToUUID() macros
6070
6071Fixed a problem in the disassembler where a Scope() operator would not be
6072emitted properly if the target of the scope was in another table.
6073
6074----------------------------------------
607515 October 2004.  Summary of changes for version 20041015:
6076
6077Note:  ACPI CA is currently undergoing an in-depth and complete formal
6078evaluation to test/verify the following areas. Other suggestions are
6079welcome. This will result in an increase in the frequency of releases and
6080the number of bug fixes in the next few months.
6081  - Functional tests for all ASL/AML operators
6082  - All implicit/explicit type conversions
6083  - Bit fields and operation regions
6084  - 64-bit math support and 32-bit-only "truncated" math support
6085  - Exceptional conditions, both compiler and interpreter
6086  - Dynamic object deletion and memory leaks
6087  - ACPI 3.0 support when implemented
6088  - External interfaces to the ACPI subsystem
6089
6090
60911) ACPI CA Core Subsystem:
6092
6093Fixed two alignment issues on 64-bit platforms - within debug statements in
6094AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address
6095field within the non-aligned ACPI generic address structure.
6096
6097Fixed a problem in the Increment and Decrement operators where incorrect
6098operand resolution could result in the inadvertent modification of the
6099original integer when the integer is passed into another method as an
6100argument and the arg is then incremented/decremented.
6101
6102Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit
6103BCD number were truncated during conversion.
6104
6105Fixed a problem in the ToDecimal operator where the length of the resulting
6106string could be set incorrectly too long if the input operand was a Buffer
6107object.
6108
6109Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0)
6110within a buffer would prematurely terminate a compare between buffer
6111objects.
6112
6113Added a check for string overflow (>200 characters as per the ACPI
6114specification) during the Concatenate operator with two string operands.
6115
6116Code and Data Size: Current and previous core subsystem library sizes are
6117shown below. These are the code and data sizes for the acpica.lib produced
6118by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6119any ACPI driver or OSPM code. The debug version of the code includes the
6120debug output trace mechanism and has a much larger code and data size. Note
6121that these values will vary depending on the efficiency of the compiler and
6122the compiler options used during generation.
6123
6124  Previous Release:
6125    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6126    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6127  Current Release:
6128    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6129    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
6130
6131
6132
61332) iASL Compiler/Disassembler:
6134
6135Allow the use of the ObjectType operator on uninitialized Locals and Args
6136(returns 0 as per the ACPI specification).
6137
6138Fixed a problem where the compiler would fault if there was a syntax error
6139in the FieldName of all of the various CreateXXXField operators.
6140
6141Disallow the use of lower case letters within the EISAID macro, as per the
6142ACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where
6143U is an uppercase letter and N is a hex digit.
6144
6145
6146----------------------------------------
614706 October 2004.  Summary of changes for version 20041006:
6148
61491) ACPI CA Core Subsystem:
6150
6151Implemented support for the ACPI 3.0 Timer operator. This ASL function
6152implements a 64-bit timer with 100 nanosecond granularity.
6153
6154Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
6155implement the ACPI 3.0 Timer operator.  This allows the host OS to implement
6156the timer with the best clock available. Also, it keeps the core subsystem
6157out of the clock handling business, since the host OS (usually) performs
6158this function.
6159
6160Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
6161functions use a 64-bit address which is part of the packed ACPI Generic
6162Address Structure. Since the structure is non-aligned, the alignment macros
6163are now used to extract the address to a local variable before use.
6164
6165Fixed a problem where the ToInteger operator assumed all input strings were
6166hexadecimal. The operator now handles both decimal strings and hex strings
6167(prefixed with "0x").
6168
6169Fixed a problem where the string length in the string object created as a
6170result of the internal ConvertToString procedure could be incorrect. This
6171potentially affected all implicit conversions and also the ToDecimalString
6172and ToHexString operators.
6173
6174Fixed two problems in the ToString operator. If the length parameter was
6175zero, an incorrect string object was created and the value of the input
6176length parameter was inadvertently changed from zero to Ones.
6177
6178Fixed a problem where the optional ResourceSource string in the ExtendedIRQ
6179resource macro was ignored.
6180
6181Simplified the interfaces to the internal division functions, reducing code
6182size and complexity.
6183
6184Code and Data Size: Current and previous core subsystem library sizes are
6185shown below. These are the code and data sizes for the acpica.lib produced
6186by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6187any ACPI driver or OSPM code. The debug version of the code includes the
6188debug output trace mechanism and has a much larger code and data size. Note
6189that these values will vary depending on the efficiency of the compiler and
6190the compiler options used during generation.
6191
6192  Previous Release:
6193    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6194    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6195  Current Release:
6196    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6197    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
6198
6199
62002) iASL Compiler/Disassembler:
6201
6202Implemented support for the ACPI 3.0 Timer operator.
6203
6204Fixed a problem where the Default() operator was inadvertently ignored in a
6205Switch/Case block.  This was a problem in the translation of the Switch
6206statement to If...Else pairs.
6207
6208Added support to allow a standalone Return operator, with no parentheses (or
6209operands).
6210
6211Fixed a problem with code generation for the ElseIf operator where the
6212translated Else...If parse tree was improperly constructed leading to the
6213loss of some code.
6214
6215----------------------------------------
621622 September 2004.  Summary of changes for version 20040922:
6217
62181) ACPI CA Core Subsystem:
6219
6220Fixed a problem with the implementation of the LNot() operator where "Ones"
6221was not returned for the TRUE case. Changed the code to return Ones instead
6222of (!Arg) which was usually 1. This change affects iASL constant folding for
6223this operator also.
6224
6225Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not
6226initialized properly -- Now zero the entire buffer in this case where the
6227buffer already exists.
6228
6229Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
6230Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
6231related code considerably. This will require changes/updates to all OS
6232interface layers (OSLs.)
6233
6234Implemented a new external interface, AcpiInstallExceptionHandler, to allow
6235a system exception handler to be installed. This handler is invoked upon any
6236run-time exception that occurs during control method execution.
6237
6238Added support for the DSDT in AcpiTbFindTable. This allows the
6239DataTableRegion() operator to access the local copy of the DSDT.
6240
6241Code and Data Size: Current and previous core subsystem library sizes are
6242shown below. These are the code and data sizes for the acpica.lib produced
6243by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6244any ACPI driver or OSPM code. The debug version of the code includes the
6245debug output trace mechanism and has a much larger code and data size. Note
6246that these values will vary depending on the efficiency of the compiler and
6247the compiler options used during generation.
6248
6249  Previous Release:
6250    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6251    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6252  Current Release:
6253    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
6254    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
6255
6256
62572) iASL Compiler/Disassembler:
6258
6259Fixed a problem with constant folding and the LNot operator. LNot was
6260returning 1 in the TRUE case, not Ones as per the ACPI specification. This
6261could result in the generation of an incorrect folded/reduced constant.
6262
6263End-Of-File is now allowed within a "//"-style comment.  A parse error no
6264longer occurs if such a comment is at the very end of the input ASL source
6265file.
6266
6267Implemented the "-r" option to override the Revision in the table header.
6268The initial use of this option will be to simplify the evaluation of the AML
6269interpreter by allowing a single ASL source module to be compiled for either
627032-bit or 64-bit integers.
6271
6272
6273----------------------------------------
627427 August 2004.  Summary of changes for version 20040827:
6275
62761) ACPI CA Core Subsystem:
6277
6278- Implemented support for implicit object conversion in the non-numeric
6279logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and
6280LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used;
6281the second operand is implicitly converted on the fly to match the type of
6282the first operand.  For example:
6283
6284    LEqual (Source1, Source2)
6285
6286Source1 and Source2 must each evaluate to an integer, a string, or a buffer.
6287The data type of Source1 dictates the required type of Source2. Source2 is
6288implicitly converted if necessary to match the type of Source1.
6289
6290- Updated and corrected the behavior of the string conversion support.  The
6291rules concerning conversion of buffers to strings (according to the ACPI
6292specification) are as follows:
6293
6294ToDecimalString - explicit byte-wise conversion of buffer to string of
6295decimal values (0-255) separated by commas. ToHexString - explicit byte-wise
6296conversion of buffer to string of hex values (0-FF) separated by commas.
6297ToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte
6298copy with no transform except NULL terminated. Any other implicit buffer-to-
6299string conversion - byte-wise conversion of buffer to string of hex values
6300(0-FF) separated by spaces.
6301
6302- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
6303
6304- Fixed a problem in AcpiNsGetPathnameLength where the returned length was
6305one byte too short in the case of a node in the root scope.  This could
6306cause a fault during debug output.
6307
6308- Code and Data Size: Current and previous core subsystem library sizes are
6309shown below.  These are the code and data sizes for the acpica.lib produced
6310by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6311any ACPI driver or OSPM code.  The debug version of the code includes the
6312debug output trace mechanism and has a much larger code and data size.  Note
6313that these values will vary depending on the efficiency of the compiler and
6314the compiler options used during generation.
6315
6316  Previous Release:
6317    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6318    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6319  Current Release:
6320    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
6321    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
6322
6323
63242) iASL Compiler/Disassembler:
6325
6326- Fixed a Linux generation error.
6327
6328
6329----------------------------------------
633016 August 2004.  Summary of changes for version 20040816:
6331
63321) ACPI CA Core Subsystem:
6333
6334Designed and implemented support within the AML interpreter for the so-
6335called "implicit return".  This support returns the result of the last ASL
6336operation within a control method, in the absence of an explicit Return()
6337operator.  A few machines depend on this behavior, even though it is not
6338explicitly supported by the ASL language.  It is optional support that can
6339be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
6340
6341Removed support for the PCI_Config address space from the internal low level
6342hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This
6343support was not used internally, and would not work correctly anyway because
6344the PCI bus number and segment number were not supported.  There are
6345separate interfaces for PCI configuration space access because of the unique
6346interface.
6347
6348Code and Data Size: Current and previous core subsystem library sizes are
6349shown below.  These are the code and data sizes for the acpica.lib produced
6350by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6351any ACPI driver or OSPM code.  The debug version of the code includes the
6352debug output trace mechanism and has a much larger code and data size.  Note
6353that these values will vary depending on the efficiency of the compiler and
6354the compiler options used during generation.
6355
6356  Previous Release:
6357    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6358    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6359  Current Release:
6360    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6361    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6362
6363
63642) iASL Compiler/Disassembler:
6365
6366Fixed a problem where constants in ASL expressions at the root level (not
6367within a control method) could be inadvertently truncated during code
6368generation.  This problem was introduced in the 20040715 release.
6369
6370
6371----------------------------------------
637215 July 2004.  Summary of changes for version 20040715:
6373
63741) ACPI CA Core Subsystem:
6375
6376Restructured the internal HW GPE interfaces to pass/track the current state
6377of interrupts (enabled/disabled) in order to avoid possible deadlock and
6378increase flexibility of the interfaces.
6379
6380Implemented a "lexicographical compare" for String and Buffer objects within
6381the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual --
6382as per further clarification to the ACPI specification.  Behavior is similar
6383to C library "strcmp".
6384
6385Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
6386external function.  In the 32-bit non-debug case, the stack use has been
6387reduced from 168 bytes to 32 bytes.
6388
6389Deployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack,
6390whose purpose is to allow the AML interpreter to forgive certain bad AML
6391constructs.  Default setting is FALSE.
6392
6393Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO
6394support code.  If enabled, it allows field access to go beyond the end of a
6395region definition if the field is within the region length rounded up to the
6396next access width boundary (a common coding error.)
6397
6398Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
6399ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these
6400symbols are lowercased by the latest version of the AcpiSrc tool.
6401
6402The prototypes for the PCI interfaces in acpiosxf.h have been updated to
6403rename "Register" to simply "Reg" to prevent certain compilers from
6404complaining.
6405
6406Code and Data Size: Current and previous core subsystem library sizes are
6407shown below.  These are the code and data sizes for the acpica.lib produced
6408by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6409any ACPI driver or OSPM code.  The debug version of the code includes the
6410debug output trace mechanism and has a much larger code and data size.  Note
6411that these values will vary depending on the efficiency of the compiler and
6412the compiler options used during generation.
6413
6414  Previous Release:
6415    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6416    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6417  Current Release:
6418    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6419    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6420
6421
64222) iASL Compiler/Disassembler:
6423
6424Implemented full support for Package objects within the Case() operator.
6425Note: The Break() operator is currently not supported within Case blocks
6426(TermLists) as there is some question about backward compatibility with ACPI
64271.0 interpreters.
6428
6429
6430Fixed a problem where complex terms were not supported properly within the
6431Switch() operator.
6432
6433Eliminated extraneous warning for compiler-emitted reserved names of the
6434form "_T_x".  (Used in Switch/Case operators.)
6435
6436Eliminated optimization messages for "_T_x" objects and small constants
6437within the DefinitionBlock operator.
6438
6439
6440----------------------------------------
644115 June 2004.  Summary of changes for version 20040615:
6442
64431) ACPI CA Core Subsystem:
6444
6445Implemented support for Buffer and String objects (as per ACPI 2.0) for the
6446following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
6447LLessEqual.
6448
6449All directory names in the entire source package are lower case, as they
6450were in earlier releases.
6451
6452Implemented "Disassemble" command in the AML debugger that will disassemble
6453a single control method.
6454
6455Code and Data Size: Current and previous core subsystem library sizes are
6456shown below.  These are the code and data sizes for the acpica.lib produced
6457by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6458any ACPI driver or OSPM code.  The debug version of the code includes the
6459debug output trace mechanism and has a much larger code and data size.  Note
6460that these values will vary depending on the efficiency of the compiler and
6461the compiler options used during generation.
6462
6463  Previous Release:
6464    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6465    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6466
6467  Current Release:
6468    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6469    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6470
6471
64722) iASL Compiler/Disassembler:
6473
6474Implemented support for Buffer and String objects (as per ACPI 2.0) for the
6475following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
6476LLessEqual.
6477
6478All directory names in the entire source package are lower case, as they
6479were in earlier releases.
6480
6481Fixed a fault when using the -g or -d<nofilename> options if the FADT was
6482not found.
6483
6484Fixed an issue with the Windows version of the compiler where later versions
6485of Windows place the FADT in the registry under the name "FADT" and not
6486"FACP" as earlier versions did.  This applies when using the -g or -
6487d<nofilename> options.  The compiler now looks for both strings as
6488necessary.
6489
6490Fixed a problem with compiler namepath optimization where a namepath within
6491the Scope() operator could not be optimized if the namepath was a subpath of
6492the current scope path.
6493
6494----------------------------------------
649527 May 2004.  Summary of changes for version 20040527:
6496
64971) ACPI CA Core Subsystem:
6498
6499Completed a new design and implementation for EBDA (Extended BIOS Data Area)
6500support in the RSDP scan code.  The original code improperly scanned for the
6501EBDA by simply scanning from memory location 0 to 0x400.  The correct method
6502is to first obtain the EBDA pointer from within the BIOS data area, then
6503scan 1K of memory starting at the EBDA pointer.  There appear to be few if
6504any machines that place the RSDP in the EBDA, however.
6505
6506Integrated a fix for a possible fault during evaluation of BufferField
6507arguments.  Obsolete code that was causing the problem was removed.
6508
6509Found and fixed a problem in the Field Support Code where data could be
6510corrupted on a bit field read that starts on an aligned boundary but does
6511not end on an aligned boundary.  Merged the read/write "datum length"
6512calculation code into a common procedure.
6513
6514Rolled in a couple of changes to the FreeBSD-specific header.
6515
6516
6517Code and Data Size: Current and previous core subsystem library sizes are
6518shown below.  These are the code and data sizes for the acpica.lib produced
6519by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6520any ACPI driver or OSPM code.  The debug version of the code includes the
6521debug output trace mechanism and has a much larger code and data size.  Note
6522that these values will vary depending on the efficiency of the compiler and
6523the compiler options used during generation.
6524
6525  Previous Release:
6526    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6527    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6528  Current Release:
6529    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6530    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6531
6532
65332) iASL Compiler/Disassembler:
6534
6535Fixed a generation warning produced by some overly-verbose compilers for a
653664-bit constant.
6537
6538----------------------------------------
653914 May 2004.  Summary of changes for version 20040514:
6540
65411) ACPI CA Core Subsystem:
6542
6543Fixed a problem where hardware GPE enable bits sometimes not set properly
6544during and after GPE method execution.  Result of 04/27 changes.
6545
6546Removed extra "clear all GPEs" when sleeping/waking.
6547
6548Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
6549AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to
6550the new AcpiEv* calls as appropriate.
6551
6552ACPI_OS_NAME was removed from the OS-specific headers.  The default name is
6553now "Microsoft Windows NT" for maximum compatibility.  However this can be
6554changed by modifying the acconfig.h file.
6555
6556Allow a single invocation of AcpiInstallNotifyHandler for a handler that
6557traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag.
6558
6559Run _INI methods on ThermalZone objects.  This is against the ACPI
6560specification, but there is apparently ASL code in the field that has these
6561_INI methods, and apparently "other" AML interpreters execute them.
6562
6563Performed a full 16/32/64 bit lint that resulted in some small changes.
6564
6565Added a sleep simulation command to the AML debugger to test sleep code.
6566
6567Code and Data Size: Current and previous core subsystem library sizes are
6568shown below.  These are the code and data sizes for the acpica.lib produced
6569by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6570any ACPI driver or OSPM code.  The debug version of the code includes the
6571debug output trace mechanism and has a much larger code and data size.  Note
6572that these values will vary depending on the efficiency of the compiler and
6573the compiler options used during generation.
6574
6575  Previous Release:
6576    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6577    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6578  Current Release:
6579    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6580    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6581
6582----------------------------------------
658327 April 2004.  Summary of changes for version 20040427:
6584
65851) ACPI CA Core Subsystem:
6586
6587Completed a major overhaul of the GPE handling within ACPI CA.  There are
6588now three types of GPEs:  wake-only, runtime-only, and combination wake/run.
6589The only GPEs allowed to be combination wake/run are for button-style
6590devices such as a control-method power button, control-method sleep button,
6591or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not
6592referenced by any _PRW methods are marked for "runtime" and hardware
6593enabled.  Any GPE that is referenced by a _PRW method is marked for "wake"
6594(and disabled at runtime).  However, at sleep time, only those GPEs that
6595have been specifically enabled for wake via the AcpiEnableGpe interface will
6596actually be hardware enabled.
6597
6598A new external interface has been added, AcpiSetGpeType(), that is meant to
6599be used by device drivers to force a GPE to a particular type.  It will be
6600especially useful for the drivers for the button devices mentioned above.
6601
6602Completed restructuring of the ACPI CA initialization sequence so that
6603default operation region handlers are installed before GPEs are initialized
6604and the _PRW methods are executed.  This will prevent errors when the _PRW
6605methods attempt to access system memory or I/O space.
6606
6607GPE enable/disable no longer reads the GPE enable register.  We now keep the
6608enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We
6609thus no longer depend on the hardware to maintain these bits.
6610
6611Always clear the wake status and fixed/GPE status bits before sleep, even
6612for state S5.
6613
6614Improved the AML debugger output for displaying the GPE blocks and their
6615current status.
6616
6617Added new strings for the _OSI method, of the form "Windows 2001 SPx" where
6618x = 0,1,2,3,4.
6619
6620Fixed a problem where the physical address was incorrectly calculated when
6621the Load() operator was used to directly load from an Operation Region (vs.
6622loading from a Field object.)  Also added check for minimum table length for
6623this case.
6624
6625Fix for multiple mutex acquisition.  Restore original thread SyncLevel on
6626mutex release.
6627
6628Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
6629consistency with the other fields returned.
6630
6631Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such
6632structure for each GPE in the system, so the size of this structure is
6633important.
6634
6635CPU stack requirement reduction:  Cleaned up the method execution and object
6636evaluation paths so that now a parameter structure is passed, instead of
6637copying the various method parameters over and over again.
6638
6639In evregion.c:  Correctly exit and reenter the interpreter region if and
6640only if dispatching an operation region request to a user-installed handler.
6641Do not exit/reenter when dispatching to a default handler (e.g., default
6642system memory or I/O handlers)
6643
6644
6645Notes for updating drivers for the new GPE support.  The following changes
6646must be made to ACPI-related device drivers that are attached to one or more
6647GPEs: (This information will be added to the ACPI CA Programmer Reference.)
6648
66491) AcpiInstallGpeHandler no longer automatically enables the GPE, you must
6650explicitly call AcpiEnableGpe.
66512) There is a new interface called AcpiSetGpeType. This should be called
6652before enabling the GPE.  Also, this interface will automatically disable
6653the GPE if it is currently enabled.
66543) AcpiEnableGpe no longer supports a GPE type flag.
6655
6656Specific drivers that must be changed:
66571) EC driver:
6658    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
6659AeGpeHandler, NULL);
6660    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
6661    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
6662
66632) Button Drivers (Power, Lid, Sleep):
6664Run _PRW method under parent device
6665If _PRW exists: /* This is a control-method button */
6666    Extract GPE number and possibly GpeDevice
6667    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
6668    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
6669
6670For all other devices that have _PRWs, we automatically set the GPE type to
6671ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This
6672must be done on a selective basis, usually requiring some kind of user app
6673to allow the user to pick the wake devices.
6674
6675
6676Code and Data Size: Current and previous core subsystem library sizes are
6677shown below.  These are the code and data sizes for the acpica.lib produced
6678by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6679any ACPI driver or OSPM code.  The debug version of the code includes the
6680debug output trace mechanism and has a much larger code and data size.  Note
6681that these values will vary depending on the efficiency of the compiler and
6682the compiler options used during generation.
6683
6684  Previous Release:
6685    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6686    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6687  Current Release:
6688
6689    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6690    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6691
6692
6693
6694----------------------------------------
669502 April 2004.  Summary of changes for version 20040402:
6696
66971) ACPI CA Core Subsystem:
6698
6699Fixed an interpreter problem where an indirect store through an ArgX
6700parameter was incorrectly applying the "implicit conversion rules" during
6701the store.  From the ACPI specification: "If the target is a method local or
6702argument (LocalX or ArgX), no conversion is performed and the result is
6703stored directly to the target".  The new behavior is to disable implicit
6704conversion during ALL stores to an ArgX.
6705
6706Changed the behavior of the _PRW method scan to ignore any and all errors
6707returned by a given _PRW.  This prevents the scan from aborting from the
6708failure of any single _PRW.
6709
6710Moved the runtime configuration parameters from the global init procedure to
6711static variables in acglobal.h.  This will allow the host to override the
6712default values easily.
6713
6714Code and Data Size: Current and previous core subsystem library sizes are
6715shown below.  These are the code and data sizes for the acpica.lib produced
6716by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6717any ACPI driver or OSPM code.  The debug version of the code includes the
6718debug output trace mechanism and has a much larger code and data size.  Note
6719that these values will vary depending on the efficiency of the compiler and
6720the compiler options used during generation.
6721
6722  Previous Release:
6723    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6724    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6725  Current Release:
6726    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6727    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6728
6729
67302) iASL Compiler/Disassembler:
6731
6732iASL now fully disassembles SSDTs.  However, External() statements are not
6733generated automatically for unresolved symbols at this time.  This is a
6734planned feature for future implementation.
6735
6736Fixed a scoping problem in the disassembler that occurs when the type of the
6737target of a Scope() operator is overridden.  This problem caused an
6738incorrectly nested internal namespace to be constructed.
6739
6740Any warnings or errors that are emitted during disassembly are now commented
6741out automatically so that the resulting file can be recompiled without any
6742hand editing.
6743
6744----------------------------------------
674526 March 2004.  Summary of changes for version 20040326:
6746
67471) ACPI CA Core Subsystem:
6748
6749Implemented support for "wake" GPEs via interaction between GPEs and the
6750_PRW methods.  Every GPE that is pointed to by one or more _PRWs is
6751identified as a WAKE GPE and by default will no longer be enabled at
6752runtime.  Previously, we were blindly enabling all GPEs with a corresponding
6753_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We
6754believe this has been the cause of thousands of "spurious" GPEs on some
6755systems.
6756
6757This new GPE behavior is can be reverted to the original behavior (enable
6758ALL GPEs at runtime) via a runtime flag.
6759
6760Fixed a problem where aliased control methods could not access objects
6761properly.  The proper scope within the namespace was not initialized
6762(transferred to the target of the aliased method) before executing the
6763target method.
6764
6765Fixed a potential race condition on internal object deletion on the return
6766object in AcpiEvaluateObject.
6767
6768Integrated a fix for resource descriptors where both _MEM and _MTP were
6769being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too
6770wide, 0x0F instead of 0x03.)
6771
6772Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a
6773fault in some cases.
6774
6775Updated Notify() values for debug statements in evmisc.c
6776
6777Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
6778
6779Code and Data Size: Current and previous core subsystem library sizes are
6780shown below.  These are the code and data sizes for the acpica.lib produced
6781by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6782any ACPI driver or OSPM code.  The debug version of the code includes the
6783debug output trace mechanism and has a much larger code and data size.  Note
6784that these values will vary depending on the efficiency of the compiler and
6785the compiler options used during generation.
6786
6787  Previous Release:
6788
6789    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6790    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6791  Current Release:
6792    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6793    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6794
6795----------------------------------------
679611 March 2004.  Summary of changes for version 20040311:
6797
67981) ACPI CA Core Subsystem:
6799
6800Fixed a problem where errors occurring during the parse phase of control
6801method execution did not abort cleanly.  For example, objects created and
6802installed in the namespace were not deleted.  This caused all subsequent
6803invocations of the method to return the AE_ALREADY_EXISTS exception.
6804
6805Implemented a mechanism to force a control method to "Serialized" execution
6806if the method attempts to create namespace objects. (The root of the
6807AE_ALREADY_EXISTS problem.)
6808
6809Implemented support for the predefined _OSI "internal" control method.
6810Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and
6811"Windows 2001.1", and can be easily upgraded for new strings as necessary.
6812This feature will allow "other" operating systems to execute the fully
6813tested, "Windows" code path through the ASL code
6814
6815Global Lock Support:  Now allows multiple acquires and releases with any
6816internal thread.  Removed concept of "owning thread" for this special mutex.
6817
6818Fixed two functions that were inappropriately declaring large objects on the
6819CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during
6820method execution considerably.
6821
6822Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
6823S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
6824
6825Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
6826defined on the machine.
6827
6828Implemented two runtime options:  One to force all control method execution
6829to "Serialized" to mimic Windows behavior, another to disable _OSI support
6830if it causes problems on a given machine.
6831
6832Code and Data Size: Current and previous core subsystem library sizes are
6833shown below.  These are the code and data sizes for the acpica.lib produced
6834by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6835any ACPI driver or OSPM code.  The debug version of the code includes the
6836debug output trace mechanism and has a much larger code and data size.  Note
6837that these values will vary depending on the efficiency of the compiler and
6838the compiler options used during generation.
6839
6840  Previous Release:
6841    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6842    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6843  Current Release:
6844    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6845    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6846
68472) iASL Compiler/Disassembler:
6848
6849Fixed an array size problem for FreeBSD that would cause the compiler to
6850fault.
6851
6852----------------------------------------
685320 February 2004.  Summary of changes for version 20040220:
6854
6855
68561) ACPI CA Core Subsystem:
6857
6858Implemented execution of _SxD methods for Device objects in the
6859GetObjectInfo interface.
6860
6861Fixed calls to _SST method to pass the correct arguments.
6862
6863Added a call to _SST on wake to restore to "working" state.
6864
6865Check for End-Of-Buffer failure case in the WalkResources interface.
6866
6867Integrated fix for 64-bit alignment issue in acglobal.h by moving two
6868structures to the beginning of the file.
6869
6870After wake, clear GPE status register(s) before enabling GPEs.
6871
6872After wake, clear/enable power button.  (Perhaps we should clear/enable all
6873fixed events upon wake.)
6874
6875Fixed a couple of possible memory leaks in the Namespace manager.
6876
6877Integrated latest acnetbsd.h file.
6878
6879----------------------------------------
688011 February 2004.  Summary of changes for version 20040211:
6881
6882
68831) ACPI CA Core Subsystem:
6884
6885Completed investigation and implementation of the call-by-reference
6886mechanism for control method arguments.
6887
6888Fixed a problem where a store of an object into an indexed package could
6889fail if the store occurs within a different method than the method that
6890created the package.
6891
6892Fixed a problem where the ToDecimal operator could return incorrect results.
6893
6894Fixed a problem where the CopyObject operator could fail on some of the more
6895obscure objects (e.g., Reference objects.)
6896
6897Improved the output of the Debug object to display buffer, package, and
6898index objects.
6899
6900Fixed a problem where constructs of the form "RefOf (ArgX)" did not return
6901the expected result.
6902
6903Added permanent ACPI_REPORT_ERROR macros for all instances of the
6904ACPI_AML_INTERNAL exception.
6905
6906Integrated latest version of acfreebsd.h
6907
6908----------------------------------------
690916 January 2004.  Summary of changes for version 20040116:
6910
6911The purpose of this release is primarily to update the copyright years in
6912each module, thus causing a huge number of diffs.  There are a few small
6913functional changes, however.
6914
69151) ACPI CA Core Subsystem:
6916
6917Improved error messages when there is a problem finding one or more of the
6918required base ACPI tables
6919
6920Reintroduced the definition of APIC_HEADER in actbl.h
6921
6922Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
6923
6924Removed extraneous reference to NewObj in dsmthdat.c
6925
69262) iASL compiler
6927
6928Fixed a problem introduced in December that disabled the correct disassembly
6929of Resource Templates
6930
6931
6932----------------------------------------
693303 December 2003.  Summary of changes for version 20031203:
6934
69351) ACPI CA Core Subsystem:
6936
6937Changed the initialization of Operation Regions during subsystem
6938init to perform two entire walks of the ACPI namespace; The first
6939to initialize the regions themselves, the second to execute the
6940_REG methods.  This fixed some interdependencies across _REG
6941methods found on some machines.
6942
6943Fixed a problem where a Store(Local0, Local1) could simply update
6944the object reference count, and not create a new copy of the
6945object if the Local1 is uninitialized.
6946
6947Implemented support for the _SST reserved method during sleep
6948transitions.
6949
6950Implemented support to clear the SLP_TYP and SLP_EN bits when
6951waking up, this is apparently required by some machines.
6952
6953When sleeping, clear the wake status only if SleepState is not S5.
6954
6955Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
6956pointer arithmetic advanced a string pointer too far.
6957
6958Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
6959could be returned if the requested table has not been loaded.
6960
6961Within the support for IRQ resources, restructured the handling of
6962the active and edge/level bits.
6963
6964Fixed a few problems in AcpiPsxExecute() where memory could be
6965leaked under certain error conditions.
6966
6967Improved error messages for the cases where the ACPI mode could
6968not be entered.
6969
6970Code and Data Size: Current and previous core subsystem library
6971sizes are shown below.  These are the code and data sizes for the
6972acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6973these values do not include any ACPI driver or OSPM code.  The
6974debug version of the code includes the debug output trace
6975mechanism and has a much larger code and data size.  Note that
6976these values will vary depending on the efficiency of the compiler
6977and the compiler options used during generation.
6978
6979  Previous Release (20031029):
6980    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6981    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6982  Current Release:
6983    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6984    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6985
69862) iASL Compiler/Disassembler:
6987
6988Implemented a fix for the iASL disassembler where a bad index was
6989generated.  This was most noticeable on 64-bit platforms
6990
6991
6992----------------------------------------
699329 October 2003.  Summary of changes for version 20031029:
6994
69951) ACPI CA Core Subsystem:
6996
6997
6998Fixed a problem where a level-triggered GPE with an associated
6999_Lxx control method was incorrectly cleared twice.
7000
7001Fixed a problem with the Field support code where an access can
7002occur beyond the end-of-region if the field is non-aligned but
7003extends to the very end of the parent region (resulted in an
7004AE_AML_REGION_LIMIT exception.)
7005
7006Fixed a problem with ACPI Fixed Events where an RT Clock handler
7007would not get invoked on an RTC event.  The RTC event bitmasks for
7008the PM1 registers were not being initialized properly.
7009
7010Implemented support for executing _STA and _INI methods for
7011Processor objects.  Although this is currently not part of the
7012ACPI specification, there is existing ASL code that depends on the
7013init-time execution of these methods.
7014
7015Implemented and deployed a GetDescriptorName function to decode
7016the various types of internal descriptors.  Guards against null
7017descriptors during debug output also.
7018
7019Implemented and deployed a GetNodeName function to extract the 4-
7020character namespace node name.  This function simplifies the debug
7021and error output, as well as guarding against null pointers during
7022output.
7023
7024Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
7025simplify the debug and error output of 64-bit integers.  This
7026macro replaces the HIDWORD and LODWORD macros for dumping these
7027integers.
7028
7029Updated the implementation of the Stall() operator to only call
7030AcpiOsStall(), and also return an error if the operand is larger
7031than 255.  This preserves the required behavior of not
7032relinquishing the processor, as would happen if AcpiOsSleep() was
7033called for "long stalls".
7034
7035Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
7036initialized are now treated as NOOPs.
7037
7038Cleaned up a handful of warnings during 64-bit generation.
7039
7040Fixed a reported error where and incorrect GPE number was passed
7041to the GPE dispatch handler.  This value is only used for error
7042output, however.  Used this opportunity to clean up and streamline
7043the GPE dispatch code.
7044
7045Code and Data Size: Current and previous core subsystem library
7046sizes are shown below.  These are the code and data sizes for the
7047acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7048these values do not include any ACPI driver or OSPM code.  The
7049
7050debug version of the code includes the debug output trace
7051mechanism and has a much larger code and data size.  Note that
7052these values will vary depending on the efficiency of the compiler
7053and the compiler options used during generation.
7054
7055  Previous Release (20031002):
7056    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7057    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7058  Current Release:
7059    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
7060    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
7061
7062
70632) iASL Compiler/Disassembler:
7064
7065Updated the iASL compiler to return an error if the operand to the
7066Stall() operator is larger than 255.
7067
7068
7069----------------------------------------
707002 October 2003.  Summary of changes for version 20031002:
7071
7072
70731) ACPI CA Core Subsystem:
7074
7075Fixed a problem with Index Fields where the index was not
7076incremented for fields that require multiple writes to the
7077index/data registers (Fields that are wider than the data
7078register.)
7079
7080Fixed a problem with all Field objects where a write could go
7081beyond the end-of-field if the field was larger than the access
7082granularity and therefore required multiple writes to complete the
7083request.  An extra write beyond the end of the field could happen
7084inadvertently.
7085
7086Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
7087would incorrectly be returned if the width of the Data Register
7088was larger than the specified field access width.
7089
7090Completed fixes for LoadTable() and Unload() and verified their
7091operation.  Implemented full support for the "DdbHandle" object
7092throughout the ACPI CA subsystem.
7093
7094Implemented full support for the MADT and ECDT tables in the ACPI
7095CA header files.  Even though these tables are not directly
7096consumed by ACPI CA, the header definitions are useful for ACPI
7097device drivers.
7098
7099Integrated resource descriptor fixes posted to the Linux ACPI
7100list.  This included checks for minimum descriptor length, and
7101support for trailing NULL strings within descriptors that have
7102optional string elements.
7103
7104Code and Data Size: Current and previous core subsystem library
7105sizes are shown below.  These are the code and data sizes for the
7106acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7107these values do not include any ACPI driver or OSPM code.  The
7108debug version of the code includes the debug output trace
7109mechanism and has a much larger code and data size.  Note that
7110these values will vary depending on the efficiency of the compiler
7111and the compiler options used during generation.
7112
7113  Previous Release (20030918):
7114    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7115    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7116  Current Release:
7117    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
7118    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
7119
7120
71212) iASL Compiler:
7122
7123Implemented detection of non-ASCII characters within the input
7124source ASL file.  This catches attempts to compile binary (AML)
7125files early in the compile, with an informative error message.
7126
7127Fixed a problem where the disassembler would fault if the output
7128filename could not be generated or if the output file could not be
7129opened.
7130
7131----------------------------------------
713218 September 2003.  Summary of changes for version 20030918:
7133
7134
71351) ACPI CA Core Subsystem:
7136
7137Found and fixed a longstanding problem with the late execution of
7138the various deferred AML opcodes (such as Operation Regions,
7139Buffer Fields, Buffers, and Packages).  If the name string
7140specified for the name of the new object placed the object in a
7141scope other than the current scope, the initialization/execution
7142of the opcode failed.  The solution to this problem was to
7143implement a mechanism where the late execution of such opcodes
7144does not attempt to lookup/create the name a second time in an
7145incorrect scope.  This fixes the "region size computed
7146incorrectly" problem.
7147
7148Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
7149Global Lock AE_BAD_PARAMETER error.
7150
7151Fixed several 64-bit issues with prototypes, casting and data
7152types.
7153
7154Removed duplicate prototype from acdisasm.h
7155
7156Fixed an issue involving EC Operation Region Detach (Shaohua Li)
7157
7158Code and Data Size: Current and previous core subsystem library
7159sizes are shown below.  These are the code and data sizes for the
7160acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7161these values do not include any ACPI driver or OSPM code.  The
7162debug version of the code includes the debug output trace
7163mechanism and has a much larger code and data size.  Note that
7164these values will vary depending on the efficiency of the compiler
7165and the compiler options used during generation.
7166
7167  Previous Release:
7168
7169    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7170    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7171  Current Release:
7172    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
7173    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
7174
7175
71762) Linux:
7177
7178Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
7179correct sleep time in seconds.
7180
7181----------------------------------------
718214 July 2003.  Summary of changes for version 20030619:
7183
71841) ACPI CA Core Subsystem:
7185
7186Parse SSDTs in order discovered, as opposed to reverse order
7187(Hrvoje Habjanic)
7188
7189Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
7190Klausner,
7191   Nate Lawson)
7192
7193
71942) Linux:
7195
7196Dynamically allocate SDT list (suggested by Andi Kleen)
7197
7198proc function return value cleanups (Andi Kleen)
7199
7200Correctly handle NMI watchdog during long stalls (Andrew Morton)
7201
7202Make it so acpismp=force works (reported by Andrew Morton)
7203
7204
7205----------------------------------------
720619 June 2003.  Summary of changes for version 20030619:
7207
72081) ACPI CA Core Subsystem:
7209
7210Fix To/FromBCD, eliminating the need for an arch-specific #define.
7211
7212Do not acquire a semaphore in the S5 shutdown path.
7213
7214Fix ex_digits_needed for 0. (Takayoshi Kochi)
7215
7216Fix sleep/stall code reversal. (Andi Kleen)
7217
7218Revert a change having to do with control method calling
7219semantics.
7220
72212) Linux:
7222
7223acpiphp update (Takayoshi Kochi)
7224
7225Export acpi_disabled for sonypi (Stelian Pop)
7226
7227Mention acpismp=force in config help
7228
7229Re-add acpitable.c and acpismp=force. This improves backwards
7230
7231compatibility and also cleans up the code to a significant degree.
7232
7233Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
7234
7235----------------------------------------
723622 May 2003.  Summary of changes for version 20030522:
7237
72381) ACPI CA Core Subsystem:
7239
7240Found and fixed a reported problem where an AE_NOT_FOUND error
7241occurred occasionally during _BST evaluation.  This turned out to
7242be an Owner ID allocation issue where a called method did not get
7243a new ID assigned to it.  Eventually, (after 64k calls), the Owner
7244ID UINT16 would wraparound so that the ID would be the same as the
7245caller's and the called method would delete the caller's
7246namespace.
7247
7248Implemented extended error reporting for control methods that are
7249aborted due to a run-time exception.  Output includes the exact
7250AML instruction that caused the method abort, a dump of the method
7251locals and arguments at the time of the abort, and a trace of all
7252nested control method calls.
7253
7254Modified the interpreter to allow the creation of buffers of zero
7255length from the AML code. Implemented new code to ensure that no
7256attempt is made to actually allocate a memory buffer (of length
7257zero) - instead, a simple buffer object with a NULL buffer pointer
7258and length zero is created.  A warning is no longer issued when
7259the AML attempts to create a zero-length buffer.
7260
7261Implemented a workaround for the "leading asterisk issue" in
7262_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
7263asterisk is automatically removed if present in any HID, UID, or
7264CID strings.  The iASL compiler will still flag this asterisk as
7265an error, however.
7266
7267Implemented full support for _CID methods that return a package of
7268multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
7269now additionally returns a device _CID list if present.  This
7270required a change to the external interface in order to pass an
7271ACPI_BUFFER object as a parameter since the _CID list is of
7272variable length.
7273
7274Fixed a problem with the new AE_SAME_HANDLER exception where
7275handler initialization code did not know about this exception.
7276
7277Code and Data Size: Current and previous core subsystem library
7278sizes are shown below.  These are the code and data sizes for the
7279acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
7280these values do not include any ACPI driver or OSPM code.  The
7281debug version of the code includes the debug output trace
7282mechanism and has a much larger code and data size.  Note that
7283these values will vary depending on the efficiency of the compiler
7284and the compiler options used during generation.
7285
7286  Previous Release (20030509):
7287    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7288    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7289  Current Release:
7290    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
7291    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
7292
7293
72942) Linux:
7295
7296Fixed a bug in which we would reinitialize the ACPI interrupt
7297after it was already working, thus disabling all ACPI and the IRQs
7298for any other device sharing the interrupt. (Thanks to Stian
7299Jordet)
7300
7301Toshiba driver update (John Belmonte)
7302
7303Return only 0 or 1 for our interrupt handler status (Andrew
7304Morton)
7305
7306
73073) iASL Compiler:
7308
7309Fixed a reported problem where multiple (nested) ElseIf()
7310statements were not handled correctly by the compiler, resulting
7311in incorrect warnings and incorrect AML code.  This was a problem
7312in both the ASL parser and the code generator.
7313
7314
73154) Documentation:
7316
7317Added changes to existing interfaces, new exception codes, and new
7318text concerning reference count object management versus garbage
7319collection.
7320
7321----------------------------------------
732209 May 2003.  Summary of changes for version 20030509.
7323
7324
73251) ACPI CA Core Subsystem:
7326
7327Changed the subsystem initialization sequence to hold off
7328installation of address space handlers until the hardware has been
7329initialized and the system has entered ACPI mode.  This is because
7330the installation of space handlers can cause _REG methods to be
7331run.  Previously, the _REG methods could potentially be run before
7332ACPI mode was enabled.
7333
7334Fixed some memory leak issues related to address space handler and
7335notify handler installation.  There were some problems with the
7336reference count mechanism caused by the fact that the handler
7337objects are shared across several namespace objects.
7338
7339Fixed a reported problem where reference counts within the
7340namespace were not properly updated when named objects created by
7341method execution were deleted.
7342
7343Fixed a reported problem where multiple SSDTs caused a deletion
7344issue during subsystem termination.  Restructured the table data
7345structures to simplify the linked lists and the related code.
7346
7347Fixed a problem where the table ID associated with secondary
7348tables (SSDTs) was not being propagated into the namespace objects
7349created by those tables.  This would only present a problem for
7350tables that are unloaded at run-time, however.
7351
7352Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7353type as the length parameter (instead of UINT32).
7354
7355Solved a long-standing problem where an ALREADY_EXISTS error
7356appears on various systems.  This problem could happen when there
7357are multiple PCI_Config operation regions under a single PCI root
7358bus.  This doesn't happen very frequently, but there are some
7359systems that do this in the ASL.
7360
7361Fixed a reported problem where the internal DeleteNode function
7362was incorrectly handling the case where a namespace node was the
7363first in the parent's child list, and had additional peers (not
7364the only child, but first in the list of children.)
7365
7366Code and Data Size: Current core subsystem library sizes are shown
7367below.  These are the code and data sizes for the acpica.lib
7368produced by the Microsoft Visual C++ 6.0 compiler, and these
7369values do not include any ACPI driver or OSPM code.  The debug
7370version of the code includes the debug output trace mechanism and
7371has a much larger code and data size.  Note that these values will
7372vary depending on the efficiency of the compiler and the compiler
7373options used during generation.
7374
7375  Previous Release
7376    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7377    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7378  Current Release:
7379    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7380    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7381
7382
73832) Linux:
7384
7385Allow ":" in OS override string (Ducrot Bruno)
7386
7387Kobject fix (Greg KH)
7388
7389
73903 iASL Compiler/Disassembler:
7391
7392Fixed a problem in the generation of the C source code files (AML
7393is emitted in C source statements for BIOS inclusion) where the
7394Ascii dump that appears within a C comment at the end of each line
7395could cause a compile time error if the AML sequence happens to
7396have an open comment or close comment sequence embedded.
7397
7398
7399----------------------------------------
740024 April 2003.  Summary of changes for version 20030424.
7401
7402
74031) ACPI CA Core Subsystem:
7404
7405Support for big-endian systems has been implemented.  Most of the
7406support has been invisibly added behind big-endian versions of the
7407ACPI_MOVE_* macros.
7408
7409Fixed a problem in AcpiHwDisableGpeBlock() and
7410AcpiHwClearGpeBlock() where an incorrect offset was passed to the
7411low level hardware write routine.  The offset parameter was
7412actually eliminated from the low level read/write routines because
7413they had become obsolete.
7414
7415Fixed a problem where a handler object was deleted twice during
7416the removal of a fixed event handler.
7417
7418
74192) Linux:
7420
7421A fix for SMP systems with link devices was contributed by
7422
7423Compaq's Dan Zink.
7424
7425(2.5) Return whether we handled the interrupt in our IRQ handler.
7426(Linux ISRs no longer return void, so we can propagate the handler
7427return value from the ACPI CA core back to the OS.)
7428
7429
7430
74313) Documentation:
7432
7433The ACPI CA Programmer Reference has been updated to reflect new
7434interfaces and changes to existing interfaces.
7435
7436----------------------------------------
743728 March 2003.  Summary of changes for version 20030328.
7438
74391) ACPI CA Core Subsystem:
7440
7441The GPE Block Device support has been completed.  New interfaces
7442are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
7443interfaces (enable, disable, clear, getstatus) have been split
7444into separate interfaces for Fixed Events and General Purpose
7445Events (GPEs) in order to support GPE Block Devices properly.
7446
7447Fixed a problem where the error message "Failed to acquire
7448semaphore" would appear during operations on the embedded
7449controller (EC).
7450
7451Code and Data Size: Current core subsystem library sizes are shown
7452below.  These are the code and data sizes for the acpica.lib
7453produced by the Microsoft Visual C++ 6.0 compiler, and these
7454values do not include any ACPI driver or OSPM code.  The debug
7455version of the code includes the debug output trace mechanism and
7456has a much larger code and data size.  Note that these values will
7457vary depending on the efficiency of the compiler and the compiler
7458options used during generation.
7459
7460  Previous Release
7461    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7462    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7463  Current Release:
7464    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7465    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7466
7467
7468----------------------------------------
746928 February 2003.  Summary of changes for version 20030228.
7470
7471
74721) ACPI CA Core Subsystem:
7473
7474The GPE handling and dispatch code has been completely overhauled
7475in preparation for support of GPE Block Devices (ID ACPI0006).
7476This affects internal data structures and code only; there should
7477be no differences visible externally.  One new file has been
7478added, evgpeblk.c
7479
7480The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7481fields that are used to determine the GPE block lengths.  The
7482REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7483structures are ignored.  This is per the ACPI specification but it
7484isn't very clear.  The full 256 Block 0/1 GPEs are now supported
7485(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7486
7487In the SCI interrupt handler, removed the read of the PM1_CONTROL
7488register to look at the SCI_EN bit.  On some machines, this read
7489causes an SMI event and greatly slows down SCI events.  (This may
7490in fact be the cause of slow battery status response on some
7491systems.)
7492
7493Fixed a problem where a store of a NULL string to a package object
7494could cause the premature deletion of the object.  This was seen
7495during execution of the battery _BIF method on some systems,
7496resulting in no battery data being returned.
7497
7498Added AcpiWalkResources interface to simplify parsing of resource
7499lists.
7500
7501Code and Data Size: Current core subsystem library sizes are shown
7502below.  These are the code and data sizes for the acpica.lib
7503produced by the Microsoft Visual C++ 6.0 compiler, and these
7504values do not include any ACPI driver or OSPM code.  The debug
7505version of the code includes the debug output trace mechanism and
7506has a much larger code and data size.  Note that these values will
7507vary depending on the efficiency of the compiler and the compiler
7508options used during generation.
7509
7510  Previous Release
7511    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7512    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7513  Current Release:
7514    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7515    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7516
7517
75182) Linux
7519
7520S3 fixes (Ole Rohne)
7521
7522Update ACPI PHP driver with to use new acpi_walk_resource API
7523(Bjorn Helgaas)
7524
7525Add S4BIOS support (Pavel Machek)
7526
7527Map in entire table before performing checksum (John Stultz)
7528
7529Expand the mem= cmdline to allow the specification of reserved and
7530ACPI DATA blocks (Pavel Machek)
7531
7532Never use ACPI on VISWS
7533
7534Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7535
7536Revert a change that allowed P_BLK lengths to be 4 or 5. This is
7537causing us to think that some systems support C2 when they really
7538don't.
7539
7540Do not count processor objects for non-present CPUs (Thanks to
7541Dominik Brodowski)
7542
7543
75443) iASL Compiler:
7545
7546Fixed a problem where ASL include files could not be found and
7547opened.
7548
7549Added support for the _PDC reserved name.
7550
7551
7552----------------------------------------
755322 January 2003.  Summary of changes for version 20030122.
7554
7555
75561) ACPI CA Core Subsystem:
7557
7558Added a check for constructs of the form:  Store (Local0, Local0)
7559where Local0 is not initialized.  Apparently, some BIOS
7560programmers believe that this is a NOOP.  Since this store doesn't
7561do anything anyway, the new prototype behavior will ignore this
7562error.  This is a case where we can relax the strict checking in
7563the interpreter in the name of compatibility.
7564
7565
75662) Linux
7567
7568The AcpiSrc Source Conversion Utility has been released with the
7569Linux package for the first time.  This is the utility that is
7570used to convert the ACPI CA base source code to the Linux version.
7571
7572(Both) Handle P_BLK lengths shorter than 6 more gracefully
7573
7574(Both) Move more headers to include/acpi, and delete an unused
7575header.
7576
7577(Both) Move drivers/acpi/include directory to include/acpi
7578
7579(Both) Boot functions don't use cmdline, so don't pass it around
7580
7581(Both) Remove include of unused header (Adrian Bunk)
7582
7583(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
7584the
7585former now also includes the latter, acpiphp.h only needs the one,
7586now.
7587
7588(2.5) Make it possible to select method of bios restoring after S3
7589resume. [=> no more ugly ifdefs] (Pavel Machek)
7590
7591(2.5) Make proc write interfaces work (Pavel Machek)
7592
7593(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
7594
7595(2.5) Break out ACPI Perf code into its own module, under cpufreq
7596(Dominik Brodowski)
7597
7598(2.4) S4BIOS support (Ducrot Bruno)
7599
7600(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
7601Visinoni)
7602
7603
76043) iASL Compiler:
7605
7606Added support to disassemble SSDT and PSDTs.
7607
7608Implemented support to obtain SSDTs from the Windows registry if
7609available.
7610
7611
7612----------------------------------------
761309 January 2003.  Summary of changes for version 20030109.
7614
76151) ACPI CA Core Subsystem:
7616
7617Changed the behavior of the internal Buffer-to-String conversion
7618function.  The current ACPI specification states that the contents
7619of the buffer are "converted to a string of two-character
7620hexadecimal numbers, each separated by a space".  Unfortunately,
7621this definition is not backwards compatible with existing ACPI 1.0
7622implementations (although the behavior was not defined in the ACPI
76231.0 specification).  The new behavior simply copies data from the
7624buffer to the string until a null character is found or the end of
7625the buffer is reached.  The new String object is always null
7626terminated.  This problem was seen during the generation of _BIF
7627battery data where incorrect strings were returned for battery
7628type, etc.  This will also require an errata to the ACPI
7629specification.
7630
7631Renamed all instances of NATIVE_UINT and NATIVE_INT to
7632ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
7633
7634Copyright in all module headers (both Linux and non-Linux) has be
7635updated to 2003.
7636
7637Code and Data Size: Current core subsystem library sizes are shown
7638below.  These are the code and data sizes for the acpica.lib
7639produced by the Microsoft Visual C++ 6.0 compiler, and these
7640values do not include any ACPI driver or OSPM code.  The debug
7641version of the code includes the debug output trace mechanism and
7642has a much larger code and data size.  Note that these values will
7643vary depending on the efficiency of the compiler and the compiler
7644options used during generation.
7645
7646  Previous Release
7647    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7648    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7649  Current Release:
7650    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7651    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7652
7653
76542) Linux
7655
7656Fixed an oops on module insertion/removal (Matthew Tippett)
7657
7658(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
7659
7660(2.5) Replace pr_debug (Randy Dunlap)
7661
7662(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
7663
7664(Both) Eliminate spawning of thread from timer callback, in favor
7665of schedule_work()
7666
7667(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
7668
7669(Both) Added define for Fixed Function HW region (Matthew Wilcox)
7670
7671(Both) Add missing statics to button.c (Pavel Machek)
7672
7673Several changes have been made to the source code translation
7674utility that generates the Linux Code in order to make the code
7675more "Linux-like":
7676
7677All typedefs on structs and unions have been removed in keeping
7678with the Linux coding style.
7679
7680Removed the non-Linux SourceSafe module revision number from each
7681module header.
7682
7683Completed major overhaul of symbols to be lowercased for linux.
7684Doubled the number of symbols that are lowercased.
7685
7686Fixed a problem where identifiers within procedure headers and
7687within quotes were not fully lower cased (they were left with a
7688starting capital.)
7689
7690Some C macros whose only purpose is to allow the generation of 16-
7691bit code are now completely removed in the Linux code, increasing
7692readability and maintainability.
7693
7694----------------------------------------
7695
769612 December 2002.  Summary of changes for version 20021212.
7697
7698
76991) ACPI CA Core Subsystem:
7700
7701Fixed a problem where the creation of a zero-length AML Buffer
7702would cause a fault.
7703
7704Fixed a problem where a Buffer object that pointed to a static AML
7705buffer (in an ACPI table) could inadvertently be deleted, causing
7706memory corruption.
7707
7708Fixed a problem where a user buffer (passed in to the external
7709ACPI CA interfaces) could be overwritten if the buffer was too
7710small to complete the operation, causing memory corruption.
7711
7712Fixed a problem in the Buffer-to-String conversion code where a
7713string of length one was always returned, regardless of the size
7714of the input Buffer object.
7715
7716Removed the NATIVE_CHAR data type across the entire source due to
7717lack of need and lack of consistent use.
7718
7719Code and Data Size: Current core subsystem library sizes are shown
7720below.  These are the code and data sizes for the acpica.lib
7721produced by the Microsoft Visual C++ 6.0 compiler, and these
7722values do not include any ACPI driver or OSPM code.  The debug
7723version of the code includes the debug output trace mechanism and
7724has a much larger code and data size.  Note that these values will
7725vary depending on the efficiency of the compiler and the compiler
7726options used during generation.
7727
7728  Previous Release
7729    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7730    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7731  Current Release:
7732    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7733    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7734
7735
7736----------------------------------------
773705 December 2002.  Summary of changes for version 20021205.
7738
77391) ACPI CA Core Subsystem:
7740
7741Fixed a problem where a store to a String or Buffer object could
7742cause corruption of the DSDT if the object type being stored was
7743the same as the target object type and the length of the object
7744being stored was equal to or smaller than the original (existing)
7745target object.  This was seen to cause corruption of battery _BIF
7746buffers if the _BIF method modified the buffer on the fly.
7747
7748Fixed a problem where an internal error was generated if a control
7749method invocation was used in an OperationRegion, Buffer, or
7750Package declaration.  This was caused by the deferred parsing of
7751the control method and thus the deferred creation of the internal
7752method object.  The solution to this problem was to create the
7753internal method object at the moment the method is encountered in
7754the first pass - so that subsequent references to the method will
7755able to obtain the required parameter count and thus properly
7756parse the method invocation.  This problem presented itself as an
7757AE_AML_INTERNAL during the pass 1 parse phase during table load.
7758
7759Fixed a problem where the internal String object copy routine did
7760not always allocate sufficient memory for the target String object
7761and caused memory corruption.  This problem was seen to cause
7762"Allocation already present in list!" errors as memory allocation
7763became corrupted.
7764
7765Implemented a new function for the evaluation of namespace objects
7766that allows the specification of the allowable return object
7767types.  This simplifies a lot of code that checks for a return
7768object of one or more specific objects returned from the
7769evaluation (such as _STA, etc.)  This may become and external
7770function if it would be useful to ACPI-related drivers.
7771
7772Completed another round of prefixing #defines with "ACPI_" for
7773clarity.
7774
7775Completed additional code restructuring to allow more modular
7776linking for iASL compiler and AcpiExec.  Several files were split
7777creating new files.  New files:  nsparse.c dsinit.c evgpe.c
7778
7779Implemented an abort mechanism to terminate an executing control
7780method via the AML debugger.  This feature is useful for debugging
7781control methods that depend (wait) for specific hardware
7782responses.
7783
7784Code and Data Size: Current core subsystem library sizes are shown
7785below.  These are the code and data sizes for the acpica.lib
7786produced by the Microsoft Visual C++ 6.0 compiler, and these
7787values do not include any ACPI driver or OSPM code.  The debug
7788version of the code includes the debug output trace mechanism and
7789has a much larger code and data size.  Note that these values will
7790vary depending on the efficiency of the compiler and the compiler
7791options used during generation.
7792
7793  Previous Release
7794    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7795    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7796  Current Release:
7797    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7798    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7799
7800
78012) iASL Compiler/Disassembler
7802
7803Fixed a compiler code generation problem for "Interrupt" Resource
7804Descriptors.  If specified in the ASL, the optional "Resource
7805Source Index" and "Resource Source" fields were not inserted into
7806the correct location within the AML resource descriptor, creating
7807an invalid descriptor.
7808
7809Fixed a disassembler problem for "Interrupt" resource descriptors.
7810The optional "Resource Source Index" and "Resource Source" fields
7811were ignored.
7812
7813
7814----------------------------------------
781522 November 2002.  Summary of changes for version 20021122.
7816
7817
78181) ACPI CA Core Subsystem:
7819
7820Fixed a reported problem where an object stored to a Method Local
7821or Arg was not copied to a new object during the store - the
7822object pointer was simply copied to the Local/Arg.  This caused
7823all subsequent operations on the Local/Arg to also affect the
7824original source of the store operation.
7825
7826Fixed a problem where a store operation to a Method Local or Arg
7827was not completed properly if the Local/Arg contained a reference
7828(from RefOf) to a named field.  The general-purpose store-to-
7829namespace-node code is now used so that this case is handled
7830automatically.
7831
7832Fixed a problem where the internal object copy routine would cause
7833a protection fault if the object being copied was a Package and
7834contained either 1) a NULL package element or 2) a nested sub-
7835package.
7836
7837Fixed a problem with the GPE initialization that resulted from an
7838ambiguity in the ACPI specification.  One section of the
7839specification states that both the address and length of the GPE
7840block must be zero if the block is not supported.  Another section
7841implies that only the address need be zero if the block is not
7842supported.  The code has been changed so that both the address and
7843the length must be non-zero to indicate a valid GPE block (i.e.,
7844if either the address or the length is zero, the GPE block is
7845invalid.)
7846
7847Code and Data Size: Current core subsystem library sizes are shown
7848below.  These are the code and data sizes for the acpica.lib
7849produced by the Microsoft Visual C++ 6.0 compiler, and these
7850values do not include any ACPI driver or OSPM code.  The debug
7851version of the code includes the debug output trace mechanism and
7852has a much larger code and data size.  Note that these values will
7853vary depending on the efficiency of the compiler and the compiler
7854options used during generation.
7855
7856  Previous Release
7857    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7858    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7859  Current Release:
7860    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7861    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7862
7863
78642) Linux
7865
7866Cleaned up EC driver. Exported an external EC read/write
7867interface. By going through this, other drivers (most notably
7868sonypi) will be able to serialize access to the EC.
7869
7870
78713) iASL Compiler/Disassembler
7872
7873Implemented support to optionally generate include files for both
7874ASM and C (the -i switch).  This simplifies BIOS development by
7875automatically creating include files that contain external
7876declarations for the symbols that are created within the
7877
7878(optionally generated) ASM and C AML source files.
7879
7880
7881----------------------------------------
788215 November 2002.  Summary of changes for version 20021115.
7883
78841) ACPI CA Core Subsystem:
7885
7886Fixed a memory leak problem where an error during resolution of
7887
7888method arguments during a method invocation from another method
7889failed to cleanup properly by deleting all successfully resolved
7890argument objects.
7891
7892Fixed a problem where the target of the Index() operator was not
7893correctly constructed if the source object was a package.  This
7894problem has not been detected because the use of a target operand
7895with Index() is very rare.
7896
7897Fixed a problem with the Index() operator where an attempt was
7898made to delete the operand objects twice.
7899
7900Fixed a problem where an attempt was made to delete an operand
7901twice during execution of the CondRefOf() operator if the target
7902did not exist.
7903
7904Implemented the first of perhaps several internal create object
7905functions that create and initialize a specific object type.  This
7906consolidates duplicated code wherever the object is created, thus
7907shrinking the size of the subsystem.
7908
7909Implemented improved debug/error messages for errors that occur
7910during nested method invocations.  All executing method pathnames
7911are displayed (with the error) as the call stack is unwound - thus
7912simplifying debug.
7913
7914Fixed a problem introduced in the 10/02 release that caused
7915premature deletion of a buffer object if a buffer was used as an
7916ASL operand where an integer operand is required (Thus causing an
7917implicit object conversion from Buffer to Integer.)  The change in
7918the 10/02 release was attempting to fix a memory leak (albeit
7919incorrectly.)
7920
7921Code and Data Size: Current core subsystem library sizes are shown
7922below.  These are the code and data sizes for the acpica.lib
7923produced by the Microsoft Visual C++ 6.0 compiler, and these
7924values do not include any ACPI driver or OSPM code.  The debug
7925version of the code includes the debug output trace mechanism and
7926has a much larger code and data size.  Note that these values will
7927vary depending on the efficiency of the compiler and the compiler
7928options used during generation.
7929
7930  Previous Release
7931    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7932    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7933  Current Release:
7934    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7935    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7936
7937
79382) Linux
7939
7940Changed the implementation of the ACPI semaphores to use down()
7941instead of down_interruptable().  It is important that the
7942execution of ACPI control methods not be interrupted by signals.
7943Methods must run to completion, or the system may be left in an
7944unknown/unstable state.
7945
7946Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
7947(Shawn Starr)
7948
7949
79503) iASL Compiler/Disassembler
7951
7952
7953Changed the default location of output files.  All output files
7954are now placed in the current directory by default instead of in
7955the directory of the source file.  This change may affect some
7956existing makefiles, but it brings the behavior of the compiler in
7957line with other similar tools.  The location of the output files
7958can be overridden with the -p command line switch.
7959
7960
7961----------------------------------------
796211 November 2002.  Summary of changes for version 20021111.
7963
7964
79650) ACPI Specification 2.0B is released and is now available at:
7966http://www.acpi.info/index.html
7967
7968
79691) ACPI CA Core Subsystem:
7970
7971Implemented support for the ACPI 2.0 SMBus Operation Regions.
7972This includes the early detection and handoff of the request to
7973the SMBus region handler (avoiding all of the complex field
7974support code), and support for the bidirectional return packet
7975from an SMBus write operation.  This paves the way for the
7976development of SMBus drivers in each host operating system.
7977
7978Fixed a problem where the semaphore WAIT_FOREVER constant was
7979defined as 32 bits, but must be 16 bits according to the ACPI
7980specification.  This had the side effect of causing ASL
7981Mutex/Event timeouts even though the ASL code requested a wait
7982forever.  Changed all internal references to the ACPI timeout
7983parameter to 16 bits to prevent future problems.  Changed the name
7984of WAIT_FOREVER to ACPI_WAIT_FOREVER.
7985
7986Code and Data Size: Current core subsystem library sizes are shown
7987below.  These are the code and data sizes for the acpica.lib
7988produced by the Microsoft Visual C++ 6.0 compiler, and these
7989values do not include any ACPI driver or OSPM code.  The debug
7990version of the code includes the debug output trace mechanism and
7991has a much larger code and data size.  Note that these values will
7992vary depending on the efficiency of the compiler and the compiler
7993options used during generation.
7994
7995  Previous Release
7996    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7997    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7998  Current Release:
7999    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
8000    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
8001
8002
80032) Linux
8004
8005Module loading/unloading fixes (John Cagle)
8006
8007
80083) iASL Compiler/Disassembler
8009
8010Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
8011
8012Implemented support for the disassembly of all SMBus protocol
8013keywords (SMBQuick, SMBWord, etc.)
8014
8015----------------------------------------
801601 November 2002.  Summary of changes for version 20021101.
8017
8018
80191) ACPI CA Core Subsystem:
8020
8021Fixed a problem where platforms that have a GPE1 block but no GPE0
8022block were not handled correctly.  This resulted in a "GPE
8023overlap" error message.  GPE0 is no longer required.
8024
8025Removed code added in the previous release that inserted nodes
8026into the namespace in alphabetical order.  This caused some side-
8027effects on various machines.  The root cause of the problem is
8028still under investigation since in theory, the internal ordering
8029of the namespace nodes should not matter.
8030
8031
8032Enhanced error reporting for the case where a named object is not
8033found during control method execution.  The full ACPI namepath
8034(name reference) of the object that was not found is displayed in
8035this case.
8036
8037Note: as a result of the overhaul of the namespace object types in
8038the previous release, the namespace nodes for the predefined
8039scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
8040instead of ACPI_TYPE_ANY.  This simplifies the namespace
8041management code but may affect code that walks the namespace tree
8042looking for specific object types.
8043
8044Code and Data Size: Current core subsystem library sizes are shown
8045below.  These are the code and data sizes for the acpica.lib
8046produced by the Microsoft Visual C++ 6.0 compiler, and these
8047values do not include any ACPI driver or OSPM code.  The debug
8048version of the code includes the debug output trace mechanism and
8049has a much larger code and data size.  Note that these values will
8050vary depending on the efficiency of the compiler and the compiler
8051options used during generation.
8052
8053  Previous Release
8054    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8055    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8056  Current Release:
8057    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
8058    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
8059
8060
80612) Linux
8062
8063Fixed a problem introduced in the previous release where the
8064Processor and Thermal objects were not recognized and installed in
8065/proc.  This was related to the scope type change described above.
8066
8067
80683) iASL Compiler/Disassembler
8069
8070Implemented the -g option to get all of the required ACPI tables
8071from the registry and save them to files (Windows version of the
8072compiler only.)  The required tables are the FADT, FACS, and DSDT.
8073
8074Added ACPI table checksum validation during table disassembly in
8075order to catch corrupted tables.
8076
8077
8078----------------------------------------
807922 October 2002.  Summary of changes for version 20021022.
8080
80811) ACPI CA Core Subsystem:
8082
8083Implemented a restriction on the Scope operator that the target
8084must already exist in the namespace at the time the operator is
8085encountered (during table load or method execution).  In other
8086words, forward references are not allowed and Scope() cannot
8087create a new object. This changes the previous behavior where the
8088interpreter would create the name if not found.  This new behavior
8089correctly enables the search-to-root algorithm during namespace
8090lookup of the target name.  Because of this upsearch, this fixes
8091the known Compaq _SB_.OKEC problem and makes both the AML
8092interpreter and iASL compiler compatible with other ACPI
8093implementations.
8094
8095Completed a major overhaul of the internal ACPI object types for
8096the ACPI Namespace and the associated operand objects.  Many of
8097these types had become obsolete with the introduction of the two-
8098pass namespace load.  This cleanup simplifies the code and makes
8099the entire namespace load mechanism much clearer and easier to
8100understand.
8101
8102Improved debug output for tracking scope opening/closing to help
8103diagnose scoping issues.  The old scope name as well as the new
8104scope name are displayed.  Also improved error messages for
8105problems with ASL Mutex objects and error messages for GPE
8106problems.
8107
8108Cleaned up the namespace dump code, removed obsolete code.
8109
8110All string output (for all namespace/object dumps) now uses the
8111common ACPI string output procedure which handles escapes properly
8112and does not emit non-printable characters.
8113
8114Fixed some issues with constants in the 64-bit version of the
8115local C library (utclib.c)
8116
8117
81182) Linux
8119
8120EC Driver:  No longer attempts to acquire the Global Lock at
8121interrupt level.
8122
8123
81243) iASL Compiler/Disassembler
8125
8126Implemented ACPI 2.0B grammar change that disallows all Type 1 and
81272 opcodes outside of a control method.  This means that the
8128"executable" operators (versus the "namespace" operators) cannot
8129be used at the table level; they can only be used within a control
8130method.
8131
8132Implemented the restriction on the Scope() operator where the
8133target must already exist in the namespace at the time the
8134operator is encountered (during ASL compilation). In other words,
8135forward references are not allowed and Scope() cannot create a new
8136object.  This makes the iASL compiler compatible with other ACPI
8137implementations and makes the Scope() implementation adhere to the
8138ACPI specification.
8139
8140Fixed a problem where namepath optimization for the Alias operator
8141was optimizing the wrong path (of the two namepaths.)  This caused
8142a "Missing alias link" error message.
8143
8144Fixed a problem where an "unknown reserved name" warning could be
8145incorrectly generated for names like "_SB" when the trailing
8146underscore is not used in the original ASL.
8147
8148Fixed a problem where the reserved name check did not handle
8149NamePaths with multiple NameSegs correctly.  The first nameseg of
8150the NamePath was examined instead of the last NameSeg.
8151
8152
8153----------------------------------------
8154
815502 October 2002.  Summary of changes for this release.
8156
8157
81581) ACPI CA Core Subsystem version 20021002:
8159
8160Fixed a problem where a store/copy of a string to an existing
8161string did not always set the string length properly in the String
8162object.
8163
8164Fixed a reported problem with the ToString operator where the
8165behavior was identical to the ToHexString operator instead of just
8166simply converting a raw buffer to a string data type.
8167
8168Fixed a problem where CopyObject and the other "explicit"
8169conversion operators were not updating the internal namespace node
8170type as part of the store operation.
8171
8172Fixed a memory leak during implicit source operand conversion
8173where the original object was not deleted if it was converted to a
8174new object of a different type.
8175
8176Enhanced error messages for all problems associated with namespace
8177lookups.  Common procedure generates and prints the lookup name as
8178well as the formatted status.
8179
8180Completed implementation of a new design for the Alias support
8181within the namespace.  The existing design did not handle the case
8182where a new object was assigned to one of the two names due to the
8183use of an explicit conversion operator, resulting in the two names
8184pointing to two different objects.  The new design simply points
8185the Alias name to the original name node - not to the object.
8186This results in a level of indirection that must be handled in the
8187name resolution mechanism.
8188
8189Code and Data Size: Current core subsystem library sizes are shown
8190below.  These are the code and data sizes for the acpica.lib
8191produced by the Microsoft Visual C++ 6.0 compiler, and these
8192values do not include any ACPI driver or OSPM code.  The debug
8193version of the code includes the debug output trace mechanism and
8194has a larger code and data size.  Note that these values will vary
8195depending on the efficiency of the compiler and the compiler
8196options used during generation.
8197
8198  Previous Release
8199    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8200    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8201  Current Release:
8202    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
8203    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
8204
8205
82062) Linux
8207
8208Initialize thermal driver's timer before it is used. (Knut
8209Neumann)
8210
8211Allow handling negative celsius values. (Kochi Takayoshi)
8212
8213Fix thermal management and make trip points. R/W (Pavel Machek)
8214
8215Fix /proc/acpi/sleep. (P. Christeas)
8216
8217IA64 fixes. (David Mosberger)
8218
8219Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
8220
8221Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
8222Brodowski)
8223
8224
82253) iASL Compiler/Disassembler
8226
8227Clarified some warning/error messages.
8228
8229
8230----------------------------------------
823118 September 2002.  Summary of changes for this release.
8232
8233
82341) ACPI CA Core Subsystem version 20020918:
8235
8236Fixed a reported problem with reference chaining (via the Index()
8237and RefOf() operators) in the ObjectType() and SizeOf() operators.
8238The definition of these operators includes the dereferencing of
8239all chained references to return information on the base object.
8240
8241Fixed a problem with stores to indexed package elements - the
8242existing code would not complete the store if an "implicit
8243conversion" was not performed.  In other words, if the existing
8244object (package element) was to be replaced completely, the code
8245didn't handle this case.
8246
8247Relaxed typechecking on the ASL "Scope" operator to allow the
8248target name to refer to an object of type Integer, String, or
8249Buffer, in addition to the scoping object types (Device,
8250predefined Scopes, Processor, PowerResource, and ThermalZone.)
8251This allows existing AML code that has workarounds for a bug in
8252Windows to function properly.  A warning is issued, however.  This
8253affects both the AML interpreter and the iASL compiler. Below is
8254an example of this type of ASL code:
8255
8256      Name(DEB,0x00)
8257      Scope(DEB)
8258      {
8259
8260Fixed some reported problems with 64-bit integer support in the
8261local implementation of C library functions (clib.c)
8262
8263
82642) Linux
8265
8266Use ACPI fix map region instead of IOAPIC region, since it is
8267undefined in non-SMP.
8268
8269Ensure that the SCI has the proper polarity and trigger, even on
8270systems that do not have an interrupt override entry in the MADT.
8271
82722.5 big driver reorganization (Pat Mochel)
8273
8274Use early table mapping code from acpitable.c (Andi Kleen)
8275
8276New blacklist entries (Andi Kleen)
8277
8278Blacklist improvements. Split blacklist code out into a separate
8279file. Move checking the blacklist to very early. Previously, we
8280would use ACPI tables, and then halfway through init, check the
8281blacklist -- too late. Now, it's early enough to completely fall-
8282back to non-ACPI.
8283
8284
82853) iASL Compiler/Disassembler version 20020918:
8286
8287Fixed a problem where the typechecking code didn't know that an
8288alias could point to a method.  In other words, aliases were not
8289being dereferenced during typechecking.
8290
8291
8292----------------------------------------
829329 August 2002.  Summary of changes for this release.
8294
82951) ACPI CA Core Subsystem Version 20020829:
8296
8297If the target of a Scope() operator already exists, it must be an
8298object type that actually opens a scope -- such as a Device,
8299Method, Scope, etc.  This is a fatal runtime error.  Similar error
8300check has been added to the iASL compiler also.
8301
8302Tightened up the namespace load to disallow multiple names in the
8303same scope.  This previously was allowed if both objects were of
8304the same type.  (i.e., a lookup was the same as entering a new
8305name).
8306
8307
83082) Linux
8309
8310Ensure that the ACPI interrupt has the proper trigger and
8311polarity.
8312
8313local_irq_disable is extraneous. (Matthew Wilcox)
8314
8315Make "acpi=off" actually do what it says, and not use the ACPI
8316interpreter *or* the tables.
8317
8318Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
8319Takayoshi)
8320
8321
83223) iASL Compiler/Disassembler  Version 20020829:
8323
8324Implemented namepath optimization for name declarations.  For
8325example, a declaration like "Method (\_SB_.ABCD)" would get
8326optimized to "Method (ABCD)" if the declaration is within the
8327\_SB_ scope.  This optimization is in addition to the named
8328reference path optimization first released in the previous
8329version. This would seem to complete all possible optimizations
8330for namepaths within the ASL/AML.
8331
8332If the target of a Scope() operator already exists, it must be an
8333object type that actually opens a scope -- such as a Device,
8334Method, Scope, etc.
8335
8336Implemented a check and warning for unreachable code in the same
8337block below a Return() statement.
8338
8339Fixed a problem where the listing file was not generated if the
8340compiler aborted if the maximum error count was exceeded (200).
8341
8342Fixed a problem where the typechecking of method return values was
8343broken.  This includes the check for a return value when the
8344method is invoked as a TermArg (a return value is expected.)
8345
8346Fixed a reported problem where EOF conditions during a quoted
8347string or comment caused a fault.
8348
8349
8350----------------------------------------
835115 August 2002.  Summary of changes for this release.
8352
83531) ACPI CA Core Subsystem Version 20020815:
8354
8355Fixed a reported problem where a Store to a method argument that
8356contains a reference did not perform the indirect store correctly.
8357This problem was created during the conversion to the new
8358reference object model - the indirect store to a method argument
8359code was not updated to reflect the new model.
8360
8361Reworked the ACPI mode change code to better conform to ACPI 2.0,
8362handle corner cases, and improve code legibility (Kochi Takayoshi)
8363
8364Fixed a problem with the pathname parsing for the carat (^)
8365prefix.  The heavy use of the carat operator by the new namepath
8366optimization in the iASL compiler uncovered a problem with the AML
8367interpreter handling of this prefix.  In the case where one or
8368more carats precede a single nameseg, the nameseg was treated as
8369standalone and the search rule (to root) was inadvertently
8370applied.  This could cause both the iASL compiler and the
8371interpreter to find the wrong object or to miss the error that
8372should occur if the object does not exist at that exact pathname.
8373
8374Found and fixed the problem where the HP Pavilion DSDT would not
8375load.  This was a relatively minor tweak to the table loading code
8376(a problem caused by the unexpected encounter with a method
8377invocation not within a control method), but it does not solve the
8378overall issue of the execution of AML code at the table level.
8379This investigation is still ongoing.
8380
8381Code and Data Size: Current core subsystem library sizes are shown
8382below.  These are the code and data sizes for the acpica.lib
8383produced by the Microsoft Visual C++ 6.0 compiler, and these
8384values do not include any ACPI driver or OSPM code.  The debug
8385version of the code includes the debug output trace mechanism and
8386has a larger code and data size.  Note that these values will vary
8387depending on the efficiency of the compiler and the compiler
8388options used during generation.
8389
8390  Previous Release
8391    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8392    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8393  Current Release:
8394    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8395    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8396
8397
83982) Linux
8399
8400Remove redundant slab.h include (Brad Hards)
8401
8402Fix several bugs in thermal.c (Herbert Nachtnebel)
8403
8404Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
8405
8406Change acpi_system_suspend to use updated irq functions (Pavel
8407Machek)
8408
8409Export acpi_get_firmware_table (Matthew Wilcox)
8410
8411Use proper root proc entry for ACPI (Kochi Takayoshi)
8412
8413Fix early-boot table parsing (Bjorn Helgaas)
8414
8415
84163) iASL Compiler/Disassembler
8417
8418Reworked the compiler options to make them more consistent and to
8419use two-letter options where appropriate.  We were running out of
8420sensible letters.   This may break some makefiles, so check the
8421current options list by invoking the compiler with no parameters.
8422
8423Completed the design and implementation of the ASL namepath
8424optimization option for the compiler.  This option optimizes all
8425references to named objects to the shortest possible path.  The
8426first attempt tries to utilize a single nameseg (4 characters) and
8427the "search-to-root" algorithm used by the interpreter.  If that
8428cannot be used (because either the name is not in the search path
8429or there is a conflict with another object with the same name),
8430the pathname is optimized using the carat prefix (usually a
8431shorter string than specifying the entire path from the root.)
8432
8433Implemented support to obtain the DSDT from the Windows registry
8434(when the disassembly option is specified with no input file).
8435Added this code as the implementation for AcpiOsTableOverride in
8436the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
8437utility) to scan memory for the DSDT to the AcpiOsTableOverride
8438function in the DOS OSL to make the disassembler truly OS
8439independent.
8440
8441Implemented a new option to disassemble and compile in one step.
8442When used without an input filename, this option will grab the
8443DSDT from the local machine, disassemble it, and compile it in one
8444step.
8445
8446Added a warning message for invalid escapes (a backslash followed
8447by any character other than the allowable escapes).  This catches
8448the quoted string error "\_SB_" (which should be "\\_SB_" ).
8449
8450Also, there are numerous instances in the ACPI specification where
8451this error occurs.
8452
8453Added a compiler option to disable all optimizations.  This is
8454basically the "compatibility mode" because by using this option,
8455the AML code will come out exactly the same as other ASL
8456compilers.
8457
8458Added error messages for incorrectly ordered dependent resource
8459functions.  This includes: missing EndDependentFn macro at end of
8460dependent resource list, nested dependent function macros (both
8461start and end), and missing StartDependentFn macro.  These are
8462common errors that should be caught at compile time.
8463
8464Implemented _OSI support for the disassembler and compiler.  _OSI
8465must be included in the namespace for proper disassembly (because
8466the disassembler must know the number of arguments.)
8467
8468Added an "optimization" message type that is optional (off by
8469default).  This message is used for all optimizations - including
8470constant folding, integer optimization, and namepath optimization.
8471
8472----------------------------------------
847325 July 2002.  Summary of changes for this release.
8474
8475
84761) ACPI CA Core Subsystem Version 20020725:
8477
8478The AML Disassembler has been enhanced to produce compilable ASL
8479code and has been integrated into the iASL compiler (see below) as
8480well as the single-step disassembly for the AML debugger and the
8481disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
8482resource templates and macros are fully supported.  The
8483disassembler has been tested on over 30 different AML files,
8484producing identical AML when the resulting disassembled ASL file
8485is recompiled with the same ASL compiler.
8486
8487Modified the Resource Manager to allow zero interrupts and zero
8488dma channels during the GetCurrentResources call.  This was
8489causing problems on some platforms.
8490
8491Added the AcpiOsRedirectOutput interface to the OSL to simplify
8492output redirection for the AcpiOsPrintf and AcpiOsVprintf
8493interfaces.
8494
8495Code and Data Size: Current core subsystem library sizes are shown
8496below.  These are the code and data sizes for the acpica.lib
8497produced by the Microsoft Visual C++ 6.0 compiler, and these
8498values do not include any ACPI driver or OSPM code.  The debug
8499version of the code includes the debug output trace mechanism and
8500has a larger code and data size.  Note that these values will vary
8501depending on the efficiency of the compiler and the compiler
8502options used during generation.
8503
8504  Previous Release
8505    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8506    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8507  Current Release:
8508    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8509    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8510
8511
85122) Linux
8513
8514Fixed a panic in the EC driver (Dominik Brodowski)
8515
8516Implemented checksum of the R/XSDT itself during Linux table scan
8517(Richard Schaal)
8518
8519
85203) iASL compiler
8521
8522The AML disassembler is integrated into the compiler.  The "-d"
8523option invokes the disassembler  to completely disassemble an
8524input AML file, producing as output a text ASL file with the
8525extension ".dsl" (to avoid name collisions with existing .asl
8526source files.)  A future enhancement will allow the disassembler
8527to obtain the BIOS DSDT from the registry under Windows.
8528
8529Fixed a problem with the VendorShort and VendorLong resource
8530descriptors where an invalid AML sequence was created.
8531
8532Implemented a fix for BufferData term in the ASL parser.  It was
8533inadvertently defined twice, allowing invalid syntax to pass and
8534causing reduction conflicts.
8535
8536Fixed a problem where the Ones opcode could get converted to a
8537value of zero if "Ones" was used where a byte, word or dword value
8538was expected.  The 64-bit value is now truncated to the correct
8539size with the correct value.
8540
8541
8542
8543----------------------------------------
854402 July 2002.  Summary of changes for this release.
8545
8546
85471) ACPI CA Core Subsystem Version 20020702:
8548
8549The Table Manager code has been restructured to add several new
8550features.  Tables that are not required by the core subsystem
8551(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8552validated in any way and are returned from AcpiGetFirmwareTable if
8553requested.  The AcpiOsTableOverride interface is now called for
8554each table that is loaded by the subsystem in order to allow the
8555host to override any table it chooses.  Previously, only the DSDT
8556could be overridden.  Added one new files, tbrsdt.c and
8557tbgetall.c.
8558
8559Fixed a problem with the conversion of internal package objects to
8560external objects (when a package is returned from a control
8561method.)  The return buffer length was set to zero instead of the
8562proper length of the package object.
8563
8564Fixed a reported problem with the use of the RefOf and DeRefOf
8565operators when passing reference arguments to control methods.  A
8566new type of Reference object is used internally for references
8567produced by the RefOf operator.
8568
8569Added additional error messages in the Resource Manager to explain
8570AE_BAD_DATA errors when they occur during resource parsing.
8571
8572Split the AcpiEnableSubsystem into two primitives to enable a
8573finer granularity initialization sequence.  These two calls should
8574be called in this order: AcpiEnableSubsystem (flags),
8575AcpiInitializeObjects (flags).  The flags parameter remains the
8576same.
8577
8578
85792) Linux
8580
8581Updated the ACPI utilities module to understand the new style of
8582fully resolved package objects that are now returned from the core
8583subsystem.  This eliminates errors of the form:
8584
8585    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
8586    acpi_utils-0430 [145] acpi_evaluate_reference:
8587        Invalid element in package (not a device reference)
8588
8589The method evaluation utility uses the new buffer allocation
8590scheme instead of calling AcpiEvaluate Object twice.
8591
8592Added support for ECDT. This allows the use of the Embedded
8593
8594Controller before the namespace has been fully initialized, which
8595is necessary for ACPI 2.0 support, and for some laptops to
8596initialize properly. (Laptops using ECDT are still rare, so only
8597limited testing was performed of the added functionality.)
8598
8599Fixed memory leaks in the EC driver.
8600
8601Eliminated a brittle code structure in acpi_bus_init().
8602
8603Eliminated the acpi_evaluate() helper function in utils.c. It is
8604no longer needed since acpi_evaluate_object can optionally
8605allocate memory for the return object.
8606
8607Implemented fix for keyboard hang when getting battery readings on
8608some systems (Stephen White)
8609
8610PCI IRQ routing update (Dominik Brodowski)
8611
8612Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
8613support
8614
8615----------------------------------------
861611 June 2002.  Summary of changes for this release.
8617
8618
86191) ACPI CA Core Subsystem Version 20020611:
8620
8621Fixed a reported problem where constants such as Zero and One
8622appearing within _PRT packages were not handled correctly within
8623the resource manager code.  Originally reported against the ASL
8624compiler because the code generator now optimizes integers to
8625their minimal AML representation (i.e. AML constants if possible.)
8626The _PRT code now handles all AML constant opcodes correctly
8627(Zero, One, Ones, Revision).
8628
8629Fixed a problem with the Concatenate operator in the AML
8630interpreter where a buffer result object was incorrectly marked as
8631not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
8632
8633All package sub-objects are now fully resolved before they are
8634returned from the external ACPI interfaces.  This means that name
8635strings are resolved to object handles, and constant operators
8636(Zero, One, Ones, Revision) are resolved to Integers.
8637
8638Implemented immediate resolution of the AML Constant opcodes
8639(Zero, One, Ones, Revision) to Integer objects upon detection
8640within the AML stream. This has simplified and reduced the
8641generated code size of the subsystem by eliminating about 10
8642switch statements for these constants (which previously were
8643contained in Reference objects.)  The complicating issues are that
8644the Zero opcode is used as a "placeholder" for unspecified
8645optional target operands and stores to constants are defined to be
8646no-ops.
8647
8648Code and Data Size: Current core subsystem library sizes are shown
8649below. These are the code and data sizes for the acpica.lib
8650produced by the Microsoft Visual C++ 6.0 compiler, and these
8651values do not include any ACPI driver or OSPM code.  The debug
8652version of the code includes the debug output trace mechanism and
8653has a larger code and data size.  Note that these values will vary
8654depending on the efficiency of the compiler and the compiler
8655options used during generation.
8656
8657  Previous Release
8658    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8659    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8660  Current Release:
8661    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8662    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8663
8664
86652) Linux
8666
8667
8668Added preliminary support for obtaining _TRA data for PCI root
8669bridges (Bjorn Helgaas).
8670
8671
86723) iASL Compiler Version X2046:
8673
8674Fixed a problem where the "_DDN" reserved name was defined to be a
8675control method with one argument.  There are no arguments, and
8676_DDN does not have to be a control method.
8677
8678Fixed a problem with the Linux version of the compiler where the
8679source lines printed with error messages were the wrong lines.
8680This turned out to be the "LF versus CR/LF" difference between
8681Windows and Unix.  This appears to be the longstanding issue
8682concerning listing output and error messages.
8683
8684Fixed a problem with the Linux version of compiler where opcode
8685names within error messages were wrong.  This was caused by a
8686slight difference in the output of the Flex tool on Linux versus
8687Windows.
8688
8689Fixed a problem with the Linux compiler where the hex output files
8690contained some garbage data caused by an internal buffer overrun.
8691
8692
8693----------------------------------------
869417 May 2002.  Summary of changes for this release.
8695
8696
86971) ACPI CA Core Subsystem Version 20020517:
8698
8699Implemented a workaround to an BIOS bug discovered on the HP
8700OmniBook where the FADT revision number and the table size are
8701inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
8702behavior is to fallback to using only the ACPI 1.0 fields of the
8703FADT if the table is too small to be a ACPI 2.0 table as claimed
8704by the revision number.  Although this is a BIOS bug, this is a
8705case where the workaround is simple enough and with no side
8706effects, so it seemed prudent to add it.  A warning message is
8707issued, however.
8708
8709Implemented minimum size checks for the fixed-length ACPI tables -
8710- the FADT and FACS, as well as consistency checks between the
8711revision number and the table size.
8712
8713Fixed a reported problem in the table override support where the
8714new table pointer was incorrectly treated as a physical address
8715instead of a logical address.
8716
8717Eliminated the use of the AE_AML_ERROR exception and replaced it
8718with more descriptive codes.
8719
8720Fixed a problem where an exception would occur if an ASL Field was
8721defined with no named Field Units underneath it (used by some
8722index fields).
8723
8724Code and Data Size: Current core subsystem library sizes are shown
8725below.  These are the code and data sizes for the acpica.lib
8726produced by the Microsoft Visual C++ 6.0 compiler, and these
8727values do not include any ACPI driver or OSPM code.  The debug
8728version of the code includes the debug output trace mechanism and
8729has a larger code and data size.  Note that these values will vary
8730depending on the efficiency of the compiler and the compiler
8731options used during generation.
8732
8733  Previous Release
8734    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8735    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8736  Current Release:
8737    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8738    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8739
8740
8741
87422) Linux
8743
8744Much work done on ACPI init (MADT and PCI IRQ routing support).
8745(Paul D. and Dominik Brodowski)
8746
8747Fix PCI IRQ-related panic on boot (Sam Revitch)
8748
8749Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
8750
8751Fix "MHz" typo (Dominik Brodowski)
8752
8753Fix RTC year 2000 issue (Dominik Brodowski)
8754
8755Preclude multiple button proc entries (Eric Brunet)
8756
8757Moved arch-specific code out of include/platform/aclinux.h
8758
87593) iASL Compiler Version X2044:
8760
8761Implemented error checking for the string used in the EISAID macro
8762(Usually used in the definition of the _HID object.)  The code now
8763strictly enforces the PnP format - exactly 7 characters, 3
8764uppercase letters and 4 hex digits.
8765
8766If a raw string is used in the definition of the _HID object
8767(instead of the EISAID macro), the string must contain all
8768alphanumeric characters (e.g., "*PNP0011" is not allowed because
8769of the asterisk.)
8770
8771Implemented checking for invalid use of ACPI reserved names for
8772most of the name creation operators (Name, Device, Event, Mutex,
8773OperationRegion, PowerResource, Processor, and ThermalZone.)
8774Previously, this check was only performed for control methods.
8775
8776Implemented an additional check on the Name operator to emit an
8777error if a reserved name that must be implemented in ASL as a
8778control method is used.  We know that a reserved name must be a
8779method if it is defined with input arguments.
8780
8781The warning emitted when a namespace object reference is not found
8782during the cross reference phase has been changed into an error.
8783The "External" directive should be used for names defined in other
8784modules.
8785
8786
87874) Tools and Utilities
8788
8789The 16-bit tools (adump16 and aexec16) have been regenerated and
8790tested.
8791
8792Fixed a problem with the output of both acpidump and adump16 where
8793the indentation of closing parentheses and brackets was not
8794
8795aligned properly with the parent block.
8796
8797
8798----------------------------------------
879903 May 2002.  Summary of changes for this release.
8800
8801
88021) ACPI CA Core Subsystem Version 20020503:
8803
8804Added support a new OSL interface that allows the host operating
8805
8806system software to override the DSDT found in the firmware -
8807AcpiOsTableOverride.  With this interface, the OSL can examine the
8808version of the firmware DSDT and replace it with a different one
8809if desired.
8810
8811Added new external interfaces for accessing ACPI registers from
8812device drivers and other system software - AcpiGetRegister and
8813AcpiSetRegister.  This was simply an externalization of the
8814existing AcpiHwBitRegister interfaces.
8815
8816Fixed a regression introduced in the previous build where the
8817ASL/AML CreateField operator always returned an error,
8818"destination must be a NS Node".
8819
8820Extended the maximum time (before failure) to successfully enable
8821ACPI mode to 3 seconds.
8822
8823Code and Data Size: Current core subsystem library sizes are shown
8824below.  These are the code and data sizes for the acpica.lib
8825produced by the Microsoft Visual C++ 6.0 compiler, and these
8826values do not include any ACPI driver or OSPM code.  The debug
8827version of the code includes the debug output trace mechanism and
8828has a larger code and data size.  Note that these values will vary
8829depending on the efficiency of the compiler and the compiler
8830options used during generation.
8831
8832  Previous Release
8833    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8834    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8835  Current Release:
8836    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8837    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8838
8839
88402) Linux
8841
8842Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
8843free. While 3 out of 4 of our in-house systems work fine, the last
8844one still hangs when testing the LAPIC timer.
8845
8846Renamed many files in 2.5 kernel release to omit "acpi_" from the
8847name.
8848
8849Added warning on boot for Presario 711FR.
8850
8851Sleep improvements (Pavel Machek)
8852
8853ACPI can now be built without CONFIG_PCI enabled.
8854
8855IA64: Fixed memory map functions (JI Lee)
8856
8857
88583) iASL Compiler Version X2043:
8859
8860Added support to allow the compiler to be integrated into the MS
8861VC++ development environment for one-button compilation of single
8862files or entire projects -- with error-to-source-line mapping.
8863
8864Implemented support for compile-time constant folding for the
8865Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
8866specification.  This allows the ASL writer to use expressions
8867instead of Integer/Buffer/String constants in terms that must
8868evaluate to constants at compile time and will also simplify the
8869emitted AML in any such sub-expressions that can be folded
8870(evaluated at compile-time.)  This increases the size of the
8871compiler significantly because a portion of the ACPI CA AML
8872interpreter is included within the compiler in order to pre-
8873evaluate constant expressions.
8874
8875
8876Fixed a problem with the "Unicode" ASL macro that caused the
8877compiler to fault.  (This macro is used in conjunction with the
8878_STR reserved name.)
8879
8880Implemented an AML opcode optimization to use the Zero, One, and
8881Ones opcodes where possible to further reduce the size of integer
8882constants and thus reduce the overall size of the generated AML
8883code.
8884
8885Implemented error checking for new reserved terms for ACPI version
88862.0A.
8887
8888Implemented the -qr option to display the current list of ACPI
8889reserved names known to the compiler.
8890
8891Implemented the -qc option to display the current list of ASL
8892operators that are allowed within constant expressions and can
8893therefore be folded at compile time if the operands are constants.
8894
8895
88964) Documentation
8897
8898Updated the Programmer's Reference for new interfaces, data types,
8899and memory allocation model options.
8900
8901Updated the iASL Compiler User Reference to apply new format and
8902add information about new features and options.
8903
8904----------------------------------------
890519 April 2002.  Summary of changes for this release.
8906
89071) ACPI CA Core Subsystem Version 20020419:
8908
8909The source code base for the Core Subsystem has been completely
8910cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
8911versions.  The Lint option files used are included in the
8912/acpi/generate/lint directory.
8913
8914Implemented enhanced status/error checking across the entire
8915Hardware manager subsystem.  Any hardware errors (reported from
8916the OSL) are now bubbled up and will abort a running control
8917method.
8918
8919
8920Fixed a problem where the per-ACPI-table integer width (32 or 64)
8921was stored only with control method nodes, causing a fault when
8922non-control method code was executed during table loading.  The
8923solution implemented uses a global variable to indicate table
8924width across the entire ACPI subsystem.  Therefore, ACPI CA does
8925not support mixed integer widths across different ACPI tables
8926(DSDT, SSDT).
8927
8928Fixed a problem where NULL extended fields (X fields) in an ACPI
89292.0 ACPI FADT caused the table load to fail.  Although the
8930existing ACPI specification is a bit fuzzy on this topic, the new
8931behavior is to fall back on a ACPI 1.0 field if the corresponding
8932ACPI 2.0 X field is zero (even though the table revision indicates
8933a full ACPI 2.0 table.)  The ACPI specification will be updated to
8934clarify this issue.
8935
8936Fixed a problem with the SystemMemory operation region handler
8937where memory was always accessed byte-wise even if the AML-
8938specified access width was larger than a byte.  This caused
8939problems on systems with memory-mapped I/O.  Memory is now
8940accessed with the width specified.  On systems that do not support
8941non-aligned transfers, a check is made to guarantee proper address
8942alignment before proceeding in order to avoid an AML-caused
8943alignment fault within the kernel.
8944
8945
8946Fixed a problem with the ExtendedIrq resource where only one byte
8947of the 4-byte Irq field was extracted.
8948
8949Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
8950function was out of date and required a rewrite.
8951
8952Code and Data Size: Current core subsystem library sizes are shown
8953below.  These are the code and data sizes for the acpica.lib
8954produced by the Microsoft Visual C++ 6.0 compiler, and these
8955values do not include any ACPI driver or OSPM code.  The debug
8956version of the code includes the debug output trace mechanism and
8957has a larger code and data size.  Note that these values will vary
8958depending on the efficiency of the compiler and the compiler
8959options used during generation.
8960
8961  Previous Release
8962    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8963    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8964  Current Release:
8965    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8966    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8967
8968
89692) Linux
8970
8971PCI IRQ routing fixes (Dominik Brodowski)
8972
8973
89743) iASL Compiler Version X2042:
8975
8976Implemented an additional compile-time error check for a field
8977unit whose size + minimum access width would cause a run-time
8978access beyond the end-of-region.  Previously, only the field size
8979itself was checked.
8980
8981The Core subsystem and iASL compiler now share a common parse
8982object in preparation for compile-time evaluation of the type
89833/4/5 ASL operators.
8984
8985
8986----------------------------------------
8987Summary of changes for this release: 03_29_02
8988
89891) ACPI CA Core Subsystem Version 20020329:
8990
8991Implemented support for late evaluation of TermArg operands to
8992Buffer and Package objects.  This allows complex expressions to be
8993used in the declarations of these object types.
8994
8995Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
89961.0, if the field was larger than 32 bits, it was returned as a
8997buffer - otherwise it was returned as an integer.  In ACPI 2.0,
8998the field is returned as a buffer only if the field is larger than
899964 bits.  The TableRevision is now considered when making this
9000conversion to avoid incompatibility with existing ASL code.
9001
9002Implemented logical addressing for AcpiOsGetRootPointer.  This
9003allows an RSDP with either a logical or physical address.  With
9004this support, the host OS can now override all ACPI tables with
9005one logical RSDP.  Includes implementation of  "typed" pointer
9006support to allow a common data type for both physical and logical
9007pointers internally.  This required a change to the
9008AcpiOsGetRootPointer interface.
9009
9010Implemented the use of ACPI 2.0 Generic Address Structures for all
9011GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
9012mapped I/O for these ACPI features.
9013
9014Initialization now ignores not only non-required tables (All
9015tables other than the FADT, FACS, DSDT, and SSDTs), but also does
9016not validate the table headers of unrecognized tables.
9017
9018Fixed a problem where a notify handler could only be
9019installed/removed on an object of type Device.  All "notify"
9020
9021objects are now supported -- Devices, Processor, Power, and
9022Thermal.
9023
9024Removed most verbosity from the ACPI_DB_INFO debug level.  Only
9025critical information is returned when this debug level is enabled.
9026
9027Code and Data Size: Current core subsystem library sizes are shown
9028below.  These are the code and data sizes for the acpica.lib
9029produced by the Microsoft Visual C++ 6.0 compiler, and these
9030values do not include any ACPI driver or OSPM code.  The debug
9031version of the code includes the debug output trace mechanism and
9032has a larger code and data size.  Note that these values will vary
9033depending on the efficiency of the compiler and the compiler
9034options used during generation.
9035
9036  Previous Release
9037    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9038    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9039  Current Release:
9040    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
9041    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
9042
9043
90442) Linux:
9045
9046The processor driver (acpi_processor.c) now fully supports ACPI
90472.0-based processor performance control (e.g. Intel(R)
9048SpeedStep(TM) technology) Note that older laptops that only have
9049the Intel "applet" interface are not supported through this.  The
9050'limit' and 'performance' interface (/proc) are fully functional.
9051[Note that basic policy for controlling performance state
9052transitions will be included in the next version of ospmd.]  The
9053idle handler was modified to more aggressively use C2, and PIIX4
9054errata handling underwent a complete overhaul (big thanks to
9055Dominik Brodowski).
9056
9057Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
9058based devices in the ACPI namespace are now dynamically bound
9059(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
9060This allows, among other things, ACPI to resolve bus numbers for
9061subordinate PCI bridges.
9062
9063Enhanced PCI IRQ routing to get the proper bus number for _PRT
9064entries defined underneath PCI bridges.
9065
9066Added IBM 600E to bad bios list due to invalid _ADR value for
9067PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
9068
9069In the process of adding full MADT support (e.g. IOAPIC) for IA32
9070(acpi.c, mpparse.c) -- stay tuned.
9071
9072Added back visual differentiation between fixed-feature and
9073control-method buttons in dmesg.  Buttons are also subtyped (e.g.
9074button/power/PWRF) to simplify button identification.
9075
9076We no longer use -Wno-unused when compiling debug. Please ignore
9077any "_THIS_MODULE defined but not used" messages.
9078
9079Can now shut down the system using "magic sysrq" key.
9080
9081
90823) iASL Compiler version 2041:
9083
9084Fixed a problem where conversion errors for hex/octal/decimal
9085constants were not reported.
9086
9087Implemented a fix for the General Register template Address field.
9088This field was 8 bits when it should be 64.
9089
9090Fixed a problem where errors/warnings were no longer being emitted
9091within the listing output file.
9092
9093Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
9094exactly 4 characters, alphanumeric only.
9095
9096
9097
9098
9099----------------------------------------
9100Summary of changes for this release: 03_08_02
9101
9102
91031) ACPI CA Core Subsystem Version 20020308:
9104
9105Fixed a problem with AML Fields where the use of the "AccessAny"
9106keyword could cause an interpreter error due to attempting to read
9107or write beyond the end of the parent Operation Region.
9108
9109Fixed a problem in the SystemMemory Operation Region handler where
9110an attempt was made to map memory beyond the end of the region.
9111This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
9112errors on some Linux systems.
9113
9114Fixed a problem where the interpreter/namespace "search to root"
9115algorithm was not functioning for some object types.  Relaxed the
9116internal restriction on the search to allow upsearches for all
9117external object types as well as most internal types.
9118
9119
91202) Linux:
9121
9122We now use safe_halt() macro versus individual calls to sti | hlt.
9123
9124Writing to the processor limit interface should now work. "echo 1"
9125will increase the limit, 2 will decrease, and 0 will reset to the
9126
9127default.
9128
9129
91303) ASL compiler:
9131
9132Fixed segfault on Linux version.
9133
9134
9135----------------------------------------
9136Summary of changes for this release: 02_25_02
9137
91381) ACPI CA Core Subsystem:
9139
9140
9141Fixed a problem where the GPE bit masks were not initialized
9142properly, causing erratic GPE behavior.
9143
9144Implemented limited support for multiple calling conventions.  The
9145code can be generated with either the VPL (variable parameter
9146list, or "C") convention, or the FPL (fixed parameter list, or
9147"Pascal") convention.  The core subsystem is about 3.4% smaller
9148when generated with FPL.
9149
9150
91512) Linux
9152
9153Re-add some /proc/acpi/event functionality that was lost during
9154the rewrite
9155
9156Resolved issue with /proc events for fixed-feature buttons showing
9157up as the system device.
9158
9159Fixed checks on C2/C3 latencies to be inclusive of maximum values.
9160
9161Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
9162
9163Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
9164
9165Fixed limit interface & usage to fix bugs with passive cooling
9166hysterisis.
9167
9168Restructured PRT support.
9169
9170
9171----------------------------------------
9172Summary of changes for this label: 02_14_02
9173
9174
91751) ACPI CA Core Subsystem:
9176
9177Implemented support in AcpiLoadTable to allow loading of FACS and
9178FADT tables.
9179
9180Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
9181been removed.  All 64-bit platforms should be migrated to the ACPI
91822.0 tables.  The actbl71.h header has been removed from the source
9183tree.
9184
9185All C macros defined within the subsystem have been prefixed with
9186"ACPI_" to avoid collision with other system include files.
9187
9188Removed the return value for the two AcpiOsPrint interfaces, since
9189it is never used and causes lint warnings for ignoring the return
9190value.
9191
9192Added error checking to all internal mutex acquire and release
9193calls.  Although a failure from one of these interfaces is
9194probably a fatal system error, these checks will cause the
9195immediate abort of the currently executing method or interface.
9196
9197Fixed a problem where the AcpiSetCurrentResources interface could
9198fault.  This was a side effect of the deployment of the new memory
9199allocation model.
9200
9201Fixed a couple of problems with the Global Lock support introduced
9202in the last major build.  The "common" (1.0/2.0) internal FACS was
9203being overwritten with the FACS signature and clobbering the
9204Global Lock pointer.  Also, the actual firmware FACS was being
9205unmapped after construction of the "common" FACS, preventing
9206access to the actual Global Lock field within it.  The "common"
9207internal FACS is no longer installed as an actual ACPI table; it
9208is used simply as a global.
9209
9210Code and Data Size: Current core subsystem library sizes are shown
9211below.  These are the code and data sizes for the acpica.lib
9212produced by the Microsoft Visual C++ 6.0 compiler, and these
9213values do not include any ACPI driver or OSPM code.  The debug
9214version of the code includes the debug output trace mechanism and
9215has a larger code and data size.  Note that these values will vary
9216depending on the efficiency of the compiler and the compiler
9217options used during generation.
9218
9219  Previous Release (02_07_01)
9220    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9221    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9222  Current Release:
9223    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
9224    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
9225
9226
92272) Linux
9228
9229Updated Linux-specific code for core macro and OSL interface
9230changes described above.
9231
9232Improved /proc/acpi/event. It now can be opened only once and has
9233proper poll functionality.
9234
9235Fixed and restructured power management (acpi_bus).
9236
9237Only create /proc "view by type" when devices of that class exist.
9238
9239Fixed "charging/discharging" bug (and others) in acpi_battery.
9240
9241Improved thermal zone code.
9242
9243
92443) ASL Compiler, version X2039:
9245
9246
9247Implemented the new compiler restriction on ASL String hex/octal
9248escapes to non-null, ASCII values.  An error results if an invalid
9249value is used.  (This will require an ACPI 2.0 specification
9250change.)
9251
9252AML object labels that are output to the optional C and ASM source
9253are now prefixed with both the ACPI table signature and table ID
9254to help guarantee uniqueness within a large BIOS project.
9255
9256
9257----------------------------------------
9258Summary of changes for this label: 02_01_02
9259
92601) ACPI CA Core Subsystem:
9261
9262ACPI 2.0 support is complete in the entire Core Subsystem and the
9263ASL compiler. All new ACPI 2.0 operators are implemented and all
9264other changes for ACPI 2.0 support are complete.  With
9265simultaneous code and data optimizations throughout the subsystem,
9266ACPI 2.0 support has been implemented with almost no additional
9267cost in terms of code and data size.
9268
9269Implemented a new mechanism for allocation of return buffers.  If
9270the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
9271be allocated on behalf of the caller.  Consolidated all return
9272buffer validation and allocation to a common procedure.  Return
9273buffers will be allocated via the primary OSL allocation interface
9274since it appears that a separate pool is not needed by most users.
9275If a separate pool is required for these buffers, the caller can
9276still use the original mechanism and pre-allocate the buffer(s).
9277
9278Implemented support for string operands within the DerefOf
9279operator.
9280
9281Restructured the Hardware and Event managers to be table driven,
9282simplifying the source code and reducing the amount of generated
9283code.
9284
9285Split the common read/write low-level ACPI register bitfield
9286procedure into a separate read and write, simplifying the code
9287considerably.
9288
9289Obsoleted the AcpiOsCallocate OSL interface.  This interface was
9290used only a handful of times and didn't have enough critical mass
9291for a separate interface.  Replaced with a common calloc procedure
9292in the core.
9293
9294Fixed a reported problem with the GPE number mapping mechanism
9295that allows GPE1 numbers to be non-contiguous with GPE0.
9296Reorganized the GPE information and shrunk a large array that was
9297originally large enough to hold info for all possible GPEs (256)
9298to simply large enough to hold all GPEs up to the largest GPE
9299number on the machine.
9300
9301Fixed a reported problem with resource structure alignment on 64-
9302bit platforms.
9303
9304Changed the AcpiEnableEvent and AcpiDisableEvent external
9305interfaces to not require any flags for the common case of
9306enabling/disabling a GPE.
9307
9308Implemented support to allow a "Notify" on a Processor object.
9309
9310Most TBDs in comments within the source code have been resolved
9311and eliminated.
9312
9313
9314Fixed a problem in the interpreter where a standalone parent
9315prefix (^) was not handled correctly in the interpreter and
9316debugger.
9317
9318Removed obsolete and unnecessary GPE save/restore code.
9319
9320Implemented Field support in the ASL Load operator.  This allows a
9321table to be loaded from a named field, in addition to loading a
9322table directly from an Operation Region.
9323
9324Implemented timeout and handle support in the external Global Lock
9325interfaces.
9326
9327Fixed a problem in the AcpiDump utility where pathnames were no
9328longer being generated correctly during the dump of named objects.
9329
9330Modified the AML debugger to give a full display of if/while
9331predicates instead of just one AML opcode at a time.  (The
9332predicate can have several nested ASL statements.)  The old method
9333was confusing during single stepping.
9334
9335Code and Data Size: Current core subsystem library sizes are shown
9336below. These are the code and data sizes for the acpica.lib
9337produced by the Microsoft Visual C++ 6.0 compiler, and these
9338values do not include any ACPI driver or OSPM code.  The debug
9339version of the code includes the debug output trace mechanism and
9340has a larger code and data size.  Note that these values will vary
9341depending on the efficiency of the compiler and the compiler
9342options used during generation.
9343
9344  Previous Release (12_18_01)
9345     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9346     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9347   Current Release:
9348     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9349     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9350
93512) Linux
9352
9353 Implemented fix for PIIX reverse throttling errata (Processor
9354driver)
9355
9356Added new Limit interface (Processor and Thermal drivers)
9357
9358New thermal policy (Thermal driver)
9359
9360Many updates to /proc
9361
9362Battery "low" event support (Battery driver)
9363
9364Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9365
9366IA32 - IA64 initialization unification, no longer experimental
9367
9368Menuconfig options redesigned
9369
93703) ASL Compiler, version X2037:
9371
9372Implemented several new output features to simplify integration of
9373AML code into  firmware: 1) Output the AML in C source code with
9374labels for each named ASL object.  The    original ASL source code
9375is interleaved as C comments. 2) Output the AML in ASM source code
9376with labels and interleaved ASL    source. 3) Output the AML in
9377raw hex table form, in either C or ASM.
9378
9379Implemented support for optional string parameters to the
9380LoadTable operator.
9381
9382Completed support for embedded escape sequences within string
9383literals.  The compiler now supports all single character escapes
9384as well as the Octal and Hex escapes.  Note: the insertion of a
9385null byte into a string literal (via the hex/octal escape) causes
9386the string to be immediately terminated.  A warning is issued.
9387
9388Fixed a problem where incorrect AML was generated for the case
9389where an ASL namepath consists of a single parent prefix (
9390
9391) with no trailing name segments.
9392
9393The compiler has been successfully generated with a 64-bit C
9394compiler.
9395
9396
9397
9398
9399----------------------------------------
9400Summary of changes for this label: 12_18_01
9401
94021) Linux
9403
9404Enhanced blacklist with reason and severity fields. Any table's
9405signature may now be used to identify a blacklisted system.
9406
9407Call _PIC control method to inform the firmware which interrupt
9408model the OS is using. Turn on any disabled link devices.
9409
9410Cleaned up busmgr /proc error handling (Andreas Dilger)
9411
9412 2) ACPI CA Core Subsystem:
9413
9414Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
9415while loop)
9416
9417Completed implementation of the ACPI 2.0 "Continue",
9418"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9419operators.  All new ACPI 2.0 operators are now implemented in both
9420the ASL compiler and the AML interpreter.  The only remaining ACPI
94212.0 task is support for the String data type in the DerefOf
9422operator.  Fixed a problem with AcquireMutex where the status code
9423was lost if the caller had to actually wait for the mutex.
9424
9425Increased the maximum ASL Field size from 64K bits to 4G bits.
9426
9427Completed implementation of the external Global Lock interfaces --
9428AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
9429Handler parameters were added.
9430
9431Completed another pass at removing warnings and issues when
9432compiling with 64-bit compilers.  The code now compiles cleanly
9433with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
9434add and subtract (diff) macros have changed considerably.
9435
9436
9437Created and deployed a new ACPI_SIZE type that is 64-bits wide on
943864-bit platforms, 32-bits on all others.  This type is used
9439wherever memory allocation and/or the C sizeof() operator is used,
9440and affects the OSL memory allocation interfaces AcpiOsAllocate
9441and AcpiOsCallocate.
9442
9443Implemented sticky user breakpoints in the AML debugger.
9444
9445Code and Data Size: Current core subsystem library sizes are shown
9446below. These are the code and data sizes for the acpica.lib
9447produced by the Microsoft Visual C++ 6.0 compiler, and these
9448values do not include any ACPI driver or OSPM code.  The debug
9449version of the code includes the debug output trace mechanism and
9450has a larger code and data size. Note that these values will vary
9451depending on the efficiency of the compiler and the compiler
9452options used during generation.
9453
9454  Previous Release (12_05_01)
9455     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9456     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9457   Current Release:
9458     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9459     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9460
9461 3) ASL Compiler, version X2034:
9462
9463Now checks for (and generates an error if detected) the use of a
9464Break or Continue statement without an enclosing While statement.
9465
9466
9467Successfully generated the compiler with the Intel 64-bit C
9468compiler.
9469
9470 ----------------------------------------
9471Summary of changes for this label: 12_05_01
9472
9473 1) ACPI CA Core Subsystem:
9474
9475The ACPI 2.0 CopyObject operator is fully implemented.  This
9476operator creates a new copy of an object (and is also used to
9477bypass the "implicit conversion" mechanism of the Store operator.)
9478
9479The ACPI 2.0 semantics for the SizeOf operator are fully
9480implemented.  The change is that performing a SizeOf on a
9481reference object causes an automatic dereference of the object to
9482tha actual value before the size is evaluated. This behavior was
9483undefined in ACPI 1.0.
9484
9485The ACPI 2.0 semantics for the Extended IRQ resource descriptor
9486have been implemented.  The interrupt polarity and mode are now
9487independently set.
9488
9489Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
9490appearing in Package objects were not properly converted to
9491integers when the internal Package was converted to an external
9492object (via the AcpiEvaluateObject interface.)
9493
9494Fixed a problem with the namespace object deletion mechanism for
9495objects created by control methods.  There were two parts to this
9496problem: 1) Objects created during the initialization phase method
9497parse were not being deleted, and 2) The object owner ID mechanism
9498to track objects was broken.
9499
9500Fixed a problem where the use of the ASL Scope operator within a
9501control method would result in an invalid opcode exception.
9502
9503Fixed a problem introduced in the previous label where the buffer
9504length required for the _PRT structure was not being returned
9505correctly.
9506
9507Code and Data Size: Current core subsystem library sizes are shown
9508below. These are the code and data sizes for the acpica.lib
9509produced by the Microsoft Visual C++ 6.0 compiler, and these
9510values do not include any ACPI driver or OSPM code.  The debug
9511version of the code includes the debug output trace mechanism and
9512has a larger code and data size.  Note that these values will vary
9513depending on the efficiency of the compiler and the compiler
9514options used during generation.
9515
9516  Previous Release (11_20_01)
9517     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9518     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9519
9520  Current Release:
9521     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9522     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9523
9524 2) Linux:
9525
9526Updated all files to apply cleanly against 2.4.16.
9527
9528Added basic PCI Interrupt Routing Table (PRT) support for IA32
9529(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
9530version supports both static and dyanmic PRT entries, but dynamic
9531entries are treated as if they were static (not yet
9532reconfigurable).  Architecture- specific code to use this data is
9533absent on IA32 but should be available shortly.
9534
9535Changed the initialization sequence to start the ACPI interpreter
9536(acpi_init) prior to initialization of the PCI driver (pci_init)
9537in init/main.c.  This ordering is required to support PRT and
9538facilitate other (future) enhancement.  A side effect is that the
9539ACPI bus driver and certain device drivers can no longer be loaded
9540as modules.
9541
9542Modified the 'make menuconfig' options to allow PCI Interrupt
9543Routing support to be included without the ACPI Bus and other
9544device drivers.
9545
9546 3) ASL Compiler, version X2033:
9547
9548Fixed some issues with the use of the new CopyObject and
9549DataTableRegion operators.  Both are fully functional.
9550
9551 ----------------------------------------
9552Summary of changes for this label: 11_20_01
9553
9554 20 November 2001.  Summary of changes for this release.
9555
9556 1) ACPI CA Core Subsystem:
9557
9558Updated Index support to match ACPI 2.0 semantics.  Storing a
9559Integer, String, or Buffer to an Index of a Buffer will store only
9560the least-significant byte of the source to the Indexed buffer
9561byte.  Multiple writes are not performed.
9562
9563Fixed a problem where the access type used in an AccessAs ASL
9564operator was not recorded correctly into the field object.
9565
9566Fixed a problem where ASL Event objects were created in a
9567signalled state. Events are now created in an unsignalled state.
9568
9569The internal object cache is now purged after table loading and
9570initialization to reduce the use of dynamic kernel memory -- on
9571the assumption that object use is greatest during the parse phase
9572of the entire table (versus the run-time use of individual control
9573methods.)
9574
9575ACPI 2.0 variable-length packages are now fully operational.
9576
9577Code and Data Size: Code and Data optimizations have permitted new
9578feature development with an actual reduction in the library size.
9579Current core subsystem library sizes are shown below.  These are
9580the code and data sizes for the acpica.lib produced by the
9581Microsoft Visual C++ 6.0 compiler, and these values do not include
9582any ACPI driver or OSPM code.  The debug version of the code
9583includes the debug output trace mechanism and has a larger code
9584and data size.  Note that these values will vary depending on the
9585efficiency of the compiler and the compiler options used during
9586generation.
9587
9588  Previous Release (11_09_01):
9589     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9590     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9591
9592  Current Release:
9593     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9594     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9595
9596 2) Linux:
9597
9598Enhanced the ACPI boot-time initialization code to allow the use
9599of Local APIC tables for processor enumeration on IA-32, and to
9600pave the way for a fully MPS-free boot (on SMP systems) in the
9601near future.  This functionality replaces
9602arch/i386/kernel/acpitables.c, which was introduced in an earlier
96032.4.15-preX release.  To enable this feature you must add
9604"acpi_boot=on" to the kernel command line -- see the help entry
9605for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
9606the works...
9607
9608Restructured the configuration options to allow boot-time table
9609parsing support without inclusion of the ACPI Interpreter (and
9610other) code.
9611
9612NOTE: This release does not include fixes for the reported events,
9613power-down, and thermal passive cooling issues (coming soon).
9614
9615 3) ASL Compiler:
9616
9617Added additional typechecking for Fields within restricted access
9618Operation Regions.  All fields within EC and CMOS regions must be
9619declared with ByteAcc. All fields withing SMBus regions must be
9620declared with the BufferAcc access type.
9621
9622Fixed a problem where the listing file output of control methods
9623no longer interleaved the actual AML code with the ASL source
9624code.
9625
9626
9627
9628
9629----------------------------------------
9630Summary of changes for this label: 11_09_01
9631
96321) ACPI CA Core Subsystem:
9633
9634Implemented ACPI 2.0-defined support for writes to fields with a
9635Buffer, String, or Integer source operand that is smaller than the
9636target field. In these cases, the source operand is zero-extended
9637to fill the target field.
9638
9639Fixed a problem where a Field starting bit offset (within the
9640parent operation region) was calculated incorrectly if the
9641
9642alignment of the field differed from the access width.  This
9643affected CreateWordField, CreateDwordField, CreateQwordField, and
9644possibly other fields that use the "AccessAny" keyword.
9645
9646Fixed a problem introduced in the 11_02_01 release where indirect
9647stores through method arguments did not operate correctly.
9648
96492) Linux:
9650
9651Implemented boot-time ACPI table parsing support
9652(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
9653facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
9654legacy BIOS interfaces (e.g. MPS) for the configuration of system
9655processors, memory, and interrupts during setup_arch().  Note that
9656this patch does not include the required architecture-specific
9657changes required to apply this information -- subsequent patches
9658will be posted for both IA32 and IA64 to achieve this.
9659
9660Added low-level sleep support for IA32 platforms, courtesy of Pat
9661Mochel. This allows IA32 systems to transition to/from various
9662sleeping states (e.g. S1, S3), although the lack of a centralized
9663driver model and power-manageable drivers will prevent its
9664(successful) use on most systems.
9665
9666Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
9667submenu, unified IA32 and IA64 options, added new "Boot using ACPI
9668tables" option, etc.
9669
9670Increased the default timeout for the EC driver from 1ms to 10ms
9671(1000 cycles of 10us) to try to address AE_TIME errors during EC
9672transactions.
9673
9674 ----------------------------------------
9675Summary of changes for this label: 11_02_01
9676
96771) ACPI CA Core Subsystem:
9678
9679ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
9680(QWordAcc keyword). All ACPI 2.0 64-bit support is now
9681implemented.
9682
9683OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
9684changes to support ACPI 2.0 Qword field access.  Read/Write
9685PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
9686accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
9687the value parameter for the address space handler interface is now
9688an ACPI_INTEGER.  OSL implementations of these interfaces must now
9689handle the case where the Width parameter is 64.
9690
9691Index Fields: Fixed a problem where unaligned bit assembly and
9692disassembly for IndexFields was not supported correctly.
9693
9694Index and Bank Fields:  Nested Index and Bank Fields are now
9695supported. During field access, a check is performed to ensure
9696that the value written to an Index or Bank register is not out of
9697the range of the register.  The Index (or Bank) register is
9698written before each access to the field data. Future support will
9699include allowing individual IndexFields to be wider than the
9700DataRegister width.
9701
9702Fields: Fixed a problem where the AML interpreter was incorrectly
9703attempting to write beyond the end of a Field/OpRegion.  This was
9704a boundary case that occurred when a DWORD field was written to a
9705BYTE access OpRegion, forcing multiple writes and causing the
9706interpreter to write one datum too many.
9707
9708Fields: Fixed a problem with Field/OpRegion access where the
9709starting bit address of a field was incorrectly calculated if the
9710current access type was wider than a byte (WordAcc, DwordAcc, or
9711QwordAcc).
9712
9713Fields: Fixed a problem where forward references to individual
9714FieldUnits (individual Field names within a Field definition) were
9715not resolved during the AML table load.
9716
9717Fields: Fixed a problem where forward references from a Field
9718definition to the parent Operation Region definition were not
9719resolved during the AML table load.
9720
9721Fields: Duplicate FieldUnit names within a scope are now detected
9722during AML table load.
9723
9724Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
9725returned an incorrect name for the root node.
9726
9727Code and Data Size: Code and Data optimizations have permitted new
9728feature development with an actual reduction in the library size.
9729Current core subsystem library sizes are shown below.  These are
9730the code and data sizes for the acpica.lib produced by the
9731Microsoft Visual C++ 6.0 compiler, and these values do not include
9732any ACPI driver or OSPM code.  The debug version of the code
9733includes the debug output trace mechanism and has a larger code
9734and data size.  Note that these values will vary depending on the
9735efficiency of the compiler and the compiler options used during
9736generation.
9737
9738  Previous Release (10_18_01):
9739     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9740     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9741
9742  Current Release:
9743     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9744     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9745
9746 2) Linux:
9747
9748Improved /proc processor output (Pavel Machek) Re-added
9749MODULE_LICENSE("GPL") to all modules.
9750
9751 3) ASL Compiler version X2030:
9752
9753Duplicate FieldUnit names within a scope are now detected and
9754flagged as errors.
9755
9756 4) Documentation:
9757
9758Programmer Reference updated to reflect OSL and address space
9759handler interface changes described above.
9760
9761----------------------------------------
9762Summary of changes for this label: 10_18_01
9763
9764ACPI CA Core Subsystem:
9765
9766Fixed a problem with the internal object reference count mechanism
9767that occasionally caused premature object deletion. This resolves
9768all of the outstanding problem reports where an object is deleted
9769in the middle of an interpreter evaluation.  Although this problem
9770only showed up in rather obscure cases, the solution to the
9771problem involved an adjustment of all reference counts involving
9772objects attached to namespace nodes.
9773
9774Fixed a problem with Field support in the interpreter where
9775writing to an aligned field whose length is an exact multiple (2
9776or greater) of the field access granularity would cause an attempt
9777to write beyond the end of the field.
9778
9779The top level AML opcode execution functions within the
9780interpreter have been renamed with a more meaningful and
9781consistent naming convention.  The modules exmonad.c and
9782exdyadic.c were eliminated.  New modules are exoparg1.c,
9783exoparg2.c, exoparg3.c, and exoparg6.c.
9784
9785Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
9786
9787Fixed a problem where the AML debugger was causing some internal
9788objects to not be deleted during subsystem termination.
9789
9790Fixed a problem with the external AcpiEvaluateObject interface
9791where the subsystem would fault if the named object to be
9792evaluated refered to a constant such as Zero, Ones, etc.
9793
9794Fixed a problem with IndexFields and BankFields where the
9795subsystem would fault if the index, data, or bank registers were
9796not defined in the same scope as the field itself.
9797
9798Added printf format string checking for compilers that support
9799this feature.  Corrected more than 50 instances of issues with
9800format specifiers within invocations of ACPI_DEBUG_PRINT
9801throughout the core subsystem code.
9802
9803The ASL "Revision" operator now returns the ACPI support level
9804implemented in the core - the value "2" since the ACPI 2.0 support
9805is more than 50% implemented.
9806
9807Enhanced the output of the AML debugger "dump namespace" command
9808to output in a more human-readable form.
9809
9810Current core subsystem library code sizes are shown below.  These
9811
9812are the code and data sizes for the acpica.lib produced by the
9813Microsoft Visual C++ 6.0 compiler, and these values do not include
9814any ACPI driver or OSPM code.  The debug version of the code
9815includes the full debug trace mechanism -- leading to a much
9816
9817larger code and data size.  Note that these values will vary
9818depending on the efficiency of the compiler and the compiler
9819options used during generation.
9820
9821     Previous Label (09_20_01):
9822     Non-Debug Version:    65K Code,     5K Data,     70K Total
9823     Debug Version:       138K Code,    58K Data,    196K Total
9824
9825     This Label:
9826
9827     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9828     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9829
9830Linux:
9831
9832Implemented a "Bad BIOS Blacklist" to track machines that have
9833known ASL/AML problems.
9834
9835Enhanced the /proc interface for the thermal zone driver and added
9836support for _HOT (the critical suspend trip point).  The 'info'
9837file now includes threshold/policy information, and allows setting
9838of _SCP (cooling preference) and _TZP (polling frequency) values
9839to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
9840frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
9841preference to the passive/quiet mode (if supported by the ASL).
9842
9843Implemented a workaround for a gcc bug that resuted in an OOPs
9844when loading the control method battery driver.
9845
9846 ----------------------------------------
9847Summary of changes for this label: 09_20_01
9848
9849 ACPI CA Core Subsystem:
9850
9851The AcpiEnableEvent and AcpiDisableEvent interfaces have been
9852modified to allow individual GPE levels to be flagged as wake-
9853enabled (i.e., these GPEs are to remain enabled when the platform
9854sleeps.)
9855
9856The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
9857support wake-enabled GPEs.  This means that upon entering the
9858sleep state, all GPEs that are not wake-enabled are disabled.
9859When leaving the sleep state, these GPEs are reenabled.
9860
9861A local double-precision divide/modulo module has been added to
9862enhance portability to OS kernels where a 64-bit math library is
9863not available.  The new module is "utmath.c".
9864
9865Several optimizations have been made to reduce the use of CPU
9866stack.  Originally over 2K, the maximum stack usage is now below
98672K at 1860  bytes (1.82k)
9868
9869Fixed a problem with the AcpiGetFirmwareTable interface where the
9870root table pointer was not mapped into a logical address properly.
9871
9872Fixed a problem where a NULL pointer was being dereferenced in the
9873interpreter code for the ASL Notify operator.
9874
9875Fixed a problem where the use of the ASL Revision operator
9876returned an error. This operator now returns the current version
9877of the ACPI CA core subsystem.
9878
9879Fixed a problem where objects passed as control method parameters
9880to AcpiEvaluateObject were always deleted at method termination.
9881However, these objects may end up being stored into the namespace
9882by the called method.  The object reference count mechanism was
9883applied to these objects instead of a force delete.
9884
9885Fixed a problem where static strings or buffers (contained in the
9886AML code) that are declared as package elements within the ASL
9887code could cause a fault because the interpreter would attempt to
9888delete them.  These objects are now marked with the "static
9889object" flag to prevent any attempt to delete them.
9890
9891Implemented an interpreter optimization to use operands directly
9892from the state object instead of extracting the operands to local
9893variables.  This reduces stack use and code size, and improves
9894performance.
9895
9896The module exxface.c was eliminated as it was an unnecessary extra
9897layer of code.
9898
9899Current core subsystem library code sizes are shown below.  These
9900are the code and data sizes for the acpica.lib produced by the
9901Microsoft Visual C++ 6.0 compiler, and these values do not include
9902any ACPI driver or OSPM code.  The debug version of the code
9903includes the full debug trace mechanism -- leading to a much
9904larger code and data size.  Note that these values will vary
9905depending on the efficiency of the compiler and the compiler
9906options used during generation.
9907
9908  Non-Debug Version:  65K Code,   5K Data,   70K Total
9909(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
9910Total  (Previously 195K)
9911
9912Linux:
9913
9914Support for ACPI 2.0 64-bit integers has been added.   All ACPI
9915Integer objects are now 64 bits wide
9916
9917All Acpi data types and structures are now in lower case.  Only
9918Acpi macros are upper case for differentiation.
9919
9920 Documentation:
9921
9922Changes to the external interfaces as described above.
9923
9924 ----------------------------------------
9925Summary of changes for this label: 08_31_01
9926
9927 ACPI CA Core Subsystem:
9928
9929A bug with interpreter implementation of the ASL Divide operator
9930was found and fixed.  The implicit function return value (not the
9931explicit store operands) was returning the remainder instead of
9932the quotient.  This was a longstanding bug and it fixes several
9933known outstanding issues on various platforms.
9934
9935The ACPI_DEBUG_PRINT and function trace entry/exit macros have
9936been further optimized for size.  There are 700 invocations of the
9937DEBUG_PRINT macro alone, so each optimization reduces the size of
9938the debug version of the subsystem significantly.
9939
9940A stack trace mechanism has been implemented.  The maximum stack
9941usage is about 2K on 32-bit platforms.  The debugger command "stat
9942stack" will display the current maximum stack usage.
9943
9944All public symbols and global variables within the subsystem are
9945now prefixed with the string "Acpi".  This keeps all of the
9946symbols grouped together in a kernel map, and avoids conflicts
9947with other kernel subsystems.
9948
9949Most of the internal fixed lookup tables have been moved into the
9950code segment via the const operator.
9951
9952Several enhancements have been made to the interpreter to both
9953reduce the code size and improve performance.
9954
9955Current core subsystem library code sizes are shown below.  These
9956are the code and data sizes for the acpica.lib produced by the
9957Microsoft Visual C++ 6.0 compiler, and these values do not include
9958any ACPI driver or OSPM code.  The debug version of the code
9959includes the full debug trace mechanism which contains over 700
9960invocations of the DEBUG_PRINT macro, 500 function entry macro
9961invocations, and over 900 function exit macro invocations --
9962leading to a much larger code and data size.  Note that these
9963values will vary depending on the efficiency of the compiler and
9964the compiler options used during generation.
9965
9966        Non-Debug Version:  64K Code,   5K Data,   69K Total
9967Debug Version:     137K Code,  58K Data,  195K Total
9968
9969 Linux:
9970
9971Implemented wbinvd() macro, pending a kernel-wide definition.
9972
9973Fixed /proc/acpi/event to handle poll() and short reads.
9974
9975 ASL Compiler, version X2026:
9976
9977Fixed a problem introduced in the previous label where the AML
9978
9979code emitted for package objects produced packages with zero
9980length.
9981
9982 ----------------------------------------
9983Summary of changes for this label: 08_16_01
9984
9985ACPI CA Core Subsystem:
9986
9987The following ACPI 2.0 ASL operators have been implemented in the
9988AML interpreter (These are already supported by the Intel ASL
9989compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
9990ToBuffer.  Support for 64-bit AML constants is implemented in the
9991AML parser, debugger, and disassembler.
9992
9993The internal memory tracking mechanism (leak detection code) has
9994been upgraded to reduce the memory overhead (a separate tracking
9995block is no longer allocated for each memory allocation), and now
9996supports all of the internal object caches.
9997
9998The data structures and code for the internal object caches have
9999been coelesced and optimized so that there is a single cache and
10000memory list data structure and a single group of functions that
10001implement generic cache management.  This has reduced the code
10002size in both the debug and release versions of the subsystem.
10003
10004The DEBUG_PRINT macro(s) have been optimized for size and replaced
10005by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
10006different, because it generates a single call to an internal
10007function.  This results in a savings of about 90 bytes per
10008invocation, resulting in an overall code and data savings of about
1000916% in the debug version of the subsystem.
10010
10011 Linux:
10012
10013Fixed C3 disk corruption problems and re-enabled C3 on supporting
10014machines.
10015
10016Integrated low-level sleep code by Patrick Mochel.
10017
10018Further tweaked source code Linuxization.
10019
10020Other minor fixes.
10021
10022 ASL Compiler:
10023
10024Support for ACPI 2.0 variable length packages is fixed/completed.
10025
10026Fixed a problem where the optional length parameter for the ACPI
100272.0 ToString operator.
10028
10029Fixed multiple extraneous error messages when a syntax error is
10030detected within the declaration line of a control method.
10031
10032 ----------------------------------------
10033Summary of changes for this label: 07_17_01
10034
10035ACPI CA Core Subsystem:
10036
10037Added a new interface named AcpiGetFirmwareTable to obtain any
10038ACPI table via the ACPI signature.  The interface can be called at
10039any time during kernel initialization, even before the kernel
10040virtual memory manager is initialized and paging is enabled.  This
10041allows kernel subsystems to obtain ACPI tables very early, even
10042before the ACPI CA subsystem is initialized.
10043
10044Fixed a problem where Fields defined with the AnyAcc attribute
10045could be resolved to the incorrect address under the following
10046conditions: 1) the field width is larger than 8 bits and 2) the
10047parent operation region is not defined on a DWORD boundary.
10048
10049Fixed a problem where the interpreter is not being locked during
10050namespace initialization (during execution of the _INI control
10051methods), causing an error when an attempt is made to release it
10052later.
10053
10054ACPI 2.0 support in the AML Interpreter has begun and will be
10055ongoing throughout the rest of this year.  In this label, The Mod
10056operator is implemented.
10057
10058Added a new data type to contain full PCI addresses named
10059ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
10060and Function values.
10061
10062 Linux:
10063
10064Enhanced the Linux version of the source code to change most
10065capitalized ACPI type names to lowercase. For example, all
10066instances of ACPI_STATUS are changed to acpi_status.  This will
10067result in a large diff, but the change is strictly cosmetic and
10068aligns the CA code closer to the Linux coding standard.
10069
10070OSL Interfaces:
10071
10072The interfaces to the PCI configuration space have been changed to
10073add the PCI Segment number and to split the single 32-bit combined
10074DeviceFunction field into two 16-bit fields.  This was
10075accomplished by moving the four values that define an address in
10076PCI configuration space (segment, bus, device, and function) to
10077the new ACPI_PCI_ID structure.
10078
10079The changes to the PCI configuration space interfaces led to a
10080reexamination of the complete set of address space access
10081interfaces for PCI, I/O, and Memory.  The previously existing 18
10082interfaces have proven difficult to maintain (any small change
10083must be propagated across at least 6 interfaces) and do not easily
10084allow for future expansion to 64 bits if necessary.  Also, on some
10085systems, it would not be appropriate to demultiplex the access
10086width (8, 16, 32,or 64) before calling the OSL if the
10087corresponding native OS interfaces contain a similar access width
10088parameter.  For these reasons, the 18 address space interfaces
10089have been replaced by these 6 new ones:
10090
10091AcpiOsReadPciConfiguration
10092AcpiOsWritePciConfiguration
10093AcpiOsReadMemory
10094AcpiOsWriteMemory
10095AcpiOsReadPort
10096AcpiOsWritePort
10097
10098Added a new interface named AcpiOsGetRootPointer to allow the OSL
10099to perform the platform and/or OS-specific actions necessary to
10100obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
10101interface will simply call down to the CA core to perform the low-
10102memory search for the table.  On IA-64, the RSDP is obtained from
10103EFI.  Migrating this interface to the OSL allows the CA core to
10104
10105remain OS and platform independent.
10106
10107Added a new interface named AcpiOsSignal to provide a generic
10108"function code and pointer" interface for various miscellaneous
10109signals and notifications that must be made to the host OS.   The
10110first such signals are intended to support the ASL Fatal and
10111Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
10112interface has been obsoleted.
10113
10114The definition of the AcpiFormatException interface has been
10115changed to simplify its use.  The caller no longer must supply a
10116buffer to the call; A pointer to a const string is now returned
10117directly.  This allows the call to be easily used in printf
10118statements, etc. since the caller does not have to manage a local
10119buffer.
10120
10121
10122 ASL Compiler, Version X2025:
10123
10124The ACPI 2.0 Switch/Case/Default operators have been implemented
10125and are fully functional.  They will work with all ACPI 1.0
10126interpreters, since the operators are simply translated to If/Else
10127pairs.
10128
10129The ACPI 2.0 ElseIf operator is implemented and will also work
10130with 1.0 interpreters, for the same reason.
10131
10132Implemented support for ACPI 2.0 variable-length packages.  These
10133packages have a separate opcode, and their size is determined by
10134the interpreter at run-time.
10135
10136Documentation The ACPI CA Programmer Reference has been updated to
10137reflect the new interfaces and changes to existing interfaces.
10138
10139 ------------------------------------------
10140Summary of changes for this label: 06_15_01
10141
10142 ACPI CA Core Subsystem:
10143
10144Fixed a problem where a DWORD-accessed field within a Buffer
10145object would get its byte address inadvertently rounded down to
10146the nearest DWORD.  Buffers are always Byte-accessible.
10147
10148 ASL Compiler, version X2024:
10149
10150Fixed a problem where the Switch() operator would either fault or
10151hang the compiler.  Note however, that the AML code for this ACPI
101522.0 operator is not yet implemented.
10153
10154Compiler uses the new AcpiOsGetTimer interface to obtain compile
10155timings.
10156
10157Implementation of the CreateField operator automatically converts
10158a reference to a named field within a resource descriptor from a
10159byte offset to a bit offset if required.
10160
10161Added some missing named fields from the resource descriptor
10162support. These are the names that are automatically created by the
10163compiler to reference fields within a descriptor.  They are only
10164valid at compile time and are not passed through to the AML
10165interpreter.
10166
10167Resource descriptor named fields are now typed as Integers and
10168subject to compile-time typechecking when used in expressions.
10169
10170 ------------------------------------------
10171Summary of changes for this label: 05_18_01
10172
10173 ACPI CA Core Subsystem:
10174
10175Fixed a couple of problems in the Field support code where bits
10176from adjacent fields could be returned along with the proper field
10177bits. Restructured the field support code to improve performance,
10178readability and maintainability.
10179
10180New DEBUG_PRINTP macro automatically inserts the procedure name
10181into the output, saving hundreds of copies of procedure name
10182strings within the source, shrinking the memory footprint of the
10183debug version of the core subsystem.
10184
10185 Source Code Structure:
10186
10187The source code directory tree was restructured to reflect the
10188current organization of the component architecture.  Some files
10189and directories have been moved and/or renamed.
10190
10191 Linux:
10192
10193Fixed leaking kacpidpc processes.
10194
10195Fixed queueing event data even when /proc/acpi/event is not
10196opened.
10197
10198 ASL Compiler, version X2020:
10199
10200Memory allocation performance enhancement - over 24X compile time
10201improvement on large ASL files.  Parse nodes and namestring
10202buffers are now allocated from a large internal compiler buffer.
10203
10204The temporary .SRC file is deleted unless the "-s" option is
10205specified
10206
10207The "-d" debug output option now sends all output to the .DBG file
10208instead of the console.
10209
10210"External" second parameter is now optional
10211
10212"ElseIf" syntax now properly allows the predicate
10213
10214Last operand to "Load" now recognized as a Target operand
10215
10216Debug object can now be used anywhere as a normal object.
10217
10218ResourceTemplate now returns an object of type BUFFER
10219
10220EISAID now returns an object of type INTEGER
10221
10222"Index" now works with a STRING operand
10223
10224"LoadTable" now accepts optional parameters
10225
10226"ToString" length parameter is now optional
10227
10228"Interrupt (ResourceType," parse error fixed.
10229
10230"Register" with a user-defined region space parse error fixed
10231
10232Escaped backslash at the end of a string ("\\") scan/parse error
10233fixed
10234
10235"Revision" is now an object of type INTEGER.
10236
10237
10238
10239------------------------------------------
10240Summary of changes for this label: 05_02_01
10241
10242Linux:
10243
10244/proc/acpi/event now blocks properly.
10245
10246Removed /proc/sys/acpi. You can still dump your DSDT from
10247/proc/acpi/dsdt.
10248
10249 ACPI CA Core Subsystem:
10250
10251Fixed a problem introduced in the previous label where some of the
10252"small" resource descriptor types were not recognized.
10253
10254Improved error messages for the case where an ASL Field is outside
10255the range of the parent operation region.
10256
10257 ASL Compiler, version X2018:
10258
10259
10260Added error detection for ASL Fields that extend beyond the length
10261of the parent operation region (only if the length of the region
10262is known at compile time.)  This includes fields that have a
10263minimum access width that is smaller than the parent region, and
10264individual field units that are partially or entirely beyond the
10265extent of the parent.
10266
10267
10268
10269------------------------------------------
10270Summary of changes for this label: 04_27_01
10271
10272 ACPI CA Core Subsystem:
10273
10274Fixed a problem where the namespace mutex could be released at the
10275wrong time during execution of AcpiRemoveAddressSpaceHandler.
10276
10277Added optional thread ID output for debug traces, to simplify
10278debugging of multiple threads.  Added context switch notification
10279when the debug code realizes that a different thread is now
10280executing ACPI code.
10281
10282Some additional external data types have been prefixed with the
10283string "ACPI_" for consistency.  This may effect existing code.
10284The data types affected are the external callback typedefs - e.g.,
10285
10286WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
10287
10288 Linux:
10289
10290Fixed an issue with the OSL semaphore implementation where a
10291thread was waking up with an error from receiving a SIGCHLD
10292signal.
10293
10294Linux version of ACPI CA now uses the system C library for string
10295manipulation routines instead of a local implementation.
10296
10297Cleaned up comments and removed TBDs.
10298
10299 ASL Compiler, version X2017:
10300
10301Enhanced error detection and reporting for all file I/O
10302operations.
10303
10304 Documentation:
10305
10306Programmer Reference updated to version 1.06.
10307
10308
10309
10310------------------------------------------
10311Summary of changes for this label: 04_13_01
10312
10313 ACPI CA Core Subsystem:
10314
10315Restructured support for BufferFields and RegionFields.
10316BankFields support is now fully operational.  All known 32-bit
10317limitations on field sizes have been removed.  Both BufferFields
10318and (Operation) RegionFields are now supported by the same field
10319management code.
10320
10321Resource support now supports QWORD address and IO resources. The
1032216/32/64 bit address structures and the Extended IRQ structure
10323have been changed to properly handle Source Resource strings.
10324
10325A ThreadId of -1 is now used to indicate a "mutex not acquired"
10326condition internally and must never be returned by AcpiOsThreadId.
10327This reserved value was changed from 0 since Unix systems allow a
10328thread ID of 0.
10329
10330Linux:
10331
10332Driver code reorganized to enhance portability
10333
10334Added a kernel configuration option to control ACPI_DEBUG
10335
10336Fixed the EC driver to honor _GLK.
10337
10338ASL Compiler, version X2016:
10339
10340Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
10341address space was set to 0, not 0x7f as it should be.
10342
10343 ------------------------------------------
10344Summary of changes for this label: 03_13_01
10345
10346 ACPI CA Core Subsystem:
10347
10348During ACPI initialization, the _SB_._INI method is now run if
10349present.
10350
10351Notify handler fix - notifies are deferred until the parent method
10352completes execution.  This fixes the "mutex already acquired"
10353issue seen occasionally.
10354
10355Part of the "implicit conversion" rules in ACPI 2.0 have been
10356found to cause compatibility problems with existing ASL/AML.  The
10357convert "result-to-target-type" implementation has been removed
10358for stores to method Args and Locals.  Source operand conversion
10359is still fully implemented.  Possible changes to ACPI 2.0
10360specification pending.
10361
10362Fix to AcpiRsCalculatePciRoutingTableLength to return correct
10363length.
10364
10365Fix for compiler warnings for 64-bit compiles.
10366
10367 Linux:
10368
10369/proc output aligned for easier parsing.
10370
10371Release-version compile problem fixed.
10372
10373New kernel configuration options documented in Configure.help.
10374
10375IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10376context" message.
10377
10378 OSPM:
10379
10380Power resource driver integrated with bus manager.
10381
10382Fixed kernel fault during active cooling for thermal zones.
10383
10384Source Code:
10385
10386The source code tree has been restructured.
10387
10388
10389
10390------------------------------------------
10391Summary of changes for this label: 03_02_01
10392
10393 Linux OS Services Layer (OSL):
10394
10395Major revision of all Linux-specific code.
10396
10397Modularized all ACPI-specific drivers.
10398
10399Added new thermal zone and power resource drivers.
10400
10401Revamped /proc interface (new functionality is under /proc/acpi).
10402
10403New kernel configuration options.
10404
10405 Linux known issues:
10406
10407New kernel configuration options not documented in Configure.help
10408yet.
10409
10410
10411Module dependencies not currently implemented. If used, they
10412should be loaded in this order: busmgr, power, ec, system,
10413processor, battery, ac_adapter, button, thermal.
10414
10415Modules will not load if CONFIG_MODVERSION is set.
10416
10417IBM 600E - entering S5 may reboot instead of shutting down.
10418
10419IBM 600E - Sleep button may generate "Invalid <NULL> context"
10420message.
10421
10422Some systems may fail with "execution mutex already acquired"
10423message.
10424
10425 ACPI CA Core Subsystem:
10426
10427Added a new OSL Interface, AcpiOsGetThreadId.  This was required
10428for the  deadlock detection code. Defined to return a non-zero, 32-
10429bit thread ID for the currently executing thread.  May be a non-
10430zero constant integer on single-thread systems.
10431
10432Implemented deadlock detection for internal subsystem mutexes.  We
10433may add conditional compilation for this code (debug only) later.
10434
10435ASL/AML Mutex object semantics are now fully supported.  This
10436includes multiple acquires/releases by owner and support for the
10437
10438Mutex SyncLevel parameter.
10439
10440A new "Force Release" mechanism automatically frees all ASL
10441Mutexes that have been acquired but not released when a thread
10442exits the interpreter.  This forces conformance to the ACPI spec
10443("All mutexes must be released when an invocation exits") and
10444prevents deadlocked ASL threads.  This mechanism can be expanded
10445(later) to monitor other resource acquisitions if OEM ASL code
10446continues to misbehave (which it will).
10447
10448Several new ACPI exception codes have been added for the Mutex
10449support.
10450
10451Recursive method calls are now allowed and supported (the ACPI
10452spec does in fact allow recursive method calls.)  The number of
10453recursive calls is subject to the restrictions imposed by the
10454SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10455parameter.
10456
10457Implemented support for the SyncLevel parameter for control
10458methods (ACPI 2.0 feature)
10459
10460Fixed a deadlock problem when multiple threads attempted to use
10461the interpreter.
10462
10463Fixed a problem where the string length of a String package
10464element was not always set in a package returned from
10465AcpiEvaluateObject.
10466
10467Fixed a problem where the length of a String package element was
10468not always included in the length of the overall package returned
10469from AcpiEvaluateObject.
10470
10471Added external interfaces (Acpi*) to the ACPI debug memory
10472manager.  This manager keeps a list of all outstanding
10473allocations, and can therefore detect memory leaks and attempts to
10474free memory blocks more than once. Useful for code such as the
10475power manager, etc.  May not be appropriate for device drivers.
10476Performance with the debug code enabled is slow.
10477
10478The ACPI Global Lock is now an optional hardware element.
10479
10480 ASL Compiler Version X2015:
10481
10482Integrated changes to allow the compiler to be generated on
10483multiple platforms.
10484
10485Linux makefile added to generate the compiler on Linux
10486
10487 Source Code:
10488
10489All platform-specific headers have been moved to their own
10490subdirectory, Include/Platform.
10491
10492New source file added, Interpreter/ammutex.c
10493
10494New header file, Include/acstruct.h
10495
10496 Documentation:
10497
10498The programmer reference has been updated for the following new
10499interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10500
10501 ------------------------------------------
10502Summary of changes for this label: 02_08_01
10503
10504Core ACPI CA Subsystem: Fixed a problem where an error was
10505incorrectly returned if the return resource buffer was larger than
10506the actual data (in the resource interfaces).
10507
10508References to named objects within packages are resolved to the
10509
10510full pathname string before packages are returned directly (via
10511the AcpiEvaluateObject interface) or indirectly via the resource
10512interfaces.
10513
10514Linux OS Services Layer (OSL):
10515
10516Improved /proc battery interface.
10517
10518
10519Added C-state debugging output and other miscellaneous fixes.
10520
10521ASL Compiler Version X2014:
10522
10523All defined method arguments can now be used as local variables,
10524including the ones that are not actually passed in as parameters.
10525The compiler tracks initialization of the arguments and issues an
10526exception if they are used without prior assignment (just like
10527locals).
10528
10529The -o option now specifies a filename prefix that is used for all
10530output files, including the AML output file.  Otherwise, the
10531default behavior is as follows:  1) the AML goes to the file
10532specified in the DSDT.  2) all other output files use the input
10533source filename as the base.
10534
10535 ------------------------------------------
10536Summary of changes for this label: 01_25_01
10537
10538Core ACPI CA Subsystem: Restructured the implementation of object
10539store support within the  interpreter.  This includes support for
10540the Store operator as well  as any ASL operators that include a
10541target operand.
10542
10543Partially implemented support for Implicit Result-to-Target
10544conversion. This is when a result object is converted on the fly
10545to the type of  an existing target object.  Completion of this
10546support is pending  further analysis of the ACPI specification
10547concerning this matter.
10548
10549CPU-specific code has been removed from the subsystem (hardware
10550directory).
10551
10552New Power Management Timer functions added
10553
10554Linux OS Services Layer (OSL): Moved system state transition code
10555to the core, fixed it, and modified  Linux OSL accordingly.
10556
10557Fixed C2 and C3 latency calculations.
10558
10559
10560We no longer use the compilation date for the version message on
10561initialization, but retrieve the version from AcpiGetSystemInfo().
10562
10563Incorporated for fix Sony VAIO machines.
10564
10565Documentation:  The Programmer Reference has been updated and
10566reformatted.
10567
10568
10569ASL Compiler:  Version X2013: Fixed a problem where the line
10570numbering and error reporting could get out  of sync in the
10571presence of multiple include files.
10572
10573 ------------------------------------------
10574Summary of changes for this label: 01_15_01
10575
10576Core ACPI CA Subsystem:
10577
10578Implemented support for type conversions in the execution of the
10579ASL  Concatenate operator (The second operand is converted to
10580match the type  of the first operand before concatenation.)
10581
10582Support for implicit source operand conversion is partially
10583implemented.   The ASL source operand types Integer, Buffer, and
10584String are freely  interchangeable for most ASL operators and are
10585converted by the interpreter  on the fly as required.  Implicit
10586Target operand conversion (where the  result is converted to the
10587target type before storing) is not yet implemented.
10588
10589Support for 32-bit and 64-bit BCD integers is implemented.
10590
10591Problem fixed where a field read on an aligned field could cause a
10592read  past the end of the field.
10593
10594New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
10595does not return a value, but the caller expects one.  (The ASL
10596compiler flags this as a warning.)
10597
10598ASL Compiler:
10599
10600Version X2011:
106011. Static typechecking of all operands is implemented. This
10602prevents the use of invalid objects (such as using a Package where
10603an Integer is required) at compile time instead of at interpreter
10604run-time.
106052. The ASL source line is printed with ALL errors and warnings.
106063. Bug fix for source EOF without final linefeed.
106074. Debug option is split into a parse trace and a namespace trace.
106085. Namespace output option (-n) includes initial values for
10609integers and strings.
106106. Parse-only option added for quick syntax checking.
106117. Compiler checks for duplicate ACPI name declarations
10612
10613Version X2012:
106141. Relaxed typechecking to allow interchangeability between
10615strings, integers, and buffers.  These types are now converted by
10616the interpreter at runtime.
106172. Compiler reports time taken by each internal subsystem in the
10618debug         output file.
10619
10620
10621 ------------------------------------------
10622Summary of changes for this label: 12_14_00
10623
10624ASL Compiler:
10625
10626This is the first official release of the compiler. Since the
10627compiler requires elements of the Core Subsystem, this label
10628synchronizes everything.
10629
10630------------------------------------------
10631Summary of changes for this label: 12_08_00
10632
10633
10634Fixed a problem where named references within the ASL definition
10635of both OperationRegions and CreateXXXFields did not work
10636properly.  The symptom was an AE_AML_OPERAND_TYPE during
10637initialization of the region/field. This is similar (but not
10638related internally) to the problem that was fixed in the last
10639label.
10640
10641Implemented both 32-bit and 64-bit support for the BCD ASL
10642functions ToBCD and FromBCD.
10643
10644Updated all legal headers to include "2000" in the copyright
10645years.
10646
10647 ------------------------------------------
10648Summary of changes for this label: 12_01_00
10649
10650Fixed a problem where method invocations within the ASL definition
10651of both OperationRegions and CreateXXXFields did not work
10652properly.  The symptom was an AE_AML_OPERAND_TYPE during
10653initialization of the region/field:
10654
10655  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
10656[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
10657(0x3005)
10658
10659Fixed a problem where operators with more than one nested
10660subexpression would fail.  The symptoms were varied, by mostly
10661AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
10662problem that has gone unnoticed until now.
10663
10664  Subtract (Add (1,2), Multiply (3,4))
10665
10666Fixed a problem where AcpiGetHandle didn't quite get fixed in the
10667previous build (The prefix part of a relative path was handled
10668incorrectly).
10669
10670Fixed a problem where Operation Region initialization failed if
10671the operation region name was a "namepath" instead of a simple
10672"nameseg". Symptom was an AE_NO_OPERAND error.
10673
10674Fixed a problem where an assignment to a local variable via the
10675indirect RefOf mechanism only worked for the first such
10676assignment.  Subsequent assignments were ignored.
10677
10678 ------------------------------------------
10679Summary of changes for this label: 11_15_00
10680
10681ACPI 2.0 table support with backwards support for ACPI 1.0 and the
106820.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
10683the AML  interpreter does NOT have support for the new 2.0 ASL
10684grammar terms at this time.
10685
10686All ACPI hardware access is via the GAS structures in the ACPI 2.0
10687FADT.
10688
10689All physical memory addresses across all platforms are now 64 bits
10690wide. Logical address width remains dependent on the platform
10691(i.e., "void *").
10692
10693AcpiOsMapMemory interface changed to a 64-bit physical address.
10694
10695The AML interpreter integer size is now 64 bits, as per the ACPI
106962.0 specification.
10697
10698For backwards compatibility with ACPI 1.0, ACPI tables with a
10699revision number less than 2 use 32-bit integers only.
10700
10701Fixed a problem where the evaluation of OpRegion operands did not
10702always resolve them to numbers properly.
10703
10704------------------------------------------
10705Summary of changes for this label: 10_20_00
10706
10707Fix for CBN_._STA issue.  This fix will allow correct access to
10708CBN_ OpRegions when the _STA returns 0x8.
10709
10710Support to convert ACPI constants (Ones, Zeros, One) to actual
10711values before a package object is returned
10712
10713Fix for method call as predicate to if/while construct causing
10714incorrect if/while behavior
10715
10716Fix for Else block package lengths sometimes calculated wrong (if
10717block > 63 bytes)
10718
10719Fix for Processor object length field, was always zero
10720
10721Table load abort if FACP sanity check fails
10722
10723Fix for problem with Scope(name) if name already exists
10724
10725Warning emitted if a named object referenced cannot be found
10726(resolved) during method execution.
10727
10728
10729
10730
10731
10732------------------------------------------
10733Summary of changes for this label: 9_29_00
10734
10735New table initialization interfaces: AcpiInitializeSubsystem no
10736longer has any parameters AcpiFindRootPointer - Find the RSDP (if
10737necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
10738>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
10739AcpiLoadTables
10740
10741Note: These interface changes require changes to all existing OSDs
10742
10743The PCI_Config default address space handler is always installed
10744at the root namespace object.
10745
10746-------------------------------------------
10747Summary of changes for this label: 09_15_00
10748
10749The new initialization architecture is implemented.  New
10750interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
10751AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
10752
10753(Namespace is automatically loaded when a table is loaded)
10754
10755The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1075652 bytes to 32 bytes.  There is usually one of these for every
10757namespace object, so the memory savings is significant.
10758
10759Implemented just-in-time evaluation of the CreateField operators.
10760
10761Bug fixes for IA-64 support have been integrated.
10762
10763Additional code review comments have been implemented
10764
10765The so-called "third pass parse" has been replaced by a final walk
10766through the namespace to initialize all operation regions (address
10767spaces) and fields that have not yet been initialized during the
10768execution of the various _INI and REG methods.
10769
10770New file - namespace/nsinit.c
10771
10772-------------------------------------------
10773Summary of changes for this label: 09_01_00
10774
10775Namespace manager data structures have been reworked to change the
10776primary  object from a table to a single object.  This has
10777resulted in dynamic memory  savings of 3X within the namespace and
107782X overall in the ACPI CA subsystem.
10779
10780Fixed problem where the call to AcpiEvFindPciRootBuses was
10781inadvertently left  commented out.
10782
10783Reduced the warning count when generating the source with the GCC
10784compiler.
10785
10786Revision numbers added to each module header showing the
10787SourceSafe version of the file.  Please refer to this version
10788number when giving us feedback or comments on individual modules.
10789
10790The main object types within the subsystem have been renamed to
10791clarify their  purpose:
10792
10793ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
10794ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
10795ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
10796
10797NOTE: no changes to the initialization sequence are included in
10798this label.
10799
10800-------------------------------------------
10801Summary of changes for this label: 08_23_00
10802
10803Fixed problem where TerminateControlMethod was being called
10804multiple times per  method
10805
10806Fixed debugger problem where single stepping caused a semaphore to
10807be  oversignalled
10808
10809Improved performance through additional parse object caching -
10810added  ACPI_EXTENDED_OP type
10811
10812-------------------------------------------
10813Summary of changes for this label: 08_10_00
10814
10815Parser/Interpreter integration:  Eliminated the creation of
10816complete parse trees  for ACPI tables and control methods.
10817Instead, parse subtrees are created and  then deleted as soon as
10818they are processed (Either entered into the namespace or  executed
10819by the interpreter).  This reduces the use of dynamic kernel
10820memory  significantly. (about 10X)
10821
10822Exception codes broken into classes and renumbered.  Be sure to
10823recompile all  code that includes acexcep.h.  Hopefully we won't
10824have to renumber the codes  again now that they are split into
10825classes (environment, programmer, AML code,  ACPI table, and
10826internal).
10827
10828Fixed some additional alignment issues in the Resource Manager
10829subcomponent
10830
10831Implemented semaphore tracking in the AcpiExec utility, and fixed
10832several places  where mutexes/semaphores were being unlocked
10833without a corresponding lock  operation.  There are no known
10834semaphore or mutex "leaks" at this time.
10835
10836Fixed the case where an ASL Return operator is used to return an
10837unnamed  package.
10838
10839-------------------------------------------
10840Summary of changes for this label: 07_28_00
10841
10842Fixed a problem with the way addresses were calculated in
10843AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
10844manifested itself when a Field was  created with WordAccess or
10845DwordAccess, but the field unit defined within the  Field was less
10846
10847than a Word or Dword.
10848
10849Fixed a problem in AmlDumpOperands() module's loop to pull
10850operands off of the  operand stack to display information. The
10851problem manifested itself as a TLB  error on 64-bit systems when
10852accessing an operand stack with two or more  operands.
10853
10854Fixed a problem with the PCI configuration space handlers where
10855context was  getting confused between accesses. This required a
10856change to the generic address  space handler and address space
10857setup definitions. Handlers now get both a  global handler context
10858(this is the one passed in by the user when executing
10859AcpiInstallAddressSpaceHandler() and a specific region context
10860that is unique to  each region (For example, the _ADR, _SEG and
10861_BBN values associated with a  specific region). The generic
10862function definitions have changed to the  following:
10863
10864typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
10865UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
10866*HandlerContext, // This used to be void *Context void
10867*RegionContext); // This is an additional parameter
10868
10869typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
10870RegionHandle, UINT32 Function, void *HandlerContext,  void
10871**RegionContext); // This used to be **ReturnContext
10872
10873-------------------------------------------
10874Summary of changes for this label: 07_21_00
10875
10876Major file consolidation and rename.  All files within the
10877interpreter have been  renamed as well as most header files.  This
10878was done to prevent collisions with  existing files in the host
10879OSs -- filenames such as "config.h" and "global.h"  seem to be
10880quite common.  The VC project files have been updated.  All
10881makefiles  will require modification.
10882
10883The parser/interpreter integration continues in Phase 5 with the
10884implementation  of a complete 2-pass parse (the AML is parsed
10885twice) for each table;  This  avoids the construction of a huge
10886parse tree and therefore reduces the amount of  dynamic memory
10887required by the subsystem.  Greater use of the parse object cache
10888means that performance is unaffected.
10889
10890Many comments from the two code reviews have been rolled in.
10891
10892The 64-bit alignment support is complete.
10893
10894-------------------------------------------
10895Summary of changes for this label: 06_30_00
10896
10897With a nod and a tip of the hat to the technology of yesteryear,
10898we've added  support in the source code for 80 column output
10899devices.  The code is now mostly  constrained to 80 columns or
10900less to support environments and editors that 1)  cannot display
10901or print more than 80 characters on a single line, and 2) cannot
10902disable line wrapping.
10903
10904A major restructuring of the namespace data structure has been
10905completed.  The  result is 1) cleaner and more
10906understandable/maintainable code, and 2) a  significant reduction
10907in the dynamic memory requirement for each named ACPI  object
10908(almost half).
10909
10910-------------------------------------------
10911Summary of changes for this label: 06_23_00
10912
10913Linux support has been added.  In order to obtain approval to get
10914the ACPI CA  subsystem into the Linux kernel, we've had to make
10915quite a few changes to the  base subsystem that will affect all
10916users (all the changes are generic and OS- independent).  The
10917effects of these global changes have been somewhat far  reaching.
10918Files have been merged and/or renamed and interfaces have been
10919renamed.   The major changes are described below.
10920
10921Osd* interfaces renamed to AcpiOs* to eliminate namespace
10922pollution/confusion  within our target kernels.  All OSD
10923interfaces must be modified to match the new  naming convention.
10924
10925Files merged across the subsystem.  A number of the smaller source
10926and header  files have been merged to reduce the file count and
10927increase the density of the  existing files.  There are too many
10928to list here.  In general, makefiles that  call out individual
10929files will require rebuilding.
10930
10931Interpreter files renamed.  All interpreter files now have the
10932prefix am*  instead of ie* and is*.
10933
10934Header files renamed:  The acapi.h file is now acpixf.h.  The
10935acpiosd.h file is  now acpiosxf.h.  We are removing references to
10936the acronym "API" since it is  somewhat windowsy. The new name is
10937"external interface" or xface or xf in the  filenames.j
10938
10939
10940All manifest constants have been forced to upper case (some were
10941mixed case.)   Also, the string "ACPI_" has been prepended to many
10942(not all) of the constants,  typedefs, and structs.
10943
10944The globals "DebugLevel" and "DebugLayer" have been renamed
10945"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
10946
10947All other globals within the subsystem are now prefixed with
10948"AcpiGbl_" Internal procedures within the subsystem are now
10949prefixed with "Acpi" (with only  a few exceptions).  The original
10950two-letter abbreviation for the subcomponent  remains after "Acpi"
10951- for example, CmCallocate became AcpiCmCallocate.
10952
10953Added a source code translation/conversion utility.  Used to
10954generate the Linux  source code, it can be modified to generate
10955other types of source as well. Can  also be used to cleanup
10956existing source by removing extraneous spaces and blank  lines.
10957Found in tools/acpisrc/*
10958
10959OsdUnMapMemory was renamed to OsdUnmapMemory and then
10960AcpiOsUnmapMemory.  (UnMap  became Unmap).
10961
10962A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
10963When set to  one, this indicates that the caller wants to use the
10964
10965semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
10966both types.  However, implementers of this  call may want to use
10967different OS primitives depending on the type of semaphore
10968requested.  For example, some operating systems provide separate
10969
10970"mutex" and  "semaphore" interfaces - where the mutex interface is
10971much faster because it  doesn't have all the overhead of a full
10972semaphore implementation.
10973
10974Fixed a deadlock problem where a method that accesses the PCI
10975address space can  block forever if it is the first access to the
10976space.
10977
10978-------------------------------------------
10979Summary of changes for this label: 06_02_00
10980
10981Support for environments that cannot handle unaligned data
10982accesses (e.g.  firmware and OS environments devoid of alignment
10983handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
10984been added (via configurable macros) in  these three areas: -
10985Transfer of data from the raw AML byte stream is done via byte
10986moves instead of    word/dword/qword moves. - External objects are
10987aligned within the user buffer, including package   elements (sub-
10988objects). - Conversion of name strings to UINT32 Acpi Names is now
10989done byte-wise.
10990
10991The Store operator was modified to mimic Microsoft's
10992implementation when storing  to a Buffer Field.
10993
10994Added a check of the BM_STS bit before entering C3.
10995
10996The methods subdirectory has been obsoleted and removed.  A new
10997file, cmeval.c  subsumes the functionality.
10998
10999A 16-bit (DOS) version of AcpiExec has been developed.  The
11000makefile is under  the acpiexec directory.
11001