1117521Snjl----------------------------------------
2222544Sjkim27 May 2011. Summary of changes for version 20110527:
3222544Sjkim
4222544SjkimThis release is available at www.acpica.org/downloads
5222544Sjkim
6222544Sjkim1) ACPI CA Core Subsystem:
7222544Sjkim
8222544SjkimASL Load() operator: Reinstate most restrictions on the incoming ACPI table 
9222544Sjkimsignature. Now, only allow SSDT, OEMx, and a null signature. History:
10222544Sjkim    1) Originally, we checked the table signature for "SSDT" or "PSDT".
11222544Sjkim       (PSDT is now obsolete.)
12222544Sjkim    2) We added support for OEMx tables, signature "OEM" plus a fourth
13222544Sjkim       "don't care" character.
14222544Sjkim    3) Valid tables were encountered with a null signature, so we just
15222544Sjkim       gave up on validating the signature, (05/2008).
16222544Sjkim    4) We encountered non-AML tables such as the MADT, which caused
17222544Sjkim       interpreter errors and kernel faults. So now, we once again allow
18222544Sjkim       only SSDT, OEMx, and now, also a null signature. (05/2011).
19222544Sjkim
20222544SjkimAdded the missing _TDL predefined name to the global name list in order to 
21222544Sjkimenable validation. Affects both the core ACPICA code and the iASL compiler.
22222544Sjkim
23222544SjkimExample Code and Data Size: These are the sizes for the OS-independent 
24222544Sjkimacpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
25222544Sjkimversion of the code includes the debug output trace mechanism and has a much 
26222544Sjkimlarger code and data size.
27222544Sjkim
28222544Sjkim  Previous Release (VC 9.0):
29222544Sjkim    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
30222544Sjkim    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
31222544Sjkim  Current Release (VC 9.0):
32222544Sjkim    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
33222544Sjkim    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
34222544Sjkim
35222544Sjkim2) iASL Compiler/Disassembler and Tools:
36222544Sjkim
37222544SjkimDebugger/AcpiExec: Implemented support for "complex" method arguments on the 
38222544Sjkimdebugger command line. This adds support beyond simple integers -- including 
39222544SjkimStrings, Buffers, and Packages. Includes support for nested packages. 
40222544SjkimIncreased the default command line buffer size to accommodate these arguments. 
41222544SjkimSee the ACPICA reference for details and syntax. ACPICA BZ 917.
42222544Sjkim 
43222544SjkimDebugger/AcpiExec: Implemented support for "default" method arguments for the 
44222544SjkimExecute/Debug command. Now, the debugger will always invoke a control method 
45222544Sjkimwith the required number of arguments -- even if the command line specifies 
46222544Sjkimnone or insufficient arguments. It uses default integer values for any missing 
47222544Sjkimarguments. Also fixes a bug where only six method arguments maximum were 
48222544Sjkimsupported instead of the required seven.
49222544Sjkim
50222544SjkimDebugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine and 
51222544Sjkimalso return status in order to prevent buffer overruns. See the ACPICA 
52222544Sjkimreference for details and syntax. ACPICA BZ 921
53222544Sjkim
54222544SjkimiASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
55222544Sjkimmakefiles to simplify support for the two different but similar parser 
56222544Sjkimgenerators, bison and yacc.
57222544Sjkim
58222544SjkimUpdated the generic unix makefile for gcc 4. The default gcc version is now 
59222544Sjkimexpected to be 4 or greater, since options specific to gcc 4 are used.
60222544Sjkim
61222544Sjkim----------------------------------------
62220663Sjkim13 April 2011. Summary of changes for version 20110413:
63220663Sjkim
64220663Sjkim1) ACPI CA Core Subsystem:
65220663Sjkim
66220663SjkimImplemented support to execute a so-called "orphan" _REG method under the EC 
67222544Sjkimdevice. This change will force the execution of a _REG method underneath the 
68222544SjkimEC 
69220663Sjkimdevice even if there is no corresponding operation region of type 
70220663SjkimEmbeddedControl. Fixes a problem seen on some machines and apparently is 
71220663Sjkimcompatible with Windows behavior. ACPICA BZ 875.
72220663Sjkim
73220663SjkimAdded more predefined methods that are eligible for automatic NULL package 
74222544Sjkimelement removal. This change adds another group of predefined names to the 
75222544Sjkimlist 
76220663Sjkimof names that can be repaired by having NULL package elements dynamically 
77220663Sjkimremoved. This group are those methods that return a single variable-length 
78220663Sjkimpackage containing simple data types such as integers, buffers, strings. This 
79222544Sjkimincludes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, _PSL, 
80222544Sjkim_Sx, 
81220663Sjkimand _TZD. ACPICA BZ 914.
82220663Sjkim
83222544SjkimSplit and segregated all internal global lock functions to a new file, 
84222544Sjkimevglock.c.
85220663Sjkim
86222544SjkimUpdated internal address SpaceID for DataTable regions. Moved this internal 
87222544Sjkimspace 
88222544Sjkimid in preparation for ACPI 5.0 changes that will include some new space IDs. 
89222544SjkimThis 
90220663Sjkimchange should not affect user/host code.
91220663Sjkim
92222544SjkimExample Code and Data Size: These are the sizes for the OS-independent 
93222544Sjkimacpica.lib 
94220663Sjkimproduced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
95222544Sjkimthe code includes the debug output trace mechanism and has a much larger code 
96222544Sjkimand 
97220663Sjkimdata size.
98220663Sjkim
99220663Sjkim  Previous Release (VC 9.0):
100220663Sjkim    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
101220663Sjkim    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
102220663Sjkim  Current Release (VC 9.0):
103220663Sjkim    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
104220663Sjkim    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
105220663Sjkim
106220663Sjkim2) iASL Compiler/Disassembler and Tools:
107220663Sjkim
108220663SjkimiASL/DTC: Major update for new grammar features. Allow generic data types in 
109220663Sjkimcustom ACPI tables. Field names are now optional. Any line can be split to 
110220663Sjkimmultiple lines using the continuation char (\). Large buffers now use line-
111222544Sjkimcontinuation character(s) and no colon on the continuation lines. See the 
112222544Sjkimgrammar 
113220663Sjkimupdate in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob Moore.
114220663Sjkim
115220663SjkimiASL: Mark ASL "Return()" and the simple "Return" as "Null" return statements. 
116222544SjkimSince the parser stuffs a "zero" as the return value for these statements (due 
117222544Sjkimto 
118220663Sjkimthe underlying AML grammar), they were seen as "return with value" by the iASL 
119220663Sjkimsemantic checking. They are now seen correctly as "null" return statements.
120220663Sjkim
121220663SjkimiASL: Check if a_REG declaration has a corresponding Operation Region. Adds a 
122220663Sjkimcheck for each _REG to ensure that there is in fact a corresponding operation 
123222544Sjkimregion declaration in the same scope. If not, the _REG method is not very 
124222544Sjkimuseful 
125220663Sjkimsince it probably won't be executed. ACPICA BZ 915.
126220663Sjkim
127222544SjkimiASL/DTC: Finish support for expression evaluation. Added a new expression 
128222544Sjkimparser 
129222544Sjkimthat implements c-style operator precedence and parenthesization. ACPICA 
130222544Sjkimbugzilla 
131220663Sjkim908.
132220663Sjkim
133222544SjkimDisassembler/DTC: Remove support for () and <> style comments in data tables. 
134222544SjkimNow 
135222544Sjkimthat DTC has full expression support, we don't want to have comment strings 
136222544Sjkimthat 
137222544Sjkimstart with a parentheses or a less-than symbol. Now, only the standard /* and 
138222544Sjkim// 
139220663Sjkimcomments are supported, as well as the bracket [] comments.
140220663Sjkim
141222544SjkimAcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
142222544Sjkim"unusual" 
143220663Sjkimheaders in the acpidump file. Update the header validation to support these 
144220663Sjkimtables. Problem introduced in previous AcpiXtract version in the change to 
145220663Sjkimsupport "wrong checksum" error messages emitted by acpidump utility.
146220663Sjkim
147222544SjkimiASL: Add a * option to generate all template files (as a synonym for ALL) as 
148222544Sjkimin 
149220663Sjkim"iasl -T *" or "iasl -T ALL".
150220663Sjkim
151220663SjkimiASL/DTC: Do not abort compiler on fatal errors. We do not want to completely 
152220663Sjkimabort the compiler on "fatal" errors, simply should abort the current compile. 
153220663SjkimThis allows multiple compiles with a single (possibly wildcard) compiler 
154220663Sjkiminvocation.
155220663Sjkim
156220663Sjkim----------------------------------------
157219707Sjkim16 March 2011. Summary of changes for version 20110316:
158219707Sjkim
159219707Sjkim1) ACPI CA Core Subsystem:
160219707Sjkim
161219707SjkimFixed a problem caused by a _PRW method appearing at the namespace root scope 
162222544Sjkimduring the setup of wake GPEs. A fault could occur if a _PRW directly under 
163222544Sjkimthe 
164219707Sjkimroot object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
165219707Sjkim
166219707SjkimImplemented support for "spurious" Global Lock interrupts. On some systems, a 
167219707Sjkimglobal lock interrupt can occur without the pending flag being set. Upon a GL 
168219707Sjkiminterrupt, we now ensure that a thread is actually waiting for the lock before 
169219707Sjkimsignaling GL availability. Rafael Wysocki, Bob Moore.
170219707Sjkim
171222544SjkimExample Code and Data Size: These are the sizes for the OS-independent 
172222544Sjkimacpica.lib 
173219707Sjkimproduced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug version of 
174222544Sjkimthe code includes the debug output trace mechanism and has a much larger code 
175222544Sjkimand 
176219707Sjkimdata size.
177219707Sjkim
178219707Sjkim  Previous Release (VC 9.0):
179219707Sjkim    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
180219707Sjkim    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
181219707Sjkim  Current Release (VC 9.0):
182219707Sjkim    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
183219707Sjkim    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
184219707Sjkim
185219707Sjkim2) iASL Compiler/Disassembler and Tools:
186219707Sjkim
187219707SjkimImplemented full support for the "SLIC" ACPI table. Includes support in the 
188219707Sjkimheader files, disassembler, table compiler, and template generator. Bob Moore, 
189219707SjkimLin Ming.
190219707Sjkim
191219707SjkimAcpiXtract: Correctly handle embedded comments and messages from AcpiDump. 
192222544SjkimApparently some or all versions of acpidump will occasionally emit a comment 
193222544Sjkimlike 
194219707Sjkim"Wrong checksum", etc., into the dump file. This was causing problems for 
195219707SjkimAcpiXtract. ACPICA BZ 905.
196219707Sjkim
197219707SjkimiASL: Fix the Linux makefile by removing an inadvertent double file inclusion. 
198219707SjkimACPICA BZ 913.
199219707Sjkim
200222544SjkimAcpiExec: Update installation of operation region handlers. Install one 
201222544Sjkimhandler 
202219707Sjkimfor a user-defined address space. This is used by the ASL test suite (ASLTS).
203219707Sjkim
204219707Sjkim----------------------------------------
205218590Sjkim11 February 2011. Summary of changes for version 20110211:
206218590Sjkim
207218590Sjkim1) ACPI CA Core Subsystem:
208218590Sjkim
209218590SjkimAdded a mechanism to defer _REG methods for some early-installed handlers. 
210218590SjkimMost user handlers should be installed before call to AcpiEnableSubsystem. 
211218590SjkimHowever, Event handlers and region handlers should be installed after 
212218590SjkimAcpiInitializeObjects. Override handlers for the "default" regions should be 
213218590Sjkiminstalled early, however. This change executes all _REG methods for the 
214218590Sjkimdefault regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
215218590Sjkimchicken/egg issues between them. ACPICA BZ 848.
216218590Sjkim
217218590SjkimImplemented an optimization for GPE detection. This optimization will simply 
218218590Sjkimignore GPE registers that contain no enabled GPEs -- there is no need to 
219218590Sjkimread the register since this information is available internally. This 
220218590Sjkimbecomes more important on machines with a large GPE space. ACPICA bugzilla 
221218590Sjkim884. Lin Ming. Suggestion from Joe Liu.
222218590Sjkim
223218590SjkimRemoved all use of the highly unreliable FADT revision field. The revision 
224218590Sjkimnumber in the FADT has been found to be completely unreliable and cannot be 
225218590Sjkimtrusted. Only the actual table length can be used to infer the version. This 
226218590Sjkimchange updates the ACPICA core and the disassembler so that both no longer 
227218590Sjkimeven look at the FADT version and instead depend solely upon the FADT 
228218590Sjkimlength.
229218590Sjkim
230218590SjkimFix an unresolved name issue for the no-debug and no-error-message source 
231218590Sjkimgeneration cases. The _AcpiModuleName was left undefined in these cases, but 
232218590Sjkimit is actually needed as a parameter to some interfaces. Define 
233218590Sjkim_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
234218590Sjkim
235218590SjkimSplit several large files (makefiles and project files updated)
236218590Sjkim  utglobal.c   -> utdecode.c
237218590Sjkim  dbcomds.c    -> dbmethod.c dbnames.c
238218590Sjkim  dsopcode.c   -> dsargs.c dscontrol.c
239218590Sjkim  dsload.c     -> dsload2.c
240218590Sjkim  aslanalyze.c -> aslbtypes.c aslwalks.c
241218590Sjkim
242218590SjkimExample Code and Data Size: These are the sizes for the OS-independent 
243218590Sjkimacpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
244218590Sjkimdebug version of the code includes the debug output trace mechanism and has 
245218590Sjkima much larger code and data size.
246218590Sjkim
247218590Sjkim  Previous Release (VC 9.0):
248218590Sjkim    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
249218590Sjkim    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
250218590Sjkim  Current Release (VC 9.0):
251218590Sjkim    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
252218590Sjkim    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
253218590Sjkim
254218590Sjkim2) iASL Compiler/Disassembler and Tools:
255218590Sjkim
256218590SjkimiASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
257218590SjkimThese are useful C-style macros with the standard definitions. ACPICA 
258218590Sjkimbugzilla 898.
259218590Sjkim
260218590SjkimiASL/DTC: Added support for integer expressions and labels. Support for full 
261218590Sjkimexpressions for all integer fields in all ACPI tables. Support for labels in 
262218590Sjkim"generic" portions of tables such as UEFI. See the iASL reference manual.
263218590Sjkim
264218590SjkimDebugger: Added a command to display the status of global handlers. The 
265218590Sjkim"handlers" command will display op region, fixed event, and miscellaneous 
266218590Sjkimglobal handlers. installation status -- and for op regions, whether default 
267218590Sjkimor user-installed handler will be used.
268218590Sjkim
269218590SjkimiASL: Warn if reserved method incorrectly returns a value. Many predefined 
270218590Sjkimnames are defined such that they do not return a value. If implemented as a 
271218590Sjkimmethod, issue a warning if such a name explicitly returns a value. ACPICA 
272218590SjkimBugzilla 855.
273218590Sjkim
274218590SjkimiASL: Added detection of GPE method name conflicts. Detects a conflict where 
275218590Sjkimthere are two GPE methods of the form _Lxy and _Exy in the same scope. (For 
276218590Sjkimexample, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
277218590Sjkim
278218590SjkimiASL/DTC: Fixed a couple input scanner issues with comments and line 
279218590Sjkimnumbers. Comment remover could get confused and miss a comment ending. Fixed 
280218590Sjkima problem with line counter maintenance.
281218590Sjkim
282218590SjkimiASL/DTC: Reduced the severity of some errors from fatal to error. There is 
283218590Sjkimno need to abort on simple errors within a field definition.
284218590Sjkim
285218590SjkimDebugger: Simplified the output of the help command. All help output now in 
286218590Sjkima single screen, instead of help subcommands. ACPICA Bugzilla 897.
287218590Sjkim
288218590Sjkim----------------------------------------
289217365Sjkim12 January 2011. Summary of changes for version 20110112:
290217365Sjkim
291217365Sjkim1) ACPI CA Core Subsystem:
292217365Sjkim
293217365SjkimFixed a race condition between method execution and namespace walks that can 
294217365Sjkimpossibly cause a fault. The problem was apparently introduced in version 
295220663Sjkim20100528 as a result of a performance optimization that reduces the number of 
296217365Sjkimnamespace walks upon method exit by using the delete_namespace_subtree 
297217365Sjkimfunction instead of the delete_namespace_by_owner function used previously. 
298217365SjkimBug is a missing namespace lock in the delete_namespace_subtree function. 
299217365Sjkimdana.myers@oracle.com
300217365Sjkim
301217365SjkimFixed several issues and a possible fault with the automatic "serialized" 
302220663Sjkimmethod support. History: This support changes a method to "serialized" on the 
303217365Sjkimfly if the method generates an AE_ALREADY_EXISTS error, indicating the 
304217365Sjkimpossibility that it cannot handle reentrancy. This fix repairs a couple of 
305217365Sjkimissues seen in the field, especially on machines with many cores:
306217365Sjkim
307217365Sjkim    1) Delete method children only upon the exit of the last thread,
308217365Sjkim       so as to not delete objects out from under other running threads
309217365Sjkim      (and possibly causing a fault.)
310217365Sjkim    2) Set the "serialized" bit for the method only upon the exit of the
311217365Sjkim       Last thread, so as to not cause deadlock when running threads
312217365Sjkim       attempt to exit.
313217365Sjkim    3) Cleanup the use of the AML "MethodFlags" and internal method flags
314217365Sjkim       so that there is no longer any confusion between the two.
315217365Sjkim
316217365Sjkim    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
317217365Sjkim
318217365SjkimDebugger: Now lock the namespace for duration of a namespace dump. Prevents 
319217365Sjkimissues if the namespace is changing dynamically underneath the debugger. 
320217365SjkimEspecially affects temporary namespace nodes, since the debugger displays 
321217365Sjkimthese also.
322217365Sjkim
323217365SjkimUpdated the ordering of include files. The ACPICA headers should appear 
324217365Sjkimbefore any compiler-specific headers (stdio.h, etc.) so that acenv.h can set 
325217365Sjkimany necessary compiler-specific defines, etc. Affects the ACPI-related tools 
326217365Sjkimand utilities.
327217365Sjkim
328217365SjkimUpdated all ACPICA copyrights and signons to 2011. Added the 2011 copyright 
329217365Sjkimto all module headers and signons, including the Linux header. This affects 
330217365Sjkimvirtually every file in the ACPICA core subsystem, iASL compiler, and all 
331217365Sjkimutilities.
332217365Sjkim
333217365SjkimAdded project files for MS Visual Studio 2008 (VC++ 9.0). The original 
334217365Sjkimproject files for VC++ 6.0 are now obsolete. New project files can be found 
335217365Sjkimunder acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
336217365Sjkimdetails.
337217365Sjkim
338217365SjkimExample Code and Data Size: These are the sizes for the OS-independent 
339217365Sjkimacpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
340220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
341217365Sjkimmuch larger code and data size.
342217365Sjkim
343217365Sjkim  Previous Release (VC 6.0):
344217365Sjkim    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
345217365Sjkim    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
346217365Sjkim  Current Release (VC 9.0):
347217365Sjkim    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
348217365Sjkim    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
349217365Sjkim
350217365Sjkim2) iASL Compiler/Disassembler and Tools:
351217365Sjkim
352220663SjkimiASL: Added generic data types to the Data Table compiler. Add "generic" data 
353217365Sjkimtypes such as UINT32, String, Unicode, etc., to simplify the generation of 
354217365Sjkimplatform-defined tables such as UEFI. Lin Ming.
355217365Sjkim
356220663SjkimiASL: Added listing support for the Data Table Compiler. Adds listing support 
357217365Sjkim(-l) to display actual binary output for each line of input code.
358217365Sjkim
359217365Sjkim----------------------------------------
360216471Sjkim09 December 2010. Summary of changes for version 20101209:
361216471Sjkim
362216471Sjkim1) ACPI CA Core Subsystem:
363216471Sjkim
364216471SjkimCompleted the major overhaul of the GPE support code that was begun in July 
365216471Sjkim2010. Major features include: removal of _PRW execution in ACPICA (host 
366216471Sjkimexecutes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
367216471Sjkimchanges to existing interfaces, simplification of GPE handler operation, and 
368216471Sjkima handful of new interfaces:
369216471Sjkim
370216471Sjkim    AcpiUpdateAllGpes
371216471Sjkim    AcpiFinishGpe
372216471Sjkim    AcpiSetupGpeForWake
373216471Sjkim    AcpiSetGpeWakeMask
374216471Sjkim    One new file, evxfgpe.c to consolidate all external GPE interfaces.
375216471Sjkim
376216471SjkimSee the ACPICA Programmer Reference for full details and programming 
377216471Sjkiminformation. See the new section 4.4 "General Purpose Event (GPE) Support" 
378216471Sjkimfor a full overview, and section 8.7 "ACPI General Purpose Event Management" 
379216471Sjkimfor programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming, 
380216471SjkimBob Moore, Rafael Wysocki.
381216471Sjkim
382216471SjkimImplemented a new GPE feature for Windows compatibility, the "Implicit Wake 
383216471SjkimGPE Notify". This feature will automatically issue a Notify(2) on a device 
384216471Sjkimwhen a Wake GPE is received if there is no corresponding GPE method or 
385216471Sjkimhandler. ACPICA BZ 870.
386216471Sjkim
387216471SjkimFixed a problem with the Scope() operator during table parse and load phase. 
388220663SjkimDuring load phase (table load or method execution), the scope operator should 
389216471Sjkimnot enter the target into the namespace. Instead, it should open a new scope 
390216471Sjkimat the target location. Linux BZ 19462, ACPICA BZ 882.
391216471Sjkim
392216471SjkimExample Code and Data Size: These are the sizes for the OS-independent 
393216471Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
394220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
395216471Sjkimmuch larger code and data size.
396216471Sjkim
397216471Sjkim  Previous Release:
398216471Sjkim    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
399216471Sjkim    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
400216471Sjkim  Current Release:
401216471Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
402216471Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
403216471Sjkim
404216471Sjkim2) iASL Compiler/Disassembler and Tools:
405216471Sjkim
406216471SjkimiASL: Relax the alphanumeric restriction on _CID strings. These strings are 
407216471Sjkim"bus-specific" per the ACPI specification, and therefore any characters are 
408216471Sjkimacceptable. The only checks that can be performed are for a null string and 
409216471Sjkimperhaps for a leading asterisk. ACPICA BZ 886.
410216471Sjkim
411216471SjkimiASL: Fixed a problem where a syntax error that caused a premature EOF 
412216471Sjkimcondition on the source file emitted a very confusing error message. The 
413216471Sjkimpremature EOF is now detected correctly. ACPICA BZ 891.
414216471Sjkim
415216471SjkimDisassembler: Decode the AccessSize within a Generic Address Structure (byte 
416216471Sjkimaccess, word access, etc.) Note, this field does not allow arbitrary bit 
417216471Sjkimaccess, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
418216471Sjkim
419216471SjkimNew: AcpiNames utility - Example namespace dump utility. Shows an example of 
420216471SjkimACPICA configuration for a minimal namespace dump utility. Uses table and 
421216471Sjkimnamespace managers, but no AML interpreter. Does not add any functionality 
422216471Sjkimover AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
423216471Sjkimpartition and configure ACPICA. ACPICA BZ 883.
424216471Sjkim
425216471SjkimAML Debugger: Increased the debugger buffer size for method return objects. 
426216471SjkimWas 4K, increased to 16K. Also enhanced error messages for debugger method 
427216471Sjkimexecution, including the buffer overflow case.
428216471Sjkim
429216471Sjkim----------------------------------------
430213806Sjkim13 October 2010. Summary of changes for version 20101013:
431213806Sjkim
432213806Sjkim1) ACPI CA Core Subsystem:
433213806Sjkim
434213806SjkimAdded support to clear the PCIEXP_WAKE event. When clearing ACPI events, now 
435213806Sjkimclear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
436213806SjkimHwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
437213806Sjkim
438213806SjkimChanged the type of the predefined namespace object _TZ from ThermalZone to 
439213806SjkimDevice. This was found to be confusing to the host software that processes 
440213806Sjkimthe various thermal zones, since _TZ is not really a ThermalZone. However, a 
441213806SjkimNotify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
442213806SjkimZhang.
443213806Sjkim
444213806SjkimAdded Windows Vista SP2 to the list of supported _OSI strings. The actual 
445213806Sjkimstring is "Windows 2006 SP2".
446213806Sjkim
447213806SjkimEliminated duplicate code in AcpiUtExecute* functions. Now that the nsrepair 
448213806Sjkimcode automatically repairs _HID-related strings, this type of code is no 
449213806Sjkimlonger needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
450213806Sjkim
451213806SjkimExample Code and Data Size: These are the sizes for the OS-independent 
452213806Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
453220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
454213806Sjkimmuch larger code and data size.
455213806Sjkim
456213806Sjkim  Previous Release:
457213806Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
458213806Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
459213806Sjkim  Current Release:
460213806Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
461213806Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
462213806Sjkim
463213806Sjkim2) iASL Compiler/Disassembler and Tools:
464213806Sjkim
465213806SjkimiASL: Implemented additional compile-time validation for _HID strings. The 
466220663Sjkimnon-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length of 
467213806Sjkimthe string must be exactly seven or eight characters. For both _HID and _CID 
468213806Sjkimstrings, all characters must be alphanumeric. ACPICA BZ 874.
469213806Sjkim
470213806SjkimiASL: Allow certain "null" resource descriptors. Some BIOS code creates 
471220663Sjkimdescriptors that are mostly or all zeros, with the expectation that they will 
472220663Sjkimbe filled in at runtime. iASL now allows this as long as there is a "resource 
473213806Sjkimtag" (name) associated with the descriptor, which gives the ASL a handle 
474213806Sjkimneeded to modify the descriptor. ACPICA BZ 873.
475213806Sjkim
476213806SjkimAdded single-thread support to the generic Unix application OSL. Primarily 
477213806Sjkimfor iASL support, this change removes the use of semaphores in the single-
478213806Sjkimthreaded ACPICA tools/applications - increasing performance. The 
479213806Sjkim_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
480213806Sjkimoption. ACPICA BZ 879.
481213806Sjkim
482220663SjkimAcpiExec: several fixes for the 64-bit version. Adds XSDT support and support 
483213806Sjkimfor 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
484213806Sjkim
485213806SjkimiASL: Moved all compiler messages to a new file, aslmessages.h.
486213806Sjkim
487213806Sjkim----------------------------------------
488212761Sjkim15 September 2010. Summary of changes for version 20100915:
489212761Sjkim
490212761Sjkim1) ACPI CA Core Subsystem:
491212761Sjkim
492220663SjkimRemoved the AcpiOsDerivePciId OSL interface. The various host implementations 
493212761Sjkimof this function were not OS-dependent and are now obsolete and can be 
494212761Sjkimremoved from all host OSLs. This function has been replaced by 
495212761SjkimAcpiHwDerivePciId, which is now part of the ACPICA core code. 
496212761SjkimAcpiHwDerivePciId has been implemented without recursion. Adds one new 
497212761Sjkimmodule, hwpci.c. ACPICA BZ 857.
498212761Sjkim
499212761SjkimImplemented a dynamic repair for _HID and _CID strings. The following 
500212761Sjkimproblems are now repaired at runtime: 1) Remove a leading asterisk in the 
501212761Sjkimstring, and 2) the entire string is uppercased. Both repairs are in 
502212761Sjkimaccordance with the ACPI specification and will simplify host driver code. 
503212761SjkimACPICA BZ 871.
504212761Sjkim
505212761SjkimThe ACPI_THREAD_ID type is no longer configurable, internally it is now 
506220663Sjkimalways UINT64. This simplifies the ACPICA code, especially any printf output. 
507212761SjkimUINT64 is the only common data type for all thread_id types across all 
508212761Sjkimoperating systems. It is now up to the host OSL to cast the native thread_id 
509212761Sjkimtype to UINT64 before returning the value to ACPICA (via AcpiOsGetThreadId). 
510212761SjkimLin Ming, Bob Moore.
511212761Sjkim
512212761SjkimAdded the ACPI_INLINE type to enhance the ACPICA configuration. The "inline" 
513212761Sjkimkeyword is not standard across compilers, and this type allows inline to be 
514212761Sjkimconfigured on a per-compiler basis. Lin Ming.
515212761Sjkim
516212761SjkimMade the system global AcpiGbl_SystemAwakeAndRunning publically available. 
517212761SjkimAdded an extern for this boolean in acpixf.h. Some hosts utilize this value 
518212761Sjkimduring suspend/restore operations. ACPICA BZ 869.
519212761Sjkim
520212761SjkimAll code that implements error/warning messages with the "ACPI:" prefix has 
521212761Sjkimbeen moved to a new module, utxferror.c.
522212761Sjkim
523212761SjkimThe UINT64_OVERLAY was moved to utmath.c, which is the only module where it 
524212761Sjkimis used. ACPICA BZ 829. Lin Ming, Bob Moore.
525212761Sjkim
526212761SjkimExample Code and Data Size: These are the sizes for the OS-independent 
527212761Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
528220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
529212761Sjkimmuch larger code and data size.
530212761Sjkim
531212761Sjkim  Previous Release:
532212761Sjkim    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
533212761Sjkim    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
534212761Sjkim  Current Release:
535212761Sjkim    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
536212761Sjkim    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
537212761Sjkim
538212761Sjkim2) iASL Compiler/Disassembler and Tools:
539212761Sjkim
540212761SjkimiASL/Disassembler: Write ACPI errors to stderr instead of the output file. 
541212761SjkimThis keeps the output files free of random error messages that may originate 
542212761Sjkimfrom within the namespace/interpreter code. Used this opportunity to merge 
543212761Sjkimall ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
544212761Sjkim866. Lin Ming, Bob Moore.
545212761Sjkim
546212761SjkimTools: update some printfs for ansi warnings on size_t. Handle width change 
547212761Sjkimof size_t on 32-bit versus 64-bit generations. Lin Ming.
548212761Sjkim
549212761Sjkim----------------------------------------
550210976Sjkim06 August 2010. Summary of changes for version 20100806:
551210976Sjkim
552210976Sjkim1) ACPI CA Core Subsystem:
553210976Sjkim
554210976SjkimDesigned and implemented a new host interface to the _OSI support code. This 
555210976Sjkimwill allow the host to dynamically add or remove multiple _OSI strings, as 
556210976Sjkimwell as install an optional handler that is called for each _OSI invocation. 
557220663SjkimAlso added a new AML debugger command, 'osi' to display and modify the global 
558210976Sjkim_OSI string table, and test support in the AcpiExec utility. See the ACPICA 
559210976Sjkimreference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
560210976SjkimNew Functions:
561210976Sjkim    AcpiInstallInterface - Add an _OSI string.
562210976Sjkim    AcpiRemoveInterface - Delete an _OSI string.
563210976Sjkim    AcpiInstallInterfaceHandler - Install optional _OSI handler.
564210976SjkimObsolete Functions:
565210976Sjkim    AcpiOsValidateInterface - no longer used.
566210976SjkimNew Files:
567210976Sjkim    source/components/utilities/utosi.c
568210976Sjkim
569210976SjkimRe-introduced the support to enable multi-byte transfers for Embedded 
570210976SjkimController (EC) operation regions. A reported problem was found to be a bug 
571210976Sjkimin the host OS, not in the multi-byte support. Previously, the maximum data 
572210976Sjkimsize passed to the EC operation region handler was a single byte. There are 
573210976Sjkimoften EC Fields larger than one byte that need to be transferred, and it is 
574210976Sjkimuseful for the EC driver to lock these as a single transaction. This change 
575210976Sjkimenables single transfers larger than 8 bits. This effectively changes the 
576210976Sjkimaccess to the EC space from ByteAcc to AnyAcc, and will probably require 
577210976Sjkimchanges to the host OS Embedded Controller driver to enable 16/32/64/256-bit 
578210976Sjkimtransfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
579210976Sjkim
580210976SjkimFixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
581210976Sjkimprototype in acpiosxf.h had the output value pointer as a (void *).
582210976SjkimIt should be a (UINT64 *). This may affect some host OSL code.
583210976Sjkim
584210976SjkimFixed a couple problems with the recently modified Linux makefiles for iASL 
585210976Sjkimand AcpiExec. These new makefiles place the generated object files in the 
586220663Sjkimlocal directory so that there can be no collisions between the files that are 
587210976Sjkimshared between them that are compiled with different options.
588210976Sjkim
589210976SjkimExample Code and Data Size: These are the sizes for the OS-independent 
590210976Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
591220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
592210976Sjkimmuch larger code and data size.
593210976Sjkim
594210976Sjkim  Previous Release:
595210976Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
596210976Sjkim    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
597210976Sjkim  Current Release:
598210976Sjkim    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
599210976Sjkim    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
600210976Sjkim
601210976Sjkim2) iASL Compiler/Disassembler and Tools:
602210976Sjkim
603210976SjkimiASL/Disassembler: Added a new option (-da, "disassemble all") to load the 
604210976Sjkimnamespace from and disassemble an entire group of AML files. Useful for 
605210976Sjkimloading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) and 
606210976Sjkimdisassembling with one simple command. ACPICA BZ 865. Lin Ming.
607210976Sjkim
608210976SjkimiASL: Allow multiple invocations of -e option. This change allows multiple 
609210976Sjkimuses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 834. 
610210976SjkimLin Ming.
611210976Sjkim
612210976Sjkim----------------------------------------
613209746Sjkim02 July 2010. Summary of changes for version 20100702:
614209746Sjkim
615209746Sjkim1) ACPI CA Core Subsystem:
616209746Sjkim
617209746SjkimImplemented several updates to the recently added GPE reference count 
618209746Sjkimsupport. The model for "wake" GPEs is changing to give the host OS complete 
619209746Sjkimcontrol of these GPEs. Eventually, the ACPICA core will not execute any _PRW 
620209746Sjkimmethods, since the host already must execute them. Also, additional changes 
621209746Sjkimwere made to help ensure that the reference counts are kept in proper 
622209746Sjkimsynchronization with reality. Rafael J. Wysocki.
623209746Sjkim
624209746Sjkim1) Ensure that GPEs are not enabled twice during initialization.
625209746Sjkim2) Ensure that GPE enable masks stay in sync with the reference count.
626209746Sjkim3) Do not inadvertently enable GPEs when writing GPE registers.
627209746Sjkim4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
628209746Sjkiminterface. This interface will set or clear individual GPEs for wakeup.
629209746Sjkim5) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces 
630209746Sjkimare now used for "runtime" GPEs only.
631209746Sjkim
632220663SjkimChanged the behavior of the GPE install/remove handler interfaces. The GPE is 
633209746Sjkimno longer disabled during this process, as it was found to cause problems on 
634209746Sjkimsome machines. Rafael J. Wysocki.
635209746Sjkim
636209746SjkimReverted a change introduced in version 20100528 to enable Embedded 
637220663SjkimController multi-byte transfers. This change was found to cause problems with 
638209746SjkimIndex Fields and possibly Bank Fields. It will be reintroduced when these 
639209746Sjkimproblems have been resolved.
640209746Sjkim
641209746SjkimFixed a problem with references to Alias objects within Package Objects. A 
642209746Sjkimreference to an Alias within the definition of a Package was not always 
643209746Sjkimresolved properly. Aliases to objects like Processors, Thermal zones, etc. 
644220663Sjkimwere resolved to the actual object instead of a reference to the object as it 
645209746Sjkimshould be. Package objects are only allowed to contain integer, string, 
646209746Sjkimbuffer, package, and reference objects. Redhat bugzilla 608648.
647209746Sjkim
648209746SjkimExample Code and Data Size: These are the sizes for the OS-independent 
649209746Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
650220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
651209746Sjkimmuch larger code and data size.
652209746Sjkim
653209746Sjkim  Previous Release:
654209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
655209746Sjkim    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
656209746Sjkim  Current Release:
657209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
658209746Sjkim    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
659209746Sjkim
660209746Sjkim2) iASL Compiler/Disassembler and Tools:
661209746Sjkim
662209746SjkimiASL: Implemented a new compiler subsystem to allow definition and 
663209746Sjkimcompilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These 
664209746Sjkimare called "ACPI Data Tables", and the new compiler is the "Data Table 
665209746SjkimCompiler". This compiler is intended to simplify the existing error-prone 
666209746Sjkimprocess of creating these tables for the BIOS, as well as allowing the 
667209746Sjkimdisassembly, modification, recompilation, and override of existing ACPI data 
668209746Sjkimtables. See the iASL User Guide for detailed information.
669209746Sjkim
670209746SjkimiASL: Implemented a new Template Generator option in support of the new Data 
671209746SjkimTable Compiler. This option will create examples of all known ACPI tables 
672209746Sjkimthat can be used as the basis for table development. See the iASL 
673209746Sjkimdocumentation and the -T option.
674209746Sjkim
675209746SjkimDisassembler and headers: Added support for the WDDT ACPI table (Watchdog 
676209746SjkimDescriptor Table).
677209746Sjkim
678209746SjkimUpdated the Linux makefiles for iASL and AcpiExec to place the generated 
679209746Sjkimobject files in the local directory so that there can be no collisions 
680209746Sjkimbetween the shared files between them that are generated with different 
681209746Sjkimoptions.
682209746Sjkim
683209746SjkimAdded support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use 
684209746Sjkimthe #define __APPLE__ to enable this support.
685209746Sjkim
686209746Sjkim----------------------------------------
687209746Sjkim28 May 2010. Summary of changes for version 20100528:
688209746Sjkim
689209746SjkimNote: The ACPI 4.0a specification was released on April 5, 2010 and is 
690209746Sjkimavailable at www.acpi.info. This is primarily an errata release.
691209746Sjkim
692209746Sjkim1) ACPI CA Core Subsystem:
693209746Sjkim
694209746SjkimUndefined ACPI tables: We are looking for the definitions for the following 
695209746SjkimACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
696209746Sjkim
697209746SjkimImplemented support to enable multi-byte transfers for Embedded Controller 
698209746Sjkim(EC) operation regions. Previously, the maximum data size passed to the EC 
699209746Sjkimoperation region handler was a single byte. There are often EC Fields larger 
700220663Sjkimthan one byte that need to be transferred, and it is useful for the EC driver 
701209746Sjkimto lock these as a single transaction. This change enables single transfers 
702209746Sjkimlarger than 8 bits. This effectively changes the access to the EC space from 
703209746SjkimByteAcc to AnyAcc, and will probably require changes to the host OS Embedded 
704209746SjkimController driver to enable 16/32/64/256-bit transfers in addition to 8-bit 
705209746Sjkimtransfers. Alexey Starikovskiy, Lin Ming
706209746Sjkim
707209746SjkimImplemented a performance enhancement for namespace search and access. This 
708209746Sjkimchange enhances the performance of namespace searches and walks by adding a 
709209746Sjkimbackpointer to the parent in each namespace node. On large namespaces, this 
710209746Sjkimchange can improve overall ACPI performance by up to 9X. Adding a pointer to 
711209746Sjkimeach namespace node increases the overall size of the internal namespace by 
712209746Sjkimabout 5%, since each namespace entry usually consists of both a namespace 
713209746Sjkimnode and an ACPI operand object. However, this is the first growth of the 
714209746Sjkimnamespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
715209746Sjkim
716209746SjkimImplemented a performance optimization that reduces the number of namespace 
717220663Sjkimwalks. On control method exit, only walk the namespace if the method is known 
718220663Sjkimto have created namespace objects outside of its local scope. Previously, the 
719209746Sjkimentire namespace was traversed on each control method exit. This change can 
720220663Sjkimimprove overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob Moore.
721209746Sjkim
722220663SjkimAdded support to truncate I/O addresses to 16 bits for Windows compatibility. 
723209746SjkimSome ASL code has been seen in the field that inadvertently has bits set 
724209746Sjkimabove bit 15. This feature is optional and is enabled if the BIOS requests 
725209746Sjkimany Windows OSI strings. It can also be enabled by the host OS. Matthew 
726209746SjkimGarrett, Bob Moore.
727209746Sjkim
728209746SjkimAdded support to limit the maximum time for the ASL Sleep() operator. To 
729209746Sjkimprevent accidental deep sleeps, limit the maximum time that Sleep() will 
730209746Sjkimactually sleep. Configurable, the default maximum is two seconds. ACPICA 
731209746Sjkimbugzilla 854.
732209746Sjkim
733209746SjkimAdded run-time validation support for the _WDG and_WED Microsoft predefined 
734209746Sjkimmethods. These objects are defined by "Windows Instrumentation", and are not 
735209746Sjkimpart of the ACPI spec. ACPICA BZ 860.
736209746Sjkim
737209746SjkimExpanded all statistic counters used during namespace and device 
738209746Sjkiminitialization from 16 to 32 bits in order to support very large namespaces.
739209746Sjkim
740220663SjkimReplaced all instances of %d in printf format specifiers with %u since nearly 
741209746Sjkimall integers in ACPICA are unsigned.
742209746Sjkim
743220663SjkimFixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly returned 
744209746Sjkimas AE_NO_HANDLER.
745209746Sjkim
746209746SjkimExample Code and Data Size: These are the sizes for the OS-independent 
747209746Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
748220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
749209746Sjkimmuch larger code and data size.
750209746Sjkim
751209746Sjkim  Previous Release:
752209746Sjkim    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
753209746Sjkim    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
754209746Sjkim  Current Release:
755209746Sjkim    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
756209746Sjkim    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
757209746Sjkim
758209746Sjkim2) iASL Compiler/Disassembler and Tools:
759209746Sjkim
760209746SjkimiASL: Added compiler support for the _WDG and_WED Microsoft predefined 
761209746Sjkimmethods. These objects are defined by "Windows Instrumentation", and are not 
762209746Sjkimpart of the ACPI spec. ACPICA BZ 860.
763209746Sjkim
764209746SjkimAcpiExec: added option to disable the memory tracking mechanism. The -dt 
765209746Sjkimoption will disable the tracking mechanism, which improves performance 
766209746Sjkimconsiderably.
767209746Sjkim
768209746SjkimAcpiExec: Restructured the command line options into -d (disable) and -e 
769209746Sjkim(enable) options.
770209746Sjkim
771209746Sjkim----------------------------------------
772207344Sjkim28 April 2010. Summary of changes for version 20100428:
773207344Sjkim
774207344Sjkim1) ACPI CA Core Subsystem:
775207344Sjkim
776207344SjkimImplemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
777207344Sjkimincluding FADT-based and GPE Block Devices, execute any _PRW methods in the 
778207344Sjkimnew table, and process any _Lxx/_Exx GPE methods in the new table. Any 
779207344Sjkimruntime GPE that is referenced by an _Lxx/_Exx method in the new table is 
780207344Sjkimimmediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
781207344SjkimDevices. Provides compatibility with other ACPI implementations. Two new 
782220663Sjkimfiles added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob Moore.
783207344Sjkim
784207344SjkimFixed a regression introduced in version 20100331 within the table manager 
785207344Sjkimwhere initial table loading could fail. This was introduced in the fix for 
786207344SjkimAcpiReallocateRootTable. Also, renamed some of fields in the table manager 
787207344Sjkimdata structures to clarify their meaning and use.
788207344Sjkim
789207344SjkimFixed a possible allocation overrun during internal object copy in 
790207344SjkimAcpiUtCopySimpleObject. The original code did not correctly handle the case 
791207344Sjkimwhere the object to be copied was a namespace node. Lin Ming. ACPICA BZ 847.
792207344Sjkim
793207344SjkimUpdated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
794220663Sjkimpossible access beyond end-of-allocation. Also, now fully validate descriptor 
795207344Sjkim(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
796207344Sjkim
797207344SjkimExample Code and Data Size: These are the sizes for the OS-independent 
798207344Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
799220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
800207344Sjkimmuch larger code and data size.
801207344Sjkim
802207344Sjkim  Previous Release:
803207344Sjkim    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
804207344Sjkim    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
805207344Sjkim  Current Release:
806207344Sjkim    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
807207344Sjkim    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
808207344Sjkim
809207344Sjkim2) iASL Compiler/Disassembler and Tools:
810207344Sjkim
811207344SjkimiASL: Implemented Min/Max/Len/Gran validation for address resource 
812207344Sjkimdescriptors. This change implements validation for the address fields that 
813207344Sjkimare common to all address-type resource descriptors. These checks are 
814207344Sjkimimplemented: Checks for valid Min/Max, length within the Min/Max window, 
815207344Sjkimvalid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per 
816220663Sjkimtable 6-40 in the ACPI 4.0a specification. Also split the large aslrestype1.c 
817207344Sjkimand aslrestype2.c files into five new files. ACPICA BZ 840.
818207344Sjkim
819207344SjkimiASL: Added support for the _Wxx predefined names. This support was missing 
820207344Sjkimand these names were not recognized by the compiler as valid predefined 
821207344Sjkimnames. ACPICA BZ 851.
822207344Sjkim
823207344SjkimiASL: Added an error for all predefined names that are defined to return no 
824207344Sjkimvalue and thus must be implemented as Control Methods. These include all of 
825207344Sjkimthe _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
826207344Sjkimnames such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
827207344Sjkim
828207344SjkimiASL: Implemented the -ts option to emit hex AML data in ASL format, as an 
829207344SjkimASL Buffer. Allows ACPI tables to be easily included within ASL files, to be 
830207344Sjkimdynamically loaded via the Load() operator. Also cleaned up output for the -
831207344Sjkimta and -tc options. ACPICA BZ 853.
832207344Sjkim
833207344SjkimTests: Added a new file with examples of extended iASL error checking. 
834207344SjkimDemonstrates the advanced error checking ability of the iASL compiler. 
835207344SjkimAvailable at tests/misc/badcode.asl.
836207344Sjkim
837207344Sjkim----------------------------------------
838206117Sjkim31 March 2010. Summary of changes for version 20100331:
839206117Sjkim
840206117Sjkim1) ACPI CA Core Subsystem:
841206117Sjkim
842206117SjkimCompleted a major update for the GPE support in order to improve support for 
843206117Sjkimshared GPEs and to simplify both host OS and ACPICA code. Added a reference 
844206117Sjkimcount mechanism to support shared GPEs that require multiple device drivers. 
845206117SjkimSeveral external interfaces have changed. One external interface has been 
846206117Sjkimremoved. One new external interface was added. Most of the GPE external 
847206117Sjkiminterfaces now use the GPE spinlock instead of the events mutex (and the 
848206117SjkimFlags parameter for many GPE interfaces has been removed.) See the updated 
849206117SjkimACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael 
850206117SjkimWysocki. ACPICA BZ 831.
851206117Sjkim
852206117SjkimChanged:
853206117Sjkim    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
854206117SjkimRemoved:
855206117Sjkim    AcpiSetGpeType
856206117SjkimNew:
857206117Sjkim    AcpiSetGpe
858206117Sjkim
859206117SjkimImplemented write support for DataTable operation regions. These regions are 
860220663Sjkimdefined via the DataTableRegion() operator. Previously, only read support was 
861220663Sjkimimplemented. The ACPI specification allows DataTableRegions to be read/write, 
862206117Sjkimhowever.
863206117Sjkim
864206117SjkimImplemented a new subsystem option to force a copy of the DSDT to local 
865206117Sjkimmemory. Optionally copy the entire DSDT to local memory (instead of simply 
866206117Sjkimmapping it.) There are some (albeit very rare) BIOSs that corrupt or replace 
867206117Sjkimthe original DSDT, creating the need for this option. Default is FALSE, do 
868206117Sjkimnot copy the DSDT.
869206117Sjkim
870206117SjkimImplemented detection of a corrupted or replaced DSDT. This change adds 
871220663Sjkimsupport to detect a DSDT that has been corrupted and/or replaced from outside 
872206117Sjkimthe OS (by firmware). This is typically catastrophic for the system, but has 
873206117Sjkimbeen seen on some machines. Once this problem has been detected, the DSDT 
874206117Sjkimcopy option can be enabled via system configuration. Lin Ming, Bob Moore.
875206117Sjkim
876206117SjkimFixed two problems with AcpiReallocateRootTable during the root table copy. 
877206117SjkimWhen copying the root table to the new allocation, the length used was 
878206117Sjkimincorrect. The new size was used instead of the current table size, meaning 
879206117Sjkimtoo much data was copied. Also, the count of available slots for ACPI tables 
880206117Sjkimwas not set correctly. Alexey Starikovskiy, Bob Moore.
881206117Sjkim
882206117SjkimExample Code and Data Size: These are the sizes for the OS-independent 
883206117Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
884220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
885206117Sjkimmuch larger code and data size.
886206117Sjkim
887206117Sjkim  Previous Release:
888206117Sjkim    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
889206117Sjkim    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
890206117Sjkim  Current Release:
891206117Sjkim    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
892206117Sjkim    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
893206117Sjkim
894206117Sjkim2) iASL Compiler/Disassembler and Tools:
895206117Sjkim
896206117SjkimiASL: Implement limited typechecking for values returned from predefined 
897206117Sjkimcontrol methods. The type of any returned static (unnamed) object is now 
898206117Sjkimvalidated. For example, Return(1). ACPICA BZ 786.
899206117Sjkim
900220663SjkimiASL: Fixed a predefined name object verification regression. Fixes a problem 
901206117Sjkimintroduced in version 20100304. An error is incorrectly generated if a 
902206117Sjkimpredefined name is declared as a static named object with a value defined 
903206117Sjkimusing the keywords "Zero", "One", or "Ones". Lin Ming.
904206117Sjkim
905206117SjkimiASL: Added Windows 7 support for the -g option (get local ACPI tables) by 
906206117Sjkimreducing the requested registry access rights. ACPICA BZ 842.
907206117Sjkim
908206117SjkimDisassembler: fixed a possible fault when generating External() statements. 
909206117SjkimIntroduced in commit ae7d6fd: Properly handle externals with parent-prefix 
910206117Sjkim(carat). Fixes a string length allocation calculation. Lin Ming.
911206117Sjkim
912206117Sjkim----------------------------------------
913204773Sjkim04 March 2010. Summary of changes for version 20100304:
914204773Sjkim
915204773Sjkim1) ACPI CA Core Subsystem:
916204773Sjkim
917204773SjkimFixed a possible problem with the AML Mutex handling function 
918204773SjkimAcpiExReleaseMutex where the function could fault under the very rare 
919220663Sjkimcondition when the interpreter has blocked, the interpreter lock is released, 
920204773Sjkimthe interpreter is then reentered via the same thread, and attempts to 
921220663Sjkimacquire an AML mutex that was previously acquired. FreeBSD report 140979. Lin 
922204773SjkimMing.
923204773Sjkim
924204773SjkimImplemented additional configuration support for the AML "Debug Object". 
925204773SjkimOutput from the debug object can now be enabled via a global variable, 
926220663SjkimAcpiGbl_EnableAmlDebugObject. This will assist with remote machine debugging. 
927204773SjkimThis debug output is now available in the release version of ACPICA instead 
928204773Sjkimof just the debug version. Also, the entire debug output module can now be 
929204773Sjkimconfigured out of the ACPICA build if desired. One new file added, 
930204773Sjkimexecuter/exdebug.c. Lin Ming, Bob Moore.
931204773Sjkim
932204773SjkimAdded header support for the ACPI MCHI table (Management Controller Host 
933220663SjkimInterface Table). This table was added in ACPI 4.0, but the defining document 
934204773Sjkimhas only recently become available.
935204773Sjkim
936204773SjkimStandardized output of integer values for ACPICA warnings/errors. Always use 
937204773Sjkim0x prefix for hex output, always use %u for unsigned integer decimal output. 
938204773SjkimAffects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400 
939204773Sjkiminvocations.) These invocations were converted from the original 
940204773SjkimACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
941204773Sjkim
942204773SjkimExample Code and Data Size: These are the sizes for the OS-independent 
943204773Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
944220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
945204773Sjkimmuch larger code and data size.
946204773Sjkim
947204773Sjkim  Previous Release:
948204773Sjkim    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
949204773Sjkim    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
950204773Sjkim  Current Release:
951204773Sjkim    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
952204773Sjkim    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
953204773Sjkim
954204773Sjkim2) iASL Compiler/Disassembler and Tools:
955204773Sjkim
956204773SjkimiASL: Implemented typechecking support for static (non-control method) 
957204773Sjkimpredefined named objects that are declared with the Name() operator. For 
958204773Sjkimexample, the type of this object is now validated to be of type Integer: 
959220663SjkimName(_BBN, 1). This change migrates the compiler to using the core predefined 
960204773Sjkimname table instead of maintaining a local version. Added a new file, 
961204773Sjkimaslpredef.c. ACPICA BZ 832.
962204773Sjkim
963204773SjkimDisassembler: Added support for the ACPI 4.0 MCHI table.
964204773Sjkim
965204773Sjkim----------------------------------------
966202771Sjkim21 January 2010. Summary of changes for version 20100121:
967202771Sjkim
968202771Sjkim1) ACPI CA Core Subsystem:
969202771Sjkim
970202771SjkimAdded the 2010 copyright to all module headers and signons. This affects 
971202771Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, the 
972202771Sjkimtools/utilities, and the test suites.
973202771Sjkim
974220663SjkimImplemented a change to the AcpiGetDevices interface to eliminate unnecessary 
975202771Sjkiminvocations of the _STA method. In the case where a specific _HID is 
976202771Sjkimrequested, do not run _STA until a _HID match is found. This eliminates 
977220663Sjkimpotentially dozens of _STA calls during a search for a particular device/HID, 
978202771Sjkimwhich in turn can improve boot times. ACPICA BZ 828. Lin Ming.
979202771Sjkim
980220663SjkimImplemented an additional repair for predefined method return values. Attempt 
981220663Sjkimto repair unexpected NULL elements within returned Package objects. Create an 
982220663SjkimInteger of value zero, a NULL String, or a zero-length Buffer as appropriate. 
983202771SjkimACPICA BZ 818. Lin Ming, Bob Moore.
984202771Sjkim
985202771SjkimRemoved the obsolete ACPI_INTEGER data type. This type was introduced as the 
986202771Sjkimcode was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 (with 
987202771Sjkim64-bit AML integers). It is now obsolete and this change removes it from the 
988202771SjkimACPICA code base, replaced by UINT64. The original typedef has been retained 
989202771Sjkimfor now for compatibility with existing device driver code. ACPICA BZ 824.
990202771Sjkim
991202771SjkimRemoved the unused UINT32_STRUCT type, and the obsolete Integer64 field in 
992202771Sjkimthe parse tree object.
993202771Sjkim
994220663SjkimAdded additional warning options for the gcc-4 generation. Updated the source 
995202771Sjkimaccordingly. This includes some code restructuring to eliminate unreachable 
996202771Sjkimcode, elimination of some gotos, elimination of unused return values, some 
997202771Sjkimadditional casting, and removal of redundant declarations.
998202771Sjkim
999202771SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1000202771Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1001220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1002202771Sjkimmuch larger code and data size.
1003202771Sjkim
1004202771Sjkim  Previous Release:
1005202771Sjkim    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1006202771Sjkim    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1007202771Sjkim  Current Release:
1008202771Sjkim    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
1009202771Sjkim    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
1010202771Sjkim
1011202771Sjkim2) iASL Compiler/Disassembler and Tools:
1012202771Sjkim
1013202771SjkimNo functional changes for this release.
1014202771Sjkim
1015202771Sjkim----------------------------------------
1016200553Sjkim14 December 2009. Summary of changes for version 20091214:
1017200553Sjkim
1018200553Sjkim1) ACPI CA Core Subsystem:
1019200553Sjkim
1020200553SjkimEnhanced automatic data type conversions for predefined name repairs. This 
1021200553Sjkimchange expands the automatic repairs/conversions for predefined name return 
1022200553Sjkimvalues to make Integers, Strings, and Buffers fully interchangeable. Also, a 
1023220663SjkimBuffer can be converted to a Package of Integers if necessary. The nsrepair.c 
1024200553Sjkimmodule was completely restructured. Lin Ming, Bob Moore.
1025200553Sjkim
1026220663SjkimImplemented automatic removal of null package elements during predefined name 
1027200553Sjkimrepairs. This change will automatically remove embedded and trailing NULL 
1028200553Sjkimpackage elements from returned package objects that are defined to contain a 
1029200553Sjkimvariable number of sub-packages. The driver is then presented with a package 
1030200553Sjkimwith no null elements to deal with. ACPICA BZ 819.
1031200553Sjkim
1032200553SjkimImplemented a repair for the predefined _FDE and _GTM names. The expected 
1033200553Sjkimreturn value for both names is a Buffer of 5 DWORDs. This repair fixes two 
1034200553Sjkimpossible problems (both seen in the field), where a package of integers is 
1035220663Sjkimreturned, or a buffer of BYTEs is returned. With assistance from Jung-uk Kim.
1036200553Sjkim
1037200553SjkimImplemented additional module-level code support. This change will properly 
1038200553Sjkimexecute module-level code that is not at the root of the namespace (under a 
1039200553SjkimDevice object, etc.). Now executes the code within the current scope instead 
1040200553Sjkimof the root. ACPICA BZ 762. Lin Ming.
1041200553Sjkim
1042200553SjkimFixed possible mutex acquisition errors when running _REG methods. Fixes a 
1043200553Sjkimproblem where mutex errors can occur when running a _REG method that is in 
1044200553Sjkimthe same scope as a method-defined operation region or an operation region 
1045200553Sjkimunder a module-level IF block. This type of code is rare, so the problem has 
1046200553Sjkimnot been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
1047200553Sjkim
1048200553SjkimFixed a possible memory leak during module-level code execution. An object 
1049200553Sjkimcould be leaked for each block of executed module-level code if the 
1050220663Sjkiminterpreter slack mode is enabled This change deletes any implicitly returned 
1051200553Sjkimobject from the module-level code block. Lin Ming.
1052200553Sjkim
1053200553SjkimRemoved messages for successful predefined repair(s). The repair mechanism 
1054200553Sjkimwas considered too wordy. Now, messages are only unconditionally emitted if 
1055200553Sjkimthe return object cannot be repaired. Existing messages for successful 
1056200553Sjkimrepairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827.
1057200553Sjkim
1058200553SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1059200553Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1060220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1061200553Sjkimmuch larger code and data size.
1062200553Sjkim
1063200553Sjkim  Previous Release:
1064200553Sjkim    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1065200553Sjkim    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1066200553Sjkim  Current Release:
1067200553Sjkim    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
1068200553Sjkim    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
1069200553Sjkim
1070200553Sjkim2) iASL Compiler/Disassembler and Tools:
1071200553Sjkim
1072220663SjkimiASL: Fixed a regression introduced in 20091112 where intermediate .SRC files 
1073200553Sjkimwere no longer automatically removed at the termination of the compile.
1074200553Sjkim
1075200553Sjkimacpiexec: Implemented the -f option to specify default region fill value. 
1076200553SjkimThis option specifies the value used to initialize buffers that simulate 
1077200553Sjkimoperation regions. Default value is zero. Useful for debugging problems that 
1078200553Sjkimdepend on a specific initial value for a region or field.
1079200553Sjkim
1080200553Sjkim----------------------------------------
1081199337Sjkim12 November 2009. Summary of changes for version 20091112:
1082199337Sjkim
1083199337Sjkim1) ACPI CA Core Subsystem:
1084199337Sjkim
1085199337SjkimImplemented a post-order callback to AcpiWalkNamespace. The existing 
1086199337Sjkiminterface only has a pre-order callback. This change adds an additional 
1087199337Sjkimparameter for a post-order callback which will be more useful for bus scans. 
1088199337SjkimACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
1089199337Sjkim
1090199337SjkimModified the behavior of the operation region memory mapping cache for 
1091199337SjkimSystemMemory. Ensure that the memory mappings created for operation regions 
1092199337Sjkimdo not cross 4K page boundaries. Crossing a page boundary while mapping 
1093199337Sjkimregions can cause kernel warnings on some hosts if the pages have different 
1094199337Sjkimattributes. Such regions are probably BIOS bugs, and this is the workaround. 
1095199337SjkimLinux BZ 14445. Lin Ming.
1096199337Sjkim
1097199337SjkimImplemented an automatic repair for predefined methods that must return 
1098220663Sjkimsorted lists. This change will repair (by sorting) packages returned by _ALR, 
1099220663Sjkim_PSS, and _TSS. Drivers can now assume that the packages are correctly sorted 
1100199337Sjkimand do not contain NULL package elements. Adds one new file, 
1101199337Sjkimnamespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
1102199337Sjkim
1103199337SjkimFixed a possible fault during predefined name validation if a return Package 
1104199337Sjkimobject contains NULL elements. Also adds a warning if a NULL element is 
1105220663Sjkimfollowed by any non-null elements. ACPICA BZ 813, 814. Future enhancement may 
1106199337Sjkiminclude repair or removal of all such NULL elements where possible.
1107199337Sjkim
1108199337SjkimImplemented additional module-level executable AML code support. This change 
1109199337Sjkimwill execute module-level code that is not at the root of the namespace 
1110220663Sjkim(under a Device object, etc.) at table load time. Module-level executable AML 
1111199337Sjkimcode has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
1112199337Sjkim
1113199337SjkimImplemented a new internal function to create Integer objects. This function 
1114199337Sjkimsimplifies miscellaneous object creation code. ACPICA BZ 823.
1115199337Sjkim
1116199337SjkimReduced the severity of predefined repair messages, Warning to Info. Since 
1117199337Sjkimthe object was successfully repaired, a warning is too severe. Reduced to an 
1118220663Sjkiminfo message for now. These messages may eventually be changed to debug-only. 
1119199337SjkimACPICA BZ 812.
1120199337Sjkim
1121199337SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1122199337Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1123220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1124199337Sjkimmuch larger code and data size.
1125199337Sjkim
1126199337Sjkim  Previous Release:
1127199337Sjkim    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1128199337Sjkim    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1129199337Sjkim  Current Release:
1130199337Sjkim    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
1131199337Sjkim    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
1132199337Sjkim
1133199337Sjkim2) iASL Compiler/Disassembler and Tools:
1134199337Sjkim
1135199337SjkimiASL: Implemented Switch() with While(1) so that Break works correctly. This 
1136199337Sjkimchange correctly implements the Switch operator with a surrounding While(1) 
1137199337Sjkimso that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
1138199337Sjkim
1139199337SjkimiASL: Added a message if a package initializer list is shorter than package 
1140199337Sjkimlength. Adds a new remark for a Package() declaration if an initializer list 
1141199337Sjkimexists, but is shorter than the declared length of the package. Although 
1142199337Sjkimtechnically legal, this is probably a coding error and it is seen in the 
1143199337Sjkimfield. ACPICA BZ 815. Lin Ming, Bob Moore.
1144199337Sjkim
1145220663SjkimiASL: Fixed a problem where the compiler could fault after the maximum number 
1146199337Sjkimof errors was reached (200).
1147199337Sjkim
1148220663Sjkimacpixtract: Fixed a possible warning for pointer cast if the compiler warning 
1149199337Sjkimlevel set very high.
1150199337Sjkim
1151199337Sjkim----------------------------------------
1152198237Sjkim13 October 2009. Summary of changes for version 20091013:
1153197104Sjkim
1154197104Sjkim1) ACPI CA Core Subsystem:
1155197104Sjkim
1156198237SjkimFixed a problem where an Operation Region _REG method could be executed more 
1157198237Sjkimthan once. If a custom address space handler is installed by the host before 
1158198237Sjkimthe "initialize operation regions" phase of the ACPICA initialization, any 
1159198237Sjkim_REG methods for that address space could be executed twice. This change 
1160198237Sjkimfixes the problem. ACPICA BZ 427. Lin Ming.
1161198237Sjkim
1162198237SjkimFixed a possible memory leak for the Scope() ASL operator. When the exact 
1163198237Sjkiminvocation of "Scope(\)" is executed (change scope to root), one internal 
1164198237Sjkimoperand object was leaked. Lin Ming.
1165198237Sjkim
1166198237SjkimImplemented a run-time repair for the _MAT predefined method. If the _MAT 
1167198237Sjkimreturn value is defined as a Field object in the AML, and the field
1168220663Sjkimsize is less than or equal to the default width of an integer (32 or 64),_MAT 
1169198237Sjkimcan incorrectly return an Integer instead of a Buffer. ACPICA now 
1170198237Sjkimautomatically repairs this problem. ACPICA BZ 810.
1171198237Sjkim
1172198237SjkimImplemented a run-time repair for the _BIF and _BIX predefined methods. The 
1173198237Sjkim"OEM Information" field is often incorrectly returned as an Integer with 
1174198237Sjkimvalue zero if the field is not supported by the platform. This is due to an 
1175198237Sjkimambiguity in the ACPI specification. The field should always be a string. 
1176198237SjkimACPICA now automatically repairs this problem by returning a NULL string 
1177198237Sjkimwithin the returned Package. ACPICA BZ 807.
1178198237Sjkim
1179198237SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1180198237Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1181220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1182198237Sjkimmuch larger code and data size.
1183198237Sjkim
1184198237Sjkim  Previous Release:
1185198237Sjkim    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1186198237Sjkim    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1187198237Sjkim  Current Release:
1188198237Sjkim    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
1189198237Sjkim    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
1190198237Sjkim
1191198237Sjkim2) iASL Compiler/Disassembler and Tools:
1192198237Sjkim
1193198237SjkimDisassembler: Fixed a problem where references to external symbols that 
1194198237Sjkimcontained one or more parent-prefixes (carats) were not handled correctly, 
1195198237Sjkimpossibly causing a fault. ACPICA BZ 806. Lin Ming.
1196198237Sjkim
1197198237SjkimDisassembler: Restructured the code so that all functions that handle 
1198198237Sjkimexternal symbols are in a single module. One new file is added, 
1199198237Sjkimcommon/dmextern.c.
1200198237Sjkim
1201198237SjkimAML Debugger: Added a max count argument for the Batch command (which 
1202198237Sjkimexecutes multiple predefined methods within the namespace.)
1203198237Sjkim
1204198237SjkimiASL: Updated the compiler documentation (User Reference.) Available at 
1205198237Sjkimhttp://www.acpica.org/documentation/. ACPICA BZ 750.
1206198237Sjkim
1207198237SjkimAcpiXtract: Updated for Lint and other formatting changes. Close all open 
1208198237Sjkimfiles.
1209198237Sjkim
1210198237Sjkim----------------------------------------
1211198237Sjkim03 September 2009. Summary of changes for version 20090903:
1212198237Sjkim
1213198237Sjkim1) ACPI CA Core Subsystem:
1214198237Sjkim
1215197104SjkimFor Windows Vista compatibility, added the automatic execution of an _INI 
1216197104Sjkimmethod located at the namespace root (\_INI). This method is executed at 
1217197104Sjkimtable load time. This support is in addition to the automatic execution of 
1218197104Sjkim\_SB._INI. Lin Ming.
1219197104Sjkim
1220197104SjkimFixed a possible memory leak in the interpreter for AML package objects if 
1221197104Sjkimthe package initializer list is longer than the defined size of the package. 
1222197104SjkimThis apparently can only happen if the BIOS changes the package size on the 
1223197104Sjkimfly (seen in a _PSS object), as ASL compilers do not allow this. The 
1224220663Sjkiminterpreter will truncate the package to the defined size (and issue an error 
1225220663Sjkimmessage), but previously could leave the extra objects undeleted if they were 
1226197104Sjkimpre-created during the argument processing (such is the case if the package 
1227197104Sjkimconsists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
1228197104Sjkim
1229197104SjkimFixed a problem seen when a Buffer or String is stored to itself via ASL. 
1230197104SjkimThis has been reported in the field. Previously, ACPICA would zero out the 
1231197104Sjkimbuffer/string. Now, the operation is treated as a noop. Provides Windows 
1232197104Sjkimcompatibility. ACPICA BZ 803. Lin Ming.
1233197104Sjkim
1234197104SjkimRemoved an extraneous error message for ASL constructs of the form 
1235197104SjkimStore(LocalX,LocalX) when LocalX is uninitialized. These curious statements 
1236197104Sjkimare seen in many BIOSs and are once again treated as NOOPs and no error is 
1237197104Sjkimemitted when they are encountered. ACPICA BZ 785.
1238197104Sjkim
1239197104SjkimFixed an extraneous warning message if a _DSM reserved method returns a 
1240197104SjkimPackage object. _DSM can return any type of object, so validation on the 
1241197104Sjkimreturn type cannot be performed. ACPICA BZ 802.
1242197104Sjkim
1243197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1244197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1245220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1246197104Sjkimmuch larger code and data size.
1247197104Sjkim
1248197104Sjkim  Previous Release:
1249197104Sjkim    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1250197104Sjkim    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1251197104Sjkim  Current Release:
1252197104Sjkim    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
1253197104Sjkim    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
1254197104Sjkim
1255197104Sjkim2) iASL Compiler/Disassembler and Tools:
1256197104Sjkim
1257197104SjkimiASL: Fixed a problem with the use of the Alias operator and Resource 
1258197104SjkimTemplates. The correct alias is now constructed and no error is emitted. 
1259197104SjkimACPICA BZ 738.
1260197104Sjkim
1261197104SjkimiASL: Implemented the -I option to specify additional search directories for 
1262197104Sjkiminclude files. Allows multiple additional search paths for include files. 
1263197104SjkimDirectories are searched in the order specified on the command line (after 
1264197104Sjkimthe local directory is searched.) ACPICA BZ 800.
1265197104Sjkim
1266197104SjkimiASL: Fixed a problem where the full pathname for include files was not 
1267197104Sjkimemitted for warnings/errors. This caused the IDE support to not work 
1268197104Sjkimproperly. ACPICA BZ 765.
1269197104Sjkim
1270197104SjkimiASL: Implemented the -@ option to specify a Windows-style response file 
1271197104Sjkimcontaining additional command line options. ACPICA BZ 801.
1272197104Sjkim
1273197104SjkimAcpiExec: Added support to load multiple AML files simultaneously (such as a 
1274197104SjkimDSDT and multiple SSDTs). Also added support for wildcards within the AML 
1275197104Sjkimpathname. These features allow all machine tables to be easily loaded and 
1276197104Sjkimdebugged together. ACPICA BZ 804.
1277197104Sjkim
1278197104SjkimDisassembler: Added missing support for disassembly of HEST table Error Bank 
1279197104Sjkimsubtables. 
1280197104Sjkim
1281197104Sjkim----------------------------------------
1282197104Sjkim30 July 2009. Summary of changes for version 20090730:
1283197104Sjkim
1284197104SjkimThe ACPI 4.0 implementation for ACPICA is complete with this release.
1285197104Sjkim
1286197104Sjkim1) ACPI CA Core Subsystem:
1287197104Sjkim
1288197104SjkimACPI 4.0: Added header file support for all new and changed ACPI tables. 
1289197104SjkimCompletely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new 
1290197104Sjkimfor ACPI 4.0, but have previously been supported in ACPICA are: CPEP, BERT, 
1291197104SjkimEINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. There 
1292197104Sjkimhave been some ACPI 4.0 changes to other existing tables. Split the large 
1293197104Sjkimactbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
1294197104Sjkim
1295220663SjkimACPI 4.0: Implemented predefined name validation for all new names. There are 
1296220663Sjkim31 new names in ACPI 4.0. The predefined validation module was split into two 
1297197104Sjkimfiles. The new file is namespace/nsrepair.c. ACPICA BZ 770.
1298197104Sjkim
1299197104SjkimImplemented support for so-called "module-level executable code". This is 
1300220663Sjkimexecutable AML code that exists outside of any control method and is intended 
1301220663Sjkimto be executed at table load time. Although illegal since ACPI 2.0, this type 
1302197104Sjkimof code still exists and is apparently still being created. Blocks of this 
1303197104Sjkimcode are now detected and executed as intended. Currently, the code blocks 
1304197104Sjkimmust exist under either an If, Else, or While construct; these are the 
1305197104Sjkimtypical cases seen in the field. ACPICA BZ 762. Lin Ming.
1306197104Sjkim
1307197104SjkimImplemented an automatic dynamic repair for predefined names that return 
1308197104Sjkimnested Package objects. This applies to predefined names that are defined to 
1309197104Sjkimreturn a variable-length Package of sub-packages. If the number of sub-
1310197104Sjkimpackages is one, BIOS code is occasionally seen that creates a simple single 
1311197104Sjkimpackage with no sub-packages. This code attempts to fix the problem by 
1312197104Sjkimwrapping a new package object around the existing package. These methods can 
1313197104Sjkimbe repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ 
1314197104Sjkim790.
1315197104Sjkim
1316197104SjkimFixed a regression introduced in 20090625 for the AcpiGetDevices interface. 
1317220663SjkimThe _HID/_CID matching was broken and no longer matched IDs correctly. ACPICA 
1318197104SjkimBZ 793.
1319197104Sjkim
1320197104SjkimFixed a problem with AcpiReset where the reset would silently fail if the 
1321197104Sjkimregister was one of the protected I/O ports. AcpiReset now bypasses the port 
1322197104Sjkimvalidation mechanism. This may eventually be driven into the AcpiRead/Write 
1323197104Sjkiminterfaces.
1324197104Sjkim
1325197104SjkimFixed a regression related to the recent update of the AcpiRead/Write 
1326197104Sjkiminterfaces. A sleep/suspend could fail if the optional PM2 Control register 
1327197104Sjkimdoes not exist during an attempt to write the Bus Master Arbitration bit. 
1328197104Sjkim(However, some hosts already delete the code that writes this bit, and the 
1329197104Sjkimcode may in fact be obsolete at this date.) ACPICA BZ 799.
1330197104Sjkim
1331220663SjkimFixed a problem where AcpiTerminate could fault if inadvertently called twice 
1332197104Sjkimin succession. ACPICA BZ 795.
1333197104Sjkim
1334197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1335197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1336220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1337197104Sjkimmuch larger code and data size.
1338197104Sjkim
1339197104Sjkim  Previous Release:
1340197104Sjkim    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1341197104Sjkim    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1342197104Sjkim  Current Release:
1343197104Sjkim    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
1344197104Sjkim    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
1345197104Sjkim
1346197104Sjkim2) iASL Compiler/Disassembler and Tools:
1347197104Sjkim
1348197104SjkimACPI 4.0: Implemented disassembler support for all new ACPI tables and 
1349197104Sjkimchanges to existing tables. ACPICA BZ 775.
1350197104Sjkim
1351197104Sjkim----------------------------------------
1352197104Sjkim25 June 2009. Summary of changes for version 20090625:
1353197104Sjkim
1354197104SjkimThe ACPI 4.0 Specification was released on June 16 and is available at 
1355197104Sjkimwww.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
1356197104Sjkimcontinue for the next few releases.
1357197104Sjkim
1358197104Sjkim1) ACPI CA Core Subsystem:
1359197104Sjkim
1360197104SjkimACPI 4.0: Implemented interpreter support for the IPMI operation region 
1361197104Sjkimaddress space. Includes support for bi-directional data buffers and an IPMI 
1362197104Sjkimaddress space handler (to be installed by an IPMI device driver.) ACPICA BZ 
1363197104Sjkim773. Lin Ming.
1364197104Sjkim
1365197104SjkimACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes 
1366197104Sjkimsupport in both the header files and the disassembler.
1367197104Sjkim
1368197104SjkimCompleted a major update for the AcpiGetObjectInfo external interface. 
1369197104SjkimChanges include:
1370197104Sjkim - Support for variable, unlimited length HID, UID, and CID strings.
1371197104Sjkim - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, etc.)
1372197104Sjkim - Call the _SxW power methods on behalf of a device object.
1373197104Sjkim - Determine if a device is a PCI root bridge.
1374197104Sjkim - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
1375197104SjkimThese changes will require an update to all callers of this interface. See 
1376197104Sjkimthe updated ACPICA Programmer Reference for details. One new source file has 
1377197104Sjkimbeen added - utilities/utids.c. ACPICA BZ 368, 780.
1378197104Sjkim
1379197104SjkimUpdated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
1380197104Sjkimtransfers. The Value parameter has been extended from 32 bits to 64 bits in 
1381220663Sjkimorder to support new ACPI 4.0 tables. These changes will require an update to 
1382197104Sjkimall callers of these interfaces. See the ACPICA Programmer Reference for 
1383197104Sjkimdetails. ACPICA BZ 768.
1384197104Sjkim
1385197104SjkimFixed several problems with AcpiAttachData. The handler was not invoked when 
1386197104Sjkimthe host node was deleted. The data sub-object was not automatically deleted 
1387197104Sjkimwhen the host node was deleted. The interface to the handler had an unused 
1388197104Sjkimparameter, this was removed. ACPICA BZ 778.
1389197104Sjkim
1390197104SjkimEnhanced the function that dumps ACPI table headers. All non-printable 
1391197104Sjkimcharacters in the string fields are now replaced with '?' (Signature, OemId, 
1392197104SjkimOemTableId, and CompilerId.) ACPI tables with non-printable characters in 
1393197104Sjkimthese fields are occasionally seen in the field. ACPICA BZ 788.
1394197104Sjkim
1395197104SjkimFixed a problem with predefined method repair code where the code that 
1396197104Sjkimattempts to repair/convert an object of incorrect type is only executed on 
1397197104Sjkimthe first time the predefined method is called. The mechanism that disables 
1398197104Sjkimwarnings on subsequent calls was interfering with the repair mechanism. 
1399197104SjkimACPICA BZ 781.
1400197104Sjkim
1401197104SjkimFixed a possible memory leak in the predefined validation/repair code when a 
1402197104Sjkimbuffer is automatically converted to an expected string object.
1403197104Sjkim
1404197104SjkimRemoved obsolete 16-bit files from the distribution and from the current git 
1405197104Sjkimtree head. ACPICA BZ 776.
1406197104Sjkim
1407197104SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1408197104Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1409220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1410197104Sjkimmuch larger code and data size.
1411197104Sjkim
1412197104Sjkim  Previous Release:
1413197104Sjkim    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1414197104Sjkim    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1415197104Sjkim  Current Release:
1416197104Sjkim    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
1417197104Sjkim    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
1418197104Sjkim
1419197104Sjkim2) iASL Compiler/Disassembler and Tools:
1420197104Sjkim
1421197104SjkimACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
1422197104Sjkimoperation region keyword. ACPICA BZ 771, 772. Lin Ming.
1423197104Sjkim
1424197104SjkimACPI 4.0: iASL - implemented compile-time validation support for all new 
1425197104Sjkimpredefined names and control methods (31 total). ACPICA BZ 769.
1426197104Sjkim
1427197104Sjkim----------------------------------------
1428193267Sjkim21 May 2009. Summary of changes for version 20090521:
1429193267Sjkim
1430193267Sjkim1) ACPI CA Core Subsystem:
1431193267Sjkim
1432193267SjkimDisabled the preservation of the SCI enable bit in the PM1 control register. 
1433220663SjkimThe SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to be 
1434193267Sjkima "preserved" bit - "OSPM always preserves this bit position", section 
1435193267Sjkim4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
1436193267Sjkimbecause the bit needs to be explicitly set by the OS as a workaround. No 
1437193267Sjkimmachines fail if the bit is not preserved. Therefore, ACPICA no longer 
1438193267Sjkimattempts to preserve this bit.
1439193267Sjkim
1440193267SjkimFixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
1441193267Sjkimincorrectly formed _PRT package could cause a fault. Added validation to 
1442193267Sjkimensure that each package element is actually a sub-package.
1443193267Sjkim
1444193267SjkimImplemented a new interface to install or override a single control method, 
1445220663SjkimAcpiInstallMethod. This interface is useful when debugging in order to repair 
1446193267Sjkiman existing method or to install a missing method without having to override 
1447193267Sjkimthe entire ACPI table. See the ACPICA Programmer Reference for use and 
1448193267Sjkimexamples. Lin Ming, Bob Moore.
1449193267Sjkim
1450193267SjkimFixed several reference count issues with the DdbHandle object that is 
1451193267Sjkimcreated from a Load or LoadTable operator. Prevent premature deletion of the 
1452193267Sjkimobject. Also, mark the object as invalid once the table has been unloaded. 
1453193267SjkimThis is needed because the handle itself may not be deleted after the table 
1454193267Sjkimunload, depending on whether it has been stored in a named object by the 
1455193267Sjkimcaller. Lin Ming.
1456193267Sjkim
1457193267SjkimFixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
1458193267Sjkimmutexes of the same sync level are acquired but then not released in strict 
1459220663Sjkimopposite order, the internally maintained Current Sync Level becomes confused 
1460193267Sjkimand can cause subsequent execution errors. ACPICA BZ 471.
1461193267Sjkim
1462193267SjkimChanged the allowable release order for ASL mutex objects. The ACPI 4.0 
1463193267Sjkimspecification has been changed to make the SyncLevel for mutex objects more 
1464193267Sjkimuseful. When releasing a mutex, the SyncLevel of the mutex must now be the 
1465193267Sjkimsame as the current sync level. This makes more sense than the previous rule 
1466193267Sjkim(SyncLevel less than or equal). This change updates the code to match the 
1467193267Sjkimspecification.
1468193267Sjkim
1469193267SjkimFixed a problem with the local version of the AcpiOsPurgeCache function. The 
1470193267Sjkim(local) cache must be locked during all cache object deletions. Andrew 
1471193267SjkimBaumann.
1472193267Sjkim
1473193267SjkimUpdated the Load operator to use operation region interfaces. This replaces 
1474193267Sjkimdirect memory mapping with region access calls. Now, all region accesses go 
1475193267Sjkimthrough the installed region handler as they should.
1476193267Sjkim
1477193267SjkimSimplified and optimized the NsGetNextNode function. Reduced parameter count 
1478193267Sjkimand reduced code for this frequently used function.
1479193267Sjkim
1480193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1481193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1482220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1483193267Sjkimmuch larger code and data size.
1484193267Sjkim
1485193267Sjkim  Previous Release:
1486193267Sjkim    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1487193267Sjkim    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1488193267Sjkim  Current Release:
1489193267Sjkim    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
1490193267Sjkim    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
1491193267Sjkim
1492193267Sjkim2) iASL Compiler/Disassembler and Tools:
1493193267Sjkim
1494193267SjkimDisassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems 
1495193267Sjkimwith sub-table disassembly and handling invalid sub-tables. Attempt recovery 
1496193267Sjkimafter an invalid sub-table ID.
1497193267Sjkim
1498193267Sjkim----------------------------------------
1499193267Sjkim22 April 2009. Summary of changes for version 20090422:
1500193267Sjkim
1501193267Sjkim1) ACPI CA Core Subsystem:
1502193267Sjkim
1503193267SjkimFixed a compatibility issue with the recently released I/O port protection 
1504193267Sjkimmechanism. For windows compatibility, 1) On a port protection violation, 
1505193267Sjkimsimply ignore the request and do not return an exception (allow the control 
1506193267Sjkimmethod to continue execution.) 2) If only part of the request overlaps a 
1507220663Sjkimprotected port, read/write the individual ports that are not protected. Linux 
1508193267SjkimBZ 13036. Lin Ming
1509193267Sjkim
1510220663SjkimEnhanced the execution of the ASL/AML BreakPoint operator so that it actually 
1511193267Sjkimbreaks into the AML debugger if the debugger is present. This matches the 
1512193267SjkimACPI-defined behavior.
1513193267Sjkim
1514193267SjkimFixed several possible warnings related to the use of the configurable 
1515193267SjkimACPI_THREAD_ID. This type can now be configured as either an integer or a 
1516193267Sjkimpointer with no warnings. Also fixes several warnings in printf-like 
1517193267Sjkimstatements for the 64-bit build when the type is configured as a pointer. 
1518193267SjkimACPICA BZ 766, 767.
1519193267Sjkim
1520193267SjkimFixed a number of possible warnings when compiling with gcc 4+ (depending on 
1521193267Sjkimwarning options.) Examples include printf formats, aliasing, unused globals, 
1522193267Sjkimmissing prototypes, missing switch default statements, use of non-ANSI 
1523220663Sjkimlibrary functions, use of non-ANSI constructs. See generate/unix/Makefile for 
1524193267Sjkima list of warning options used with gcc 3 and 4. ACPICA BZ 735.
1525193267Sjkim
1526193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1527193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1528220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1529193267Sjkimmuch larger code and data size.
1530193267Sjkim
1531193267Sjkim  Previous Release:
1532193267Sjkim    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1533193267Sjkim    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1534193267Sjkim  Current Release:
1535193267Sjkim    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
1536193267Sjkim    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
1537193267Sjkim
1538193267Sjkim2) iASL Compiler/Disassembler and Tools:
1539193267Sjkim
1540220663SjkimiASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on 
1541193267Sjkimthe 64-bit build.
1542193267Sjkim
1543220663SjkimiASL: Fixed a problem where the Unix/Linux versions of the compiler could not 
1544193267Sjkimcorrectly digest Windows/DOS formatted files (with CR/LF).
1545193267Sjkim
1546193267SjkimiASL: Added a new option for "quiet mode" (-va) that produces only the 
1547193267Sjkimcompilation summary, not individual errors and warnings. Useful for large 
1548193267Sjkimbatch compilations.
1549193267Sjkim
1550193267SjkimAcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex 
1551193267Sjkimtimeout that can be used to detect hang conditions during execution of AML 
1552193267Sjkimcode (includes both internal semaphores and AML-defined mutexes and events.)
1553193267Sjkim
1554193267SjkimAdded new makefiles for the generation of acpica in a generic unix-like 
1555193267Sjkimenvironment. These makefiles are intended to generate the acpica tools and 
1556193267Sjkimutilities from the original acpica git source tree structure.
1557193267Sjkim
1558193267SjkimTest Suites: Updated and cleaned up the documentation files. Updated the 
1559193267Sjkimcopyrights to 2009, affecting all source files. Use the new version of iASL 
1560193267Sjkimwith quiet mode. Increased the number of available semaphores in the Windows 
1561193267SjkimOSL, allowing the aslts to execute fully on Windows. For the Unix OSL, added 
1562193267Sjkiman alternate implementation of the semaphore timeout to allow aslts to 
1563193267Sjkimexecute fully on Cygwin.
1564193267Sjkim
1565193267Sjkim----------------------------------------
1566193267Sjkim20 March 2009. Summary of changes for version 20090320:
1567193267Sjkim
1568193267Sjkim1) ACPI CA Core Subsystem:
1569193267Sjkim
1570193267SjkimFixed a possible race condition between AcpiWalkNamespace and dynamic table 
1571220663Sjkimunloads. Added a reader/writer locking mechanism to allow multiple concurrent 
1572220663Sjkimnamespace walks (readers), but block a dynamic table unload until it can gain 
1573193267Sjkimexclusive write access to the namespace. This fixes a problem where a table 
1574193267Sjkimunload could (possibly catastrophically) delete the portion of the namespace 
1575193267Sjkimthat is currently being examined by a walk. Adds a new file, utlock.c, that 
1576193267Sjkimimplements the reader/writer lock mechanism. ACPICA BZ 749.
1577193267Sjkim
1578193267SjkimFixed a regression introduced in version 20090220 where a change to the FADT 
1579193267Sjkimhandling could cause the ACPICA subsystem to access non-existent I/O ports.
1580193267Sjkim
1581193267SjkimModified the handling of FADT register and table (FACS/DSDT) addresses. The 
1582193267SjkimFADT can contain both 32-bit and 64-bit versions of these addresses. 
1583193267SjkimPreviously, the 64-bit versions were favored, meaning that if both 32 and 64 
1584193267Sjkimversions were valid, but not equal, the 64-bit version was used. This was 
1585193267Sjkimfound to cause some machines to fail. Now, in this case, the 32-bit version 
1586193267Sjkimis used instead. This now matches the Windows behavior.
1587193267Sjkim
1588193267SjkimImplemented a new mechanism to protect certain I/O ports. Provides Microsoft 
1589193267Sjkimcompatibility and protects the standard PC I/O ports from access via AML 
1590193267Sjkimcode. Adds a new file, hwvalid.c
1591193267Sjkim
1592193267SjkimFixed a possible extraneous warning message from the FADT support. The 
1593193267Sjkimmessage warns of a 32/64 length mismatch between the legacy and GAS 
1594193267Sjkimdefinitions for a register.
1595193267Sjkim
1596193267SjkimRemoved the obsolete AcpiOsValidateAddress OSL interface. This interface is 
1597193267Sjkimmade obsolete by the port protection mechanism above. It was previously used 
1598193267Sjkimto validate the entire address range of an operation region, which could be 
1599193267Sjkimincorrect if the range included illegal ports, but fields within the 
1600193267Sjkimoperation region did not actually access those ports. Validation is now 
1601193267Sjkimperformed on a per-field basis instead of the entire region.
1602193267Sjkim
1603193267SjkimModified the handling of the PM1 Status Register ignored bit (bit 11.) 
1604193267SjkimIgnored bits must be "preserved" according to the ACPI spec. Usually, this 
1605193267Sjkimmeans a read/modify/write when writing to the register. However, for status 
1606220663Sjkimregisters, writing a one means clear the event. Writing a zero means preserve 
1607193267Sjkimthe event (do not clear.) This behavior is clarified in the ACPI 4.0 spec, 
1608193267Sjkimand the ACPICA code now simply always writes a zero to the ignored bit.
1609193267Sjkim
1610193267SjkimModified the handling of ignored bits for the PM1 A/B Control Registers. As 
1611193267Sjkimper the ACPI specification, for the control registers, preserve 
1612193267Sjkim(read/modify/write) all bits that are defined as either reserved or ignored.
1613193267Sjkim
1614193267SjkimUpdated the handling of write-only bits in the PM1 A/B Control Registers. 
1615193267SjkimWhen reading the register, zero the write-only bits as per the ACPI spec. 
1616193267SjkimACPICA BZ 443. Lin Ming.
1617193267Sjkim
1618193267SjkimRemoved "Linux" from the list of supported _OSI strings. Linux no longer 
1619193267Sjkimwants to reply true to this request. The Windows strings are the only paths 
1620193267Sjkimthrough the AML that are tested and known to work properly.
1621193267Sjkim
1622193267Sjkim  Previous Release:
1623193267Sjkim    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1624193267Sjkim    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1625193267Sjkim  Current Release:
1626193267Sjkim    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
1627193267Sjkim    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
1628193267Sjkim
1629193267Sjkim2) iASL Compiler/Disassembler and Tools:
1630193267Sjkim
1631193267SjkimAcpiexec: Split the large aeexec.c file into two new files, aehandlers.c and 
1632193267Sjkimaetables.c
1633193267Sjkim
1634193267Sjkim----------------------------------------
1635193267Sjkim20 February 2009. Summary of changes for version 20090220:
1636193267Sjkim
1637193267Sjkim1) ACPI CA Core Subsystem:
1638193267Sjkim
1639193267SjkimOptimized the ACPI register locking. Removed locking for reads from the ACPI 
1640193267Sjkimbit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is 
1641193267Sjkimnot required when reading the single-bit registers. The 
1642193267SjkimAcpiGetRegisterUnlocked function is no longer needed and has been removed. 
1643193267SjkimThis will improve performance for reads on these registers. ACPICA BZ 760.
1644193267Sjkim
1645193267SjkimFixed the parameter validation for AcpiRead/Write. Now return 
1646220663SjkimAE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS if 
1647193267Sjkimthe register has an address of zero. Previously, these cases simply returned 
1648193267SjkimAE_OK. For optional registers such as PM1B status/enable/control, the caller 
1649193267Sjkimshould check for a valid register address before calling. ACPICA BZ 748.
1650193267Sjkim
1651193267SjkimRenamed the external ACPI bit register access functions. Renamed 
1652193267SjkimAcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
1653193267Sjkimfunctions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister. 
1654193267SjkimAlso, restructured the code for these functions by simplifying the code path 
1655193267Sjkimand condensing duplicate code to reduce code size.
1656193267Sjkim
1657193267SjkimAdded new functions to transparently handle the possibly split PM1 A/B 
1658193267Sjkimregisters. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions 
1659220663Sjkimnow handle the split registers for PM1 Status, Enable, and Control. ACPICA BZ 
1660193267Sjkim746.
1661193267Sjkim
1662193267SjkimAdded a function to handle the PM1 control registers, AcpiHwWritePm1Control. 
1663220663SjkimThis function writes both of the PM1 control registers (A/B). These registers 
1664193267Sjkimare different than the PM1 A/B status and enable registers in that different 
1665193267Sjkimvalues can be written to the A/B registers. Most notably, the SLP_TYP bits 
1666220663Sjkimcan be different, as per the values returned from the _Sx predefined methods.
1667193267Sjkim
1668193267SjkimRemoved an extra register write within AcpiHwClearAcpiStatus. This function 
1669193267Sjkimwas writing an optional PM1B status register twice. The existing call to the 
1670193267Sjkimlow-level AcpiHwRegisterWrite automatically handles a possibly split PM1 A/B 
1671193267Sjkimregister. ACPICA BZ 751.
1672193267Sjkim
1673220663SjkimSplit out the PM1 Status registers from the FADT. Added new globals for these 
1674193267Sjkimregisters (A/B), similar to the way the PM1 Enable registers are handled. 
1675193267SjkimInstead of overloading the FADT Event Register blocks. This makes the code 
1676193267Sjkimclearer and less prone to error.
1677193267Sjkim
1678220663SjkimFixed the warning message for when the platform contains too many ACPI tables 
1679220663Sjkimfor the default size of the global root table data structure. The calculation 
1680193267Sjkimfor the truncation value was incorrect.
1681193267Sjkim
1682193267SjkimRemoved the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
1683193267Sjkimobsolete macro, since it is now a simple reference to ->common.type. There 
1684193267Sjkimwere about 150 invocations of the macro across 41 files. ACPICA BZ 755.
1685193267Sjkim
1686193267SjkimRemoved the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
1687193267SjkimTYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
1688193267Sjkimsimply SLEEP_TYPE. ACPICA BZ 754.
1689193267Sjkim
1690193267SjkimConditionally compile the AcpiSetFirmwareWakingVector64 function. This 
1691193267Sjkimfunction is only needed on 64-bit host operating systems and is thus not 
1692193267Sjkimincluded for 32-bit hosts.
1693193267Sjkim
1694220663SjkimDebug output: print the input and result for invocations of the _OSI reserved 
1695193267Sjkimcontrol method via the ACPI_LV_INFO debug level. Also, reduced some of the 
1696193267Sjkimverbosity of this debug level. Len Brown.
1697193267Sjkim
1698193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1699193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1700220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1701193267Sjkimmuch larger code and data size.
1702193267Sjkim
1703193267Sjkim  Previous Release:
1704193267Sjkim    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1705193267Sjkim    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1706193267Sjkim  Current Release:
1707193267Sjkim    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
1708193267Sjkim    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
1709193267Sjkim
1710193267Sjkim2) iASL Compiler/Disassembler and Tools:
1711193267Sjkim
1712193267SjkimDisassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
1713193267Sjkimvarious legal performance profiles.
1714193267Sjkim
1715193267Sjkim----------------------------------------
1716193267Sjkim23 January 2009. Summary of changes for version 20090123:
1717193267Sjkim
1718193267Sjkim1) ACPI CA Core Subsystem:
1719193267Sjkim
1720193267SjkimAdded the 2009 copyright to all module headers and signons. This affects 
1721193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
1722193267Sjkimthe tools/utilities.
1723193267Sjkim
1724193267SjkimImplemented a change to allow the host to override any ACPI table, including 
1725220663Sjkimdynamically loaded tables. Previously, only the DSDT could be replaced by the 
1726193267Sjkimhost. With this change, the AcpiOsTableOverride interface is called for each 
1727193267Sjkimtable found in the RSDT/XSDT during ACPICA initialization, and also whenever 
1728193267Sjkima table is dynamically loaded via the AML Load operator.
1729193267Sjkim
1730193267SjkimUpdated FADT flag definitions, especially the Boot Architecture flags.
1731193267Sjkim
1732193267SjkimDebugger: For the Find command, automatically pad the input ACPI name with 
1733193267Sjkimunderscores if the name is shorter than 4 characters. This enables a match 
1734193267Sjkimwith the actual namespace entry which is itself padded with underscores.
1735193267Sjkim
1736193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1737193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1738220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1739193267Sjkimmuch larger code and data size.
1740193267Sjkim
1741193267Sjkim  Previous Release:
1742193267Sjkim    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1743193267Sjkim    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1744193267Sjkim  Current Release:
1745193267Sjkim    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
1746193267Sjkim    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
1747193267Sjkim
1748193267Sjkim2) iASL Compiler/Disassembler and Tools:
1749193267Sjkim
1750193267SjkimFix build error under Bison-2.4.
1751193267Sjkim
1752193267SjkimDissasembler: Enhanced FADT support. Added decoding of the Boot Architecture 
1753193267Sjkimflags. Now decode all flags, regardless of the FADT version. Flag output 
1754193267Sjkimincludes the FADT version which first defined each flag.
1755193267Sjkim
1756193267SjkimThe iASL -g option now dumps the RSDT to a file (in addition to the FADT and 
1757193267SjkimDSDT). Windows only.
1758193267Sjkim
1759193267Sjkim----------------------------------------
1760193267Sjkim04 December 2008. Summary of changes for version 20081204:
1761193267Sjkim
1762193267Sjkim1) ACPI CA Core Subsystem:
1763193267Sjkim
1764193267SjkimThe ACPICA Programmer Reference has been completely updated and revamped for 
1765193267Sjkimthis release. This includes updates to the external interfaces, OSL 
1766193267Sjkiminterfaces, the overview sections, and the debugger reference.
1767193267Sjkim
1768193267SjkimSeveral new ACPICA interfaces have been implemented and documented in the 
1769193267Sjkimprogrammer reference:
1770193267SjkimAcpiReset - Writes the reset value to the FADT-defined reset register.
1771193267SjkimAcpiDisableAllGpes - Disable all available GPEs.
1772193267SjkimAcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
1773193267SjkimAcpiGetGpeDevice - Get the GPE block device associated with a GPE.
1774193267SjkimAcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
1775193267SjkimAcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
1776193267SjkimAcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
1777193267Sjkim
1778193267SjkimMost of the public ACPI hardware-related interfaces have been moved to a new 
1779193267Sjkimfile, components/hardware/hwxface.c
1780193267Sjkim
1781193267SjkimEnhanced the FADT parsing and low-level ACPI register access: The ACPI 
1782193267Sjkimregister lengths within the FADT are now used, and the low level ACPI 
1783193267Sjkimregister access no longer hardcodes the ACPI register lengths. Given that 
1784220663Sjkimthere may be some risk in actually trusting the FADT register lengths, a run-
1785193267Sjkimtime option was added to fall back to the default hardcoded lengths if the 
1786193267SjkimFADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
1787193267Sjkimoption is set to true for now, and a warning is issued if a suspicious FADT 
1788193267Sjkimregister length is overridden with the default value.
1789193267Sjkim
1790193267SjkimFixed a reference count issue in NsRepairObject. This problem was introduced 
1791193267Sjkimin version 20081031 as part of a fix to repair Buffer objects within 
1792193267SjkimPackages. Lin Ming.
1793193267Sjkim
1794193267SjkimAdded semaphore support to the Linux/Unix application OS-services layer 
1795193267Sjkim(OSL). ACPICA BZ 448. Lin Ming.
1796193267Sjkim
1797220663SjkimAdded the ACPI_MUTEX_TYPE configuration option to select whether mutexes will 
1798193267Sjkimbe implemented in the OSL, or will binary semaphores be used instead.
1799193267Sjkim
1800193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1801193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1802220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1803193267Sjkimmuch larger code and data size.
1804193267Sjkim
1805193267Sjkim  Previous Release:
1806193267Sjkim    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1807193267Sjkim    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1808193267Sjkim  Current Release:
1809193267Sjkim    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
1810193267Sjkim    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
1811193267Sjkim
1812193267Sjkim2) iASL Compiler/Disassembler and Tools:
1813193267Sjkim
1814220663SjkimiASL: Completed the '-e' option to include additional ACPI tables in order to 
1815193267Sjkimaid with disassembly and External statement generation. ACPICA BZ 742. Lin 
1816193267SjkimMing.
1817193267Sjkim
1818193267SjkimiASL: Removed the "named object in while loop" error. The compiler cannot 
1819193267Sjkimdetermine how many times a loop will execute. ACPICA BZ 730.
1820193267Sjkim
1821193267SjkimDisassembler: Implemented support for FADT revision 2 (MS extension). ACPICA 
1822193267SjkimBZ 743.
1823193267Sjkim
1824193267SjkimDisassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
1825193267Sjkim
1826193267Sjkim----------------------------------------
1827193267Sjkim31 October 2008. Summary of changes for version 20081031:
1828193267Sjkim
1829193267Sjkim1) ACPI CA Core Subsystem:
1830193267Sjkim
1831220663SjkimRestructured the ACPICA header files into public/private. acpi.h now includes 
1832193267Sjkimonly the "public" acpica headers. All other acpica headers are "private" and 
1833193267Sjkimshould not be included by acpica users. One new file, accommon.h is used to 
1834193267Sjkiminclude the commonly used private headers for acpica code generation. Future 
1835193267Sjkimplans include moving all private headers to a new subdirectory.
1836193267Sjkim
1837193267SjkimImplemented an automatic Buffer->String return value conversion for 
1838193267Sjkimpredefined ACPI methods. For these methods (such as _BIF), added automatic 
1839193267Sjkimconversion for return objects that are required to be a String, but a Buffer 
1840193267Sjkimwas found instead. This can happen when reading string battery data from an 
1841193267Sjkimoperation region, because it used to be difficult to convert the data from 
1842193267Sjkimbuffer to string from within the ASL. Ensures that the host OS is provided 
1843193267Sjkimwith a valid null-terminated string. Linux BZ 11822.
1844193267Sjkim
1845193267SjkimUpdated the FACS waking vector interfaces. Split AcpiSetFirmwareWakingVector 
1846193267Sjkiminto two: one for the 32-bit vector, another for the 64-bit vector. This is 
1847193267Sjkimrequired because the host OS must setup the wake much differently for each 
1848220663Sjkimvector (real vs. protected mode, etc.) and the interface itself should not be 
1849193267Sjkimdeciding which vector to use. Also, eliminated the GetFirmwareWakingVector 
1850193267Sjkiminterface, as it served no purpose (only the firmware reads the vector, OS 
1851193267Sjkimonly writes the vector.) ACPICA BZ 731.
1852193267Sjkim
1853193267SjkimImplemented a mechanism to escape infinite AML While() loops. Added a loop 
1854193267Sjkimcounter to force exit from AML While loops if the count becomes too large. 
1855193267SjkimThis can occur in poorly written AML when the hardware does not respond 
1856193267Sjkimwithin a while loop and the loop does not implement a timeout. The maximum 
1857193267Sjkimloop count is configurable. A new exception code is returned when a loop is 
1858193267Sjkimbroken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
1859193267Sjkim
1860193267SjkimOptimized the execution of AML While loops. Previously, a control state 
1861193267Sjkimobject was allocated and freed for each execution of the loop. The 
1862193267Sjkimoptimization is to simply reuse the control state for each iteration. This 
1863193267Sjkimspeeds up the raw loop execution time by about 5%.
1864193267Sjkim
1865193267SjkimEnhanced the implicit return mechanism. For Windows compatibility, return an 
1866193267Sjkimimplicit integer of value zero for methods that contain no executable code. 
1867193267SjkimSuch methods are seen in the field as stubs (presumably), and can cause 
1868193267Sjkimdrivers to fail if they expect a return value. Lin Ming.
1869193267Sjkim
1870193267SjkimAllow multiple backslashes as root prefixes in namepaths. In a fully 
1871193267Sjkimqualified namepath, allow multiple backslash prefixes. This can happen (and 
1872193267Sjkimis seen in the field) because of the use of a double-backslash in strings 
1873193267Sjkim(since backslash is the escape character) causing confusion. ACPICA BZ 739 
1874193267SjkimLin Ming.
1875193267Sjkim
1876193267SjkimEmit a warning if two different FACS or DSDT tables are discovered in the 
1877193267SjkimFADT. Checks if there are two valid but different addresses for the FACS and 
1878193267SjkimDSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
1879193267Sjkim
1880193267SjkimConsolidated the method argument count validation code. Merged the code that 
1881193267Sjkimvalidates control method argument counts into the predefined validation 
1882193267Sjkimmodule. Eliminates possible multiple warnings for incorrect argument counts.
1883193267Sjkim
1884193267SjkimImplemented ACPICA example code. Includes code for ACPICA initialization, 
1885193267Sjkimhandler installation, and calling a control method. Available at 
1886193267Sjkimsource/tools/examples.
1887193267Sjkim
1888193267SjkimAdded a global pointer for FACS table to simplify internal FACS access. Use 
1889220663Sjkimthe global pointer instead of using AcpiGetTableByIndex for each FACS access. 
1890193267SjkimThis simplifies the code for the Global Lock and the Firmware Waking 
1891193267SjkimVector(s).
1892193267Sjkim
1893193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1894193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1895220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1896193267Sjkimmuch larger code and data size.
1897193267Sjkim
1898193267Sjkim  Previous Release:
1899193267Sjkim    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1900193267Sjkim    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1901193267Sjkim  Current Release:
1902193267Sjkim    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
1903193267Sjkim    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
1904193267Sjkim
1905193267Sjkim2) iASL Compiler/Disassembler and Tools:
1906193267Sjkim
1907193267SjkimiASL: Improved disassembly of external method calls. Added the -e option to 
1908220663Sjkimallow the inclusion of additional ACPI tables to help with the disassembly of 
1909193267Sjkimmethod invocations and the generation of external declarations during the 
1910193267Sjkimdisassembly. Certain external method invocations cannot be disassembled 
1911193267Sjkimproperly without the actual declaration of the method. Use the -e option to 
1912193267Sjkiminclude the table where the external method(s) are actually declared. Most 
1913193267Sjkimuseful for disassembling SSDTs that make method calls back to the master 
1914193267SjkimDSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d 
1915193267Sjkim-e dsdt.aml ssdt1.aml
1916193267Sjkim
1917193267SjkimiASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
1918193267Sjkimproblem where the use of an alias within a namepath would result in a not 
1919193267Sjkimfound error or cause the compiler to fault. Also now allows forward 
1920193267Sjkimreferences from the Alias operator itself. ACPICA BZ 738.
1921193267Sjkim
1922193267Sjkim----------------------------------------
1923193267Sjkim26 September 2008. Summary of changes for version 20080926:
1924193267Sjkim
1925193267Sjkim1) ACPI CA Core Subsystem:
1926193267Sjkim
1927193267SjkimDesigned and implemented a mechanism to validate predefined ACPI methods and 
1928220663Sjkimobjects. This code validates the predefined ACPI objects (objects whose names 
1929193267Sjkimstart with underscore) that appear in the namespace, at the time they are 
1930193267Sjkimevaluated. The argument count and the type of the returned object are 
1931193267Sjkimvalidated against the ACPI specification. The purpose of this validation is 
1932193267Sjkimto detect problems with the BIOS-implemented predefined ACPI objects before 
1933220663Sjkimthe results are returned to the ACPI-related drivers. Future enhancements may 
1934193267Sjkiminclude actual repair of incorrect return objects where possible. Two new 
1935193267Sjkimfiles are nspredef.c and acpredef.h.
1936193267Sjkim
1937193267SjkimFixed a fault in the AML parser if a memory allocation fails during the Op 
1938193267Sjkimcompletion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
1939193267Sjkim
1940193267SjkimFixed an issue with implicit return compatibility. This change improves the 
1941193267Sjkimimplicit return mechanism to be more compatible with the MS interpreter. Lin 
1942193267SjkimMing, ACPICA BZ 349.
1943193267Sjkim
1944193267SjkimImplemented support for zero-length buffer-to-string conversions. Allow zero 
1945193267Sjkimlength strings during interpreter buffer-to-string conversions. For example, 
1946193267Sjkimduring the ToDecimalString and ToHexString operators, as well as implicit 
1947193267Sjkimconversions. Fiodor Suietov, ACPICA BZ 585.
1948193267Sjkim
1949193267SjkimFixed two possible memory leaks in the error exit paths of 
1950193267SjkimAcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are 
1951193267Sjkimsimilar in that they use a stack of state objects in order to eliminate 
1952193267Sjkimrecursion. The stack must be fully unwound and deallocated if an error 
1953193267Sjkimoccurs. Lin Ming. ACPICA BZ 383.
1954193267Sjkim
1955220663SjkimRemoved the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the global 
1956193267SjkimACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
1957193267SjkimMoore ACPICA BZ 442.
1958193267Sjkim
1959193267SjkimRemoved the obsolete version number in module headers. Removed the 
1960193267Sjkim"$Revision" number that appeared in each module header. This version number 
1961193267Sjkimwas useful under SourceSafe and CVS, but has no meaning under git. It is not 
1962193267Sjkimonly incorrect, it could also be misleading.
1963193267Sjkim
1964193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
1965193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
1966220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
1967193267Sjkimmuch larger code and data size.
1968193267Sjkim
1969193267Sjkim  Previous Release:
1970193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
1971193267Sjkim    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
1972193267Sjkim  Current Release:
1973193267Sjkim    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
1974193267Sjkim    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
1975193267Sjkim
1976193267Sjkim----------------------------------------
1977193267Sjkim29 August 2008. Summary of changes for version 20080829:
1978193267Sjkim
1979193267Sjkim1) ACPI CA Core Subsystem:
1980193267Sjkim
1981193267SjkimCompleted a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
1982193267SjkimReference. Changes include the elimination of cheating on the Object field 
1983193267Sjkimfor the DdbHandle subtype, addition of a reference class field to 
1984220663Sjkimdifferentiate the various reference types (instead of an AML opcode), and the 
1985193267Sjkimcleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
1986193267Sjkim
1987193267SjkimReduce an error to a warning for an incorrect method argument count. 
1988193267SjkimPreviously aborted with an error if too few arguments were passed to a 
1989220663Sjkimcontrol method via the external ACPICA interface. Now issue a warning instead 
1990193267Sjkimand continue. Handles the case where the method inadvertently declares too 
1991193267Sjkimmany arguments, but does not actually use the extra ones. Applies mainly to 
1992193267Sjkimthe predefined methods. Lin Ming. Linux BZ 11032.
1993193267Sjkim
1994220663SjkimDisallow the evaluation of named object types with no intrinsic value. Return 
1995220663SjkimAE_TYPE for objects that have no value and therefore evaluation is undefined: 
1996193267SjkimDevice, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation of 
1997193267Sjkimthese types were allowed, but an exception would be generated at some point 
1998193267Sjkimduring the evaluation. Now, the error is generated up front.
1999193267Sjkim
2000193267SjkimFixed a possible memory leak in the AcpiNsGetExternalPathname function 
2001193267Sjkim(nsnames.c). Fixes a leak in the error exit path.
2002193267Sjkim
2003220663SjkimRemoved the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These debug 
2004220663Sjkimlevels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and ACPI_EXCEPTION 
2005193267Sjkiminterfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
2006193267SjkimACPI_LV_EVENTS.
2007193267Sjkim
2008193267SjkimRemoved obsolete and/or unused exception codes from the acexcep.h header. 
2009193267SjkimThere is the possibility that certain device drivers may be affected if they 
2010193267Sjkimuse any of these exceptions.
2011193267Sjkim
2012193267SjkimThe ACPICA documentation has been added to the public git source tree, under 
2013193267Sjkimacpica/documents. Included are the ACPICA programmer reference, the iASL 
2014193267Sjkimcompiler reference, and the changes.txt release logfile.
2015193267Sjkim
2016193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2017193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2018220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2019193267Sjkimmuch larger code and data size.
2020193267Sjkim
2021193267Sjkim  Previous Release:
2022193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2023193267Sjkim    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2024193267Sjkim  Current Release:
2025193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2026193267Sjkim    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
2027193267Sjkim
2028193267Sjkim2) iASL Compiler/Disassembler and Tools:
2029193267Sjkim
2030193267SjkimAllow multiple argument counts for the predefined _SCP method. ACPI 3.0 
2031193267Sjkimdefines _SCP with 3 arguments. Previous versions defined it with only 1 
2032193267Sjkimargument. iASL now allows both definitions.
2033193267Sjkim
2034193267SjkimiASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
2035193267Sjkimlength subtables when disassembling ACPI tables. Also fixed a couple of 
2036193267Sjkimerrors where a full 16-bit table type field was not extracted from the input 
2037193267Sjkimproperly.
2038193267Sjkim
2039193267Sjkimacpisrc: Improve comment counting mechanism for generating source code 
2040193267Sjkimstatistics. Count first and last lines of multi-line comments as whitespace, 
2041193267Sjkimnot comment lines. Handle Linux legal header in addition to standard acpica 
2042193267Sjkimheader.
2043193267Sjkim
2044193267Sjkim----------------------------------------
2045193267Sjkim
2046193267Sjkim29 July 2008. Summary of changes for version 20080729:
2047193267Sjkim
2048193267Sjkim1) ACPI CA Core Subsystem:
2049193267Sjkim
2050193267SjkimFix a possible deadlock in the GPE dispatch. Remove call to 
2051220663SjkimAcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will attempt 
2052193267Sjkimto acquire the GPE lock but can deadlock since the GPE lock is already held 
2053193267Sjkimat dispatch time. This code was introduced in version 20060831 as a response 
2054193267Sjkimto Linux BZ 6881 and has since been removed from Linux.
2055193267Sjkim
2056220663SjkimAdd a function to dereference returned reference objects. Examines the return 
2057193267Sjkimobject from a call to AcpiEvaluateObject. Any Index or RefOf references are 
2058193267Sjkimautomatically dereferenced in an attempt to return something useful (these 
2059193267Sjkimreference types cannot be converted into an external ACPI_OBJECT.) Provides 
2060193267SjkimMS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
2061193267Sjkim
2062193267Sjkimx2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
2063193267Sjkimsubtables for the MADT and one new subtable for the SRAT. Includes 
2064193267Sjkimdisassembler and AcpiSrc support. Data from the Intel 64 Architecture x2APIC 
2065193267SjkimSpecification, June 2008.
2066193267Sjkim
2067193267SjkimAdditional error checking for pathname utilities. Add error check after all 
2068193267Sjkimcalls to AcpiNsGetPathnameLength. Add status return from 
2069193267SjkimAcpiNsBuildExternalPath and check after all calls. Add parameter validation 
2070193267Sjkimto AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
2071193267Sjkim
2072193267SjkimReturn status from the global init function AcpiUtGlobalInitialize. This is 
2073193267Sjkimused by both the kernel subsystem and the utilities such as iASL compiler. 
2074193267SjkimThe function could possibly fail when the caches are initialized. Yang Yi.
2075193267Sjkim
2076193267SjkimAdd a function to decode reference object types to strings. Created for 
2077193267Sjkimimproved error messages. 
2078193267Sjkim
2079220663SjkimImprove object conversion error messages. Better error messages during object 
2080220663Sjkimconversion from internal to the external ACPI_OBJECT. Used for external calls 
2081193267Sjkimto AcpiEvaluateObject.
2082193267Sjkim
2083193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2084193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2085220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2086193267Sjkimmuch larger code and data size.
2087193267Sjkim
2088193267Sjkim  Previous Release:
2089193267Sjkim    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2090193267Sjkim    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2091193267Sjkim  Current Release:
2092193267Sjkim    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
2093193267Sjkim    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
2094193267Sjkim
2095193267Sjkim2) iASL Compiler/Disassembler and Tools:
2096193267Sjkim
2097193267SjkimDebugger: fix a possible hang when evaluating non-methods. Fixes a problem 
2098193267Sjkimintroduced in version 20080701. If the object being evaluated (via execute 
2099193267Sjkimcommand) is not a method, the debugger can hang while trying to obtain non-
2100193267Sjkimexistent parameters.
2101193267Sjkim
2102193267SjkimiASL: relax error for using reserved "_T_x" identifiers. These names can 
2103193267Sjkimappear in a disassembled ASL file if they were emitted by the original 
2104193267Sjkimcompiler. Instead of issuing an error or warning and forcing the user to 
2105193267Sjkimmanually change these names, issue a remark instead.
2106193267Sjkim
2107220663SjkimiASL: error if named object created in while loop. Emit an error if any named 
2108193267Sjkimobject is created within a While loop. If allowed, this code will generate a 
2109220663Sjkimrun-time error on the second iteration of the loop when an attempt is made to 
2110193267Sjkimcreate the same named object twice. ACPICA bugzilla 730.
2111193267Sjkim
2112193267SjkimiASL: Support absolute pathnames for include files. Add support for absolute 
2113193267Sjkimpathnames within the Include operator. previously, only relative pathnames 
2114193267Sjkimwere supported.
2115193267Sjkim
2116220663SjkimiASL: Enforce minimum 1 interrupt in interrupt macro and Resource Descriptor. 
2117193267SjkimThe ACPI spec requires one interrupt minimum. BZ 423
2118193267Sjkim
2119193267SjkimiASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
2120193267SjkimHandles the case for the Interrupt Resource Descriptor where
2121193267Sjkimthe ResourceSource argument is omitted but ResourceSourceIndex
2122193267Sjkimis present. Now leave room for the Index. BZ 426
2123193267Sjkim
2124193267SjkimiASL: Prevent error message if CondRefOf target does not exist. Fixes cases 
2125193267Sjkimwhere an error message is emitted if the target does not exist. BZ 516
2126193267Sjkim
2127193267SjkimiASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
2128220663Sjkim(get ACPI tables on Windows). This was apparently broken in version 20070919.
2129193267Sjkim
2130220663SjkimAcpiXtract: Handle EOF while extracting data. Correctly handle the case where 
2131193267Sjkimthe EOF happens immediately after the last table in the input file. Print 
2132193267Sjkimcompletion message. Previously, no message was displayed in this case.
2133193267Sjkim
2134193267Sjkim----------------------------------------
2135193267Sjkim01 July 2008. Summary of changes for version 20080701:
2136193267Sjkim
2137193267Sjkim0) Git source tree / acpica.org
2138193267Sjkim
2139193267SjkimFixed a problem where a git-clone from http would not transfer the entire 
2140193267Sjkimsource tree.
2141193267Sjkim
2142193267Sjkim1) ACPI CA Core Subsystem:
2143193267Sjkim
2144193267SjkimImplemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
2145193267Sjkimenable bit. Now performs a read-change-write of the enable register instead 
2146193267Sjkimof simply writing out the cached enable mask. This will prevent inadvertent 
2147220663Sjkimenabling of GPEs if a rogue GPE is received during initialization (before GPE 
2148193267Sjkimhandlers are installed.)
2149193267Sjkim
2150193267SjkimImplemented a copy for dynamically loaded tables. Previously, dynamically 
2151193267Sjkimloaded tables were simply mapped - but on some machines this memory is 
2152193267Sjkimcorrupted after suspend. Now copy the table to a local buffer. For the 
2153193267SjkimOpRegion case, added checksum verify. Use the table length from the table 
2154193267Sjkimheader, not the region length. For the Buffer case, use the table length 
2155193267Sjkimalso. Dennis Noordsij, Bob Moore. BZ 10734
2156193267Sjkim
2157220663SjkimFixed a problem where the same ACPI table could not be dynamically loaded and 
2158193267Sjkimunloaded more than once. Without this change, a table cannot be loaded again 
2159193267Sjkimonce it has been loaded/unloaded one time. The current mechanism does not 
2160220663Sjkimunregister a table upon an unload. During a load, if the same table is found, 
2161193267Sjkimthis no longer returns an exception. BZ 722
2162193267Sjkim
2163193267SjkimFixed a problem where the wrong descriptor length was calculated for the 
2164193267SjkimEndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag 
2165193267Sjkimare calculated as 12 bytes long, but the actual length in the internal 
2166193267Sjkimdescriptor is 16 because of the round-up to 8 on the 64-bit build. Reported 
2167193267Sjkimby Linn Crosetto. BZ 728
2168193267Sjkim
2169193267SjkimFixed a possible memory leak in the Unload operator. The DdbHandle returned 
2170220663Sjkimby Load() did not have its reference count decremented during unload, leading 
2171193267Sjkimto a memory leak. Lin Ming. BZ 727
2172193267Sjkim
2173193267SjkimFixed a possible memory leak when deleting thermal/processor objects. Any 
2174193267Sjkimassociated notify handlers (and objects) were not being deleted. Fiodor 
2175193267SjkimSuietov. BZ 506
2176193267Sjkim
2177193267SjkimFixed the ordering of the ASCII names in the global mutex table to match the 
2178220663Sjkimactual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug only. 
2179193267SjkimVegard Nossum. BZ 726
2180193267Sjkim
2181193267SjkimEnhanced the AcpiGetObjectInfo interface to return the number of required 
2182193267Sjkimarguments if the object is a control method. Added this call to the debugger 
2183193267Sjkimso the proper number of default arguments are passed to a method. This 
2184193267Sjkimprevents a warning when executing methods from AcpiExec.
2185193267Sjkim
2186193267SjkimAdded a check for an invalid handle in AcpiGetObjectInfo. Return 
2187193267SjkimAE_BAD_PARAMETER if input handle is invalid. BZ 474
2188193267Sjkim
2189193267SjkimFixed an extraneous warning from exconfig.c on the 64-bit build.
2190193267Sjkim
2191193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2192193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2193220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2194193267Sjkimmuch larger code and data size.
2195193267Sjkim
2196193267Sjkim  Previous Release:
2197193267Sjkim    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2198193267Sjkim    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2199193267Sjkim  Current Release:
2200193267Sjkim    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
2201193267Sjkim    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
2202193267Sjkim
2203193267Sjkim2) iASL Compiler/Disassembler and Tools:
2204193267Sjkim
2205193267SjkimiASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
2206193267Sjkimresource descriptor names.
2207193267Sjkim
2208220663SjkimiASL: Detect invalid ASCII characters in input (windows version). Removed the 
2209193267Sjkim"-CF" flag from the flex compile, enables correct detection of non-ASCII 
2210193267Sjkimcharacters in the input. BZ 441
2211193267Sjkim
2212193267SjkimiASL: Eliminate warning when result of LoadTable is not used. Eliminate the 
2213193267Sjkim"result of operation not used" warning when the DDB handle returned from 
2214193267SjkimLoadTable is not used. The warning is not needed. BZ 590
2215193267Sjkim
2216220663SjkimAcpiExec: Add support for dynamic table load/unload. Now calls _CFG method to 
2217220663Sjkimpass address of table to the AML. Added option to disable OpRegion simulation 
2218220663Sjkimto allow creation of an OpRegion with a real address that was passed to _CFG. 
2219193267SjkimAll of this allows testing of the Load and Unload operators from AcpiExec.
2220193267Sjkim
2221193267SjkimDebugger: update tables command for unloaded tables. Handle unloaded tables 
2222193267Sjkimand use the standard table header output routine.
2223193267Sjkim
2224193267Sjkim----------------------------------------
2225193267Sjkim09 June 2008. Summary of changes for version 20080609:
2226193267Sjkim
2227193267Sjkim1) ACPI CA Core Subsystem:
2228193267Sjkim
2229193267SjkimImplemented a workaround for reversed _PRT entries. A significant number of 
2230193267SjkimBIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
2231193267Sjkimchange dynamically detects and repairs this problem. Provides compatibility 
2232193267Sjkimwith MS ACPI. BZ 6859
2233193267Sjkim
2234193267SjkimSimplified the internal ACPI hardware interfaces to eliminate the locking 
2235193267Sjkimflag parameter from Register Read/Write. Added a new external interface, 
2236193267SjkimAcpiGetRegisterUnlocked.
2237193267Sjkim
2238220663SjkimFixed a problem where the invocation of a GPE control method could hang. This 
2239193267Sjkimwas a regression introduced in 20080514. The new method argument count 
2240193267Sjkimvalidation mechanism can enter an infinite loop when a GPE method is 
2241220663Sjkimdispatched. Problem fixed by removing the obsolete code that passed GPE block 
2242193267Sjkiminformation to the notify handler via the control method parameter pointer.
2243193267Sjkim
2244193267SjkimFixed a problem where the _SST execution status was incorrectly returned to 
2245193267Sjkimthe caller of AcpiEnterSleepStatePrep. This was a regression introduced in 
2246193267Sjkim20080514. _SST is optional and a NOT_FOUND exception should never be 
2247193267Sjkimreturned. BZ 716
2248193267Sjkim
2249193267SjkimFixed a problem where a deleted object could be accessed from within the AML 
2250220663Sjkimparser. This was a regression introduced in version 20080123 as a fix for the 
2251193267SjkimUnload operator. Lin Ming. BZ 10669
2252193267Sjkim
2253193267SjkimCleaned up the debug operand dump mechanism. Eliminated unnecessary operands 
2254193267Sjkimand eliminated the use of a negative index in a loop. Operands are now 
2255193267Sjkimdisplayed in the correct order, not backwards. This also fixes a regression 
2256193267Sjkimintroduced in 20080514 on 64-bit systems where the elimination of 
2257193267SjkimACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 715
2258193267Sjkim
2259193267SjkimFixed a possible memory leak in EvPciConfigRegionSetup where the error exit 
2260193267Sjkimpath did not delete a locally allocated structure.
2261193267Sjkim
2262193267SjkimUpdated definitions for the DMAR and SRAT tables to synchronize with the 
2263193267Sjkimcurrent specifications. Includes disassembler support.
2264193267Sjkim
2265193267SjkimFixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
2266193267Sjkimloop termination value was used. Loop terminated on iteration early, missing 
2267193267Sjkimone mutex. Linn Crosetto
2268193267Sjkim
2269193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2270193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2271220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2272193267Sjkimmuch larger code and data size.
2273193267Sjkim
2274193267Sjkim  Previous Release:
2275193267Sjkim    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2276193267Sjkim    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2277193267Sjkim  Current Release:
2278193267Sjkim    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
2279193267Sjkim    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
2280193267Sjkim
2281193267Sjkim2) iASL Compiler/Disassembler and Tools:
2282193267Sjkim
2283193267SjkimDisassembler: Implemented support for EisaId() within _CID objects. Now 
2284193267Sjkimdisassemble integer _CID objects back to EisaId invocations, including 
2285193267Sjkimmultiple integers within _CID packages. Includes single-step support for 
2286193267Sjkimdebugger also.
2287193267Sjkim
2288193267SjkimDisassembler: Added support for DMAR and SRAT table definition changes.
2289193267Sjkim
2290193267Sjkim----------------------------------------
2291193267Sjkim14 May 2008. Summary of changes for version 20080514:
2292193267Sjkim
2293193267Sjkim1) ACPI CA Core Subsystem:
2294193267Sjkim
2295193267SjkimFixed a problem where GPEs were enabled too early during the ACPICA 
2296193267Sjkiminitialization. This could lead to "handler not installed" errors on some 
2297193267Sjkimmachines. Moved GPE enable until after _REG/_STA/_INI methods are run. This 
2298193267Sjkimensures that all operation regions and devices throughout the namespace have 
2299193267Sjkimbeen initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
2300193267Sjkim
2301193267SjkimImplemented a change to the enter sleep code. Moved execution of the _GTS 
2302193267Sjkimmethod to just before setting sleep enable bit. The execution was moved from 
2303193267SjkimAcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
2304193267Sjkimimmediately before the SLP_EN bit is set, as per the ACPI specification. 
2305193267SjkimLuming Yu, BZ 1653.
2306193267Sjkim
2307193267SjkimImplemented a fix to disable unknown GPEs (2nd version). Now always disable 
2308193267Sjkimthe GPE, even if ACPICA thinks that that it is already disabled. It is 
2309193267Sjkimpossible that the AML or some other code has enabled the GPE unbeknownst to 
2310193267Sjkimthe ACPICA code.
2311193267Sjkim
2312220663SjkimFixed a problem with the Field operator where zero-length fields would return 
2313220663Sjkiman AE_AML_NO_OPERAND exception during table load. Fix enables zero-length ASL 
2314193267Sjkimfield declarations in Field(), BankField(), and IndexField(). BZ 10606.
2315193267Sjkim
2316193267SjkimImplemented a fix for the Load operator, now load the table at the namespace 
2317193267Sjkimroot. This reverts a change introduced in version 20071019. The table is now 
2318193267Sjkimloaded at the namespace root even though this goes against the ACPI 
2319193267Sjkimspecification. This provides compatibility with other ACPI implementations. 
2320220663SjkimThe ACPI specification will be updated to reflect this in ACPI 4.0. Lin Ming.
2321193267Sjkim
2322220663SjkimFixed a problem where ACPICA would not Load() tables with unusual signatures. 
2323193267SjkimNow ignore ACPI table signature for Load() operator. Only "SSDT" is 
2324193267Sjkimacceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
2325220663SjkimTherefore, signature validation is worthless. Apparently MS ACPI accepts such 
2326193267Sjkimsignatures, ACPICA must be compatible. BZ 10454.
2327193267Sjkim
2328193267SjkimFixed a possible negative array index in AcpiUtValidateException. Added NULL 
2329193267Sjkimfields to the exception string arrays to eliminate a -1 subtraction on the 
2330193267SjkimSubStatus field.
2331193267Sjkim
2332193267SjkimUpdated the debug tracking macros to reduce overall code and data size. 
2333193267SjkimChanged ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
2334193267Sjkiminstead of pointers to static strings. Jan Beulich and Bob Moore.
2335193267Sjkim
2336193267SjkimImplemented argument count checking in control method invocation via 
2337193267SjkimAcpiEvaluateObject. Now emit an error if too few arguments, warning if too 
2338193267Sjkimmany. This applies only to extern programmatic control method execution, not 
2339193267Sjkimmethod-to-method calls within the AML. Lin Ming.
2340193267Sjkim
2341193267SjkimEliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is no 
2342220663Sjkimlonger needed, especially with the removal of 16-bit support. It was replaced 
2343220663Sjkimmostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit on 
2344193267Sjkim32/64-bit platforms is required.
2345193267Sjkim
2346193267SjkimAdded the C const qualifier for appropriate string constants -- mostly 
2347193267SjkimMODULE_NAME and printf format strings. Jan Beulich.
2348193267Sjkim
2349193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2350193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2351220663Sjkimdebug version of the code includes the debug output trace mechanism and has a 
2352193267Sjkimmuch larger code and data size.
2353193267Sjkim
2354193267Sjkim  Previous Release:
2355193267Sjkim    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2356193267Sjkim    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2357193267Sjkim  Current Release:
2358193267Sjkim    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
2359193267Sjkim    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
2360193267Sjkim
2361193267Sjkim2) iASL Compiler/Disassembler and Tools:
2362193267Sjkim
2363193267SjkimImplemented ACPI table revision ID validation in the disassembler. Zero is 
2364193267Sjkimalways invalid. For DSDTs, the ID controls the interpreter integer width. 1 
2365193267Sjkimmeans 32-bit and this is unusual. 2 or greater is 64-bit.
2366193267Sjkim
2367193267Sjkim----------------------------------------
2368193267Sjkim21 March 2008. Summary of changes for version 20080321:
2369193267Sjkim
2370193267Sjkim1) ACPI CA Core Subsystem:
2371193267Sjkim
2372193267SjkimImplemented an additional change to the GPE support in order to suppress 
2373193267Sjkimspurious or stray GPEs. The AcpiEvDisableGpe function will now permanently 
2374193267Sjkimdisable incoming GPEs that are neither enabled nor disabled -- meaning that 
2375220663Sjkimthe GPE is unknown to the system. This should prevent future interrupt floods 
2376193267Sjkimfrom that GPE. BZ 6217 (Zhang Rui)
2377193267Sjkim
2378193267SjkimFixed a problem where NULL package elements were not returned to the 
2379193267SjkimAcpiEvaluateObject interface correctly. The element was simply ignored 
2380193267Sjkiminstead of returning a NULL ACPI_OBJECT package element, potentially causing 
2381193267Sjkima buffer overflow and/or confusing the caller who expected a fixed number of 
2382193267Sjkimelements. BZ 10132 (Lin Ming, Bob Moore)
2383193267Sjkim
2384220663SjkimFixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, Dword, 
2385193267SjkimQword), Field, BankField, and IndexField operators when invoked from inside 
2386193267Sjkiman executing control method. In this case, these operators created namespace 
2387193267Sjkimnodes that were incorrectly left marked as permanent nodes instead of 
2388193267Sjkimtemporary nodes. This could cause a problem if there is race condition 
2389193267Sjkimbetween an exiting control method and a running namespace walk. (Reported by 
2390193267SjkimLinn Crosetto)
2391193267Sjkim
2392193267SjkimFixed a problem where the CreateField and CreateXXXField operators would 
2393193267Sjkimincorrectly allow duplicate names (the name of the field) with no exception 
2394193267Sjkimgenerated.
2395193267Sjkim
2396220663SjkimImplemented several changes for Notify handling. Added support for new Notify 
2397193267Sjkimvalues (ACPI 2.0+) and improved the Notify debug output. Notify on 
2398193267SjkimPowerResource objects is no longer allowed, as per the ACPI specification. 
2399193267Sjkim(Bob Moore, Zhang Rui)
2400193267Sjkim
2401193267SjkimAll Reference Objects returned via the AcpiEvaluateObject interface are now 
2402220663Sjkimmarked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for 
2403193267SjkimNULL objects - either NULL package elements or unresolved named references.
2404193267Sjkim
2405193267SjkimFixed a problem where an extraneous debug message was produced for package 
2406193267Sjkimobjects (when debugging enabled). The message "Package List length larger 
2407193267Sjkimthan NumElements count" is now produced in the correct case, and is now an 
2408193267Sjkimerror message rather than a debug message. Added a debug message for the 
2409220663Sjkimopposite case, where NumElements is larger than the Package List (the package 
2410193267Sjkimwill be padded out with NULL elements as per the ACPI spec.)
2411193267Sjkim
2412193267SjkimImplemented several improvements for the output of the ASL "Debug" object to 
2413193267Sjkimclarify and keep all data for a given object on one output line.
2414193267Sjkim
2415193267SjkimFixed two size calculation issues with the variable-length Start Dependent 
2416193267Sjkimresource descriptor.
2417193267Sjkim
2418193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2419193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2420193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2421193267Sjkima much larger code and data size.
2422193267Sjkim
2423193267Sjkim  Previous Release:
2424193267Sjkim    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2425193267Sjkim    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2426193267Sjkim  Current Release:
2427193267Sjkim    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
2428193267Sjkim    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
2429193267Sjkim
2430193267Sjkim2) iASL Compiler/Disassembler and Tools:
2431193267Sjkim
2432193267SjkimFixed a problem with the use of the Switch operator where execution of the 
2433193267Sjkimcontaining method by multiple concurrent threads could cause an 
2434193267SjkimAE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
2435193267Sjkimactual Switch opcode, it must be simulated with local named temporary 
2436193267Sjkimvariables and if/else pairs. The solution chosen was to mark any method that 
2437193267Sjkimuses Switch as Serialized, thus preventing multiple thread entries. BZ 469.
2438193267Sjkim
2439193267Sjkim----------------------------------------
2440193267Sjkim13 February 2008. Summary of changes for version 20080213:
2441193267Sjkim
2442193267Sjkim1) ACPI CA Core Subsystem:
2443193267Sjkim
2444193267SjkimImplemented another MS compatibility design change for GPE/Notify handling. 
2445193267SjkimGPEs are now cleared/enabled asynchronously to allow all pending notifies to 
2446193267Sjkimcomplete first. It is expected that the OSL will queue the enable request 
2447220663Sjkimbehind all pending notify requests (may require changes to the local host OSL 
2448193267Sjkimin AcpiOsExecute). Alexey Starikovskiy.
2449193267Sjkim
2450193267SjkimFixed a problem where buffer and package objects passed as arguments to a 
2451193267Sjkimcontrol method via the external AcpiEvaluateObject interface could cause an 
2452193267SjkimAE_AML_INTERNAL exception depending on the order and type of operators 
2453193267Sjkimexecuted by the target control method.
2454193267Sjkim
2455193267SjkimFixed a problem where resource descriptor size optimization could cause a 
2456193267Sjkimproblem when a _CRS resource template is passed to a _SRS method. The _SRS 
2457193267Sjkimresource template must use the same descriptors (with the same size) as 
2458193267Sjkimreturned from _CRS. This change affects the following resource descriptors: 
2459193267SjkimIRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 9487)
2460193267Sjkim
2461193267SjkimFixed a problem where a CopyObject to RegionField, BankField, and IndexField 
2462220663Sjkimobjects did not perform an implicit conversion as it should. These types must 
2463220663Sjkimretain their initial type permanently as per the ACPI specification. However, 
2464193267Sjkima CopyObject to all other object types should not perform an implicit 
2465193267Sjkimconversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
2466193267Sjkim
2467193267SjkimFixed a problem with the AcpiGetDevices interface where the mechanism to 
2468193267Sjkimmatch device CIDs did not examine the entire list of available CIDs, but 
2469193267Sjkiminstead aborted on the first non-matching CID. Andrew Patterson.
2470193267Sjkim
2471220663SjkimFixed a regression introduced in version 20071114. The ACPI_HIDWORD macro was 
2472193267Sjkiminadvertently changed to return a 16-bit value instead of a 32-bit value, 
2473193267Sjkimtruncating the upper dword of a 64-bit value. This macro is only used to 
2474193267Sjkimdisplay debug output, so no incorrect calculations were made. Also, 
2475193267Sjkimreimplemented the macro so that a 64-bit shift is not performed by 
2476193267Sjkiminefficient compilers.
2477193267Sjkim
2478193267SjkimAdded missing va_end statements that should correspond with each va_start 
2479193267Sjkimstatement.
2480193267Sjkim
2481193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2482193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2483193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2484193267Sjkima much larger code and data size.
2485193267Sjkim
2486193267Sjkim  Previous Release:
2487193267Sjkim    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2488193267Sjkim    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2489193267Sjkim  Current Release:
2490193267Sjkim    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
2491193267Sjkim    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
2492193267Sjkim
2493193267Sjkim2) iASL Compiler/Disassembler and Tools:
2494193267Sjkim
2495193267SjkimImplemented full disassembler support for the following new ACPI tables: 
2496193267SjkimBERT, EINJ, and ERST. Implemented partial disassembler support for the 
2497193267Sjkimcomplicated HEST table. These tables support the Windows Hardware Error 
2498193267SjkimArchitecture (WHEA).
2499193267Sjkim
2500193267Sjkim----------------------------------------
2501193267Sjkim23 January 2008. Summary of changes for version 20080123:
2502193267Sjkim
2503193267Sjkim1) ACPI CA Core Subsystem:
2504193267Sjkim
2505193267SjkimAdded the 2008 copyright to all module headers and signons. This affects 
2506193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
2507193267Sjkimthe tools/utilities.
2508193267Sjkim
2509193267SjkimFixed a problem with the SizeOf operator when used with Package and Buffer 
2510193267Sjkimobjects. These objects have deferred execution for some arguments, and the 
2511220663Sjkimexecution is now completed before the SizeOf is executed. This problem caused 
2512193267Sjkimunexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) BZ 
2513193267Sjkim9558
2514193267Sjkim
2515220663SjkimImplemented an enhancement to the interpreter "slack mode". In the absence of 
2516193267Sjkiman explicit return or an implicitly returned object from the last executed 
2517220663Sjkimopcode, a control method will now implicitly return an integer of value 0 for 
2518193267SjkimMicrosoft compatibility. (Lin Ming) BZ 392
2519193267Sjkim
2520220663SjkimFixed a problem with the Load operator where an exception was not returned in 
2521193267Sjkimthe case where the table is already loaded. (Lin Ming) BZ 463
2522193267Sjkim
2523220663SjkimImplemented support for the use of DDBHandles as an Indexed Reference, as per 
2524193267Sjkimthe ACPI spec. (Lin Ming) BZ 486
2525193267Sjkim
2526193267SjkimImplemented support for UserTerm (Method invocation) for the Unload operator 
2527193267Sjkimas per the ACPI spec. (Lin Ming) BZ 580
2528193267Sjkim
2529193267SjkimFixed a problem with the LoadTable operator where the OemId and OemTableId 
2530193267Sjkiminput strings could cause unexpected failures if they were shorter than the 
2531193267Sjkimmaximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
2532193267Sjkim
2533193267SjkimImplemented support for UserTerm (Method invocation) for the Unload operator 
2534193267Sjkimas per the ACPI spec. (Lin Ming) BZ 580
2535193267Sjkim
2536220663SjkimImplemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, 
2537193267SjkimIBFT, UEFI, WDAT. Disassembler support is forthcoming.
2538193267Sjkim
2539193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2540193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2541193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2542193267Sjkima much larger code and data size.
2543193267Sjkim
2544193267Sjkim  Previous Release:
2545193267Sjkim    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2546193267Sjkim    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2547193267Sjkim  Current Release:
2548193267Sjkim    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
2549193267Sjkim    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
2550193267Sjkim
2551193267Sjkim2) iASL Compiler/Disassembler and Tools:
2552193267Sjkim
2553193267SjkimImplemented support in the disassembler for checksum validation on incoming 
2554220663Sjkimbinary DSDTs and SSDTs. If incorrect, a message is displayed within the table 
2555193267Sjkimheader dump at the start of the disassembly.
2556193267Sjkim
2557193267SjkimImplemented additional debugging information in the namespace listing file 
2558193267Sjkimcreated during compilation. In addition to the namespace hierarchy, the full 
2559193267Sjkimpathname to each namespace object is displayed.
2560193267Sjkim
2561193267SjkimFixed a problem with the disassembler where invalid ACPI tables could cause 
2562193267Sjkimfaults or infinite loops.
2563193267Sjkim
2564193267SjkimFixed an unexpected parse error when using the optional "parameter types" 
2565193267Sjkimlist in a control method declaration. (Lin Ming) BZ 397
2566193267Sjkim
2567193267SjkimFixed a problem where two External declarations with the same name did not 
2568193267Sjkimcause an error (Lin Ming) BZ 509
2569193267Sjkim
2570193267SjkimImplemented support for full TermArgs (adding Argx, Localx and method 
2571193267Sjkiminvocation) for the ParameterData parameter to the LoadTable operator. (Lin 
2572193267SjkimMing) BZ 583,587
2573193267Sjkim
2574193267Sjkim----------------------------------------
2575193267Sjkim19 December 2007. Summary of changes for version 20071219:
2576193267Sjkim
2577193267Sjkim1) ACPI CA Core Subsystem:
2578193267Sjkim
2579193267SjkimImplemented full support for deferred execution for the TermArg string 
2580193267Sjkimarguments for DataTableRegion. This enables forward references and full 
2581220663Sjkimoperand resolution for the three string arguments. Similar to OperationRegion 
2582193267Sjkimdeferred argument execution.) Lin Ming. BZ 430
2583193267Sjkim
2584193267SjkimImplemented full argument resolution support for the BankValue argument to 
2585193267SjkimBankField. Previously, only constants were supported, now any TermArg may be 
2586193267Sjkimused. Lin Ming BZ 387, 393
2587193267Sjkim
2588193267SjkimFixed a problem with AcpiGetDevices where the search of a branch of the 
2589193267Sjkimdevice tree could be terminated prematurely. In accordance with the ACPI 
2590193267Sjkimspecification, the search down the current branch is terminated if a device 
2591193267Sjkimis both not present and not functional (instead of just not present.) Yakui 
2592193267SjkimZhao.
2593193267Sjkim
2594193267SjkimFixed a problem where "unknown" GPEs could be allowed to fire repeatedly if 
2595193267Sjkimthe underlying AML code changed the GPE enable registers. Now, any unknown 
2596220663Sjkimincoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately disabled 
2597193267Sjkiminstead of simply ignored. Rui Zhang.
2598193267Sjkim
2599193267SjkimFixed a problem with Index Fields where the Index register was incorrectly 
2600193267Sjkimlimited to a maximum of 32 bits. Now any size may be used.
2601193267Sjkim
2602193267SjkimFixed a couple memory leaks associated with "implicit return" objects when 
2603193267Sjkimthe AML Interpreter slack mode is enabled. Lin Ming BZ 349
2604193267Sjkim
2605193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2606193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2607193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2608193267Sjkima much larger code and data size.
2609193267Sjkim
2610193267Sjkim  Previous Release:
2611193267Sjkim    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2612193267Sjkim    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2613193267Sjkim  Current Release:
2614193267Sjkim    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
2615193267Sjkim    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
2616193267Sjkim
2617193267Sjkim----------------------------------------
2618193267Sjkim14 November 2007. Summary of changes for version 20071114:
2619193267Sjkim
2620193267Sjkim1) ACPI CA Core Subsystem:
2621193267Sjkim
2622193267SjkimImplemented event counters for each of the Fixed Events, the ACPI SCI 
2623193267Sjkim(interrupt) itself, and control methods executed. Named 
2624193267SjkimAcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. These 
2625193267Sjkimshould be useful for debugging and statistics.
2626193267Sjkim
2627193267SjkimImplemented a new external interface, AcpiGetStatistics, to retrieve the 
2628193267Sjkimcontents of the various event counters. Returns the current values for 
2629193267SjkimAcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
2630193267SjkimAcpiMethodCount. The interface can be expanded in the future if new counters 
2631193267Sjkimare added. Device drivers should use this interface rather than access the 
2632193267Sjkimcounters directly.
2633193267Sjkim
2634193267SjkimFixed a problem with the FromBCD and ToBCD operators. With some compilers, 
2635193267Sjkimthe ShortDivide function worked incorrectly, causing problems with the BCD 
2636193267Sjkimfunctions with large input values. A truncation from 64-bit to 32-bit 
2637193267Sjkiminadvertently occurred. Internal BZ 435. Lin Ming
2638193267Sjkim
2639193267SjkimFixed a problem with Index references passed as method arguments. References 
2640193267Sjkimpassed as arguments to control methods were dereferenced immediately (before 
2641193267Sjkimcontrol was passed to the called method). The references are now correctly 
2642193267Sjkimpassed directly to the called method. BZ 5389. Lin Ming
2643193267Sjkim
2644193267SjkimFixed a problem with CopyObject used in conjunction with the Index operator. 
2645193267SjkimThe reference was incorrectly dereferenced before the copy. The reference is 
2646193267Sjkimnow correctly copied. BZ 5391. Lin Ming
2647193267Sjkim
2648193267SjkimFixed a problem with Control Method references within Package objects. These 
2649193267Sjkimreferences are now correctly generated. This completes the package 
2650193267Sjkimconstruction overhaul that began in version 20071019.
2651193267Sjkim
2652193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2653193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2654193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2655193267Sjkima much larger code and data size.
2656193267Sjkim
2657193267Sjkim  Previous Release:
2658193267Sjkim    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2659193267Sjkim    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2660193267Sjkim  Current Release:
2661193267Sjkim    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
2662193267Sjkim    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
2663193267Sjkim
2664193267Sjkim
2665193267Sjkim2) iASL Compiler/Disassembler and Tools:
2666193267Sjkim
2667193267SjkimThe AcpiExec utility now installs handlers for all of the predefined 
2668193267SjkimOperation Region types. New types supported are: PCI_Config, CMOS, and 
2669193267SjkimPCIBARTarget.
2670193267Sjkim
2671193267SjkimFixed a problem with the 64-bit version of AcpiExec where the extended (64-
2672193267Sjkimbit) address fields for the DSDT and FACS within the FADT were not being 
2673193267Sjkimused, causing truncation of the upper 32-bits of these addresses. Lin Ming 
2674193267Sjkimand Bob Moore
2675193267Sjkim
2676193267Sjkim----------------------------------------
2677193267Sjkim19 October 2007. Summary of changes for version 20071019:
2678193267Sjkim
2679193267Sjkim1) ACPI CA Core Subsystem:
2680193267Sjkim
2681193267SjkimFixed a problem with the Alias operator when the target of the alias is a 
2682193267Sjkimnamed ASL operator that opens a new scope -- Scope, Device, PowerResource, 
2683193267SjkimProcessor, and ThermalZone. In these cases, any children of the original 
2684193267Sjkimoperator could not be accessed via the alias, potentially causing unexpected 
2685193267SjkimAE_NOT_FOUND exceptions. (BZ 9067)
2686193267Sjkim
2687193267SjkimFixed a problem with the Package operator where all named references were 
2688193267Sjkimcreated as object references and left otherwise unresolved. According to the 
2689193267SjkimACPI specification, a Package can only contain Data Objects or references to 
2690193267Sjkimcontrol methods. The implication is that named references to Data Objects 
2691193267Sjkim(Integer, Buffer, String, Package, BufferField, Field) should be resolved 
2692193267Sjkimimmediately upon package creation. This is the approach taken with this 
2693193267Sjkimchange. References to all other named objects (Methods, Devices, Scopes, 
2694193267Sjkimetc.) are all now properly created as reference objects. (BZ 5328)
2695193267Sjkim
2696193267SjkimReverted a change to Notify handling that was introduced in version 
2697193267Sjkim20070508. This version changed the Notify handling from asynchronous to 
2698193267Sjkimfully synchronous (Device driver Notify handling with respect to the Notify 
2699193267SjkimASL operator). It was found that this change caused more problems than it 
2700193267Sjkimsolved and was removed by most users.
2701193267Sjkim
2702193267SjkimFixed a problem with the Increment and Decrement operators where the type of 
2703193267Sjkimthe target object could be unexpectedly and incorrectly changed. (BZ 353) 
2704193267SjkimLin Ming.
2705193267Sjkim
2706193267SjkimFixed a problem with the Load and LoadTable operators where the table 
2707193267Sjkimlocation within the namespace was ignored. Instead, the table was always 
2708193267Sjkimloaded into the root or current scope. Lin Ming.
2709193267Sjkim
2710193267SjkimFixed a problem with the Load operator when loading a table from a buffer 
2711193267Sjkimobject. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
2712193267Sjkim
2713193267SjkimFixed a problem with the Debug object where a store of a DdbHandle reference 
2714193267Sjkimobject to the Debug object could cause a fault.
2715193267Sjkim
2716193267SjkimAdded a table checksum verification for the Load operator, in the case where 
2717193267Sjkimthe load is from a buffer. (BZ 578).
2718193267Sjkim
2719193267SjkimImplemented additional parameter validation for the LoadTable operator. The 
2720193267Sjkimlength of the input strings SignatureString, OemIdString, and OemTableId are 
2721193267Sjkimnow checked for maximum lengths. (BZ 582) Lin Ming.
2722193267Sjkim
2723193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2724193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2725193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2726193267Sjkima much larger code and data size.
2727193267Sjkim
2728193267Sjkim  Previous Release:
2729193267Sjkim    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2730193267Sjkim    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2731193267Sjkim  Current Release:
2732193267Sjkim    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
2733193267Sjkim    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
2734193267Sjkim
2735193267Sjkim
2736193267Sjkim2) iASL Compiler/Disassembler:
2737193267Sjkim
2738193267SjkimFixed a problem where if a single file was specified and the file did not 
2739193267Sjkimexist, no error message was emitted. (Introduced with wildcard support in 
2740193267Sjkimversion 20070917.)
2741193267Sjkim
2742193267Sjkim----------------------------------------
2743193267Sjkim19 September 2007. Summary of changes for version 20070919:
2744193267Sjkim
2745193267Sjkim1) ACPI CA Core Subsystem:
2746193267Sjkim
2747193267SjkimDesigned and implemented new external interfaces to install and remove 
2748193267Sjkimhandlers for ACPI table-related events. Current events that are defined are 
2749193267SjkimLOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
2750193267Sjkimthey are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
2751193267SjkimAcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2752193267Sjkim
2753193267SjkimFixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
2754193267Sjkim(acpi_serialized option on Linux) could cause some systems to hang during 
2755193267Sjkiminitialization. (Bob Moore) BZ 8171
2756193267Sjkim
2757193267SjkimFixed a problem where objects of certain types (Device, ThermalZone, 
2758193267SjkimProcessor, PowerResource) can be not found if they are declared and 
2759193267Sjkimreferenced from within the same control method (Lin Ming) BZ 341
2760193267Sjkim
2761193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2762193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2763193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2764193267Sjkima much larger code and data size.
2765193267Sjkim
2766193267Sjkim  Previous Release:
2767193267Sjkim    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2768193267Sjkim    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2769193267Sjkim  Current Release:
2770193267Sjkim    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
2771193267Sjkim    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
2772193267Sjkim
2773193267Sjkim
2774193267Sjkim2) iASL Compiler/Disassembler:
2775193267Sjkim
2776193267SjkimImplemented support to allow multiple files to be compiled/disassembled in a 
2777193267Sjkimsingle invocation. This includes command line wildcard support for both the 
2778193267SjkimWindows and Unix versions of the compiler. This feature simplifies the 
2779193267Sjkimdisassembly and compilation of multiple ACPI tables in a single directory.
2780193267Sjkim
2781193267Sjkim----------------------------------------
2782193267Sjkim08 May 2007. Summary of changes for version 20070508:
2783193267Sjkim
2784193267Sjkim1) ACPI CA Core Subsystem:
2785193267Sjkim
2786193267SjkimImplemented a Microsoft compatibility design change for the handling of the 
2787193267SjkimNotify AML operator. Previously, notify handlers were dispatched and 
2788193267Sjkimexecuted completely asynchronously in a deferred thread. The new design 
2789193267Sjkimstill executes the notify handlers in a different thread, but the original 
2790193267Sjkimthread that executed the Notify() now waits at a synchronization point for 
2791193267Sjkimthe notify handler to complete. Some machines depend on a synchronous Notify 
2792193267Sjkimoperator in order to operate correctly.
2793193267Sjkim
2794193267SjkimImplemented support to allow Package objects to be passed as method 
2795193267Sjkimarguments to the external AcpiEvaluateObject interface. Previously, this 
2796193267Sjkimwould return the AE_NOT_IMPLEMENTED exception. This feature had not been 
2797193267Sjkimimplemented since there were no reserved control methods that required it 
2798193267Sjkimuntil recently.
2799193267Sjkim
2800193267SjkimFixed a problem with the internal FADT conversion where ACPI 1.0 FADTs that 
2801193267Sjkimcontained invalid non-zero values in reserved fields could cause later 
2802193267Sjkimfailures because these fields have meaning in later revisions of the FADT. 
2803193267SjkimFor incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The fields 
2804193267Sjkimare: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
2805193267Sjkim
2806193267SjkimFixed a problem where the Global Lock handle was not properly updated if a 
2807193267Sjkimthread that acquired the Global Lock via executing AML code then attempted 
2808193267Sjkimto acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe 
2809193267SjkimLiu.
2810193267Sjkim
2811193267SjkimFixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
2812193267Sjkimcould be corrupted if the interrupt being removed was at the head of the 
2813193267Sjkimlist. Reported by Linn Crosetto.
2814193267Sjkim
2815193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2816193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2817193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2818193267Sjkima much larger code and data size.
2819193267Sjkim
2820193267Sjkim  Previous Release:
2821193267Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2822193267Sjkim    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2823193267Sjkim  Current Release:
2824193267Sjkim    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
2825193267Sjkim    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
2826193267Sjkim
2827193267Sjkim----------------------------------------
2828167802Sjkim20 March 2007. Summary of changes for version 20070320:
2829167802Sjkim
2830167802Sjkim1) ACPI CA Core Subsystem:
2831167802Sjkim
2832193267SjkimImplemented a change to the order of interpretation and evaluation of AML 
2833193267Sjkimoperand objects within the AML interpreter. The interpreter now evaluates 
2834193267Sjkimoperands in the order that they appear in the AML stream (and the 
2835193267Sjkimcorresponding ASL code), instead of in the reverse order (after the entire 
2836193267Sjkimoperand list has been parsed). The previous behavior caused several subtle 
2837193267Sjkimincompatibilities with the Microsoft AML interpreter as well as being 
2838193267Sjkimsomewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
2839167802Sjkim
2840193267SjkimImplemented a change to the ACPI Global Lock support. All interfaces to the 
2841193267Sjkimglobal lock now allow the same thread to acquire the lock multiple times. 
2842193267SjkimThis affects the AcpiAcquireGlobalLock external interface to the global lock 
2843193267Sjkimas well as the internal use of the global lock to support AML fields -- a 
2844193267Sjkimcontrol method that is holding the global lock can now simultaneously access 
2845193267SjkimAML fields that require global lock protection. Previously, in both cases, 
2846193267Sjkimthis would have resulted in an AE_ALREADY_ACQUIRED exception. The change to 
2847193267SjkimAcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
2848193267SjkimController. There is no change to the behavior of the AML Acquire operator, 
2849193267Sjkimas this can already be used to acquire a mutex multiple times by the same 
2850193267Sjkimthread. BZ 8066. With assistance from Alexey Starikovskiy.
2851167802Sjkim
2852193267SjkimFixed a problem where invalid objects could be referenced in the AML 
2853193267SjkimInterpreter after error conditions. During operand evaluation, ensure that 
2854193267Sjkimthe internal "Return Object" field is cleared on error and only valid 
2855193267Sjkimpointers are stored there. Caused occasional access to deleted objects that 
2856193267Sjkimresulted in "large reference count" warning messages. Valery Podrezov.
2857167802Sjkim
2858193267SjkimFixed a problem where an AE_STACK_OVERFLOW internal exception could occur on 
2859193267Sjkimdeeply nested control method invocations. BZ 7873, local BZ 487. Valery 
2860193267SjkimPodrezov.
2861167802Sjkim
2862193267SjkimFixed an internal problem with the handling of result objects on the 
2863193267Sjkiminterpreter result stack. BZ 7872. Valery Podrezov.
2864167802Sjkim
2865193267SjkimRemoved obsolete code that handled the case where AML_NAME_OP is the target 
2866193267Sjkimof a reference (Reference.Opcode). This code was no longer necessary. BZ 
2867193267Sjkim7874. Valery Podrezov.
2868167802Sjkim
2869193267SjkimRemoved obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was a 
2870193267Sjkimremnant from the previously discontinued 16-bit support.
2871167802Sjkim
2872193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2873193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2874193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2875193267Sjkima much larger code and data size.
2876167802Sjkim
2877167802Sjkim  Previous Release:
2878167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2879167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2880167802Sjkim  Current Release:
2881167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2882167802Sjkim    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
2883167802Sjkim
2884167802Sjkim----------------------------------------
2885167802Sjkim26 January 2007. Summary of changes for version 20070126:
2886167802Sjkim
2887167802Sjkim1) ACPI CA Core Subsystem:
2888167802Sjkim
2889193267SjkimAdded the 2007 copyright to all module headers and signons. This affects 
2890193267Sjkimvirtually every file in the ACPICA core subsystem, the iASL compiler, and 
2891193267Sjkimthe utilities.
2892167802Sjkim
2893193267SjkimImplemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
2894193267Sjkimduring a table load. A bad pointer was passed in the case where the DSDT is 
2895193267Sjkimoverridden, causing a fault in this case.
2896167802Sjkim
2897193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2898193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2899193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2900193267Sjkima much larger code and data size.
2901167802Sjkim
2902167802Sjkim  Previous Release:
2903167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2904167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2905167802Sjkim  Current Release:
2906167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2907167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2908167802Sjkim
2909167802Sjkim----------------------------------------
2910167802Sjkim15 December 2006. Summary of changes for version 20061215:
2911167802Sjkim
2912167802Sjkim1) ACPI CA Core Subsystem:
2913167802Sjkim
2914193267SjkimSupport for 16-bit ACPICA has been completely removed since it is no longer 
2915193267Sjkimnecessary and it clutters the code. All 16-bit macros, types, and 
2916193267Sjkimconditional compiles have been removed, cleaning up and simplifying the code 
2917193267Sjkimacross the entire subsystem. DOS support is no longer needed since the 
2918193267Sjkimbootable Linux firmware kit is now available.
2919167802Sjkim
2920193267SjkimThe handler for the Global Lock is now removed during AcpiTerminate to 
2921193267Sjkimenable a clean subsystem restart, via the implementation of the 
2922193267SjkimAcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
2923193267SjkimHP)
2924167802Sjkim
2925193267SjkimImplemented enhancements to the multithreading support within the debugger 
2926193267Sjkimto enable improved multithreading debugging and evaluation of the subsystem. 
2927167802Sjkim(Valery Podrezov)
2928167802Sjkim
2929193267SjkimDebugger: Enhanced the Statistics/Memory command to emit the total (maximum) 
2930193267Sjkimmemory used during the execution, as well as the maximum memory consumed by 
2931193267Sjkimeach of the various object types. (Valery Podrezov)
2932167802Sjkim
2933193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2934193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2935193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2936193267Sjkima much larger code and data size.
2937193267Sjkim
2938167802Sjkim  Previous Release:
2939167802Sjkim    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2940167802Sjkim    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2941167802Sjkim  Current Release:
2942167802Sjkim    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
2943167802Sjkim    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
2944167802Sjkim
2945167802Sjkim
2946167802Sjkim2) iASL Compiler/Disassembler and Tools:
2947167802Sjkim
2948193267SjkimAcpiExec: Implemented a new option (-m) to display full memory use 
2949193267Sjkimstatistics upon subsystem/program termination. (Valery Podrezov)
2950167802Sjkim
2951167802Sjkim----------------------------------------
2952167802Sjkim09 November 2006. Summary of changes for version 20061109:
2953167802Sjkim
2954167802Sjkim1) ACPI CA Core Subsystem:
2955167802Sjkim
2956193267SjkimOptimized the Load ASL operator in the case where the source operand is an 
2957193267Sjkimoperation region. Simply map the operation region memory, instead of 
2958193267Sjkimperforming a bytewise read. (Region must be of type SystemMemory, see 
2959193267Sjkimbelow.)
2960167802Sjkim
2961193267SjkimFixed the Load ASL operator for the case where the source operand is a 
2962193267Sjkimregion field. A buffer object is also allowed as the source operand. BZ 480
2963167802Sjkim
2964193267SjkimFixed a problem where the Load ASL operator allowed the source operand to be 
2965193267Sjkiman operation region of any type. It is now restricted to regions of type 
2966193267SjkimSystemMemory, as per the ACPI specification. BZ 481
2967167802Sjkim
2968193267SjkimAdditional cleanup and optimizations for the new Table Manager code.
2969167802Sjkim
2970193267SjkimAcpiEnable will now fail if all of the required ACPI tables are not loaded 
2971193267Sjkim(FADT, FACS, DSDT). BZ 477
2972167802Sjkim
2973193267SjkimAdded #pragma pack(8/4) to acobject.h to ensure that the structures in this 
2974193267Sjkimheader are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
2975193267Sjkimmanually optimized to be aligned and will not work if it is byte-packed. 
2976167802Sjkim
2977193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
2978193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2979193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
2980193267Sjkima much larger code and data size.
2981167802Sjkim
2982167802Sjkim  Previous Release:
2983167802Sjkim    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
2984167802Sjkim    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
2985167802Sjkim  Current Release:
2986167802Sjkim    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
2987167802Sjkim    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
2988167802Sjkim
2989167802Sjkim
2990167802Sjkim2) iASL Compiler/Disassembler and Tools:
2991167802Sjkim
2992193267SjkimFixed a problem where the presence of the _OSI predefined control method 
2993193267Sjkimwithin complex expressions could cause an internal compiler error.
2994167802Sjkim
2995193267SjkimAcpiExec: Implemented full region support for multiple address spaces. 
2996193267SjkimSpaceId is now part of the REGION object. BZ 429
2997167802Sjkim
2998167802Sjkim----------------------------------------
2999167802Sjkim11 October 2006. Summary of changes for version 20061011:
3000167802Sjkim
3001167802Sjkim1) ACPI CA Core Subsystem:
3002167802Sjkim
3003193267SjkimCompleted an AML interpreter performance enhancement for control method 
3004193267Sjkimexecution. Previously a 2-pass parse/execution, control methods are now 
3005193267Sjkimcompletely parsed and executed in a single pass. This improves overall 
3006193267Sjkiminterpreter performance by ~25%, reduces code size, and reduces CPU stack 
3007193267Sjkimuse. (Valery Podrezov + interpreter changes in version 20051202 that 
3008193267Sjkimeliminated namespace loading during the pass one parse.)
3009167802Sjkim
3010193267SjkimImplemented _CID support for PCI Root Bridge detection. If the _HID does not 
3011193267Sjkimmatch the predefined PCI Root Bridge IDs, the _CID list (if present) is now 
3012193267Sjkimobtained and also checked for an ID match.
3013167802Sjkim
3014193267SjkimImplemented additional support for the PCI _ADR execution: upsearch until a 
3015193267Sjkimdevice scope is found before executing _ADR. This allows PCI_Config 
3016193267Sjkimoperation regions to be declared locally within control methods underneath 
3017193267SjkimPCI device objects.
3018167802Sjkim
3019193267SjkimFixed a problem with a possible race condition between threads executing 
3020193267SjkimAcpiWalkNamespace and the AML interpreter. This condition was removed by 
3021193267Sjkimmodifying AcpiWalkNamespace to (by default) ignore all temporary namespace 
3022193267Sjkimentries created during any concurrent control method execution. An 
3023193267Sjkimadditional namespace race condition is known to exist between 
3024193267SjkimAcpiWalkNamespace and the Load/Unload ASL operators and is still under 
3025193267Sjkiminvestigation.
3026167802Sjkim
3027193267SjkimRestructured the AML ParseLoop function, breaking it into several 
3028193267Sjkimsubfunctions in order to reduce CPU stack use and improve maintainability. 
3029193267Sjkim(Mikhail Kouzmich)
3030167802Sjkim
3031193267SjkimAcpiGetHandle: Fix for parameter validation to detect invalid combinations 
3032193267Sjkimof prefix handle and pathname. BZ 478
3033167802Sjkim
3034193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3035193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3036193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3037193267Sjkima much larger code and data size.
3038167802Sjkim
3039167802Sjkim  Previous Release:
3040167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3041167802Sjkim    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3042167802Sjkim  Current Release:
3043167802Sjkim    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
3044167802Sjkim    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
3045167802Sjkim
3046167802Sjkim2) iASL Compiler/Disassembler and Tools:
3047167802Sjkim
3048193267SjkimPorted the -g option (get local ACPI tables) to the new ACPICA Table Manager 
3049193267Sjkimto restore original behavior.
3050167802Sjkim
3051167802Sjkim----------------------------------------
3052167802Sjkim27 September 2006. Summary of changes for version 20060927:
3053167802Sjkim
3054167802Sjkim1) ACPI CA Core Subsystem:
3055167802Sjkim
3056193267SjkimRemoved the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
3057193267SjkimThese functions now use a spinlock for mutual exclusion and the interrupt 
3058193267Sjkimlevel indication flag is not needed.
3059167802Sjkim
3060193267SjkimFixed a problem with the Global Lock where the lock could appear to be 
3061193267Sjkimobtained before it is actually obtained. The global lock semaphore was 
3062193267Sjkiminadvertently created with one unit instead of zero units. (BZ 464) Fiodor 
3063193267SjkimSuietov.
3064167802Sjkim
3065193267SjkimFixed a possible memory leak and fault in AcpiExResolveObjectToValue during 
3066193267Sjkima read from a buffer or region field. (BZ 458) Fiodor Suietov.
3067167802Sjkim
3068193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3069193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3070193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3071193267Sjkima much larger code and data size.
3072167802Sjkim
3073167802Sjkim  Previous Release:
3074167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3075167802Sjkim    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3076167802Sjkim  Current Release:
3077167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3078167802Sjkim    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
3079167802Sjkim
3080167802Sjkim
3081167802Sjkim2) iASL Compiler/Disassembler and Tools:
3082167802Sjkim
3083193267SjkimFixed a compilation problem with the pre-defined Resource Descriptor field 
3084193267Sjkimnames where an "object does not exist" error could be incorrectly generated 
3085193267Sjkimif the parent ResourceTemplate pathname places the template within a 
3086193267Sjkimdifferent namespace scope than the current scope. (BZ 7212)
3087167802Sjkim
3088193267SjkimFixed a problem where the compiler could hang after syntax errors detected 
3089193267Sjkimin an ElseIf construct. (BZ 453)
3090167802Sjkim
3091193267SjkimFixed a problem with the AmlFilename parameter to the DefinitionBlock() 
3092193267Sjkimoperator. An incorrect output filename was produced when this parameter was 
3093193267Sjkima null string (""). Now, the original input filename is used as the AML 
3094193267Sjkimoutput filename, with an ".aml" extension.
3095167802Sjkim
3096193267SjkimImplemented a generic batch command mode for the AcpiExec utility (execute 
3097193267Sjkimany AML debugger command) (Valery Podrezov).
3098167802Sjkim
3099167802Sjkim----------------------------------------
3100167802Sjkim12 September 2006. Summary of changes for version 20060912:
3101167802Sjkim
3102167802Sjkim1) ACPI CA Core Subsystem:
3103167802Sjkim
3104193267SjkimEnhanced the implementation of the "serialized mode" of the interpreter 
3105193267Sjkim(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
3106193267Sjkimspecified, instead of creating a serialization semaphore per control method, 
3107193267Sjkimthe interpreter lock is simply no longer released before a blocking 
3108193267Sjkimoperation during control method execution. This effectively makes the AML 
3109193267SjkimInterpreter single-threaded. The overhead of a semaphore per-method is 
3110193267Sjkimeliminated.
3111167802Sjkim
3112193267SjkimFixed a regression where an error was no longer emitted if a control method 
3113193267Sjkimattempts to create 2 objects of the same name. This once again returns 
3114193267SjkimAE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism that 
3115193267Sjkimwill dynamically serialize the control method to possible prevent future 
3116193267Sjkimerrors. (BZ 440)
3117167802Sjkim
3118193267SjkimIntegrated a fix for a problem with PCI Express HID detection in the PCI 
3119193267SjkimConfig Space setup procedure. (BZ 7145)
3120167802Sjkim
3121193267SjkimMoved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
3122193267SjkimAcpiHwInitialize function - the FADT registers are now validated when the 
3123193267Sjkimtable is loaded.
3124167802Sjkim
3125193267SjkimAdded two new warnings during FADT verification - 1) if the FADT is larger 
3126193267Sjkimthan the largest known FADT version, and 2) if there is a mismatch between a 
3127193267Sjkim32-bit block address and the 64-bit X counterpart (when both are non-zero.)
3128167802Sjkim
3129193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3130193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3131193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3132193267Sjkima much larger code and data size.
3133167802Sjkim
3134167802Sjkim  Previous Release:
3135167802Sjkim    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3136167802Sjkim    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3137167802Sjkim  Current Release:
3138167802Sjkim    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
3139167802Sjkim    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
3140167802Sjkim
3141167802Sjkim
3142167802Sjkim2) iASL Compiler/Disassembler and Tools:
3143167802Sjkim
3144193267SjkimFixed a problem with the implementation of the Switch() operator where the 
3145193267Sjkimtemporary variable was declared too close to the actual Switch, instead of 
3146193267Sjkimat method level. This could cause a problem if the Switch() operator is 
3147193267Sjkimwithin a while loop, causing an error on the second iteration. (BZ 460)
3148167802Sjkim
3149193267SjkimDisassembler - fix for error emitted for unknown type for target of scope 
3150193267Sjkimoperator. Now, ignore it and continue.
3151167802Sjkim
3152193267SjkimDisassembly of an FADT now verifies the input FADT and reports any errors 
3153193267Sjkimfound. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
3154167802Sjkim
3155193267SjkimDisassembly of raw data buffers with byte initialization data now prefixes 
3156193267Sjkimeach output line with the current buffer offset.
3157167802Sjkim
3158193267SjkimDisassembly of ASF! table now includes all variable-length data fields at 
3159193267Sjkimthe end of some of the subtables.
3160167802Sjkim
3161193267SjkimThe disassembler now emits a comment if a buffer appears to be a 
3162193267SjkimResourceTemplate, but cannot be disassembled as such because the EndTag does 
3163193267Sjkimnot appear at the very end of the buffer.
3164167802Sjkim
3165193267SjkimAcpiExec - Added the "-t" command line option to enable the serialized mode 
3166193267Sjkimof the AML interpreter.
3167167802Sjkim
3168167802Sjkim----------------------------------------
3169167802Sjkim31 August 2006. Summary of changes for version 20060831:
3170167802Sjkim
3171167802Sjkim1) ACPI CA Core Subsystem:
3172167802Sjkim
3173167802SjkimMiscellaneous fixes for the Table Manager:
3174193267Sjkim- Correctly initialize internal common FADT for all 64-bit "X" fields
3175167802Sjkim- Fixed a couple table mapping issues during table load
3176167802Sjkim- Fixed a couple alignment issues for IA64
3177167802Sjkim- Initialize input array to zero in AcpiInitializeTables
3178193267Sjkim- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
3179193267SjkimAcpiGetTableByIndex
3180167802Sjkim
3181193267SjkimChange for GPE support: when a "wake" GPE is received, all wake GPEs are now 
3182193267Sjkimimmediately disabled to prevent the waking GPE from firing again and to 
3183193267Sjkimprevent other wake GPEs from interrupting the wake process.
3184167802Sjkim
3185193267SjkimAdded the AcpiGpeCount global that tracks the number of processed GPEs, to 
3186193267Sjkimbe used for debugging systems with a large number of ACPI interrupts.
3187167802Sjkim
3188193267SjkimImplemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
3189193267Sjkimboth the ACPICA headers and the disassembler.
3190167802Sjkim
3191193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3192193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3193193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3194193267Sjkima much larger code and data size.
3195167802Sjkim
3196167802Sjkim  Previous Release:
3197167802Sjkim    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3198167802Sjkim    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3199167802Sjkim  Current Release:
3200167802Sjkim    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
3201167802Sjkim    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
3202167802Sjkim
3203167802Sjkim
3204167802Sjkim2) iASL Compiler/Disassembler and Tools:
3205167802Sjkim
3206167802SjkimDisassembler support for the DMAR ACPI table.
3207167802Sjkim
3208167802Sjkim----------------------------------------
3209167802Sjkim23 August 2006. Summary of changes for version 20060823:
3210167802Sjkim
3211167802Sjkim1) ACPI CA Core Subsystem:
3212167802Sjkim
3213193267SjkimThe Table Manager component has been completely redesigned and 
3214193267Sjkimreimplemented. The new design is much simpler, and reduces the overall code 
3215193267Sjkimand data size of the kernel-resident ACPICA by approximately 5%. Also, it is 
3216193267Sjkimnow possible to obtain the ACPI tables very early during kernel 
3217193267Sjkiminitialization, even before dynamic memory management is initialized. 
3218193267Sjkim(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
3219167802Sjkim
3220167802SjkimObsolete ACPICA interfaces:
3221167802Sjkim
3222193267Sjkim- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel init 
3223193267Sjkimtime).
3224167802Sjkim- AcpiLoadTable: Not needed.
3225167802Sjkim- AcpiUnloadTable: Not needed.
3226167802Sjkim
3227167802SjkimNew ACPICA interfaces:
3228167802Sjkim
3229193267Sjkim- AcpiInitializeTables: Must be called before the table manager can be used.
3230193267Sjkim- AcpiReallocateRootTable: Used to transfer the root table to dynamically 
3231193267Sjkimallocated memory after it becomes available.
3232193267Sjkim- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables 
3233193267Sjkimin the RSDT/XSDT.
3234167802Sjkim
3235167802SjkimOther ACPICA changes:
3236167802Sjkim
3237193267Sjkim- AcpiGetTableHeader returns the actual mapped table header, not a copy. Use 
3238193267SjkimAcpiOsUnmapMemory to free this mapping.
3239193267Sjkim- AcpiGetTable returns the actual mapped table. The mapping is managed 
3240193267Sjkiminternally and must not be deleted by the caller. Use of this interface 
3241193267Sjkimcauses no additional dynamic memory allocation.
3242193267Sjkim- AcpiFindRootPointer: Support for physical addressing has been eliminated, 
3243193267Sjkimit appeared to be unused.
3244193267Sjkim- The interface to AcpiOsMapMemory has changed to be consistent with the 
3245193267Sjkimother allocation interfaces.
3246193267Sjkim- The interface to AcpiOsGetRootPointer has changed to eliminate unnecessary 
3247193267Sjkimparameters.
3248193267Sjkim- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
3249193267Sjkimbit platforms. Was previously 64 bits on all platforms.
3250193267Sjkim- The interface to the ACPI Global Lock acquire/release macros have changed 
3251193267Sjkimslightly since ACPICA no longer keeps a local copy of the FACS with a 
3252193267Sjkimconstructed pointer to the actual global lock.
3253167802Sjkim
3254167802SjkimPorting to the new table manager:
3255167802Sjkim
3256193267Sjkim- AcpiInitializeTables: Must be called once, and can be called anytime 
3257193267Sjkimduring the OS initialization process. It allows the host to specify an area 
3258193267Sjkimof memory to be used to store the internal version of the RSDT/XSDT (root 
3259193267Sjkimtable). This allows the host to access ACPI tables before memory management 
3260193267Sjkimis initialized and running.
3261193267Sjkim- AcpiReallocateRootTable: Can be called after memory management is running 
3262193267Sjkimto copy the root table to a dynamically allocated array, freeing up the 
3263193267Sjkimscratch memory specified in the call to AcpiInitializeTables.
3264193267Sjkim- AcpiSubsystemInitialize: This existing interface is independent of the 
3265193267SjkimTable Manager, and does not have to be called before the Table Manager can 
3266193267Sjkimbe used, it only must be called before the rest of ACPICA can be used.
3267193267Sjkim- ACPI Tables: Some changes have been made to the names and structure of the 
3268193267Sjkimactbl.h and actbl1.h header files and may require changes to existing code. 
3269193267SjkimFor example, bitfields have been completely removed because of their lack of 
3270193267Sjkimportability across C compilers.
3271193267Sjkim- Update interfaces to the Global Lock acquire/release macros if local 
3272193267Sjkimversions are used. (see acwin.h)
3273167802Sjkim
3274167802SjkimObsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
3275167802Sjkim
3276167802SjkimNew files: tbfind.c
3277167802Sjkim
3278193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3279193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3280193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3281193267Sjkima much larger code and data size.
3282167802Sjkim
3283167802Sjkim  Previous Release:
3284167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3285167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3286167802Sjkim  Current Release:
3287167802Sjkim    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
3288167802Sjkim    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
3289167802Sjkim
3290167802Sjkim
3291167802Sjkim2) iASL Compiler/Disassembler and Tools:
3292167802Sjkim
3293167802SjkimNo changes for this release.
3294167802Sjkim
3295167802Sjkim----------------------------------------
3296167802Sjkim21 July 2006. Summary of changes for version 20060721:
3297167802Sjkim
3298167802Sjkim1) ACPI CA Core Subsystem:
3299167802Sjkim
3300193267SjkimThe full source code for the ASL test suite used to validate the iASL 
3301193267Sjkimcompiler and the ACPICA core subsystem is being released with the ACPICA 
3302193267Sjkimsource for the first time. The source is contained in a separate package and 
3303193267Sjkimconsists of over 1100 files that exercise all ASL/AML operators. The package 
3304193267Sjkimshould appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor 
3305167802SjkimSuietov)
3306167802Sjkim
3307193267SjkimCompleted a new design and implementation for support of the ACPI Global 
3308193267SjkimLock. On the OS side, the global lock is now treated as a standard AML 
3309193267Sjkimmutex. Previously, multiple OS threads could "acquire" the global lock 
3310193267Sjkimsimultaneously. However, this could cause the BIOS to be starved out of the 
3311193267Sjkimlock - especially in cases such as the Embedded Controller driver where 
3312193267Sjkimthere is a tight coupling between the OS and the BIOS.
3313167802Sjkim
3314193267SjkimImplemented an optimization for the ACPI Global Lock interrupt mechanism. 
3315193267SjkimThe Global Lock interrupt handler no longer queues the execution of a 
3316193267Sjkimseparate thread to signal the global lock semaphore. Instead, the semaphore 
3317193267Sjkimis signaled directly from the interrupt handler.
3318167802Sjkim
3319193267SjkimImplemented support within the AML interpreter for package objects that 
3320193267Sjkimcontain a larger AML length (package list length) than the package element 
3321193267Sjkimcount. In this case, the length of the package is truncated to match the 
3322193267Sjkimpackage element count. Some BIOS code apparently modifies the package length 
3323193267Sjkimon the fly, and this change supports this behavior. Provides compatibility 
3324193267Sjkimwith the MS AML interpreter. (With assistance from Fiodor Suietov)
3325167802Sjkim
3326193267SjkimImplemented a temporary fix for the BankValue parameter of a Bank Field to 
3327193267Sjkimsupport all constant values, now including the Zero and One opcodes. 
3328193267SjkimEvaluation of this parameter must eventually be converted to a full TermArg 
3329193267Sjkimevaluation. A not-implemented error is now returned (temporarily) for non-
3330193267Sjkimconstant values for this parameter.
3331167802Sjkim
3332167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3333193267Sjkim- Fix for premature object deletion after CopyObject on Operation Region (BZ 
3334193267Sjkim350)
3335167802Sjkim
3336193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3337193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3338193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3339193267Sjkima much larger code and data size.
3340167802Sjkim
3341167802Sjkim  Previous Release:
3342167802Sjkim    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
3343167802Sjkim    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
3344167802Sjkim  Current Release:
3345167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3346167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3347167802Sjkim
3348167802Sjkim
3349167802Sjkim2) iASL Compiler/Disassembler and Tools:
3350167802Sjkim
3351167802SjkimNo changes for this release.
3352167802Sjkim
3353167802Sjkim----------------------------------------
3354167802Sjkim07 July 2006. Summary of changes for version 20060707:
3355167802Sjkim
3356167802Sjkim1) ACPI CA Core Subsystem:
3357167802Sjkim
3358193267SjkimAdded the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
3359193267Sjkimthat do not allow the initialization of address pointers within packed 
3360193267Sjkimstructures - even though the hardware itself may support misaligned 
3361193267Sjkimtransfers. Some of the debug data structures are packed by default to 
3362193267Sjkimminimize size.
3363167802Sjkim
3364193267SjkimAdded an error message for the case where AcpiOsGetThreadId() returns zero. 
3365193267SjkimA non-zero value is required by the core ACPICA code to ensure the proper 
3366193267Sjkimoperation of AML mutexes and recursive control methods.
3367167802Sjkim
3368193267SjkimThe DSDT is now the only ACPI table that determines whether the AML 
3369193267Sjkiminterpreter is in 32-bit or 64-bit mode. Not really a functional change, but 
3370193267Sjkimthe hooks for per-table 32/64 switching have been removed from the code. A 
3371193267Sjkimclarification to the ACPI specification is forthcoming in ACPI 3.0B.
3372167802Sjkim
3373193267SjkimFixed a possible leak of an OwnerID in the error path of 
3374193267SjkimAcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
3375193267Sjkimdeletion to a single place in AcpiTbUninstallTable to correct possible leaks 
3376193267Sjkimwhen using the AcpiTbDeleteTablesByType interface (with assistance from 
3377193267SjkimLance Ortiz.)
3378167802Sjkim
3379193267SjkimFixed a problem with Serialized control methods where the semaphore 
3380193267Sjkimassociated with the method could be over-signaled after multiple method 
3381193267Sjkiminvocations.
3382167802Sjkim
3383193267SjkimFixed two issues with the locking of the internal namespace data structure. 
3384193267SjkimBoth the Unload() operator and AcpiUnloadTable interface now lock the 
3385193267Sjkimnamespace during the namespace deletion associated with the table unload 
3386193267Sjkim(with assistance from Linn Crosetto.)
3387167802Sjkim
3388167802SjkimFixed problem reports (Valery Podrezov) integrated:
3389193267Sjkim- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
3390167802Sjkim
3391167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3392167802Sjkim- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
3393193267Sjkim- On Address Space handler deletion, needless deactivation call (BZ 374)
3394193267Sjkim- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
3395193267Sjkim- Possible memory leak, Notify sub-objects of Processor, Power, ThermalZone 
3396193267Sjkim(BZ 376)
3397193267Sjkim- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
3398167802Sjkim- Minimum Length of RSDT should be validated (BZ 379)
3399193267Sjkim- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
3400193267SjkimHandler (BZ (380)
3401193267Sjkim- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type loaded 
3402193267Sjkim(BZ 381)
3403167802Sjkim
3404193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3405193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3406193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3407193267Sjkima much larger code and data size.
3408167802Sjkim
3409167802Sjkim  Previous Release:
3410167802Sjkim    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3411167802Sjkim    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3412167802Sjkim  Current Release:
3413167802Sjkim    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
3414167802Sjkim    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
3415167802Sjkim
3416167802Sjkim
3417167802Sjkim2) iASL Compiler/Disassembler and Tools:
3418167802Sjkim
3419167802SjkimFixed problem reports:
3420193267SjkimCompiler segfault when ASL contains a long (>1024) String declaration (BZ 
3421193267Sjkim436)
3422167802Sjkim
3423167802Sjkim----------------------------------------
3424167802Sjkim23 June 2006. Summary of changes for version 20060623:
3425167802Sjkim
3426167802Sjkim1) ACPI CA Core Subsystem:
3427167802Sjkim
3428193267SjkimImplemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
3429193267Sjkimallows the type to be customized to the host OS for improved efficiency 
3430193267Sjkim(since a spinlock is usually a very small object.)
3431167802Sjkim
3432193267SjkimImplemented support for "ignored" bits in the ACPI registers. According to 
3433193267Sjkimthe ACPI specification, these bits should be preserved when writing the 
3434193267Sjkimregisters via a read/modify/write cycle. There are 3 bits preserved in this 
3435193267Sjkimmanner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
3436167802Sjkim
3437193267SjkimImplemented the initial deployment of new OSL mutex interfaces. Since some 
3438193267Sjkimhost operating systems have separate mutex and semaphore objects, this 
3439193267Sjkimfeature was requested. The base code now uses mutexes (and the new mutex 
3440193267Sjkiminterfaces) wherever a binary semaphore was used previously. However, for 
3441193267Sjkimthe current release, the mutex interfaces are defined as macros to map them 
3442193267Sjkimto the existing semaphore interfaces. Therefore, no OSL changes are required 
3443193267Sjkimat this time. (See acpiosxf.h)
3444167802Sjkim
3445193267SjkimFixed several problems with the support for the control method SyncLevel 
3446193267Sjkimparameter. The SyncLevel now works according to the ACPI specification and 
3447193267Sjkimin concert with the Mutex SyncLevel parameter, since the current SyncLevel 
3448193267Sjkimis a property of the executing thread. Mutual exclusion for control methods 
3449193267Sjkimis now implemented with a mutex instead of a semaphore.
3450167802Sjkim
3451193267SjkimFixed three instances of the use of the C shift operator in the bitfield 
3452193267Sjkimsupport code (exfldio.c) to avoid the use of a shift value larger than the 
3453193267Sjkimtarget data width. The behavior of C compilers is undefined in this case and 
3454193267Sjkimcan cause unpredictable results, and therefore the case must be detected and 
3455193267Sjkimavoided. (Fiodor Suietov)
3456167802Sjkim
3457193267SjkimAdded an info message whenever an SSDT or OEM table is loaded dynamically 
3458193267Sjkimvia the Load() or LoadTable() ASL operators. This should improve debugging 
3459193267Sjkimcapability since it will show exactly what tables have been loaded (beyond 
3460193267Sjkimthe tables present in the RSDT/XSDT.)
3461167802Sjkim
3462193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3463193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3464193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3465193267Sjkima much larger code and data size.
3466167802Sjkim
3467167802Sjkim  Previous Release:
3468167802Sjkim    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3469167802Sjkim    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3470167802Sjkim  Current Release:
3471167802Sjkim    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
3472167802Sjkim    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
3473167802Sjkim
3474167802Sjkim
3475167802Sjkim2) iASL Compiler/Disassembler and Tools:
3476167802Sjkim
3477167802SjkimNo changes for this release.
3478167802Sjkim
3479167802Sjkim----------------------------------------
3480167802Sjkim08 June 2006. Summary of changes for version 20060608:
3481167802Sjkim
3482167802Sjkim1) ACPI CA Core Subsystem:
3483167802Sjkim
3484193267SjkimConverted the locking mutex used for the ACPI hardware to a spinlock. This 
3485193267Sjkimchange should eliminate all problems caused by attempting to acquire a 
3486193267Sjkimsemaphore at interrupt level, and it means that all ACPICA external 
3487193267Sjkiminterfaces that directly access the ACPI hardware can be safely called from 
3488193267Sjkiminterrupt level. OSL code that implements the semaphore interfaces should be 
3489193267Sjkimable to eliminate any workarounds for being called at interrupt level.
3490167802Sjkim
3491193267SjkimFixed a regression introduced in 20060526 where the ACPI device 
3492193267Sjkiminitialization could be prematurely aborted with an AE_NOT_FOUND if a device 
3493193267Sjkimdid not have an optional _INI method.
3494167802Sjkim
3495193267SjkimFixed an IndexField issue where a write to the Data Register should be 
3496193267Sjkimlimited in size to the AccessSize (width) of the IndexField itself. (BZ 433, 
3497193267SjkimFiodor Suietov)
3498167802Sjkim
3499167802SjkimFixed problem reports (Valery Podrezov) integrated:
3500193267Sjkim- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
3501167802Sjkim
3502167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3503193267Sjkim- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
3504167802Sjkim
3505193267SjkimRemoved four global mutexes that were obsolete and were no longer being 
3506193267Sjkimused.
3507167802Sjkim
3508193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3509193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3510193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3511193267Sjkima much larger code and data size.
3512167802Sjkim
3513167802Sjkim  Previous Release:
3514167802Sjkim    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3515167802Sjkim    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3516167802Sjkim  Current Release:
3517167802Sjkim    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
3518167802Sjkim    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
3519167802Sjkim
3520167802Sjkim
3521167802Sjkim2) iASL Compiler/Disassembler and Tools:
3522167802Sjkim
3523193267SjkimFixed a fault when using -g option (get tables from registry) on Windows 
3524193267Sjkimmachines.
3525167802Sjkim
3526167802SjkimFixed problem reports integrated:
3527193267Sjkim- Generate error if CreateField NumBits parameter is zero. (BZ 405)
3528193267Sjkim- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
3529193267SjkimSuietov)
3530167802Sjkim- Global table revision override (-r) is ignored (BZ 413)
3531167802Sjkim
3532167802Sjkim----------------------------------------
3533167802Sjkim26 May 2006. Summary of changes for version 20060526:
3534167802Sjkim
3535167802Sjkim1) ACPI CA Core Subsystem:
3536167802Sjkim
3537193267SjkimRestructured, flattened, and simplified the internal interfaces for 
3538193267Sjkimnamespace object evaluation - resulting in smaller code, less CPU stack use, 
3539193267Sjkimand fewer interfaces. (With assistance from Mikhail Kouzmich)
3540167802Sjkim
3541193267SjkimFixed a problem with the CopyObject operator where the first parameter was 
3542193267Sjkimnot typed correctly for the parser, interpreter, compiler, and disassembler. 
3543193267SjkimCaused various errors and unexpected behavior.
3544167802Sjkim
3545193267SjkimFixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
3546193267Sjkimproduced incorrect results with some C compilers. Since the behavior of C 
3547193267Sjkimcompilers when the shift value is larger than the datatype width is 
3548193267Sjkimapparently not well defined, the interpreter now detects this condition and 
3549193267Sjkimsimply returns zero as expected in all such cases. (BZ 395)
3550167802Sjkim
3551167802SjkimFixed problem reports (Valery Podrezov) integrated:
3552193267Sjkim- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
3553193267Sjkim- Allow interpreter to handle nested method declarations (BZ 5361)
3554167802Sjkim
3555167802SjkimFixed problem reports (Fiodor Suietov) integrated:
3556193267Sjkim- AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
3557193267Sjkim- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 356)
3558193267Sjkim- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
3559193267Sjkim- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
3560167802Sjkim- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
3561193267Sjkim- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
3562167802Sjkim- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
3563167802Sjkim- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
3564193267Sjkim- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 365)
3565193267Sjkim- Status of the Global Initialization Handler call not used (BZ 366)
3566193267Sjkim- Incorrect object parameter to Global Initialization Handler (BZ 367)
3567167802Sjkim
3568193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3569193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3570193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3571193267Sjkima much larger code and data size.
3572167802Sjkim
3573167802Sjkim  Previous Release:
3574167802Sjkim    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3575167802Sjkim    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3576167802Sjkim  Current Release:
3577167802Sjkim    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
3578167802Sjkim    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
3579167802Sjkim
3580167802Sjkim
3581167802Sjkim2) iASL Compiler/Disassembler and Tools:
3582167802Sjkim
3583193267SjkimModified the parser to allow the names IO, DMA, and IRQ to be used as 
3584193267Sjkimnamespace identifiers with no collision with existing resource descriptor 
3585193267Sjkimmacro names. This provides compatibility with other ASL compilers and is 
3586193267Sjkimmost useful for disassembly/recompilation of existing tables without parse 
3587167802Sjkimerrors. (With assistance from Thomas Renninger)
3588167802Sjkim
3589193267SjkimDisassembler: fixed an incorrect disassembly problem with the 
3590193267SjkimDataTableRegion and CopyObject operators. Fixed a possible fault during 
3591193267Sjkimdisassembly of some Alias operators.
3592167802Sjkim
3593167802Sjkim----------------------------------------
3594167802Sjkim12 May 2006. Summary of changes for version 20060512:
3595167802Sjkim
3596167802Sjkim1) ACPI CA Core Subsystem:
3597167802Sjkim
3598193267SjkimReplaced the AcpiOsQueueForExecution interface with a new interface named 
3599193267SjkimAcpiOsExecute. The major difference is that the new interface does not have 
3600193267Sjkima Priority parameter, this appeared to be useless and has been replaced by a 
3601193267SjkimType parameter. The Type tells the host what type of execution is being 
3602193267Sjkimrequested, such as global lock handler, notify handler, GPE handler, etc. 
3603193267SjkimThis allows the host to queue and execute the request as appropriate for the 
3604193267Sjkimrequest type, possibly using different work queues and different priorities 
3605193267Sjkimfor the various request types. This enables fixes for multithreading 
3606193267Sjkimdeadlock problems such as BZ #5534, and will require changes to all existing 
3607193267SjkimOS interface layers. (Alexey Starikovskiy and Bob Moore)
3608167802Sjkim
3609193267SjkimFixed a possible memory leak associated with the support for the so-called 
3610193267Sjkim"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
3611193267SjkimSuietov)
3612167802Sjkim
3613193267SjkimFixed a problem with the Load() operator where a table load from an 
3614193267Sjkimoperation region could overwrite an internal table buffer by up to 7 bytes 
3615193267Sjkimand cause alignment faults on IPF systems. (With assistance from Luming Yu)
3616167802Sjkim
3617193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3618193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3619193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3620193267Sjkima much larger code and data size.
3621167802Sjkim
3622167802Sjkim  Previous Release:
3623167802Sjkim    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3624167802Sjkim    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3625167802Sjkim  Current Release:
3626167802Sjkim    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
3627167802Sjkim    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
3628167802Sjkim
3629167802Sjkim
3630167802Sjkim
3631167802Sjkim2) iASL Compiler/Disassembler and Tools:
3632167802Sjkim
3633193267SjkimDisassembler: Implemented support to cross reference the internal namespace 
3634193267Sjkimand automatically generate ASL External() statements for symbols not defined 
3635193267Sjkimwithin the current table being disassembled. This will simplify the 
3636193267Sjkimdisassembly and recompilation of interdependent tables such as SSDTs since 
3637193267Sjkimthese statements will no longer have to be added manually.
3638167802Sjkim
3639193267SjkimDisassembler: Implemented experimental support to automatically detect 
3640193267Sjkiminvocations of external control methods and generate appropriate External() 
3641193267Sjkimstatements. This is problematic because the AML cannot be correctly parsed 
3642193267Sjkimuntil the number of arguments for each control method is known. Currently, 
3643193267Sjkimstandalone method invocations and invocations as the source operand of a 
3644193267SjkimStore() statement are supported.
3645167802Sjkim
3646193267SjkimDisassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
3647193267SjkimLLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
3648193267SjkimLNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
3649193267Sjkimmore readable and likely closer to the original ASL source.
3650167802Sjkim
3651167802Sjkim----------------------------------------
3652167802Sjkim21 April 2006. Summary of changes for version 20060421:
3653167802Sjkim
3654167802Sjkim1) ACPI CA Core Subsystem:
3655167802Sjkim
3656193267SjkimRemoved a device initialization optimization introduced in 20051216 where 
3657193267Sjkimthe _STA method was not run unless an _INI was also present for the same 
3658193267Sjkimdevice. This optimization could cause problems because it could allow _INI 
3659193267Sjkimmethods to be run within a not-present device subtree. (If a not-present 
3660193267Sjkimdevice had no _INI, _STA would not be run, the not-present status would not 
3661193267Sjkimbe discovered, and the children of the device would be incorrectly 
3662167802Sjkimtraversed.)
3663167802Sjkim
3664193267SjkimImplemented a new _STA optimization where namespace subtrees that do not 
3665193267Sjkimcontain _INI are identified and ignored during device initialization. 
3666193267SjkimSelectively running _STA can significantly improve boot time on large 
3667193267Sjkimmachines (with assistance from Len Brown.)
3668167802Sjkim
3669193267SjkimImplemented support for the device initialization case where the returned 
3670193267Sjkim_STA flags indicate a device not-present but functioning. In this case, _INI 
3671193267Sjkimis not run, but the device children are examined for presence, as per the 
3672193267SjkimACPI specification.
3673167802Sjkim
3674193267SjkimImplemented an additional change to the IndexField support in order to 
3675193267Sjkimconform to MS behavior. The value written to the Index Register is not 
3676193267Sjkimsimply a byte offset, it is a byte offset in units of the access width of 
3677193267Sjkimthe parent Index Field. (Fiodor Suietov)
3678167802Sjkim
3679193267SjkimDefined and deployed a new OSL interface, AcpiOsValidateAddress. This 
3680193267Sjkiminterface is called during the creation of all AML operation regions, and 
3681193267Sjkimallows the host OS to exert control over what addresses it will allow the 
3682193267SjkimAML code to access. Operation Regions whose addresses are disallowed will 
3683193267Sjkimcause a runtime exception when they are actually accessed (will not affect 
3684193267Sjkimor abort table loading.) See oswinxf or osunixxf for an example 
3685167802Sjkimimplementation.
3686167802Sjkim
3687193267SjkimDefined and deployed a new OSL interface, AcpiOsValidateInterface. This 
3688193267Sjkiminterface allows the host OS to match the various "optional" 
3689193267Sjkiminterface/behavior strings for the _OSI predefined control method as 
3690193267Sjkimappropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
3691193267Sjkimfor an example implementation.
3692167802Sjkim
3693193267SjkimRestructured and corrected various problems in the exception handling code 
3694193267Sjkimpaths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
3695193267Sjkim(with assistance from Takayoshi Kochi.)
3696167802Sjkim
3697193267SjkimModified the Linux source converter to ignore quoted string literals while 
3698193267Sjkimconverting identifiers from mixed to lower case. This will correct problems 
3699193267Sjkimwith the disassembler and other areas where such strings must not be 
3700193267Sjkimmodified.
3701167802Sjkim
3702193267SjkimThe ACPI_FUNCTION_* macros no longer require quotes around the function 
3703193267Sjkimname. This allows the Linux source converter to convert the names, now that 
3704193267Sjkimthe converter ignores quoted strings.
3705167802Sjkim
3706193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3707193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3708193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3709193267Sjkima much larger code and data size.
3710193267Sjkim
3711167802Sjkim  Previous Release:
3712167802Sjkim
3713167802Sjkim    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3714167802Sjkim    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3715167802Sjkim  Current Release:
3716167802Sjkim    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
3717167802Sjkim    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
3718167802Sjkim
3719167802Sjkim
3720167802Sjkim2) iASL Compiler/Disassembler and Tools:
3721167802Sjkim
3722193267SjkimImplemented 3 new warnings for iASL, and implemented multiple warning levels 
3723193267Sjkim(w2 flag).
3724167802Sjkim
3725193267Sjkim1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is not 
3726193267SjkimWAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
3727193267Sjkimcheck for the possible timeout, a warning is issued.
3728167802Sjkim
3729193267Sjkim2) Useless operators: If an ASL operator does not specify an optional target 
3730193267Sjkimoperand and it also does not use the function return value from the 
3731193267Sjkimoperator, a warning is issued since the operator effectively does nothing.
3732167802Sjkim
3733193267Sjkim3) Unreferenced objects: If a namespace object is created, but never 
3734193267Sjkimreferenced, a warning is issued. This is a warning level 2 since there are 
3735193267Sjkimcases where this is ok, such as when a secondary table is loaded that uses 
3736193267Sjkimthe unreferenced objects. Even so, care is taken to only flag objects that 
3737193267Sjkimdon't look like they will ever be used. For example, the reserved methods 
3738193267Sjkim(starting with an underscore) are usually not referenced because it is 
3739193267Sjkimexpected that the OS will invoke them.
3740167802Sjkim
3741167802Sjkim----------------------------------------
3742167802Sjkim31 March 2006. Summary of changes for version 20060331:
3743167802Sjkim
3744167802Sjkim1) ACPI CA Core Subsystem:
3745167802Sjkim
3746193267SjkimImplemented header file support for the following additional ACPI tables: 
3747193267SjkimASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this support, 
3748193267Sjkimall current and known ACPI tables are now defined in the ACPICA headers and 
3749193267Sjkimare available for use by device drivers and other software.
3750167802Sjkim
3751193267SjkimImplemented support to allow tables that contain ACPI names with invalid 
3752193267Sjkimcharacters to be loaded. Previously, this would cause the table load to 
3753193267Sjkimfail, but since there are several known cases of such tables on existing 
3754193267Sjkimmachines, this change was made to enable ACPI support for them. Also, this 
3755193267Sjkimmatches the behavior of the Microsoft ACPI implementation.
3756167802Sjkim
3757193267SjkimFixed a couple regressions introduced during the memory optimization in the 
3758193267Sjkim20060317 release. The namespace node definition required additional 
3759193267Sjkimreorganization and an internal datatype that had been changed to 8-bit was 
3760193267Sjkimrestored to 32-bit. (Valery Podrezov)
3761167802Sjkim
3762193267SjkimFixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
3763193267Sjkimcould be passed through to AcpiOsReleaseObject which is unexpected. Such 
3764193267Sjkimnull pointers are now trapped and ignored, matching the behavior of the 
3765193267Sjkimprevious implementation before the deployment of AcpiOsReleaseObject.
3766167802Sjkim(Valery Podrezov, Fiodor Suietov)
3767167802Sjkim
3768193267SjkimFixed a memory mapping leak during the deletion of a SystemMemory operation 
3769193267Sjkimregion where a cached memory mapping was not deleted. This became a 
3770193267Sjkimnoticeable problem for operation regions that are defined within frequently 
3771193267Sjkimused control methods. (Dana Meyers)
3772167802Sjkim
3773193267SjkimReorganized the ACPI table header files into two main files: one for the 
3774193267SjkimACPI tables consumed by the ACPICA core, and another for the miscellaneous 
3775193267SjkimACPI tables that are consumed by the drivers and other software. The various 
3776193267SjkimFADT definitions were merged into one common section and three different 
3777193267Sjkimtables (ACPI 1.0, 1.0+, and 2.0)
3778167802Sjkim
3779193267SjkimExample Code and Data Size: These are the sizes for the OS-independent 
3780193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3781193267Sjkimdebug version of the code includes the debug output trace mechanism and has 
3782193267Sjkima much larger code and data size.
3783167802Sjkim
3784167802Sjkim  Previous Release:
3785167802Sjkim    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3786167802Sjkim    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3787167802Sjkim  Current Release:
3788167802Sjkim    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
3789167802Sjkim    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
3790167802Sjkim
3791167802Sjkim
3792167802Sjkim2) iASL Compiler/Disassembler and Tools:
3793167802Sjkim
3794193267SjkimDisassembler: Implemented support to decode and format all non-AML ACPI 
3795193267Sjkimtables (tables other than DSDTs and SSDTs.) This includes the new tables 
3796193267Sjkimadded to the ACPICA headers, therefore all current and known ACPI tables are 
3797193267Sjkimsupported.
3798167802Sjkim
3799193267SjkimDisassembler: The change to allow ACPI names with invalid characters also 
3800193267Sjkimenables the disassembly of such tables. Invalid characters within names are 
3801193267Sjkimchanged to '*' to make the name printable; the iASL compiler will still 
3802193267Sjkimgenerate an error for such names, however, since this is an invalid ACPI 
3803193267Sjkimcharacter.
3804167802Sjkim
3805193267SjkimImplemented an option for AcpiXtract (-a) to extract all tables found in the 
3806193267Sjkiminput file. The default invocation extracts only the DSDTs and SSDTs.
3807167802Sjkim
3808193267SjkimFixed a couple of gcc generation issues for iASL and AcpiExec and added a 
3809193267Sjkimmakefile for the AcpiXtract utility.
3810167802Sjkim
3811167802Sjkim----------------------------------------
3812167802Sjkim17 March 2006. Summary of changes for version 20060317:
3813167802Sjkim
3814167802Sjkim1) ACPI CA Core Subsystem:
3815167802Sjkim
3816193267SjkimImplemented the use of a cache object for all internal namespace nodes. 
3817193267SjkimSince there are about 1000 static nodes in a typical system, this will 
3818193267Sjkimdecrease memory use for cache implementations that minimize per-allocation 
3819193267Sjkimoverhead (such as a slab allocator.)
3820167802Sjkim
3821193267SjkimRemoved the reference count mechanism for internal namespace nodes, since it 
3822193267Sjkimwas deemed unnecessary. This reduces the size of each namespace node by 
3823193267Sjkimabout 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case, 
3824193267Sjkimand 32 bytes for the 64-bit case.
3825167802Sjkim
3826193267SjkimOptimized several internal data structures to reduce object size on 64-bit 
3827193267Sjkimplatforms by packing data within the 64-bit alignment. This includes the 
3828193267Sjkimfrequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
3829193267Sjkiminstances corresponding to the namespace objects.
3830167802Sjkim
3831193267SjkimAdded two new strings for the predefined _OSI method: "Windows 2001.1 SP1" 
3832193267Sjkimand "Windows 2006".
3833167802Sjkim
3834193267SjkimSplit the allocation tracking mechanism out to a separate file, from 
3835193267Sjkimutalloc.c to uttrack.c. This mechanism appears to be only useful for 
3836193267Sjkimapplication-level code. Kernels may wish to not include uttrack.c in 
3837193267Sjkimdistributions.
3838167802Sjkim
3839193267SjkimRemoved all remnants of the obsolete ACPI_REPORT_* macros and the associated 
3840193267Sjkimcode. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
3841193267Sjkimmacros.)
3842167802Sjkim
3843193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
3844193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3845193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
3846193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
3847193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
3848193267Sjkimcompiler options used during generation.
3849167802Sjkim
3850167802Sjkim  Previous Release:
3851167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3852167802Sjkim    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3853167802Sjkim  Current Release:
3854167802Sjkim    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
3855167802Sjkim    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
3856167802Sjkim
3857167802Sjkim
3858167802Sjkim2) iASL Compiler/Disassembler and Tools:
3859167802Sjkim
3860193267SjkimImplemented an ANSI C version of the acpixtract utility. This version will 
3861193267Sjkimautomatically extract the DSDT and all SSDTs from the input acpidump text 
3862193267Sjkimfile and dump the binary output to separate files. It can also display a 
3863193267Sjkimsummary of the input file including the headers for each table found and 
3864193267Sjkimwill extract any single ACPI table, with any signature. (See 
3865167802Sjkimsource/tools/acpixtract)
3866167802Sjkim
3867167802Sjkim----------------------------------------
3868167802Sjkim10 March 2006. Summary of changes for version 20060310:
3869167802Sjkim
3870167802Sjkim1) ACPI CA Core Subsystem:
3871167802Sjkim
3872193267SjkimTagged all external interfaces to the subsystem with the new 
3873193267SjkimACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist 
3874193267Sjkimkernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
3875193267Sjkimmacro. The default definition is NULL.
3876167802Sjkim
3877193267SjkimAdded the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId. 
3878193267SjkimThis allows the host to define this as necessary to simplify kernel 
3879193267Sjkimintegration. The default definition is ACPI_NATIVE_UINT.
3880167802Sjkim
3881193267SjkimFixed two interpreter problems related to error processing, the deletion of 
3882193267Sjkimobjects, and placing invalid pointers onto the internal operator result 
3883193267Sjkimstack. BZ 6028, 6151 (Valery Podrezov)
3884167802Sjkim
3885193267SjkimIncreased the reference count threshold where a warning is emitted for large 
3886193267Sjkimreference counts in order to eliminate unnecessary warnings on systems with 
3887193267Sjkimlarge namespaces (especially 64-bit.) Increased the value from 0x400 to 
3888193267Sjkim0x800.
3889167802Sjkim
3890193267SjkimDue to universal disagreement as to the meaning of the 'c' in the calloc() 
3891193267Sjkimfunction, the ACPI_MEM_CALLOCATE macro has been renamed to 
3892193267SjkimACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
3893193267SjkimACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
3894193267SjkimACPI_FREE.
3895167802Sjkim
3896193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
3897193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3898193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
3899193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
3900193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
3901193267Sjkimcompiler options used during generation.
3902167802Sjkim
3903167802Sjkim  Previous Release:
3904167802Sjkim    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3905167802Sjkim    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3906167802Sjkim  Current Release:
3907167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3908167802Sjkim    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
3909167802Sjkim
3910167802Sjkim
3911167802Sjkim2) iASL Compiler/Disassembler:
3912167802Sjkim
3913193267SjkimDisassembler: implemented support for symbolic resource descriptor 
3914193267Sjkimreferences. If a CreateXxxxField operator references a fixed offset within a 
3915193267Sjkimresource descriptor, a name is assigned to the descriptor and the offset is 
3916193267Sjkimtranslated to the appropriate resource tag and pathname. The addition of 
3917193267Sjkimthis support brings the disassembled code very close to the original ASL 
3918193267Sjkimsource code and helps eliminate run-time errors when the disassembled code 
3919193267Sjkimis modified (and recompiled) in such a way as to invalidate the original 
3920193267Sjkimfixed offsets.
3921167802Sjkim
3922193267SjkimImplemented support for a Descriptor Name as the last parameter to the ASL 
3923193267SjkimRegister() macro. This parameter was inadvertently left out of the ACPI 
3924193267Sjkimspecification, and will be added for ACPI 3.0b.
3925167802Sjkim
3926193267SjkimFixed a problem where the use of the "_OSI" string (versus the full path 
3927193267Sjkim"\_OSI") caused an internal compiler error. ("No back ptr to op")
3928167802Sjkim
3929193267SjkimFixed a problem with the error message that occurs when an invalid string is 
3930193267Sjkimused for a _HID object (such as one with an embedded asterisk: "*PNP010A".) 
3931193267SjkimThe correct message is now displayed.
3932167802Sjkim
3933167802Sjkim----------------------------------------
3934167802Sjkim17 February 2006. Summary of changes for version 20060217:
3935167802Sjkim
3936167802Sjkim1) ACPI CA Core Subsystem:
3937167802Sjkim
3938193267SjkimImplemented a change to the IndexField support to match the behavior of the 
3939193267SjkimMicrosoft AML interpreter. The value written to the Index register is now a 
3940193267Sjkimbyte offset, no longer an index based upon the width of the Data register. 
3941193267SjkimThis should fix IndexField problems seen on some machines where the Data 
3942193267Sjkimregister is not exactly one byte wide. The ACPI specification will be 
3943193267Sjkimclarified on this point.
3944167802Sjkim
3945193267SjkimFixed a problem where several resource descriptor types could overrun the 
3946193267Sjkiminternal descriptor buffer due to size miscalculation: VendorShort, 
3947193267SjkimVendorLong, and Interrupt. This was noticed on IA64 machines, but could 
3948193267Sjkimaffect all platforms.
3949167802Sjkim
3950193267SjkimFixed a problem where individual resource descriptors were misaligned within 
3951193267Sjkimthe internal buffer, causing alignment faults on IA64 platforms.
3952167802Sjkim
3953193267SjkimCode and Data Size: These are the sizes for the acpica.lib produced by the 
3954193267SjkimMicrosoft Visual C++ 6.0 32-bit compiler. The values do not include any ACPI 
3955193267Sjkimdriver or OSPM code. The debug version of the code includes the debug output 
3956193267Sjkimtrace mechanism and has a much larger code and data size. Note that these 
3957193267Sjkimvalues will vary depending on the efficiency of the compiler and the 
3958193267Sjkimcompiler options used during generation.
3959167802Sjkim
3960167802Sjkim  Previous Release:
3961167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
3962167802Sjkim    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
3963167802Sjkim  Current Release:
3964167802Sjkim    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
3965167802Sjkim    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
3966167802Sjkim
3967167802Sjkim
3968167802Sjkim2) iASL Compiler/Disassembler:
3969167802Sjkim
3970193267SjkimImplemented support for new reserved names: _WDG and _WED are Microsoft 
3971193267Sjkimextensions for Windows Instrumentation Management, _TDL is a new ACPI-
3972193267Sjkimdefined method (Throttling Depth Limit.)
3973167802Sjkim
3974193267SjkimFixed a problem where a zero-length VendorShort or VendorLong resource 
3975193267Sjkimdescriptor was incorrectly emitted as a descriptor of length one.
3976167802Sjkim
3977167802Sjkim----------------------------------------
3978167802Sjkim10 February 2006. Summary of changes for version 20060210:
3979167802Sjkim
3980167802Sjkim1) ACPI CA Core Subsystem:
3981167802Sjkim
3982193267SjkimRemoved a couple of extraneous ACPI_ERROR messages that appeared during 
3983193267Sjkimnormal execution. These became apparent after the conversion from 
3984193267SjkimACPI_DEBUG_PRINT.
3985167802Sjkim
3986193267SjkimFixed a problem where the CreateField operator could hang if the BitIndex or 
3987193267SjkimNumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
3988167802Sjkim
3989193267SjkimFixed a problem where a DeRefOf operation on a buffer object incorrectly 
3990193267Sjkimfailed with an exception. This also fixes a couple of related RefOf and 
3991193267SjkimDeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
3992167802Sjkim
3993193267SjkimFixed a problem where the AE_BUFFER_LIMIT exception was returned instead of 
3994193267SjkimAE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, BZ 
3995193267Sjkim5480)
3996167802Sjkim
3997193267SjkimImplemented a memory cleanup at the end of the execution of each iteration 
3998193267Sjkimof an AML While() loop, preventing the accumulation of outstanding objects. 
3999193267Sjkim(Valery Podrezov, BZ 5427)
4000167802Sjkim
4001193267SjkimEliminated a chunk of duplicate code in the object resolution code. (Valery 
4002193267SjkimPodrezov, BZ 5336)
4003167802Sjkim
4004167802SjkimFixed several warnings during the 64-bit code generation.
4005167802Sjkim
4006193267SjkimThe AcpiSrc source code conversion tool now inserts one line of whitespace 
4007193267Sjkimafter an if() statement that is followed immediately by a comment, improving 
4008193267Sjkimreadability of the Linux code.
4009167802Sjkim
4010193267SjkimCode and Data Size: The current and previous library sizes for the core 
4011193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4012193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4013193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4014193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4015193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4016193267Sjkimof the compiler and the compiler options used during generation.
4017167802Sjkim
4018167802Sjkim  Previous Release:
4019167802Sjkim    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4020167802Sjkim    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4021167802Sjkim  Current Release:
4022167802Sjkim    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
4023167802Sjkim    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
4024167802Sjkim
4025167802Sjkim
4026167802Sjkim2) iASL Compiler/Disassembler:
4027167802Sjkim
4028193267SjkimFixed a problem with the disassembly of a BankField operator with a complex 
4029193267Sjkimexpression for the BankValue parameter.
4030167802Sjkim
4031167802Sjkim----------------------------------------
4032167802Sjkim27 January 2006. Summary of changes for version 20060127:
4033167802Sjkim
4034167802Sjkim1) ACPI CA Core Subsystem:
4035167802Sjkim
4036193267SjkimImplemented support in the Resource Manager to allow unresolved namestring 
4037193267Sjkimreferences within resource package objects for the _PRT method. This support 
4038193267Sjkimis in addition to the previously implemented unresolved reference support 
4039193267Sjkimwithin the AML parser. If the interpreter slack mode is enabled, these 
4040193267Sjkimunresolved references will be passed through to the caller as a NULL package 
4041167802Sjkimentry.
4042167802Sjkim
4043193267SjkimImplemented and deployed new macros and functions for error and warning 
4044193267Sjkimmessages across the subsystem. These macros are simpler and generate less 
4045193267Sjkimcode than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
4046193267SjkimACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
4047193267Sjkimmacros remain defined to allow ACPI drivers time to migrate to the new 
4048193267Sjkimmacros.
4049167802Sjkim
4050193267SjkimImplemented the ACPI_CPU_FLAGS type to simplify host OS integration of the 
4051193267SjkimAcquire/Release Lock OSL interfaces.
4052167802Sjkim
4053193267SjkimFixed a problem where Alias ASL operators are sometimes not correctly 
4054193267Sjkimresolved, in both the interpreter and the iASL compiler.
4055167802Sjkim
4056193267SjkimFixed several problems with the implementation of the ConcatenateResTemplate 
4057193267SjkimASL operator. As per the ACPI specification, zero length buffers are now 
4058193267Sjkimtreated as a single EndTag. One-length buffers always cause a fatal 
4059193267Sjkimexception. Non-zero length buffers that do not end with a full 2-byte EndTag 
4060167802Sjkimcause a fatal exception.
4061167802Sjkim
4062193267SjkimFixed a possible structure overwrite in the AcpiGetObjectInfo external 
4063193267Sjkiminterface. (With assistance from Thomas Renninger)
4064167802Sjkim
4065193267SjkimCode and Data Size: The current and previous library sizes for the core 
4066193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4067193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4068193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4069193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4070193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4071193267Sjkimof the compiler and the compiler options used during generation.
4072167802Sjkim
4073167802Sjkim  Previous Release:
4074167802Sjkim    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4075167802Sjkim    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4076167802Sjkim  Current Release:
4077167802Sjkim    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
4078167802Sjkim    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
4079167802Sjkim
4080167802Sjkim
4081167802Sjkim2) iASL Compiler/Disassembler:
4082167802Sjkim
4083193267SjkimFixed an internal error that was generated for any forward references to ASL 
4084193267SjkimAlias objects.
4085167802Sjkim
4086167802Sjkim----------------------------------------
4087167802Sjkim13 January 2006. Summary of changes for version 20060113:
4088167802Sjkim
4089167802Sjkim1) ACPI CA Core Subsystem:
4090167802Sjkim
4091193267SjkimAdded 2006 copyright to all module headers and signons. This affects 
4092193267Sjkimvirtually every file in the ACPICA core subsystem, iASL compiler, and the 
4093193267Sjkimutilities.
4094193267Sjkim 
4095193267SjkimEnhanced the ACPICA error reporting in order to simplify user migration to 
4096193267Sjkimthe non-debug version of ACPICA. Replaced all instances of the 
4097193267SjkimACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug 
4098193267Sjkimlevels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
4099193267Sjkimrespectively. This preserves all error and warning messages in the non-debug 
4100193267Sjkimversion of the ACPICA code (this has been referred to as the "debug lite" 
4101193267Sjkimoption.) Over 200 cases were converted to create a total of over 380 
4102193267Sjkimerror/warning messages across the ACPICA code. This increases the code and 
4103193267Sjkimdata size of the default non-debug version of the code somewhat (about 13K), 
4104193267Sjkimbut all error/warning reporting may be disabled if desired (and code 
4105193267Sjkimeliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
4106193267Sjkimconfiguration option. The size of the debug version of ACPICA remains about 
4107193267Sjkimthe same.
4108167802Sjkim
4109193267SjkimFixed a memory leak within the AML Debugger "Set" command. One object was 
4110193267Sjkimnot properly deleted for every successful invocation of the command.
4111167802Sjkim
4112193267SjkimCode and Data Size: The current and previous library sizes for the core 
4113193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4114193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4115193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4116193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4117193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4118193267Sjkimof the compiler and the compiler options used during generation.
4119167802Sjkim
4120167802Sjkim  Previous Release:
4121167802Sjkim    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4122167802Sjkim    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4123167802Sjkim  Current Release:
4124167802Sjkim    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
4125167802Sjkim    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
4126167802Sjkim
4127167802Sjkim
4128167802Sjkim2) iASL Compiler/Disassembler:
4129167802Sjkim
4130193267SjkimThe compiler now officially supports the ACPI 3.0a specification that was 
4131193267Sjkimreleased on December 30, 2005. (Specification is available at www.acpi.info)
4132167802Sjkim
4133167802Sjkim----------------------------------------
4134167802Sjkim16 December 2005. Summary of changes for version 20051216:
4135167802Sjkim
4136167802Sjkim1) ACPI CA Core Subsystem:
4137167802Sjkim
4138193267SjkimImplemented optional support to allow unresolved names within ASL Package 
4139193267Sjkimobjects. A null object is inserted in the package when a named reference 
4140193267Sjkimcannot be located in the current namespace. Enabled via the interpreter 
4141193267Sjkimslack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines 
4142193267Sjkimthat contain such code.
4143167802Sjkim
4144193267SjkimImplemented an optimization to the initialization sequence that can improve 
4145193267Sjkimboot time. During ACPI device initialization, the _STA method is now run if 
4146193267Sjkimand only if the _INI method exists. The _STA method is used to determine if 
4147193267Sjkimthe device is present; An _INI can only be run if _STA returns present, but 
4148193267Sjkimit is a waste of time to run the _STA method if the _INI does not exist. 
4149167802Sjkim(Prototype and assistance from Dong Wei)
4150167802Sjkim
4151193267SjkimImplemented use of the C99 uintptr_t for the pointer casting macros if it is 
4152193267Sjkimavailable in the current compiler. Otherwise, the default (void *) cast is 
4153193267Sjkimused as before.
4154167802Sjkim
4155193267SjkimFixed some possible memory leaks found within the execution path of the 
4156193267SjkimBreak, Continue, If, and CreateField operators. (Valery Podrezov)
4157167802Sjkim
4158193267SjkimFixed a problem introduced in the 20051202 release where an exception is 
4159193267Sjkimgenerated during method execution if a control method attempts to declare 
4160193267Sjkimanother method.
4161167802Sjkim
4162193267SjkimMoved resource descriptor string constants that are used by both the AML 
4163193267Sjkimdisassembler and AML debugger to the common utilities directory so that 
4164193267Sjkimthese components are independent.
4165167802Sjkim
4166193267SjkimImplemented support in the AcpiExec utility (-e switch) to globally ignore 
4167193267Sjkimexceptions during control method execution (method is not aborted.)
4168167802Sjkim
4169193267SjkimAdded the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
4170193267Sjkimgeneration.
4171167802Sjkim
4172193267SjkimCode and Data Size: The current and previous library sizes for the core 
4173193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4174193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4175193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4176193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4177193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4178193267Sjkimof the compiler and the compiler options used during generation.
4179167802Sjkim
4180167802Sjkim  Previous Release:
4181167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4182167802Sjkim    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4183167802Sjkim  Current Release:
4184167802Sjkim    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
4185167802Sjkim    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
4186167802Sjkim
4187167802Sjkim
4188167802Sjkim2) iASL Compiler/Disassembler:
4189167802Sjkim
4190193267SjkimFixed a problem where a CPU stack overflow fault could occur if a recursive 
4191193267Sjkimmethod call was made from within a Return statement.
4192167802Sjkim
4193167802Sjkim----------------------------------------
4194167802Sjkim02 December 2005. Summary of changes for version 20051202:
4195167802Sjkim
4196167802Sjkim1) ACPI CA Core Subsystem:
4197167802Sjkim
4198193267SjkimModified the parsing of control methods to no longer create namespace 
4199193267Sjkimobjects during the first pass of the parse. Objects are now created only 
4200193267Sjkimduring the execute phase, at the moment the namespace creation operator is 
4201193267Sjkimencountered in the AML (Name, OperationRegion, CreateByteField, etc.) This 
4202193267Sjkimshould eliminate ALREADY_EXISTS exceptions seen on some machines where 
4203193267Sjkimreentrant control methods are protected by an AML mutex. The mutex will now 
4204193267Sjkimcorrectly block multiple threads from attempting to create the same object 
4205193267Sjkimmore than once.
4206167802Sjkim
4207193267SjkimIncreased the number of available Owner Ids for namespace object tracking 
4208193267Sjkimfrom 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen on 
4209193267Sjkimsome machines with a large number of ACPI tables (either static or dynamic).
4210167802Sjkim
4211193267SjkimFixed a problem with the AcpiExec utility where a fault could occur when the 
4212193267Sjkim-b switch (batch mode) is used.
4213167802Sjkim
4214193267SjkimEnhanced the namespace dump routine to output the owner ID for each 
4215193267Sjkimnamespace object.
4216167802Sjkim
4217193267SjkimCode and Data Size: The current and previous library sizes for the core 
4218193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4219193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4220193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4221193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4222193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4223193267Sjkimof the compiler and the compiler options used during generation.
4224167802Sjkim
4225167802Sjkim  Previous Release:
4226167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4227167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4228167802Sjkim  Current Release:
4229167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4230167802Sjkim    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
4231167802Sjkim
4232167802Sjkim
4233167802Sjkim2) iASL Compiler/Disassembler:
4234167802Sjkim
4235193267SjkimFixed a parse error during compilation of certain Switch/Case constructs. To 
4236193267Sjkimsimplify the parse, the grammar now allows for multiple Default statements 
4237193267Sjkimand this error is now detected and flagged during the analysis phase.
4238167802Sjkim
4239193267SjkimDisassembler: The disassembly now includes the contents of the original 
4240193267Sjkimtable header within a comment at the start of the file. This includes the 
4241193267Sjkimname and version of the original ASL compiler.
4242167802Sjkim
4243167802Sjkim----------------------------------------
4244167802Sjkim17 November 2005. Summary of changes for version 20051117:
4245167802Sjkim
4246167802Sjkim1) ACPI CA Core Subsystem:
4247167802Sjkim
4248193267SjkimFixed a problem in the AML parser where the method thread count could be 
4249193267Sjkimdecremented below zero if any errors occurred during the method parse phase. 
4250193267SjkimThis should eliminate AE_AML_METHOD_LIMIT exceptions seen on some machines. 
4251193267SjkimThis also fixed a related regression with the mechanism that detects and 
4252193267Sjkimcorrects methods that cannot properly handle reentrancy (related to the 
4253193267Sjkimdeployment of the new OwnerId mechanism.)
4254167802Sjkim
4255193267SjkimEliminated the pre-parsing of control methods (to detect errors) during 
4256193267Sjkimtable load. Related to the problem above, this was causing unwind issues if 
4257193267Sjkimany errors occurred during the parse, and it seemed to be overkill. A table 
4258193267Sjkimload should not be aborted if there are problems with any single control 
4259193267Sjkimmethod, thus rendering this feature rather pointless.
4260167802Sjkim
4261193267SjkimFixed a problem with the new table-driven resource manager where an internal 
4262193267Sjkimbuffer overflow could occur for small resource templates.
4263167802Sjkim
4264193267SjkimImplemented a new external interface, AcpiGetVendorResource. This interface 
4265193267Sjkimwill find and return a vendor-defined resource descriptor within a _CRS or 
4266193267Sjkim_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn Helgaas.
4267167802Sjkim
4268193267SjkimRemoved the length limit (200) on string objects as per the upcoming ACPI 
4269193267Sjkim3.0A specification. This affects the following areas of the interpreter: 1) 
4270193267Sjkimany implicit conversion of a Buffer to a String, 2) a String object result 
4271193267Sjkimof the ASL Concatentate operator, 3) the String object result of the ASL 
4272193267SjkimToString operator.
4273167802Sjkim
4274193267SjkimFixed a problem in the Windows OS interface layer (OSL) where a WAIT_FOREVER 
4275193267Sjkimon a semaphore object would incorrectly timeout. This allows the 
4276193267Sjkimmultithreading features of the AcpiExec utility to work properly under 
4277193267SjkimWindows.
4278167802Sjkim
4279193267SjkimUpdated the Linux makefiles for the iASL compiler and AcpiExec to include 
4280193267Sjkimthe recently added file named "utresrc.c".
4281167802Sjkim
4282193267SjkimCode and Data Size: The current and previous library sizes for the core 
4283193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4284193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4285193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4286193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4287193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4288193267Sjkimof the compiler and the compiler options used during generation.
4289167802Sjkim
4290167802Sjkim  Previous Release:
4291167802Sjkim    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4292167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4293167802Sjkim  Current Release:
4294167802Sjkim    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
4295167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4296167802Sjkim
4297167802Sjkim
4298167802Sjkim2) iASL Compiler/Disassembler:
4299167802Sjkim
4300193267SjkimRemoved the limit (200) on string objects as per the upcoming ACPI 3.0A 
4301193267Sjkimspecification. For the iASL compiler, this means that string literals within 
4302193267Sjkimthe source ASL can be of any length. 
4303167802Sjkim
4304193267SjkimEnhanced the listing output to dump the AML code for resource descriptors 
4305193267Sjkimimmediately after the ASL code for each descriptor, instead of in a block at 
4306193267Sjkimthe end of the entire resource template.
4307167802Sjkim
4308193267SjkimEnhanced the compiler debug output to dump the entire original parse tree 
4309193267Sjkimconstructed during the parse phase, before any transforms are applied to the 
4310193267Sjkimtree. The transformed tree is dumped also.
4311167802Sjkim
4312167802Sjkim----------------------------------------
4313167802Sjkim02 November 2005. Summary of changes for version 20051102:
4314167802Sjkim
4315167802Sjkim1) ACPI CA Core Subsystem:
4316167802Sjkim
4317193267SjkimModified the subsystem initialization sequence to improve GPE support. The 
4318193267SjkimGPE initialization has been split into two parts in order to defer execution 
4319193267Sjkimof the _PRW methods (Power Resources for Wake) until after the hardware is 
4320193267Sjkimfully initialized and the SCI handler is installed. This allows the _PRW 
4321193267Sjkimmethods to access fields protected by the Global Lock. This will fix systems 
4322193267Sjkimwhere a NO_GLOBAL_LOCK exception has been seen during initialization.
4323167802Sjkim
4324193267SjkimConverted the ACPI internal object disassemble and display code within the 
4325193267SjkimAML debugger to fully table-driven operation, reducing code size and 
4326193267Sjkimincreasing maintainability.
4327167802Sjkim
4328193267SjkimFixed a regression with the ConcatenateResTemplate() ASL operator introduced 
4329193267Sjkimin the 20051021 release.
4330167802Sjkim
4331193267SjkimImplemented support for "local" internal ACPI object types within the 
4332193267Sjkimdebugger "Object" command and the AcpiWalkNamespace external interfaces. 
4333193267SjkimThese local types include RegionFields, BankFields, IndexFields, Alias, and 
4334193267Sjkimreference objects.
4335167802Sjkim
4336193267SjkimMoved common AML resource handling code into a new file, "utresrc.c". This 
4337193267Sjkimcode is shared by both the Resource Manager and the AML Debugger.
4338167802Sjkim
4339193267SjkimCode and Data Size: The current and previous library sizes for the core 
4340193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4341193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4342193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4343193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4344193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4345193267Sjkimof the compiler and the compiler options used during generation.
4346167802Sjkim
4347167802Sjkim  Previous Release:
4348167802Sjkim    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4349167802Sjkim    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4350167802Sjkim  Current Release:
4351167802Sjkim    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
4352167802Sjkim    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
4353167802Sjkim
4354167802Sjkim
4355167802Sjkim2) iASL Compiler/Disassembler:
4356167802Sjkim
4357193267SjkimFixed a problem with very large initializer lists (more than 4000 elements) 
4358193267Sjkimfor both Buffer and Package objects where the parse stack could overflow.
4359167802Sjkim
4360193267SjkimEnhanced the pre-compile source code scan for non-ASCII characters to ignore 
4361193267Sjkimcharacters within comment fields. The scan is now always performed and is no 
4362193267Sjkimlonger optional, detecting invalid characters within a source file 
4363193267Sjkimimmediately rather than during the parse phase or later.
4364167802Sjkim
4365193267SjkimEnhanced the ASL grammar definition to force early reductions on all list-
4366193267Sjkimstyle grammar elements so that the overall parse stack usage is greatly 
4367193267Sjkimreduced. This should improve performance and reduce the possibility of parse 
4368193267Sjkimstack overflow.
4369167802Sjkim
4370193267SjkimEliminated all reduce/reduce conflicts in the iASL parser generation. Also, 
4371193267Sjkimwith the addition of a %expected statement, the compiler generates from 
4372193267Sjkimsource with no warnings.
4373167802Sjkim
4374193267SjkimFixed a possible segment fault in the disassembler if the input filename 
4375193267Sjkimdoes not contain a "dot" extension (Thomas Renninger).
4376167802Sjkim
4377167802Sjkim----------------------------------------
4378151937Sjkim21 October 2005. Summary of changes for version 20051021:
4379151937Sjkim
4380151937Sjkim1) ACPI CA Core Subsystem:
4381151937Sjkim
4382193267SjkimImplemented support for the EM64T and other x86-64 processors. This 
4383193267Sjkimessentially entails recognizing that these processors support non-aligned 
4384193267Sjkimmemory transfers. Previously, all 64-bit processors were assumed to lack 
4385193267Sjkimhardware support for non-aligned transfers.
4386151937Sjkim
4387193267SjkimCompleted conversion of the Resource Manager to nearly full table-driven 
4388193267Sjkimoperation. Specifically, the resource conversion code (convert AML to 
4389193267Sjkiminternal format and the reverse) and the debug code to dump internal 
4390193267Sjkimresource descriptors are fully table-driven, reducing code and data size and 
4391193267Sjkimimproving maintainability.
4392151937Sjkim
4393193267SjkimThe OSL interfaces for Acquire and Release Lock now use a 64-bit flag word 
4394193267Sjkimon 64-bit processors instead of a fixed 32-bit word. (With assistance from 
4395193267SjkimAlexey Starikovskiy)
4396151937Sjkim
4397193267SjkimImplemented support within the resource conversion code for the Type-
4398193267SjkimSpecific byte within the various ACPI 3.0 *WordSpace macros.
4399151937Sjkim
4400193267SjkimFixed some issues within the resource conversion code for the type-specific 
4401193267Sjkimflags for both Memory and I/O address resource descriptors. For Memory, 
4402193267Sjkimimplemented support for the MTP and TTP flags. For I/O, split the TRS and 
4403193267SjkimTTP flags into two separate fields.
4404151937Sjkim
4405193267SjkimCode and Data Size: The current and previous library sizes for the core 
4406193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4407193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4408193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4409193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4410193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4411193267Sjkimof the compiler and the compiler options used during generation.
4412151937Sjkim
4413151937Sjkim  Previous Release:
4414151937Sjkim    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4415151937Sjkim    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4416151937Sjkim  Current Release:
4417151937Sjkim    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
4418151937Sjkim    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
4419151937Sjkim
4420151937Sjkim
4421167802Sjkim
4422151937Sjkim2) iASL Compiler/Disassembler:
4423151937Sjkim
4424193267SjkimRelaxed a compiler restriction that disallowed a ResourceIndex byte if the 
4425193267Sjkimcorresponding ResourceSource string was not also present in a resource 
4426193267Sjkimdescriptor declaration. This restriction caused problems with existing 
4427193267SjkimAML/ASL code that includes the Index byte without the string. When such AML 
4428193267Sjkimwas disassembled, it could not be compiled without modification. Further, 
4429193267Sjkimthe modified code created a resource template with a different size than the 
4430193267Sjkimoriginal, breaking code that used fixed offsets into the resource template 
4431193267Sjkimbuffer.
4432151937Sjkim
4433193267SjkimRemoved a recent feature of the disassembler to ignore a lone ResourceIndex 
4434193267Sjkimbyte. This byte is now emitted if present so that the exact AML can be 
4435193267Sjkimreproduced when the disassembled code is recompiled.
4436151937Sjkim
4437193267SjkimImproved comments and text alignment for the resource descriptor code 
4438193267Sjkimemitted by the disassembler.
4439151937Sjkim
4440193267SjkimImplemented disassembler support for the ACPI 3.0 AccessSize field within a 
4441193267SjkimRegister() resource descriptor.
4442151937Sjkim
4443151937Sjkim----------------------------------------
4444151937Sjkim30 September 2005. Summary of changes for version 20050930:
4445151937Sjkim
4446151937Sjkim1) ACPI CA Core Subsystem:
4447151937Sjkim
4448193267SjkimCompleted a major overhaul of the Resource Manager code - specifically, 
4449193267Sjkimoptimizations in the area of the AML/internal resource conversion code. The 
4450193267Sjkimcode has been optimized to simplify and eliminate duplicated code, CPU stack 
4451193267Sjkimuse has been decreased by optimizing function parameters and local 
4452193267Sjkimvariables, and naming conventions across the manager have been standardized 
4453193267Sjkimfor clarity and ease of maintenance (this includes function, parameter, 
4454193267Sjkimvariable, and struct/typedef names.) The update may force changes in some 
4455193267Sjkimdriver code, depending on how resources are handled by the host OS.
4456151937Sjkim
4457193267SjkimAll Resource Manager dispatch and information tables have been moved to a 
4458193267Sjkimsingle location for clarity and ease of maintenance. One new file was 
4459193267Sjkimcreated, named "rsinfo.c".
4460151937Sjkim
4461193267SjkimThe ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
4462193267Sjkimguarantee that the argument is not evaluated twice, making them less prone 
4463193267Sjkimto macro side-effects. However, since there exists the possibility of 
4464193267Sjkimadditional stack use if a particular compiler cannot optimize them (such as 
4465193267Sjkimin the debug generation case), the original macros are optionally available.  
4466193267SjkimNote that some invocations of the return_VALUE macro may now cause size 
4467193267Sjkimmismatch warnings; the return_UINT8 and return_UINT32 macros are provided to 
4468193267Sjkimeliminate these. (From Randy Dunlap)
4469151937Sjkim
4470193267SjkimImplemented a new mechanism to enable debug tracing for individual control 
4471193267Sjkimmethods. A new external interface, AcpiDebugTrace, is provided to enable 
4472193267Sjkimthis mechanism. The intent is to allow the host OS to easily enable and 
4473193267Sjkimdisable tracing for problematic control methods. This interface can be 
4474193267Sjkimeasily exposed to a user or debugger interface if desired. See the file 
4475151937Sjkimpsxface.c for details.
4476151937Sjkim
4477193267SjkimAcpiUtCallocate will now return a valid pointer if a length of zero is 
4478193267Sjkimspecified - a length of one is used and a warning is issued. This matches 
4479193267Sjkimthe behavior of AcpiUtAllocate.
4480151937Sjkim
4481193267SjkimCode and Data Size: The current and previous library sizes for the core 
4482193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4483193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4484193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4485193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4486193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4487193267Sjkimof the compiler and the compiler options used during generation.
4488151937Sjkim
4489151937Sjkim  Previous Release:
4490151937Sjkim    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4491151937Sjkim    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4492151937Sjkim  Current Release:
4493151937Sjkim    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
4494151937Sjkim    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
4495151937Sjkim
4496151937Sjkim
4497151937Sjkim2) iASL Compiler/Disassembler:
4498151937Sjkim
4499193267SjkimA remark is issued if the effective compile-time length of a package or 
4500193267Sjkimbuffer is zero. Previously, this was a warning.
4501151937Sjkim
4502151937Sjkim----------------------------------------
4503151937Sjkim16 September 2005. Summary of changes for version 20050916:
4504151937Sjkim
4505151937Sjkim1) ACPI CA Core Subsystem:
4506151937Sjkim
4507193267SjkimFixed a problem within the Resource Manager where support for the Generic 
4508193267SjkimRegister descriptor was not fully implemented. This descriptor is now fully 
4509193267Sjkimrecognized, parsed, disassembled, and displayed.
4510151937Sjkim
4511193267SjkimCompletely restructured the Resource Manager code to utilize table-driven 
4512193267Sjkimdispatch and lookup, eliminating many of the large switch() statements. This 
4513193267Sjkimreduces overall subsystem code size and code complexity. Affects the 
4514193267Sjkimresource parsing and construction, disassembly, and debug dump output.
4515151937Sjkim
4516193267SjkimCleaned up and restructured the debug dump output for all resource 
4517193267Sjkimdescriptors. Improved readability of the output and reduced code size.
4518151937Sjkim
4519193267SjkimFixed a problem where changes to internal data structures caused the 
4520193267Sjkimoptional ACPI_MUTEX_DEBUG code to fail compilation if specified.
4521151937Sjkim
4522193267SjkimCode and Data Size: The current and previous library sizes for the core 
4523193267Sjkimsubsystem are shown below. These are the code and data sizes for the 
4524193267Sjkimacpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These 
4525193267Sjkimvalues do not include any ACPI driver or OSPM code. The debug version of the 
4526193267Sjkimcode includes the debug output trace mechanism and has a much larger code 
4527193267Sjkimand data size. Note that these values will vary depending on the efficiency 
4528193267Sjkimof the compiler and the compiler options used during generation.
4529151937Sjkim
4530151937Sjkim  Previous Release:
4531151937Sjkim    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4532151937Sjkim    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4533151937Sjkim  Current Release:
4534151937Sjkim    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
4535151937Sjkim    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
4536151937Sjkim
4537151937Sjkim
4538151937Sjkim2) iASL Compiler/Disassembler:
4539151937Sjkim
4540193267SjkimUpdated the disassembler to automatically insert an EndDependentFn() macro 
4541193267Sjkiminto the ASL stream if this macro is missing in the original AML code, 
4542193267Sjkimsimplifying compilation of the resulting ASL module.
4543151937Sjkim
4544193267SjkimFixed a problem in the disassembler where a disassembled ResourceSource 
4545193267Sjkimstring (within a large resource descriptor) was not surrounded by quotes and 
4546193267Sjkimnot followed by a comma, causing errors when the resulting ASL module was 
4547193267Sjkimcompiled. Also, escape sequences within a ResourceSource string are now 
4548193267Sjkimhandled correctly (especially "\\")
4549151937Sjkim
4550151937Sjkim----------------------------------------
4551151937Sjkim02 September 2005. Summary of changes for version 20050902:
4552151937Sjkim
4553151937Sjkim1) ACPI CA Core Subsystem:
4554151937Sjkim
4555193267SjkimFixed a problem with the internal Owner ID allocation and deallocation 
4556193267Sjkimmechanisms for control method execution and recursive method invocation. 
4557193267SjkimThis should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
4558193267Sjkimmessages seen on some systems. Recursive method invocation depth is 
4559193267Sjkimcurrently limited to 255. (Alexey Starikovskiy)
4560151937Sjkim
4561193267SjkimCompletely eliminated all vestiges of support for the "module-level 
4562193267Sjkimexecutable code" until this support is fully implemented and debugged. This 
4563193267Sjkimshould eliminate the NO_RETURN_VALUE exceptions seen during table load on 
4564193267Sjkimsome systems that invoke this support.
4565151937Sjkim
4566193267SjkimFixed a problem within the resource manager code where the transaction flags 
4567193267Sjkimfor a 64-bit address descriptor were handled incorrectly in the type-
4568193267Sjkimspecific flag byte.
4569151937Sjkim
4570193267SjkimConsolidated duplicate code within the address descriptor resource manager 
4571193267Sjkimcode, reducing overall subsystem code size.
4572151937Sjkim
4573193267SjkimFixed a fault when using the AML debugger "disassemble" command to 
4574193267Sjkimdisassemble individual control methods.
4575151937Sjkim
4576193267SjkimRemoved references to the "release_current" directory within the Unix 
4577193267Sjkimrelease package.
4578151937Sjkim
4579193267SjkimCode and Data Size: The current and previous core subsystem library sizes 
4580193267Sjkimare shown below. These are the code and data sizes for the acpica.lib 
4581193267Sjkimproduced by the Microsoft Visual C++ 6.0 compiler. These values do not 
4582193267Sjkiminclude any ACPI driver or OSPM code. The debug version of the code includes 
4583193267Sjkimthe debug output trace mechanism and has a much larger code and data size. 
4584193267SjkimNote that these values will vary depending on the efficiency of the compiler 
4585193267Sjkimand the compiler options used during generation.
4586151937Sjkim
4587151937Sjkim  Previous Release:
4588151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4589151937Sjkim    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4590151937Sjkim  Current Release:
4591151937Sjkim    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
4592151937Sjkim    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
4593151937Sjkim
4594151937Sjkim
4595151937Sjkim2) iASL Compiler/Disassembler:
4596151937Sjkim
4597193267SjkimImplemented an error check for illegal duplicate values in the interrupt and 
4598193267Sjkimdma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
4599193267SjkimInterrupt().
4600151937Sjkim
4601193267SjkimImplemented error checking for the Irq() and IrqNoFlags() macros to detect 
4602193267Sjkimtoo many values in the interrupt list (16 max) and invalid values in the 
4603193267Sjkimlist (range 0 - 15)
4604151937Sjkim
4605193267SjkimThe maximum length string literal within an ASL file is now restricted to 
4606193267Sjkim200 characters as per the ACPI specification.
4607151937Sjkim
4608193267SjkimFixed a fault when using the -ln option (generate namespace listing).
4609151937Sjkim
4610193267SjkimImplemented an error check to determine if a DescriptorName within a 
4611193267Sjkimresource descriptor has already been used within the current scope.
4612151937Sjkim
4613151937Sjkim----------------------------------------
4614151937Sjkim15 August 2005.  Summary of changes for version 20050815:
4615193267Sjkim 
4616151937Sjkim1) ACPI CA Core Subsystem:
4617193267Sjkim 
4618193267SjkimImplemented a full bytewise compare to determine if a table load request is 
4619193267Sjkimattempting to load a duplicate table. The compare is performed if the table 
4620193267Sjkimsignatures and table lengths match. This will allow different tables with 
4621193267Sjkimthe same OEM Table ID and revision to be loaded - probably against the ACPI 
4622193267Sjkimspecification, but discovered in the field nonetheless.
4623193267Sjkim 
4624193267SjkimAdded the changes.txt logfile to each of the zipped release packages.
4625193267Sjkim 
4626193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4627193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4628193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4629193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4630193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4631193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4632193267Sjkimthe compiler options used during generation.
4633193267Sjkim 
4634151937Sjkim  Previous Release:
4635151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4636151937Sjkim    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4637151937Sjkim  Current Release:
4638151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4639151937Sjkim    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
4640193267Sjkim 
4641193267Sjkim 
4642151937Sjkim2) iASL Compiler/Disassembler:
4643193267Sjkim 
4644193267SjkimFixed a problem where incorrect AML code could be generated for Package 
4645193267Sjkimobjects if optimization is disabled (via the -oa switch).
4646193267Sjkim 
4647193267SjkimFixed a problem with where incorrect AML code is generated for variable-
4648193267Sjkimlength packages when the package length is not specified and the number of 
4649193267Sjkiminitializer values is greater than 255.
4650193267Sjkim 
4651151937Sjkim
4652151937Sjkim----------------------------------------
4653151937Sjkim29 July 2005.  Summary of changes for version 20050729:
4654151937Sjkim
4655151937Sjkim1) ACPI CA Core Subsystem:
4656151937Sjkim
4657193267SjkimImplemented support to ignore an attempt to install/load a particular ACPI 
4658193267Sjkimtable more than once. Apparently there exists BIOS code that repeatedly 
4659193267Sjkimattempts to load the same SSDT upon certain events. With assistance from 
4660193267SjkimVenkatesh Pallipadi.
4661151937Sjkim
4662193267SjkimRestructured the main interface to the AML parser in order to correctly 
4663193267Sjkimhandle all exceptional conditions. This will prevent leakage of the OwnerId 
4664193267Sjkimresource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some 
4665193267Sjkimmachines. With assistance from Alexey Starikovskiy.
4666151937Sjkim
4667193267SjkimSupport for "module level code" has been disabled in this version due to a 
4668193267Sjkimnumber of issues that have appeared on various machines. The support can be 
4669193267Sjkimenabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
4670193267Sjkimcompilation. When the issues are fully resolved, the code will be enabled by 
4671151937Sjkimdefault again.
4672151937Sjkim
4673193267SjkimModified the internal functions for debug print support to define the 
4674193267SjkimFunctionName parameter as a (const char *) for compatibility with compiler 
4675193267Sjkimbuilt-in macros such as __FUNCTION__, etc.
4676151937Sjkim
4677151937SjkimLinted the entire ACPICA source tree for both 32-bit and 64-bit.
4678151937Sjkim
4679193267SjkimImplemented support to display an object count summary for the AML Debugger 
4680193267Sjkimcommands Object and Methods.
4681151937Sjkim
4682193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4683193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4684193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4685193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4686193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4687193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4688193267Sjkimthe compiler options used during generation.
4689151937Sjkim
4690151937Sjkim  Previous Release:
4691151937Sjkim    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4692151937Sjkim    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4693151937Sjkim  Current Release:
4694151937Sjkim    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
4695151937Sjkim    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
4696151937Sjkim
4697151937Sjkim
4698151937Sjkim2) iASL Compiler/Disassembler:
4699151937Sjkim
4700193267SjkimFixed a regression that appeared in the 20050708 version of the compiler 
4701193267Sjkimwhere an error message was inadvertently emitted for invocations of the _OSI 
4702193267Sjkimreserved control method.
4703151937Sjkim
4704151937Sjkim----------------------------------------
4705151937Sjkim08 July 2005.  Summary of changes for version 20050708:
4706151937Sjkim
4707151937Sjkim1) ACPI CA Core Subsystem:
4708151937Sjkim
4709193267SjkimThe use of the CPU stack in the debug version of the subsystem has been 
4710193267Sjkimconsiderably reduced. Previously, a debug structure was declared in every 
4711193267Sjkimfunction that used the debug macros. This structure has been removed in 
4712193267Sjkimfavor of declaring the individual elements as parameters to the debug 
4713193267Sjkimfunctions. This reduces the cumulative stack use during nested execution of 
4714193267SjkimACPI function calls at the cost of a small increase in the code size of the 
4715193267Sjkimdebug version of the subsystem. With assistance from Alexey Starikovskiy and 
4716193267SjkimLen Brown.
4717151937Sjkim
4718193267SjkimAdded the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
4719193267Sjkimheaders to define a macro that will return the current function name at 
4720193267Sjkimruntime (such as __FUNCTION__ or _func_, etc.) The function name is used by 
4721193267Sjkimthe debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
4722193267Sjkimcompiler-dependent header, the function name is saved on the CPU stack (one 
4723193267Sjkimpointer per function.) This mechanism is used because apparently there 
4724193267Sjkimexists no standard ANSI-C defined macro that that returns the function name.
4725151937Sjkim
4726193267SjkimRedesigned and reimplemented the "Owner ID" mechanism used to track 
4727193267Sjkimnamespace objects created/deleted by ACPI tables and control method 
4728193267Sjkimexecution. A bitmap is now used to allocate and free the IDs, thus solving 
4729193267Sjkimthe wraparound problem present in the previous implementation. The size of 
4730193267Sjkimthe namespace node descriptor was reduced by 2 bytes as a result (Alexey 
4731151937SjkimStarikovskiy).
4732151937Sjkim
4733193267SjkimRemoved the UINT32_BIT and UINT16_BIT types that were used for the bitfield 
4734193267Sjkimflag definitions within the headers for the predefined ACPI tables. These 
4735193267Sjkimhave been replaced by UINT8_BIT in order to increase the code portability of 
4736193267Sjkimthe subsystem. If the use of UINT8 remains a problem, we may be forced to 
4737193267Sjkimeliminate bitfields entirely because of a lack of portability.
4738151937Sjkim
4739193267SjkimEnhanced the performance of the AcpiUtUpdateObjectReference procedure. This 
4740193267Sjkimis a frequently used function and this improvement increases the performance 
4741193267Sjkimof the entire subsystem (Alexey Starikovskiy).
4742151937Sjkim
4743193267SjkimFixed several possible memory leaks and the inverse - premature object 
4744193267Sjkimdeletion (Alexey Starikovskiy).
4745151937Sjkim
4746193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4747193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4748193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4749193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4750193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4751193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4752193267Sjkimthe compiler options used during generation.
4753151937Sjkim
4754151937Sjkim  Previous Release:
4755151937Sjkim    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4756151937Sjkim    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4757151937Sjkim  Current Release:
4758151937Sjkim    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
4759151937Sjkim    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
4760151937Sjkim
4761151937Sjkim----------------------------------------
4762151937Sjkim24 June 2005.  Summary of changes for version 20050624:
4763151937Sjkim
4764151937Sjkim1) ACPI CA Core Subsystem:
4765151937Sjkim
4766193267SjkimModified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
4767193267Sjkimthe host-defined cache object. This allows the OSL implementation to define 
4768193267Sjkimand type this object in any manner desired, simplifying the OSL 
4769193267Sjkimimplementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
4770193267SjkimLinux, and should be defined in the OS-specific header file for other 
4771193267Sjkimoperating systems as required.
4772151937Sjkim
4773193267SjkimChanged the interface to AcpiOsAcquireObject to directly return the 
4774193267Sjkimrequested object as the function return (instead of ACPI_STATUS.) This 
4775193267Sjkimchange was made for performance reasons, since this is the purpose of the 
4776193267Sjkiminterface in the first place. AcpiOsAcquireObject is now similar to the 
4777193267SjkimAcpiOsAllocate interface.
4778151937Sjkim
4779193267SjkimImplemented a new AML debugger command named Businfo. This command displays 
4780193267Sjkiminformation about all devices that have an associate _PRT object. The _ADR, 
4781193267Sjkim_HID, _UID, and _CID are displayed for these devices.
4782151937Sjkim
4783193267SjkimModified the initialization sequence in AcpiInitializeSubsystem to call the 
4784193267SjkimOSL interface AcpiOslInitialize first, before any local initialization. This 
4785193267Sjkimchange was required because the global initialization now calls OSL 
4786193267Sjkiminterfaces.
4787151937Sjkim
4788193267SjkimEnhanced the Dump command to display the entire contents of Package objects 
4789193267Sjkim(including all sub-objects and their values.) 
4790151937Sjkim
4791193267SjkimRestructured the code base to split some files because of size and/or 
4792193267Sjkimbecause the code logically belonged in a separate file. New files are listed 
4793193267Sjkimbelow. All makefiles and project files included in the ACPI CA release have 
4794193267Sjkimbeen updated.
4795151937Sjkim    utilities/utcache.c           /* Local cache interfaces */
4796151937Sjkim    utilities/utmutex.c           /* Local mutex support */
4797151937Sjkim    utilities/utstate.c           /* State object support */
4798151937Sjkim    interpreter/parser/psloop.c   /* Main AML parse loop */
4799151937Sjkim
4800193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4801193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4802193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4803193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4804193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4805193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4806193267Sjkimthe compiler options used during generation.
4807151937Sjkim
4808151937Sjkim  Previous Release:
4809151937Sjkim    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4810151937Sjkim    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4811151937Sjkim  Current Release:
4812151937Sjkim    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
4813151937Sjkim    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
4814151937Sjkim
4815151937Sjkim
4816151937Sjkim2) iASL Compiler/Disassembler:
4817151937Sjkim
4818193267SjkimFixed a regression introduced in version 20050513 where the use of a Package 
4819193267Sjkimobject within a Case() statement caused a compile time exception. The 
4820193267Sjkimoriginal behavior has been restored (a Match() operator is emitted.)
4821151937Sjkim
4822151937Sjkim----------------------------------------
4823151937Sjkim17 June 2005.  Summary of changes for version 20050617:
4824151937Sjkim
4825151937Sjkim1) ACPI CA Core Subsystem:
4826151937Sjkim
4827193267SjkimMoved the object cache operations into the OS interface layer (OSL) to allow 
4828193267Sjkimthe host OS to handle these operations if desired (for example, the Linux 
4829193267SjkimOSL will invoke the slab allocator). This support is optional; the compile 
4830193267Sjkimtime define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache 
4831193267Sjkimcode in the ACPI CA core. The new OSL interfaces are shown below. See 
4832193267Sjkimutalloc.c for an example implementation, and acpiosxf.h for the exact 
4833193267Sjkiminterface definitions. With assistance from Alexey Starikovskiy.
4834151937Sjkim    AcpiOsCreateCache
4835151937Sjkim    AcpiOsDeleteCache
4836151937Sjkim    AcpiOsPurgeCache
4837151937Sjkim    AcpiOsAcquireObject
4838151937Sjkim    AcpiOsReleaseObject
4839151937Sjkim
4840193267SjkimModified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to return 
4841193267Sjkimand restore a flags parameter. This fits better with many OS lock models. 
4842193267SjkimNote: the current execution state (interrupt handler or not) is no longer 
4843193267Sjkimpassed to these interfaces. If necessary, the OSL must determine this state 
4844193267Sjkimby itself, a simple and fast operation. With assistance from Alexey 
4845151937SjkimStarikovskiy.
4846151937Sjkim
4847193267SjkimFixed a problem in the ACPI table handling where a valid XSDT was assumed 
4848193267Sjkimpresent if the revision of the RSDP was 2 or greater. According to the ACPI 
4849193267Sjkimspecification, the XSDT is optional in all cases, and the table manager 
4850193267Sjkimtherefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
4851193267SjkimOtherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain 
4852193267Sjkimonly the RSDT.
4853151937Sjkim
4854193267SjkimFixed an interpreter problem with the Mid() operator in the case of an input 
4855193267Sjkimstring where the resulting output string is of zero length. It now correctly 
4856193267Sjkimreturns a valid, null terminated string object instead of a string object 
4857193267Sjkimwith a null pointer.
4858151937Sjkim
4859193267SjkimFixed a problem with the control method argument handling to allow a store 
4860193267Sjkimto an Arg object that already contains an object of type Device. The Device 
4861193267Sjkimobject is now correctly overwritten. Previously, an error was returned.
4862151937Sjkim
4863167802Sjkim
4864193267SjkimEnhanced the debugger Find command to emit object values in addition to the 
4865193267Sjkimfound object pathnames. The output format is the same as the dump namespace 
4866193267Sjkimcommand.
4867151937Sjkim
4868193267SjkimEnhanced the debugger Set command. It now has the ability to set the value 
4869193267Sjkimof any Named integer object in the namespace (Previously, only method locals 
4870193267Sjkimand args could be set.)
4871151937Sjkim
4872193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4873193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4874193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4875193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4876193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4877193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4878193267Sjkimthe compiler options used during generation.
4879151937Sjkim
4880151937Sjkim  Previous Release:
4881151937Sjkim    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4882151937Sjkim    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4883151937Sjkim  Current Release:
4884151937Sjkim    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
4885151937Sjkim    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
4886151937Sjkim
4887151937Sjkim
4888151937Sjkim2) iASL Compiler/Disassembler:
4889151937Sjkim
4890193267SjkimFixed a regression in the disassembler where if/else/while constructs were 
4891193267Sjkimoutput incorrectly. This problem was introduced in the previous release 
4892193267Sjkim(20050526). This problem also affected the single-step disassembly in the 
4893193267Sjkimdebugger.
4894151937Sjkim
4895193267SjkimFixed a problem where compiling the reserved _OSI method would randomly (but 
4896193267Sjkimrarely) produce compile errors.
4897151937Sjkim
4898193267SjkimEnhanced the disassembler to emit compilable code in the face of incorrect 
4899193267SjkimAML resource descriptors. If the optional ResourceSourceIndex is present, 
4900193267Sjkimbut the ResourceSource is not, do not emit the ResourceSourceIndex in the 
4901193267Sjkimdisassembly. Otherwise, the resulting code cannot be compiled without 
4902193267Sjkimerrors.
4903151937Sjkim
4904151937Sjkim----------------------------------------
4905151937Sjkim26 May 2005.  Summary of changes for version 20050526:
4906151937Sjkim
4907151937Sjkim1) ACPI CA Core Subsystem:
4908151937Sjkim
4909193267SjkimImplemented support to execute Type 1 and Type 2 AML opcodes appearing at 
4910193267Sjkimthe module level (not within a control method.) These opcodes are executed 
4911193267Sjkimexactly once at the time the table is loaded. This type of code was legal up 
4912193267Sjkimuntil the release of ACPI 2.0B (2002) and is now supported within ACPI CA in 
4913193267Sjkimorder to provide backwards compatibility with earlier BIOS implementations. 
4914193267SjkimThis eliminates the "Encountered executable code at module level" warning 
4915193267Sjkimthat was previously generated upon detection of such code.
4916151937Sjkim
4917193267SjkimFixed a problem in the interpreter where an AE_NOT_FOUND exception could 
4918193267Sjkiminadvertently be generated during the lookup of namespace objects in the 
4919193267Sjkimsecond pass parse of ACPI tables and control methods. It appears that this 
4920193267Sjkimproblem could occur during the resolution of forward references to namespace 
4921193267Sjkimobjects.
4922151937Sjkim
4923193267SjkimAdded the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
4924193267Sjkimcorresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
4925193267Sjkimallows the deadlock detection debug code to be compiled out in the normal 
4926193267Sjkimcase, improving mutex performance (and overall subsystem performance) 
4927193267Sjkimconsiderably.
4928151937Sjkim
4929193267SjkimImplemented a handful of miscellaneous fixes for possible memory leaks on 
4930193267Sjkimerror conditions and error handling control paths. These fixes were 
4931193267Sjkimsuggested by FreeBSD and the Coverity Prevent source code analysis tool.
4932151937Sjkim
4933193267SjkimAdded a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c) 
4934193267Sjkimto prevent a fault in this error case.
4935151937Sjkim
4936193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
4937193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
4938193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
4939193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
4940193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
4941193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
4942193267Sjkimthe compiler options used during generation.
4943151937Sjkim
4944151937Sjkim  Previous Release:
4945151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
4946151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
4947151937Sjkim  Current Release:
4948151937Sjkim    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
4949151937Sjkim    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
4950151937Sjkim
4951151937Sjkim
4952151937Sjkim2) iASL Compiler/Disassembler:
4953151937Sjkim
4954193267SjkimImplemented support to allow Type 1 and Type 2 ASL operators to appear at 
4955193267Sjkimthe module level (not within a control method.) These operators will be 
4956193267Sjkimexecuted once at the time the table is loaded. This type of code was legal 
4957193267Sjkimup until the release of ACPI 2.0B (2002) and is now supported by the iASL 
4958193267Sjkimcompiler in order to provide backwards compatibility with earlier BIOS ASL 
4959193267Sjkimcode.
4960151937Sjkim
4961193267SjkimThe ACPI integer width (specified via the table revision ID or the -r 
4962193267Sjkimoverride, 32 or 64 bits) is now used internally during compile-time constant 
4963193267Sjkimfolding to ensure that constants are truncated to 32 bits if necessary. 
4964193267SjkimPreviously, the revision ID value was only emitted in the AML table header.
4965151937Sjkim
4966193267SjkimAn error message is now generated for the Mutex and Method operators if the 
4967193267SjkimSyncLevel parameter is outside the legal range of 0 through 15.
4968151937Sjkim
4969193267SjkimFixed a problem with the Method operator ParameterTypes list handling (ACPI 
4970193267Sjkim3.0). Previously, more than 2 types or 2 arguments generated a syntax error.  
4971193267SjkimThe actual underlying implementation of method argument typechecking is 
4972193267Sjkimstill under development, however.
4973151937Sjkim
4974151937Sjkim----------------------------------------
4975151937Sjkim13 May 2005.  Summary of changes for version 20050513:
4976151937Sjkim
4977151937Sjkim1) ACPI CA Core Subsystem:
4978151937Sjkim
4979193267SjkimImplemented support for PCI Express root bridges -- added support for device 
4980193267SjkimPNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
4981151937Sjkim
4982193267SjkimThe interpreter now automatically truncates incoming 64-bit constants to 32 
4983193267Sjkimbits if currently executing out of a 32-bit ACPI table (Revision < 2). This 
4984193267Sjkimalso affects the iASL compiler constant folding. (Note: as per below, the 
4985193267SjkimiASL compiler no longer allows 64-bit constants within 32-bit tables.)
4986151937Sjkim
4987193267SjkimFixed a problem where string and buffer objects with "static" pointers 
4988193267Sjkim(pointers to initialization data within an ACPI table) were not handled 
4989193267Sjkimconsistently. The internal object copy operation now always copies the data 
4990193267Sjkimto a newly allocated buffer, regardless of whether the source object is 
4991193267Sjkimstatic or not.
4992151937Sjkim
4993193267SjkimFixed a problem with the FromBCD operator where an implicit result 
4994193267Sjkimconversion was improperly performed while storing the result to the target 
4995193267Sjkimoperand. Since this is an "explicit conversion" operator, the implicit 
4996193267Sjkimconversion should never be performed on the output.
4997151937Sjkim
4998193267SjkimFixed a problem with the CopyObject operator where a copy to an existing 
4999193267Sjkimnamed object did not always completely overwrite the existing object stored 
5000193267Sjkimat name. Specifically, a buffer-to-buffer copy did not delete the existing 
5001193267Sjkimbuffer.
5002151937Sjkim
5003193267SjkimReplaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and 
5004193267Sjkimstructs for consistency.
5005151937Sjkim
5006193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5007193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5008193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5009193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5010193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5011193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5012193267Sjkimthe compiler options used during generation.
5013151937Sjkim
5014151937Sjkim  Previous Release:
5015151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5016151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5017151937Sjkim  Current Release: (Same sizes)
5018151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5019151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5020151937Sjkim
5021151937Sjkim
5022151937Sjkim2) iASL Compiler/Disassembler:
5023151937Sjkim
5024193267SjkimThe compiler now emits a warning if an attempt is made to generate a 64-bit 
5025193267Sjkiminteger constant from within a 32-bit ACPI table (Revision < 2). The integer 
5026193267Sjkimis truncated to 32 bits.
5027151937Sjkim
5028193267SjkimFixed a problem with large package objects: if the static length of the 
5029193267Sjkimpackage is greater than 255, the "variable length package" opcode is 
5030193267Sjkimemitted. Previously, this caused an error. This requires an update to the 
5031193267SjkimACPI spec, since it currently (incorrectly) states that packages larger than 
5032193267Sjkim255 elements are not allowed.
5033151937Sjkim
5034193267SjkimThe disassembler now correctly handles variable length packages and packages 
5035193267Sjkimlarger than 255 elements.
5036151937Sjkim
5037151937Sjkim----------------------------------------
5038151937Sjkim08 April 2005.  Summary of changes for version 20050408:
5039151937Sjkim
5040151937Sjkim1) ACPI CA Core Subsystem:
5041151937Sjkim
5042193267SjkimFixed three cases in the interpreter where an "index" argument to an ASL 
5043193267Sjkimfunction was still (internally) 32 bits instead of the required 64 bits. 
5044193267SjkimThis was the Index argument to the Index, Mid, and Match operators.
5045151937Sjkim
5046193267SjkimThe "strupr" function is now permanently local (AcpiUtStrupr), since this is 
5047193267Sjkimnot a POSIX-defined function and not present in most kernel-level C 
5048193267Sjkimlibraries. All references to the C library strupr function have been removed 
5049193267Sjkimfrom the headers.
5050151937Sjkim
5051193267SjkimCompleted the deployment of static functions/prototypes. All prototypes with 
5052193267Sjkimthe static attribute have been moved from the headers to the owning C file.
5053151937Sjkim
5054193267SjkimImplemented an extract option (-e) for the AcpiBin utility (AML binary 
5055193267Sjkimutility). This option allows the utility to extract individual ACPI tables 
5056193267Sjkimfrom the output of AcpiDmp. It provides the same functionality of the 
5057193267Sjkimacpixtract.pl perl script without the worry of setting the correct perl 
5058193267Sjkimoptions. AcpiBin runs on Windows and has not yet been generated/validated in 
5059193267Sjkimthe Linux/Unix environment (but should be soon).
5060193267Sjkim 
5061193267SjkimUpdated and fixed the table dump option for AcpiBin (-d). This option 
5062193267Sjkimconverts a single ACPI table to a hex/ascii file, similar to the output of 
5063193267SjkimAcpiDmp.
5064151937Sjkim
5065193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5066193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5067193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5068193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5069193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5070193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5071193267Sjkimthe compiler options used during generation.
5072151937Sjkim
5073151937Sjkim  Previous Release:
5074151937Sjkim    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5075151937Sjkim    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5076151937Sjkim  Current Release:
5077151937Sjkim    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
5078151937Sjkim    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
5079151937Sjkim
5080151937Sjkim
5081151937Sjkim2) iASL Compiler/Disassembler:
5082151937Sjkim
5083193267SjkimDisassembler fix: Added a check to ensure that the table length found in the 
5084193267SjkimACPI table header within the input file is not longer than the actual input 
5085193267Sjkimfile size. This indicates some kind of file or table corruption.
5086151937Sjkim
5087151937Sjkim----------------------------------------
5088151937Sjkim29 March 2005.  Summary of changes for version 20050329:
5089151937Sjkim
5090151937Sjkim1) ACPI CA Core Subsystem:
5091151937Sjkim
5092193267SjkimAn error is now generated if an attempt is made to create a Buffer Field of 
5093193267Sjkimlength zero (A CreateField with a length operand of zero.)
5094151937Sjkim
5095193267SjkimThe interpreter now issues a warning whenever executable code at the module 
5096193267Sjkimlevel is detected during ACPI table load. This will give some idea of the 
5097193267Sjkimprevalence of this type of code.
5098151937Sjkim
5099193267SjkimImplemented support for references to named objects (other than control 
5100193267Sjkimmethods) within package objects.
5101151937Sjkim
5102193267SjkimEnhanced package object output for the debug object. Package objects are now 
5103193267Sjkimcompletely dumped, showing all elements.
5104151937Sjkim
5105193267SjkimEnhanced miscellaneous object output for the debug object. Any object can 
5106193267Sjkimnow be written to the debug object (for example, a device object can be 
5107193267Sjkimwritten, and the type of the object will be displayed.)
5108151937Sjkim
5109193267SjkimThe "static" qualifier has been added to all local functions across both the 
5110193267Sjkimcore subsystem and the iASL compiler.
5111151937Sjkim
5112193267SjkimThe number of "long" lines (> 80 chars) within the source has been 
5113193267Sjkimsignificantly reduced, by about 1/3.
5114151937Sjkim
5115193267SjkimCleaned up all header files to ensure that all CA/iASL functions are 
5116193267Sjkimprototyped (even static functions) and the formatting is consistent.
5117151937Sjkim
5118151937SjkimTwo new header files have been added, acopcode.h and acnames.h.
5119151937Sjkim
5120151937SjkimRemoved several obsolete functions that were no longer used.
5121151937Sjkim
5122193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5123193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5124193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5125193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5126193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5127193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5128193267Sjkimthe compiler options used during generation.
5129151937Sjkim
5130151937Sjkim  Previous Release:
5131151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5132151937Sjkim    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5133151937Sjkim  Current Release:
5134151937Sjkim    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
5135151937Sjkim    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
5136151937Sjkim
5137151937Sjkim
5138167802Sjkim
5139151937Sjkim2) iASL Compiler/Disassembler:
5140151937Sjkim
5141193267SjkimFixed a problem with the resource descriptor generation/support. For the 
5142193267SjkimResourceSourceIndex and the ResourceSource fields, both must be present, or 
5143193267Sjkimboth must be not present - can't have one without the other.
5144151937Sjkim
5145193267SjkimThe compiler now returns non-zero from the main procedure if any errors have 
5146193267Sjkimoccurred during the compilation.
5147151937Sjkim
5148151937Sjkim
5149151937Sjkim----------------------------------------
5150151937Sjkim09 March 2005.  Summary of changes for version 20050309:
5151151937Sjkim
5152151937Sjkim1) ACPI CA Core Subsystem:
5153151937Sjkim
5154193267SjkimThe string-to-buffer implicit conversion code has been modified again after 
5155193267Sjkima change to the ACPI specification.  In order to match the behavior of the 
5156193267Sjkimother major ACPI implementation, the target buffer is no longer truncated if 
5157193267Sjkimthe source string is smaller than an existing target buffer. This change 
5158193267Sjkimrequires an update to the ACPI spec, and should eliminate the recent 
5159151937SjkimAE_AML_BUFFER_LIMIT issues.
5160151937Sjkim
5161193267SjkimThe "implicit return" support was rewritten to a new algorithm that solves 
5162193267Sjkimthe general case. Rather than attempt to determine when a method is about to 
5163193267Sjkimexit, the result of every ASL operator is saved momentarily until the very 
5164193267Sjkimnext ASL operator is executed. Therefore, no matter how the method exits, 
5165193267Sjkimthere will always be a saved implicit return value. This feature is only 
5166193267Sjkimenabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate 
5167193267SjkimAE_AML_NO_RETURN_VALUE errors when enabled.
5168151937Sjkim
5169193267SjkimImplemented implicit conversion support for the predicate (operand) of the 
5170193267SjkimIf, Else, and While operators. String and Buffer arguments are automatically 
5171193267Sjkimconverted to Integers.
5172151937Sjkim
5173193267SjkimChanged the string-to-integer conversion behavior to match the new ACPI 
5174193267Sjkimerrata: "If no integer object exists, a new integer is created. The ASCII 
5175193267Sjkimstring is interpreted as a hexadecimal constant. Each string character is 
5176193267Sjkiminterpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
5177193267Sjkimwith the first character as the most significant digit, and ending with the 
5178193267Sjkimfirst non-hexadecimal character or end-of-string." This means that the first 
5179193267Sjkimnon-hex character terminates the conversion and this is the code that was 
5180193267Sjkimchanged.
5181151937Sjkim
5182193267SjkimFixed a problem where the ObjectType operator would fail (fault) when used 
5183193267Sjkimon an Index of a Package which pointed to a null package element. The 
5184193267Sjkimoperator now properly returns zero (Uninitialized) in this case.
5185151937Sjkim
5186193267SjkimFixed a problem where the While operator used excessive memory by not 
5187193267Sjkimproperly popping the result stack during execution. There was no memory leak 
5188193267Sjkimafter execution, however. (Code provided by Valery Podrezov.)
5189151937Sjkim
5190193267SjkimFixed a problem where references to control methods within Package objects 
5191193267Sjkimcaused the method to be invoked, instead of producing a reference object 
5192193267Sjkimpointing to the method.
5193151937Sjkim
5194193267SjkimRestructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to 
5195193267Sjkimimprove performance and reduce code size. (Code provided by Alexey 
5196193267SjkimStarikovskiy.)
5197151937Sjkim
5198193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5199193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5200193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5201193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5202193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5203193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5204193267Sjkimthe compiler options used during generation.
5205151937Sjkim
5206151937Sjkim  Previous Release:
5207151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5208151937Sjkim    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5209151937Sjkim  Current Release:
5210151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5211151937Sjkim    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
5212151937Sjkim
5213151937Sjkim
5214151937Sjkim2) iASL Compiler/Disassembler:
5215151937Sjkim
5216193267SjkimFixed a problem with the Return operator with no arguments. Since the AML 
5217193267Sjkimgrammar for the byte encoding requires an operand for the Return opcode, the 
5218193267Sjkimcompiler now emits a Return(Zero) for this case.  An ACPI specification 
5219193267Sjkimupdate has been written for this case.
5220151937Sjkim
5221193267SjkimFor tables other than the DSDT, namepath optimization is automatically 
5222193267Sjkimdisabled. This is because SSDTs can be loaded anywhere in the namespace, the 
5223193267Sjkimcompiler has no knowledge of where, and thus cannot optimize namepaths.
5224151937Sjkim
5225193267SjkimAdded "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
5226193267Sjkiminadvertently omitted from the ACPI specification, and will require an 
5227193267Sjkimupdate to the spec.
5228151937Sjkim
5229193267SjkimThe source file scan for ASCII characters is now optional (-a). This change 
5230193267Sjkimwas made because some vendors place non-ascii characters within comments. 
5231193267SjkimHowever, the scan is simply a brute-force byte compare to ensure all 
5232193267Sjkimcharacters in the file are in the range 0x00 to 0x7F.
5233151937Sjkim
5234193267SjkimFixed a problem with the CondRefOf operator where the compiler was 
5235193267Sjkiminappropriately checking for the existence of the target. Since the point of 
5236193267Sjkimthe operator is to check for the existence of the target at run-time, the 
5237193267Sjkimcompiler no longer checks for the target existence.
5238151937Sjkim
5239193267SjkimFixed a problem where errors generated from the internal AML interpreter 
5240193267Sjkimduring constant folding were not handled properly, causing a fault.
5241151937Sjkim
5242193267SjkimFixed a problem with overly aggressive range checking for the Stall 
5243193267Sjkimoperator. The valid range (max 255) is now only checked if the operand is of 
5244193267Sjkimtype Integer. All other operand types cannot be statically checked.
5245151937Sjkim
5246193267SjkimFixed a problem where control method references within the RefOf, DeRefOf, 
5247193267Sjkimand ObjectType operators were not treated properly. They are now treated as 
5248193267Sjkimactual references, not method invocations.
5249151937Sjkim
5250193267SjkimFixed and enhanced the "list namespace" option (-ln). This option was broken 
5251193267Sjkima number of releases ago.
5252151937Sjkim
5253193267SjkimImproved error handling for the Field, IndexField, and BankField operators. 
5254193267SjkimThe compiler now cleanly reports and recovers from errors in the field 
5255193267Sjkimcomponent (FieldUnit) list.
5256151937Sjkim
5257193267SjkimFixed a disassembler problem where the optional ResourceDescriptor fields 
5258193267SjkimTRS and TTP were not always handled correctly.
5259151937Sjkim
5260151937SjkimDisassembler - Comments in output now use "//" instead of "/*"
5261151937Sjkim
5262151937Sjkim----------------------------------------
5263151937Sjkim28 February 2005.  Summary of changes for version 20050228:
5264151937Sjkim
5265151937Sjkim1) ACPI CA Core Subsystem:
5266151937Sjkim
5267193267SjkimFixed a problem where the result of an Index() operator (an object 
5268193267Sjkimreference) must increment the reference count on the target object for the 
5269193267Sjkimlife of the object reference.
5270151937Sjkim
5271193267SjkimImplemented AML Interpreter and Debugger support for the new ACPI 3.0 
5272193267SjkimExtended Address (IO, Memory, Space), QwordSpace, DwordSpace, and WordSpace 
5273193267Sjkimresource descriptors.
5274151937Sjkim
5275193267SjkimImplemented support in the _OSI method for the ACPI 3.0 "Extended Address 
5276193267SjkimSpace Descriptor" string, indicating interpreter support for the descriptors 
5277193267Sjkimabove.
5278151937Sjkim
5279151937SjkimImplemented header support for the new ACPI 3.0 FADT flag bits.
5280151937Sjkim
5281193267SjkimImplemented header support for the new ACPI 3.0 PCI Express bits for the PM1 
5282193267Sjkimstatus/enable registers.
5283151937Sjkim
5284193267SjkimUpdated header support for the MADT processor local Apic struct and MADT 
5285193267Sjkimplatform interrupt source struct for new ACPI 3.0 fields.
5286151937Sjkim
5287151937SjkimImplemented header support for the SRAT and SLIT ACPI tables.
5288151937Sjkim
5289193267SjkimImplemented the -s switch in AcpiExec to enable the "InterpreterSlack" flag 
5290193267Sjkimat runtime.
5291151937Sjkim
5292193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5293193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5294193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5295193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5296193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5297193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5298193267Sjkimthe compiler options used during generation.
5299151937Sjkim
5300151937Sjkim  Previous Release:
5301151937Sjkim    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5302151937Sjkim    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5303151937Sjkim  Current Release:
5304151937Sjkim    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
5305151937Sjkim    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
5306151937Sjkim
5307151937Sjkim
5308151937Sjkim2) iASL Compiler/Disassembler:
5309151937Sjkim
5310193267SjkimFixed a problem with the internal 64-bit String-to-integer conversion with 
5311193267Sjkimstrings less than two characters long.
5312151937Sjkim
5313193267SjkimFixed a problem with constant folding where the result of the Index() 
5314193267Sjkimoperator can not be considered a constant. This means that Index() cannot be 
5315193267Sjkima type3 opcode and this will require an update to the ACPI specification.
5316151937Sjkim
5317193267SjkimDisassembler: Implemented support for the TTP, MTP, and TRS resource 
5318193267Sjkimdescriptor fields. These fields were inadvertently ignored and not output in 
5319193267Sjkimthe disassembly of the resource descriptor.
5320151937Sjkim
5321151937Sjkim
5322151937Sjkim ----------------------------------------
5323151937Sjkim11 February 2005.  Summary of changes for version 20050211:
5324151937Sjkim
5325151937Sjkim1) ACPI CA Core Subsystem:
5326151937Sjkim
5327193267SjkimImplemented ACPI 3.0 support for implicit conversion within the Match() 
5328193267Sjkimoperator. MatchObjects can now be of type integer, buffer, or string instead 
5329193267Sjkimof just type integer.  Package elements are implicitly converted to the type 
5330193267Sjkimof the MatchObject. This change aligns the behavior of Match() with the 
5331193267Sjkimbehavior of the other logical operators (LLess(), etc.) It also requires an 
5332193267Sjkimerrata change to the ACPI specification as this support was intended for 
5333193267SjkimACPI 3.0, but was inadvertently omitted.
5334151937Sjkim
5335193267SjkimFixed a problem with the internal implicit "to buffer" conversion. Strings 
5336193267Sjkimthat are converted to buffers will cause buffer truncation if the string is 
5337193267Sjkimsmaller than the target buffer. Integers that are converted to buffers will 
5338193267Sjkimnot cause buffer truncation, only zero extension (both as per the ACPI 
5339193267Sjkimspec.) The problem was introduced when code was added to truncate the 
5340193267Sjkimbuffer, but this should not be performed in all cases, only the string case.
5341151937Sjkim
5342193267SjkimFixed a problem with the Buffer and Package operators where the interpreter 
5343193267Sjkimwould get confused if two such operators were used as operands to an ASL 
5344193267Sjkimoperator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
5345193267Sjkimstack was not being popped after the execution of these operators, resulting 
5346193267Sjkimin an AE_NO_RETURN_VALUE exception.
5347151937Sjkim
5348193267SjkimFixed a problem with constructs of the form Store(Index(...),...). The 
5349193267Sjkimreference object returned from Index was inadvertently resolved to an actual 
5350193267Sjkimvalue. This problem was introduced in version 20050114 when the behavior of 
5351193267SjkimStore() was modified to restrict the object types that can be used as the 
5352151937Sjkimsource operand (to match the ACPI specification.)
5353151937Sjkim
5354193267SjkimReduced excessive stack use within the AcpiGetObjectInfo procedure.
5355151937Sjkim
5356193267SjkimAdded a fix to aclinux.h to allow generation of AcpiExec on Linux.
5357151937Sjkim
5358193267SjkimUpdated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
5359151937Sjkim
5360193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5361193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5362193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5363193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5364193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5365193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5366193267Sjkimthe compiler options used during generation.
5367151937Sjkim
5368151937Sjkim  Previous Release:
5369151937Sjkim    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
5370151937Sjkim    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
5371151937Sjkim  Current Release:
5372151937Sjkim    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
5373151937Sjkim    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
5374151937Sjkim
5375151937Sjkim
5376151937Sjkim2) iASL Compiler/Disassembler:
5377151937Sjkim
5378193267SjkimFixed a code generation problem in the constant folding optimization code 
5379193267Sjkimwhere incorrect code was generated if a constant was reduced to a buffer 
5380193267Sjkimobject (i.e., a reduced type 5 opcode.)
5381151937Sjkim
5382193267SjkimFixed a typechecking problem for the ToBuffer operator. Caused by an 
5383193267Sjkimincorrect return type in the internal opcode information table.
5384151937Sjkim
5385151937Sjkim----------------------------------------
5386151937Sjkim25 January 2005.  Summary of changes for version 20050125:
5387151937Sjkim
5388151937Sjkim1) ACPI CA Core Subsystem:
5389151937Sjkim
5390193267SjkimFixed a recently introduced problem with the Global Lock where the 
5391193267Sjkimunderlying semaphore was not created.  This problem was introduced in 
5392193267Sjkimversion 20050114, and caused an AE_AML_NO_OPERAND exception during an 
5393193267SjkimAcquire() operation on _GL.
5394151937Sjkim
5395193267SjkimThe local object cache is now optional, and is disabled by default. Both 
5396193267SjkimAcpiExec and the iASL compiler enable the cache because they run in user 
5397193267Sjkimmode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE 
5398193267Sjkimto enable the local cache.
5399151937Sjkim
5400193267SjkimFixed an issue in the internal function AcpiUtEvaluateObject concerning the 
5401193267Sjkimoptional "implicit return" support where an error was returned if no return 
5402193267Sjkimobject was expected, but one was implicitly returned. AE_OK is now returned 
5403193267Sjkimin this case and the implicitly returned object is deleted. 
5404193267SjkimAcpiUtEvaluateObject is only occasionally used, and only to execute reserved 
5405193267Sjkimmethods such as _STA and _INI where the return type is known up front.
5406151937Sjkim
5407193267SjkimFixed a few issues with the internal convert-to-integer code. It now returns 
5408193267Sjkiman error if an attempt is made to convert a null string, a string of only 
5409193267Sjkimblanks/tabs, or a zero-length buffer. This affects both implicit conversion 
5410193267Sjkimand explicit conversion via the ToInteger() operator.
5411151937Sjkim
5412193267SjkimThe internal debug code in AcpiUtAcquireMutex has been commented out. It is 
5413193267Sjkimnot needed for normal operation and should increase the performance of the 
5414193267Sjkimentire subsystem. The code remains in case it is needed for debug purposes 
5415193267Sjkimagain.
5416151937Sjkim
5417193267SjkimThe AcpiExec source and makefile are included in the Unix/Linux package for 
5418193267Sjkimthe first time.
5419151937Sjkim
5420193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5421193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5422193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5423193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5424193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5425193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5426193267Sjkimthe compiler options used during generation.
5427151937Sjkim
5428151937Sjkim  Previous Release:
5429151937Sjkim    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5430151937Sjkim    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5431151937Sjkim  Current Release:
5432151937Sjkim    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
5433151937Sjkim    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
5434151937Sjkim
5435151937Sjkim2) iASL Compiler/Disassembler:
5436151937Sjkim
5437193267SjkimSwitch/Case support: A warning is now issued if the type of the Switch value 
5438193267Sjkimcannot be determined at compile time. For example, Switch(Arg0) will 
5439193267Sjkimgenerate the warning, and the type is assumed to be an integer. As per the 
5440193267SjkimACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate the 
5441193267Sjkimwarning.
5442151937Sjkim
5443193267SjkimSwitch/Case support: Implemented support for buffer and string objects as 
5444193267Sjkimthe switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
5445193267Sjkimbuffers and strings.
5446151937Sjkim
5447193267SjkimSwitch/Case support: The emitted code for the LEqual() comparisons now uses 
5448193267Sjkimthe switch value as the first operand, not the second. The case value is now 
5449193267Sjkimthe second operand, and this allows the case value to be implicitly 
5450193267Sjkimconverted to the type of the switch value, not the other way around.
5451151937Sjkim
5452193267SjkimSwitch/Case support: Temporary variables are now emitted immediately within 
5453193267Sjkimthe control method, not at the global level. This means that there are now 
5454193267Sjkim36 temps available per-method, not 36 temps per-module as was the case with 
5455193267Sjkimthe earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
5456151937Sjkim
5457151937Sjkim----------------------------------------
5458151937Sjkim14 January 2005.  Summary of changes for version 20050114:
5459151937Sjkim
5460193267SjkimAdded 2005 copyright to all module headers.  This affects every module in 
5461193267Sjkimthe core subsystem, iASL compiler, and the utilities.
5462151937Sjkim
5463151937Sjkim1) ACPI CA Core Subsystem:
5464151937Sjkim
5465193267SjkimFixed an issue with the String-to-Buffer conversion code where the string 
5466193267Sjkimnull terminator was not included in the buffer after conversion, but there 
5467193267Sjkimis existing ASL that assumes the string null terminator is included. This is 
5468193267Sjkimthe root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
5469193267Sjkimintroduced in the previous version when the code was updated to correctly 
5470193267Sjkimset the converted buffer size as per the ACPI specification. The ACPI spec 
5471193267Sjkimis ambiguous and will be updated to specify that the null terminator must be 
5472193267Sjkimincluded in the converted buffer. This also affects the ToBuffer() ASL 
5473193267Sjkimoperator.
5474151937Sjkim
5475193267SjkimFixed a problem with the Mid() ASL/AML operator where it did not work 
5476193267Sjkimcorrectly on Buffer objects. Newly created sub-buffers were not being marked 
5477193267Sjkimas initialized.
5478151937Sjkim
5479167802Sjkim
5480193267SjkimFixed a problem in AcpiTbFindTable where incorrect string compares were 
5481193267Sjkimperformed on the OemId and OemTableId table header fields.  These fields are 
5482193267Sjkimnot null terminated, so strncmp is now used instead of strcmp.
5483151937Sjkim
5484193267SjkimImplemented a restriction on the Store() ASL/AML operator to align the 
5485193267Sjkimbehavior with the ACPI specification.  Previously, any object could be used 
5486193267Sjkimas the source operand.  Now, the only objects that may be used are Integers, 
5487193267SjkimBuffers, Strings, Packages, Object References, and DDB Handles.  If 
5488193267Sjkimnecessary, the original behavior can be restored by enabling the 
5489151937SjkimEnableInterpreterSlack flag.
5490151937Sjkim
5491193267SjkimEnhanced the optional "implicit return" support to allow an implicit return 
5492193267Sjkimvalue from methods that are invoked externally via the AcpiEvaluateObject 
5493193267Sjkiminterface.  This enables implicit returns from the _STA and _INI methods, 
5494193267Sjkimfor example.
5495151937Sjkim
5496193267SjkimChanged the Revision() ASL/AML operator to return the current version of the 
5497193267SjkimAML interpreter, in the YYYYMMDD format. Previously, it incorrectly returned 
5498193267Sjkimthe supported ACPI version (This is the function of the _REV method).
5499151937Sjkim
5500193267SjkimUpdated the _REV predefined method to return the currently supported version 
5501193267Sjkimof ACPI, now 3.
5502151937Sjkim
5503151937SjkimImplemented batch mode option for the AcpiExec utility (-b).
5504151937Sjkim
5505193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5506193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5507193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5508193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5509193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5510193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5511193267Sjkimthe compiler options used during generation.
5512151937Sjkim
5513151937Sjkim  Previous Release:
5514151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5515151937Sjkim    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5516151937Sjkim  Current Release:
5517151937Sjkim    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
5518151937Sjkim    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
5519151937Sjkim
5520151937Sjkim----------------------------------------
5521151937Sjkim10 December 2004.  Summary of changes for version 20041210:
5522151937Sjkim
5523193267SjkimACPI 3.0 support is nearing completion in both the iASL compiler and the 
5524193267SjkimACPI CA core subsystem.
5525151937Sjkim
5526151937Sjkim1) ACPI CA Core Subsystem:
5527151937Sjkim
5528193267SjkimFixed a problem in the ToDecimalString operator where the resulting string 
5529193267Sjkimlength was incorrectly calculated. The length is now calculated exactly, 
5530193267Sjkimeliminating incorrect AE_STRING_LIMIT exceptions.
5531151937Sjkim
5532193267SjkimFixed a problem in the ToHexString operator to allow a maximum 200 character 
5533193267Sjkimstring to be produced.
5534151937Sjkim
5535193267SjkimFixed a problem in the internal string-to-buffer and buffer-to-buffer copy 
5536193267Sjkimroutine where the length of the resulting buffer was not truncated to the 
5537193267Sjkimnew size (if the target buffer already existed).
5538151937Sjkim
5539193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5540193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5541193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5542193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5543193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5544193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5545193267Sjkimthe compiler options used during generation.
5546151937Sjkim
5547151937Sjkim  Previous Release:
5548151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5549151937Sjkim    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5550151937Sjkim  Current Release:
5551151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5552151937Sjkim    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
5553151937Sjkim
5554151937Sjkim
5555151937Sjkim2) iASL Compiler/Disassembler:
5556151937Sjkim
5557193267SjkimImplemented the new ACPI 3.0 resource template macros - DWordSpace, 
5558193267SjkimExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
5559193267SjkimIncludes support in the disassembler.
5560151937Sjkim
5561193267SjkimImplemented support for the new (ACPI 3.0) parameter to the Register macro, 
5562193267SjkimAccessSize.
5563151937Sjkim
5564193267SjkimFixed a problem where the _HE resource name for the Interrupt macro was 
5565193267Sjkimreferencing bit 0 instead of bit 1.
5566151937Sjkim
5567193267SjkimImplemented check for maximum 255 interrupts in the Interrupt macro.
5568151937Sjkim
5569193267SjkimFixed a problem with the predefined resource descriptor names where 
5570193267Sjkimincorrect AML code was generated if the offset within the resource buffer 
5571193267Sjkimwas 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
5572193267Sjkimbut did not update the surrounding package lengths.
5573151937Sjkim
5574193267SjkimChanges to the Dma macro:  All channels within the channel list must be in 
5575193267Sjkimthe range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
5576193267Sjkimoptional (default is BusMaster).
5577151937Sjkim
5578193267SjkimImplemented check for maximum 7 data bytes for the VendorShort macro.
5579151937Sjkim
5580193267SjkimThe ReadWrite parameter is now optional for the Memory32 and similar macros.
5581151937Sjkim
5582151937Sjkim----------------------------------------
5583151937Sjkim03 December 2004.  Summary of changes for version 20041203:
5584151937Sjkim
5585151937Sjkim1) ACPI CA Core Subsystem:
5586151937Sjkim
5587193267SjkimThe low-level field insertion/extraction code (exfldio) has been completely 
5588193267Sjkimrewritten to eliminate unnecessary complexity, bugs, and boundary 
5589193267Sjkimconditions.
5590151937Sjkim
5591193267SjkimFixed a problem in the ToInteger, ToBuffer, ToHexString, and ToDecimalString 
5592193267Sjkimoperators where the input operand could be inadvertently deleted if no 
5593193267Sjkimconversion was necessary (e.g., if the input to ToInteger was an Integer 
5594193267Sjkimobject.)
5595151937Sjkim
5596193267SjkimFixed a problem with the ToDecimalString and ToHexString where an incorrect 
5597193267Sjkimexception code was returned if the resulting string would be > 200 chars.  
5598193267SjkimAE_STRING_LIMIT is now returned.
5599151937Sjkim
5600193267SjkimFixed a problem with the Concatenate operator where AE_OK was always 
5601193267Sjkimreturned, even if the operation failed.
5602151937Sjkim
5603193267SjkimFixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
5604193267Sjkimsemaphores to be allocated.
5605151937Sjkim
5606193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5607193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5608193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5609193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5610193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5611193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5612193267Sjkimthe compiler options used during generation.
5613151937Sjkim
5614151937Sjkim  Previous Release:
5615151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5616151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5617151937Sjkim  Current Release:
5618151937Sjkim    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
5619151937Sjkim    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
5620151937Sjkim
5621151937Sjkim
5622151937Sjkim2) iASL Compiler/Disassembler:
5623151937Sjkim
5624193267SjkimFixed typechecking for the ObjectType and SizeOf operators.  Problem was 
5625193267Sjkimrecently introduced in 20041119.
5626151937Sjkim
5627193267SjkimFixed a problem with the ToUUID macro where the upper nybble of each buffer 
5628193267Sjkimbyte was inadvertently set to zero.
5629151937Sjkim
5630151937Sjkim----------------------------------------
5631138287Smarks19 November 2004.  Summary of changes for version 20041119:
5632138287Smarks
5633138287Smarks1) ACPI CA Core Subsystem:
5634138287Smarks
5635193267SjkimFixed a problem in the internal ConvertToInteger routine where new integers 
5636193267Sjkimwere not truncated to 32 bits for 32-bit ACPI tables. This routine converts 
5637193267Sjkimbuffers and strings to integers.
5638138287Smarks
5639193267SjkimImplemented support to store a value to an Index() on a String object. This 
5640193267Sjkimis an ACPI 2.0 feature that had not yet been implemented.
5641138287Smarks
5642193267SjkimImplemented new behavior for storing objects to individual package elements 
5643193267Sjkim(via the Index() operator). The previous behavior was to invoke the implicit 
5644193267Sjkimconversion rules if an object was already present at the index.  The new 
5645193267Sjkimbehavior is to simply delete any existing object and directly store the new 
5646193267Sjkimobject. Although the ACPI specification seems unclear on this subject, other 
5647193267SjkimACPI implementations behave in this manner.  (This is the root of the 
5648193267SjkimAE_BAD_HEX_CONSTANT issue.)
5649138287Smarks
5650193267SjkimModified the RSDP memory scan mechanism to support the extended checksum for 
5651193267SjkimACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
5652193267SjkimRSDP signature is found with a valid checksum.
5653138287Smarks
5654193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5655193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5656193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5657193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5658193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5659193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5660193267Sjkimthe compiler options used during generation.
5661138287Smarks
5662151937Sjkim  Previous Release:
5663151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5664151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5665151937Sjkim  Current Release:
5666151937Sjkim    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5667151937Sjkim    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5668138287Smarks
5669138287Smarks
5670138287Smarks2) iASL Compiler/Disassembler:
5671138287Smarks
5672138287SmarksFixed a missing semicolon in the aslcompiler.y file.
5673138287Smarks
5674138287Smarks----------------------------------------
5675138287Smarks05 November 2004.  Summary of changes for version 20041105:
5676138287Smarks
5677138287Smarks1) ACPI CA Core Subsystem:
5678138287Smarks
5679193267SjkimImplemented support for FADT revision 2.  This was an interim table (between 
5680193267SjkimACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
5681138287Smarks
5682193267SjkimImplemented optional support to allow uninitialized LocalX and ArgX 
5683193267Sjkimvariables in a control method.  The variables are initialized to an Integer 
5684193267Sjkimobject with a value of zero.  This support is enabled by setting the 
5685193267SjkimAcpiGbl_EnableInterpreterSlack flag to TRUE.
5686138287Smarks
5687193267SjkimImplemented support for Integer objects for the SizeOf operator.  Either 4 
5688193267Sjkimor 8 is returned, depending on the current integer size (32-bit or 64-bit, 
5689193267Sjkimdepending on the parent table revision).
5690138287Smarks
5691193267SjkimFixed a problem in the implementation of the SizeOf and ObjectType operators 
5692193267Sjkimwhere the operand was resolved to a value too early, causing incorrect 
5693193267Sjkimreturn values for some objects.
5694138287Smarks
5695138287SmarksFixed some possible memory leaks during exceptional conditions.
5696138287Smarks
5697193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5698193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5699193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5700193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5701193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5702193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5703193267Sjkimthe compiler options used during generation.
5704138287Smarks
5705138287Smarks  Previous Release:
5706138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5707138287Smarks    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5708138287Smarks  Current Release:
5709138287Smarks    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
5710138287Smarks    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
5711138287Smarks
5712138287Smarks
5713138287Smarks2) iASL Compiler/Disassembler:
5714138287Smarks
5715138287SmarksImplemented support for all ACPI 3.0 reserved names and methods.
5716138287Smarks
5717193267SjkimImplemented all ACPI 3.0 grammar elements in the front-end, including 
5718193267Sjkimsupport for semicolons.
5719138287Smarks
5720138287SmarksImplemented the ACPI 3.0 Function() and ToUUID() macros
5721138287Smarks
5722193267SjkimFixed a problem in the disassembler where a Scope() operator would not be 
5723193267Sjkimemitted properly if the target of the scope was in another table.
5724138287Smarks
5725138287Smarks----------------------------------------
5726138287Smarks15 October 2004.  Summary of changes for version 20041015:
5727138287Smarks
5728193267SjkimNote:  ACPI CA is currently undergoing an in-depth and complete formal 
5729193267Sjkimevaluation to test/verify the following areas. Other suggestions are 
5730193267Sjkimwelcome. This will result in an increase in the frequency of releases and 
5731193267Sjkimthe number of bug fixes in the next few months.
5732138287Smarks  - Functional tests for all ASL/AML operators
5733138287Smarks  - All implicit/explicit type conversions
5734138287Smarks  - Bit fields and operation regions
5735138287Smarks  - 64-bit math support and 32-bit-only "truncated" math support
5736138287Smarks  - Exceptional conditions, both compiler and interpreter
5737138287Smarks  - Dynamic object deletion and memory leaks
5738138287Smarks  - ACPI 3.0 support when implemented
5739138287Smarks  - External interfaces to the ACPI subsystem
5740138287Smarks
5741138287Smarks
5742138287Smarks1) ACPI CA Core Subsystem:
5743138287Smarks
5744193267SjkimFixed two alignment issues on 64-bit platforms - within debug statements in 
5745193267SjkimAcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the Address 
5746193267Sjkimfield within the non-aligned ACPI generic address structure.
5747138287Smarks
5748193267SjkimFixed a problem in the Increment and Decrement operators where incorrect 
5749193267Sjkimoperand resolution could result in the inadvertent modification of the 
5750193267Sjkimoriginal integer when the integer is passed into another method as an 
5751193267Sjkimargument and the arg is then incremented/decremented.
5752138287Smarks
5753193267SjkimFixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit 
5754193267SjkimBCD number were truncated during conversion.
5755138287Smarks
5756193267SjkimFixed a problem in the ToDecimal operator where the length of the resulting 
5757193267Sjkimstring could be set incorrectly too long if the input operand was a Buffer 
5758193267Sjkimobject.
5759138287Smarks
5760193267SjkimFixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) 
5761193267Sjkimwithin a buffer would prematurely terminate a compare between buffer 
5762193267Sjkimobjects.
5763138287Smarks
5764193267SjkimAdded a check for string overflow (>200 characters as per the ACPI 
5765193267Sjkimspecification) during the Concatenate operator with two string operands.
5766138287Smarks
5767193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5768193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5769193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5770193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5771193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5772193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5773193267Sjkimthe compiler options used during generation.
5774138287Smarks
5775138287Smarks  Previous Release:
5776138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5777138287Smarks    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5778138287Smarks  Current Release:
5779138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
5780138287Smarks    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
5781138287Smarks
5782138287Smarks
5783167802Sjkim
5784138287Smarks2) iASL Compiler/Disassembler:
5785138287Smarks
5786193267SjkimAllow the use of the ObjectType operator on uninitialized Locals and Args 
5787193267Sjkim(returns 0 as per the ACPI specification).
5788138287Smarks
5789193267SjkimFixed a problem where the compiler would fault if there was a syntax error 
5790193267Sjkimin the FieldName of all of the various CreateXXXField operators.
5791138287Smarks
5792193267SjkimDisallow the use of lower case letters within the EISAID macro, as per the 
5793193267SjkimACPI specification.  All EISAID strings must be of the form "UUUNNNN" Where 
5794193267SjkimU is an uppercase letter and N is a hex digit.
5795138287Smarks
5796138287Smarks
5797138287Smarks----------------------------------------
5798138287Smarks06 October 2004.  Summary of changes for version 20041006:
5799138287Smarks
5800138287Smarks1) ACPI CA Core Subsystem:
5801138287Smarks
5802193267SjkimImplemented support for the ACPI 3.0 Timer operator. This ASL function 
5803193267Sjkimimplements a 64-bit timer with 100 nanosecond granularity.
5804138287Smarks
5805193267SjkimDefined a new OSL interface, AcpiOsGetTimer. This interface is used to 
5806193267Sjkimimplement the ACPI 3.0 Timer operator.  This allows the host OS to implement 
5807193267Sjkimthe timer with the best clock available. Also, it keeps the core subsystem 
5808193267Sjkimout of the clock handling business, since the host OS (usually) performs 
5809193267Sjkimthis function.
5810138287Smarks
5811193267SjkimFixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
5812193267Sjkimfunctions use a 64-bit address which is part of the packed ACPI Generic 
5813193267SjkimAddress Structure. Since the structure is non-aligned, the alignment macros 
5814193267Sjkimare now used to extract the address to a local variable before use.
5815138287Smarks
5816193267SjkimFixed a problem where the ToInteger operator assumed all input strings were 
5817193267Sjkimhexadecimal. The operator now handles both decimal strings and hex strings 
5818193267Sjkim(prefixed with "0x").
5819138287Smarks
5820193267SjkimFixed a problem where the string length in the string object created as a 
5821193267Sjkimresult of the internal ConvertToString procedure could be incorrect. This 
5822193267Sjkimpotentially affected all implicit conversions and also the ToDecimalString 
5823193267Sjkimand ToHexString operators.
5824138287Smarks
5825193267SjkimFixed two problems in the ToString operator. If the length parameter was 
5826193267Sjkimzero, an incorrect string object was created and the value of the input 
5827193267Sjkimlength parameter was inadvertently changed from zero to Ones.
5828138287Smarks
5829193267SjkimFixed a problem where the optional ResourceSource string in the ExtendedIRQ 
5830193267Sjkimresource macro was ignored.
5831138287Smarks
5832193267SjkimSimplified the interfaces to the internal division functions, reducing code 
5833193267Sjkimsize and complexity.
5834138287Smarks
5835193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5836193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5837193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5838193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5839193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5840193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5841193267Sjkimthe compiler options used during generation.
5842138287Smarks
5843138287Smarks  Previous Release:
5844138287Smarks    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5845138287Smarks    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5846138287Smarks  Current Release:
5847138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
5848138287Smarks    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
5849138287Smarks
5850138287Smarks
5851138287Smarks2) iASL Compiler/Disassembler:
5852138287Smarks
5853138287SmarksImplemented support for the ACPI 3.0 Timer operator.
5854138287Smarks
5855193267SjkimFixed a problem where the Default() operator was inadvertently ignored in a 
5856193267SjkimSwitch/Case block.  This was a problem in the translation of the Switch 
5857193267Sjkimstatement to If...Else pairs.
5858138287Smarks
5859193267SjkimAdded support to allow a standalone Return operator, with no parentheses (or 
5860193267Sjkimoperands).
5861138287Smarks
5862193267SjkimFixed a problem with code generation for the ElseIf operator where the 
5863193267Sjkimtranslated Else...If parse tree was improperly constructed leading to the 
5864193267Sjkimloss of some code.
5865138287Smarks
5866138287Smarks----------------------------------------
5867138287Smarks22 September 2004.  Summary of changes for version 20040922:
5868138287Smarks
5869138287Smarks1) ACPI CA Core Subsystem:
5870138287Smarks
5871193267SjkimFixed a problem with the implementation of the LNot() operator where "Ones" 
5872193267Sjkimwas not returned for the TRUE case. Changed the code to return Ones instead 
5873193267Sjkimof (!Arg) which was usually 1. This change affects iASL constant folding for 
5874193267Sjkimthis operator also.
5875138287Smarks
5876193267SjkimFixed a problem in AcpiUtInitializeBuffer where an existing buffer was not 
5877193267Sjkiminitialized properly -- Now zero the entire buffer in this case where the 
5878193267Sjkimbuffer already exists.
5879138287Smarks
5880193267SjkimChanged the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
5881193267SjkimMilliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
5882193267Sjkimrelated code considerably. This will require changes/updates to all OS 
5883193267Sjkiminterface layers (OSLs.)
5884138287Smarks
5885193267SjkimImplemented a new external interface, AcpiInstallExceptionHandler, to allow 
5886193267Sjkima system exception handler to be installed. This handler is invoked upon any 
5887193267Sjkimrun-time exception that occurs during control method execution.
5888138287Smarks
5889193267SjkimAdded support for the DSDT in AcpiTbFindTable. This allows the 
5890138287SmarksDataTableRegion() operator to access the local copy of the DSDT.
5891138287Smarks
5892193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
5893193267Sjkimshown below. These are the code and data sizes for the acpica.lib produced 
5894193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5895193267Sjkimany ACPI driver or OSPM code. The debug version of the code includes the 
5896193267Sjkimdebug output trace mechanism and has a much larger code and data size. Note 
5897193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5898193267Sjkimthe compiler options used during generation.
5899138287Smarks
5900138287Smarks  Previous Release:
5901138287Smarks    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5902138287Smarks    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5903138287Smarks  Current Release:
5904138287Smarks    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
5905138287Smarks    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
5906138287Smarks
5907138287Smarks
5908138287Smarks2) iASL Compiler/Disassembler:
5909138287Smarks
5910193267SjkimFixed a problem with constant folding and the LNot operator. LNot was 
5911193267Sjkimreturning 1 in the TRUE case, not Ones as per the ACPI specification. This 
5912193267Sjkimcould result in the generation of an incorrect folded/reduced constant.
5913138287Smarks
5914193267SjkimEnd-Of-File is now allowed within a "//"-style comment.  A parse error no 
5915193267Sjkimlonger occurs if such a comment is at the very end of the input ASL source 
5916193267Sjkimfile.
5917138287Smarks
5918193267SjkimImplemented the "-r" option to override the Revision in the table header. 
5919193267SjkimThe initial use of this option will be to simplify the evaluation of the AML 
5920193267Sjkiminterpreter by allowing a single ASL source module to be compiled for either 
5921193267Sjkim32-bit or 64-bit integers.
5922138287Smarks
5923138287Smarks
5924138287Smarks----------------------------------------
5925138287Smarks27 August 2004.  Summary of changes for version 20040827:
5926138287Smarks
5927138287Smarks1) ACPI CA Core Subsystem:
5928138287Smarks
5929193267Sjkim- Implemented support for implicit object conversion in the non-numeric 
5930193267Sjkimlogical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and 
5931193267SjkimLNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
5932193267Sjkimthe second operand is implicitly converted on the fly to match the type of 
5933193267Sjkimthe first operand.  For example:
5934138287Smarks
5935138287Smarks    LEqual (Source1, Source2)
5936138287Smarks
5937193267SjkimSource1 and Source2 must each evaluate to an integer, a string, or a buffer. 
5938193267SjkimThe data type of Source1 dictates the required type of Source2. Source2 is 
5939193267Sjkimimplicitly converted if necessary to match the type of Source1.
5940138287Smarks
5941193267Sjkim- Updated and corrected the behavior of the string conversion support.  The 
5942193267Sjkimrules concerning conversion of buffers to strings (according to the ACPI 
5943193267Sjkimspecification) are as follows:
5944138287Smarks
5945193267SjkimToDecimalString - explicit byte-wise conversion of buffer to string of 
5946193267Sjkimdecimal values (0-255) separated by commas. ToHexString - explicit byte-wise 
5947193267Sjkimconversion of buffer to string of hex values (0-FF) separated by commas. 
5948193267SjkimToString - explicit byte-wise conversion of buffer to string.  Byte-by-byte 
5949193267Sjkimcopy with no transform except NULL terminated. Any other implicit buffer-to-
5950193267Sjkimstring conversion - byte-wise conversion of buffer to string of hex values 
5951193267Sjkim(0-FF) separated by spaces.
5952138287Smarks
5953138287Smarks- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
5954138287Smarks
5955193267Sjkim- Fixed a problem in AcpiNsGetPathnameLength where the returned length was 
5956193267Sjkimone byte too short in the case of a node in the root scope.  This could 
5957193267Sjkimcause a fault during debug output.
5958138287Smarks
5959193267Sjkim- Code and Data Size: Current and previous core subsystem library sizes are 
5960193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
5961193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
5962193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
5963193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
5964193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
5965193267Sjkimthe compiler options used during generation.
5966138287Smarks
5967138287Smarks  Previous Release:
5968138287Smarks    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
5969138287Smarks    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
5970138287Smarks  Current Release:
5971138287Smarks    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
5972138287Smarks    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
5973138287Smarks
5974138287Smarks
5975138287Smarks2) iASL Compiler/Disassembler:
5976138287Smarks
5977138287Smarks- Fixed a Linux generation error.
5978138287Smarks
5979138287Smarks
5980138287Smarks----------------------------------------
5981138287Smarks16 August 2004.  Summary of changes for version 20040816:
5982138287Smarks
5983138287Smarks1) ACPI CA Core Subsystem:
5984138287Smarks
5985193267SjkimDesigned and implemented support within the AML interpreter for the so-
5986193267Sjkimcalled "implicit return".  This support returns the result of the last ASL 
5987193267Sjkimoperation within a control method, in the absence of an explicit Return() 
5988193267Sjkimoperator.  A few machines depend on this behavior, even though it is not 
5989193267Sjkimexplicitly supported by the ASL language.  It is optional support that can 
5990193267Sjkimbe enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
5991138287Smarks
5992193267SjkimRemoved support for the PCI_Config address space from the internal low level 
5993193267Sjkimhardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
5994193267Sjkimsupport was not used internally, and would not work correctly anyway because 
5995193267Sjkimthe PCI bus number and segment number were not supported.  There are 
5996193267Sjkimseparate interfaces for PCI configuration space access because of the unique 
5997138287Smarksinterface.
5998138287Smarks
5999193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6000193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6001193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6002193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6003193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6004193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6005193267Sjkimthe compiler options used during generation.
6006138287Smarks
6007138287Smarks  Previous Release:
6008138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6009138287Smarks    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6010138287Smarks  Current Release:
6011138287Smarks    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
6012138287Smarks    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
6013138287Smarks
6014138287Smarks
6015138287Smarks2) iASL Compiler/Disassembler:
6016138287Smarks
6017193267SjkimFixed a problem where constants in ASL expressions at the root level (not 
6018193267Sjkimwithin a control method) could be inadvertently truncated during code 
6019193267Sjkimgeneration.  This problem was introduced in the 20040715 release.
6020138287Smarks
6021138287Smarks
6022138287Smarks----------------------------------------
6023138287Smarks15 July 2004.  Summary of changes for version 20040715:
6024138287Smarks
6025138287Smarks1) ACPI CA Core Subsystem:
6026138287Smarks
6027193267SjkimRestructured the internal HW GPE interfaces to pass/track the current state 
6028193267Sjkimof interrupts (enabled/disabled) in order to avoid possible deadlock and 
6029193267Sjkimincrease flexibility of the interfaces.
6030138287Smarks
6031193267SjkimImplemented a "lexicographical compare" for String and Buffer objects within 
6032193267Sjkimthe logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- 
6033193267Sjkimas per further clarification to the ACPI specification.  Behavior is similar 
6034193267Sjkimto C library "strcmp".
6035138287Smarks
6036193267SjkimCompleted a major reduction in CPU stack use for the AcpiGetFirmwareTable 
6037193267Sjkimexternal function.  In the 32-bit non-debug case, the stack use has been 
6038193267Sjkimreduced from 168 bytes to 32 bytes.
6039138287Smarks
6040193267SjkimDeployed a new run-time configuration flag, AcpiGbl_EnableInterpreterSlack, 
6041193267Sjkimwhose purpose is to allow the AML interpreter to forgive certain bad AML 
6042193267Sjkimconstructs.  Default setting is FALSE.
6043138287Smarks
6044193267SjkimImplemented the first use of AcpiGbl_EnableInterpreterSlack in the Field IO 
6045193267Sjkimsupport code.  If enabled, it allows field access to go beyond the end of a 
6046193267Sjkimregion definition if the field is within the region length rounded up to the 
6047193267Sjkimnext access width boundary (a common coding error.)
6048138287Smarks
6049193267SjkimRenamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
6050193267SjkimACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, these 
6051193267Sjkimsymbols are lowercased by the latest version of the AcpiSrc tool.
6052138287Smarks
6053193267SjkimThe prototypes for the PCI interfaces in acpiosxf.h have been updated to 
6054193267Sjkimrename "Register" to simply "Reg" to prevent certain compilers from 
6055193267Sjkimcomplaining.
6056138287Smarks
6057193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6058193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6059193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6060193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6061193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6062193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6063193267Sjkimthe compiler options used during generation.
6064138287Smarks
6065138287Smarks  Previous Release:
6066138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6067138287Smarks    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6068138287Smarks  Current Release:
6069138287Smarks    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
6070138287Smarks    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
6071138287Smarks
6072138287Smarks
6073138287Smarks2) iASL Compiler/Disassembler:
6074138287Smarks
6075193267SjkimImplemented full support for Package objects within the Case() operator.  
6076193267SjkimNote: The Break() operator is currently not supported within Case blocks 
6077193267Sjkim(TermLists) as there is some question about backward compatibility with ACPI 
6078193267Sjkim1.0 interpreters.
6079138287Smarks
6080167802Sjkim
6081193267SjkimFixed a problem where complex terms were not supported properly within the 
6082193267SjkimSwitch() operator.
6083138287Smarks
6084193267SjkimEliminated extraneous warning for compiler-emitted reserved names of the 
6085193267Sjkimform "_T_x".  (Used in Switch/Case operators.)
6086138287Smarks
6087193267SjkimEliminated optimization messages for "_T_x" objects and small constants 
6088193267Sjkimwithin the DefinitionBlock operator.
6089138287Smarks
6090138287Smarks
6091138287Smarks----------------------------------------
6092138287Smarks15 June 2004.  Summary of changes for version 20040615:
6093138287Smarks
6094138287Smarks1) ACPI CA Core Subsystem:
6095138287Smarks
6096193267SjkimImplemented support for Buffer and String objects (as per ACPI 2.0) for the 
6097193267Sjkimfollowing ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6098193267SjkimLLessEqual.
6099138287Smarks
6100193267SjkimAll directory names in the entire source package are lower case, as they 
6101193267Sjkimwere in earlier releases.
6102138287Smarks
6103193267SjkimImplemented "Disassemble" command in the AML debugger that will disassemble 
6104193267Sjkima single control method.
6105138287Smarks
6106193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6107193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6108193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6109193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6110193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6111193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6112193267Sjkimthe compiler options used during generation.
6113138287Smarks
6114138287Smarks  Previous Release:
6115138287Smarks    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6116138287Smarks    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6117167802Sjkim
6118138287Smarks  Current Release:
6119138287Smarks    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
6120138287Smarks    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
6121138287Smarks
6122138287Smarks
6123138287Smarks2) iASL Compiler/Disassembler:
6124138287Smarks
6125193267SjkimImplemented support for Buffer and String objects (as per ACPI 2.0) for the 
6126193267Sjkimfollowing ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
6127193267SjkimLLessEqual.
6128138287Smarks
6129193267SjkimAll directory names in the entire source package are lower case, as they 
6130193267Sjkimwere in earlier releases.
6131138287Smarks
6132193267SjkimFixed a fault when using the -g or -d<nofilename> options if the FADT was 
6133193267Sjkimnot found.
6134138287Smarks
6135193267SjkimFixed an issue with the Windows version of the compiler where later versions 
6136193267Sjkimof Windows place the FADT in the registry under the name "FADT" and not 
6137193267Sjkim"FACP" as earlier versions did.  This applies when using the -g or -
6138193267Sjkimd<nofilename> options.  The compiler now looks for both strings as 
6139193267Sjkimnecessary.
6140138287Smarks
6141193267SjkimFixed a problem with compiler namepath optimization where a namepath within 
6142193267Sjkimthe Scope() operator could not be optimized if the namepath was a subpath of 
6143193267Sjkimthe current scope path.
6144138287Smarks
6145138287Smarks----------------------------------------
6146131440Smarks27 May 2004.  Summary of changes for version 20040527:
6147131440Smarks
6148131440Smarks1) ACPI CA Core Subsystem:
6149131440Smarks
6150193267SjkimCompleted a new design and implementation for EBDA (Extended BIOS Data Area) 
6151193267Sjkimsupport in the RSDP scan code.  The original code improperly scanned for the 
6152193267SjkimEBDA by simply scanning from memory location 0 to 0x400.  The correct method 
6153193267Sjkimis to first obtain the EBDA pointer from within the BIOS data area, then 
6154193267Sjkimscan 1K of memory starting at the EBDA pointer.  There appear to be few if 
6155131440Smarksany machines that place the RSDP in the EBDA, however.
6156131440Smarks
6157193267SjkimIntegrated a fix for a possible fault during evaluation of BufferField 
6158193267Sjkimarguments.  Obsolete code that was causing the problem was removed.
6159131440Smarks
6160193267SjkimFound and fixed a problem in the Field Support Code where data could be 
6161193267Sjkimcorrupted on a bit field read that starts on an aligned boundary but does 
6162193267Sjkimnot end on an aligned boundary.  Merged the read/write "datum length" 
6163193267Sjkimcalculation code into a common procedure.
6164131440Smarks
6165131440SmarksRolled in a couple of changes to the FreeBSD-specific header.
6166131440Smarks
6167167802Sjkim
6168193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6169193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6170193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6171193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6172193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6173193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6174193267Sjkimthe compiler options used during generation.
6175131440Smarks
6176131440Smarks  Previous Release:
6177131440Smarks    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6178131440Smarks    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6179131440Smarks  Current Release:
6180131440Smarks    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
6181131440Smarks    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
6182131440Smarks
6183131440Smarks
6184131440Smarks2) iASL Compiler/Disassembler:
6185131440Smarks
6186193267SjkimFixed a generation warning produced by some overly-verbose compilers for a 
6187193267Sjkim64-bit constant.
6188131440Smarks
6189131440Smarks----------------------------------------
6190129684Snjl14 May 2004.  Summary of changes for version 20040514:
6191129684Snjl
6192129684Snjl1) ACPI CA Core Subsystem:
6193129684Snjl
6194193267SjkimFixed a problem where hardware GPE enable bits sometimes not set properly 
6195193267Sjkimduring and after GPE method execution.  Result of 04/27 changes.
6196129684Snjl
6197129684SnjlRemoved extra "clear all GPEs" when sleeping/waking.
6198129684Snjl
6199193267SjkimRemoved AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
6200193267SjkimAcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above to 
6201193267Sjkimthe new AcpiEv* calls as appropriate.
6202129684Snjl
6203193267SjkimACPI_OS_NAME was removed from the OS-specific headers.  The default name is 
6204193267Sjkimnow "Microsoft Windows NT" for maximum compatibility.  However this can be 
6205193267Sjkimchanged by modifying the acconfig.h file.
6206129684Snjl
6207193267SjkimAllow a single invocation of AcpiInstallNotifyHandler for a handler that 
6208193267Sjkimtraps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
6209129684Snjl
6210193267SjkimRun _INI methods on ThermalZone objects.  This is against the ACPI 
6211193267Sjkimspecification, but there is apparently ASL code in the field that has these 
6212193267Sjkim_INI methods, and apparently "other" AML interpreters execute them.
6213129684Snjl
6214193267SjkimPerformed a full 16/32/64 bit lint that resulted in some small changes.
6215129684Snjl
6216193267SjkimAdded a sleep simulation command to the AML debugger to test sleep code. 
6217129684Snjl
6218193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6219193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6220193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6221193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6222193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6223193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6224193267Sjkimthe compiler options used during generation.
6225129684Snjl
6226129684Snjl  Previous Release:
6227129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6228129684Snjl    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6229129684Snjl  Current Release:
6230129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6231129684Snjl    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
6232129684Snjl
6233129684Snjl----------------------------------------
6234129684Snjl27 April 2004.  Summary of changes for version 20040427:
6235129684Snjl
6236129684Snjl1) ACPI CA Core Subsystem:
6237129684Snjl
6238193267SjkimCompleted a major overhaul of the GPE handling within ACPI CA.  There are 
6239193267Sjkimnow three types of GPEs:  wake-only, runtime-only, and combination wake/run.  
6240193267SjkimThe only GPEs allowed to be combination wake/run are for button-style 
6241193267Sjkimdevices such as a control-method power button, control-method sleep button, 
6242193267Sjkimor a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are not 
6243193267Sjkimreferenced by any _PRW methods are marked for "runtime" and hardware 
6244193267Sjkimenabled.  Any GPE that is referenced by a _PRW method is marked for "wake" 
6245193267Sjkim(and disabled at runtime).  However, at sleep time, only those GPEs that 
6246193267Sjkimhave been specifically enabled for wake via the AcpiEnableGpe interface will 
6247193267Sjkimactually be hardware enabled.
6248129684Snjl
6249193267SjkimA new external interface has been added, AcpiSetGpeType(), that is meant to 
6250193267Sjkimbe used by device drivers to force a GPE to a particular type.  It will be 
6251193267Sjkimespecially useful for the drivers for the button devices mentioned above.
6252129684Snjl
6253193267SjkimCompleted restructuring of the ACPI CA initialization sequence so that 
6254193267Sjkimdefault operation region handlers are installed before GPEs are initialized 
6255193267Sjkimand the _PRW methods are executed.  This will prevent errors when the _PRW 
6256193267Sjkimmethods attempt to access system memory or I/O space.
6257129684Snjl
6258193267SjkimGPE enable/disable no longer reads the GPE enable register.  We now keep the 
6259193267Sjkimenable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
6260193267Sjkimthus no longer depend on the hardware to maintain these bits.
6261129684Snjl
6262193267SjkimAlways clear the wake status and fixed/GPE status bits before sleep, even 
6263193267Sjkimfor state S5.
6264129684Snjl
6265193267SjkimImproved the AML debugger output for displaying the GPE blocks and their 
6266193267Sjkimcurrent status.
6267129684Snjl
6268193267SjkimAdded new strings for the _OSI method, of the form "Windows 2001 SPx" where 
6269193267Sjkimx = 0,1,2,3,4.
6270129684Snjl
6271193267SjkimFixed a problem where the physical address was incorrectly calculated when 
6272193267Sjkimthe Load() operator was used to directly load from an Operation Region (vs. 
6273193267Sjkimloading from a Field object.)  Also added check for minimum table length for 
6274193267Sjkimthis case.
6275129684Snjl
6276193267SjkimFix for multiple mutex acquisition.  Restore original thread SyncLevel on 
6277193267Sjkimmutex release.
6278129684Snjl
6279193267SjkimAdded ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
6280129684Snjlconsistency with the other fields returned.
6281129684Snjl
6282193267SjkimShrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
6283193267Sjkimstructure for each GPE in the system, so the size of this structure is 
6284193267Sjkimimportant.
6285129684Snjl
6286193267SjkimCPU stack requirement reduction:  Cleaned up the method execution and object 
6287193267Sjkimevaluation paths so that now a parameter structure is passed, instead of 
6288193267Sjkimcopying the various method parameters over and over again.
6289129684Snjl
6290193267SjkimIn evregion.c:  Correctly exit and reenter the interpreter region if and 
6291193267Sjkimonly if dispatching an operation region request to a user-installed handler.  
6292193267SjkimDo not exit/reenter when dispatching to a default handler (e.g., default 
6293193267Sjkimsystem memory or I/O handlers)
6294129684Snjl
6295129684Snjl
6296193267SjkimNotes for updating drivers for the new GPE support.  The following changes 
6297193267Sjkimmust be made to ACPI-related device drivers that are attached to one or more 
6298193267SjkimGPEs: (This information will be added to the ACPI CA Programmer Reference.)
6299129684Snjl
6300193267Sjkim1) AcpiInstallGpeHandler no longer automatically enables the GPE, you must 
6301193267Sjkimexplicitly call AcpiEnableGpe.
6302193267Sjkim2) There is a new interface called AcpiSetGpeType. This should be called 
6303193267Sjkimbefore enabling the GPE.  Also, this interface will automatically disable 
6304193267Sjkimthe GPE if it is currently enabled.
6305129684Snjl3) AcpiEnableGpe no longer supports a GPE type flag.
6306129684Snjl
6307129684SnjlSpecific drivers that must be changed:
6308129684Snjl1) EC driver:
6309193267Sjkim    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
6310129684SnjlAeGpeHandler, NULL);
6311129684Snjl    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
6312129684Snjl    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
6313129684Snjl
6314129684Snjl2) Button Drivers (Power, Lid, Sleep):
6315129684SnjlRun _PRW method under parent device
6316129684SnjlIf _PRW exists: /* This is a control-method button */
6317129684Snjl    Extract GPE number and possibly GpeDevice
6318129684Snjl    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
6319129684Snjl    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
6320129684Snjl
6321193267SjkimFor all other devices that have _PRWs, we automatically set the GPE type to 
6322193267SjkimACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  This 
6323193267Sjkimmust be done on a selective basis, usually requiring some kind of user app 
6324193267Sjkimto allow the user to pick the wake devices.
6325129684Snjl
6326129684Snjl
6327193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6328193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6329193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6330193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6331193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6332193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6333193267Sjkimthe compiler options used during generation.
6334129684Snjl
6335129684Snjl  Previous Release:
6336129684Snjl    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6337129684Snjl    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6338129684Snjl  Current Release:
6339167802Sjkim
6340129684Snjl    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
6341129684Snjl    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
6342129684Snjl
6343129684Snjl
6344129684Snjl
6345129684Snjl----------------------------------------
6346128212Snjl02 April 2004.  Summary of changes for version 20040402:
6347128212Snjl
6348128212Snjl1) ACPI CA Core Subsystem:
6349128212Snjl
6350193267SjkimFixed an interpreter problem where an indirect store through an ArgX 
6351193267Sjkimparameter was incorrectly applying the "implicit conversion rules" during 
6352193267Sjkimthe store.  From the ACPI specification: "If the target is a method local or 
6353193267Sjkimargument (LocalX or ArgX), no conversion is performed and the result is 
6354193267Sjkimstored directly to the target".  The new behavior is to disable implicit 
6355193267Sjkimconversion during ALL stores to an ArgX.
6356128212Snjl
6357193267SjkimChanged the behavior of the _PRW method scan to ignore any and all errors 
6358193267Sjkimreturned by a given _PRW.  This prevents the scan from aborting from the 
6359193267Sjkimfailure of any single _PRW.
6360128212Snjl
6361193267SjkimMoved the runtime configuration parameters from the global init procedure to 
6362193267Sjkimstatic variables in acglobal.h.  This will allow the host to override the 
6363193267Sjkimdefault values easily.
6364128212Snjl
6365193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6366193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6367193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6368193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6369193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6370193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6371193267Sjkimthe compiler options used during generation.
6372128212Snjl
6373128212Snjl  Previous Release:
6374128212Snjl    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6375128212Snjl    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6376128212Snjl  Current Release:
6377128212Snjl    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
6378128212Snjl    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
6379128212Snjl
6380128212Snjl
6381128212Snjl2) iASL Compiler/Disassembler:
6382128212Snjl
6383193267SjkimiASL now fully disassembles SSDTs.  However, External() statements are not 
6384193267Sjkimgenerated automatically for unresolved symbols at this time.  This is a 
6385193267Sjkimplanned feature for future implementation.
6386128212Snjl
6387193267SjkimFixed a scoping problem in the disassembler that occurs when the type of the 
6388193267Sjkimtarget of a Scope() operator is overridden.  This problem caused an 
6389193267Sjkimincorrectly nested internal namespace to be constructed.
6390128212Snjl
6391193267SjkimAny warnings or errors that are emitted during disassembly are now commented 
6392193267Sjkimout automatically so that the resulting file can be recompiled without any 
6393193267Sjkimhand editing.
6394128212Snjl
6395128212Snjl----------------------------------------
6396128212Snjl26 March 2004.  Summary of changes for version 20040326:
6397128212Snjl
6398128212Snjl1) ACPI CA Core Subsystem:
6399128212Snjl
6400193267SjkimImplemented support for "wake" GPEs via interaction between GPEs and the 
6401193267Sjkim_PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
6402193267Sjkimidentified as a WAKE GPE and by default will no longer be enabled at 
6403193267Sjkimruntime.  Previously, we were blindly enabling all GPEs with a corresponding 
6404193267Sjkim_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  We 
6405193267Sjkimbelieve this has been the cause of thousands of "spurious" GPEs on some 
6406128212Snjlsystems.
6407128212Snjl
6408193267SjkimThis new GPE behavior is can be reverted to the original behavior (enable 
6409193267SjkimALL GPEs at runtime) via a runtime flag.
6410128212Snjl
6411193267SjkimFixed a problem where aliased control methods could not access objects 
6412193267Sjkimproperly.  The proper scope within the namespace was not initialized 
6413193267Sjkim(transferred to the target of the aliased method) before executing the 
6414193267Sjkimtarget method.
6415128212Snjl
6416193267SjkimFixed a potential race condition on internal object deletion on the return 
6417193267Sjkimobject in AcpiEvaluateObject. 
6418128212Snjl
6419193267SjkimIntegrated a fix for resource descriptors where both _MEM and _MTP were 
6420193267Sjkimbeing extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
6421193267Sjkimwide, 0x0F instead of 0x03.)
6422128212Snjl
6423193267SjkimAdded a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing a 
6424193267Sjkimfault in some cases.
6425128212Snjl
6426128212SnjlUpdated Notify() values for debug statements in evmisc.c
6427128212Snjl
6428193267SjkimReturn proper status from AcpiUtMutexInitialize, not just simply AE_OK.
6429128212Snjl
6430193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6431193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6432193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6433193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6434193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6435193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6436193267Sjkimthe compiler options used during generation.
6437128212Snjl
6438128212Snjl  Previous Release:
6439167802Sjkim
6440128212Snjl    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6441128212Snjl    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6442128212Snjl  Current Release:
6443128212Snjl    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
6444128212Snjl    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
6445128212Snjl
6446128212Snjl----------------------------------------
6447127175Snjl11 March 2004.  Summary of changes for version 20040311:
6448127175Snjl
6449127175Snjl1) ACPI CA Core Subsystem:
6450127175Snjl
6451193267SjkimFixed a problem where errors occurring during the parse phase of control 
6452193267Sjkimmethod execution did not abort cleanly.  For example, objects created and 
6453193267Sjkiminstalled in the namespace were not deleted.  This caused all subsequent 
6454193267Sjkiminvocations of the method to return the AE_ALREADY_EXISTS exception.
6455127175Snjl
6456193267SjkimImplemented a mechanism to force a control method to "Serialized" execution 
6457193267Sjkimif the method attempts to create namespace objects. (The root of the 
6458193267SjkimAE_ALREADY_EXISTS problem.)
6459127175Snjl
6460193267SjkimImplemented support for the predefined _OSI "internal" control method.  
6461193267SjkimInitial supported strings are "Linux", "Windows 2000", "Windows 2001", and 
6462193267Sjkim"Windows 2001.1", and can be easily upgraded for new strings as necessary.  
6463193267SjkimThis feature will allow "other" operating systems to execute the fully 
6464193267Sjkimtested, "Windows" code path through the ASL code
6465127175Snjl
6466193267SjkimGlobal Lock Support:  Now allows multiple acquires and releases with any 
6467193267Sjkiminternal thread.  Removed concept of "owning thread" for this special mutex.
6468127175Snjl
6469193267SjkimFixed two functions that were inappropriately declaring large objects on the 
6470193267SjkimCPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage during 
6471193267Sjkimmethod execution considerably.
6472127175Snjl
6473193267SjkimFixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
6474193267SjkimS4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
6475127175Snjl
6476193267SjkimFixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
6477193267Sjkimdefined on the machine.
6478127175Snjl
6479193267SjkimImplemented two runtime options:  One to force all control method execution 
6480193267Sjkimto "Serialized" to mimic Windows behavior, another to disable _OSI support 
6481193267Sjkimif it causes problems on a given machine.
6482127175Snjl
6483193267SjkimCode and Data Size: Current and previous core subsystem library sizes are 
6484193267Sjkimshown below.  These are the code and data sizes for the acpica.lib produced 
6485193267Sjkimby the Microsoft Visual C++ 6.0 compiler, and these values do not include 
6486193267Sjkimany ACPI driver or OSPM code.  The debug version of the code includes the 
6487193267Sjkimdebug output trace mechanism and has a much larger code and data size.  Note 
6488193267Sjkimthat these values will vary depending on the efficiency of the compiler and 
6489193267Sjkimthe compiler options used during generation.
6490127175Snjl
6491127175Snjl  Previous Release:
6492127175Snjl    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6493127175Snjl    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6494127175Snjl  Current Release:
6495127175Snjl    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
6496127175Snjl    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
6497127175Snjl
6498127175Snjl2) iASL Compiler/Disassembler:
6499127175Snjl
6500193267SjkimFixed an array size problem for FreeBSD that would cause the compiler to 
6501193267Sjkimfault.
6502127175Snjl
6503127175Snjl----------------------------------------
6504126372Snjl20 February 2004.  Summary of changes for version 20040220:
6505126372Snjl
6506167802Sjkim
6507126372Snjl1) ACPI CA Core Subsystem:
6508126372Snjl
6509193267SjkimImplemented execution of _SxD methods for Device objects in the 
6510126372SnjlGetObjectInfo interface.
6511126372Snjl
6512126372SnjlFixed calls to _SST method to pass the correct arguments.
6513126372Snjl
6514126372SnjlAdded a call to _SST on wake to restore to "working" state.
6515126372Snjl
6516193267SjkimCheck for End-Of-Buffer failure case in the WalkResources interface.
6517126372Snjl
6518193267SjkimIntegrated fix for 64-bit alignment issue in acglobal.h by moving two 
6519193267Sjkimstructures to the beginning of the file.
6520126372Snjl
6521126372SnjlAfter wake, clear GPE status register(s) before enabling GPEs.
6522126372Snjl
6523193267SjkimAfter wake, clear/enable power button.  (Perhaps we should clear/enable all 
6524193267Sjkimfixed events upon wake.)
6525126372Snjl
6526126372SnjlFixed a couple of possible memory leaks in the Namespace manager.
6527126372Snjl
6528126372SnjlIntegrated latest acnetbsd.h file.
6529126372Snjl
6530126372Snjl----------------------------------------
6531126372Snjl11 February 2004.  Summary of changes for version 20040211:
6532126372Snjl
6533167802Sjkim
6534126372Snjl1) ACPI CA Core Subsystem:
6535126372Snjl
6536193267SjkimCompleted investigation and implementation of the call-by-reference 
6537193267Sjkimmechanism for control method arguments.
6538126372Snjl
6539193267SjkimFixed a problem where a store of an object into an indexed package could 
6540193267Sjkimfail if the store occurs within a different method than the method that 
6541193267Sjkimcreated the package.
6542126372Snjl
6543193267SjkimFixed a problem where the ToDecimal operator could return incorrect results.
6544126372Snjl
6545193267SjkimFixed a problem where the CopyObject operator could fail on some of the more 
6546193267Sjkimobscure objects (e.g., Reference objects.)
6547126372Snjl
6548193267SjkimImproved the output of the Debug object to display buffer, package, and 
6549193267Sjkimindex objects.
6550126372Snjl
6551193267SjkimFixed a problem where constructs of the form "RefOf (ArgX)" did not return 
6552193267Sjkimthe expected result.
6553126372Snjl
6554193267SjkimAdded permanent ACPI_REPORT_ERROR macros for all instances of the 
6555126372SnjlACPI_AML_INTERNAL exception.
6556126372Snjl
6557126372SnjlIntegrated latest version of acfreebsd.h
6558126372Snjl
6559126372Snjl----------------------------------------
6560126372Snjl16 January 2004.  Summary of changes for version 20040116:
6561126372Snjl
6562193267SjkimThe purpose of this release is primarily to update the copyright years in 
6563193267Sjkimeach module, thus causing a huge number of diffs.  There are a few small 
6564193267Sjkimfunctional changes, however.
6565126372Snjl
6566126372Snjl1) ACPI CA Core Subsystem:
6567126372Snjl
6568193267SjkimImproved error messages when there is a problem finding one or more of the 
6569193267Sjkimrequired base ACPI tables
6570126372Snjl
6571126372SnjlReintroduced the definition of APIC_HEADER in actbl.h
6572126372Snjl
6573126372SnjlChanged definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
6574126372Snjl
6575126372SnjlRemoved extraneous reference to NewObj in dsmthdat.c
6576126372Snjl
6577126372Snjl2) iASL compiler
6578126372Snjl
6579193267SjkimFixed a problem introduced in December that disabled the correct disassembly 
6580193267Sjkimof Resource Templates
6581126372Snjl
6582126372Snjl
6583126372Snjl----------------------------------------
6584126372Snjl03 December 2003.  Summary of changes for version 20031203:
6585126372Snjl
6586126372Snjl1) ACPI CA Core Subsystem:
6587126372Snjl
6588126372SnjlChanged the initialization of Operation Regions during subsystem
6589126372Snjlinit to perform two entire walks of the ACPI namespace; The first
6590126372Snjlto initialize the regions themselves, the second to execute the
6591126372Snjl_REG methods.  This fixed some interdependencies across _REG
6592126372Snjlmethods found on some machines.
6593126372Snjl
6594126372SnjlFixed a problem where a Store(Local0, Local1) could simply update
6595126372Snjlthe object reference count, and not create a new copy of the
6596126372Snjlobject if the Local1 is uninitialized.
6597126372Snjl
6598126372SnjlImplemented support for the _SST reserved method during sleep
6599126372Snjltransitions.
6600126372Snjl
6601126372SnjlImplemented support to clear the SLP_TYP and SLP_EN bits when
6602126372Snjlwaking up, this is apparently required by some machines.
6603126372Snjl
6604193267SjkimWhen sleeping, clear the wake status only if SleepState is not S5.
6605126372Snjl
6606126372SnjlFixed a problem in AcpiRsExtendedIrqResource() where an incorrect
6607126372Snjlpointer arithmetic advanced a string pointer too far.
6608126372Snjl
6609126372SnjlFixed a problem in AcpiTbGetTablePtr() where a garbage pointer
6610126372Snjlcould be returned if the requested table has not been loaded.
6611126372Snjl
6612193267SjkimWithin the support for IRQ resources, restructured the handling of
6613126372Snjlthe active and edge/level bits.
6614126372Snjl
6615126372SnjlFixed a few problems in AcpiPsxExecute() where memory could be
6616126372Snjlleaked under certain error conditions.
6617126372Snjl
6618126372SnjlImproved error messages for the cases where the ACPI mode could
6619126372Snjlnot be entered.
6620126372Snjl
6621126372SnjlCode and Data Size: Current and previous core subsystem library
6622126372Snjlsizes are shown below.  These are the code and data sizes for the
6623126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6624126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6625126372Snjldebug version of the code includes the debug output trace
6626126372Snjlmechanism and has a much larger code and data size.  Note that
6627193267Sjkimthese values will vary depending on the efficiency of the compiler
6628126372Snjland the compiler options used during generation.
6629126372Snjl
6630126372Snjl  Previous Release (20031029):
6631126372Snjl    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6632126372Snjl    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6633126372Snjl  Current Release:
6634126372Snjl    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
6635126372Snjl    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
6636126372Snjl
6637126372Snjl2) iASL Compiler/Disassembler:
6638126372Snjl
6639126372SnjlImplemented a fix for the iASL disassembler where a bad index was
6640126372Snjlgenerated.  This was most noticeable on 64-bit platforms
6641126372Snjl
6642126372Snjl
6643126372Snjl----------------------------------------
6644126372Snjl29 October 2003.  Summary of changes for version 20031029:
6645126372Snjl
6646126372Snjl1) ACPI CA Core Subsystem:
6647126372Snjl
6648167802Sjkim
6649126372SnjlFixed a problem where a level-triggered GPE with an associated
6650126372Snjl_Lxx control method was incorrectly cleared twice.
6651126372Snjl
6652126372SnjlFixed a problem with the Field support code where an access can
6653126372Snjloccur beyond the end-of-region if the field is non-aligned but
6654126372Snjlextends to the very end of the parent region (resulted in an
6655126372SnjlAE_AML_REGION_LIMIT exception.)
6656126372Snjl
6657126372SnjlFixed a problem with ACPI Fixed Events where an RT Clock handler
6658193267Sjkimwould not get invoked on an RTC event.  The RTC event bitmasks for
6659126372Snjlthe PM1 registers were not being initialized properly.
6660126372Snjl
6661126372SnjlImplemented support for executing _STA and _INI methods for
6662126372SnjlProcessor objects.  Although this is currently not part of the
6663193267SjkimACPI specification, there is existing ASL code that depends on the
6664126372Snjlinit-time execution of these methods.
6665126372Snjl
6666126372SnjlImplemented and deployed a GetDescriptorName function to decode
6667126372Snjlthe various types of internal descriptors.  Guards against null
6668126372Snjldescriptors during debug output also.
6669126372Snjl
6670126372SnjlImplemented and deployed a GetNodeName function to extract the 4-
6671193267Sjkimcharacter namespace node name.  This function simplifies the debug
6672193267Sjkimand error output, as well as guarding against null pointers during
6673126372Snjloutput.
6674126372Snjl
6675126372SnjlImplemented and deployed the ACPI_FORMAT_UINT64 helper macro to
6676126372Snjlsimplify the debug and error output of 64-bit integers.  This
6677126372Snjlmacro replaces the HIDWORD and LODWORD macros for dumping these
6678126372Snjlintegers.
6679126372Snjl
6680126372SnjlUpdated the implementation of the Stall() operator to only call
6681126372SnjlAcpiOsStall(), and also return an error if the operand is larger
6682126372Snjlthan 255.  This preserves the required behavior of not
6683126372Snjlrelinquishing the processor, as would happen if AcpiOsSleep() was
6684126372Snjlcalled for "long stalls".
6685126372Snjl
6686126372SnjlConstructs of the form "Store(LocalX,LocalX)" where LocalX is not
6687126372Snjlinitialized are now treated as NOOPs.
6688126372Snjl
6689126372SnjlCleaned up a handful of warnings during 64-bit generation.
6690126372Snjl
6691126372SnjlFixed a reported error where and incorrect GPE number was passed
6692126372Snjlto the GPE dispatch handler.  This value is only used for error
6693193267Sjkimoutput, however.  Used this opportunity to clean up and streamline
6694126372Snjlthe GPE dispatch code.
6695126372Snjl
6696126372SnjlCode and Data Size: Current and previous core subsystem library
6697126372Snjlsizes are shown below.  These are the code and data sizes for the
6698126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6699126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6700167802Sjkim
6701126372Snjldebug version of the code includes the debug output trace
6702126372Snjlmechanism and has a much larger code and data size.  Note that
6703193267Sjkimthese values will vary depending on the efficiency of the compiler
6704126372Snjland the compiler options used during generation.
6705126372Snjl
6706126372Snjl  Previous Release (20031002):
6707126372Snjl    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6708126372Snjl    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6709126372Snjl  Current Release:
6710126372Snjl    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
6711126372Snjl    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
6712126372Snjl
6713126372Snjl
6714126372Snjl2) iASL Compiler/Disassembler:
6715126372Snjl
6716193267SjkimUpdated the iASL compiler to return an error if the operand to the
6717126372SnjlStall() operator is larger than 255.
6718126372Snjl
6719126372Snjl
6720126372Snjl----------------------------------------
6721126372Snjl02 October 2003.  Summary of changes for version 20031002:
6722126372Snjl
6723126372Snjl
6724126372Snjl1) ACPI CA Core Subsystem:
6725126372Snjl
6726126372SnjlFixed a problem with Index Fields where the index was not
6727126372Snjlincremented for fields that require multiple writes to the
6728126372Snjlindex/data registers (Fields that are wider than the data
6729126372Snjlregister.)
6730126372Snjl
6731126372SnjlFixed a problem with all Field objects where a write could go
6732126372Snjlbeyond the end-of-field if the field was larger than the access
6733193267Sjkimgranularity and therefore required multiple writes to complete the
6734126372Snjlrequest.  An extra write beyond the end of the field could happen
6735126372Snjlinadvertently.
6736126372Snjl
6737126372SnjlFixed a problem with Index Fields where a BUFFER_OVERFLOW error
6738126372Snjlwould incorrectly be returned if the width of the Data Register
6739126372Snjlwas larger than the specified field access width.
6740126372Snjl
6741126372SnjlCompleted fixes for LoadTable() and Unload() and verified their
6742126372Snjloperation.  Implemented full support for the "DdbHandle" object
6743126372Snjlthroughout the ACPI CA subsystem.
6744126372Snjl
6745126372SnjlImplemented full support for the MADT and ECDT tables in the ACPI
6746126372SnjlCA header files.  Even though these tables are not directly
6747126372Snjlconsumed by ACPI CA, the header definitions are useful for ACPI
6748126372Snjldevice drivers.
6749126372Snjl
6750126372SnjlIntegrated resource descriptor fixes posted to the Linux ACPI
6751126372Snjllist.  This included checks for minimum descriptor length, and
6752126372Snjlsupport for trailing NULL strings within descriptors that have
6753126372Snjloptional string elements.
6754126372Snjl
6755126372SnjlCode and Data Size: Current and previous core subsystem library
6756126372Snjlsizes are shown below.  These are the code and data sizes for the
6757126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6758126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6759126372Snjldebug version of the code includes the debug output trace
6760126372Snjlmechanism and has a much larger code and data size.  Note that
6761193267Sjkimthese values will vary depending on the efficiency of the compiler
6762126372Snjland the compiler options used during generation.
6763126372Snjl
6764126372Snjl  Previous Release (20030918):
6765126372Snjl    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6766126372Snjl    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6767126372Snjl  Current Release:
6768126372Snjl    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
6769126372Snjl    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
6770126372Snjl
6771126372Snjl
6772126372Snjl2) iASL Compiler:
6773126372Snjl
6774126372SnjlImplemented detection of non-ASCII characters within the input
6775126372Snjlsource ASL file.  This catches attempts to compile binary (AML)
6776126372Snjlfiles early in the compile, with an informative error message.
6777126372Snjl
6778126372SnjlFixed a problem where the disassembler would fault if the output
6779193267Sjkimfilename could not be generated or if the output file could not be
6780126372Snjlopened.
6781126372Snjl
6782126372Snjl----------------------------------------
6783126372Snjl18 September 2003.  Summary of changes for version 20030918:
6784126372Snjl
6785126372Snjl
6786126372Snjl1) ACPI CA Core Subsystem:
6787126372Snjl
6788126372SnjlFound and fixed a longstanding problem with the late execution of
6789126372Snjlthe various deferred AML opcodes (such as Operation Regions,
6790126372SnjlBuffer Fields, Buffers, and Packages).  If the name string
6791126372Snjlspecified for the name of the new object placed the object in a
6792126372Snjlscope other than the current scope, the initialization/execution
6793126372Snjlof the opcode failed.  The solution to this problem was to
6794126372Snjlimplement a mechanism where the late execution of such opcodes
6795126372Snjldoes not attempt to lookup/create the name a second time in an
6796126372Snjlincorrect scope.  This fixes the "region size computed
6797126372Snjlincorrectly" problem.
6798126372Snjl
6799193267SjkimFixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
6800126372SnjlGlobal Lock AE_BAD_PARAMETER error.
6801126372Snjl
6802126372SnjlFixed several 64-bit issues with prototypes, casting and data
6803126372Snjltypes.
6804126372Snjl
6805126372SnjlRemoved duplicate prototype from acdisasm.h
6806126372Snjl
6807126372SnjlFixed an issue involving EC Operation Region Detach (Shaohua Li)
6808126372Snjl
6809126372SnjlCode and Data Size: Current and previous core subsystem library
6810126372Snjlsizes are shown below.  These are the code and data sizes for the
6811126372Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6812126372Snjlthese values do not include any ACPI driver or OSPM code.  The
6813126372Snjldebug version of the code includes the debug output trace
6814126372Snjlmechanism and has a much larger code and data size.  Note that
6815193267Sjkimthese values will vary depending on the efficiency of the compiler
6816126372Snjland the compiler options used during generation.
6817126372Snjl
6818126372Snjl  Previous Release:
6819167802Sjkim
6820126372Snjl    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6821126372Snjl    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6822126372Snjl  Current Release:
6823126372Snjl    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
6824126372Snjl    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
6825126372Snjl
6826126372Snjl
6827126372Snjl2) Linux:
6828126372Snjl
6829126372SnjlFixed the AcpiOsSleep implementation in osunixxf.c to pass the
6830126372Snjlcorrect sleep time in seconds.
6831126372Snjl
6832126372Snjl----------------------------------------
6833126372Snjl14 July 2003.  Summary of changes for version 20030619:
6834126372Snjl
6835126372Snjl1) ACPI CA Core Subsystem:
6836126372Snjl
6837126372SnjlParse SSDTs in order discovered, as opposed to reverse order
6838126372Snjl(Hrvoje Habjanic)
6839126372Snjl
6840126372SnjlFixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
6841126372SnjlKlausner,
6842126372Snjl   Nate Lawson)
6843126372Snjl
6844126372Snjl
6845126372Snjl2) Linux:
6846126372Snjl
6847126372SnjlDynamically allocate SDT list (suggested by Andi Kleen)
6848126372Snjl
6849126372Snjlproc function return value cleanups (Andi Kleen)
6850126372Snjl
6851126372SnjlCorrectly handle NMI watchdog during long stalls (Andrew Morton)
6852126372Snjl
6853126372SnjlMake it so acpismp=force works (reported by Andrew Morton)
6854126372Snjl
6855126372Snjl
6856126372Snjl----------------------------------------
6857117521Snjl19 June 2003.  Summary of changes for version 20030619:
6858117521Snjl
6859117521Snjl1) ACPI CA Core Subsystem:
6860117521Snjl
6861193267SjkimFix To/FromBCD, eliminating the need for an arch-specific #define.
6862117521Snjl
6863117521SnjlDo not acquire a semaphore in the S5 shutdown path.
6864117521Snjl
6865117521SnjlFix ex_digits_needed for 0. (Takayoshi Kochi)
6866117521Snjl
6867117521SnjlFix sleep/stall code reversal. (Andi Kleen)
6868117521Snjl
6869117521SnjlRevert a change having to do with control method calling
6870117521Snjlsemantics.
6871117521Snjl
6872117521Snjl2) Linux:
6873117521Snjl
6874117521Snjlacpiphp update (Takayoshi Kochi)
6875117521Snjl
6876117521SnjlExport acpi_disabled for sonypi (Stelian Pop)
6877117521Snjl
6878117521SnjlMention acpismp=force in config help
6879117521Snjl
6880117521SnjlRe-add acpitable.c and acpismp=force. This improves backwards
6881167802Sjkim
6882193267Sjkimcompatibility and also cleans up the code to a significant degree.
6883117521Snjl
6884117521SnjlAdd ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
6885117521Snjl
6886117521Snjl----------------------------------------
6887117521Snjl22 May 2003.  Summary of changes for version 20030522:
6888117521Snjl
6889117521Snjl1) ACPI CA Core Subsystem:
6890117521Snjl
6891117521SnjlFound and fixed a reported problem where an AE_NOT_FOUND error
6892117521Snjloccurred occasionally during _BST evaluation.  This turned out to
6893117521Snjlbe an Owner ID allocation issue where a called method did not get
6894193267Sjkima new ID assigned to it.  Eventually, (after 64k calls), the Owner
6895193267SjkimID UINT16 would wraparound so that the ID would be the same as the
6896126372Snjlcaller's and the called method would delete the caller's
6897117521Snjlnamespace.
6898117521Snjl
6899117521SnjlImplemented extended error reporting for control methods that are
6900117521Snjlaborted due to a run-time exception.  Output includes the exact
6901193267SjkimAML instruction that caused the method abort, a dump of the method
6902126372Snjllocals and arguments at the time of the abort, and a trace of all
6903126372Snjlnested control method calls.
6904117521Snjl
6905117521SnjlModified the interpreter to allow the creation of buffers of zero
6906117521Snjllength from the AML code. Implemented new code to ensure that no
6907117521Snjlattempt is made to actually allocate a memory buffer (of length
6908193267Sjkimzero) - instead, a simple buffer object with a NULL buffer pointer
6909126372Snjland length zero is created.  A warning is no longer issued when
6910126372Snjlthe AML attempts to create a zero-length buffer.
6911117521Snjl
6912117521SnjlImplemented a workaround for the "leading asterisk issue" in
6913117521Snjl_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
6914117521Snjlasterisk is automatically removed if present in any HID, UID, or
6915117521SnjlCID strings.  The iASL compiler will still flag this asterisk as
6916117521Snjlan error, however.
6917117521Snjl
6918193267SjkimImplemented full support for _CID methods that return a package of
6919193267Sjkimmultiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
6920126372Snjlnow additionally returns a device _CID list if present.  This
6921126372Snjlrequired a change to the external interface in order to pass an
6922126372SnjlACPI_BUFFER object as a parameter since the _CID list is of
6923117521Snjlvariable length.
6924117521Snjl
6925117521SnjlFixed a problem with the new AE_SAME_HANDLER exception where
6926117521Snjlhandler initialization code did not know about this exception.
6927117521Snjl
6928117521SnjlCode and Data Size: Current and previous core subsystem library
6929117521Snjlsizes are shown below.  These are the code and data sizes for the
6930117521Snjlacpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
6931117521Snjlthese values do not include any ACPI driver or OSPM code.  The
6932117521Snjldebug version of the code includes the debug output trace
6933117521Snjlmechanism and has a much larger code and data size.  Note that
6934193267Sjkimthese values will vary depending on the efficiency of the compiler
6935126372Snjland the compiler options used during generation.
6936117521Snjl
6937117521Snjl  Previous Release (20030509):
6938117521Snjl    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
6939117521Snjl    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
6940117521Snjl  Current Release:
6941117521Snjl    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
6942117521Snjl    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
6943117521Snjl
6944117521Snjl
6945117521Snjl2) Linux:
6946117521Snjl
6947117521SnjlFixed a bug in which we would reinitialize the ACPI interrupt
6948193267Sjkimafter it was already working, thus disabling all ACPI and the IRQs
6949126372Snjlfor any other device sharing the interrupt. (Thanks to Stian
6950117521SnjlJordet)
6951117521Snjl
6952117521SnjlToshiba driver update (John Belmonte)
6953117521Snjl
6954117521SnjlReturn only 0 or 1 for our interrupt handler status (Andrew
6955117521SnjlMorton)
6956117521Snjl
6957117521Snjl
6958117521Snjl3) iASL Compiler:
6959117521Snjl
6960117521SnjlFixed a reported problem where multiple (nested) ElseIf()
6961117521Snjlstatements were not handled correctly by the compiler, resulting
6962117521Snjlin incorrect warnings and incorrect AML code.  This was a problem
6963117521Snjlin both the ASL parser and the code generator.
6964117521Snjl
6965117521Snjl
6966117521Snjl4) Documentation:
6967117521Snjl
6968193267SjkimAdded changes to existing interfaces, new exception codes, and new
6969126372Snjltext concerning reference count object management versus garbage
6970126372Snjlcollection.
6971117521Snjl
6972117521Snjl----------------------------------------
6973117521Snjl09 May 2003.  Summary of changes for version 20030509.
6974117521Snjl
6975117521Snjl
6976117521Snjl1) ACPI CA Core Subsystem:
6977117521Snjl
6978117521SnjlChanged the subsystem initialization sequence to hold off
6979193267Sjkiminstallation of address space handlers until the hardware has been
6980193267Sjkiminitialized and the system has entered ACPI mode.  This is because
6981126372Snjlthe installation of space handlers can cause _REG methods to be
6982193267Sjkimrun.  Previously, the _REG methods could potentially be run before
6983126372SnjlACPI mode was enabled.
6984117521Snjl
6985193267SjkimFixed some memory leak issues related to address space handler and
6986126372Snjlnotify handler installation.  There were some problems with the
6987126372Snjlreference count mechanism caused by the fact that the handler
6988117521Snjlobjects are shared across several namespace objects.
6989117521Snjl
6990117521SnjlFixed a reported problem where reference counts within the
6991117521Snjlnamespace were not properly updated when named objects created by
6992117521Snjlmethod execution were deleted.
6993117521Snjl
6994117521SnjlFixed a reported problem where multiple SSDTs caused a deletion
6995117521Snjlissue during subsystem termination.  Restructured the table data
6996117521Snjlstructures to simplify the linked lists and the related code.
6997117521Snjl
6998117521SnjlFixed a problem where the table ID associated with secondary
6999193267Sjkimtables (SSDTs) was not being propagated into the namespace objects
7000126372Snjlcreated by those tables.  This would only present a problem for
7001126372Snjltables that are unloaded at run-time, however.
7002117521Snjl
7003117521SnjlUpdated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
7004117521Snjltype as the length parameter (instead of UINT32).
7005117521Snjl
7006117521SnjlSolved a long-standing problem where an ALREADY_EXISTS error
7007117521Snjlappears on various systems.  This problem could happen when there
7008117521Snjlare multiple PCI_Config operation regions under a single PCI root
7009117521Snjlbus.  This doesn't happen very frequently, but there are some
7010117521Snjlsystems that do this in the ASL.
7011117521Snjl
7012117521SnjlFixed a reported problem where the internal DeleteNode function
7013117521Snjlwas incorrectly handling the case where a namespace node was the
7014117521Snjlfirst in the parent's child list, and had additional peers (not
7015117521Snjlthe only child, but first in the list of children.)
7016117521Snjl
7017193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7018126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7019126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7020126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7021126372Snjlversion of the code includes the debug output trace mechanism and
7022193267Sjkimhas a much larger code and data size.  Note that these values will
7023126372Snjlvary depending on the efficiency of the compiler and the compiler
7024126372Snjloptions used during generation.
7025117521Snjl
7026117521Snjl  Previous Release
7027117521Snjl    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7028117521Snjl    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7029117521Snjl  Current Release:
7030117521Snjl    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
7031117521Snjl    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
7032117521Snjl
7033117521Snjl
7034117521Snjl2) Linux:
7035117521Snjl
7036117521SnjlAllow ":" in OS override string (Ducrot Bruno)
7037117521Snjl
7038117521SnjlKobject fix (Greg KH)
7039117521Snjl
7040117521Snjl
7041117521Snjl3 iASL Compiler/Disassembler:
7042117521Snjl
7043117521SnjlFixed a problem in the generation of the C source code files (AML
7044117521Snjlis emitted in C source statements for BIOS inclusion) where the
7045193267SjkimAscii dump that appears within a C comment at the end of each line
7046126372Snjlcould cause a compile time error if the AML sequence happens to
7047126372Snjlhave an open comment or close comment sequence embedded.
7048117521Snjl
7049117521Snjl
7050117521Snjl----------------------------------------
7051117521Snjl24 April 2003.  Summary of changes for version 20030424.
7052117521Snjl
7053117521Snjl
7054117521Snjl1) ACPI CA Core Subsystem:
7055117521Snjl
7056117521SnjlSupport for big-endian systems has been implemented.  Most of the
7057193267Sjkimsupport has been invisibly added behind big-endian versions of the
7058126372SnjlACPI_MOVE_* macros.
7059117521Snjl
7060117521SnjlFixed a problem in AcpiHwDisableGpeBlock() and
7061117521SnjlAcpiHwClearGpeBlock() where an incorrect offset was passed to the
7062117521Snjllow level hardware write routine.  The offset parameter was
7063193267Sjkimactually eliminated from the low level read/write routines because
7064126372Snjlthey had become obsolete.
7065117521Snjl
7066117521SnjlFixed a problem where a handler object was deleted twice during
7067117521Snjlthe removal of a fixed event handler.
7068117521Snjl
7069117521Snjl
7070117521Snjl2) Linux:
7071117521Snjl
7072117521SnjlA fix for SMP systems with link devices was contributed by
7073167802Sjkim
7074117521SnjlCompaq's Dan Zink.
7075117521Snjl
7076117521Snjl(2.5) Return whether we handled the interrupt in our IRQ handler.
7077193267Sjkim(Linux ISRs no longer return void, so we can propagate the handler
7078126372Snjlreturn value from the ACPI CA core back to the OS.)
7079117521Snjl
7080117521Snjl
7081167802Sjkim
7082117521Snjl3) Documentation:
7083117521Snjl
7084117521SnjlThe ACPI CA Programmer Reference has been updated to reflect new
7085117521Snjlinterfaces and changes to existing interfaces.
7086117521Snjl
7087117521Snjl----------------------------------------
7088117521Snjl28 March 2003.  Summary of changes for version 20030328.
7089117521Snjl
7090117521Snjl1) ACPI CA Core Subsystem:
7091117521Snjl
7092117521SnjlThe GPE Block Device support has been completed.  New interfaces
7093117521Snjlare AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
7094117521Snjlinterfaces (enable, disable, clear, getstatus) have been split
7095117521Snjlinto separate interfaces for Fixed Events and General Purpose
7096117521SnjlEvents (GPEs) in order to support GPE Block Devices properly.
7097117521Snjl
7098117521SnjlFixed a problem where the error message "Failed to acquire
7099117521Snjlsemaphore" would appear during operations on the embedded
7100117521Snjlcontroller (EC).
7101117521Snjl
7102193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7103126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7104126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7105126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7106126372Snjlversion of the code includes the debug output trace mechanism and
7107193267Sjkimhas a much larger code and data size.  Note that these values will
7108126372Snjlvary depending on the efficiency of the compiler and the compiler
7109126372Snjloptions used during generation.
7110117521Snjl
7111117521Snjl  Previous Release
7112117521Snjl    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7113117521Snjl    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7114117521Snjl  Current Release:
7115117521Snjl    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
7116117521Snjl    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
7117117521Snjl
7118117521Snjl
7119117521Snjl----------------------------------------
7120114237Snjl28 February 2003.  Summary of changes for version 20030228.
7121114237Snjl
7122114237Snjl
7123114237Snjl1) ACPI CA Core Subsystem:
7124114237Snjl
7125114237SnjlThe GPE handling and dispatch code has been completely overhauled
7126114237Snjlin preparation for support of GPE Block Devices (ID ACPI0006).
7127114237SnjlThis affects internal data structures and code only; there should
7128114237Snjlbe no differences visible externally.  One new file has been
7129114237Snjladded, evgpeblk.c
7130114237Snjl
7131114237SnjlThe FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
7132114237Snjlfields that are used to determine the GPE block lengths.  The
7133114237SnjlREGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
7134193267Sjkimstructures are ignored.  This is per the ACPI specification but it
7135126372Snjlisn't very clear.  The full 256 Block 0/1 GPEs are now supported
7136193267Sjkim(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
7137114237Snjl
7138114237SnjlIn the SCI interrupt handler, removed the read of the PM1_CONTROL
7139114237Snjlregister to look at the SCI_EN bit.  On some machines, this read
7140114237Snjlcauses an SMI event and greatly slows down SCI events.  (This may
7141114237Snjlin fact be the cause of slow battery status response on some
7142114237Snjlsystems.)
7143114237Snjl
7144193267SjkimFixed a problem where a store of a NULL string to a package object
7145126372Snjlcould cause the premature deletion of the object.  This was seen
7146126372Snjlduring execution of the battery _BIF method on some systems,
7147126372Snjlresulting in no battery data being returned.
7148114237Snjl
7149114237SnjlAdded AcpiWalkResources interface to simplify parsing of resource
7150114237Snjllists.
7151114237Snjl
7152193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7153126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7154126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7155126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7156126372Snjlversion of the code includes the debug output trace mechanism and
7157193267Sjkimhas a much larger code and data size.  Note that these values will
7158126372Snjlvary depending on the efficiency of the compiler and the compiler
7159126372Snjloptions used during generation.
7160114237Snjl
7161114237Snjl  Previous Release
7162114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7163114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7164114237Snjl  Current Release:
7165114237Snjl    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
7166114237Snjl    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
7167114237Snjl
7168114237Snjl
7169114237Snjl2) Linux
7170114237Snjl
7171114237SnjlS3 fixes (Ole Rohne)
7172114237Snjl
7173114237SnjlUpdate ACPI PHP driver with to use new acpi_walk_resource API
7174114237Snjl(Bjorn Helgaas)
7175114237Snjl
7176114237SnjlAdd S4BIOS support (Pavel Machek)
7177114237Snjl
7178114237SnjlMap in entire table before performing checksum (John Stultz)
7179114237Snjl
7180193267SjkimExpand the mem= cmdline to allow the specification of reserved and
7181126372SnjlACPI DATA blocks (Pavel Machek)
7182114237Snjl
7183114237SnjlNever use ACPI on VISWS
7184114237Snjl
7185114237SnjlFix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
7186114237Snjl
7187114237SnjlRevert a change that allowed P_BLK lengths to be 4 or 5. This is
7188114237Snjlcausing us to think that some systems support C2 when they really
7189114237Snjldon't.
7190114237Snjl
7191114237SnjlDo not count processor objects for non-present CPUs (Thanks to
7192114237SnjlDominik Brodowski)
7193114237Snjl
7194114237Snjl
7195114237Snjl3) iASL Compiler:
7196114237Snjl
7197114237SnjlFixed a problem where ASL include files could not be found and
7198114237Snjlopened.
7199114237Snjl
7200114237SnjlAdded support for the _PDC reserved name.
7201114237Snjl
7202114237Snjl
7203117521Snjl----------------------------------------
7204114237Snjl22 January 2003.  Summary of changes for version 20030122.
7205114237Snjl
7206114237Snjl
7207114237Snjl1) ACPI CA Core Subsystem:
7208114237Snjl
7209114237SnjlAdded a check for constructs of the form:  Store (Local0, Local0)
7210114237Snjlwhere Local0 is not initialized.  Apparently, some BIOS
7211193267Sjkimprogrammers believe that this is a NOOP.  Since this store doesn't
7212126372Snjldo anything anyway, the new prototype behavior will ignore this
7213126372Snjlerror.  This is a case where we can relax the strict checking in
7214126372Snjlthe interpreter in the name of compatibility.
7215114237Snjl
7216114237Snjl
7217114237Snjl2) Linux
7218114237Snjl
7219114237SnjlThe AcpiSrc Source Conversion Utility has been released with the
7220114237SnjlLinux package for the first time.  This is the utility that is
7221193267Sjkimused to convert the ACPI CA base source code to the Linux version.
7222114237Snjl
7223114237Snjl(Both) Handle P_BLK lengths shorter than 6 more gracefully
7224114237Snjl
7225114237Snjl(Both) Move more headers to include/acpi, and delete an unused
7226114237Snjlheader.
7227114237Snjl
7228114237Snjl(Both) Move drivers/acpi/include directory to include/acpi
7229114237Snjl
7230114237Snjl(Both) Boot functions don't use cmdline, so don't pass it around
7231114237Snjl
7232114237Snjl(Both) Remove include of unused header (Adrian Bunk)
7233114237Snjl
7234114237Snjl(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
7235114237Snjlthe
7236193267Sjkimformer now also includes the latter, acpiphp.h only needs the one,
7237126372Snjlnow.
7238114237Snjl
7239193267Sjkim(2.5) Make it possible to select method of bios restoring after S3
7240114237Snjlresume. [=> no more ugly ifdefs] (Pavel Machek)
7241114237Snjl
7242114237Snjl(2.5) Make proc write interfaces work (Pavel Machek)
7243114237Snjl
7244114237Snjl(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
7245114237Snjl
7246114237Snjl(2.5) Break out ACPI Perf code into its own module, under cpufreq
7247114237Snjl(Dominik Brodowski)
7248114237Snjl
7249114237Snjl(2.4) S4BIOS support (Ducrot Bruno)
7250114237Snjl
7251114237Snjl(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
7252114237SnjlVisinoni)
7253114237Snjl
7254114237Snjl
7255114237Snjl3) iASL Compiler:
7256114237Snjl
7257114237SnjlAdded support to disassemble SSDT and PSDTs.
7258114237Snjl
7259114237SnjlImplemented support to obtain SSDTs from the Windows registry if
7260114237Snjlavailable.
7261114237Snjl
7262114237Snjl
7263102550Siwasaki----------------------------------------
7264114237Snjl09 January 2003.  Summary of changes for version 20030109.
7265114237Snjl
7266114237Snjl1) ACPI CA Core Subsystem:
7267114237Snjl
7268114237SnjlChanged the behavior of the internal Buffer-to-String conversion
7269193267Sjkimfunction.  The current ACPI specification states that the contents
7270126372Snjlof the buffer are "converted to a string of two-character
7271126372Snjlhexadecimal numbers, each separated by a space".  Unfortunately,
7272193267Sjkimthis definition is not backwards compatible with existing ACPI 1.0
7273193267Sjkimimplementations (although the behavior was not defined in the ACPI
7274126372Snjl1.0 specification).  The new behavior simply copies data from the
7275193267Sjkimbuffer to the string until a null character is found or the end of
7276126372Snjlthe buffer is reached.  The new String object is always null
7277126372Snjlterminated.  This problem was seen during the generation of _BIF
7278126372Snjlbattery data where incorrect strings were returned for battery
7279126372Snjltype, etc.  This will also require an errata to the ACPI
7280126372Snjlspecification.
7281114237Snjl
7282114237SnjlRenamed all instances of NATIVE_UINT and NATIVE_INT to
7283114237SnjlACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
7284114237Snjl
7285114237SnjlCopyright in all module headers (both Linux and non-Linux) has be
7286114237Snjlupdated to 2003.
7287114237Snjl
7288193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7289126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7290126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7291126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7292126372Snjlversion of the code includes the debug output trace mechanism and
7293193267Sjkimhas a much larger code and data size.  Note that these values will
7294126372Snjlvary depending on the efficiency of the compiler and the compiler
7295126372Snjloptions used during generation.
7296114237Snjl
7297114237Snjl  Previous Release
7298114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7299114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7300114237Snjl  Current Release:
7301114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7302114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7303114237Snjl
7304114237Snjl
7305114237Snjl2) Linux
7306114237Snjl
7307114237SnjlFixed an oops on module insertion/removal (Matthew Tippett)
7308114237Snjl
7309114237Snjl(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
7310114237Snjl
7311114237Snjl(2.5) Replace pr_debug (Randy Dunlap)
7312114237Snjl
7313114237Snjl(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
7314114237Snjl
7315114237Snjl(Both) Eliminate spawning of thread from timer callback, in favor
7316114237Snjlof schedule_work()
7317114237Snjl
7318114237Snjl(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
7319114237Snjl
7320114237Snjl(Both) Added define for Fixed Function HW region (Matthew Wilcox)
7321114237Snjl
7322114237Snjl(Both) Add missing statics to button.c (Pavel Machek)
7323114237Snjl
7324114237SnjlSeveral changes have been made to the source code translation
7325114237Snjlutility that generates the Linux Code in order to make the code
7326114237Snjlmore "Linux-like":
7327114237Snjl
7328114237SnjlAll typedefs on structs and unions have been removed in keeping
7329114237Snjlwith the Linux coding style.
7330114237Snjl
7331114237SnjlRemoved the non-Linux SourceSafe module revision number from each
7332114237Snjlmodule header.
7333114237Snjl
7334114237SnjlCompleted major overhaul of symbols to be lowercased for linux.
7335114237SnjlDoubled the number of symbols that are lowercased.
7336114237Snjl
7337114237SnjlFixed a problem where identifiers within procedure headers and
7338114237Snjlwithin quotes were not fully lower cased (they were left with a
7339114237Snjlstarting capital.)
7340114237Snjl
7341114237SnjlSome C macros whose only purpose is to allow the generation of 16-
7342114237Snjlbit code are now completely removed in the Linux code, increasing
7343114237Snjlreadability and maintainability.
7344114237Snjl
7345114237Snjl----------------------------------------
7346114237Snjl
7347114237Snjl12 December 2002.  Summary of changes for version 20021212.
7348114237Snjl
7349114237Snjl
7350114237Snjl1) ACPI CA Core Subsystem:
7351114237Snjl
7352114237SnjlFixed a problem where the creation of a zero-length AML Buffer
7353114237Snjlwould cause a fault.
7354114237Snjl
7355193267SjkimFixed a problem where a Buffer object that pointed to a static AML
7356126372Snjlbuffer (in an ACPI table) could inadvertently be deleted, causing
7357126372Snjlmemory corruption.
7358114237Snjl
7359114237SnjlFixed a problem where a user buffer (passed in to the external
7360114237SnjlACPI CA interfaces) could be overwritten if the buffer was too
7361114237Snjlsmall to complete the operation, causing memory corruption.
7362114237Snjl
7363114237SnjlFixed a problem in the Buffer-to-String conversion code where a
7364114237Snjlstring of length one was always returned, regardless of the size
7365114237Snjlof the input Buffer object.
7366114237Snjl
7367114237SnjlRemoved the NATIVE_CHAR data type across the entire source due to
7368114237Snjllack of need and lack of consistent use.
7369114237Snjl
7370193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7371126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7372126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7373126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7374126372Snjlversion of the code includes the debug output trace mechanism and
7375193267Sjkimhas a much larger code and data size.  Note that these values will
7376126372Snjlvary depending on the efficiency of the compiler and the compiler
7377126372Snjloptions used during generation.
7378114237Snjl
7379114237Snjl  Previous Release
7380114237Snjl    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7381114237Snjl    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7382114237Snjl  Current Release:
7383114237Snjl    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
7384114237Snjl    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
7385114237Snjl
7386114237Snjl
7387114237Snjl----------------------------------------
7388114237Snjl05 December 2002.  Summary of changes for version 20021205.
7389114237Snjl
7390114237Snjl1) ACPI CA Core Subsystem:
7391114237Snjl
7392114237SnjlFixed a problem where a store to a String or Buffer object could
7393114237Snjlcause corruption of the DSDT if the object type being stored was
7394114237Snjlthe same as the target object type and the length of the object
7395114237Snjlbeing stored was equal to or smaller than the original (existing)
7396114237Snjltarget object.  This was seen to cause corruption of battery _BIF
7397114237Snjlbuffers if the _BIF method modified the buffer on the fly.
7398114237Snjl
7399193267SjkimFixed a problem where an internal error was generated if a control
7400126372Snjlmethod invocation was used in an OperationRegion, Buffer, or
7401126372SnjlPackage declaration.  This was caused by the deferred parsing of
7402126372Snjlthe control method and thus the deferred creation of the internal
7403126372Snjlmethod object.  The solution to this problem was to create the
7404126372Snjlinternal method object at the moment the method is encountered in
7405126372Snjlthe first pass - so that subsequent references to the method will
7406126372Snjlable to obtain the required parameter count and thus properly
7407126372Snjlparse the method invocation.  This problem presented itself as an
7408126372SnjlAE_AML_INTERNAL during the pass 1 parse phase during table load.
7409114237Snjl
7410114237SnjlFixed a problem where the internal String object copy routine did
7411193267Sjkimnot always allocate sufficient memory for the target String object
7412126372Snjland caused memory corruption.  This problem was seen to cause
7413126372Snjl"Allocation already present in list!" errors as memory allocation
7414126372Snjlbecame corrupted.
7415114237Snjl
7416193267SjkimImplemented a new function for the evaluation of namespace objects
7417126372Snjlthat allows the specification of the allowable return object
7418126372Snjltypes.  This simplifies a lot of code that checks for a return
7419126372Snjlobject of one or more specific objects returned from the
7420114237Snjlevaluation (such as _STA, etc.)  This may become and external
7421114237Snjlfunction if it would be useful to ACPI-related drivers.
7422114237Snjl
7423114237SnjlCompleted another round of prefixing #defines with "ACPI_" for
7424114237Snjlclarity.
7425114237Snjl
7426114237SnjlCompleted additional code restructuring to allow more modular
7427114237Snjllinking for iASL compiler and AcpiExec.  Several files were split
7428114237Snjlcreating new files.  New files:  nsparse.c dsinit.c evgpe.c
7429114237Snjl
7430114237SnjlImplemented an abort mechanism to terminate an executing control
7431193267Sjkimmethod via the AML debugger.  This feature is useful for debugging
7432126372Snjlcontrol methods that depend (wait) for specific hardware
7433126372Snjlresponses.
7434114237Snjl
7435193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7436126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7437126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7438126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7439126372Snjlversion of the code includes the debug output trace mechanism and
7440193267Sjkimhas a much larger code and data size.  Note that these values will
7441126372Snjlvary depending on the efficiency of the compiler and the compiler
7442126372Snjloptions used during generation.
7443114237Snjl
7444114237Snjl  Previous Release
7445114237Snjl    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7446114237Snjl    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7447114237Snjl  Current Release:
7448114237Snjl    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
7449114237Snjl    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
7450114237Snjl
7451114237Snjl
7452114237Snjl2) iASL Compiler/Disassembler
7453114237Snjl
7454114237SnjlFixed a compiler code generation problem for "Interrupt" Resource
7455114237SnjlDescriptors.  If specified in the ASL, the optional "Resource
7456114237SnjlSource Index" and "Resource Source" fields were not inserted into
7457114237Snjlthe correct location within the AML resource descriptor, creating
7458114237Snjlan invalid descriptor.
7459114237Snjl
7460193267SjkimFixed a disassembler problem for "Interrupt" resource descriptors.
7461126372SnjlThe optional "Resource Source Index" and "Resource Source" fields
7462126372Snjlwere ignored.
7463114237Snjl
7464114237Snjl
7465114237Snjl----------------------------------------
7466114237Snjl22 November 2002.  Summary of changes for version 20021122.
7467114237Snjl
7468114237Snjl
7469114237Snjl1) ACPI CA Core Subsystem:
7470114237Snjl
7471114237SnjlFixed a reported problem where an object stored to a Method Local
7472114237Snjlor Arg was not copied to a new object during the store - the
7473114237Snjlobject pointer was simply copied to the Local/Arg.  This caused
7474114237Snjlall subsequent operations on the Local/Arg to also affect the
7475114237Snjloriginal source of the store operation.
7476114237Snjl
7477114237SnjlFixed a problem where a store operation to a Method Local or Arg
7478114237Snjlwas not completed properly if the Local/Arg contained a reference
7479114237Snjl(from RefOf) to a named field.  The general-purpose store-to-
7480114237Snjlnamespace-node code is now used so that this case is handled
7481114237Snjlautomatically.
7482114237Snjl
7483193267SjkimFixed a problem where the internal object copy routine would cause
7484126372Snjla protection fault if the object being copied was a Package and
7485126372Snjlcontained either 1) a NULL package element or 2) a nested sub-
7486114237Snjlpackage.
7487114237Snjl
7488114237SnjlFixed a problem with the GPE initialization that resulted from an
7489114237Snjlambiguity in the ACPI specification.  One section of the
7490114237Snjlspecification states that both the address and length of the GPE
7491193267Sjkimblock must be zero if the block is not supported.  Another section
7492126372Snjlimplies that only the address need be zero if the block is not
7493193267Sjkimsupported.  The code has been changed so that both the address and
7494126372Snjlthe length must be non-zero to indicate a valid GPE block (i.e.,
7495126372Snjlif either the address or the length is zero, the GPE block is
7496126372Snjlinvalid.)
7497114237Snjl
7498193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7499126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7500126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7501126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7502126372Snjlversion of the code includes the debug output trace mechanism and
7503193267Sjkimhas a much larger code and data size.  Note that these values will
7504126372Snjlvary depending on the efficiency of the compiler and the compiler
7505126372Snjloptions used during generation.
7506114237Snjl
7507114237Snjl  Previous Release
7508114237Snjl    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7509114237Snjl    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7510114237Snjl  Current Release:
7511114237Snjl    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7512114237Snjl    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
7513114237Snjl
7514114237Snjl
7515114237Snjl2) Linux
7516114237Snjl
7517114237SnjlCleaned up EC driver. Exported an external EC read/write
7518114237Snjlinterface. By going through this, other drivers (most notably
7519114237Snjlsonypi) will be able to serialize access to the EC.
7520114237Snjl
7521114237Snjl
7522114237Snjl3) iASL Compiler/Disassembler
7523114237Snjl
7524114237SnjlImplemented support to optionally generate include files for both
7525114237SnjlASM and C (the -i switch).  This simplifies BIOS development by
7526114237Snjlautomatically creating include files that contain external
7527114237Snjldeclarations for the symbols that are created within the
7528167802Sjkim
7529114237Snjl(optionally generated) ASM and C AML source files.
7530114237Snjl
7531114237Snjl
7532114237Snjl----------------------------------------
7533107325Siwasaki15 November 2002.  Summary of changes for version 20021115.
7534104470Siwasaki
7535107325Siwasaki1) ACPI CA Core Subsystem:
7536107325Siwasaki
7537114237SnjlFixed a memory leak problem where an error during resolution of
7538167802Sjkim
7539114237Snjlmethod arguments during a method invocation from another method
7540114237Snjlfailed to cleanup properly by deleting all successfully resolved
7541114237Snjlargument objects.
7542107325Siwasaki
7543114237SnjlFixed a problem where the target of the Index() operator was not
7544114237Snjlcorrectly constructed if the source object was a package.  This
7545114237Snjlproblem has not been detected because the use of a target operand
7546114237Snjlwith Index() is very rare.
7547107325Siwasaki
7548107325SiwasakiFixed a problem with the Index() operator where an attempt was
7549107325Siwasakimade to delete the operand objects twice.
7550107325Siwasaki
7551107325SiwasakiFixed a problem where an attempt was made to delete an operand
7552114237Snjltwice during execution of the CondRefOf() operator if the target
7553114237Snjldid not exist.
7554107325Siwasaki
7555114237SnjlImplemented the first of perhaps several internal create object
7556193267Sjkimfunctions that create and initialize a specific object type.  This
7557126372Snjlconsolidates duplicated code wherever the object is created, thus
7558126372Snjlshrinking the size of the subsystem.
7559107325Siwasaki
7560114237SnjlImplemented improved debug/error messages for errors that occur
7561114237Snjlduring nested method invocations.  All executing method pathnames
7562193267Sjkimare displayed (with the error) as the call stack is unwound - thus
7563126372Snjlsimplifying debug.
7564107325Siwasaki
7565107325SiwasakiFixed a problem introduced in the 10/02 release that caused
7566114237Snjlpremature deletion of a buffer object if a buffer was used as an
7567114237SnjlASL operand where an integer operand is required (Thus causing an
7568193267Sjkimimplicit object conversion from Buffer to Integer.)  The change in
7569126372Snjlthe 10/02 release was attempting to fix a memory leak (albeit
7570114237Snjlincorrectly.)
7571107325Siwasaki
7572193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7573126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7574126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7575126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7576126372Snjlversion of the code includes the debug output trace mechanism and
7577193267Sjkimhas a much larger code and data size.  Note that these values will
7578126372Snjlvary depending on the efficiency of the compiler and the compiler
7579126372Snjloptions used during generation.
7580107325Siwasaki
7581107325Siwasaki  Previous Release
7582107325Siwasaki    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7583107325Siwasaki    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7584107325Siwasaki  Current Release:
7585107325Siwasaki    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
7586107325Siwasaki    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
7587107325Siwasaki
7588107325Siwasaki
7589107325Siwasaki2) Linux
7590107325Siwasaki
7591114237SnjlChanged the implementation of the ACPI semaphores to use down()
7592114237Snjlinstead of down_interruptable().  It is important that the
7593114237Snjlexecution of ACPI control methods not be interrupted by signals.
7594114237SnjlMethods must run to completion, or the system may be left in an
7595114237Snjlunknown/unstable state.
7596107325Siwasaki
7597193267SjkimFixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
7598126372Snjl(Shawn Starr)
7599107325Siwasaki
7600107325Siwasaki
7601107325Siwasaki3) iASL Compiler/Disassembler
7602107325Siwasaki
7603107325Siwasaki
7604114237SnjlChanged the default location of output files.  All output files
7605114237Snjlare now placed in the current directory by default instead of in
7606114237Snjlthe directory of the source file.  This change may affect some
7607114237Snjlexisting makefiles, but it brings the behavior of the compiler in
7608114237Snjlline with other similar tools.  The location of the output files
7609114237Snjlcan be overridden with the -p command line switch.
7610107325Siwasaki
7611114237Snjl
7612107325Siwasaki----------------------------------------
7613107325Siwasaki11 November 2002.  Summary of changes for version 20021111.
7614107325Siwasaki
7615107325Siwasaki
7616114237Snjl0) ACPI Specification 2.0B is released and is now available at:
7617114237Snjlhttp://www.acpi.info/index.html
7618107325Siwasaki
7619107325Siwasaki
7620107325Siwasaki1) ACPI CA Core Subsystem:
7621107325Siwasaki
7622107325SiwasakiImplemented support for the ACPI 2.0 SMBus Operation Regions.
7623114237SnjlThis includes the early detection and handoff of the request to
7624114237Snjlthe SMBus region handler (avoiding all of the complex field
7625107325Siwasakisupport code), and support for the bidirectional return packet
7626107325Siwasakifrom an SMBus write operation.  This paves the way for the
7627107325Siwasakidevelopment of SMBus drivers in each host operating system.
7628107325Siwasaki
7629107325SiwasakiFixed a problem where the semaphore WAIT_FOREVER constant was
7630107325Siwasakidefined as 32 bits, but must be 16 bits according to the ACPI
7631107325Siwasakispecification.  This had the side effect of causing ASL
7632107325SiwasakiMutex/Event timeouts even though the ASL code requested a wait
7633107325Siwasakiforever.  Changed all internal references to the ACPI timeout
7634193267Sjkimparameter to 16 bits to prevent future problems.  Changed the name
7635126372Snjlof WAIT_FOREVER to ACPI_WAIT_FOREVER.
7636107325Siwasaki
7637193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7638126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7639126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7640126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7641126372Snjlversion of the code includes the debug output trace mechanism and
7642193267Sjkimhas a much larger code and data size.  Note that these values will
7643126372Snjlvary depending on the efficiency of the compiler and the compiler
7644126372Snjloptions used during generation.
7645107325Siwasaki
7646107325Siwasaki  Previous Release
7647107325Siwasaki    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7648107325Siwasaki    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7649107325Siwasaki  Current Release:
7650107325Siwasaki    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
7651107325Siwasaki    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
7652107325Siwasaki
7653107325Siwasaki
7654107325Siwasaki2) Linux
7655107325Siwasaki
7656107325SiwasakiModule loading/unloading fixes (John Cagle)
7657107325Siwasaki
7658107325Siwasaki
7659107325Siwasaki3) iASL Compiler/Disassembler
7660107325Siwasaki
7661107325SiwasakiAdded support for the SMBBlockProcessCall keyword (ACPI 2.0)
7662107325Siwasaki
7663107325SiwasakiImplemented support for the disassembly of all SMBus protocol
7664107325Siwasakikeywords (SMBQuick, SMBWord, etc.)
7665107325Siwasaki
7666107325Siwasaki----------------------------------------
7667107325Siwasaki01 November 2002.  Summary of changes for version 20021101.
7668107325Siwasaki
7669107325Siwasaki
7670107325Siwasaki1) ACPI CA Core Subsystem:
7671107325Siwasaki
7672193267SjkimFixed a problem where platforms that have a GPE1 block but no GPE0
7673126372Snjlblock were not handled correctly.  This resulted in a "GPE
7674114237Snjloverlap" error message.  GPE0 is no longer required.
7675107325Siwasaki
7676107325SiwasakiRemoved code added in the previous release that inserted nodes
7677114237Snjlinto the namespace in alphabetical order.  This caused some side-
7678114237Snjleffects on various machines.  The root cause of the problem is
7679114237Snjlstill under investigation since in theory, the internal ordering
7680114237Snjlof the namespace nodes should not matter.
7681107325Siwasaki
7682107325Siwasaki
7683114237SnjlEnhanced error reporting for the case where a named object is not
7684114237Snjlfound during control method execution.  The full ACPI namepath
7685114237Snjl(name reference) of the object that was not found is displayed in
7686114237Snjlthis case.
7687107325Siwasaki
7688193267SjkimNote: as a result of the overhaul of the namespace object types in
7689126372Snjlthe previous release, the namespace nodes for the predefined
7690114237Snjlscopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
7691114237Snjlinstead of ACPI_TYPE_ANY.  This simplifies the namespace
7692114237Snjlmanagement code but may affect code that walks the namespace tree
7693114237Snjllooking for specific object types.
7694114237Snjl
7695193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7696126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7697126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7698126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7699126372Snjlversion of the code includes the debug output trace mechanism and
7700193267Sjkimhas a much larger code and data size.  Note that these values will
7701126372Snjlvary depending on the efficiency of the compiler and the compiler
7702126372Snjloptions used during generation.
7703107325Siwasaki
7704107325Siwasaki  Previous Release
7705107325Siwasaki    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7706107325Siwasaki    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7707107325Siwasaki  Current Release:
7708107325Siwasaki    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
7709107325Siwasaki    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
7710107325Siwasaki
7711107325Siwasaki
7712107325Siwasaki2) Linux
7713107325Siwasaki
7714107325SiwasakiFixed a problem introduced in the previous release where the
7715193267SjkimProcessor and Thermal objects were not recognized and installed in
7716193267Sjkim/proc.  This was related to the scope type change described above.
7717107325Siwasaki
7718107325Siwasaki
7719107325Siwasaki3) iASL Compiler/Disassembler
7720107325Siwasaki
7721114237SnjlImplemented the -g option to get all of the required ACPI tables
7722114237Snjlfrom the registry and save them to files (Windows version of the
7723193267Sjkimcompiler only.)  The required tables are the FADT, FACS, and DSDT.
7724107325Siwasaki
7725114237SnjlAdded ACPI table checksum validation during table disassembly in
7726114237Snjlorder to catch corrupted tables.
7727107325Siwasaki
7728107325Siwasaki
7729107325Siwasaki----------------------------------------
7730107325Siwasaki22 October 2002.  Summary of changes for version 20021022.
7731107325Siwasaki
7732107325Siwasaki1) ACPI CA Core Subsystem:
7733107325Siwasaki
7734114237SnjlImplemented a restriction on the Scope operator that the target
7735114237Snjlmust already exist in the namespace at the time the operator is
7736114237Snjlencountered (during table load or method execution).  In other
7737114237Snjlwords, forward references are not allowed and Scope() cannot
7738114237Snjlcreate a new object. This changes the previous behavior where the
7739193267Sjkiminterpreter would create the name if not found.  This new behavior
7740126372Snjlcorrectly enables the search-to-root algorithm during namespace
7741126372Snjllookup of the target name.  Because of this upsearch, this fixes
7742126372Snjlthe known Compaq _SB_.OKEC problem and makes both the AML
7743126372Snjlinterpreter and iASL compiler compatible with other ACPI
7744114237Snjlimplementations.
7745107325Siwasaki
7746114237SnjlCompleted a major overhaul of the internal ACPI object types for
7747114237Snjlthe ACPI Namespace and the associated operand objects.  Many of
7748114237Snjlthese types had become obsolete with the introduction of the two-
7749114237Snjlpass namespace load.  This cleanup simplifies the code and makes
7750114237Snjlthe entire namespace load mechanism much clearer and easier to
7751114237Snjlunderstand.
7752107325Siwasaki
7753114237SnjlImproved debug output for tracking scope opening/closing to help
7754114237Snjldiagnose scoping issues.  The old scope name as well as the new
7755114237Snjlscope name are displayed.  Also improved error messages for
7756114237Snjlproblems with ASL Mutex objects and error messages for GPE
7757114237Snjlproblems.
7758107325Siwasaki
7759107325SiwasakiCleaned up the namespace dump code, removed obsolete code.
7760107325Siwasaki
7761114237SnjlAll string output (for all namespace/object dumps) now uses the
7762193267Sjkimcommon ACPI string output procedure which handles escapes properly
7763126372Snjland does not emit non-printable characters.
7764107325Siwasaki
7765107325SiwasakiFixed some issues with constants in the 64-bit version of the
7766107325Siwasakilocal C library (utclib.c)
7767107325Siwasaki
7768107325Siwasaki
7769107325Siwasaki2) Linux
7770107325Siwasaki
7771107325SiwasakiEC Driver:  No longer attempts to acquire the Global Lock at
7772107325Siwasakiinterrupt level.
7773107325Siwasaki
7774107325Siwasaki
7775107325Siwasaki3) iASL Compiler/Disassembler
7776107325Siwasaki
7777193267SjkimImplemented ACPI 2.0B grammar change that disallows all Type 1 and
7778126372Snjl2 opcodes outside of a control method.  This means that the
7779114237Snjl"executable" operators (versus the "namespace" operators) cannot
7780193267Sjkimbe used at the table level; they can only be used within a control
7781126372Snjlmethod.
7782107325Siwasaki
7783107325SiwasakiImplemented the restriction on the Scope() operator where the
7784107325Siwasakitarget must already exist in the namespace at the time the
7785114237Snjloperator is encountered (during ASL compilation). In other words,
7786193267Sjkimforward references are not allowed and Scope() cannot create a new
7787126372Snjlobject.  This makes the iASL compiler compatible with other ACPI
7788193267Sjkimimplementations and makes the Scope() implementation adhere to the
7789126372SnjlACPI specification.
7790107325Siwasaki
7791193267SjkimFixed a problem where namepath optimization for the Alias operator
7792193267Sjkimwas optimizing the wrong path (of the two namepaths.)  This caused
7793126372Snjla "Missing alias link" error message.
7794107325Siwasaki
7795114237SnjlFixed a problem where an "unknown reserved name" warning could be
7796114237Snjlincorrectly generated for names like "_SB" when the trailing
7797114237Snjlunderscore is not used in the original ASL.
7798107325Siwasaki
7799107325SiwasakiFixed a problem where the reserved name check did not handle
7800114237SnjlNamePaths with multiple NameSegs correctly.  The first nameseg of
7801114237Snjlthe NamePath was examined instead of the last NameSeg.
7802107325Siwasaki
7803107325Siwasaki
7804107325Siwasaki----------------------------------------
7805107325Siwasaki
7806104470Siwasaki02 October 2002.  Summary of changes for this release.
7807104470Siwasaki
7808104470Siwasaki
7809104470Siwasaki1) ACPI CA Core Subsystem version 20021002:
7810104470Siwasaki
7811104470SiwasakiFixed a problem where a store/copy of a string to an existing
7812193267Sjkimstring did not always set the string length properly in the String
7813126372Snjlobject.
7814104470Siwasaki
7815104470SiwasakiFixed a reported problem with the ToString operator where the
7816193267Sjkimbehavior was identical to the ToHexString operator instead of just
7817126372Snjlsimply converting a raw buffer to a string data type.
7818104470Siwasaki
7819104470SiwasakiFixed a problem where CopyObject and the other "explicit"
7820193267Sjkimconversion operators were not updating the internal namespace node
7821126372Snjltype as part of the store operation.
7822104470Siwasaki
7823104470SiwasakiFixed a memory leak during implicit source operand conversion
7824193267Sjkimwhere the original object was not deleted if it was converted to a
7825126372Snjlnew object of a different type.
7826104470Siwasaki
7827193267SjkimEnhanced error messages for all problems associated with namespace
7828193267Sjkimlookups.  Common procedure generates and prints the lookup name as
7829126372Snjlwell as the formatted status.
7830104470Siwasaki
7831104470SiwasakiCompleted implementation of a new design for the Alias support
7832193267Sjkimwithin the namespace.  The existing design did not handle the case
7833193267Sjkimwhere a new object was assigned to one of the two names due to the
7834193267Sjkimuse of an explicit conversion operator, resulting in the two names
7835126372Snjlpointing to two different objects.  The new design simply points
7836126372Snjlthe Alias name to the original name node - not to the object.
7837193267SjkimThis results in a level of indirection that must be handled in the
7838126372Snjlname resolution mechanism.
7839104470Siwasaki
7840193267SjkimCode and Data Size: Current core subsystem library sizes are shown
7841126372Snjlbelow.  These are the code and data sizes for the acpica.lib
7842126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
7843126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
7844126372Snjlversion of the code includes the debug output trace mechanism and
7845193267Sjkimhas a larger code and data size.  Note that these values will vary
7846126372Snjldepending on the efficiency of the compiler and the compiler
7847126372Snjloptions used during generation.
7848104470Siwasaki
7849104470Siwasaki  Previous Release
7850104470Siwasaki    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
7851104470Siwasaki    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
7852104470Siwasaki  Current Release:
7853104470Siwasaki    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
7854104470Siwasaki    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
7855104470Siwasaki
7856104470Siwasaki
7857104470Siwasaki2) Linux
7858104470Siwasaki
7859104470SiwasakiInitialize thermal driver's timer before it is used. (Knut
7860104470SiwasakiNeumann)
7861104470Siwasaki
7862104470SiwasakiAllow handling negative celsius values. (Kochi Takayoshi)
7863104470Siwasaki
7864114237SnjlFix thermal management and make trip points. R/W (Pavel Machek)
7865104470Siwasaki
7866104470SiwasakiFix /proc/acpi/sleep. (P. Christeas)
7867104470Siwasaki
7868104470SiwasakiIA64 fixes. (David Mosberger)
7869104470Siwasaki
7870104470SiwasakiFix reversed logic in blacklist code. (Sergio Monteiro Basto)
7871104470Siwasaki
7872104470SiwasakiReplace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
7873104470SiwasakiBrodowski)
7874104470Siwasaki
7875104470Siwasaki
7876104470Siwasaki3) iASL Compiler/Disassembler
7877104470Siwasaki
7878104470SiwasakiClarified some warning/error messages.
7879104470Siwasaki
7880104470Siwasaki
7881104470Siwasaki----------------------------------------
7882104470Siwasaki18 September 2002.  Summary of changes for this release.
7883104470Siwasaki
7884104470Siwasaki
7885104470Siwasaki1) ACPI CA Core Subsystem version 20020918:
7886104470Siwasaki
7887114237SnjlFixed a reported problem with reference chaining (via the Index()
7888193267Sjkimand RefOf() operators) in the ObjectType() and SizeOf() operators.
7889126372SnjlThe definition of these operators includes the dereferencing of
7890126372Snjlall chained references to return information on the base object.
7891104470Siwasaki
7892104470SiwasakiFixed a problem with stores to indexed package elements - the
7893104470Siwasakiexisting code would not complete the store if an "implicit
7894114237Snjlconversion" was not performed.  In other words, if the existing
7895114237Snjlobject (package element) was to be replaced completely, the code
7896114237Snjldidn't handle this case.
7897104470Siwasaki
7898104470SiwasakiRelaxed typechecking on the ASL "Scope" operator to allow the
7899104470Siwasakitarget name to refer to an object of type Integer, String, or
7900104470SiwasakiBuffer, in addition to the scoping object types (Device,
7901104470Siwasakipredefined Scopes, Processor, PowerResource, and ThermalZone.)
7902114237SnjlThis allows existing AML code that has workarounds for a bug in
7903193267SjkimWindows to function properly.  A warning is issued, however.  This
7904126372Snjlaffects both the AML interpreter and the iASL compiler. Below is
7905126372Snjlan example of this type of ASL code:
7906104470Siwasaki
7907104470Siwasaki      Name(DEB,0x00)
7908104470Siwasaki      Scope(DEB)
7909104470Siwasaki      {
7910104470Siwasaki
7911114237SnjlFixed some reported problems with 64-bit integer support in the
7912114237Snjllocal implementation of C library functions (clib.c)
7913104470Siwasaki
7914104470Siwasaki
7915104470Siwasaki2) Linux
7916104470Siwasaki
7917104470SiwasakiUse ACPI fix map region instead of IOAPIC region, since it is
7918104470Siwasakiundefined in non-SMP.
7919104470Siwasaki
7920114237SnjlEnsure that the SCI has the proper polarity and trigger, even on
7921114237Snjlsystems that do not have an interrupt override entry in the MADT.
7922104470Siwasaki
7923104470Siwasaki2.5 big driver reorganization (Pat Mochel)
7924104470Siwasaki
7925104470SiwasakiUse early table mapping code from acpitable.c (Andi Kleen)
7926104470Siwasaki
7927104470SiwasakiNew blacklist entries (Andi Kleen)
7928104470Siwasaki
7929114237SnjlBlacklist improvements. Split blacklist code out into a separate
7930114237Snjlfile. Move checking the blacklist to very early. Previously, we
7931114237Snjlwould use ACPI tables, and then halfway through init, check the
7932114237Snjlblacklist -- too late. Now, it's early enough to completely fall-
7933114237Snjlback to non-ACPI.
7934104470Siwasaki
7935104470Siwasaki
7936104470Siwasaki3) iASL Compiler/Disassembler version 20020918:
7937104470Siwasaki
7938114237SnjlFixed a problem where the typechecking code didn't know that an
7939114237Snjlalias could point to a method.  In other words, aliases were not
7940114237Snjlbeing dereferenced during typechecking.
7941104470Siwasaki
7942104470Siwasaki
7943104470Siwasaki----------------------------------------
7944104470Siwasaki29 August 2002.  Summary of changes for this release.
7945104470Siwasaki
7946104470Siwasaki1) ACPI CA Core Subsystem Version 20020829:
7947104470Siwasaki
7948114237SnjlIf the target of a Scope() operator already exists, it must be an
7949114237Snjlobject type that actually opens a scope -- such as a Device,
7950193267SjkimMethod, Scope, etc.  This is a fatal runtime error.  Similar error
7951126372Snjlcheck has been added to the iASL compiler also.
7952104470Siwasaki
7953114237SnjlTightened up the namespace load to disallow multiple names in the
7954114237Snjlsame scope.  This previously was allowed if both objects were of
7955114237Snjlthe same type.  (i.e., a lookup was the same as entering a new
7956114237Snjlname).
7957104470Siwasaki
7958104470Siwasaki
7959104470Siwasaki2) Linux
7960104470Siwasaki
7961104470SiwasakiEnsure that the ACPI interrupt has the proper trigger and
7962104470Siwasakipolarity.
7963104470Siwasaki
7964104470Siwasakilocal_irq_disable is extraneous. (Matthew Wilcox)
7965104470Siwasaki
7966104470SiwasakiMake "acpi=off" actually do what it says, and not use the ACPI
7967104470Siwasakiinterpreter *or* the tables.
7968104470Siwasaki
7969193267SjkimAdded arch-neutral support for parsing SLIT and SRAT tables (Kochi
7970126372SnjlTakayoshi)
7971104470Siwasaki
7972104470Siwasaki
7973104470Siwasaki3) iASL Compiler/Disassembler  Version 20020829:
7974104470Siwasaki
7975104470SiwasakiImplemented namepath optimization for name declarations.  For
7976104470Siwasakiexample, a declaration like "Method (\_SB_.ABCD)" would get
7977104470Siwasakioptimized to "Method (ABCD)" if the declaration is within the
7978104470Siwasaki\_SB_ scope.  This optimization is in addition to the named
7979104470Siwasakireference path optimization first released in the previous
7980114237Snjlversion. This would seem to complete all possible optimizations
7981114237Snjlfor namepaths within the ASL/AML.
7982104470Siwasaki
7983114237SnjlIf the target of a Scope() operator already exists, it must be an
7984114237Snjlobject type that actually opens a scope -- such as a Device,
7985114237SnjlMethod, Scope, etc.
7986104470Siwasaki
7987114237SnjlImplemented a check and warning for unreachable code in the same
7988114237Snjlblock below a Return() statement.
7989104470Siwasaki
7990114237SnjlFixed a problem where the listing file was not generated if the
7991114237Snjlcompiler aborted if the maximum error count was exceeded (200).
7992104470Siwasaki
7993193267SjkimFixed a problem where the typechecking of method return values was
7994126372Snjlbroken.  This includes the check for a return value when the
7995114237Snjlmethod is invoked as a TermArg (a return value is expected.)
7996104470Siwasaki
7997104470SiwasakiFixed a reported problem where EOF conditions during a quoted
7998104470Siwasakistring or comment caused a fault.
7999104470Siwasaki
8000104470Siwasaki
8001104470Siwasaki----------------------------------------
8002102550Siwasaki15 August 2002.  Summary of changes for this release.
8003102550Siwasaki
8004102550Siwasaki1) ACPI CA Core Subsystem Version 20020815:
8005102550Siwasaki
8006114237SnjlFixed a reported problem where a Store to a method argument that
8007193267Sjkimcontains a reference did not perform the indirect store correctly.
8008126372SnjlThis problem was created during the conversion to the new
8009126372Snjlreference object model - the indirect store to a method argument
8010126372Snjlcode was not updated to reflect the new model.
8011102550Siwasaki
8012114237SnjlReworked the ACPI mode change code to better conform to ACPI 2.0,
8013193267Sjkimhandle corner cases, and improve code legibility (Kochi Takayoshi)
8014102550Siwasaki
8015102550SiwasakiFixed a problem with the pathname parsing for the carat (^)
8016114237Snjlprefix.  The heavy use of the carat operator by the new namepath
8017193267Sjkimoptimization in the iASL compiler uncovered a problem with the AML
8018126372Snjlinterpreter handling of this prefix.  In the case where one or
8019126372Snjlmore carats precede a single nameseg, the nameseg was treated as
8020126372Snjlstandalone and the search rule (to root) was inadvertently
8021114237Snjlapplied.  This could cause both the iASL compiler and the
8022114237Snjlinterpreter to find the wrong object or to miss the error that
8023114237Snjlshould occur if the object does not exist at that exact pathname.
8024102550Siwasaki
8025114237SnjlFound and fixed the problem where the HP Pavilion DSDT would not
8026193267Sjkimload.  This was a relatively minor tweak to the table loading code
8027126372Snjl(a problem caused by the unexpected encounter with a method
8028193267Sjkiminvocation not within a control method), but it does not solve the
8029126372Snjloverall issue of the execution of AML code at the table level.
8030126372SnjlThis investigation is still ongoing.
8031102550Siwasaki
8032193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8033126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8034126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8035126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8036126372Snjlversion of the code includes the debug output trace mechanism and
8037193267Sjkimhas a larger code and data size.  Note that these values will vary
8038126372Snjldepending on the efficiency of the compiler and the compiler
8039126372Snjloptions used during generation.
8040102550Siwasaki
8041102550Siwasaki  Previous Release
8042104470Siwasaki    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8043104470Siwasaki    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8044102550Siwasaki  Current Release:
8045104470Siwasaki    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
8046104470Siwasaki    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
8047102550Siwasaki
8048102550Siwasaki
8049102550Siwasaki2) Linux
8050102550Siwasaki
8051102550SiwasakiRemove redundant slab.h include (Brad Hards)
8052102550Siwasaki
8053102550SiwasakiFix several bugs in thermal.c (Herbert Nachtnebel)
8054102550Siwasaki
8055102550SiwasakiMake CONFIG_ACPI_BOOT work properly (Pavel Machek)
8056102550Siwasaki
8057104470SiwasakiChange acpi_system_suspend to use updated irq functions (Pavel
8058104470SiwasakiMachek)
8059102550Siwasaki
8060102550SiwasakiExport acpi_get_firmware_table (Matthew Wilcox)
8061102550Siwasaki
8062102550SiwasakiUse proper root proc entry for ACPI (Kochi Takayoshi)
8063102550Siwasaki
8064102550SiwasakiFix early-boot table parsing (Bjorn Helgaas)
8065102550Siwasaki
8066102550Siwasaki
8067102550Siwasaki3) iASL Compiler/Disassembler
8068102550Siwasaki
8069114237SnjlReworked the compiler options to make them more consistent and to
8070114237Snjluse two-letter options where appropriate.  We were running out of
8071114237Snjlsensible letters.   This may break some makefiles, so check the
8072114237Snjlcurrent options list by invoking the compiler with no parameters.
8073102550Siwasaki
8074102550SiwasakiCompleted the design and implementation of the ASL namepath
8075114237Snjloptimization option for the compiler.  This option optimizes all
8076114237Snjlreferences to named objects to the shortest possible path.  The
8077193267Sjkimfirst attempt tries to utilize a single nameseg (4 characters) and
8078126372Snjlthe "search-to-root" algorithm used by the interpreter.  If that
8079126372Snjlcannot be used (because either the name is not in the search path
8080126372Snjlor there is a conflict with another object with the same name),
8081126372Snjlthe pathname is optimized using the carat prefix (usually a
8082126372Snjlshorter string than specifying the entire path from the root.)
8083102550Siwasaki
8084114237SnjlImplemented support to obtain the DSDT from the Windows registry
8085114237Snjl(when the disassembly option is specified with no input file).
8086114237SnjlAdded this code as the implementation for AcpiOsTableOverride in
8087114237Snjlthe Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
8088114237Snjlutility) to scan memory for the DSDT to the AcpiOsTableOverride
8089114237Snjlfunction in the DOS OSL to make the disassembler truly OS
8090114237Snjlindependent.
8091102550Siwasaki
8092114237SnjlImplemented a new option to disassemble and compile in one step.
8093114237SnjlWhen used without an input filename, this option will grab the
8094193267SjkimDSDT from the local machine, disassemble it, and compile it in one
8095126372Snjlstep.
8096102550Siwasaki
8097114237SnjlAdded a warning message for invalid escapes (a backslash followed
8098114237Snjlby any character other than the allowable escapes).  This catches
8099114237Snjlthe quoted string error "\_SB_" (which should be "\\_SB_" ).
8100167802Sjkim
8101193267SjkimAlso, there are numerous instances in the ACPI specification where
8102126372Snjlthis error occurs.
8103102550Siwasaki
8104104470SiwasakiAdded a compiler option to disable all optimizations.  This is
8105114237Snjlbasically the "compatibility mode" because by using this option,
8106114237Snjlthe AML code will come out exactly the same as other ASL
8107114237Snjlcompilers.
8108102550Siwasaki
8109114237SnjlAdded error messages for incorrectly ordered dependent resource
8110114237Snjlfunctions.  This includes: missing EndDependentFn macro at end of
8111114237Snjldependent resource list, nested dependent function macros (both
8112114237Snjlstart and end), and missing StartDependentFn macro.  These are
8113114237Snjlcommon errors that should be caught at compile time.
8114102550Siwasaki
8115114237SnjlImplemented _OSI support for the disassembler and compiler.  _OSI
8116114237Snjlmust be included in the namespace for proper disassembly (because
8117114237Snjlthe disassembler must know the number of arguments.)
8118102550Siwasaki
8119104470SiwasakiAdded an "optimization" message type that is optional (off by
8120114237Snjldefault).  This message is used for all optimizations - including
8121193267Sjkimconstant folding, integer optimization, and namepath optimization.
8122102550Siwasaki
8123102550Siwasaki----------------------------------------
8124102550Siwasaki25 July 2002.  Summary of changes for this release.
8125102550Siwasaki
8126102550Siwasaki
8127102550Siwasaki1) ACPI CA Core Subsystem Version 20020725:
8128102550Siwasaki
8129114237SnjlThe AML Disassembler has been enhanced to produce compilable ASL
8130193267Sjkimcode and has been integrated into the iASL compiler (see below) as
8131126372Snjlwell as the single-step disassembly for the AML debugger and the
8132126372Snjldisassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
8133126372Snjlresource templates and macros are fully supported.  The
8134114237Snjldisassembler has been tested on over 30 different AML files,
8135114237Snjlproducing identical AML when the resulting disassembled ASL file
8136114237Snjlis recompiled with the same ASL compiler.
8137102550Siwasaki
8138114237SnjlModified the Resource Manager to allow zero interrupts and zero
8139114237Snjldma channels during the GetCurrentResources call.  This was
8140114237Snjlcausing problems on some platforms.
8141102550Siwasaki
8142114237SnjlAdded the AcpiOsRedirectOutput interface to the OSL to simplify
8143114237Snjloutput redirection for the AcpiOsPrintf and AcpiOsVprintf
8144114237Snjlinterfaces.
8145102550Siwasaki
8146193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8147126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8148126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8149126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8150126372Snjlversion of the code includes the debug output trace mechanism and
8151193267Sjkimhas a larger code and data size.  Note that these values will vary
8152126372Snjldepending on the efficiency of the compiler and the compiler
8153126372Snjloptions used during generation.
8154102550Siwasaki
8155102550Siwasaki  Previous Release
8156104470Siwasaki    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8157104470Siwasaki    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8158102550Siwasaki  Current Release:
8159104470Siwasaki    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
8160104470Siwasaki    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
8161102550Siwasaki
8162102550Siwasaki
8163102550Siwasaki2) Linux
8164102550Siwasaki
8165102550SiwasakiFixed a panic in the EC driver (Dominik Brodowski)
8166102550Siwasaki
8167114237SnjlImplemented checksum of the R/XSDT itself during Linux table scan
8168114237Snjl(Richard Schaal)
8169102550Siwasaki
8170102550Siwasaki
8171102550Siwasaki3) iASL compiler
8172102550Siwasaki
8173114237SnjlThe AML disassembler is integrated into the compiler.  The "-d"
8174114237Snjloption invokes the disassembler  to completely disassemble an
8175114237Snjlinput AML file, producing as output a text ASL file with the
8176114237Snjlextension ".dsl" (to avoid name collisions with existing .asl
8177114237Snjlsource files.)  A future enhancement will allow the disassembler
8178114237Snjlto obtain the BIOS DSDT from the registry under Windows.
8179102550Siwasaki
8180102550SiwasakiFixed a problem with the VendorShort and VendorLong resource
8181102550Siwasakidescriptors where an invalid AML sequence was created.
8182102550Siwasaki
8183114237SnjlImplemented a fix for BufferData term in the ASL parser.  It was
8184114237Snjlinadvertently defined twice, allowing invalid syntax to pass and
8185114237Snjlcausing reduction conflicts.
8186102550Siwasaki
8187104470SiwasakiFixed a problem where the Ones opcode could get converted to a
8188193267Sjkimvalue of zero if "Ones" was used where a byte, word or dword value
8189126372Snjlwas expected.  The 64-bit value is now truncated to the correct
8190126372Snjlsize with the correct value.
8191102550Siwasaki
8192102550Siwasaki
8193167802Sjkim
8194102550Siwasaki----------------------------------------
8195102550Siwasaki02 July 2002.  Summary of changes for this release.
8196102550Siwasaki
8197102550Siwasaki
8198102550Siwasaki1) ACPI CA Core Subsystem Version 20020702:
8199102550Siwasaki
8200114237SnjlThe Table Manager code has been restructured to add several new
8201114237Snjlfeatures.  Tables that are not required by the core subsystem
8202114237Snjl(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
8203193267Sjkimvalidated in any way and are returned from AcpiGetFirmwareTable if
8204126372Snjlrequested.  The AcpiOsTableOverride interface is now called for
8205126372Snjleach table that is loaded by the subsystem in order to allow the
8206126372Snjlhost to override any table it chooses.  Previously, only the DSDT
8207126372Snjlcould be overridden.  Added one new files, tbrsdt.c and
8208114237Snjltbgetall.c.
8209102550Siwasaki
8210193267SjkimFixed a problem with the conversion of internal package objects to
8211126372Snjlexternal objects (when a package is returned from a control
8212114237Snjlmethod.)  The return buffer length was set to zero instead of the
8213114237Snjlproper length of the package object.
8214102550Siwasaki
8215104470SiwasakiFixed a reported problem with the use of the RefOf and DeRefOf
8216114237Snjloperators when passing reference arguments to control methods.  A
8217114237Snjlnew type of Reference object is used internally for references
8218114237Snjlproduced by the RefOf operator.
8219102550Siwasaki
8220193267SjkimAdded additional error messages in the Resource Manager to explain
8221126372SnjlAE_BAD_DATA errors when they occur during resource parsing.
8222102550Siwasaki
8223104470SiwasakiSplit the AcpiEnableSubsystem into two primitives to enable a
8224193267Sjkimfiner granularity initialization sequence.  These two calls should
8225126372Snjlbe called in this order: AcpiEnableSubsystem (flags),
8226114237SnjlAcpiInitializeObjects (flags).  The flags parameter remains the
8227114237Snjlsame.
8228102550Siwasaki
8229102550Siwasaki
8230102550Siwasaki2) Linux
8231102550Siwasaki
8232114237SnjlUpdated the ACPI utilities module to understand the new style of
8233193267Sjkimfully resolved package objects that are now returned from the core
8234126372Snjlsubsystem.  This eliminates errors of the form:
8235102550Siwasaki
8236102550Siwasaki    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
8237102550Siwasaki    acpi_utils-0430 [145] acpi_evaluate_reference:
8238102550Siwasaki        Invalid element in package (not a device reference)
8239102550Siwasaki
8240102550SiwasakiThe method evaluation utility uses the new buffer allocation
8241102550Siwasakischeme instead of calling AcpiEvaluate Object twice.
8242102550Siwasaki
8243102550SiwasakiAdded support for ECDT. This allows the use of the Embedded
8244167802Sjkim
8245114237SnjlController before the namespace has been fully initialized, which
8246114237Snjlis necessary for ACPI 2.0 support, and for some laptops to
8247114237Snjlinitialize properly. (Laptops using ECDT are still rare, so only
8248114237Snjllimited testing was performed of the added functionality.)
8249102550Siwasaki
8250102550SiwasakiFixed memory leaks in the EC driver.
8251102550Siwasaki
8252102550SiwasakiEliminated a brittle code structure in acpi_bus_init().
8253102550Siwasaki
8254114237SnjlEliminated the acpi_evaluate() helper function in utils.c. It is
8255114237Snjlno longer needed since acpi_evaluate_object can optionally
8256104470Siwasakiallocate memory for the return object.
8257102550Siwasaki
8258193267SjkimImplemented fix for keyboard hang when getting battery readings on
8259126372Snjlsome systems (Stephen White)
8260102550Siwasaki
8261102550SiwasakiPCI IRQ routing update (Dominik Brodowski)
8262102550Siwasaki
8263114237SnjlFix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
8264114237Snjlsupport
8265102550Siwasaki
8266102550Siwasaki----------------------------------------
8267102550Siwasaki11 June 2002.  Summary of changes for this release.
8268102550Siwasaki
8269102550Siwasaki
8270102550Siwasaki1) ACPI CA Core Subsystem Version 20020611:
8271102550Siwasaki
8272104470SiwasakiFixed a reported problem where constants such as Zero and One
8273114237Snjlappearing within _PRT packages were not handled correctly within
8274114237Snjlthe resource manager code.  Originally reported against the ASL
8275114237Snjlcompiler because the code generator now optimizes integers to
8276193267Sjkimtheir minimal AML representation (i.e. AML constants if possible.)
8277126372SnjlThe _PRT code now handles all AML constant opcodes correctly
8278126372Snjl(Zero, One, Ones, Revision).
8279102550Siwasaki
8280102550SiwasakiFixed a problem with the Concatenate operator in the AML
8281193267Sjkiminterpreter where a buffer result object was incorrectly marked as
8282126372Snjlnot fully evaluated, causing a run-time error of AE_AML_INTERNAL.
8283102550Siwasaki
8284104470SiwasakiAll package sub-objects are now fully resolved before they are
8285114237Snjlreturned from the external ACPI interfaces.  This means that name
8286114237Snjlstrings are resolved to object handles, and constant operators
8287114237Snjl(Zero, One, Ones, Revision) are resolved to Integers.
8288102550Siwasaki
8289102550SiwasakiImplemented immediate resolution of the AML Constant opcodes
8290104470Siwasaki(Zero, One, Ones, Revision) to Integer objects upon detection
8291104470Siwasakiwithin the AML stream. This has simplified and reduced the
8292104470Siwasakigenerated code size of the subsystem by eliminating about 10
8293104470Siwasakiswitch statements for these constants (which previously were
8294193267Sjkimcontained in Reference objects.)  The complicating issues are that
8295126372Snjlthe Zero opcode is used as a "placeholder" for unspecified
8296193267Sjkimoptional target operands and stores to constants are defined to be
8297126372Snjlno-ops.
8298102550Siwasaki
8299193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8300126372Snjlbelow. These are the code and data sizes for the acpica.lib
8301114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8302114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8303114237Snjlversion of the code includes the debug output trace mechanism and
8304193267Sjkimhas a larger code and data size.  Note that these values will vary
8305126372Snjldepending on the efficiency of the compiler and the compiler
8306114237Snjloptions used during generation.
8307102550Siwasaki
8308102550Siwasaki  Previous Release
8309104470Siwasaki    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8310104470Siwasaki    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8311102550Siwasaki  Current Release:
8312104470Siwasaki    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
8313104470Siwasaki    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
8314102550Siwasaki
8315102550Siwasaki
8316102550Siwasaki2) Linux
8317102550Siwasaki
8318167802Sjkim
8319104470SiwasakiAdded preliminary support for obtaining _TRA data for PCI root
8320104470Siwasakibridges (Bjorn Helgaas).
8321102550Siwasaki
8322102550Siwasaki
8323102550Siwasaki3) iASL Compiler Version X2046:
8324102550Siwasaki
8325193267SjkimFixed a problem where the "_DDN" reserved name was defined to be a
8326126372Snjlcontrol method with one argument.  There are no arguments, and
8327114237Snjl_DDN does not have to be a control method.
8328102550Siwasaki
8329114237SnjlFixed a problem with the Linux version of the compiler where the
8330114237Snjlsource lines printed with error messages were the wrong lines.
8331114237SnjlThis turned out to be the "LF versus CR/LF" difference between
8332114237SnjlWindows and Unix.  This appears to be the longstanding issue
8333114237Snjlconcerning listing output and error messages.
8334102550Siwasaki
8335114237SnjlFixed a problem with the Linux version of compiler where opcode
8336114237Snjlnames within error messages were wrong.  This was caused by a
8337114237Snjlslight difference in the output of the Flex tool on Linux versus
8338114237SnjlWindows.
8339102550Siwasaki
8340193267SjkimFixed a problem with the Linux compiler where the hex output files
8341126372Snjlcontained some garbage data caused by an internal buffer overrun.
8342102550Siwasaki
8343102550Siwasaki
8344102550Siwasaki----------------------------------------
8345102550Siwasaki17 May 2002.  Summary of changes for this release.
8346102550Siwasaki
8347102550Siwasaki
8348102550Siwasaki1) ACPI CA Core Subsystem Version 20020517:
8349102550Siwasaki
8350102550SiwasakiImplemented a workaround to an BIOS bug discovered on the HP
8351104470SiwasakiOmniBook where the FADT revision number and the table size are
8352193267Sjkiminconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
8353126372Snjlbehavior is to fallback to using only the ACPI 1.0 fields of the
8354126372SnjlFADT if the table is too small to be a ACPI 2.0 table as claimed
8355126372Snjlby the revision number.  Although this is a BIOS bug, this is a
8356126372Snjlcase where the workaround is simple enough and with no side
8357126372Snjleffects, so it seemed prudent to add it.  A warning message is
8358126372Snjlissued, however.
8359102550Siwasaki
8360193267SjkimImplemented minimum size checks for the fixed-length ACPI tables -
8361126372Snjl- the FADT and FACS, as well as consistency checks between the
8362114237Snjlrevision number and the table size.
8363102550Siwasaki
8364114237SnjlFixed a reported problem in the table override support where the
8365114237Snjlnew table pointer was incorrectly treated as a physical address
8366114237Snjlinstead of a logical address.
8367102550Siwasaki
8368114237SnjlEliminated the use of the AE_AML_ERROR exception and replaced it
8369114237Snjlwith more descriptive codes.
8370102550Siwasaki
8371193267SjkimFixed a problem where an exception would occur if an ASL Field was
8372126372Snjldefined with no named Field Units underneath it (used by some
8373114237Snjlindex fields).
8374102550Siwasaki
8375193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8376126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8377126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8378126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8379126372Snjlversion of the code includes the debug output trace mechanism and
8380193267Sjkimhas a larger code and data size.  Note that these values will vary
8381126372Snjldepending on the efficiency of the compiler and the compiler
8382126372Snjloptions used during generation.
8383102550Siwasaki
8384102550Siwasaki  Previous Release
8385104470Siwasaki    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8386104470Siwasaki    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8387102550Siwasaki  Current Release:
8388104470Siwasaki    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
8389104470Siwasaki    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
8390102550Siwasaki
8391102550Siwasaki
8392102550Siwasaki
8393102550Siwasaki2) Linux
8394102550Siwasaki
8395114237SnjlMuch work done on ACPI init (MADT and PCI IRQ routing support).
8396114237Snjl(Paul D. and Dominik Brodowski)
8397102550Siwasaki
8398102550SiwasakiFix PCI IRQ-related panic on boot (Sam Revitch)
8399102550Siwasaki
8400102550SiwasakiSet BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
8401102550Siwasaki
8402102550SiwasakiFix "MHz" typo (Dominik Brodowski)
8403102550Siwasaki
8404102550SiwasakiFix RTC year 2000 issue (Dominik Brodowski)
8405102550Siwasaki
8406102550SiwasakiPreclude multiple button proc entries (Eric Brunet)
8407102550Siwasaki
8408102550SiwasakiMoved arch-specific code out of include/platform/aclinux.h
8409102550Siwasaki
8410102550Siwasaki3) iASL Compiler Version X2044:
8411102550Siwasaki
8412193267SjkimImplemented error checking for the string used in the EISAID macro
8413193267Sjkim(Usually used in the definition of the _HID object.)  The code now
8414126372Snjlstrictly enforces the PnP format - exactly 7 characters, 3
8415126372Snjluppercase letters and 4 hex digits.
8416102550Siwasaki
8417102550SiwasakiIf a raw string is used in the definition of the _HID object
8418102550Siwasaki(instead of the EISAID macro), the string must contain all
8419114237Snjlalphanumeric characters (e.g., "*PNP0011" is not allowed because
8420114237Snjlof the asterisk.)
8421102550Siwasaki
8422114237SnjlImplemented checking for invalid use of ACPI reserved names for
8423114237Snjlmost of the name creation operators (Name, Device, Event, Mutex,
8424114237SnjlOperationRegion, PowerResource, Processor, and ThermalZone.)
8425114237SnjlPreviously, this check was only performed for control methods.
8426102550Siwasaki
8427114237SnjlImplemented an additional check on the Name operator to emit an
8428114237Snjlerror if a reserved name that must be implemented in ASL as a
8429114237Snjlcontrol method is used.  We know that a reserved name must be a
8430114237Snjlmethod if it is defined with input arguments.
8431102550Siwasaki
8432193267SjkimThe warning emitted when a namespace object reference is not found
8433126372Snjlduring the cross reference phase has been changed into an error.
8434193267SjkimThe "External" directive should be used for names defined in other
8435126372Snjlmodules.
8436102550Siwasaki
8437102550Siwasaki
8438102550Siwasaki4) Tools and Utilities
8439102550Siwasaki
8440114237SnjlThe 16-bit tools (adump16 and aexec16) have been regenerated and
8441114237Snjltested.
8442102550Siwasaki
8443193267SjkimFixed a problem with the output of both acpidump and adump16 where
8444126372Snjlthe indentation of closing parentheses and brackets was not
8445167802Sjkim
8446114237Snjlaligned properly with the parent block.
8447102550Siwasaki
8448102550Siwasaki
8449102550Siwasaki----------------------------------------
8450102550Siwasaki03 May 2002.  Summary of changes for this release.
8451102550Siwasaki
8452102550Siwasaki
8453102550Siwasaki1) ACPI CA Core Subsystem Version 20020503:
8454102550Siwasaki
8455114237SnjlAdded support a new OSL interface that allows the host operating
8456167802Sjkim
8457114237Snjlsystem software to override the DSDT found in the firmware -
8458193267SjkimAcpiOsTableOverride.  With this interface, the OSL can examine the
8459126372Snjlversion of the firmware DSDT and replace it with a different one
8460126372Snjlif desired.
8461102550Siwasaki
8462114237SnjlAdded new external interfaces for accessing ACPI registers from
8463114237Snjldevice drivers and other system software - AcpiGetRegister and
8464114237SnjlAcpiSetRegister.  This was simply an externalization of the
8465114237Snjlexisting AcpiHwBitRegister interfaces.
8466102550Siwasaki
8467104470SiwasakiFixed a regression introduced in the previous build where the
8468104470SiwasakiASL/AML CreateField operator always returned an error,
8469102550Siwasaki"destination must be a NS Node".
8470102550Siwasaki
8471114237SnjlExtended the maximum time (before failure) to successfully enable
8472114237SnjlACPI mode to 3 seconds.
8473102550Siwasaki
8474193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8475126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8476126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8477126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8478126372Snjlversion of the code includes the debug output trace mechanism and
8479193267Sjkimhas a larger code and data size.  Note that these values will vary
8480126372Snjldepending on the efficiency of the compiler and the compiler
8481126372Snjloptions used during generation.
8482102550Siwasaki
8483102550Siwasaki  Previous Release
8484104470Siwasaki    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8485104470Siwasaki    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8486102550Siwasaki  Current Release:
8487104470Siwasaki    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
8488104470Siwasaki    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
8489102550Siwasaki
8490102550Siwasaki
8491102550Siwasaki2) Linux
8492102550Siwasaki
8493104470SiwasakiEnhanced ACPI init code for SMP. We are now fully MPS and $PIR-
8494193267Sjkimfree. While 3 out of 4 of our in-house systems work fine, the last
8495126372Snjlone still hangs when testing the LAPIC timer.
8496102550Siwasaki
8497114237SnjlRenamed many files in 2.5 kernel release to omit "acpi_" from the
8498114237Snjlname.
8499102550Siwasaki
8500102550SiwasakiAdded warning on boot for Presario 711FR.
8501102550Siwasaki
8502102550SiwasakiSleep improvements (Pavel Machek)
8503102550Siwasaki
8504102550SiwasakiACPI can now be built without CONFIG_PCI enabled.
8505102550Siwasaki
8506102550SiwasakiIA64: Fixed memory map functions (JI Lee)
8507102550Siwasaki
8508102550Siwasaki
8509102550Siwasaki3) iASL Compiler Version X2043:
8510102550Siwasaki
8511114237SnjlAdded support to allow the compiler to be integrated into the MS
8512114237SnjlVC++ development environment for one-button compilation of single
8513114237Snjlfiles or entire projects -- with error-to-source-line mapping.
8514102550Siwasaki
8515104470SiwasakiImplemented support for compile-time constant folding for the
8516104470SiwasakiType3, Type4, and Type5 opcodes first defined in the ACPI 2.0
8517104470Siwasakispecification.  This allows the ASL writer to use expressions
8518104470Siwasakiinstead of Integer/Buffer/String constants in terms that must
8519114237Snjlevaluate to constants at compile time and will also simplify the
8520114237Snjlemitted AML in any such sub-expressions that can be folded
8521104470Siwasaki(evaluated at compile-time.)  This increases the size of the
8522104470Siwasakicompiler significantly because a portion of the ACPI CA AML
8523104470Siwasakiinterpreter is included within the compiler in order to pre-
8524104470Siwasakievaluate constant expressions.
8525102550Siwasaki
8526114237Snjl
8527102550SiwasakiFixed a problem with the "Unicode" ASL macro that caused the
8528114237Snjlcompiler to fault.  (This macro is used in conjunction with the
8529114237Snjl_STR reserved name.)
8530102550Siwasaki
8531114237SnjlImplemented an AML opcode optimization to use the Zero, One, and
8532114237SnjlOnes opcodes where possible to further reduce the size of integer
8533114237Snjlconstants and thus reduce the overall size of the generated AML
8534114237Snjlcode.
8535102550Siwasaki
8536193267SjkimImplemented error checking for new reserved terms for ACPI version
8537126372Snjl2.0A.
8538102550Siwasaki
8539104470SiwasakiImplemented the -qr option to display the current list of ACPI
8540104470Siwasakireserved names known to the compiler.
8541102550Siwasaki
8542104470SiwasakiImplemented the -qc option to display the current list of ASL
8543104470Siwasakioperators that are allowed within constant expressions and can
8544193267Sjkimtherefore be folded at compile time if the operands are constants.
8545102550Siwasaki
8546102550Siwasaki
8547102550Siwasaki4) Documentation
8548102550Siwasaki
8549193267SjkimUpdated the Programmer's Reference for new interfaces, data types,
8550126372Snjland memory allocation model options.
8551102550Siwasaki
8552114237SnjlUpdated the iASL Compiler User Reference to apply new format and
8553114237Snjladd information about new features and options.
8554102550Siwasaki
8555102550Siwasaki----------------------------------------
8556102550Siwasaki19 April 2002.  Summary of changes for this release.
8557102550Siwasaki
8558102550Siwasaki1) ACPI CA Core Subsystem Version 20020419:
8559102550Siwasaki
8560114237SnjlThe source code base for the Core Subsystem has been completely
8561114237Snjlcleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
8562114237Snjlversions.  The Lint option files used are included in the
8563114237Snjl/acpi/generate/lint directory.
8564102550Siwasaki
8565102550SiwasakiImplemented enhanced status/error checking across the entire
8566114237SnjlHardware manager subsystem.  Any hardware errors (reported from
8567114237Snjlthe OSL) are now bubbled up and will abort a running control
8568114237Snjlmethod.
8569102550Siwasaki
8570167802Sjkim
8571114237SnjlFixed a problem where the per-ACPI-table integer width (32 or 64)
8572114237Snjlwas stored only with control method nodes, causing a fault when
8573114237Snjlnon-control method code was executed during table loading.  The
8574114237Snjlsolution implemented uses a global variable to indicate table
8575114237Snjlwidth across the entire ACPI subsystem.  Therefore, ACPI CA does
8576114237Snjlnot support mixed integer widths across different ACPI tables
8577114237Snjl(DSDT, SSDT).
8578102550Siwasaki
8579114237SnjlFixed a problem where NULL extended fields (X fields) in an ACPI
8580114237Snjl2.0 ACPI FADT caused the table load to fail.  Although the
8581114237Snjlexisting ACPI specification is a bit fuzzy on this topic, the new
8582114237Snjlbehavior is to fall back on a ACPI 1.0 field if the corresponding
8583193267SjkimACPI 2.0 X field is zero (even though the table revision indicates
8584193267Sjkima full ACPI 2.0 table.)  The ACPI specification will be updated to
8585126372Snjlclarify this issue.
8586102550Siwasaki
8587104470SiwasakiFixed a problem with the SystemMemory operation region handler
8588104470Siwasakiwhere memory was always accessed byte-wise even if the AML-
8589104470Siwasakispecified access width was larger than a byte.  This caused
8590104470Siwasakiproblems on systems with memory-mapped I/O.  Memory is now
8591193267Sjkimaccessed with the width specified.  On systems that do not support
8592193267Sjkimnon-aligned transfers, a check is made to guarantee proper address
8593126372Snjlalignment before proceeding in order to avoid an AML-caused
8594126372Snjlalignment fault within the kernel.
8595102550Siwasaki
8596102550Siwasaki
8597114237SnjlFixed a problem with the ExtendedIrq resource where only one byte
8598114237Snjlof the 4-byte Irq field was extracted.
8599102550Siwasaki
8600114237SnjlFixed the AcpiExDigitsNeeded() procedure to support _UID.  This
8601114237Snjlfunction was out of date and required a rewrite.
8602114237Snjl
8603193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8604126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8605126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8606126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8607126372Snjlversion of the code includes the debug output trace mechanism and
8608193267Sjkimhas a larger code and data size.  Note that these values will vary
8609126372Snjldepending on the efficiency of the compiler and the compiler
8610126372Snjloptions used during generation.
8611102550Siwasaki
8612102550Siwasaki  Previous Release
8613104470Siwasaki    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8614104470Siwasaki    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8615102550Siwasaki  Current Release:
8616104470Siwasaki    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
8617104470Siwasaki    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
8618102550Siwasaki
8619102550Siwasaki
8620102550Siwasaki2) Linux
8621102550Siwasaki
8622102550SiwasakiPCI IRQ routing fixes (Dominik Brodowski)
8623102550Siwasaki
8624102550Siwasaki
8625102550Siwasaki3) iASL Compiler Version X2042:
8626102550Siwasaki
8627104470SiwasakiImplemented an additional compile-time error check for a field
8628104470Siwasakiunit whose size + minimum access width would cause a run-time
8629114237Snjlaccess beyond the end-of-region.  Previously, only the field size
8630114237Snjlitself was checked.
8631102550Siwasaki
8632104470SiwasakiThe Core subsystem and iASL compiler now share a common parse
8633104470Siwasakiobject in preparation for compile-time evaluation of the type
8634104470Siwasaki3/4/5 ASL operators.
8635102550Siwasaki
8636102550Siwasaki
8637102550Siwasaki----------------------------------------
8638102550SiwasakiSummary of changes for this release: 03_29_02
8639102550Siwasaki
8640102550Siwasaki1) ACPI CA Core Subsystem Version 20020329:
8641102550Siwasaki
8642104470SiwasakiImplemented support for late evaluation of TermArg operands to
8643193267SjkimBuffer and Package objects.  This allows complex expressions to be
8644126372Snjlused in the declarations of these object types.
8645102550Siwasaki
8646193267SjkimFixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
8647126372Snjl1.0, if the field was larger than 32 bits, it was returned as a
8648126372Snjlbuffer - otherwise it was returned as an integer.  In ACPI 2.0,
8649193267Sjkimthe field is returned as a buffer only if the field is larger than
8650126372Snjl64 bits.  The TableRevision is now considered when making this
8651126372Snjlconversion to avoid incompatibility with existing ASL code.
8652102550Siwasaki
8653104470SiwasakiImplemented logical addressing for AcpiOsGetRootPointer.  This
8654114237Snjlallows an RSDP with either a logical or physical address.  With
8655114237Snjlthis support, the host OS can now override all ACPI tables with
8656114237Snjlone logical RSDP.  Includes implementation of  "typed" pointer
8657114237Snjlsupport to allow a common data type for both physical and logical
8658114237Snjlpointers internally.  This required a change to the
8659114237SnjlAcpiOsGetRootPointer interface.
8660102550Siwasaki
8661193267SjkimImplemented the use of ACPI 2.0 Generic Address Structures for all
8662193267SjkimGPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
8663126372Snjlmapped I/O for these ACPI features.
8664102550Siwasaki
8665102550SiwasakiInitialization now ignores not only non-required tables (All
8666114237Snjltables other than the FADT, FACS, DSDT, and SSDTs), but also does
8667114237Snjlnot validate the table headers of unrecognized tables.
8668102550Siwasaki
8669102550SiwasakiFixed a problem where a notify handler could only be
8670102550Siwasakiinstalled/removed on an object of type Device.  All "notify"
8671167802Sjkim
8672102550Siwasakiobjects are now supported -- Devices, Processor, Power, and
8673102550SiwasakiThermal.
8674102550Siwasaki
8675114237SnjlRemoved most verbosity from the ACPI_DB_INFO debug level.  Only
8676193267Sjkimcritical information is returned when this debug level is enabled.
8677102550Siwasaki
8678193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8679126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8680126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8681126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8682126372Snjlversion of the code includes the debug output trace mechanism and
8683193267Sjkimhas a larger code and data size.  Note that these values will vary
8684126372Snjldepending on the efficiency of the compiler and the compiler
8685126372Snjloptions used during generation.
8686102550Siwasaki
8687102550Siwasaki  Previous Release
8688104470Siwasaki    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8689104470Siwasaki    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8690102550Siwasaki  Current Release:
8691104470Siwasaki    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
8692104470Siwasaki    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
8693102550Siwasaki
8694102550Siwasaki
8695102550Siwasaki2) Linux:
8696102550Siwasaki
8697114237SnjlThe processor driver (acpi_processor.c) now fully supports ACPI
8698114237Snjl2.0-based processor performance control (e.g. Intel(R)
8699114237SnjlSpeedStep(TM) technology) Note that older laptops that only have
8700114237Snjlthe Intel "applet" interface are not supported through this.  The
8701114237Snjl'limit' and 'performance' interface (/proc) are fully functional.
8702114237Snjl[Note that basic policy for controlling performance state
8703114237Snjltransitions will be included in the next version of ospmd.]  The
8704114237Snjlidle handler was modified to more aggressively use C2, and PIIX4
8705114237Snjlerrata handling underwent a complete overhaul (big thanks to
8706114237SnjlDominik Brodowski).
8707102550Siwasaki
8708114237SnjlAdded support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
8709114237Snjlbased devices in the ACPI namespace are now dynamically bound
8710114237Snjl(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
8711114237SnjlThis allows, among other things, ACPI to resolve bus numbers for
8712114237Snjlsubordinate PCI bridges.
8713102550Siwasaki
8714104470SiwasakiEnhanced PCI IRQ routing to get the proper bus number for _PRT
8715104470Siwasakientries defined underneath PCI bridges.
8716102550Siwasaki
8717104470SiwasakiAdded IBM 600E to bad bios list due to invalid _ADR value for
8718104470SiwasakiPIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
8719102550Siwasaki
8720114237SnjlIn the process of adding full MADT support (e.g. IOAPIC) for IA32
8721114237Snjl(acpi.c, mpparse.c) -- stay tuned.
8722102550Siwasaki
8723102550SiwasakiAdded back visual differentiation between fixed-feature and
8724114237Snjlcontrol-method buttons in dmesg.  Buttons are also subtyped (e.g.
8725114237Snjlbutton/power/PWRF) to simplify button identification.
8726102550Siwasaki
8727114237SnjlWe no longer use -Wno-unused when compiling debug. Please ignore
8728114237Snjlany "_THIS_MODULE defined but not used" messages.
8729102550Siwasaki
8730102550SiwasakiCan now shut down the system using "magic sysrq" key.
8731102550Siwasaki
8732102550Siwasaki
8733102550Siwasaki3) iASL Compiler version 2041:
8734102550Siwasaki
8735104470SiwasakiFixed a problem where conversion errors for hex/octal/decimal
8736104470Siwasakiconstants were not reported.
8737102550Siwasaki
8738193267SjkimImplemented a fix for the General Register template Address field.
8739126372SnjlThis field was 8 bits when it should be 64.
8740102550Siwasaki
8741193267SjkimFixed a problem where errors/warnings were no longer being emitted
8742126372Snjlwithin the listing output file.
8743102550Siwasaki
8744114237SnjlImplemented the ACPI 2.0A restriction on ACPI Table Signatures to
8745114237Snjlexactly 4 characters, alphanumeric only.
8746102550Siwasaki
8747102550Siwasaki
8748102550Siwasaki
8749102550Siwasaki
8750102550Siwasaki----------------------------------------
8751102550SiwasakiSummary of changes for this release: 03_08_02
8752102550Siwasaki
8753102550Siwasaki
8754102550Siwasaki1) ACPI CA Core Subsystem Version 20020308:
8755102550Siwasaki
8756114237SnjlFixed a problem with AML Fields where the use of the "AccessAny"
8757193267Sjkimkeyword could cause an interpreter error due to attempting to read
8758126372Snjlor write beyond the end of the parent Operation Region.
8759102550Siwasaki
8760193267SjkimFixed a problem in the SystemMemory Operation Region handler where
8761126372Snjlan attempt was made to map memory beyond the end of the region.
8762126372SnjlThis was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
8763126372Snjlerrors on some Linux systems.
8764102550Siwasaki
8765114237SnjlFixed a problem where the interpreter/namespace "search to root"
8766114237Snjlalgorithm was not functioning for some object types.  Relaxed the
8767114237Snjlinternal restriction on the search to allow upsearches for all
8768114237Snjlexternal object types as well as most internal types.
8769102550Siwasaki
8770102550Siwasaki
8771102550Siwasaki2) Linux:
8772102550Siwasaki
8773193267SjkimWe now use safe_halt() macro versus individual calls to sti | hlt.
8774102550Siwasaki
8775193267SjkimWriting to the processor limit interface should now work. "echo 1"
8776126372Snjlwill increase the limit, 2 will decrease, and 0 will reset to the
8777167802Sjkim
8778126372Snjldefault.
8779102550Siwasaki
8780102550Siwasaki
8781102550Siwasaki3) ASL compiler:
8782102550Siwasaki
8783102550SiwasakiFixed segfault on Linux version.
8784102550Siwasaki
8785102550Siwasaki
8786102550Siwasaki----------------------------------------
8787102550SiwasakiSummary of changes for this release: 02_25_02
8788102550Siwasaki
8789102550Siwasaki1) ACPI CA Core Subsystem:
8790102550Siwasaki
8791102550Siwasaki
8792102550SiwasakiFixed a problem where the GPE bit masks were not initialized
8793102550Siwasakiproperly, causing erratic GPE behavior.
8794102550Siwasaki
8795193267SjkimImplemented limited support for multiple calling conventions.  The
8796126372Snjlcode can be generated with either the VPL (variable parameter
8797114237Snjllist, or "C") convention, or the FPL (fixed parameter list, or
8798114237Snjl"Pascal") convention.  The core subsystem is about 3.4% smaller
8799114237Snjlwhen generated with FPL.
8800102550Siwasaki
8801102550Siwasaki
8802102550Siwasaki2) Linux
8803102550Siwasaki
8804114237SnjlRe-add some /proc/acpi/event functionality that was lost during
8805114237Snjlthe rewrite
8806102550Siwasaki
8807193267SjkimResolved issue with /proc events for fixed-feature buttons showing
8808126372Snjlup as the system device.
8809102550Siwasaki
8810193267SjkimFixed checks on C2/C3 latencies to be inclusive of maximum values.
8811102550Siwasaki
8812114237SnjlReplaced AE_ERRORs in acpi_osl.c with more specific error codes.
8813102550Siwasaki
8814114237SnjlChanged ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
8815102550Siwasaki
8816104470SiwasakiFixed limit interface & usage to fix bugs with passive cooling
8817104470Siwasakihysterisis.
8818102550Siwasaki
8819102550SiwasakiRestructured PRT support.
8820102550Siwasaki
8821102550Siwasaki
8822102550Siwasaki----------------------------------------
8823102550SiwasakiSummary of changes for this label: 02_14_02
8824102550Siwasaki
8825102550Siwasaki
8826102550Siwasaki1) ACPI CA Core Subsystem:
8827102550Siwasaki
8828114237SnjlImplemented support in AcpiLoadTable to allow loading of FACS and
8829114237SnjlFADT tables.
8830102550Siwasaki
8831114237SnjlSuport for the now-obsolete interim 0.71 64-bit ACPI tables has
8832193267Sjkimbeen removed.  All 64-bit platforms should be migrated to the ACPI
8833193267Sjkim2.0 tables.  The actbl71.h header has been removed from the source
8834126372Snjltree.
8835102550Siwasaki
8836114237SnjlAll C macros defined within the subsystem have been prefixed with
8837114237Snjl"ACPI_" to avoid collision with other system include files.
8838102550Siwasaki
8839193267SjkimRemoved the return value for the two AcpiOsPrint interfaces, since
8840126372Snjlit is never used and causes lint warnings for ignoring the return
8841126372Snjlvalue.
8842102550Siwasaki
8843104470SiwasakiAdded error checking to all internal mutex acquire and release
8844104470Siwasakicalls.  Although a failure from one of these interfaces is
8845104470Siwasakiprobably a fatal system error, these checks will cause the
8846114237Snjlimmediate abort of the currently executing method or interface.
8847102550Siwasaki
8848114237SnjlFixed a problem where the AcpiSetCurrentResources interface could
8849193267Sjkimfault.  This was a side effect of the deployment of the new memory
8850126372Snjlallocation model.
8851102550Siwasaki
8852193267SjkimFixed a couple of problems with the Global Lock support introduced
8853193267Sjkimin the last major build.  The "common" (1.0/2.0) internal FACS was
8854126372Snjlbeing overwritten with the FACS signature and clobbering the
8855126372SnjlGlobal Lock pointer.  Also, the actual firmware FACS was being
8856126372Snjlunmapped after construction of the "common" FACS, preventing
8857126372Snjlaccess to the actual Global Lock field within it.  The "common"
8858126372Snjlinternal FACS is no longer installed as an actual ACPI table; it
8859126372Snjlis used simply as a global.
8860102550Siwasaki
8861193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8862126372Snjlbelow.  These are the code and data sizes for the acpica.lib
8863126372Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8864126372Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8865126372Snjlversion of the code includes the debug output trace mechanism and
8866193267Sjkimhas a larger code and data size.  Note that these values will vary
8867126372Snjldepending on the efficiency of the compiler and the compiler
8868126372Snjloptions used during generation.
8869102550Siwasaki
8870102550Siwasaki  Previous Release (02_07_01)
8871104470Siwasaki    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
8872104470Siwasaki    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
8873102550Siwasaki  Current Release:
8874104470Siwasaki    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
8875104470Siwasaki    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
8876102550Siwasaki
8877102550Siwasaki
8878102550Siwasaki2) Linux
8879102550Siwasaki
8880102550SiwasakiUpdated Linux-specific code for core macro and OSL interface
8881102550Siwasakichanges described above.
8882102550Siwasaki
8883114237SnjlImproved /proc/acpi/event. It now can be opened only once and has
8884114237Snjlproper poll functionality.
8885102550Siwasaki
8886102550SiwasakiFixed and restructured power management (acpi_bus).
8887102550Siwasaki
8888193267SjkimOnly create /proc "view by type" when devices of that class exist.
8889102550Siwasaki
8890104470SiwasakiFixed "charging/discharging" bug (and others) in acpi_battery.
8891102550Siwasaki
8892102550SiwasakiImproved thermal zone code.
8893102550Siwasaki
8894102550Siwasaki
8895102550Siwasaki3) ASL Compiler, version X2039:
8896102550Siwasaki
8897114237Snjl
8898114237SnjlImplemented the new compiler restriction on ASL String hex/octal
8899193267Sjkimescapes to non-null, ASCII values.  An error results if an invalid
8900126372Snjlvalue is used.  (This will require an ACPI 2.0 specification
8901126372Snjlchange.)
8902102550Siwasaki
8903193267SjkimAML object labels that are output to the optional C and ASM source
8904126372Snjlare now prefixed with both the ACPI table signature and table ID
8905126372Snjlto help guarantee uniqueness within a large BIOS project.
8906102550Siwasaki
8907102550Siwasaki
8908102550Siwasaki----------------------------------------
8909102550SiwasakiSummary of changes for this label: 02_01_02
8910102550Siwasaki
8911102550Siwasaki1) ACPI CA Core Subsystem:
8912102550Siwasaki
8913114237SnjlACPI 2.0 support is complete in the entire Core Subsystem and the
8914114237SnjlASL compiler. All new ACPI 2.0 operators are implemented and all
8915114237Snjlother changes for ACPI 2.0 support are complete.  With
8916193267Sjkimsimultaneous code and data optimizations throughout the subsystem,
8917126372SnjlACPI 2.0 support has been implemented with almost no additional
8918126372Snjlcost in terms of code and data size.
8919102550Siwasaki
8920114237SnjlImplemented a new mechanism for allocation of return buffers.  If
8921114237Snjlthe buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
8922114237Snjlbe allocated on behalf of the caller.  Consolidated all return
8923114237Snjlbuffer validation and allocation to a common procedure.  Return
8924193267Sjkimbuffers will be allocated via the primary OSL allocation interface
8925193267Sjkimsince it appears that a separate pool is not needed by most users.
8926126372SnjlIf a separate pool is required for these buffers, the caller can
8927126372Snjlstill use the original mechanism and pre-allocate the buffer(s).
8928102550Siwasaki
8929102550SiwasakiImplemented support for string operands within the DerefOf
8930102550Siwasakioperator.
8931102550Siwasaki
8932114237SnjlRestructured the Hardware and Event managers to be table driven,
8933114237Snjlsimplifying the source code and reducing the amount of generated
8934114237Snjlcode.
8935102550Siwasaki
8936102550SiwasakiSplit the common read/write low-level ACPI register bitfield
8937104470Siwasakiprocedure into a separate read and write, simplifying the code
8938104470Siwasakiconsiderably.
8939102550Siwasaki
8940114237SnjlObsoleted the AcpiOsCallocate OSL interface.  This interface was
8941114237Snjlused only a handful of times and didn't have enough critical mass
8942193267Sjkimfor a separate interface.  Replaced with a common calloc procedure
8943126372Snjlin the core.
8944102550Siwasaki
8945104470SiwasakiFixed a reported problem with the GPE number mapping mechanism
8946104470Siwasakithat allows GPE1 numbers to be non-contiguous with GPE0.
8947114237SnjlReorganized the GPE information and shrunk a large array that was
8948114237Snjloriginally large enough to hold info for all possible GPEs (256)
8949114237Snjlto simply large enough to hold all GPEs up to the largest GPE
8950114237Snjlnumber on the machine.
8951102550Siwasaki
8952114237SnjlFixed a reported problem with resource structure alignment on 64-
8953114237Snjlbit platforms.
8954102550Siwasaki
8955102550SiwasakiChanged the AcpiEnableEvent and AcpiDisableEvent external
8956102550Siwasakiinterfaces to not require any flags for the common case of
8957102550Siwasakienabling/disabling a GPE.
8958102550Siwasaki
8959104470SiwasakiImplemented support to allow a "Notify" on a Processor object.
8960102550Siwasaki
8961114237SnjlMost TBDs in comments within the source code have been resolved
8962114237Snjland eliminated.
8963102550Siwasaki
8964167802Sjkim
8965102550SiwasakiFixed a problem in the interpreter where a standalone parent
8966102550Siwasakiprefix (^) was not handled correctly in the interpreter and
8967102550Siwasakidebugger.
8968102550Siwasaki
8969102550SiwasakiRemoved obsolete and unnecessary GPE save/restore code.
8970102550Siwasaki
8971193267SjkimImplemented Field support in the ASL Load operator.  This allows a
8972126372Snjltable to be loaded from a named field, in addition to loading a
8973114237Snjltable directly from an Operation Region.
8974102550Siwasaki
8975193267SjkimImplemented timeout and handle support in the external Global Lock
8976126372Snjlinterfaces.
8977102550Siwasaki
8978114237SnjlFixed a problem in the AcpiDump utility where pathnames were no
8979193267Sjkimlonger being generated correctly during the dump of named objects.
8980102550Siwasaki
8981102550SiwasakiModified the AML debugger to give a full display of if/while
8982102550Siwasakipredicates instead of just one AML opcode at a time.  (The
8983193267Sjkimpredicate can have several nested ASL statements.)  The old method
8984126372Snjlwas confusing during single stepping.
8985102550Siwasaki
8986193267SjkimCode and Data Size: Current core subsystem library sizes are shown
8987126372Snjlbelow. These are the code and data sizes for the acpica.lib
8988114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
8989114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
8990114237Snjlversion of the code includes the debug output trace mechanism and
8991193267Sjkimhas a larger code and data size.  Note that these values will vary
8992126372Snjldepending on the efficiency of the compiler and the compiler
8993114237Snjloptions used during generation.
8994102550Siwasaki
8995102550Siwasaki  Previous Release (12_18_01)
8996114237Snjl     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
8997114237Snjl     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
8998102550Siwasaki   Current Release:
8999114237Snjl     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
9000114237Snjl     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
9001102550Siwasaki
9002102550Siwasaki2) Linux
9003102550Siwasaki
9004104470Siwasaki Implemented fix for PIIX reverse throttling errata (Processor
9005104470Siwasakidriver)
9006102550Siwasaki
9007102550SiwasakiAdded new Limit interface (Processor and Thermal drivers)
9008102550Siwasaki
9009102550SiwasakiNew thermal policy (Thermal driver)
9010102550Siwasaki
9011102550SiwasakiMany updates to /proc
9012102550Siwasaki
9013102550SiwasakiBattery "low" event support (Battery driver)
9014102550Siwasaki
9015104470SiwasakiSupports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
9016102550Siwasaki
9017104470SiwasakiIA32 - IA64 initialization unification, no longer experimental
9018102550Siwasaki
9019102550SiwasakiMenuconfig options redesigned
9020102550Siwasaki
9021102550Siwasaki3) ASL Compiler, version X2037:
9022102550Siwasaki
9023193267SjkimImplemented several new output features to simplify integration of
9024126372SnjlAML code into  firmware: 1) Output the AML in C source code with
9025193267Sjkimlabels for each named ASL object.  The    original ASL source code
9026193267Sjkimis interleaved as C comments. 2) Output the AML in ASM source code
9027126372Snjlwith labels and interleaved ASL    source. 3) Output the AML in
9028126372Snjlraw hex table form, in either C or ASM.
9029102550Siwasaki
9030102550SiwasakiImplemented support for optional string parameters to the
9031102550SiwasakiLoadTable operator.
9032102550Siwasaki
9033104470SiwasakiCompleted support for embedded escape sequences within string
9034114237Snjlliterals.  The compiler now supports all single character escapes
9035114237Snjlas well as the Octal and Hex escapes.  Note: the insertion of a
9036114237Snjlnull byte into a string literal (via the hex/octal escape) causes
9037114237Snjlthe string to be immediately terminated.  A warning is issued.
9038102550Siwasaki
9039104470SiwasakiFixed a problem where incorrect AML was generated for the case
9040104470Siwasakiwhere an ASL namepath consists of a single parent prefix (
9041102550Siwasaki
9042102550Siwasaki) with no trailing name segments.
9043102550Siwasaki
9044102550SiwasakiThe compiler has been successfully generated with a 64-bit C
9045102550Siwasakicompiler.
9046102550Siwasaki
9047102550Siwasaki
9048102550Siwasaki
9049102550Siwasaki
9050102550Siwasaki----------------------------------------
9051102550SiwasakiSummary of changes for this label: 12_18_01
9052102550Siwasaki
9053102550Siwasaki1) Linux
9054102550Siwasaki
9055114237SnjlEnhanced blacklist with reason and severity fields. Any table's
9056114237Snjlsignature may now be used to identify a blacklisted system.
9057102550Siwasaki
9058114237SnjlCall _PIC control method to inform the firmware which interrupt
9059114237Snjlmodel the OS is using. Turn on any disabled link devices.
9060102550Siwasaki
9061102550SiwasakiCleaned up busmgr /proc error handling (Andreas Dilger)
9062102550Siwasaki
9063102550Siwasaki 2) ACPI CA Core Subsystem:
9064102550Siwasaki
9065193267SjkimImplemented ACPI 2.0 semantics for the "Break" operator (Exit from
9066126372Snjlwhile loop)
9067102550Siwasaki
9068102550SiwasakiCompleted implementation of the ACPI 2.0 "Continue",
9069102550Siwasaki"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
9070193267Sjkimoperators.  All new ACPI 2.0 operators are now implemented in both
9071193267Sjkimthe ASL compiler and the AML interpreter.  The only remaining ACPI
9072126372Snjl2.0 task is support for the String data type in the DerefOf
9073193267Sjkimoperator.  Fixed a problem with AcquireMutex where the status code
9074126372Snjlwas lost if the caller had to actually wait for the mutex.
9075102550Siwasaki
9076104470SiwasakiIncreased the maximum ASL Field size from 64K bits to 4G bits.
9077102550Siwasaki
9078193267SjkimCompleted implementation of the external Global Lock interfaces --
9079126372SnjlAcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
9080126372SnjlHandler parameters were added.
9081102550Siwasaki
9082102550SiwasakiCompleted another pass at removing warnings and issues when
9083114237Snjlcompiling with 64-bit compilers.  The code now compiles cleanly
9084114237Snjlwith the Intel 64-bit C/C++ compiler.  Most notably, the pointer
9085114237Snjladd and subtract (diff) macros have changed considerably.
9086102550Siwasaki
9087167802Sjkim
9088114237SnjlCreated and deployed a new ACPI_SIZE type that is 64-bits wide on
9089114237Snjl64-bit platforms, 32-bits on all others.  This type is used
9090193267Sjkimwherever memory allocation and/or the C sizeof() operator is used,
9091126372Snjland affects the OSL memory allocation interfaces AcpiOsAllocate
9092126372Snjland AcpiOsCallocate.
9093102550Siwasaki
9094102550SiwasakiImplemented sticky user breakpoints in the AML debugger.
9095102550Siwasaki
9096193267SjkimCode and Data Size: Current core subsystem library sizes are shown
9097126372Snjlbelow. These are the code and data sizes for the acpica.lib
9098114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
9099114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
9100114237Snjlversion of the code includes the debug output trace mechanism and
9101114237Snjlhas a larger code and data size. Note that these values will vary
9102114237Snjldepending on the efficiency of the compiler and the compiler
9103114237Snjloptions used during generation.
9104102550Siwasaki
9105102550Siwasaki  Previous Release (12_05_01)
9106114237Snjl     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9107114237Snjl     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9108102550Siwasaki   Current Release:
9109114237Snjl     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
9110114237Snjl     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
9111102550Siwasaki
9112102550Siwasaki 3) ASL Compiler, version X2034:
9113102550Siwasaki
9114114237SnjlNow checks for (and generates an error if detected) the use of a
9115114237SnjlBreak or Continue statement without an enclosing While statement.
9116102550Siwasaki
9117167802Sjkim
9118102550SiwasakiSuccessfully generated the compiler with the Intel 64-bit C
9119102550Siwasakicompiler.
9120102550Siwasaki
9121102550Siwasaki ----------------------------------------
9122102550SiwasakiSummary of changes for this label: 12_05_01
9123102550Siwasaki
9124102550Siwasaki 1) ACPI CA Core Subsystem:
9125102550Siwasaki
9126102550SiwasakiThe ACPI 2.0 CopyObject operator is fully implemented.  This
9127104470Siwasakioperator creates a new copy of an object (and is also used to
9128193267Sjkimbypass the "implicit conversion" mechanism of the Store operator.)
9129102550Siwasaki
9130102550SiwasakiThe ACPI 2.0 semantics for the SizeOf operator are fully
9131102550Siwasakiimplemented.  The change is that performing a SizeOf on a
9132114237Snjlreference object causes an automatic dereference of the object to
9133114237Snjltha actual value before the size is evaluated. This behavior was
9134114237Snjlundefined in ACPI 1.0.
9135102550Siwasaki
9136114237SnjlThe ACPI 2.0 semantics for the Extended IRQ resource descriptor
9137114237Snjlhave been implemented.  The interrupt polarity and mode are now
9138114237Snjlindependently set.
9139102550Siwasaki
9140114237SnjlFixed a problem where ASL Constants (Zero, One, Ones, Revision)
9141114237Snjlappearing in Package objects were not properly converted to
9142114237Snjlintegers when the internal Package was converted to an external
9143114237Snjlobject (via the AcpiEvaluateObject interface.)
9144102550Siwasaki
9145114237SnjlFixed a problem with the namespace object deletion mechanism for
9146114237Snjlobjects created by control methods.  There were two parts to this
9147193267Sjkimproblem: 1) Objects created during the initialization phase method
9148193267Sjkimparse were not being deleted, and 2) The object owner ID mechanism
9149126372Snjlto track objects was broken.
9150102550Siwasaki
9151114237SnjlFixed a problem where the use of the ASL Scope operator within a
9152114237Snjlcontrol method would result in an invalid opcode exception.
9153102550Siwasaki
9154114237SnjlFixed a problem introduced in the previous label where the buffer
9155114237Snjllength required for the _PRT structure was not being returned
9156114237Snjlcorrectly.
9157102550Siwasaki
9158193267SjkimCode and Data Size: Current core subsystem library sizes are shown
9159126372Snjlbelow. These are the code and data sizes for the acpica.lib
9160114237Snjlproduced by the Microsoft Visual C++ 6.0 compiler, and these
9161114237Snjlvalues do not include any ACPI driver or OSPM code.  The debug
9162114237Snjlversion of the code includes the debug output trace mechanism and
9163193267Sjkimhas a larger code and data size.  Note that these values will vary
9164126372Snjldepending on the efficiency of the compiler and the compiler
9165114237Snjloptions used during generation.
9166102550Siwasaki
9167102550Siwasaki  Previous Release (11_20_01)
9168114237Snjl     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9169114237Snjl     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9170102550Siwasaki
9171102550Siwasaki  Current Release:
9172114237Snjl     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
9173114237Snjl     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
9174102550Siwasaki
9175102550Siwasaki 2) Linux:
9176102550Siwasaki
9177102550SiwasakiUpdated all files to apply cleanly against 2.4.16.
9178102550Siwasaki
9179104470SiwasakiAdded basic PCI Interrupt Routing Table (PRT) support for IA32
9180114237Snjl(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
9181114237Snjlversion supports both static and dyanmic PRT entries, but dynamic
9182114237Snjlentries are treated as if they were static (not yet
9183114237Snjlreconfigurable).  Architecture- specific code to use this data is
9184114237Snjlabsent on IA32 but should be available shortly.
9185102550Siwasaki
9186114237SnjlChanged the initialization sequence to start the ACPI interpreter
9187114237Snjl(acpi_init) prior to initialization of the PCI driver (pci_init)
9188114237Snjlin init/main.c.  This ordering is required to support PRT and
9189114237Snjlfacilitate other (future) enhancement.  A side effect is that the
9190193267SjkimACPI bus driver and certain device drivers can no longer be loaded
9191126372Snjlas modules.
9192102550Siwasaki
9193104470SiwasakiModified the 'make menuconfig' options to allow PCI Interrupt
9194104470SiwasakiRouting support to be included without the ACPI Bus and other
9195104470Siwasakidevice drivers.
9196102550Siwasaki
9197102550Siwasaki 3) ASL Compiler, version X2033:
9198102550Siwasaki
9199102550SiwasakiFixed some issues with the use of the new CopyObject and
9200102550SiwasakiDataTableRegion operators.  Both are fully functional.
9201102550Siwasaki
9202102550Siwasaki ----------------------------------------
9203102550SiwasakiSummary of changes for this label: 11_20_01
9204102550Siwasaki
9205102550Siwasaki 20 November 2001.  Summary of changes for this release.
9206102550Siwasaki
9207102550Siwasaki 1) ACPI CA Core Subsystem:
9208102550Siwasaki
9209104470SiwasakiUpdated Index support to match ACPI 2.0 semantics.  Storing a
9210193267SjkimInteger, String, or Buffer to an Index of a Buffer will store only
9211126372Snjlthe least-significant byte of the source to the Indexed buffer
9212126372Snjlbyte.  Multiple writes are not performed.
9213102550Siwasaki
9214104470SiwasakiFixed a problem where the access type used in an AccessAs ASL
9215104470Siwasakioperator was not recorded correctly into the field object.
9216102550Siwasaki
9217102550SiwasakiFixed a problem where ASL Event objects were created in a
9218114237Snjlsignalled state. Events are now created in an unsignalled state.
9219102550Siwasaki
9220114237SnjlThe internal object cache is now purged after table loading and
9221114237Snjlinitialization to reduce the use of dynamic kernel memory -- on
9222114237Snjlthe assumption that object use is greatest during the parse phase
9223193267Sjkimof the entire table (versus the run-time use of individual control
9224126372Snjlmethods.)
9225102550Siwasaki
9226102550SiwasakiACPI 2.0 variable-length packages are now fully operational.
9227102550Siwasaki
9228193267SjkimCode and Data Size: Code and Data optimizations have permitted new
9229126372Snjlfeature development with an actual reduction in the library size.
9230126372SnjlCurrent core subsystem library sizes are shown below.  These are
9231126372Snjlthe code and data sizes for the acpica.lib produced by the
9232193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9233126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9234126372Snjlincludes the debug output trace mechanism and has a larger code
9235126372Snjland data size.  Note that these values will vary depending on the
9236126372Snjlefficiency of the compiler and the compiler options used during
9237126372Snjlgeneration.
9238102550Siwasaki
9239102550Siwasaki  Previous Release (11_09_01):
9240114237Snjl     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9241114237Snjl     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9242102550Siwasaki
9243102550Siwasaki  Current Release:
9244114237Snjl     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
9245114237Snjl     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
9246102550Siwasaki
9247102550Siwasaki 2) Linux:
9248102550Siwasaki
9249114237SnjlEnhanced the ACPI boot-time initialization code to allow the use
9250114237Snjlof Local APIC tables for processor enumeration on IA-32, and to
9251114237Snjlpave the way for a fully MPS-free boot (on SMP systems) in the
9252114237Snjlnear future.  This functionality replaces
9253114237Snjlarch/i386/kernel/acpitables.c, which was introduced in an earlier
9254114237Snjl2.4.15-preX release.  To enable this feature you must add
9255114237Snjl"acpi_boot=on" to the kernel command line -- see the help entry
9256193267Sjkimfor CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
9257126372Snjlthe works...
9258102550Siwasaki
9259114237SnjlRestructured the configuration options to allow boot-time table
9260114237Snjlparsing support without inclusion of the ACPI Interpreter (and
9261114237Snjlother) code.
9262102550Siwasaki
9263193267SjkimNOTE: This release does not include fixes for the reported events,
9264126372Snjlpower-down, and thermal passive cooling issues (coming soon).
9265102550Siwasaki
9266102550Siwasaki 3) ASL Compiler:
9267102550Siwasaki
9268114237SnjlAdded additional typechecking for Fields within restricted access
9269114237SnjlOperation Regions.  All fields within EC and CMOS regions must be
9270114237Snjldeclared with ByteAcc. All fields withing SMBus regions must be
9271114237Snjldeclared with the BufferAcc access type.
9272102550Siwasaki
9273114237SnjlFixed a problem where the listing file output of control methods
9274114237Snjlno longer interleaved the actual AML code with the ASL source
9275114237Snjlcode.
9276102550Siwasaki
9277102550Siwasaki
9278102550Siwasaki
9279167802Sjkim
9280102550Siwasaki----------------------------------------
9281102550SiwasakiSummary of changes for this label: 11_09_01
9282102550Siwasaki
9283102550Siwasaki1) ACPI CA Core Subsystem:
9284102550Siwasaki
9285114237SnjlImplemented ACPI 2.0-defined support for writes to fields with a
9286193267SjkimBuffer, String, or Integer source operand that is smaller than the
9287126372Snjltarget field. In these cases, the source operand is zero-extended
9288126372Snjlto fill the target field.
9289102550Siwasaki
9290104470SiwasakiFixed a problem where a Field starting bit offset (within the
9291104470Siwasakiparent operation region) was calculated incorrectly if the
9292167802Sjkim
9293104470Siwasakialignment of the field differed from the access width.  This
9294114237Snjlaffected CreateWordField, CreateDwordField, CreateQwordField, and
9295114237Snjlpossibly other fields that use the "AccessAny" keyword.
9296102550Siwasaki
9297114237SnjlFixed a problem introduced in the 11_02_01 release where indirect
9298114237Snjlstores through method arguments did not operate correctly.
9299102550Siwasaki
9300102550Siwasaki2) Linux:
9301102550Siwasaki
9302102550SiwasakiImplemented boot-time ACPI table parsing support
9303114237Snjl(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
9304114237Snjlfacilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
9305114237Snjllegacy BIOS interfaces (e.g. MPS) for the configuration of system
9306193267Sjkimprocessors, memory, and interrupts during setup_arch().  Note that
9307126372Snjlthis patch does not include the required architecture-specific
9308126372Snjlchanges required to apply this information -- subsequent patches
9309126372Snjlwill be posted for both IA32 and IA64 to achieve this.
9310102550Siwasaki
9311114237SnjlAdded low-level sleep support for IA32 platforms, courtesy of Pat
9312114237SnjlMochel. This allows IA32 systems to transition to/from various
9313114237Snjlsleeping states (e.g. S1, S3), although the lack of a centralized
9314114237Snjldriver model and power-manageable drivers will prevent its
9315114237Snjl(successful) use on most systems.
9316102550Siwasaki
9317114237SnjlRevamped the ACPI 'menuconfig' layout: created new "ACPI Support"
9318193267Sjkimsubmenu, unified IA32 and IA64 options, added new "Boot using ACPI
9319126372Snjltables" option, etc.
9320102550Siwasaki
9321114237SnjlIncreased the default timeout for the EC driver from 1ms to 10ms
9322114237Snjl(1000 cycles of 10us) to try to address AE_TIME errors during EC
9323114237Snjltransactions.
9324102550Siwasaki
9325102550Siwasaki ----------------------------------------
9326102550SiwasakiSummary of changes for this label: 11_02_01
9327102550Siwasaki
9328102550Siwasaki1) ACPI CA Core Subsystem:
9329102550Siwasaki
9330102550SiwasakiACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
9331102550Siwasaki(QWordAcc keyword). All ACPI 2.0 64-bit support is now
9332102550Siwasakiimplemented.
9333102550Siwasaki
9334114237SnjlOSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
9335114237Snjlchanges to support ACPI 2.0 Qword field access.  Read/Write
9336193267SjkimPciConfiguration(), Read/Write Memory(), and Read/Write Port() now
9337126372Snjlaccept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
9338193267Sjkimthe value parameter for the address space handler interface is now
9339193267Sjkiman ACPI_INTEGER.  OSL implementations of these interfaces must now
9340126372Snjlhandle the case where the Width parameter is 64.
9341102550Siwasaki
9342104470SiwasakiIndex Fields: Fixed a problem where unaligned bit assembly and
9343104470Siwasakidisassembly for IndexFields was not supported correctly.
9344102550Siwasaki
9345102550SiwasakiIndex and Bank Fields:  Nested Index and Bank Fields are now
9346104470Siwasakisupported. During field access, a check is performed to ensure
9347114237Snjlthat the value written to an Index or Bank register is not out of
9348114237Snjlthe range of the register.  The Index (or Bank) register is
9349114237Snjlwritten before each access to the field data. Future support will
9350114237Snjlinclude allowing individual IndexFields to be wider than the
9351114237SnjlDataRegister width.
9352102550Siwasaki
9353114237SnjlFields: Fixed a problem where the AML interpreter was incorrectly
9354114237Snjlattempting to write beyond the end of a Field/OpRegion.  This was
9355114237Snjla boundary case that occurred when a DWORD field was written to a
9356114237SnjlBYTE access OpRegion, forcing multiple writes and causing the
9357114237Snjlinterpreter to write one datum too many.
9358102550Siwasaki
9359102550SiwasakiFields: Fixed a problem with Field/OpRegion access where the
9360114237Snjlstarting bit address of a field was incorrectly calculated if the
9361114237Snjlcurrent access type was wider than a byte (WordAcc, DwordAcc, or
9362114237SnjlQwordAcc).
9363102550Siwasaki
9364104470SiwasakiFields: Fixed a problem where forward references to individual
9365193267SjkimFieldUnits (individual Field names within a Field definition) were
9366126372Snjlnot resolved during the AML table load.
9367102550Siwasaki
9368104470SiwasakiFields: Fixed a problem where forward references from a Field
9369104470Siwasakidefinition to the parent Operation Region definition were not
9370104470Siwasakiresolved during the AML table load.
9371104470Siwasaki
9372114237SnjlFields: Duplicate FieldUnit names within a scope are now detected
9373114237Snjlduring AML table load.
9374102550Siwasaki
9375193267SjkimAcpi Interfaces: Fixed a problem where the AcpiGetName() interface
9376126372Snjlreturned an incorrect name for the root node.
9377102550Siwasaki
9378193267SjkimCode and Data Size: Code and Data optimizations have permitted new
9379126372Snjlfeature development with an actual reduction in the library size.
9380126372SnjlCurrent core subsystem library sizes are shown below.  These are
9381126372Snjlthe code and data sizes for the acpica.lib produced by the
9382193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9383126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9384126372Snjlincludes the debug output trace mechanism and has a larger code
9385126372Snjland data size.  Note that these values will vary depending on the
9386126372Snjlefficiency of the compiler and the compiler options used during
9387126372Snjlgeneration.
9388102550Siwasaki
9389102550Siwasaki  Previous Release (10_18_01):
9390114237Snjl     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9391114237Snjl     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9392102550Siwasaki
9393102550Siwasaki  Current Release:
9394114237Snjl     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
9395114237Snjl     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
9396102550Siwasaki
9397102550Siwasaki 2) Linux:
9398102550Siwasaki
9399102550SiwasakiImproved /proc processor output (Pavel Machek) Re-added
9400102550SiwasakiMODULE_LICENSE("GPL") to all modules.
9401102550Siwasaki
9402102550Siwasaki 3) ASL Compiler version X2030:
9403102550Siwasaki
9404104470SiwasakiDuplicate FieldUnit names within a scope are now detected and
9405104470Siwasakiflagged as errors.
9406102550Siwasaki
9407102550Siwasaki 4) Documentation:
9408102550Siwasaki
9409104470SiwasakiProgrammer Reference updated to reflect OSL and address space
9410104470Siwasakihandler interface changes described above.
9411102550Siwasaki
9412102550Siwasaki----------------------------------------
9413102550SiwasakiSummary of changes for this label: 10_18_01
9414102550Siwasaki
9415102550SiwasakiACPI CA Core Subsystem:
9416102550Siwasaki
9417193267SjkimFixed a problem with the internal object reference count mechanism
9418126372Snjlthat occasionally caused premature object deletion. This resolves
9419126372Snjlall of the outstanding problem reports where an object is deleted
9420193267Sjkimin the middle of an interpreter evaluation.  Although this problem
9421126372Snjlonly showed up in rather obscure cases, the solution to the
9422126372Snjlproblem involved an adjustment of all reference counts involving
9423126372Snjlobjects attached to namespace nodes.
9424102550Siwasaki
9425102550SiwasakiFixed a problem with Field support in the interpreter where
9426114237Snjlwriting to an aligned field whose length is an exact multiple (2
9427193267Sjkimor greater) of the field access granularity would cause an attempt
9428126372Snjlto write beyond the end of the field.
9429102550Siwasaki
9430102550SiwasakiThe top level AML opcode execution functions within the
9431102550Siwasakiinterpreter have been renamed with a more meaningful and
9432102550Siwasakiconsistent naming convention.  The modules exmonad.c and
9433102550Siwasakiexdyadic.c were eliminated.  New modules are exoparg1.c,
9434102550Siwasakiexoparg2.c, exoparg3.c, and exoparg6.c.
9435102550Siwasaki
9436114237SnjlSupport for the ACPI 2.0 "Mid" ASL operator has been implemented.
9437102550Siwasaki
9438114237SnjlFixed a problem where the AML debugger was causing some internal
9439114237Snjlobjects to not be deleted during subsystem termination.
9440102550Siwasaki
9441104470SiwasakiFixed a problem with the external AcpiEvaluateObject interface
9442104470Siwasakiwhere the subsystem would fault if the named object to be
9443104470Siwasakievaluated refered to a constant such as Zero, Ones, etc.
9444102550Siwasaki
9445102550SiwasakiFixed a problem with IndexFields and BankFields where the
9446114237Snjlsubsystem would fault if the index, data, or bank registers were
9447114237Snjlnot defined in the same scope as the field itself.
9448102550Siwasaki
9449104470SiwasakiAdded printf format string checking for compilers that support
9450104470Siwasakithis feature.  Corrected more than 50 instances of issues with
9451104470Siwasakiformat specifiers within invocations of ACPI_DEBUG_PRINT
9452104470Siwasakithroughout the core subsystem code.
9453102550Siwasaki
9454104470SiwasakiThe ASL "Revision" operator now returns the ACPI support level
9455193267Sjkimimplemented in the core - the value "2" since the ACPI 2.0 support
9456126372Snjlis more than 50% implemented.
9457102550Siwasaki
9458114237SnjlEnhanced the output of the AML debugger "dump namespace" command
9459114237Snjlto output in a more human-readable form.
9460102550Siwasaki
9461114237SnjlCurrent core subsystem library code sizes are shown below.  These
9462167802Sjkim
9463114237Snjlare the code and data sizes for the acpica.lib produced by the
9464193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9465126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9466126372Snjlincludes the full debug trace mechanism -- leading to a much
9467167802Sjkim
9468114237Snjllarger code and data size.  Note that these values will vary
9469114237Snjldepending on the efficiency of the compiler and the compiler
9470114237Snjloptions used during generation.
9471102550Siwasaki
9472102550Siwasaki     Previous Label (09_20_01):
9473114237Snjl     Non-Debug Version:    65K Code,     5K Data,     70K Total
9474114237Snjl     Debug Version:       138K Code,    58K Data,    196K Total
9475102550Siwasaki
9476102550Siwasaki     This Label:
9477102550Siwasaki
9478114237Snjl     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
9479114237Snjl     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
9480114237Snjl
9481102550SiwasakiLinux:
9482102550Siwasaki
9483104470SiwasakiImplemented a "Bad BIOS Blacklist" to track machines that have
9484104470Siwasakiknown ASL/AML problems.
9485102550Siwasaki
9486193267SjkimEnhanced the /proc interface for the thermal zone driver and added
9487126372Snjlsupport for _HOT (the critical suspend trip point).  The 'info'
9488193267Sjkimfile now includes threshold/policy information, and allows setting
9489126372Snjlof _SCP (cooling preference) and _TZP (polling frequency) values
9490193267Sjkimto the 'info' file. Examples: "echo tzp=5 > info" sets the polling
9491126372Snjlfrequency to 5 seconds, and "echo scp=1 > info" sets the cooling
9492126372Snjlpreference to the passive/quiet mode (if supported by the ASL).
9493102550Siwasaki
9494104470SiwasakiImplemented a workaround for a gcc bug that resuted in an OOPs
9495104470Siwasakiwhen loading the control method battery driver.
9496102550Siwasaki
9497102550Siwasaki ----------------------------------------
9498102550SiwasakiSummary of changes for this label: 09_20_01
9499102550Siwasaki
9500102550Siwasaki ACPI CA Core Subsystem:
9501102550Siwasaki
9502104470SiwasakiThe AcpiEnableEvent and AcpiDisableEvent interfaces have been
9503104470Siwasakimodified to allow individual GPE levels to be flagged as wake-
9504114237Snjlenabled (i.e., these GPEs are to remain enabled when the platform
9505114237Snjlsleeps.)
9506102550Siwasaki
9507104470SiwasakiThe AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
9508104470Siwasakisupport wake-enabled GPEs.  This means that upon entering the
9509104470Siwasakisleep state, all GPEs that are not wake-enabled are disabled.
9510104470SiwasakiWhen leaving the sleep state, these GPEs are reenabled.
9511102550Siwasaki
9512114237SnjlA local double-precision divide/modulo module has been added to
9513114237Snjlenhance portability to OS kernels where a 64-bit math library is
9514114237Snjlnot available.  The new module is "utmath.c".
9515102550Siwasaki
9516104470SiwasakiSeveral optimizations have been made to reduce the use of CPU
9517114237Snjlstack.  Originally over 2K, the maximum stack usage is now below
9518114237Snjl2K at 1860  bytes (1.82k)
9519102550Siwasaki
9520114237SnjlFixed a problem with the AcpiGetFirmwareTable interface where the
9521193267Sjkimroot table pointer was not mapped into a logical address properly.
9522102550Siwasaki
9523193267SjkimFixed a problem where a NULL pointer was being dereferenced in the
9524126372Snjlinterpreter code for the ASL Notify operator.
9525102550Siwasaki
9526102550SiwasakiFixed a problem where the use of the ASL Revision operator
9527114237Snjlreturned an error. This operator now returns the current version
9528114237Snjlof the ACPI CA core subsystem.
9529102550Siwasaki
9530114237SnjlFixed a problem where objects passed as control method parameters
9531114237Snjlto AcpiEvaluateObject were always deleted at method termination.
9532114237SnjlHowever, these objects may end up being stored into the namespace
9533114237Snjlby the called method.  The object reference count mechanism was
9534114237Snjlapplied to these objects instead of a force delete.
9535102550Siwasaki
9536114237SnjlFixed a problem where static strings or buffers (contained in the
9537114237SnjlAML code) that are declared as package elements within the ASL
9538114237Snjlcode could cause a fault because the interpreter would attempt to
9539114237Snjldelete them.  These objects are now marked with the "static
9540114237Snjlobject" flag to prevent any attempt to delete them.
9541102550Siwasaki
9542114237SnjlImplemented an interpreter optimization to use operands directly
9543114237Snjlfrom the state object instead of extracting the operands to local
9544114237Snjlvariables.  This reduces stack use and code size, and improves
9545114237Snjlperformance.
9546102550Siwasaki
9547193267SjkimThe module exxface.c was eliminated as it was an unnecessary extra
9548126372Snjllayer of code.
9549102550Siwasaki
9550114237SnjlCurrent core subsystem library code sizes are shown below.  These
9551114237Snjlare the code and data sizes for the acpica.lib produced by the
9552193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9553126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9554126372Snjlincludes the full debug trace mechanism -- leading to a much
9555114237Snjllarger code and data size.  Note that these values will vary
9556114237Snjldepending on the efficiency of the compiler and the compiler
9557114237Snjloptions used during generation.
9558102550Siwasaki
9559102550Siwasaki  Non-Debug Version:  65K Code,   5K Data,   70K Total
9560114237Snjl(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
9561114237SnjlTotal  (Previously 195K)
9562102550Siwasaki
9563102550SiwasakiLinux:
9564102550Siwasaki
9565114237SnjlSupport for ACPI 2.0 64-bit integers has been added.   All ACPI
9566114237SnjlInteger objects are now 64 bits wide
9567102550Siwasaki
9568114237SnjlAll Acpi data types and structures are now in lower case.  Only
9569114237SnjlAcpi macros are upper case for differentiation.
9570102550Siwasaki
9571102550Siwasaki Documentation:
9572102550Siwasaki
9573102550SiwasakiChanges to the external interfaces as described above.
9574102550Siwasaki
9575102550Siwasaki ----------------------------------------
9576102550SiwasakiSummary of changes for this label: 08_31_01
9577102550Siwasaki
9578102550Siwasaki ACPI CA Core Subsystem:
9579102550Siwasaki
9580114237SnjlA bug with interpreter implementation of the ASL Divide operator
9581114237Snjlwas found and fixed.  The implicit function return value (not the
9582114237Snjlexplicit store operands) was returning the remainder instead of
9583114237Snjlthe quotient.  This was a longstanding bug and it fixes several
9584114237Snjlknown outstanding issues on various platforms.
9585102550Siwasaki
9586104470SiwasakiThe ACPI_DEBUG_PRINT and function trace entry/exit macros have
9587193267Sjkimbeen further optimized for size.  There are 700 invocations of the
9588126372SnjlDEBUG_PRINT macro alone, so each optimization reduces the size of
9589126372Snjlthe debug version of the subsystem significantly.
9590102550Siwasaki
9591114237SnjlA stack trace mechanism has been implemented.  The maximum stack
9592193267Sjkimusage is about 2K on 32-bit platforms.  The debugger command "stat
9593126372Snjlstack" will display the current maximum stack usage.
9594102550Siwasaki
9595114237SnjlAll public symbols and global variables within the subsystem are
9596114237Snjlnow prefixed with the string "Acpi".  This keeps all of the
9597114237Snjlsymbols grouped together in a kernel map, and avoids conflicts
9598114237Snjlwith other kernel subsystems.
9599102550Siwasaki
9600114237SnjlMost of the internal fixed lookup tables have been moved into the
9601114237Snjlcode segment via the const operator.
9602102550Siwasaki
9603104470SiwasakiSeveral enhancements have been made to the interpreter to both
9604104470Siwasakireduce the code size and improve performance.
9605102550Siwasaki
9606114237SnjlCurrent core subsystem library code sizes are shown below.  These
9607114237Snjlare the code and data sizes for the acpica.lib produced by the
9608193267SjkimMicrosoft Visual C++ 6.0 compiler, and these values do not include
9609126372Snjlany ACPI driver or OSPM code.  The debug version of the code
9610126372Snjlincludes the full debug trace mechanism which contains over 700
9611126372Snjlinvocations of the DEBUG_PRINT macro, 500 function entry macro
9612126372Snjlinvocations, and over 900 function exit macro invocations --
9613126372Snjlleading to a much larger code and data size.  Note that these
9614114237Snjlvalues will vary depending on the efficiency of the compiler and
9615114237Snjlthe compiler options used during generation.
9616102550Siwasaki
9617102550Siwasaki        Non-Debug Version:  64K Code,   5K Data,   69K Total
9618102550SiwasakiDebug Version:     137K Code,  58K Data,  195K Total
9619102550Siwasaki
9620102550Siwasaki Linux:
9621102550Siwasaki
9622104470SiwasakiImplemented wbinvd() macro, pending a kernel-wide definition.
9623102550Siwasaki
9624102550SiwasakiFixed /proc/acpi/event to handle poll() and short reads.
9625102550Siwasaki
9626102550Siwasaki ASL Compiler, version X2026:
9627102550Siwasaki
9628104470SiwasakiFixed a problem introduced in the previous label where the AML
9629167802Sjkim
9630104470Siwasakicode emitted for package objects produced packages with zero
9631104470Siwasakilength.
9632102550Siwasaki
9633102550Siwasaki ----------------------------------------
9634102550SiwasakiSummary of changes for this label: 08_16_01
9635102550Siwasaki
9636102550SiwasakiACPI CA Core Subsystem:
9637102550Siwasaki
9638114237SnjlThe following ACPI 2.0 ASL operators have been implemented in the
9639114237SnjlAML interpreter (These are already supported by the Intel ASL
9640193267Sjkimcompiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
9641126372SnjlToBuffer.  Support for 64-bit AML constants is implemented in the
9642126372SnjlAML parser, debugger, and disassembler.
9643102550Siwasaki
9644114237SnjlThe internal memory tracking mechanism (leak detection code) has
9645114237Snjlbeen upgraded to reduce the memory overhead (a separate tracking
9646114237Snjlblock is no longer allocated for each memory allocation), and now
9647114237Snjlsupports all of the internal object caches.
9648102550Siwasaki
9649114237SnjlThe data structures and code for the internal object caches have
9650114237Snjlbeen coelesced and optimized so that there is a single cache and
9651114237Snjlmemory list data structure and a single group of functions that
9652114237Snjlimplement generic cache management.  This has reduced the code
9653114237Snjlsize in both the debug and release versions of the subsystem.
9654102550Siwasaki
9655193267SjkimThe DEBUG_PRINT macro(s) have been optimized for size and replaced
9656126372Snjlby ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
9657126372Snjldifferent, because it generates a single call to an internal
9658126372Snjlfunction.  This results in a savings of about 90 bytes per
9659193267Sjkiminvocation, resulting in an overall code and data savings of about
9660126372Snjl16% in the debug version of the subsystem.
9661102550Siwasaki
9662102550Siwasaki Linux:
9663102550Siwasaki
9664114237SnjlFixed C3 disk corruption problems and re-enabled C3 on supporting
9665114237Snjlmachines.
9666102550Siwasaki
9667102550SiwasakiIntegrated low-level sleep code by Patrick Mochel.
9668102550Siwasaki
9669102550SiwasakiFurther tweaked source code Linuxization.
9670102550Siwasaki
9671102550SiwasakiOther minor fixes.
9672102550Siwasaki
9673102550Siwasaki ASL Compiler:
9674102550Siwasaki
9675114237SnjlSupport for ACPI 2.0 variable length packages is fixed/completed.
9676102550Siwasaki
9677114237SnjlFixed a problem where the optional length parameter for the ACPI
9678114237Snjl2.0 ToString operator.
9679102550Siwasaki
9680114237SnjlFixed multiple extraneous error messages when a syntax error is
9681114237Snjldetected within the declaration line of a control method.
9682102550Siwasaki
9683102550Siwasaki ----------------------------------------
9684102550SiwasakiSummary of changes for this label: 07_17_01
9685102550Siwasaki
9686102550SiwasakiACPI CA Core Subsystem:
9687102550Siwasaki
9688104470SiwasakiAdded a new interface named AcpiGetFirmwareTable to obtain any
9689193267SjkimACPI table via the ACPI signature.  The interface can be called at
9690126372Snjlany time during kernel initialization, even before the kernel
9691193267Sjkimvirtual memory manager is initialized and paging is enabled.  This
9692126372Snjlallows kernel subsystems to obtain ACPI tables very early, even
9693126372Snjlbefore the ACPI CA subsystem is initialized.
9694102550Siwasaki
9695104470SiwasakiFixed a problem where Fields defined with the AnyAcc attribute
9696104470Siwasakicould be resolved to the incorrect address under the following
9697114237Snjlconditions: 1) the field width is larger than 8 bits and 2) the
9698114237Snjlparent operation region is not defined on a DWORD boundary.
9699102550Siwasaki
9700114237SnjlFixed a problem where the interpreter is not being locked during
9701114237Snjlnamespace initialization (during execution of the _INI control
9702114237Snjlmethods), causing an error when an attempt is made to release it
9703114237Snjllater.
9704102550Siwasaki
9705104470SiwasakiACPI 2.0 support in the AML Interpreter has begun and will be
9706114237Snjlongoing throughout the rest of this year.  In this label, The Mod
9707114237Snjloperator is implemented.
9708102550Siwasaki
9709102550SiwasakiAdded a new data type to contain full PCI addresses named
9710193267SjkimACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
9711126372Snjland Function values.
9712102550Siwasaki
9713102550Siwasaki Linux:
9714102550Siwasaki
9715102550SiwasakiEnhanced the Linux version of the source code to change most
9716102550Siwasakicapitalized ACPI type names to lowercase. For example, all
9717114237Snjlinstances of ACPI_STATUS are changed to acpi_status.  This will
9718114237Snjlresult in a large diff, but the change is strictly cosmetic and
9719114237Snjlaligns the CA code closer to the Linux coding standard.
9720102550Siwasaki
9721102550SiwasakiOSL Interfaces:
9722102550Siwasaki
9723193267SjkimThe interfaces to the PCI configuration space have been changed to
9724193267Sjkimadd the PCI Segment number and to split the single 32-bit combined
9725126372SnjlDeviceFunction field into two 16-bit fields.  This was
9726114237Snjlaccomplished by moving the four values that define an address in
9727114237SnjlPCI configuration space (segment, bus, device, and function) to
9728114237Snjlthe new ACPI_PCI_ID structure.
9729102550Siwasaki
9730104470SiwasakiThe changes to the PCI configuration space interfaces led to a
9731104470Siwasakireexamination of the complete set of address space access
9732114237Snjlinterfaces for PCI, I/O, and Memory.  The previously existing 18
9733114237Snjlinterfaces have proven difficult to maintain (any small change
9734193267Sjkimmust be propagated across at least 6 interfaces) and do not easily
9735193267Sjkimallow for future expansion to 64 bits if necessary.  Also, on some
9736126372Snjlsystems, it would not be appropriate to demultiplex the access
9737126372Snjlwidth (8, 16, 32,or 64) before calling the OSL if the
9738114237Snjlcorresponding native OS interfaces contain a similar access width
9739114237Snjlparameter.  For these reasons, the 18 address space interfaces
9740114237Snjlhave been replaced by these 6 new ones:
9741102550Siwasaki
9742102550SiwasakiAcpiOsReadPciConfiguration
9743102550SiwasakiAcpiOsWritePciConfiguration
9744102550SiwasakiAcpiOsReadMemory
9745102550SiwasakiAcpiOsWriteMemory
9746102550SiwasakiAcpiOsReadPort
9747102550SiwasakiAcpiOsWritePort
9748102550Siwasaki
9749114237SnjlAdded a new interface named AcpiOsGetRootPointer to allow the OSL
9750114237Snjlto perform the platform and/or OS-specific actions necessary to
9751114237Snjlobtain the ACPI RSDP table pointer.  On IA-32 platforms, this
9752114237Snjlinterface will simply call down to the CA core to perform the low-
9753114237Snjlmemory search for the table.  On IA-64, the RSDP is obtained from
9754114237SnjlEFI.  Migrating this interface to the OSL allows the CA core to
9755167802Sjkim
9756114237Snjlremain OS and platform independent.
9757102550Siwasaki
9758104470SiwasakiAdded a new interface named AcpiOsSignal to provide a generic
9759114237Snjl"function code and pointer" interface for various miscellaneous
9760114237Snjlsignals and notifications that must be made to the host OS.   The
9761114237Snjlfirst such signals are intended to support the ASL Fatal and
9762114237SnjlBreakpoint operators.  In the latter case, the AcpiOsBreakpoint
9763114237Snjlinterface has been obsoleted.
9764102550Siwasaki
9765102550SiwasakiThe definition of the AcpiFormatException interface has been
9766114237Snjlchanged to simplify its use.  The caller no longer must supply a
9767114237Snjlbuffer to the call; A pointer to a const string is now returned
9768114237Snjldirectly.  This allows the call to be easily used in printf
9769114237Snjlstatements, etc. since the caller does not have to manage a local
9770114237Snjlbuffer.
9771102550Siwasaki
9772114237Snjl
9773102550Siwasaki ASL Compiler, Version X2025:
9774102550Siwasaki
9775114237SnjlThe ACPI 2.0 Switch/Case/Default operators have been implemented
9776114237Snjland are fully functional.  They will work with all ACPI 1.0
9777193267Sjkiminterpreters, since the operators are simply translated to If/Else
9778126372Snjlpairs.
9779102550Siwasaki
9780104470SiwasakiThe ACPI 2.0 ElseIf operator is implemented and will also work
9781104470Siwasakiwith 1.0 interpreters, for the same reason.
9782102550Siwasaki
9783114237SnjlImplemented support for ACPI 2.0 variable-length packages.  These
9784114237Snjlpackages have a separate opcode, and their size is determined by
9785114237Snjlthe interpreter at run-time.
9786102550Siwasaki
9787193267SjkimDocumentation The ACPI CA Programmer Reference has been updated to
9788126372Snjlreflect the new interfaces and changes to existing interfaces.
9789102550Siwasaki
9790102550Siwasaki ------------------------------------------
9791102550SiwasakiSummary of changes for this label: 06_15_01
9792102550Siwasaki
9793102550Siwasaki ACPI CA Core Subsystem:
9794102550Siwasaki
9795102550SiwasakiFixed a problem where a DWORD-accessed field within a Buffer
9796114237Snjlobject would get its byte address inadvertently rounded down to
9797114237Snjlthe nearest DWORD.  Buffers are always Byte-accessible.
9798102550Siwasaki
9799102550Siwasaki ASL Compiler, version X2024:
9800102550Siwasaki
9801114237SnjlFixed a problem where the Switch() operator would either fault or
9802114237Snjlhang the compiler.  Note however, that the AML code for this ACPI
9803114237Snjl2.0 operator is not yet implemented.
9804102550Siwasaki
9805114237SnjlCompiler uses the new AcpiOsGetTimer interface to obtain compile
9806114237Snjltimings.
9807102550Siwasaki
9808114237SnjlImplementation of the CreateField operator automatically converts
9809114237Snjla reference to a named field within a resource descriptor from a
9810114237Snjlbyte offset to a bit offset if required.
9811102550Siwasaki
9812102550SiwasakiAdded some missing named fields from the resource descriptor
9813193267Sjkimsupport. These are the names that are automatically created by the
9814126372Snjlcompiler to reference fields within a descriptor.  They are only
9815126372Snjlvalid at compile time and are not passed through to the AML
9816114237Snjlinterpreter.
9817102550Siwasaki
9818104470SiwasakiResource descriptor named fields are now typed as Integers and
9819104470Siwasakisubject to compile-time typechecking when used in expressions.
9820102550Siwasaki
9821102550Siwasaki ------------------------------------------
9822102550SiwasakiSummary of changes for this label: 05_18_01
9823102550Siwasaki
9824102550Siwasaki ACPI CA Core Subsystem:
9825102550Siwasaki
9826114237SnjlFixed a couple of problems in the Field support code where bits
9827193267Sjkimfrom adjacent fields could be returned along with the proper field
9828126372Snjlbits. Restructured the field support code to improve performance,
9829126372Snjlreadability and maintainability.
9830102550Siwasaki
9831114237SnjlNew DEBUG_PRINTP macro automatically inserts the procedure name
9832114237Snjlinto the output, saving hundreds of copies of procedure name
9833114237Snjlstrings within the source, shrinking the memory footprint of the
9834114237Snjldebug version of the core subsystem.
9835102550Siwasaki
9836102550Siwasaki Source Code Structure:
9837102550Siwasaki
9838104470SiwasakiThe source code directory tree was restructured to reflect the
9839114237Snjlcurrent organization of the component architecture.  Some files
9840114237Snjland directories have been moved and/or renamed.
9841102550Siwasaki
9842102550Siwasaki Linux:
9843102550Siwasaki
9844102550SiwasakiFixed leaking kacpidpc processes.
9845102550Siwasaki
9846102550SiwasakiFixed queueing event data even when /proc/acpi/event is not
9847102550Siwasakiopened.
9848102550Siwasaki
9849102550Siwasaki ASL Compiler, version X2020:
9850102550Siwasaki
9851114237SnjlMemory allocation performance enhancement - over 24X compile time
9852114237Snjlimprovement on large ASL files.  Parse nodes and namestring
9853114237Snjlbuffers are now allocated from a large internal compiler buffer.
9854102550Siwasaki
9855102550SiwasakiThe temporary .SRC file is deleted unless the "-s" option is
9856102550Siwasakispecified
9857102550Siwasaki
9858193267SjkimThe "-d" debug output option now sends all output to the .DBG file
9859126372Snjlinstead of the console.
9860102550Siwasaki
9861102550Siwasaki"External" second parameter is now optional
9862102550Siwasaki
9863102550Siwasaki"ElseIf" syntax now properly allows the predicate
9864102550Siwasaki
9865102550SiwasakiLast operand to "Load" now recognized as a Target operand
9866102550Siwasaki
9867102550SiwasakiDebug object can now be used anywhere as a normal object.
9868102550Siwasaki
9869102550SiwasakiResourceTemplate now returns an object of type BUFFER
9870102550Siwasaki
9871102550SiwasakiEISAID now returns an object of type INTEGER
9872102550Siwasaki
9873102550Siwasaki"Index" now works with a STRING operand
9874102550Siwasaki
9875102550Siwasaki"LoadTable" now accepts optional parameters
9876102550Siwasaki
9877102550Siwasaki"ToString" length parameter is now optional
9878102550Siwasaki
9879102550Siwasaki"Interrupt (ResourceType," parse error fixed.
9880102550Siwasaki
9881104470Siwasaki"Register" with a user-defined region space parse error fixed
9882102550Siwasaki
9883114237SnjlEscaped backslash at the end of a string ("\\") scan/parse error
9884114237Snjlfixed
9885102550Siwasaki
9886102550Siwasaki"Revision" is now an object of type INTEGER.
9887102550Siwasaki
9888102550Siwasaki
9889102550Siwasaki
9890102550Siwasaki------------------------------------------
9891102550SiwasakiSummary of changes for this label: 05_02_01
9892102550Siwasaki
9893102550SiwasakiLinux:
9894102550Siwasaki
9895102550Siwasaki/proc/acpi/event now blocks properly.
9896102550Siwasaki
9897102550SiwasakiRemoved /proc/sys/acpi. You can still dump your DSDT from
9898102550Siwasaki/proc/acpi/dsdt.
9899102550Siwasaki
9900102550Siwasaki ACPI CA Core Subsystem:
9901102550Siwasaki
9902193267SjkimFixed a problem introduced in the previous label where some of the
9903126372Snjl"small" resource descriptor types were not recognized.
9904102550Siwasaki
9905193267SjkimImproved error messages for the case where an ASL Field is outside
9906126372Snjlthe range of the parent operation region.
9907102550Siwasaki
9908102550Siwasaki ASL Compiler, version X2018:
9909102550Siwasaki
9910167802Sjkim
9911193267SjkimAdded error detection for ASL Fields that extend beyond the length
9912126372Snjlof the parent operation region (only if the length of the region
9913126372Snjlis known at compile time.)  This includes fields that have a
9914126372Snjlminimum access width that is smaller than the parent region, and
9915126372Snjlindividual field units that are partially or entirely beyond the
9916126372Snjlextent of the parent.
9917102550Siwasaki
9918102550Siwasaki
9919102550Siwasaki
9920102550Siwasaki------------------------------------------
9921102550SiwasakiSummary of changes for this label: 04_27_01
9922102550Siwasaki
9923102550Siwasaki ACPI CA Core Subsystem:
9924102550Siwasaki
9925193267SjkimFixed a problem where the namespace mutex could be released at the
9926126372Snjlwrong time during execution of AcpiRemoveAddressSpaceHandler.
9927102550Siwasaki
9928104470SiwasakiAdded optional thread ID output for debug traces, to simplify
9929114237Snjldebugging of multiple threads.  Added context switch notification
9930114237Snjlwhen the debug code realizes that a different thread is now
9931114237Snjlexecuting ACPI code.
9932102550Siwasaki
9933114237SnjlSome additional external data types have been prefixed with the
9934114237Snjlstring "ACPI_" for consistency.  This may effect existing code.
9935193267SjkimThe data types affected are the external callback typedefs - e.g.,
9936167802Sjkim
9937126372SnjlWALK_CALLBACK becomes ACPI_WALK_CALLBACK.
9938102550Siwasaki
9939102550Siwasaki Linux:
9940102550Siwasaki
9941102550SiwasakiFixed an issue with the OSL semaphore implementation where a
9942102550Siwasakithread was waking up with an error from receiving a SIGCHLD
9943102550Siwasakisignal.
9944102550Siwasaki
9945114237SnjlLinux version of ACPI CA now uses the system C library for string
9946114237Snjlmanipulation routines instead of a local implementation.
9947102550Siwasaki
9948102550SiwasakiCleaned up comments and removed TBDs.
9949102550Siwasaki
9950102550Siwasaki ASL Compiler, version X2017:
9951102550Siwasaki
9952102550SiwasakiEnhanced error detection and reporting for all file I/O
9953102550Siwasakioperations.
9954102550Siwasaki
9955102550Siwasaki Documentation:
9956102550Siwasaki
9957102550SiwasakiProgrammer Reference updated to version 1.06.
9958102550Siwasaki
9959102550Siwasaki
9960102550Siwasaki
9961102550Siwasaki------------------------------------------
9962102550SiwasakiSummary of changes for this label: 04_13_01
9963102550Siwasaki
9964102550Siwasaki ACPI CA Core Subsystem:
9965102550Siwasaki
9966102550SiwasakiRestructured support for BufferFields and RegionFields.
9967104470SiwasakiBankFields support is now fully operational.  All known 32-bit
9968114237Snjllimitations on field sizes have been removed.  Both BufferFields
9969114237Snjland (Operation) RegionFields are now supported by the same field
9970114237Snjlmanagement code.
9971102550Siwasaki
9972114237SnjlResource support now supports QWORD address and IO resources. The
9973114237Snjl16/32/64 bit address structures and the Extended IRQ structure
9974114237Snjlhave been changed to properly handle Source Resource strings.
9975102550Siwasaki
9976114237SnjlA ThreadId of -1 is now used to indicate a "mutex not acquired"
9977193267Sjkimcondition internally and must never be returned by AcpiOsThreadId.
9978126372SnjlThis reserved value was changed from 0 since Unix systems allow a
9979126372Snjlthread ID of 0.
9980102550Siwasaki
9981102550SiwasakiLinux:
9982102550Siwasaki
9983102550SiwasakiDriver code reorganized to enhance portability
9984102550Siwasaki
9985102550SiwasakiAdded a kernel configuration option to control ACPI_DEBUG
9986102550Siwasaki
9987102550SiwasakiFixed the EC driver to honor _GLK.
9988102550Siwasaki
9989102550SiwasakiASL Compiler, version X2016:
9990102550Siwasaki
9991114237SnjlFixed support for the "FixedHw" keyword.  Previously, the FixedHw
9992114237Snjladdress space was set to 0, not 0x7f as it should be.
9993102550Siwasaki
9994102550Siwasaki ------------------------------------------
9995102550SiwasakiSummary of changes for this label: 03_13_01
9996102550Siwasaki
9997102550Siwasaki ACPI CA Core Subsystem:
9998102550Siwasaki
9999104470SiwasakiDuring ACPI initialization, the _SB_._INI method is now run if
10000104470Siwasakipresent.
10001102550Siwasaki
10002193267SjkimNotify handler fix - notifies are deferred until the parent method
10003126372Snjlcompletes execution.  This fixes the "mutex already acquired"
10004126372Snjlissue seen occasionally.
10005102550Siwasaki
10006104470SiwasakiPart of the "implicit conversion" rules in ACPI 2.0 have been
10007114237Snjlfound to cause compatibility problems with existing ASL/AML.  The
10008114237Snjlconvert "result-to-target-type" implementation has been removed
10009114237Snjlfor stores to method Args and Locals.  Source operand conversion
10010114237Snjlis still fully implemented.  Possible changes to ACPI 2.0
10011114237Snjlspecification pending.
10012102550Siwasaki
10013104470SiwasakiFix to AcpiRsCalculatePciRoutingTableLength to return correct
10014104470Siwasakilength.
10015102550Siwasaki
10016102550SiwasakiFix for compiler warnings for 64-bit compiles.
10017102550Siwasaki
10018102550Siwasaki Linux:
10019102550Siwasaki
10020102550Siwasaki/proc output aligned for easier parsing.
10021102550Siwasaki
10022102550SiwasakiRelease-version compile problem fixed.
10023102550Siwasaki
10024104470SiwasakiNew kernel configuration options documented in Configure.help.
10025102550Siwasaki
10026102550SiwasakiIBM 600E - Fixed Sleep button may generate "Invalid <NULL>
10027102550Siwasakicontext" message.
10028102550Siwasaki
10029102550Siwasaki OSPM:
10030102550Siwasaki
10031102550SiwasakiPower resource driver integrated with bus manager.
10032102550Siwasaki
10033102550SiwasakiFixed kernel fault during active cooling for thermal zones.
10034102550Siwasaki
10035102550SiwasakiSource Code:
10036102550Siwasaki
10037102550SiwasakiThe source code tree has been restructured.
10038102550Siwasaki
10039102550Siwasaki
10040102550Siwasaki
10041102550Siwasaki------------------------------------------
10042102550SiwasakiSummary of changes for this label: 03_02_01
10043102550Siwasaki
10044102550Siwasaki Linux OS Services Layer (OSL):
10045102550Siwasaki
10046102550SiwasakiMajor revision of all Linux-specific code.
10047102550Siwasaki
10048102550SiwasakiModularized all ACPI-specific drivers.
10049102550Siwasaki
10050102550SiwasakiAdded new thermal zone and power resource drivers.
10051102550Siwasaki
10052114237SnjlRevamped /proc interface (new functionality is under /proc/acpi).
10053102550Siwasaki
10054102550SiwasakiNew kernel configuration options.
10055102550Siwasaki
10056102550Siwasaki Linux known issues:
10057102550Siwasaki
10058114237SnjlNew kernel configuration options not documented in Configure.help
10059114237Snjlyet.
10060102550Siwasaki
10061114237Snjl
10062102550SiwasakiModule dependencies not currently implemented. If used, they
10063102550Siwasakishould be loaded in this order: busmgr, power, ec, system,
10064102550Siwasakiprocessor, battery, ac_adapter, button, thermal.
10065102550Siwasaki
10066102550SiwasakiModules will not load if CONFIG_MODVERSION is set.
10067102550Siwasaki
10068102550SiwasakiIBM 600E - entering S5 may reboot instead of shutting down.
10069102550Siwasaki
10070104470SiwasakiIBM 600E - Sleep button may generate "Invalid <NULL> context"
10071104470Siwasakimessage.
10072102550Siwasaki
10073104470SiwasakiSome systems may fail with "execution mutex already acquired"
10074104470Siwasakimessage.
10075102550Siwasaki
10076102550Siwasaki ACPI CA Core Subsystem:
10077102550Siwasaki
10078114237SnjlAdded a new OSL Interface, AcpiOsGetThreadId.  This was required
10079193267Sjkimfor the  deadlock detection code. Defined to return a non-zero, 32-
10080126372Snjlbit thread ID for the currently executing thread.  May be a non-
10081126372Snjlzero constant integer on single-thread systems.
10082102550Siwasaki
10083193267SjkimImplemented deadlock detection for internal subsystem mutexes.  We
10084126372Snjlmay add conditional compilation for this code (debug only) later.
10085102550Siwasaki
10086104470SiwasakiASL/AML Mutex object semantics are now fully supported.  This
10087114237Snjlincludes multiple acquires/releases by owner and support for the
10088167802Sjkim
10089114237SnjlMutex SyncLevel parameter.
10090102550Siwasaki
10091102550SiwasakiA new "Force Release" mechanism automatically frees all ASL
10092104470SiwasakiMutexes that have been acquired but not released when a thread
10093114237Snjlexits the interpreter.  This forces conformance to the ACPI spec
10094114237Snjl("All mutexes must be released when an invocation exits") and
10095114237Snjlprevents deadlocked ASL threads.  This mechanism can be expanded
10096114237Snjl(later) to monitor other resource acquisitions if OEM ASL code
10097114237Snjlcontinues to misbehave (which it will).
10098102550Siwasaki
10099104470SiwasakiSeveral new ACPI exception codes have been added for the Mutex
10100104470Siwasakisupport.
10101102550Siwasaki
10102104470SiwasakiRecursive method calls are now allowed and supported (the ACPI
10103114237Snjlspec does in fact allow recursive method calls.)  The number of
10104114237Snjlrecursive calls is subject to the restrictions imposed by the
10105114237SnjlSERIALIZED method keyword and SyncLevel (ACPI 2.0) method
10106104470Siwasakiparameter.
10107102550Siwasaki
10108102550SiwasakiImplemented support for the SyncLevel parameter for control
10109102550Siwasakimethods (ACPI 2.0 feature)
10110102550Siwasaki
10111114237SnjlFixed a deadlock problem when multiple threads attempted to use
10112114237Snjlthe interpreter.
10113102550Siwasaki
10114102550SiwasakiFixed a problem where the string length of a String package
10115102550Siwasakielement was not always set in a package returned from
10116102550SiwasakiAcpiEvaluateObject.
10117102550Siwasaki
10118114237SnjlFixed a problem where the length of a String package element was
10119114237Snjlnot always included in the length of the overall package returned
10120114237Snjlfrom AcpiEvaluateObject.
10121102550Siwasaki
10122102550SiwasakiAdded external interfaces (Acpi*) to the ACPI debug memory
10123102550Siwasakimanager.  This manager keeps a list of all outstanding
10124193267Sjkimallocations, and can therefore detect memory leaks and attempts to
10125126372Snjlfree memory blocks more than once. Useful for code such as the
10126114237Snjlpower manager, etc.  May not be appropriate for device drivers.
10127114237SnjlPerformance with the debug code enabled is slow.
10128102550Siwasaki
10129102550SiwasakiThe ACPI Global Lock is now an optional hardware element.
10130102550Siwasaki
10131102550Siwasaki ASL Compiler Version X2015:
10132102550Siwasaki
10133102550SiwasakiIntegrated changes to allow the compiler to be generated on
10134102550Siwasakimultiple platforms.
10135102550Siwasaki
10136102550SiwasakiLinux makefile added to generate the compiler on Linux
10137102550Siwasaki
10138102550Siwasaki Source Code:
10139102550Siwasaki
10140102550SiwasakiAll platform-specific headers have been moved to their own
10141102550Siwasakisubdirectory, Include/Platform.
10142102550Siwasaki
10143102550SiwasakiNew source file added, Interpreter/ammutex.c
10144102550Siwasaki
10145102550SiwasakiNew header file, Include/acstruct.h
10146102550Siwasaki
10147102550Siwasaki Documentation:
10148102550Siwasaki
10149114237SnjlThe programmer reference has been updated for the following new
10150114237Snjlinterfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
10151102550Siwasaki
10152102550Siwasaki ------------------------------------------
10153102550SiwasakiSummary of changes for this label: 02_08_01
10154102550Siwasaki
10155102550SiwasakiCore ACPI CA Subsystem: Fixed a problem where an error was
10156193267Sjkimincorrectly returned if the return resource buffer was larger than
10157126372Snjlthe actual data (in the resource interfaces).
10158102550Siwasaki
10159114237SnjlReferences to named objects within packages are resolved to the
10160167802Sjkim
10161114237Snjlfull pathname string before packages are returned directly (via
10162114237Snjlthe AcpiEvaluateObject interface) or indirectly via the resource
10163114237Snjlinterfaces.
10164102550Siwasaki
10165102550SiwasakiLinux OS Services Layer (OSL):
10166102550Siwasaki
10167102550SiwasakiImproved /proc battery interface.
10168102550Siwasaki
10169102550Siwasaki
10170104470SiwasakiAdded C-state debugging output and other miscellaneous fixes.
10171102550Siwasaki
10172102550SiwasakiASL Compiler Version X2014:
10173102550Siwasaki
10174114237SnjlAll defined method arguments can now be used as local variables,
10175114237Snjlincluding the ones that are not actually passed in as parameters.
10176114237SnjlThe compiler tracks initialization of the arguments and issues an
10177114237Snjlexception if they are used without prior assignment (just like
10178114237Snjllocals).
10179102550Siwasaki
10180193267SjkimThe -o option now specifies a filename prefix that is used for all
10181126372Snjloutput files, including the AML output file.  Otherwise, the
10182114237Snjldefault behavior is as follows:  1) the AML goes to the file
10183114237Snjlspecified in the DSDT.  2) all other output files use the input
10184114237Snjlsource filename as the base.
10185102550Siwasaki
10186102550Siwasaki ------------------------------------------
10187102550SiwasakiSummary of changes for this label: 01_25_01
10188102550Siwasaki
10189114237SnjlCore ACPI CA Subsystem: Restructured the implementation of object
10190114237Snjlstore support within the  interpreter.  This includes support for
10191114237Snjlthe Store operator as well  as any ASL operators that include a
10192114237Snjltarget operand.
10193102550Siwasaki
10194102550SiwasakiPartially implemented support for Implicit Result-to-Target
10195114237Snjlconversion. This is when a result object is converted on the fly
10196114237Snjlto the type of  an existing target object.  Completion of this
10197114237Snjlsupport is pending  further analysis of the ACPI specification
10198114237Snjlconcerning this matter.
10199102550Siwasaki
10200114237SnjlCPU-specific code has been removed from the subsystem (hardware
10201114237Snjldirectory).
10202102550Siwasaki
10203102550SiwasakiNew Power Management Timer functions added
10204102550Siwasaki
10205114237SnjlLinux OS Services Layer (OSL): Moved system state transition code
10206114237Snjlto the core, fixed it, and modified  Linux OSL accordingly.
10207102550Siwasaki
10208102550SiwasakiFixed C2 and C3 latency calculations.
10209102550Siwasaki
10210102550Siwasaki
10211114237SnjlWe no longer use the compilation date for the version message on
10212193267Sjkiminitialization, but retrieve the version from AcpiGetSystemInfo().
10213102550Siwasaki
10214102550SiwasakiIncorporated for fix Sony VAIO machines.
10215102550Siwasaki
10216104470SiwasakiDocumentation:  The Programmer Reference has been updated and
10217104470Siwasakireformatted.
10218102550Siwasaki
10219102550Siwasaki
10220102550SiwasakiASL Compiler:  Version X2013: Fixed a problem where the line
10221102550Siwasakinumbering and error reporting could get out  of sync in the
10222102550Siwasakipresence of multiple include files.
10223102550Siwasaki
10224102550Siwasaki ------------------------------------------
10225102550SiwasakiSummary of changes for this label: 01_15_01
10226102550Siwasaki
10227102550SiwasakiCore ACPI CA Subsystem:
10228102550Siwasaki
10229114237SnjlImplemented support for type conversions in the execution of the
10230114237SnjlASL  Concatenate operator (The second operand is converted to
10231114237Snjlmatch the type  of the first operand before concatenation.)
10232102550Siwasaki
10233102550SiwasakiSupport for implicit source operand conversion is partially
10234114237Snjlimplemented.   The ASL source operand types Integer, Buffer, and
10235114237SnjlString are freely  interchangeable for most ASL operators and are
10236114237Snjlconverted by the interpreter  on the fly as required.  Implicit
10237114237SnjlTarget operand conversion (where the  result is converted to the
10238114237Snjltarget type before storing) is not yet implemented.
10239102550Siwasaki
10240102550SiwasakiSupport for 32-bit and 64-bit BCD integers is implemented.
10241102550Siwasaki
10242193267SjkimProblem fixed where a field read on an aligned field could cause a
10243126372Snjlread  past the end of the field.
10244102550Siwasaki
10245114237SnjlNew exception, AE_AML_NO_RETURN_VALUE, is returned when a method
10246114237Snjldoes not return a value, but the caller expects one.  (The ASL
10247114237Snjlcompiler flags this as a warning.)
10248102550Siwasaki
10249102550SiwasakiASL Compiler:
10250102550Siwasaki
10251102550SiwasakiVersion X2011:
10252102550Siwasaki1. Static typechecking of all operands is implemented. This
10253193267Sjkimprevents the use of invalid objects (such as using a Package where
10254126372Snjlan Integer is required) at compile time instead of at interpreter
10255126372Snjlrun-time.
10256114237Snjl2. The ASL source line is printed with ALL errors and warnings.
10257102550Siwasaki3. Bug fix for source EOF without final linefeed.
10258193267Sjkim4. Debug option is split into a parse trace and a namespace trace.
10259102550Siwasaki5. Namespace output option (-n) includes initial values for
10260102550Siwasakiintegers and strings.
10261102550Siwasaki6. Parse-only option added for quick syntax checking.
10262102550Siwasaki7. Compiler checks for duplicate ACPI name declarations
10263102550Siwasaki
10264102550SiwasakiVersion X2012:
10265102550Siwasaki1. Relaxed typechecking to allow interchangeability between
10266114237Snjlstrings, integers, and buffers.  These types are now converted by
10267114237Snjlthe interpreter at runtime.
10268114237Snjl2. Compiler reports time taken by each internal subsystem in the
10269114237Snjldebug         output file.
10270102550Siwasaki
10271102550Siwasaki
10272102550Siwasaki ------------------------------------------
10273102550SiwasakiSummary of changes for this label: 12_14_00
10274102550Siwasaki
10275102550SiwasakiASL Compiler:
10276102550Siwasaki
10277104470SiwasakiThis is the first official release of the compiler. Since the
10278104470Siwasakicompiler requires elements of the Core Subsystem, this label
10279104470Siwasakisynchronizes everything.
10280102550Siwasaki
10281102550Siwasaki------------------------------------------
10282102550SiwasakiSummary of changes for this label: 12_08_00
10283102550Siwasaki
10284102550Siwasaki
10285114237SnjlFixed a problem where named references within the ASL definition
10286114237Snjlof both OperationRegions and CreateXXXFields did not work
10287114237Snjlproperly.  The symptom was an AE_AML_OPERAND_TYPE during
10288114237Snjlinitialization of the region/field. This is similar (but not
10289114237Snjlrelated internally) to the problem that was fixed in the last
10290114237Snjllabel.
10291114237Snjl
10292102550SiwasakiImplemented both 32-bit and 64-bit support for the BCD ASL
10293102550Siwasakifunctions ToBCD and FromBCD.
10294102550Siwasaki
10295102550SiwasakiUpdated all legal headers to include "2000" in the copyright
10296102550Siwasakiyears.
10297102550Siwasaki
10298102550Siwasaki ------------------------------------------
10299102550SiwasakiSummary of changes for this label: 12_01_00
10300102550Siwasaki
10301193267SjkimFixed a problem where method invocations within the ASL definition
10302126372Snjlof both OperationRegions and CreateXXXFields did not work
10303126372Snjlproperly.  The symptom was an AE_AML_OPERAND_TYPE during
10304114237Snjlinitialization of the region/field:
10305102550Siwasaki
10306114237Snjl  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
10307114237Snjl[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
10308114237Snjl(0x3005)
10309102550Siwasaki
10310102550SiwasakiFixed a problem where operators with more than one nested
10311104470Siwasakisubexpression would fail.  The symptoms were varied, by mostly
10312114237SnjlAE_AML_OPERAND_TYPE errors.  This was actually a rather serious
10313114237Snjlproblem that has gone unnoticed until now.
10314102550Siwasaki
10315102550Siwasaki  Subtract (Add (1,2), Multiply (3,4))
10316102550Siwasaki
10317114237SnjlFixed a problem where AcpiGetHandle didn't quite get fixed in the
10318114237Snjlprevious build (The prefix part of a relative path was handled
10319114237Snjlincorrectly).
10320102550Siwasaki
10321114237SnjlFixed a problem where Operation Region initialization failed if
10322114237Snjlthe operation region name was a "namepath" instead of a simple
10323114237Snjl"nameseg". Symptom was an AE_NO_OPERAND error.
10324102550Siwasaki
10325114237SnjlFixed a problem where an assignment to a local variable via the
10326114237Snjlindirect RefOf mechanism only worked for the first such
10327102550Siwasakiassignment.  Subsequent assignments were ignored.
10328102550Siwasaki
10329102550Siwasaki ------------------------------------------
10330102550SiwasakiSummary of changes for this label: 11_15_00
10331102550Siwasaki
10332193267SjkimACPI 2.0 table support with backwards support for ACPI 1.0 and the
10333193267Sjkim0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
10334126372Snjlthe AML  interpreter does NOT have support for the new 2.0 ASL
10335126372Snjlgrammar terms at this time.
10336102550Siwasaki
10337193267SjkimAll ACPI hardware access is via the GAS structures in the ACPI 2.0
10338126372SnjlFADT.
10339102550Siwasaki
10340193267SjkimAll physical memory addresses across all platforms are now 64 bits
10341126372Snjlwide. Logical address width remains dependent on the platform
10342126372Snjl(i.e., "void *").
10343102550Siwasaki
10344114237SnjlAcpiOsMapMemory interface changed to a 64-bit physical address.
10345102550Siwasaki
10346114237SnjlThe AML interpreter integer size is now 64 bits, as per the ACPI
10347114237Snjl2.0 specification.
10348102550Siwasaki
10349104470SiwasakiFor backwards compatibility with ACPI 1.0, ACPI tables with a
10350104470Siwasakirevision number less than 2 use 32-bit integers only.
10351102550Siwasaki
10352114237SnjlFixed a problem where the evaluation of OpRegion operands did not
10353114237Snjlalways resolve them to numbers properly.
10354102550Siwasaki
10355102550Siwasaki------------------------------------------
10356102550SiwasakiSummary of changes for this label: 10_20_00
10357102550Siwasaki
10358114237SnjlFix for CBN_._STA issue.  This fix will allow correct access to
10359114237SnjlCBN_ OpRegions when the _STA returns 0x8.
10360102550Siwasaki
10361104470SiwasakiSupport to convert ACPI constants (Ones, Zeros, One) to actual
10362104470Siwasakivalues before a package object is returned
10363102550Siwasaki
10364104470SiwasakiFix for method call as predicate to if/while construct causing
10365104470Siwasakiincorrect if/while behavior
10366102550Siwasaki
10367114237SnjlFix for Else block package lengths sometimes calculated wrong (if
10368114237Snjlblock > 63 bytes)
10369102550Siwasaki
10370102550SiwasakiFix for Processor object length field, was always zero
10371102550Siwasaki
10372102550SiwasakiTable load abort if FACP sanity check fails
10373102550Siwasaki
10374102550SiwasakiFix for problem with Scope(name) if name already exists
10375102550Siwasaki
10376102550SiwasakiWarning emitted if a named object referenced cannot be found
10377102550Siwasaki(resolved) during method execution.
10378102550Siwasaki
10379102550Siwasaki
10380102550Siwasaki
10381102550Siwasaki
10382102550Siwasaki
10383102550Siwasaki------------------------------------------
10384102550SiwasakiSummary of changes for this label: 9_29_00
10385102550Siwasaki
10386114237SnjlNew table initialization interfaces: AcpiInitializeSubsystem no
10387114237Snjllonger has any parameters AcpiFindRootPointer - Find the RSDP (if
10388114237Snjlnecessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
10389114237Snjl>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
10390114237SnjlAcpiLoadTables
10391102550Siwasaki
10392193267SjkimNote: These interface changes require changes to all existing OSDs
10393102550Siwasaki
10394114237SnjlThe PCI_Config default address space handler is always installed
10395114237Snjlat the root namespace object.
10396102550Siwasaki
10397102550Siwasaki-------------------------------------------
10398102550SiwasakiSummary of changes for this label: 09_15_00
10399102550Siwasaki
10400102550SiwasakiThe new initialization architecture is implemented.  New
10401114237Snjlinterfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
10402114237SnjlAcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
10403167802Sjkim
10404114237Snjl(Namespace is automatically loaded when a table is loaded)
10405102550Siwasaki
10406193267SjkimThe ACPI_OPERAND_OBJECT has been optimized to shrink its size from
10407126372Snjl52 bytes to 32 bytes.  There is usually one of these for every
10408126372Snjlnamespace object, so the memory savings is significant.
10409102550Siwasaki
10410114237SnjlImplemented just-in-time evaluation of the CreateField operators.
10411102550Siwasaki
10412102550SiwasakiBug fixes for IA-64 support have been integrated.
10413102550Siwasaki
10414102550SiwasakiAdditional code review comments have been implemented
10415102550Siwasaki
10416193267SjkimThe so-called "third pass parse" has been replaced by a final walk
10417193267Sjkimthrough the namespace to initialize all operation regions (address
10418126372Snjlspaces) and fields that have not yet been initialized during the
10419126372Snjlexecution of the various _INI and REG methods.
10420102550Siwasaki
10421102550SiwasakiNew file - namespace/nsinit.c
10422102550Siwasaki
10423102550Siwasaki-------------------------------------------
10424102550SiwasakiSummary of changes for this label: 09_01_00
10425102550Siwasaki
10426193267SjkimNamespace manager data structures have been reworked to change the
10427126372Snjlprimary  object from a table to a single object.  This has
10428193267Sjkimresulted in dynamic memory  savings of 3X within the namespace and
10429126372Snjl2X overall in the ACPI CA subsystem.
10430102550Siwasaki
10431102550SiwasakiFixed problem where the call to AcpiEvFindPciRootBuses was
10432102550Siwasakiinadvertently left  commented out.
10433102550Siwasaki
10434114237SnjlReduced the warning count when generating the source with the GCC
10435114237Snjlcompiler.
10436102550Siwasaki
10437102550SiwasakiRevision numbers added to each module header showing the
10438104470SiwasakiSourceSafe version of the file.  Please refer to this version
10439114237Snjlnumber when giving us feedback or comments on individual modules.
10440102550Siwasaki
10441114237SnjlThe main object types within the subsystem have been renamed to
10442114237Snjlclarify their  purpose:
10443102550Siwasaki
10444102550SiwasakiACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
10445102550SiwasakiACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
10446102550SiwasakiACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
10447102550Siwasaki
10448114237SnjlNOTE: no changes to the initialization sequence are included in
10449114237Snjlthis label.
10450102550Siwasaki
10451102550Siwasaki-------------------------------------------
10452102550SiwasakiSummary of changes for this label: 08_23_00
10453102550Siwasaki
10454102550SiwasakiFixed problem where TerminateControlMethod was being called
10455102550Siwasakimultiple times per  method
10456102550Siwasaki
10457193267SjkimFixed debugger problem where single stepping caused a semaphore to
10458126372Snjlbe  oversignalled
10459102550Siwasaki
10460104470SiwasakiImproved performance through additional parse object caching -
10461104470Siwasakiadded  ACPI_EXTENDED_OP type
10462102550Siwasaki
10463102550Siwasaki-------------------------------------------
10464102550SiwasakiSummary of changes for this label: 08_10_00
10465102550Siwasaki
10466102550SiwasakiParser/Interpreter integration:  Eliminated the creation of
10467102550Siwasakicomplete parse trees  for ACPI tables and control methods.
10468114237SnjlInstead, parse subtrees are created and  then deleted as soon as
10469193267Sjkimthey are processed (Either entered into the namespace or  executed
10470126372Snjlby the interpreter).  This reduces the use of dynamic kernel
10471126372Snjlmemory  significantly. (about 10X)
10472102550Siwasaki
10473114237SnjlException codes broken into classes and renumbered.  Be sure to
10474114237Snjlrecompile all  code that includes acexcep.h.  Hopefully we won't
10475114237Snjlhave to renumber the codes  again now that they are split into
10476114237Snjlclasses (environment, programmer, AML code,  ACPI table, and
10477114237Snjlinternal).
10478102550Siwasaki
10479104470SiwasakiFixed some additional alignment issues in the Resource Manager
10480104470Siwasakisubcomponent
10481102550Siwasaki
10482114237SnjlImplemented semaphore tracking in the AcpiExec utility, and fixed
10483114237Snjlseveral places  where mutexes/semaphores were being unlocked
10484114237Snjlwithout a corresponding lock  operation.  There are no known
10485114237Snjlsemaphore or mutex "leaks" at this time.
10486102550Siwasaki
10487114237SnjlFixed the case where an ASL Return operator is used to return an
10488114237Snjlunnamed  package.
10489102550Siwasaki
10490102550Siwasaki-------------------------------------------
10491102550SiwasakiSummary of changes for this label: 07_28_00
10492102550Siwasaki
10493102550SiwasakiFixed a problem with the way addresses were calculated in
10494114237SnjlAcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
10495114237Snjlmanifested itself when a Field was  created with WordAccess or
10496193267SjkimDwordAccess, but the field unit defined within the  Field was less
10497167802Sjkim
10498126372Snjlthan a Word or Dword.
10499102550Siwasaki
10500102550SiwasakiFixed a problem in AmlDumpOperands() module's loop to pull
10501104470Siwasakioperands off of the  operand stack to display information. The
10502114237Snjlproblem manifested itself as a TLB  error on 64-bit systems when
10503114237Snjlaccessing an operand stack with two or more  operands.
10504102550Siwasaki
10505114237SnjlFixed a problem with the PCI configuration space handlers where
10506114237Snjlcontext was  getting confused between accesses. This required a
10507114237Snjlchange to the generic address  space handler and address space
10508193267Sjkimsetup definitions. Handlers now get both a  global handler context
10509126372Snjl(this is the one passed in by the user when executing
10510114237SnjlAcpiInstallAddressSpaceHandler() and a specific region context
10511114237Snjlthat is unique to  each region (For example, the _ADR, _SEG and
10512114237Snjl_BBN values associated with a  specific region). The generic
10513114237Snjlfunction definitions have changed to the  following:
10514102550Siwasaki
10515114237Snjltypedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
10516114237SnjlUINT32 Address, UINT32 BitWidth, UINT32 *Value, void
10517104470Siwasaki*HandlerContext, // This used to be void *Context void
10518102550Siwasaki*RegionContext); // This is an additional parameter
10519102550Siwasaki
10520102550Siwasakitypedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
10521102550SiwasakiRegionHandle, UINT32 Function, void *HandlerContext,  void
10522102550Siwasaki**RegionContext); // This used to be **ReturnContext
10523102550Siwasaki
10524102550Siwasaki-------------------------------------------
10525102550SiwasakiSummary of changes for this label: 07_21_00
10526102550Siwasaki
10527102550SiwasakiMajor file consolidation and rename.  All files within the
10528193267Sjkiminterpreter have been  renamed as well as most header files.  This
10529126372Snjlwas done to prevent collisions with  existing files in the host
10530126372SnjlOSs -- filenames such as "config.h" and "global.h"  seem to be
10531126372Snjlquite common.  The VC project files have been updated.  All
10532114237Snjlmakefiles  will require modification.
10533102550Siwasaki
10534114237SnjlThe parser/interpreter integration continues in Phase 5 with the
10535114237Snjlimplementation  of a complete 2-pass parse (the AML is parsed
10536114237Snjltwice) for each table;  This  avoids the construction of a huge
10537114237Snjlparse tree and therefore reduces the amount of  dynamic memory
10538114237Snjlrequired by the subsystem.  Greater use of the parse object cache
10539114237Snjlmeans that performance is unaffected.
10540102550Siwasaki
10541102550SiwasakiMany comments from the two code reviews have been rolled in.
10542102550Siwasaki
10543102550SiwasakiThe 64-bit alignment support is complete.
10544102550Siwasaki
10545102550Siwasaki-------------------------------------------
10546102550SiwasakiSummary of changes for this label: 06_30_00
10547102550Siwasaki
10548114237SnjlWith a nod and a tip of the hat to the technology of yesteryear,
10549114237Snjlwe've added  support in the source code for 80 column output
10550114237Snjldevices.  The code is now mostly  constrained to 80 columns or
10551114237Snjlless to support environments and editors that 1)  cannot display
10552114237Snjlor print more than 80 characters on a single line, and 2) cannot
10553114237Snjldisable line wrapping.
10554102550Siwasaki
10555104470SiwasakiA major restructuring of the namespace data structure has been
10556104470Siwasakicompleted.  The  result is 1) cleaner and more
10557114237Snjlunderstandable/maintainable code, and 2) a  significant reduction
10558114237Snjlin the dynamic memory requirement for each named ACPI  object
10559114237Snjl(almost half).
10560102550Siwasaki
10561102550Siwasaki-------------------------------------------
10562102550SiwasakiSummary of changes for this label: 06_23_00
10563102550Siwasaki
10564114237SnjlLinux support has been added.  In order to obtain approval to get
10565114237Snjlthe ACPI CA  subsystem into the Linux kernel, we've had to make
10566114237Snjlquite a few changes to the  base subsystem that will affect all
10567114237Snjlusers (all the changes are generic and OS- independent).  The
10568114237Snjleffects of these global changes have been somewhat far  reaching.
10569114237SnjlFiles have been merged and/or renamed and interfaces have been
10570114237Snjlrenamed.   The major changes are described below.
10571102550Siwasaki
10572102550SiwasakiOsd* interfaces renamed to AcpiOs* to eliminate namespace
10573102550Siwasakipollution/confusion  within our target kernels.  All OSD
10574114237Snjlinterfaces must be modified to match the new  naming convention.
10575102550Siwasaki
10576193267SjkimFiles merged across the subsystem.  A number of the smaller source
10577126372Snjland header  files have been merged to reduce the file count and
10578126372Snjlincrease the density of the  existing files.  There are too many
10579126372Snjlto list here.  In general, makefiles that  call out individual
10580126372Snjlfiles will require rebuilding.
10581102550Siwasaki
10582104470SiwasakiInterpreter files renamed.  All interpreter files now have the
10583104470Siwasakiprefix am*  instead of ie* and is*.
10584102550Siwasaki
10585104470SiwasakiHeader files renamed:  The acapi.h file is now acpixf.h.  The
10586114237Snjlacpiosd.h file is  now acpiosxf.h.  We are removing references to
10587114237Snjlthe acronym "API" since it is  somewhat windowsy. The new name is
10588114237Snjl"external interface" or xface or xf in the  filenames.j
10589102550Siwasaki
10590102550Siwasaki
10591114237SnjlAll manifest constants have been forced to upper case (some were
10592193267Sjkimmixed case.)   Also, the string "ACPI_" has been prepended to many
10593126372Snjl(not all) of the constants,  typedefs, and structs.
10594102550Siwasaki
10595102550SiwasakiThe globals "DebugLevel" and "DebugLayer" have been renamed
10596102550Siwasaki"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
10597102550Siwasaki
10598102550SiwasakiAll other globals within the subsystem are now prefixed with
10599102550Siwasaki"AcpiGbl_" Internal procedures within the subsystem are now
10600114237Snjlprefixed with "Acpi" (with only  a few exceptions).  The original
10601193267Sjkimtwo-letter abbreviation for the subcomponent  remains after "Acpi"
10602126372Snjl- for example, CmCallocate became AcpiCmCallocate.
10603102550Siwasaki
10604102550SiwasakiAdded a source code translation/conversion utility.  Used to
10605114237Snjlgenerate the Linux  source code, it can be modified to generate
10606114237Snjlother types of source as well. Can  also be used to cleanup
10607114237Snjlexisting source by removing extraneous spaces and blank  lines.
10608114237SnjlFound in tools/acpisrc/*
10609102550Siwasaki
10610102550SiwasakiOsdUnMapMemory was renamed to OsdUnmapMemory and then
10611102550SiwasakiAcpiOsUnmapMemory.  (UnMap  became Unmap).
10612102550Siwasaki
10613114237SnjlA "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
10614114237SnjlWhen set to  one, this indicates that the caller wants to use the
10615167802Sjkim
10616114237Snjlsemaphore as a mutex, not a  counting semaphore.  ACPI CA uses
10617114237Snjlboth types.  However, implementers of this  call may want to use
10618114237Snjldifferent OS primitives depending on the type of semaphore
10619114237Snjlrequested.  For example, some operating systems provide separate
10620167802Sjkim
10621193267Sjkim"mutex" and  "semaphore" interfaces - where the mutex interface is
10622126372Snjlmuch faster because it  doesn't have all the overhead of a full
10623126372Snjlsemaphore implementation.
10624102550Siwasaki
10625104470SiwasakiFixed a deadlock problem where a method that accesses the PCI
10626114237Snjladdress space can  block forever if it is the first access to the
10627114237Snjlspace.
10628102550Siwasaki
10629102550Siwasaki-------------------------------------------
10630102550SiwasakiSummary of changes for this label: 06_02_00
10631102550Siwasaki
10632102550SiwasakiSupport for environments that cannot handle unaligned data
10633114237Snjlaccesses (e.g.  firmware and OS environments devoid of alignment
10634193267Sjkimhandler technology namely  SAL/EFI and the IA-64 Linux kernel) has
10635126372Snjlbeen added (via configurable macros) in  these three areas: -
10636114237SnjlTransfer of data from the raw AML byte stream is done via byte
10637193267Sjkimmoves instead of    word/dword/qword moves. - External objects are
10638126372Snjlaligned within the user buffer, including package   elements (sub-
10639193267Sjkimobjects). - Conversion of name strings to UINT32 Acpi Names is now
10640126372Snjldone byte-wise.
10641102550Siwasaki
10642102550SiwasakiThe Store operator was modified to mimic Microsoft's
10643102550Siwasakiimplementation when storing  to a Buffer Field.
10644102550Siwasaki
10645102550SiwasakiAdded a check of the BM_STS bit before entering C3.
10646102550Siwasaki
10647114237SnjlThe methods subdirectory has been obsoleted and removed.  A new
10648114237Snjlfile, cmeval.c  subsumes the functionality.
10649102550Siwasaki
10650102550SiwasakiA 16-bit (DOS) version of AcpiExec has been developed.  The
10651102550Siwasakimakefile is under  the acpiexec directory.
10652